Commit Graph

48 Commits

Author SHA1 Message Date
Pk11
b579cedd29
Fix GBA EEPROM saves (#114)
* Fix GBA EEPROM saves

* Clean up dumping error messages
2021-11-04 19:28:30 -06:00
Pk11
8a3685803d Improve EEPROM code
Still doesn't actually *work*, but it should be closer now.
2021-11-02 22:12:15 -05:00
Pk11
ae3ddd0c6c Use enums and fix warnings in gba.cpp
Also fix not erasing the GBA save before writing
2021-11-02 22:02:01 -05:00
Pk11
568c4dde5f Fix overdumping GBA ROMs
Thanks to gba-link-cable-dumper
https://github.com/FIX94/gba-link-cable-dumper/blob/master/gba/source/main.c#L19-L40
2021-11-02 18:39:46 -05:00
Pk11
cf0a86fa0b Add dumping non-SRAM GBA saves
Credit to savegame-manager for code
https://code.google.com/archive/p/savegame-manager/
2021-11-02 18:38:31 -05:00
Pk11
8de40f23ac
Fix freezing on boot on flashcard & getting GBA cart info (#110)
* Only check if 3DS in DSi mode

* Fix reading GBA cart info

* Don't do & on the arrays for the GBA info

I don't think it was breaking anything to do that? but it's not needed and I think it might be wrong somehow or other
2021-10-11 13:35:47 -06:00
Pk11
d608197df8 Fix NAND restore error message & variable name 2021-10-10 17:48:32 -05:00
Pk11
960c1ea7ad Only dump 64 MiB for Face Training
GBATEK says 82 MB RW section but now how much is save, nocash said 66 MB is save(?) on nesdev, but then melonDS makes a 64 MB save, since melonDS seems to work I'm just going to lower this to 64 MB incase going further can cause trouble.
2021-10-06 14:11:48 -05:00
Pk11
294c4bee1c Fix NAND save writing and restoring 2021-10-06 00:51:38 -05:00
Pk11
7b105c09a1 Fix NAND card header reading
It now tries to dump, but the rest of the dump is garbage. It tries the save too, but I think that's also garbage.

This breaks some things that worked before, marked with TODOs. I'll fix them once NAND works.
2021-10-04 18:08:12 -05:00
Pk11
d75ab87bfb WIP: Fix NAND cart dumping 2021-09-27 00:41:06 -05:00
Pk11
9de1d80ca1 Fix non-auxspi bytes progress 2021-09-15 17:35:50 -05:00
Pk11
e296e4cb68 Merge remote-tracking branch 'upstream/master' into bitmap-mode-and-cleanup 2021-09-15 17:34:52 -05:00
Pk11
c7694df14c
Fix restoring to ID 0xC22017 cards (#107) 2021-09-15 16:31:57 -06:00
Pk11
520327dcdf
Fix dumping saves from ID 0xC22017 (#106)
8 MByte, used in Art Academy (Spain) or at least some of them
2021-09-15 14:25:36 -06:00
Pk11
c0e347f2b4 Fix double : in dumping prompts 2021-08-15 15:40:13 -05:00
Pk11
2ca30a9bd2 WIP: Use bitmap mode and clean up some things 2021-08-08 07:31:00 -05:00
RocketRobz
43f440c9fa Preserve RSA key when dumping trimmed DS ROMs
Allows Cloneboot to work in trimmed ROMs
2021-07-13 22:21:40 -06:00
Pk11
1708f51963
Use safer EEPROM save size check (#94) 2021-05-20 15:22:38 -06:00
Pk11
7463102ce0
Fix 128KiB EEPROM save dumping (#88) 2021-03-25 16:10:21 -06:00
RocketRobz
9c69c5f4ae Fix D first appearing in the filename, when dumping GBA ROM 2021-01-28 16:23:19 -07:00
RocketRobz
5f853a9a8e Bug fix 2021-01-28 09:39:30 -07:00
RocketRobz
59f9ce9ad4 Fix Failed to dump the ROM message being shown when dumping trimmed ROM 2021-01-28 09:35:26 -07:00
RocketRobz
bf39bda222 Minor fix 2021-01-27 18:38:16 -07:00
RocketRobz
33724a57ec Minor fix 2021-01-27 18:37:53 -07:00
RocketRobz
586b3c84db Replace all invalid characters when dumping GBA ROM 2021-01-27 17:58:23 -07:00
RocketRobz
78efa7ecf3 Derp fix 2021-01-27 17:24:37 -07:00
RocketRobz
7eef467119 Replace all invalid characters when dumping DS ROM
Co-Authored-By: Pk11 <epicpkmn11@outlook.com>
2021-01-27 17:21:27 -07:00
RocketRobz
49c40dbf53 Fix DS ROM being dumped with TWL size, if running in DS mode 2021-01-27 17:19:39 -07:00
RocketRobz
c2cdcaa3ee Fix DSTT ROM not being dumped 2021-01-27 17:18:10 -07:00
RocketRobz
744b493e1f Add dumping fail-safes
ALSO: Change some `printf`s to `iprintf`s
2021-01-27 17:12:47 -07:00
Pk11
81108bc4ed
Fix getting EEPROM size when the first is all 0 (#79) 2021-01-25 20:20:20 -07:00
RocketRobz
edd514aad5 Check if .nds (or .gba) file is created before dumping 2021-01-24 14:18:20 -07:00
RocketRobz
eb7446d24a Derp fix 2020-09-07 02:52:07 -06:00
RocketRobz
999cae1f8e Properly dump *Shrek & Shark Tale* GBA Video ROM properly 2020-09-07 02:50:28 -06:00
RocketRobz
3bf8f17b7c Dump last 32MB from certain GBA Video ROMs 2020-09-04 00:39:08 -06:00
Pk11
5437be1a2e
Add save file restoring (#68)
* Remove `using namespace std`

* Improve extension function and use more

* Add save restoring

and remove fstream to save ~300KB
2020-08-20 19:09:20 -06:00
RocketRobz
0745202caa Bug fix 2020-03-17 19:17:23 -06:00
RocketRobz
e33bb56b15 Bug fix 2020-03-17 19:15:26 -06:00
RocketRobz
a513aca5c0 Add option to dump save only 2020-03-17 19:12:37 -06:00
RocketRobz
5aed42246c Boost DS(i) cart dumping
ALSO: Use correct size when dumping trimmed ROM
2020-02-16 23:19:19 -07:00
RocketRobz
f833c79f3e Comment out unused code 2020-02-05 14:39:08 -07:00
RocketRobz
ef4b474fd6 Add unused DS mode ROM dumping code 2020-02-05 14:34:45 -07:00
RocketRobz
3cbb99e0bc Add proper green border 2020-02-04 16:29:25 -07:00
RocketRobz
9b4876a8e4 Bug fixes 2020-02-04 01:24:08 -07:00
RocketRobz
35583045b2 Do not clear time, except for GBA ROM dumping 2020-02-04 00:56:47 -07:00
Pk11
e60993ec3e
Fix flickering (#44) 2020-02-04 00:21:07 -07:00
RocketRobz
db8bf37a2a Add DS(i) save dumping 2020-01-30 01:19:47 -07:00