Man, now I feel old. I'm only like 17.No, it's crap IMO (my voice is really annoying since I'm 10)
Man, now I feel old. I'm only like 17.No, it's crap IMO (my voice is really annoying since I'm 10)
Man, now I feel old. I'm only like 17.
Wow, I feel your pain (only I'm actually 10, you just sound like it)
Using either the git or the compiled .3dsx version in the OP results in a crash and system restart once the emulator is selected from the homebrew launcher.
Not sure if it affects anything or not, but I'm running it on a 2ds. Haven't had any issues with any other programs yet though.
Make sure you have ninjhax 1.1b, otherwise it will crash. Also, the latest ctrulib breaks linearMemAlign at the moment.
Would probably be better to base this off TempGBA or its forks/ports, as a lot of things are broken in the original gpSP that TempGBA fixes. But nice work regardlessGreets all,
So I've been working on a thing for a while. I had originally abandoned the project because I thought it was unable to be done without the use of dynamic recompilation, however as it turns out it was in fact possible. I present my 3DS GBA Emulator: CitrAGB, a 3DS GBA emulator based on gpsp.
As of now, compatibility is technically on-par with whatever gpsp's interpreter is able to handle, however, due to the nature of the port some games will not run or crash on particular parts. Flipping the screen to it's proper orientation did a bit of damage which might take a bit to get fixed up, and a lot of things still need implementation. But, on the plus side, many games that do run actually run fairly well, around 50% speed in optimal cases, or as low as 20% if the game uses extremely inefficient idle loops. In the future I also plan on hopefully porting gpsp's dynrec CPU to be able to work on the 3DS as well, once smea updated ninjhax to allow developers to set RAM pages executable. This will increase emulation speed dramatically.
Controls:
A, B, Start, Select, L, R, and the D/C-Pad all map out to their rightful GBA buttons. Y is bound to select, and X currently exits back to the homebrew menu
Sauce Code:
You can find the source code for CitrAGB on my GitHub here. Once again, this is very much a work in progress and extremely buggy, but the bugs will be fixed and the emulator refined with time. However, if you encounter bugs let me know the game name and when the bug occurs so I have games to test against while fixing bugs.
Installation Instructions:
First, grab the .3dsx here and rename it/place it in sd:/3ds/<name of .3dsx>. Next, download game_config.txt from here and a sample homebrew application here to make sure everything is set up right before you run regular GBA ROMs. The last thing you will need is gba_bios.bin. You can either dump this/find this online, or you can use Normatt's open source GBA bios here. A proper GBA bios dump is preferred, although Normatt's bios hasn't shown any issues as of yet. Once you have gba_bios.bin, place it either in the root of your SD card or in /gba.
After downloading everything, your SD card structure should look something like this:
game_config.txt
gba_bios.bin
demo.gba
/3ds/<3dsx name>/<3dsx name>.3dsx
Currently Known Bugs:
Special Thanks
- Any video issues which may arise
- Loading games from folders is iffy right now. Also, avoid using spaces in ROM names for now.
- Some games get stuck on loops and never get to render. Please report these games so I have games to test against.
Big thanks to Normatt, smea, yellows8 and plutoo for helping me get this working. Probably wouldn't have got anywhere in some places without your help.
I play The Minish Cap and it never crashes for me o.oSo any update on fps upgrade coming soon? Or are we waiting for another ninjhax update?
So far, the addition of sound is very nice, been testing some zelda and while it crashes every now and then, it certainly seems playable.
I play The Minish Cap and it never crashes for me o.o
That's a snes game
Oh im dumb. Okay, idk all games work fine for me.There's a GBA port of it that also includes the original Four Swords game.
I've been following the Ninjhax scene since shortly after Smea released his SSSpwn work, and your project has peaked my interest. I've been lurking, watching, and waiting for your project to grow. I have officially purchased an edition of Cubic Ninja, and your project will definitely be the first I attempt to use.
Thank you for how much effort you have put in to this project.
Just got my gateway too, can't wait to see what you make!Thanks, always glad to know my work is appreciated.
Also, just got my Gateway set up for stuff, so I'm going to see if I can't get it working as a .cia. Might be a while before I get something but I'm hoping I can get it working even better than what I have set up with ninjhax at the moment, so we'll see.
I've been following the Ninjhax scene since shortly after Smea released his SSSpwn work, and your project has peaked my interest. I've been lurking, watching, and waiting for your project to grow. I have officially purchased an edition of Cubic Ninja, and your project will definitely be the first I attempt to use.
Thank you for how much effort you have put in to this project.
Thanks, always glad to know my work is appreciated.
Also, just got my Gateway set up for stuff, so I'm going to see if I can't get it working as a .cia. Might be a while before I get something but I'm hoping I can get it working even better than what I have set up with ninjhax at the moment, so we'll see.
T
If you would be able to improve the GW version/setup, does that mean an improvement for Ninjhax as well or not (necessarily)?
I'm kind of afraid that GW will make Ninjhax Homebrew obsolete.