Save Game Editor

Just a heads up… Doesn’t look like the new version is allowing me to edit the cash value. I edit it, save the changes, reload the database, and it’s reverted to the original value. Other fields seem to be working fine, so far.

And, yes, I have more than 3 games developed.

Edit:

I started a new game with clean saves. I got to the point where I could hire staff. Hired 1 staff, gave him the staff training, then tried editing his stats. The game now freezes at the loading screen. Emailing you the save right now.

So, it seems like the saves are encountering an issue either when getting to the second office or when hiring employees. Every time I get there, that’s when the save/reload/freeze issue seems to arise, regardless of whether or not I edit the employees stats.

When reverting back to saves prior to the new office/employees, the saves seem to be working fine.

@HeWhoWas How does your editor work anyways, do i have to be in game to use it or what? your download came with a bunch of stuff, that i dont get

Hey All,

I pushed up a new update today - 0.4.4. This had a few bugs in it, so was quickly followed by 0.4.5. I see one person managed to get 0.4.4 before I pulled the update, so my apologies. Anyway, changelog:

  • Again, more detailed modeling of save games. The data structure is now 100% identical for games modified during the first office. I haven’t got a clean save any further along than this, so I get to play for a bit :grin:
  • Modified some data types.

For this release onwards, during the first office, the only thing that can go wrong in regards to editing basic stats is entering bogus information.

Regards,

HeWhoWas.

It parses the save file, modifies values, and the resaves it. I use Jackson to do the JSON -> POJO -> JSON work and so far have mainly spent time on making my model ‘perfect’. Once I’ve got a reasonable amount of it done, I’ll work on limiting input ranges to semi-sane values. If you’d like to help out, testers are always appreciated :stuck_out_tongue: Though it’s definitely not exciting work, that’s for sure.

I edited a save game (manually, not with this editor) and accidentally added in a lowercase “a” somewhere. The point of the edit was to be able to avoid bankruptcy because it came when I had a lot of income sources out that would have saved my ass in a couple weeks, and just go on with my game as normal, so I’d really like to just fix it and go on.

When I try to load the save, it says “unknown token a” but doesn’t tell me where it is. Any way to know that easier than just looking very, very carefully through the save file? I really have no idea where the hell that letter a went.

When you try and open your save in the game editor, it will try and parse the entire contents. if there is a JSON error, the library I use is pretty nice about telling you where. I print all my errors to the gdtedit.log file with output which normally includes some indication of where the format has got screwed up.

It gives me a nondescript error when I try to open the save, and I’m not seeing a gdtedit.log file. Is it supposed to be created in the same folder as gdtedit.jar file?

Thanks for the reply though, looks like that could help me solve my problem.

@HeWhoWas um…that still kinda doesnt explain to me about it…i mean like how do i use it?

I just wanna say that your editor is great, but a down thing is, that it makes my game crash. I can edit once and play without problems, but as soon as i do it twice… pooof… i have to start from the beggining.

I have not used your Editor, @HeWhoWas, so I can’t say if you already do this, but if not could you add a Splash screen when the editor starts up with a warning that using the editor could damage saves, which will not be supported by GHG. Also a reminder to backup saves regularly would be useful.

Some nice big text like you find on cigarette packs would do the job :tongue:

@HeWhoWas did you upload 0.4.5 update yet due when i download the 1st link it was a old version 0.4.3
and the mediafire update was 0.4.4

if you can update it or send me a copy i would love to test it with version 1.3.9 for Windows 7

Thanks,
RealHollywoodTM
therealhollywoodtm@hotmail.com

UPDATE: I recently download 0.4.5 sent a email with the logfile and save game photo. read the email when you get time

The mediafire download is version 0.4.4 and the other download is 0.4.3. It says update 0.4.5 is available to download, but when I hit “yes”, it doesn’t update it. What do I do?

Also, every time I edit something that causes the game to not load and I try the backup created by the tool, it still does not work, causing me to have to restart every single time.

Here is 0.4.5 Download

http://d-h.st/j3a

Thank you! I’m not sure why mine wasn’t updating…

Hmm. whenever I try to load a gamesave in this version, it just gives me an error.

I got a error sent it to the creator of this editor… maybe he can fix my issue as well fix yours.

If you got any problems with the save editor… here is how to report them.

Please report bugs by sending an email to smashed.187@gmail.com with “GDTEdit” in the subject line with your logfile and savegame attached if possible.

Please note that if you do not provide the log file, He will be unable to assist you with your problem.

Logfile location has Changed. New logfile will go to your user home folder. This is C:\Users\gdtedit.log in Windows.

Sometimes It’ll be posted in C:\Users\REPLACE WITH YOUR USERNAME (my location for mine just a tip, if you cant find yours)

Savegame located in this location

C:\Users\REPLACE WITH YOUR USERNAME\AppData\Local\Game Dev Tycoon

So Hopefully that will help in WINDOWS, get a screenshot of the problem. and to attached both unmodified savegame and modified savegame.

If this is not right please correct me anybody, I don’t have a problem getting corrected. (i’m here to help as well)

BTW Fezie, What Error does it report when you load a savegame in the 0.4.5 editor?

It just says that an error has occurred and it prompts me to send an error report to the creator. None of my stats show up in the boxes, however it does show my save location. I’ve tried loading the default database and just opening the database and selecting the file from my desktop, nothing seems to work.

It just says that an error has occurred and it prompts me to send an error report to the creator. None of my stats show up in the boxes, however it does show my save location. I’ve tried loading the default database and just opening the database and selecting the file from my desktop, nothing seems to work.

That’s exactly my issue. I can do some editing by hand with sqlite, for simple things like cash that I know how to find and modify, but getting this editor to work would be great.

Also, I don’t know about Fezie, but I’m on Ubuntu. That probably has something to do with it.

Hey all,

Sorry I haven’t been available, had a new phone system installed and I’ve been tearing my hair out with trying to get it configured. As it is I can finally make and receive phone calls, so that’s good enough for now.

I’ve got 6-8 hours set aside tomorrow to fix some of the bugs people are experiencing. What I will be focusing on are:

  • Double edit causes game to crash.
  • Parsing errors on load.
  • Fixing the update system (Minor change, easily done)

Anyone who receives an error when they try to load a database should send a report using the error reporting function - this will send the JSON to me so I can figure out what’s mapped incorrectly. Believe it or not, the number of these errors being reported is declining.

Sorry I’ve been AWOL!

Regards,

HeWhoWas

Guess ill never know how to use this editor, cause it just doesnt show anything cept a bunch of bloody files