Commit Graph

25 Commits

Author SHA1 Message Date
ApacheThunder
f9251ba0ce Implement second SRAM bank for SuperCards.
* Implemented unused second SRAM bank for SuperCards for storing
GBA-Exploader metadata. Note that game patches are not yet updated for
this so games like Pokémon can't use it yet.
2025-05-25 13:39:52 -05:00
ApacheThunder
c779a90200 Remove dependency on custom libnds
* Found a way to override dldi ASM without having to compile with a
modified build of libnds.
2024-11-23 00:48:26 -06:00
ApacheThunder
540515c7fc Add game specific gbaframe support ...
* Can now use gbaframes specific to a gba rom being loaded to ram/flash.
Have a bmp file with filename matching the game rom being flashed in
GBA_SIGN path. If it finds a matching BMP it will use that before
falling back to the default gbaframe.bmp paths.
* nds-bootstrap now used for booting retail NDS roms from file browser.
Note that currently GBA-Exploader does not create new save files so only
games with existing save files (currently hardcoded to GBA_SAV path like
with GBA games) can be booted with this.
2024-11-17 15:44:06 -06:00
ApacheThunder
b0e0250f0d Add prompt for Omega DE...
* Now prompts if user is using DE or regaulr Omega if EZFlash Omega is
detected. Regular omega can be used if soft reset method is used (aka, a
cart like EZFlash Parellel is used to cause console to reboot on
reinsert). If DE mode is selected setRamPage is set to normal range and
will make it use FRAM chip. Regular Omega will use page 0x40 for RTS
section of SRAM. (normal range is read only for some reason. FPGA must
unlock it after sending specific table data to SD card buffer register
which I have not got working yet)
* NDS files can now be booted. Since bootloader from nds-hb-menu was
added to fix soft-reset stuff I might as well just add in support to
boot NDS files. :P
2024-08-12 00:24:08 -05:00
ApacheThunder
ead3daa6b7 Fix X button reset issue with 3in1 Plus ...
* 3 in 1 Plus remaining issue with x button option to boot to nor flash
game after having completed a norflash flash operation has now been
resolved. :D
* NorFlash menu appearing when hitting L after entering rumble selection
menu on Omega/Omega DE has been resolved. NorFlash menu now fully
disabled for Omega to avoid possible bricking of this cart.
* Screen init process for GBA Frame loader optimized.
2024-07-11 22:54:46 -05:00
ApacheThunder
7b62f440d2 Fully remove NorFlash menu for Omega
* NorFlash menu fully disabled for Omega. Pressing L no longer causes
NorFlash menu to come up while in rumble/expansion ram selection menu.
* Bug with ini file setup that causes default folders to always be
created despite ini file defining custom folder locations has been
resolved.
* Menu display for Omega now changed to Omega DE. DE is currently the
only cart that will have functional saves for games.
2024-07-07 15:41:46 -05:00
ApacheThunder
8aa7cfdefa Resolved SuperCard save issues ...
* Fixed remaining save issues for most SuperCards.
* Patching system from SCFW implemented for SuperCards. Prepatched roms
no longer required for use with GBA-Exploader for SuperCards!
* Initial EZ Flash Omega/Omega DE support! Note that there are still
save issues right now. DE has partial saves working with just 128KB
saves not working. (so Pokemon games do not hold saves currently)
2024-06-28 15:39:07 -05:00
ApacheThunder
99ed31e3e7 Initial EZFlash Omega Support.
* There are some bugs with saving still but games appear to be working
for PSRam mode on Omega. NorFlash mode is not planned due to difference
in how Omega uses NorFlash.
2024-06-23 02:24:21 -05:00
ApacheThunder
7ce405acac Partial fix for 3in1 Plus reset after NorFlash...
* Partial fix for 3 in 1 Plus. 4MB games mostly boot up fine after
intial reset after hitting X after writing them to NorFlash. Larger
games almost boot but hang after Ninteno logo. Further testing and fixes
still needed.
2024-06-01 01:17:31 -05:00
ApacheThunder
a2e7393e3e Improve file browser ...
* File browser no longer displays "." directory while in sub
directories. Like original builds of GBA Exploader only ".." is a
visible while in sub directories.

* TTMenu is now a folder checked when looking for gbaframe.bmp if one is
not found in the other possible locations. This allows using gbaframe
currently setup with YSMenu if user also has that setup.
2024-05-25 01:02:19 -05:00
ApacheThunder
bc45a204e8 Fix missing bin files ...
* Fix missing bin files needed for compiling. They are accidently
excluded by gitignore
2024-05-21 23:25:29 -05:00
ApacheThunder
7084d26052 FIx Slot-2 DS mode ...
* Fix mistake that caused DS mode Slot-2 booting to not work.
(accidently removed needed arm7 code in previous commit after optimizing
code relating to Rumble Menu softreset)
2024-05-19 23:50:00 -05:00
ApacheThunder
de53d7252d Update Readme.md 2024-05-19 18:26:38 -05:00
ApacheThunder
4ec14bae55 Fix Rumble Menu soft reset ...
* Soft Reset for Rumble Menu fixed. New scheme is now used for loading
SoftReset.xxxx. Now instead it will look for R4TF.nds (R4TF = 4
character ioType code for DLDI user is currently using with R4TF as an
example). If not found it will look for a few specific NDS files to try.
If those aren't found it will try boot.nds. If boot.nds isn't found then
rumble menu will not be available.
2024-05-19 18:24:16 -05:00
ApacheThunder
049f3700d6 Fix 3 in 1 Plus NorFlash
* NorFlash read/write now working for 3 in 1 Plus! Big thanks to
cory1492 for he had managed to make available the version of source code
of gbaldr that had the code needed to make this work. Also thanks to
stl25 for helping test 3in1 Plus support as I do not own a 3 in 1 Plus
myself.

* 64MB roms appear to write to NorFlash correctly with 3 in 1 Plus
however note that this does not mean retail roms that used that size
will work (not without patching anyways). 3 in 1 Plus had 64MB NorFlash
but doen't use normal page switch commands so retail roms will need
patching to use this.

* r4tf bool set to false for SuperCard and Rumble menu disabled for
SuperCard. Program would crash if user attempts to use R shoulder button
to access rumble menu if a SuperCard is inserted and a NDS file for soft
reset was available. This has been fixed by disabling this menu for
SuperCard. The rumble menu will not work as intended for SuperCards
anyways.
* Soft Reset for rumble menu is currently broken. (has been since
initial rebuild). The method the program uses for loading NDS files
likely needs to be rewritten.
* Hitting X after flashing a game to NorFlash on 3 in 1 Plus may cause
hang. The game flashed will still be bootable provided the user power
cycles the console and boots the card as normal. No plans to fix as I'm
unsure why it's happening and it's a minor issue. Hitting X after
switching to NorFlash without flashing anything seems to still work
though. Feel free to create a push request if you managed to fix this.
;)
2024-05-19 02:24:34 -05:00
ApacheThunder
1c87b5c272 Updated Icon
* New icon to seperate new builds of GBA Exploader from the originals.
2024-05-18 14:40:26 -05:00
ApacheThunder
65962d1a37 Add support for SuperCard/3in1 Plus
* Add new error message for detecting if run on DSi/3DS consoles as this
program isn't really compatible with those consoles for obvious reasons.
* Add initial support for SuperCard Lite (and possibly other SuperCard
varients). Note that saves are not currently functional though.
* Add back initial support for EZ Flash 3 in 1 Plus. Note that NorFlash
commands appear to not be working at the moment. RAM mode untested. New
code added for detecting 3 in 1 Plus when detecting max allowed file
size. This should allow writing 64MB gba roms to 3 in 1 Plus...once
NorFlash stuff is fixed that is. :P
* Tested as working properly with regular EZ Flash 3 in 1 carts.
* Note that version 0.58 already exists but we do not have source code
for it. (source was released only for 0.57. Rudolph could not find the
last version's source code unfortunately. This is why 3 in 1 Plus
support is incomplete. (it at least detects it now which original 0.57
could not do and will in theory allow writing 64MB GBA roms once
NorFlash stuff is fixed for that cart)
2024-05-18 14:07:26 -05:00
ApacheThunder
6c10c47a61 Fixed GBA mode switch.
* libnds's swiSwitchToGBAMode ASM function was broken. They used r0
instead of r2 so it didn't work. It must have been correct when GBA
Exploader was last compiled more then a decade ago, but now it's broken
so this ASM function had to be reimplemented. GBA Mode switch now
appears to function as intended.
* As I currently lack a compatible slot-2 flashcart (SuperCard Lite
doesn't work even after trying a few hardcoded card types in main.c)
further testing can't be done on the rest of the code. It appears to
work but I won't know for sure until someone with compatible hardware
tests it.
2024-05-08 20:15:20 -05:00
ApacheThunder
11ea610150 Fix fifo ...
* FIFO on arm7 appears to now work as intended.
* GBA mode switch funcition remains broken.
* Default GBA_Exploader.ini file now created if one is not present.
* Moved GBA_File struct to ctrl_tble and removed duplicate from main.c.
This was causing issues where I would forget to update both when I
removed the now unused Alias char array. All code now shares the single
instance which will prevent this issue should this struct need to be
updated in the future.
2024-05-08 15:24:51 -05:00
ApacheThunder
fd132bb8ab File browser fixes ....
* File browser is now functional.
* Soft reset stuff still broken.
2024-05-08 07:56:20 -05:00
ApacheThunder
d8f3fd9832 Initial port to current libnds
* UI appears to function correclty. As I do not have a compatilbe slot-2
device I can't test further.
* Soft reset into GBA mode not yet fixed so likely not working yet.
* File browser untested. Ported fixes from NDS_Backup_Tool but untested
due to lacking compatible slot-2 hardware.
2024-05-08 00:52:35 -05:00
ApacheThunder
bbe4ce75c0 Starting Commit .... 2024-05-08 00:50:01 -05:00
ArcheyChen
dc0c39203b
Update README.md 2024-04-01 11:41:56 +08:00
ArcheyChen
35c0a9cc66
Add source code 2024-04-01 11:39:31 +08:00
ArcheyChen
879f25b553
Initial commit 2024-04-01 11:38:53 +08:00