Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » UC/DL 1.13 & AFS » UC Troubleshooting
UC Troubleshooting[message #309681] Fri, 31 August 2012 03:17 Go to next message
JaggedDefiance is currently offline JaggedDefiance

 
Messages:12
Registered:August 2012
I have checked some of the previous threads and subforums and couldnt find any answers, but I am about 40 hours into UC and my autosave file is corrupted. I get an error saving the game and trying to load it up. Also, this corruption spreads to other files when I try to use them. Playing v1.13 UC from TAIS Sci. Can I fix this problem at all?

Report message to a moderator

Private
Re: UC Troubleshooting[message #309683] Fri, 31 August 2012 07:11 Go to previous messageGo to next message
Wil473

 
Messages:2813
Registered:September 2004
Location: Canada
Do you have a non-auto save to continue from? I've never run into the problem as I don't use Auto-save, turned it off some time ago as there seemed to be a risk of CTD when the time rolled around. And what do you mean by it spreading (ie. you do have non-auto save saves and they are corrupting as well?)

[Updated on: Fri, 31 August 2012 07:12] by Moderator

Report message to a moderator

Lieutenant

Re: UC Troubleshooting[message #309695] Fri, 31 August 2012 15:23 Go to previous messageGo to next message
JaggedDefiance is currently offline JaggedDefiance

 
Messages:12
Registered:August 2012
Thanks for responding, I am dire need of help.

Let me be clearer than I was last night: I am on Day 15 and in the Farmland Sector (H5) west of Gotham. I am in a battle and have aprox 60 hours of total gameplay. It is not the autosave file that I am referring to, but rather the quick save file.

I had two mercs up on a roof: Magic and my Imp. I had Magic pass wood camo to my Imp and then a quick Dialogue window with Micky Obrien popped up with some green letters over it. Ultimately, I could not pass that item to my imp. After that, I was unable to save.

I hit alt s to do quick save and another dialogue box pops up and says "Error Saving Game" with a yellow exclamation box above it saying " Debug: Error writing Map Temp Files"

So, I figured I would load a previous save in that same sector before I passed the wood camo and then try a manual save in a different slot. Worst case scenario is that my quicksave slot is gone. However, the previous save loaded fine, but when I saved my game in a different manual slot I got the same error. That is how this corruption is spreading.

The error message itself leads me to believe that I am missing a temp file, but again, I have been Playing UC v1.13 build 4870 for the entire month of August now, and I would think that a missing file would have been evident.

I have also entertained the possibility that there is a specific file missing in only sector H5, yet I was able to save my game several times in both quick and manual slots fine prior to this.

I am stumped and missing JA. Any help would be wholeheartedly appreciated.

I am using the stock settings that come with UC in the ini.editor. I made no changes either before or during my campaign.

I can remember, years ago, reading that some people had a problem with saved games for vanilla JA. I am using JA Gold and I don't know if that might have anything to do with it. Additionally, I am fairly certain that there was a solution to those corrupt save games in vanilla JA, so I am wondering if that solution is applicable for my situation. However, I do not know how to access my UC saved games folder.

Any help would appreciated, thank you wil473 and anyone else who is able to help.

Report message to a moderator

Private
Re: UC Troubleshooting[message #309697] Fri, 31 August 2012 15:32 Go to previous messageGo to next message
Sam Hotte

 
Messages:1963
Registered:March 2009
Location: Middle of Germany
The message you gave hints rather to missing disc space or write protection than a missing file.

Have you tried leaving the game and manually deleting the quicksave file and maybe one older manual save (to have a empty slot)? Then try to continue with an older savegame.

Report message to a moderator

Sergeant Major
Re: UC Troubleshooting[message #309698] Fri, 31 August 2012 15:37 Go to previous messageGo to next message
JaggedDefiance is currently offline JaggedDefiance

 
Messages:12
Registered:August 2012
No,

How do I go about deleting that file?

Thanks

Report message to a moderator

Private
Re: UC Troubleshooting[message #309699] Fri, 31 August 2012 15:46 Go to previous messageGo to next message
JaggedDefiance is currently offline JaggedDefiance

 
Messages:12
Registered:August 2012
As I mentioned, I can't locate my save game files in the Data, Data UC, Data 113, or DataUC113 files. An in-folder search revealed nothing when I searched for saved games.

Also, as far as write protection, I have the JA Gold Folder containing the 113 and UC folders saved in just Program Files (not 86) as I this caused problems for me last install. Also, I always run ini editor as administrator (Windows 7), not sure if that has anything to do with write protection.

Report message to a moderator

Private
Re: UC Troubleshooting[message #309700] Fri, 31 August 2012 16:06 Go to previous messageGo to next message
JaggedDefiance is currently offline JaggedDefiance

 
Messages:12
Registered:August 2012
Update,

Found savegame files under profiles, deleted quick save and two other slots so they were empty slots. reloaded older in-sector save, tried quick save and got some error.

Still stumped...

Report message to a moderator

Private
Re: UC Troubleshooting[message #309701] Fri, 31 August 2012 16:15 Go to previous messageGo to next message
JaggedDefiance is currently offline JaggedDefiance

 
Messages:12
Registered:August 2012
Also,

deleted save-game slots that were unable to load. Started new game. Saved game took. So, I saved my new game under the three affected save slots thinking this might patch the problem. Loaded my original good save from my working game and hit alt s and received same error after re-saving that slot in a new game.

Damn...

Report message to a moderator

Private
Re: UC Troubleshooting[message #309702] Fri, 31 August 2012 16:28 Go to previous messageGo to next message
Sam Hotte

 
Messages:1963
Registered:March 2009
Location: Middle of Germany
JaggedDefiance
As I mentioned, I can't locate my save game files in the Data, Data UC, Data 113, or DataUC113 files. An in-folder search revealed nothing when I searched for saved games.

Also, as far as write protection, I have the JA Gold Folder containing the 113 and UC folders saved in just Program Files (not 86) as I this caused problems for me last install. Also, I always run ini editor as administrator (Windows 7), not sure if that has anything to do with write protection.


I'd recommend a new install. Do not use 'program files' but a custom folder like 'games\JA2' or something.

Report message to a moderator

Sergeant Major
Re: UC Troubleshooting[message #309703] Fri, 31 August 2012 17:00 Go to previous messageGo to next message
JaggedDefiance is currently offline JaggedDefiance

 
Messages:12
Registered:August 2012
Ok

A new install for UC 113 or JAGold? And can I do a new install without losing my saved games?

Report message to a moderator

Private
Re: UC Troubleshooting[message #309704] Fri, 31 August 2012 17:19 Go to previous messageGo to next message
Sam Hotte

 
Messages:1963
Registered:March 2009
Location: Middle of Germany
New install of everything; for any mod you apply its always best to have fresh install of JA2 + 1.13 + the mod.

You could try, if copying old saves intoi new install work. But if the saves are broken, no promises ... Wink

Report message to a moderator

Sergeant Major
Re: UC Troubleshooting[message #309706] Fri, 31 August 2012 18:17 Go to previous messageGo to next message
jEbUs is currently offline jEbUs

 
Messages:36
Registered:November 2003
Location: Brugge, Belgium
While we're on it: I getting a reproducable crash in the Troy metro: when one of the citizens in the metro gets caught and dies in crossfire, I get a crash and an error message about something called "strategic town loyalty".

Report message to a moderator

Private 1st Class
Re: UC Troubleshooting[message #309708] Fri, 31 August 2012 19:51 Go to previous messageGo to next message
JaggedDefiance is currently offline JaggedDefiance

 
Messages:12
Registered:August 2012
Thanks Sam, but no dice.

Did clean install of retail JA2Gold, clean extraction of 113 to JA2Gold folder within a custom folder outside of program files. Then did original UC download, then extracted UC113 to JA2 directory. Copied my previous save games into a new savegame folder under profiles and I still get the debug error. I will prob start over since there are a few things I want to change in the ini (first time using 113). But, I just don't want this to happen again midway through my next playthrough.

Anything that you can think of that I should check or change to ensure this wont happen again?

Thanks for all of your help, I really appreciate it.

Report message to a moderator

Private
Re: UC Troubleshooting[message #309709] Fri, 31 August 2012 20:49 Go to previous messageGo to next message
Sam Hotte

 
Messages:1963
Registered:March 2009
Location: Middle of Germany
Make sure you followed Wil's installation instructions:
http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/287173/Re_Urban_Chaos_1_13_Hybrid_FAQ.html#Post287173

Report message to a moderator

Sergeant Major
Re: UC Troubleshooting[message #322869] Wed, 17 July 2013 18:59 Go to previous messageGo to next message
P.Val is currently offline P.Val

 
Messages:70
Registered:May 2010
Same thing happened to me.

Day 16. (all times are in-game times)
Lost Atremo a few days ago, but I completely control Calisto. Calisto is full with militia, I have 11 mercs. In the night I cleared B16 (some smuggler or gunrunner cache) with a single merc (stealthy sneaking) but could not open the crates or doors. I moved in a small technician group, unlocked and looted everything, transported back the loot to Calisto, unloaded most of it, set the mercs to different jobs, at 10:00 I made a manual save. At 11:00 the training (upgrading) of militia finished, I quicksaved and exited the game.

When starting the game next time, I could load the quicksave successfully, but after some inventory shuffling I tried quicksaving and it failed. "ERROR saving the game", "Debug error writing laptop files"

I loaded the last manual save (from 10:00), it loaded successfully, I could continue using it normally, but I cannot save or quicksave from it.

I tried restarting the game, restarting the computer, without success.

All failed saves have a file size of 800 KB, while the original save (which I can load but not save) is 8315 KB.

I have another savegame from 1:46 that night, right after I cleared B16 and sent 3 guys to that location. This savegame works and I can save from it (so not much progress is lost)

However, it might be useful to try to find the source of the problem. Should I post the savegame, would it be useful to anyone? I might try installing a debugging session from the source code and running it through Visual Studio (I did some very very minor coding a long, long time ago), but as I never worked with the savegame data and I have yet no understanding of the savegame structure, I doubt I could find anything any soon.

After the "good" savegame all I did was letting time pass for the group of 3 to arrive at B16, then I opened and looted every crate, brought back the loot to Calisto Factory, distributed some of the guns around, emptied the rest and dropped it to sector inventory, opened a PG-7 crate at 1% with the crowbar to get a PG-7 rocket with condition 1%, gave it to a mechanic to repair, set the rest of the group training or sleeping (the rest of the mercs were busy at other things, like training militia, etc.), and fast-forwarded time to 10:00 when all the trouble with the savegames started.


EDIT: I checked that the Calisto gunrunners (B14) did not turn hostile, I can visit them during the day and they remain friendly.

My merc who cleared the sector B16 was disguied as an elite enemy, but that should not be the cause, as the save immediately after the battle/slaughter functions perfectly.

As the error pointed to the "laptop files", here are the differences between the "good save" at 1:46 and the "bad save" at 10:00:

good save:
financial report: 7 entries on page 10, the last is depositing money. (I have 24754 in total)
History log: 21 entries on page 3 (so one row left), the last is C14 battle won, it was an autoresolved battle, and strangely, my activity in B16 afterwards does not show up

bad save:
financial report: 2 new entries, -750 equipping militia, and +2400 mine income (total 26404)
History log: nothing new.

I sold/deleted most of my sector inventory, taking care in deleting the newly acquired items as well, without success.

I plan to play the game from 1:46 again, carefully doing everything as I did last time to see if the bug shows up again. I'll let you know if I find something.

[Updated on: Wed, 17 July 2013 19:13] by Moderator

Report message to a moderator

Corporal
Re: UC Troubleshooting[message #322880] Wed, 17 July 2013 21:00 Go to previous message
Flugente

 
Messages:3503
Registered:April 2009
Location: Germany
I once had a situation where saving automatically corrupted savegames, very annoying. To check when that happens, it is very useful to know the exact place where the error occurs.

You could check in BOOLEAN SaveGame( int ubSaveGameID, STR16 pGameDesc ) in SaveLoadGame.cpp. If you are lucky, it will stop prematurely by returning FALSE somewhere.

If you are unlucky, it will not and simply corrupt data on writing. In that case, check where BOOLEAN LoadSavedGame( int ubSavedGameID ) fails.

Edit: On second thought, do the second thing first, it will already give you an idea where it fails...

[Updated on: Thu, 18 July 2013 21:25] by Moderator

Report message to a moderator

Captain

Previous Topic: Can't modify Merc Starting Gear?
Next Topic: utility cases, what are they for?
Goto Forum:
  


Current Time: Thu Jun 19 11:16:22 GMT+3 2025

Total time taken to generate the page: 0.00709 seconds