PDA

View Full Version : Campaign can't be loaded any more



Meckerdrache81
August 11th, 2022, 21:54
53935

Hi,

FGU shows a error message every time i start it now. My campaign is not available anymore and can't be loaded.

Some minutes ago i was in FGU and could work on my campaign. Then some of my windows apps stopped responding and so i shut down my pc. I could close the FGU program before though. After the restart everything works againg but FGU doesn't display my campaign anymore. I hope you can help me, my group is playing in 18 hours.

Zacchaeus
August 11th, 2022, 22:01
Have a look at this article; this should help you get up and running again. Make sure you make a backup of your campaign before you do anything else https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/1207304196/Restore+Campaign+to+an+Earlier+Save

LordEntrails
August 11th, 2022, 22:05
Please show a screen shot of the campaign widow in Windows Explorer with date, file size and extension shown.

More information how how to restore a backup here: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/1207304196/Restore+Campaign+to+an+Earlier+Save

Meckerdrache81
August 11th, 2022, 22:17
Thanks for the quick help. I have followed the instructions in this article and tried it with the last 3 sessions. No luck, it is still the same problem. 53936

Moon Wizard
August 11th, 2022, 22:52
What is the error message reported?
Can you show us the contents of the campaign.xml file?
Also, can you show us the top page of the db.xml file?

Regards,
JPG

Zacchaeus
August 11th, 2022, 22:56
Try starting a new campaign and then exit out of it. Copy the campaign.xml from that campaign and paste it into the campaign that is not working (effectively replacing that file in your problem campaign).

Meckerdrache81
August 12th, 2022, 07:49
What is the error message reported?


See my Screenshot in my opening post.

I'll post the file contents and try Zacchaeus' Method when I am home in 7 hours. Thanks.

Meckerdrache81
August 12th, 2022, 14:43
@ Zacchaeus: No, this doesn't work either.
@ Moon Wizard: Opened with the Editor there is nothing in campaign.xml.
db.xml: Please see the attachment.

I hope there is the possibility to save at least the charactersheets and campaign notes if we dont find a solution..

Trenloe
August 12th, 2022, 15:51
Assuming you created a new campaign using the same ruleset, then copying the campaign.xml file from the new campaign to the old should have fixed the error reported in post #1.

Please attach the current campaign.xml file you have in your campaign directory.

Also, please confirm which ruleset you're using.

Meckerdrache81
August 12th, 2022, 15:58
I'm using the PF2e Ruleset. Yes, i did that.
Campaign.xml from my old campaign is attached.

Edit: Sorry, i tried it again and can now load my old campaign. The Error Message from Post 1 is gone, but now i have this one and no data like notes or characters when launching: See screenshot.

Edit: Also, when i try to import characters, the characters from my corrupted campaign doesn't show up (not in the old nor the new campaign).

Trenloe
August 12th, 2022, 16:00
Try the file attached - you may need to change the server type from LAN to Cloud if you use the cloud broker for connections.

Trenloe
August 12th, 2022, 16:08
I'm using the PF2e Ruleset. Yes, i did that.
Campaign.xml from my old campaign is attached.

Edit: Sorry, i tried it again and can now load my old campaign. The Error Message from Post 1 is gone, but now i have this one and no data like notes or characters when launching: See screenshot.
1) Make a backup of that campaigns directory - just to maintain data for possible future data recovery.
2) Delete the file that is mentioned in the error message and reload your campaign. You'll need to re-enable any extensions you were using.
3) You may have further errors - maybe with modulestate.xml, if there are errors reported for that file, delete it and reload FG - you'll need to re-activate modules.

Griogre
August 12th, 2022, 16:13
Yeah that's a basically empty file with a bunch of (likely 175) NULL characters. The original error message says you have a file with a bad character in the first position probably the NULL one. You need to go back and look at your back ups for a file that is > 175 bytes. This a general problem with auto saves. There was some sort of corruption in the campaign file such that when the campaign file was read in, the reading of the file failed - and nothing was actually able to be read in. The next autosave, or exiting the campaign then wrote back the file with all the nulls over the corrupt file.

FG deals with this possibility with keeping multiple backups. So you should still have one that predates the corruption.

LordEntrails
August 12th, 2022, 16:17
Is your FG Data folder on a cloud shared drive? Is it on a network share and accessed by more tan one computer?

Meckerdrache81
August 12th, 2022, 16:23
No, no shared drive.

Thanks guys, i think i got it now. I replaced the old campaign.xml with the one of the new campaign and then renamed an older (larger) save to db.xml. No error so far. I didnt check everything now but it seems we can now play tonight.