Pk11
78e9bd9996
A couple derp fixes
...
- Allocate enough space for byte sizes
- Pass size to 'bytes' count
- Check lang ini not font path for lang reload
- Use 24 hour with 0 instead of space for filename date
2021-11-23 01:44:49 -06:00
Pk11
52355b98c7
Make a couple strings more flexible
...
Force push fixes some typos
2021-11-22 22:42:42 -06:00
Pk11
af1772a337
Fix clipboard overlapping control info
2021-11-22 22:17:59 -06:00
Pk11
e75b54db02
Fix using float printf on integer GB
2021-11-22 22:01:14 -06:00
Pk11
ac968a17ae
Use the D-Pad characters for the file attributes
...
Also change the buttons a bit, that menu always confused me and I think this makes more sense, can change if wanted though
2021-11-22 21:41:22 -06:00
Pk11
11b5c4e523
Make GM9i translatable
2021-11-22 21:02:13 -06:00
Pk11
e44678598c
Enumify drive number
2021-11-22 16:16:48 -06:00
Pk11
b5df5a6971
Fix GBA EEPROM 64 KB writing 2 banks ( #116 )
2021-11-07 16:12:45 -07: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
35d6f7fdca
Remove unused non-functional BBDX code from auxspi
2021-11-02 15:51:05 -05:00
Pk11
486f846cbd
Show file creation/modification times in file info ( #111 )
2021-10-11 13:44:48 -06: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
RocketRobz
9e1c56fa2d
Merge pull request #108 from Epicpkmn11/nand-cart-dumping
...
Fix NAND cart dumping
2021-10-10 17:21:23 -06:00
Pk11
d608197df8
Fix NAND restore error message & variable name
2021-10-10 17:48:32 -05:00
Pk11
132f787623
Remove CARD_CLK_SLOW from NAND commands
...
Seems fine without it, maybe better?
2021-10-10 17:44:14 -05:00
RocketRobz
b9fcd7fa54
Properly allocate memory for RAM drive 1
2021-10-09 19:58:14 -06:00
RocketRobz
7750ab47c0
Detect 3DS console without reading NAND
2021-10-09 19:39:39 -06: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
8e48ab82f6
Don't switch to TWL Blowfish for NAND saves
...
This doesn't seem to fully fix Face Training, but it might help?
Force push because I decided to undo disabling face training saves so it can still be tested
2021-10-06 14:10:16 -05:00
Pk11
bc4b0baf1f
Fix dumping the save in the ROM
...
Technically this is actually more accurate, however it makes the dump not match a 'clean' dump (and there couldn't be a 'clean' dump like this as the save will always vary)
2021-10-06 01:00:24 -05:00
Pk11
294c4bee1c
Fix NAND save writing and restoring
2021-10-06 00:51:38 -05:00
Pk11
0bc622b3d5
Fix NAND ROM dumping
...
yes. it was literally the 'random' number.
2021-10-05 00:30:37 -05:00
Pk11
0dedcfb9dd
Improve extended header reading
2021-10-04 20:27:20 -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
0f70de49d0
Derp fix
2021-09-02 20:19:00 -05:00
Pk11
490b536bf2
Copy over Arabic support from TWiLight
...
Currently not really needed, but if we make GM9i translatable (which I'll prolly do after this PR is merged) it'll be needed so might as well just do it now
2021-09-02 11:01:49 -05:00
Pk11
2bc47b299d
Propely substr file names
2021-08-21 17:39:39 -05:00
Pk11
162700115d
Speed up directory loading
...
Doesn't load the file size until displaying it which makes it *way* faster
2021-08-20 10:41:41 -05:00
Pk11
9ec144f4ea
Fix resource leaks in calculateSHA1()
2021-08-18 00:38:19 -05:00
Pk11
4fd905f894
Fix file name being able to wrap
2021-08-15 17:26:12 -05:00
Pk11
c0e347f2b4
Fix double : in dumping prompts
2021-08-15 15:40:13 -05:00
Pk11
283f85b985
Show nitro: above carts in drive list
2021-08-15 15:38:24 -05:00
Pk11
9df88c6b7f
Add taking screenshots to a few more places
2021-08-14 13:54:37 -05:00
Pk11
19be8dd77a
Use 16 column hex editor when font small enough
2021-08-12 18:05:15 -05:00
Pk11
363ee012e2
Add some simple wrapping on spaces
...
Wraps on the last space within 10 chars of the end of the line
2021-08-12 17:44:27 -05:00
Pk11
bba0daa23a
Add loading font from an FRF file
2021-08-12 16:56:52 -05:00
Pk11
ce49d1fdf9
Add padding space before file size
2021-08-08 08:27:11 -05:00
Pk11
6662d644d5
Fix right alignment on fonts divisible by 256
2021-08-08 08:26:33 -05:00
Pk11
974cfcca11
Merge remote-tracking branch 'upstream/master' into bitmap-mode-and-cleanup
2021-08-08 07:35:15 -05:00
Pk11
2ca30a9bd2
WIP: Use bitmap mode and clean up some things
2021-08-08 07:31:00 -05:00
RocketRobz
4dd589c391
Remove DSi mode check when trimming DSi ROM dumps
2021-07-31 20:54:24 -06:00
Pk11
d5b96dcb0b
Add trimming existing NDS ROMs ( #104 )
2021-07-31 20:45:19 -06:00
Pk11
65d65eae41
Add viewing NDS file info ( #102 )
...
* Add viewing NDS file info
* Fix breaking SysNAND reads
2021-07-17 21:16:55 -06: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
RocketRobz
0d35134952
Do not show Bootstrap file option for .firm files
2021-07-12 21:56:54 -06:00
triangle
aa37679ccd
Add save restoration support for sav1-sav9 ( #97 )
2021-06-24 22:09:01 -06:00
Pk11
895fd5e8fd
Add missing break; in switch case ( #95 )
2021-05-20 20:54:53 -06:00
RocketRobz
a2a0ab5e01
Merge pull request #84 from Epicpkmn11/hex-editor
...
Add hex editor
2021-05-20 15:26:00 -06:00
Pk11
1708f51963
Use safer EEPROM save size check ( #94 )
2021-05-20 15:22:38 -06:00
Pk11
0efb21747d
Merge remote-tracking branch 'upstream/master' into hex-editor
2021-04-23 01:38:28 -05:00
Pk11
219a0a4325
Fix tiny files and add searching
...
Also make the formatting of 'if's and 'for's consistent
2021-04-23 01:35:35 -05:00
Pk11
7463102ce0
Fix 128KiB EEPROM save dumping ( #88 )
2021-03-25 16:10:21 -06:00
urmum-69
4c726266f7
don't run b4ds anymore, as it is obsolete ( #87 )
...
* don't run b4ds anymore, as it is obsolete
* fix off by one error when printing SHA1 hash
2021-03-24 18:02:54 -06:00
urmum-69
9e00e5394e
Implement calculating SHA1 hash of files ( #86 )
...
* implement calculating SHA1 hash of a file
* fix bug where incorrect SHA1 hash would be calculated
2021-03-20 12:54:21 -06:00
Pk11
5e10ed2809
Use capital A-F for hex
...
I didn't realize you could do %X instead of %x for that
2021-03-13 21:44:10 -06:00
Pk11
e40ebe4b87
Remove debug message
2021-03-12 08:10:56 -06:00
Pk11
2d59362d9c
Read only for NAND/NitroFS/FAT IMG drives
2021-03-12 07:59:01 -06:00
Pk11
8d607e70a2
Improve colors, fix non-mod 8 sized files, probably more
2021-03-11 17:47:05 -06:00
Pk11
d8090ed60f
Add limit to jumping and swap left/right when editing byte value
2021-03-10 00:28:35 -06:00
Pk11
f4032dd4dc
WIP: Add hex editor
2021-03-09 00:23:19 -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
8a8385305e
Update GitHub link
2021-01-27 17:34:49 -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
5e871a007d
Don't select ".." ( #82 )
2021-01-27 15:56:40 -07:00
Pk11
a9e5767e08
Separate the selection and the clipboard like GM9 ( #81 )
...
* Separate the selection and the clipboard like GM9
* Add selecting while holding L
* Print the first 5 paths that will be deleted
By @unresolvedsymbol, but with limit added by me
2021-01-27 15:46: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
urmum-69
d68ac105e6
Show the free space on each drive in the root menu ( #76 )
...
* show the free space on each of the drives in the root menu
* round up to nearest 0.1GB, instead of nearest GB
* remove redundant checks for bytes
2020-12-14 12:51:38 -07:00
RocketRobz
f8cd65dd69
Derp fix
2020-11-25 20:39:42 -07:00
RocketRobz
9ee6cc3f77
Add SCREENSWAP compilation flag
2020-11-25 20:33:20 -07:00
RocketRobz
30bc6ec416
Run nds-bootstrap from SD card, if found there, and running in DSi mode
2020-10-26 23:23:47 -06:00
RocketRobz
68c06b8687
Use B4DS, if GM9i runs in DS mode
2020-10-26 21:46:48 -06:00
Void
44f3a0ccb9
Implement bootstrapping ( #73 )
2020-10-26 21:38:21 -06:00
Pk11
18e66033dc
Add removing items from clipboard & auto version number ( #70 )
...
* Add removing from clipboard
* Automatically get verison number
* Clear clipboard if remoing last item
2020-09-12 22:08:06 -06:00
RocketRobz
0eea74f5dc
Convert GM9i logo to 8BPP
2020-09-07 02:58:09 -06:00
RocketRobz
061f47b74d
Bump version number for release
2020-09-07 02:54:10 -06: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
2abfaaf22b
Update TWL flashcard mount code
2020-09-04 00:44:50 -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
Void
2ae90b4fff
Selection deletion support ( #67 )
2020-08-11 18:27:38 -06:00
Void
96b487781a
Fix crash when copying empty folders + misc formatting fixes ( #65 )
2020-08-09 22:45:52 -06:00
Void
7e7ae6159a
Multi file copy paste support ( #63 )
...
* multi file copy paste support
* fix indentation
* fix overflow
2020-07-30 16:15:55 -06:00
RocketRobz
7b2272059a
Bump version number
2020-07-14 21:17:43 -06:00
RocketRobz
9ac93598db
Do not show cart disable message in DSiWarehax
2020-07-14 19:07:15 -06:00
RocketRobz
38f80194d4
SD card is sucessfully read in DS mode!
2020-07-14 18:03:29 -06:00
RocketRobz
1223111a98
Remove DSi mode check when mounting SD
2020-07-14 17:52:22 -06:00
RocketRobz
dd94cd5e77
Ntr sd access ( #61 )
...
* Port SD code from nds-bootstrap
Currently freezes on `mounting drive(s)...`
* Disable NAND mounting for now
* Derp fix, and add verbose output
* NAND and SD access now work
2020-07-14 17:26:05 -06:00
RocketRobz
08409b892e
Bug fix
2020-06-13 20:56:39 -06:00
RocketRobz
807d9b1f40
Hold X to disable NAND access, if GM9i crashed
2020-06-13 20:53:39 -06:00
RocketRobz
3d95a6d560
Fix gm9i/out/ folder being shown after copying a folder there
2020-03-19 15:56:06 -06:00
Pk11
7b568f4ffd
Fix copying dirs to /gm9i/out ( #51 )
...
* Trim trailing whitespace
* Fix copying dirs to /gm9i/out
2020-03-19 15:24:38 -06:00
RocketRobz
ca150269f7
Add message under Y - Held
2020-03-19 14:43:20 -06:00
RocketRobz
65394c34f1
Get ConsoleID without reading from 0x4004D00
...
Closes #46
2020-03-19 14:28:10 -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
999241b0a0
Add Nitro/IMG unmounting
2020-02-21 02:22:59 -07:00
RocketRobz
2a43eb2370
Add FAT image (.img) mounting
2020-02-21 02:14:37 -07:00
RocketRobz
2011b83be9
DSi/3DS: Properly unmount SD card
2020-02-17 01:12:44 -07:00
RocketRobz
50b41435f4
DSi/3DS: Now runs without an SD card
2020-02-17 01:02:12 -07:00
RocketRobz
61b426347b
Bug fix
2020-02-17 00:41:44 -07:00
RocketRobz
dee4ba94b6
Don't show NDS GAMECARD in DSiWarehax or CycloDSi
2020-02-16 23:31:03 -07: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
280b1da282
Improve NAND init code
2020-02-16 15:06:17 -07:00
RocketRobz
1bf3ada47f
Bump version number
...
Also remove unused files
2020-02-11 19:18:57 -07:00
RocketRobz
bf53a3c037
Implement NAND browsing
...
Code from twlnf.
The NAND write code is stripped for safety reasons.
2020-02-11 18:42:04 -07:00
RocketRobz
2bd4e57081
Add direct access for AK2i with Deep Labyrinth banner
2020-02-10 01:25:35 -07:00
RocketRobz
c83bb72135
Add placeholder NAND read code
...
ALSO: Add NitroFS mounting for other DS ROM filetypes
2020-02-09 23:44:59 -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
065674a19f
Fix DS game dumping being shown on Slot-1 flashcards
2020-02-05 00:13:13 -07:00
RocketRobz
edee203fe6
Fix smiley faces appearing on DS/lite
2020-02-05 00:05:41 -07:00
RocketRobz
9f52bd387d
Bug fix
2020-02-04 22:10:48 -07:00
RocketRobz
fcf1dfa3c3
Display drive sizes
2020-02-04 21:40:19 -07:00
RocketRobz
aebb7f1e91
Only unmount SD card, if it was last opened
2020-02-04 20:31:00 -07:00
RocketRobz
0c238c7653
Remove unnecassary newline after Entering directory
2020-02-04 20:09:43 -07:00
RocketRobz
81e6b7afb0
Don't mount NitroFS, if not found in the ROM
2020-02-04 20:00:46 -07:00
RocketRobz
6226892784
Make dumping option do nothing, if neither SD/Flashcard is mounted
2020-02-04 19:50:31 -07:00
RocketRobz
14cd945b16
Re-init both console outputs after renaming or creating folder
2020-02-04 19:44:03 -07:00
RocketRobz
35987ae0e1
Re-init bottomConsoleBG after renaming or creating folder
2020-02-04 19:29:09 -07:00
RocketRobz
c645d70e95
Bug fix
2020-02-04 18:55:56 -07:00
RocketRobz
fe37c33b29
Bug fix
2020-02-04 18:54:27 -07:00
RocketRobz
cf7c367b36
Fix top screen being cleared when pasting a folder/file
2020-02-04 18:28:46 -07:00
RocketRobz
f8f288a9da
Add 2 RAM drives
...
One shown for both DSi and 3DS (9MB), the other only shown for 3DS (16MB)
2020-02-04 18:25:30 -07:00
RocketRobz
3cbb99e0bc
Add proper green border
2020-02-04 16:29:25 -07:00
RocketRobz
5cd3a707d3
Replace background white color
2020-02-04 15:24:25 -07:00
RocketRobz
7418c8f5ba
Make unhighlighted directory text a bright gray
2020-02-04 02:13:56 -07:00
RocketRobz
c55cd9684d
Revert "Make unhighlighted directory text flicker"
2020-02-04 02:13:28 -07:00
RocketRobz
d550d08e2b
Make unhighlighted directory text a bright gray
2020-02-04 02:06:50 -07:00
RocketRobz
336dbe0b20
Fix screenshot taking
2020-02-04 01:33:30 -07:00