GBA wireless adapter emulated on 3DS

davidgf

Well-Known Member
OP
Newcomer
Joined
Mar 25, 2011
Messages
52
Trophies
1
XP
641
Country
Ok the title is a partial clickbait, sorry for that! This might belong to the GBA forum perhaps, but 3DS owners might also welcome it.
I spent the past month working on reversing the GBA wireless adapter along with some folks who already did in the past or are doing right now. I implemented this on my gpsp's fork (which is the one Retroarch uses) and now games that support it, can use it. But before I bore you guys with details, the video:



Retroarch 1.17 (unreleased) will ship some netplay features that enable emulators to use some sort of network layer. This allows players to run their own ROM and savegame and interact with players that use the same console (and similar or identical ROM).

The video shows a Linux laptop (running on x86-64), Android phone (a xiaomi running Retroarch aarch64) and the 3DS which runs armv7 binaries.
There are some issues here and there, and the network latency really hurts games like Pokemon (whcih seem to do some active waiting in some places!), but on LAN/Wifi works really well so far. The new 3DS is not that powerful (to put it in perspective): gpsp can "only" run at 2-3x speed.

I would have made a video with two 3DS but I only have one! I wanted to use my Wii but I'm too lazy to set it up and it's getting late already. I only tested pokemon but I think some other games like Megaman do work. Stay tuned for more updates!
 

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,423
Trophies
2
Location
In my house
XP
5,078
Country
Mexico
Exciting news! congrats!

This could also be implemented in open_agb_firm, which would be a better option since it runs in native GBA mode on the 3DS. According to oaf main dev:
profi200: With some trickery i think this is doable on 3DS hardware. ARM11 will have to handle WiFi/local wireless and ARM7/11 will have to communicate via one of the unintended "side channels".
 

davidgf

Well-Known Member
OP
Newcomer
Joined
Mar 25, 2011
Messages
52
Trophies
1
XP
641
Country
Thanks for the feedback. I was not aware of that project, but it would be super amazing to implement some sort of wireless compatibility layer. I also learned (thanks to your comment) that some similar projects exist for DS/DSi (like GBARunner2 ?). Perhaps we could have some sort of compatibility layer there too, would be amazing to use the DS wifi to play GBA games that support it!
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,566
Country
Chile
DS hardware can definitely do it, the tricky part is getting the IPC / FIFO hardware running at full speed, due to audio playback, along wireless. ToolchainGenericDS does implement a very stable IPC / FIFO hardware API (tested with ARM7DLDI + WIFI, or ARM7DLDI + Audioplayback between ARM7 <-> ARM9), but as soon as you initialize wireless while using ARM7DLDI + Audioplayback (be it entirely on ARM7 or ARM7 / ARM9 shared), interrupts get in the way and generate IPC / FIFO hardware overflows.
 
  • Like
Reactions: anotherthing

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • inkedvinny @ inkedvinny:
    that is the thing @SylverReZ i am trying for 2 days now and i aways hit a wall, watched every video, followed every writen guide, this is making me feel like i have 10iq for not being able to do it
  • BigOnYa @ BigOnYa:
    What's your problem
  • SylverReZ @ SylverReZ:
    @inkedvinny, Don't watch YouTube tutorials for modding your Switch. You are bound to making mistakes, or worse yet, could potentially brick your system if an outdated method was used.
    +2
  • K3Nv2 @ K3Nv2:
    It really depends wiiu modding is kind of at a halt so it could be useful
  • inkedvinny @ inkedvinny:
    @BigOnYa i will take a look at that thread, i was writting a big one here but i dont wanna be a nuisance
    +2
  • BigOnYa @ BigOnYa:
    Yea ask there, they are wiser on it than us here
    +2
  • SpookyBaker @ SpookyBaker:
    Perfect cool S I just drew in MS Paint

    1730846858962-png.16414
    +1
  • inkedvinny @ inkedvinny:
    that is tuf
  • BlazeHeatnix @ BlazeHeatnix:
    stupid question, how tf do you build github programs after cloning the repos?
  • BigOnYa @ BigOnYa:
    Please deposit $0.50 for the correct answer.
  • K3Nv2 @ K3Nv2:
    Votes are starting to get counted hail your new female wife
    +1
  • SylverReZ @ SylverReZ:
    @BlazeHeatnix, Read the build instructions. :P
    +1
  • BigOnYa @ BigOnYa:
    Thank you for your purchase. All operators are busy at this time, please remain on the line.
    +2
  • BlazeHeatnix @ BlazeHeatnix:
    @SylverReZ What if the build instructions are just "clone and build it"?
  • K3Nv2 @ K3Nv2:
    To get past that you have to go out and vote
  • SylverReZ @ SylverReZ:
    @BlazeHeatnix, Clone the repo to a new folder using 'git'. If you're using a Linux distribution, type the following into the Terminal: git clone --recursive <git url goes here>
  • SylverReZ @ SylverReZ:
    Scroll down to the bottom of the repo until you find what requirements you need and how to build it. If there aren't any instructions, then go to the Wiki section.
  • SylverReZ @ SylverReZ:
    You'll figure out the rest on your own.
  • BigOnYa @ BigOnYa:
    Votes are in, Kanye West won! Gay Fish yall.
    +2
  • SylverReZ @ SylverReZ:
    @BigOnYa, Make America high again.
    +1
  • BigOnYa @ BigOnYa:
    Snoop Dog for President 2028
    +3
  • Cranesbill @ Cranesbill:
    Now we really be smoking weed everyday
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    Diddy Cosby for president lol
    +1
    Psionic Roshambo @ Psionic Roshambo: Diddy Cosby for president lol +1