Commit Graph

62 Commits

Author SHA1 Message Date
Metroid Maniac
24d3a0ae66
Dump GBA RTC data in metadata and saves (#205)
* Add barebones RTC (actually GPIO) detect

* RTC reading gotta clean up

* Nicer printing

* Add date sanity check (detect RTC presence)

* Append RTC data to dumped saves mGBA-style if present

* Actually allow restoring save with RTC included
2023-01-01 00:10:42 -07:00
RocketRobz
d8f76fcb3d Fix #201 2022-11-21 00:42:35 -07:00
Pk11
1605dcf8f0
Change screen swap to an ini option (#183) 2022-08-02 20:04:55 -06:00
Pk11
c692e53150
Fix 128 KiB EEPROM saves (#170) 2022-06-04 08:39:26 -06:00
Pk11
9ada5887e2
Update translations (#162)
* Update translations, add Dutch and Ukrainian

Adds Ґ, ґ, І, і, Ї, and ї to the font for Ukrainian

* Update Chinese translation

* Add RTL support, Hebrew translation

* Update translations
2022-04-08 12:39:29 -06:00
Pk11
68a81840d6
Improve screen swap (#164) 2022-03-20 15:57:41 -06:00
Pk11
d8bf2447ec
Clear cart info on eject outside of drive menu and detect ramdrive eject (#146)
* Fix cart info if ejected not in drive menu

* Fix a couple ramdrive issues

- Unmount ramdrive if Slot-2 RAM is ejected
- Fix potentially reading from the wrong location if numSectors > 1 and crosses between locations
- free ramdLoc on regular DS too
- Use calloc to 0 initialize, I saw it mess up occasionally on DSi too

* Update time in the Vblank handler
2022-01-07 20:35:49 -07:00
Pk11
ccf8d0200b
Add restoring DS saves on DS/DS Lite (#141) 2022-01-05 03:55:35 -07:00
Pk11
836c30e182 Fix always blocking SPI saves over 1 MiB
Noticed this right after marking the PR ready for review lol
2022-01-04 22:07:17 -06:00
Pk11
bec149de03
Add dumping DS saves using GBA cart save data (#138)
* Simplify GBA EEPROM FIFO wait

* Add dumping DS saves using a GBA cart's save data

* Don't try dump very large DS saves to GBA carts

* Don't show DS cart info on regular DS

you need to take the cart out to reinit it so info isn't loaded

* Change to 'writing save' for DS to GBA dumps

* Fix a couple bugs and typos
2022-01-04 20:54:45 -07:00
RocketRobz
c7fefecdcc Do not read NDS cart info if Slot-1 flashcard is mounted
Fixes lockup when highlighting Slot-1 FAT
2022-01-02 23:16:20 -07:00
Pk11
0f8b4c248e
Simplify RAM drives (#131)
* Simplify RAM drives

* WIP: Add Slot-2 RAM expansion RAM drive support
2022-01-02 00:46:49 -07:00
Pk11
aeb13dba29
Improve dumping menu, add metadata dumping (#128)
* Improve dumping menu, add metadata dumping

* Use `NONE` as fallback DS save instead of `UNK`

Matches GM9 for my DSTT and バトル&ゲット:ポケモンタイピングDS

* Fix metadata check for NAND save
2021-12-31 20:04:50 -07:00
Pk11
11b5c4e523 Make GM9i translatable 2021-11-22 21:02:13 -06:00
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