Commit Graph

10 Commits

Author SHA1 Message Date
profi200 42b4ad4ce1
Begin separating oaf into lib and FIRM. Removed unnecessary config.ini file. 2021-11-07 13:43:24 +01:00
HTV04 826b426e74 Post-review changes 2021-11-06 22:59:21 +01:00
Harrison 7cc20dd4b7 Finishing touches 2021-11-06 22:59:21 +01:00
Harrison 588eb08e20 Full gba_db.bin integration and other changes 2021-11-06 22:59:21 +01:00
Harrison 355971c9a2 Finally fixed builder script and gba_db.bin
The generated gba_db.bin now works with open_agb_firm!

With a ton of help from profi200, I finally figured out the issue. Turns out open_agb_firm uses a binary search algorithm to find the hash from the gba_db.bin file. After a ton of (probably unnecessary) trial and error, I fixed my script so that it sorts the entries in the way open_agb_firm expects, and boom, it works!
2021-11-06 22:59:21 +01:00
Harrison 1b0cdbbf9d A ton of changes
* Updated gba_db.bin Builder to v2.1, adding some important fail-safes and fixing some nasty bugs.
* Updated Makefile to create releases as ZIPs instead of 7Zs and include the gba_db.bin file in releases.
* Updated gitignore to allow necessary files for gba_db.bin Builder to be added to the repo, among other changes.
* Moved script and necessary files to a new "tools" folder. The resources folder is now used for files that facilitate releases, such as "safe" versions of gba_db.bin.
* Made a few changes to open_agb_firm.c to prepare for full gba_db.bin integration.
* Updated README to reflect the new changes, among other changes.
2021-11-06 22:59:21 +01:00
Harrison e2b527b35b open_agb_firm gba_db.bin Builder v2.0 and other changes
open_agb_firm gba_db.bin Builder:
* Updated to v2.0
* No-Intro DAT support
* Additional entry support
* Entries added/skipped are now output
* Other optimizations

Other changes:
* Remove most overrides in `open_agb_firm.c` to prepare for gba_db.bin
* Add `resources/gba.dat` entry to gitignore
2021-11-06 22:59:21 +01:00
Harrison 918bc24d66 Fix save type detection bug
Fixed dumb mistake that caused the save type to always be returned as 15 OOPS

Also added/changed some comments
2021-11-06 22:59:21 +01:00
Harrison 984644d038 gba_db_builder Improvements
Also fix gba_db.bin
2021-11-06 22:59:21 +01:00
Harrison fc168fa560 Add gba_db_builder 2021-11-06 22:59:21 +01:00