Need help compiling NDS homebrew / Backing up GBA eeprom save file

Syrion

Member
OP
Newcomer
Joined
Aug 28, 2020
Messages
5
Trophies
0
Age
53
XP
82
Country
Germany
Long story short: I need help compiling the .nds file for the NDS homebrew app PathogenBackup. The source code is up on GitHub including a "makefile" file, and my understanding is that I should be able to compile it using devkitPro, but I just couldn't figure it out. Documentation says devkitPro comes with "Programmer's Notepad" preconfigured for compilation based on the makefile, but my installation didn't include that tool and installing it seperately didn't help me, either. Can anyone help me with that, please? I was unable to post the URL here, but it's easily found via Google.

Long story: I want to backup the save file of a very specific GBA cartridge, namely Tony Hawk's Pro Skater 3 (Germany). As I've got a DS Lite with a flashcart I just used "GBA Backup Tool" to backup the game's save file like I did before with other games (successfully). Unfortunately, the save file for THPS3 created by GBA Backup Tool is blank and unsurprisingly doesn't work with either an Everdrive or emulator. I've read elsewhere this happened for other people on other games as well and may somehow be related to the game's save type, eeprom. I tried all other backup tools I found, namely: NDS Savegame Manager (doesn't support eeprom) and Eepinator (didn't create a backup). Lastly, I came across PathogenBackup, a little tool specifically created to backup eeprom saves, which unfortunately doesn't have an .nds-file available for download, "only" the source, with me unsure how to compile it. And that's where I'm currently left in my endeavor to backup this game's save file.

Is anybody here able to help me, please? :)
 
Last edited by Syrion,

Syrion

Member
OP
Newcomer
Joined
Aug 28, 2020
Messages
5
Trophies
0
Age
53
XP
82
Country
Germany
Thanks for the reply! I hadn't tried Godmode9i, I wasn't even aware that it was available for the DS Lite.
I was able to use it, although only when started through TWiLightMenu, as otherwise it didn't seem to have access to the SD card. I was able to dump the GBA rom along with the save file. Unfortunately, while the save file is definitely larger than what GBA Backup tool creates (64kb vs 512b) it still seems to be blank. Opening the file with a Hex editor doesn't show any values, and it doesn't work in an emulator, either.

I've read that eeprom saves need to be converted as they are byte-flipped when backed up, so I also used the visual basic script that comes with GBA Backup Tool to convert it, but it still doesn't work.
At least with TWiLight Menu I was now also able to use eepinator to backup the save file, and it too creates a 64kb save file, which, too, seems to be blank and unusable. Saves created via mgba and Everdrive alike are 8kb in size and show clear values like (flipped) character names in the Hex editor.

Oof, what's wrong with this cartridge?
 

Uncia

New Member
Newbie
Joined
Nov 24, 2021
Messages
1
Trophies
0
Age
43
XP
36
Country
Sweden
Long story short: I need help compiling the .nds file for the NDS homebrew app PathogenBackup. The source code is up on GitHub including a "makefile" file, and my understanding is that I should be able to compile it using devkitPro, but I just couldn't figure it out. Documentation says devkitPro comes with "Programmer's Notepad" preconfigured for compilation based on the makefile, but my installation didn't include that tool and installing it seperately didn't help me, either. Can anyone help me with that, please? I was unable to post the URL here, but it's easily found via Google.

Long story: I want to backup the save file of a very specific GBA cartridge, namely Tony Hawk's Pro Skater 3 (Germany). As I've got a DS Lite with a flashcart I just used "GBA Backup Tool" to backup the game's save file like I did before with other games (successfully). Unfortunately, the save file for THPS3 created by GBA Backup Tool is blank and unsurprisingly doesn't work with either an Everdrive or emulator. I've read elsewhere this happened for other people on other games as well and may somehow be related to the game's save type, eeprom. I tried all other backup tools I found, namely: NDS Savegame Manager (doesn't support eeprom) and Eepinator (didn't create a backup). Lastly, I came across PathogenBackup, a little tool specifically created to backup eeprom saves, which unfortunately doesn't have an .nds-file available for download, "only" the source, with me unsure how to compile it. And that's where I'm currently left in my endeavor to backup this game's save file.

Is anybody here able to help me, please? :)
In the GBA Backup Tool folder there is a subfolder called "EEPROM_cnv", which contains a tool called EEPROM_cnv.vbs. Did you try running that and applying it to the eeprom save file you got from GBA Backup Tool? As far as I know, you need to use that script to make an EEPROM save usable on an emulator, and I'm not sure if you already did that as you didn't mention it in your steps.
 
  • Like
Reactions: Syrion

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,473
Trophies
3
XP
28,665
Country
United States
I compiled it for you:

1637783777440.png
 

Attachments

  • PathogenBackup.zip
    115.5 KB · Views: 41

Syrion

Member
OP
Newcomer
Joined
Aug 28, 2020
Messages
5
Trophies
0
Age
53
XP
82
Country
Germany
In the GBA Backup Tool folder there is a subfolder called "EEPROM_cnv", which contains a tool called EEPROM_cnv.vbs. Did you try running that and applying it to the eeprom save file you got from GBA Backup Tool? As far as I know, you need to use that script to make an EEPROM save usable on an emulator, and I'm not sure if you already did that as you didn't mention it in your steps.
I did try that after the original post, but it didn't work. I tried with other save files and found out I could open them with a hex editor and, indeed, some bytes were swapped, which is what the vbs script fixes, as far as I know. But, I wasn't able to get a non-blank save file from THPS3, so far, so that unfortunately didn't help in this regard.

Thank you! I won't be able to test it for a few days, but I'll check it out as soon as possible. Thanks again! I hope that maybe this one will be able to crack Tony Hawk's :D
 
  • Like
Reactions: godreborn

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,259
Trophies
1
Age
21
Location
米国
Website
pk11.us
XP
3,602
Country
United States
According to the README, PathogenBackup does SRAM saves, not EEPROM, so it won't work for your game.

GodMode9i didn't used to support anything but SRAM either, however support for everything else (including EEPROM) has since been added in recent commits so using the latest nightly it should work.

If it doesn't let me know how so and maybe attach the save an I can try fix it.
 
  • Like
Reactions: assassinz
General chit-chat
Help Users
  • FAST6191 @ FAST6191:
    You must go to calmer ones than I do these days
  • SylverReZ @ SylverReZ:
    True. I stick with the easy to mod revisions.
  • FAST6191 @ FAST6191:
    Most of the ones around here as of the last few years I would have to be there at 6am, muscling people as they are dragging things from their boot, skipping rows as the parade of kids looking up things on CEX roves just behind me
  • SylverReZ @ SylverReZ:
    CEX has to be the worst place to buy consoles imho, too overpriced in there.
  • SylverReZ @ SylverReZ:
    I think the whole overpricing bullshit has to do with the pandemic of all things, or has it always been like that?
  • FAST6191 @ FAST6191:
    Since Game squashed gamestation and themselves went pop or new games only they are the only place around save for a few independent pawn shops
  • SylverReZ @ SylverReZ:
    I've bought a PS3 for 45 quid before they went up in CEX.
  • ZeroT21 @ ZeroT21:
    scalpers really profited lol
  • FAST6191 @ FAST6191:
    Actually I lie. Occasionally Cash Converters has something
  • SylverReZ @ SylverReZ:
    @FAST6191, You get a lot more when you sell over there.
  • SylverReZ @ SylverReZ:
    @ZeroT21, Unfortunately true.
  • FAST6191 @ FAST6191:
    As far as PS3s go then I think that might be more things going retro quicker than we were maybe used to coming up in earlier times
  • SylverReZ @ SylverReZ:
    Ngl I was gonna sell a fake Pokémon GBA game in CEX since there were plenty of fakes, that was until they start taking apart cartridges and comparing the PCB to an original.
  • SylverReZ @ SylverReZ:
    Could've gotten a lot of money for that. Lol.
  • SylverReZ @ SylverReZ:
    I don't often use my PS3, I'm probably gonna sell it. Its already been modded with Rebug CFW.
  • AncientBoi @ AncientBoi:
    :unsure: At what price?
  • Skelletonike @ Skelletonike:
    got a lot of cheap stuff on fb marketplace
  • Skelletonike @ Skelletonike:
    my best recent purchase was medabots for gba for 4€
  • SylverReZ @ SylverReZ:
    @AncientBoi, Which one are you referring to? The GBA game or the PS3?
  • Skelletonike @ Skelletonike:
    rokusho versoin, the godly rpg one
  • ZeroT21 @ ZeroT21:
    i still have mine in the closet, played once
  • SylverReZ @ SylverReZ:
    Usually the Pokemon GBA games go for a lot, roughly 40-80 £.
  • SylverReZ @ SylverReZ:
    @AncientBoi, PS3 was £45.
    SylverReZ @ SylverReZ: @AncientBoi, PS3 was £45.