More actions
m (Text replacement - "| licence" to "| license") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox 3DS Homebrews | {{Infobox 3DS Homebrews | ||
| title = CitrAGB | |title=CitrAGB | ||
| image = CitrAGB-01.jpg | |image=CitrAGB-01.jpg | ||
| | |description=A 3DS homebrew example written in D! | ||
| | |author=Shiny Quagsire | ||
| lastupdated = 2015/09/21 | |lastupdated=2015/09/21 | ||
| | |type=Handheld | ||
| | |version=0.9.0 | ||
| | |license=Mixed | ||
| download = https://dlhb.gamebrew.org/3dshomebrew/CitrAGB.rar | |download=https://dlhb.gamebrew.org/3dshomebrew/CitrAGB.rar | ||
| source = | |website=https://github.com/shinyquagsire23/gpsp | ||
|source=https://github.com/shinyquagsire23/gpsp | |||
}} | }} | ||
<youtube>GNxMfrx7kIM</youtube> | <youtube>GNxMfrx7kIM</youtube> |
Revision as of 12:20, 29 October 2021
CitrAGB | |
---|---|
File:CitrAGB-01.jpg | |
General | |
Author | Shiny Quagsire |
Type | Handheld |
Version | 0.9.0 |
License | Mixed |
Last Updated | 2015/09/21 |
Links | |
Download | |
Website | |
Source | |
Greets 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
Screenshots
Souce 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:
For Ninjhax:
First, grab the .3dsx here and rename it/place it in sd:/3ds/<name of .3dsx>. You can also grab the smdh here and give it the same name and place it in the same directory as the 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, Normatt's bios has shown issues with some games. Once you have gba_bios.bin, place it either in the root of your SD card or in /gba.
For CFW:
Grab the .cia from here and place it anywhere on your SD card. Use a .cia manager such as FBI, BRM, or DevMen to install it. 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 (3dsx only) /3ds/<3dsx name>/<3dsx name>.smdh (3dsx only)
Currently Known Bugs:
Any video issues which may arise
Special Thanks
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. Special thanks to @aliaspider for pointing out a fix for .cia.