Golden Sun Hacking Community

General Hacking => Project List => Topic started by: powered_by_tux on 23, July, 2010, 09:02:04 AM

Title: Golden Sun Save Game Editor (Version 2.0)
Post by: powered_by_tux on 23, July, 2010, 09:02:04 AM
1. Changelog
[v2.0a - 2012/07/26]
- Added thumbnail to show what kind of savegame is loaded
- Fixed problem with item selection

[v2.0 - 2012/07/25]
- It is now possible to edit Golden Sun (Book One) savegames
- Added party editing (Note: For the sake of ease, the order of the party characters is reset when enabling/disabling party members)
- Vastly improved stability when loading savegames
- Various other improvements

[v1.2 - 2011/07/22]
- Added difficulty editing (Note: Easy mode is just like Normal mode with altered character stats, therefore it is not selectable)
- Added character editing (Name, Level, Exp, Base Stats. Note: you need to chage the characters classes for all changes to become apparent)
- More verbose error messages and countless changes under the hood

[v1.1b - 2011/03/15]
- Finally fixed optional boss editing

[v1.1a - 2011/01/20]
- Fixed Mercury and Jupiter Djinn acquisition bits

[v1.1 - 2010/12/21]
- Item icons added
- Items are sorted by name for more consistency
- Fixed a grave mistake concerning optional boss editing
- More verbose error messages
- Fixed save game not being loaded via file association

2. Features

As the name implies, the GS:TLA Save Game Editor is an editor to edit GS:TLA (not GS1/TBS) save game files. It lets you edit various aspects of a save game. The following list shows what is currently possible to edit:


More things are to come, currently planned: Psynergy & Class editing. Please note that the item values were extracted from one of the guides. Some of the values showed to be incorrect. I have already made a few corrections but there still may be wrong values. If you get a different item in-game than you have edited, please let me know. Also, let me know of any errors, typos, suggestions or if you need help with the editor.

The editor does automatically calculate the checksum of each save file, so the is no need for the user to agonize over that. So far the calculations were pretty reliable. Should a save slot become inaccessible after editing, submit the save file to me and I will have a look at it. The editor can also 'repair' save slots that are inaccessible because of a manually edited incorrect checksum or data corruption. Simply load up the damaged save file in the editor and save to write back the repaired file.

3. Requirements

To run the editor, you need to have the Java Runtime Environment installed. You should really install it, because a few great apps need it and you also get a browser plugin needed to run Java applets on some websites. If you have not, get it here for your system: http://www.java.com/ . Once installed, just double-click the downloaded Jar file to start the editor. If you have trouble to get it to run, don't hesitate to contact me.

4. How to use

IMPORTANT: Always make a backup of your save file BEFORE editing.

First, you have to load a TLA save game. Make sure the file extension is .sav or .SAV. Once successfully loaded, you can use the mostly self-explaining editing components. You can select the save slot from the top bar. Note that the slot order in the editor does NOT correspond to the one in game. It is not yet known how to get the order but you should be able to recognize your save slot by the info panel. Make sure to save your changes.

A final and interesting note: when you start a new file, the data and inventory are created for ALL eight characters. This means you can edit the data of characters who are not yet part of your party, notably Piers and the GS party. When you meet up with them, they will sport all the changes made in the editor. You can use this to make data transfer obsolete.

5. Screenshots
(http://img502.imageshack.us/img502/9791/36488389.th.jpg) (http://imageshack.us/photo/my-images/502/36488389.jpg/)(http://img31.imageshack.us/img31/9415/68411676.th.jpg) (http://imageshack.us/photo/my-images/31/68411676.jpg/)(http://img651.imageshack.us/img651/2689/89861395.th.jpg) (http://imageshack.us/photo/my-images/651/89861395.jpg/)(http://img849.imageshack.us/img849/5884/62324700.th.jpg) (http://imageshack.us/photo/my-images/849/62324700.jpg/)
Note: The graphical interface may look differently on your system.

6. Known Limitations

7. Download

Go into the Downloads section of this board (http://forum.goldensunhacking.net/index.php?action=downloads;sa=view;down=16)

Merry Christmas everyone,

powered_by_tux
Title: Re: TLA save game editor
Post by: leaf on 23, July, 2010, 02:31:58 PM
Sounds awesome. You have no idea how much easier this will make playtesting hacks. Especially the djinn editing.
Title: Re: TLA save game editor
Post by: BlazingPhoenix on 23, July, 2010, 04:05:28 PM
Why Java? There's so many better languages to pick from. x_X
Title: Re: TLA save game editor
Post by: Atrius on 03, August, 2010, 02:18:44 AM
Like GML was good choice for programming my editor in. >_>

Sounds like a plan, save game editing functionality is not something I ever intended to add to my editor.
Title: Re: TLA save game editor
Post by: powered_by_tux on 16, December, 2010, 01:49:47 PM
EDIT: Please check the first post.
Title: Re: TLA save game editor
Post by: Griever on 19, December, 2010, 07:16:18 AM
Is it possible to post a Mediafire link as well? I can not download from megaupload for some reason.
Title: Re: TLA save game editor
Post by: powered_by_tux on 19, December, 2010, 11:19:24 AM
Sure, I have added a MF link, check the first post.

Also, I made a small update to the editor: edited Djinn are now correctly marked as acquired allowing entrance to Anemos Inner Sanctum without data transfer.
Title: Re: TLA save game editor
Post by: Griever on 19, December, 2010, 11:24:49 AM
Thanks a lot.

Edit: when i double click it nothing happens, i know i already have java installed since i use 2 other programs with *.jar and they open .. but this one isn't .. not sure if its my computer or its the application itself.
Title: Re: TLA save game editor
Post by: powered_by_tux on 19, December, 2010, 01:03:41 PM
That's strange. It was working on Linux so I suspect that there was something wrong with the windowing toolkit. How embarassing! I will test future versions on Windows before releasing them.

At any rate, I have uploaded an updated version that should now definitely work.
Title: Re: TLA save game editor
Post by: Griever on 19, December, 2010, 01:12:55 PM
It worked thanks a lot.

Errrrr it's Felix not Feliz ....
Title: Re: TLA save game editor
Post by: powered_by_tux on 19, December, 2010, 01:43:30 PM
Quote from: DarkGriever on 19, December, 2010, 01:12:55 PM
It worked thanks a lot.

Errrrr it's Felix not Feliz ....

I'm pretty sure it says Felix everywhere.

Have you named your character "Feliz"? The editor takes the character's names from the save file.
Title: Re: TLA save game editor
Post by: Griever on 19, December, 2010, 01:51:11 PM
Then never mind i used my friend's save so he probably used that name. Sorry to bother you.
Title: Re: TLA save game editor
Post by: Crystal Sonata on 20, December, 2010, 09:02:55 PM
-Edited-
Title: Re: TLA save game editor
Post by: Atrius on 20, December, 2010, 09:24:10 PM
There's always the downloads section here as well.
Title: Re: TLA save game editor
Post by: powered_by_tux on 21, December, 2010, 10:47:39 AM
Thanks for your assistance. I have just uploaded the editor to the Downloads section on this site. This will make updating much easier for me. Should you be discontented with the download speed, I will upload it somewhere else on request.

The uploaded version has been update since the prior release. An update is strongly recommended.

PS: It's kinda intriguing to stand out due to ones grammar. No big deal, I like it.  :happy:
Title: Re: TLA save game editor
Post by: Crystal Sonata on 04, January, 2011, 07:05:52 PM
-Edited-
Title: Re: GS:TLA save game editor
Post by: GSeriesFan on 11, May, 2011, 11:27:37 AM
I just learned how to edit money in the save file of golden sun and now i see that you re aldready making your own GS Save Editor... i had that ideia too, but since you had it first, well, lets hope it s a good save editor.
Title: Re: GS:TLA save game editor
Post by: Roareye on 13, May, 2011, 02:33:28 PM
Interesting. This seems to have some pretty nice features. I'd still stick to Cheat Engine when actually tweaking/editing something in-game, though.
Title: Re: GS:TLA save game editor
Post by: Rolina on 14, May, 2011, 04:19:38 PM
I don't think that's the same, you know.  We're not doing this to cheat, but rather to get to places in the game we need to test.  We can't keep making a new game every time we change something past where we're at in the save file, or have to play for hours just to reach the point we're trying to test.

It's not something you can really do with simple cheats.  In fact, it kind of defeats the point of testing balance when you're using cheats.
Title: Re: GS:TLA save game editor
Post by: Daddy Poi's Oily Gorillas on 14, May, 2011, 04:44:29 PM
Who said Cheat Engine was only for cheating? It can do a lot of crazy stuff.. Like keep a pointer constant... Etc.
Title: Re: GS:TLA save game editor
Post by: Awec on 15, May, 2011, 04:31:36 AM
Well, the name rather implies that it is focused on cheating.
Title: Re: GS:TLA save game editor
Post by: Rolina on 15, May, 2011, 08:30:29 PM
Quote from: Awec on 15, May, 2011, 04:31:36 AM
Well, the name rather implies that it is focused on cheating.
Title: Re: GS:TLA save game editor
Post by: Roareye on 19, June, 2011, 06:53:43 AM
This just proves that you shouldn't judge the book by it's cover. It can basically edit any value at any adress, so it can be used for lots and lots of purposes. It can be used on any actual executable file that's visible in the process window when run. The name's just a name.
Title: Re: Golden Sun Save Game Editor (Version 2.0)
Post by: powered_by_tux on 25, July, 2012, 10:25:08 AM
I made a major update to the Editor. The most notable change is that you can now edit Golden Sun (The Broken Seal/Book One) savegames, as a consequence the Editor was given a different title. Also you can now edit party members, i.e. to obtain members before you actually get them in game.

If you are interested at the source code, just open the jar archive with a zip file extractor, e.g. 7-Zip.
Title: Re: Golden Sun Save Game Editor (Version 2.0)
Post by: Daddy Poi's Oily Gorillas on 25, July, 2012, 11:46:56 AM
Oh cool. So there's a way to view the source code? Okay. I ought to take a look a little later. Have you ever considered putting in pictures of your editor in the first post, just wondering.


@Cheat Engine: For what purpose Roareye uses it for... That's a lot like how Atrius uses gamemaker to build an editor. Except Cheat Engine fits the debugging concept a bit closer than how an editor fits as a game, though. P.S.: And guess what? Salanewt and my editor for the M&L series is called Yoshi Magic, and it has little to do about Yoshi and Magic.
Title: Re: Golden Sun Save Game Editor (Version 2.0a)
Post by: powered_by_tux on 26, July, 2012, 05:13:11 AM
@Teawater
Yes, I have wanted to do that for a longer time. I just updated the first post to include some preview screenshots. Thanks for reminding me!
Title: Re: Golden Sun Save Game Editor (Version 2.0)
Post by: KaoDome on 26, January, 2013, 03:45:26 PM
I wonder if changing the names of characters not in the party would be possible in a GS save file. I gave Felix a custom name and now I think I prefer the original one better but I wouldn't like to start playing again since I'm already ~20h in the game.

If that's possible, could you consider adding it to the editor? Thanks anyway.
Title: Re: Golden Sun Save Game Editor (Version 2.0)
Post by: Rolina on 30, January, 2013, 11:21:50 AM
Well, Felix, Jenna, and Sheba are character slots 4, 5, and 6 in the data, so that would indeed be possible.  Of course, that also requires that this still be in development, and I haven't personally seen tux on in a while.
Title: Re: Golden Sun Save Game Editor (Version 2.0)
Post by: cai_miao on 10, April, 2013, 01:30:00 AM
that's great, but how could i get the source code? i want to add a chinese translation.

--posted by mobile tablet
Title: Re: Golden Sun Save Game Editor (Version 2.0)
Post by: powered_by_tux on 12, April, 2013, 05:05:03 AM
Wow, I rarely visit this board. It's nice to see that there is still interest in this project.

Quote from: KaoDome on 26, January, 2013, 03:45:26 PM
I wonder if changing the names of characters not in the party would be possible in a GS save file. I gave Felix a custom name and now I think I prefer the original one better but I wouldn't like to start playing again since I'm already ~20h in the game.

It's definitely possible and shouldn't be too much work. You can expect to see this in the next release.

Quote from: cai_miao on 10, April, 2013, 01:30:00 AM
that's great, but how could i get the source code? i want to add a chinese translation.

Extract the JAR file which is possible with any archiving tool. The *.java source files are interweaved with the *.class files. Yes, this is not pretty but still better than not sharing the source at all, no?  :happy:

If you want to translate the application you have to extract the jar, locate all message.properties files and translate all english strings. Then you have to send those files back to me and I will include it in the next release. I will also have to make necessary adjustments to the application in order to use the translated messages. Another todo for the next release.
Title: Re: Golden Sun Save Game Editor (Version 2.0)
Post by: Crystal Sonata on 12, April, 2013, 02:18:21 PM
I can handle translations if you like. I'm well versed in English (My Primary Language), Spanish, Chinese, and Japanese.