Emulation Recovered Hack Help?

  • Thread starter Deleted User
  • Start date
  • Views 1,889
  • Replies 5
D

Deleted User

Guest
OP
Hello, I just recently recovered some GBA hacks with a deleted file recovery tool, and they all look fine from the size and in a hex editor, but VBA refuses to play them. Any help?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
If VBA refuses to play it then it is time to find the hacks again- I have seen those file recovery programs recover damaged files when it said all was good before and even then VBA is incredibly forgiving of GBA code.

If you know names I am sure someone can help out

Some links in the meantime
http://www.pocketheaven.com/ph/bubbz/
http://www.romhacking.net/?genre=&plat...le=&author=
http://www.romhacking.net/?genre=&plat...le=&author=

Those three should sort the basics- maybe the odd version of fire emblem (if using an older one), some minor league pokemon hacks (poke around http://www.pokecommunity.com/forumdisplay.php?f=37 ), some advance wars hacks (check http://www.warsworldnews.com/ ), some of the golden sun stuff from atrius (do a search, this section has a bunch on it) and maybe some work on boktai 3 http://s4.zetaboards.com/BoktaiOnline/topic/426993/1/
 
D

Deleted User

Guest
OP
Ok, I would have downloaded them again, but most of them were ones I made.
frown.gif
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
In that case we might have some options- I was not about to start on debugging a corrupted copy of working rom hack that it would have been easier to just redownload.

You will want a copy of the original/base rom for this.

Rather nicely the GBA does not change locations of things during hacking (thinking filesystem rebuild- pointers are a different matter) meaning the changes you see are either corruption from undeleting or your changes. I can think of many ways it would break it but there are equally many reasons why it would continue to work (especially if it is a basic hack* so it is worth trying partial hacks (playable is one thing, recovered work is quite another).

*if it is pokemon and you used one of those hacking tools I would not hold my breath but most other roms (assuming you do not have to fight compression and/or repointing). On the other hand those tools are not the system itself so they might be able to recover your work (or at least view it for long enough for you to press control and C before reimplementing it).

Before we get onto that the first place to look is the header- in my example earlier of the first few bytes of the file are more often than not the thing to go (VBA will run with a bad header but it has limits) and your rom hack should not have touched the header (and if it has it should not matter if your replace it) so that is the first stop. GBATA to check (and possibly repair) http://www.no-intro.org/tools.htm or more likely you do a bit of copy and paste from the base rom.

Assuming it is not a simple header repair from here you get to systematically work through you recovered file and overlaying any changes into the rom you are rebuilding like you would if you were using corruption to find/test something or trying to reverse engineer another hack/using region dupes to infer things.
 
D

Deleted User

Guest
OP
If I was using Pokemon Emerald to hack, where would I copy/paste the Header from/to in a Hex Editor to fix it?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
http://nocash.emubase.de/gbatek.htm#gbacartridges although ignore the leading 8 on those addresses (that is just the place it starts in the normal memory rather than one the rom image which starts at 0).

The first proper instructions (which may well have been touched if you used a tool- where it searches for free space it will also change where the rom goes looking for it and that means in the actual binary) can be found http://img141.imageshack.us/img141/6633/id...eginninguy2.png (image thanks to bunsy in this thread http://gbatemp.net/index.php?showtopic=39979&hl= ) so I would be hesitant about overwriting too much.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    True, everything almost double nowadays
  • K3Nv2 @ K3Nv2:
    But I could go to Aldis and get a cookie pie for like $4
  • BigOnYa @ BigOnYa:
    Or use your new cooking pan and make some, don't mind the Old leftover foods mixed in.
  • K3Nv2 @ K3Nv2:
    Just eat plain flour around cops
  • BigOnYa @ BigOnYa:
    thats Gluten abuse, they would shoot you
  • K3Nv2 @ K3Nv2:
    Depends on the color chart
  • K3Nv2 @ K3Nv2:
    Wheat flour has a lower chance at survival
  • Veho @ Veho:
    Isn't wheat flour the whitest of the white?
  • Veho @ Veho:
    Rye would get shot at sight.
    +1
  • K3Nv2 @ K3Nv2:
    Depends
    img_5941-1.jpeg
    everyone mixing their flour now days
  • Veho @ Veho:
    That's whole wheat, right? Because all purpose flour is also made from wheat.
  • K3Nv2 @ K3Nv2:
    I'm not a flour expert I just snort it
  • BigOnYa @ BigOnYa:
    There also is black rice flour, and its really black colored
  • Veho @ Veho:
    Bruh that's gray.
  • K3Nv2 @ K3Nv2:
    That's ancientboi color
    +1
  • Veho @ Veho:
    You need to add some activated charcoal.
    +1
  • BigOnYa @ BigOnYa:
    I've seen some that are dark dark, my wifey uses it sometimes in her bs recipes
  • Veho @ Veho:
    Cool.
  • SylverReZ @ SylverReZ:
    @BigOnYa, Seems like your wifey likes hers black. :creep:
    +1
  • Veho @ Veho:
    "BS" stands for "Bowel Scraping" because that's what whole grain does.
    +2
  • K3Nv2 @ K3Nv2:
    I've been eating honey wheat bread scrumptious
  • K3Nv2 @ K3Nv2:
    https://a.co/d/9xDkOHc lol living on the edge
    K3Nv2 @ K3Nv2: https://a.co/d/9xDkOHc lol living on the edge