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

Syrion

Member
OP
Newcomer
Joined
Aug 28, 2020
Messages
5
Trophies
0
Age
54
XP
93
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
54
XP
93
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
44
XP
46
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,471
Trophies
3
XP
29,138
Country
United States
I compiled it for you:

1637783777440.png
 

Attachments

  • PathogenBackup.zip
    115.5 KB · Views: 64

Syrion

Member
OP
Newcomer
Joined
Aug 28, 2020
Messages
5
Trophies
0
Age
54
XP
93
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,285
Trophies
1
Age
22
Location
米国
Website
xn--rck9c.xn--tckwe
XP
3,905
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    He found out how much the ambulance ride was going to cost lol
    +2
  • K3Nv2 @ K3Nv2:
    @BigOnYa, so one the salesman told him would get him bitches
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    In my experience women like a big shift stick with lots of power.
  • Psionic Roshambo @ Psionic Roshambo:
    Something that really burns rubbers
  • BigOnYa @ BigOnYa:
    Only thing a nice car will get you is a gold digger. What happened to falling in love, no matter if I'm on a bus, or driving a nice car. No offense tho, I do like nice cars.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Nothing like tearing ass up on a back road
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa I think narcissism has all but killed love
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, I think I can agree on that.
    +1
  • K3Nv2 @ K3Nv2:
    People tend to think look at everything I have gains attention but ends up making them look worse for what it is
    +1
  • BigOnYa @ BigOnYa:
    It would be funny to pick up a girl in a real expensive car, then next date show up in a piece o shit car just to see her reaction. If she was real, it wouldn't matter.
  • Psionic Roshambo @ Psionic Roshambo:
    Everyone is disposable and replaceable, lies and deception are the coin of the realm. I have never felt so alone and so at odds with the world.
  • K3Nv2 @ K3Nv2:
    I don't think we should see others as disposable just if they can show any glimps of care about humanity should be forgiven
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, she would leave you inmediately
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    For a time I considered creating a new big bang. Wipe the slate clean and start from scratch....
  • K3Nv2 @ K3Nv2:
    Your closest friend probably talks negative about you the most
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I know I talk shit about that Ken guy constantly lol
    +1
  • K3Nv2 @ K3Nv2:
    Yeah I just had to consile it's a age thing and I can get erect
    +1
  • BigOnYa @ BigOnYa:
    Right.. Take a number
  • SylverReZ @ SylverReZ:
    @BigOnYa, Binkinator is still around you guys. I just saw him in one of the Discord servers that I'm in.
  • K3Nv2 @ K3Nv2:
    People get more mad when they learn you aren't as dimwitted as they think
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that guy who was dissappeared?
  • Psionic Roshambo @ Psionic Roshambo:
    My favorite thing about that Ken, if they talk bad about others to you. They doing it to you too.
  • Psionic Roshambo @ Psionic Roshambo:
    Always remember that
    Psionic Roshambo @ Psionic Roshambo: Always remember that