PCM.daily banner
24-11-2024 19:47
PCM.daily
Users Online
· Guests Online: 66

· Members Online: 0

· Total Members: 161,803
· Newest Member: actronspareparts
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
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
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
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
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
As Luigi said, open it with the Fast Editor and fix the invalid characters.
 
http://www.pcmdaily.com
timpiej
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
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
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 Sad
 
lluuiiggii
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
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
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
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
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
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 :-)
 
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
Oscar Freire wins the sprint
Oscar Freire wins the sprint
PCM10: Funny screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,376 PCM$
bullet df_Trek 17,374 PCM$
bullet Marcovdw 15,345 PCM$
bullet jseadog1 13,552 PCM$
bullet baseba... 10,439 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 21,890 PCM$
bullet df_Trek 15,520 PCM$
bullet Marcovdw 14,800 PCM$
bullet jseadog1 13,500 PCM$
bullet baseball... 7,332 PCM$

bullet Main MG Betting page
bullet Get weekly MG PCM$
bullet Rankings: Top 100
Render time: 0.30 seconds