Can't open my savegame
|
|
Ad Bot |
Posted on 24-11-2024 19:47
|
Bot Agent
Posts: Countless
Joined: 23.11.09
|
|
IP: None |
|
|
timpiej |
Posted on 01-06-2012 23:21
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
When I try to open a savegame I get the same error everytime:
Invalid character in the given encoding. Line 392934, position 46.
What error is this please?
I also get a crash with lachi's editor and can't open it. Same errorcode, these where the lines under the errorcode, if you would need them:
----Stacktrace----
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res)
at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at ExcelExporter.DBLoader.ImportDatabase()
at ExcelExporter.DBLoader.ProgressStart(String strAction, String strPath, String strKey)
at ExcelExporter.Program.RunExporter(String[] args)
at ExcelExporter.Program.Main(String[] args)
GrTz
Edited by timpiej on 02-06-2012 08:59
|
|
|
|
lluuiiggii |
Posted on 02-06-2012 00:51
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
Invalid character, normally in the variants stage names. If you open the DB with the Fast Editor you might find some "weird" characters in DYN_variant_stage, you need to fix them or Lachi's editor/planner won't open it.
|
|
|
|
timpiej |
Posted on 02-06-2012 08:57
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
I now have put the DYN_variant_stage of PCMdaily V2 in my DB, started another career, same problem, but now line 393039 with same position (46)
-Edit-
Uploaded career savegame:
https://uploading.com/files/b5bb2cc6/C...8re_1.cdb/
Edited by timpiej on 02-06-2012 09:36
|
|
|
|
CrueTrue |
Posted on 02-06-2012 10:04
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
As Luigi said, open it with the Fast Editor and fix the invalid characters. |
|
|
|
timpiej |
Posted on 02-06-2012 12:46
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
I've looked in it like he said, and if the d's in the gene_sz_ville column aren't the problem (which is the case imo because the game added these) I have no idea what the problem could be.
It's not like I'm just posting here and don't want to try to solve my own problem you know... |
|
|
|
lluuiiggii |
Posted on 02-06-2012 14:08
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
DYN_variant_stage is only filled when a save game starts (the game reads your variants files and paste the data there). So this table in a non-savegame DB is "empty" (I know it has some lines, which honestly I've no idea why are there, so I just ignore them). If you create a savegame with the Daily V2, then copy DYN_variant_stage and paste it onto your savegame, it would work, but you'd probably be messing up your savegame variants.
|
|
|
|
timpiej |
Posted on 02-06-2012 14:19
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
Yeah, all is strange, there's 958 lines atm so that's maybe too much?
There's even info in it that isn't related to my variants (there's info about the vuelta andalucia and I don't have a variant for it).
So it's either choose to edit everything with the fast editor or messing up the variants? That's harsh |
|
|
|
lluuiiggii |
Posted on 02-06-2012 14:25
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
Took a look in your file, apparently there was an error in the stage name of stage ID 262. Fixing it made it go past the invalid character error in the season planner, but then later in the process another error occurred (conversion invalid, something like that, no idea what could be now).
And no, probably there's nothing about Vuelta a Andalucia, but instead Vuelta a España. I haven't seen a DB which adds variants for races which aren't WT/WC/NCs (but then again haven't taken a look in many DBs variants files).
Btw, the variants seem pretty weird (for example, there are 2 variants for the 2012 TdF). Why not use the variants of a variants-working DB (like the PCMDaily PBV2)?
|
|
|
|
timpiej |
Posted on 02-06-2012 14:40
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
Hmmm, I thought I looked at all the variant files, I think it's because of the added variant to the tour in V1 of PCMdaily pack and either the one added in V2 or maybe I downloaded it from cyanide forums, but I can see that the latest variant file has all 2012_top_tdf in the filename whilst in the earlier version not all stages were made, I'll delete the older one.
I'll look for the other error to. Fast editor gives no unlinked info in tables though (except for the acceptable ones). |
|
|
|
lluuiiggii |
Posted on 02-06-2012 14:42
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
timpiej wrote:
I'll look for the other error to. Fast editor gives no unlinked info in tables though (except for the acceptable ones).
You mean like dropdown lists? You can disable that in Settings -> Use lists in grid.
|
|
|
|
timpiej |
Posted on 02-06-2012 14:54
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
Ok, thanks, btw, the stage name is quite strange, I changed it in the variant file itself now but the game still messes it up, might try an e instead of é).
And to answer your question from earlier, I used a working variant DB, the PCMdaily V1 was the base of my DB.
Edit
Did like I said, changed the e's, worked, got no new errors with the Fulleditor V4. So all is alright, thanks for the help (again) man!
Edited by timpiej on 02-06-2012 15:02
|
|
|
|
lluuiiggii |
Posted on 02-06-2012 15:11
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
Well if it was the V1 there are some modifications in it, like a 13th variant for the TdF (2012 repeated one), the 2007 races, which weren't added until the V2 (and were renamed as 2007_xx instead of 07_xx, like it is in your variant file), so there are several differences from your DB variants to the 2012 V1.
|
|
|
|
timpiej |
Posted on 02-06-2012 15:26
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
Yeah I know, because I replaced some old used ones with new ones and added some (like the 2012 variants of for example the vuelta that weren't registered as variants). I took all that I had and could find and sort of mixed it into what should be an interesting DB to play with for me. Now I can add the riders born after 1985 with excell + have the scoutable riders + made the max teams that I could and brought back some old teams. It's quite a nostalgic DB, with recent things and things that were going on when I started following cycling. But I'm happy most of the work is done and I can finally start a career with it :-) |
|
|