Homebrew RELEASE Development Thread - RetroArch libnx

  • Thread starter m4xw
  • Start date
  • Views 618,186
  • Replies 4,272
  • Likes 69
Status
Not open for further replies.

metalslug53

Member
Newcomer
Joined
Jul 2, 2018
Messages
15
Trophies
0
Age
34
XP
125
Country
United States
I feel like I am doing something wrong then...I download the latest nightly build and copy it to my SD card and boot it up and it brings me to the main menu asking to load cores, load content, scan for content etc but it does not seem to detect any cores despite things being in the default location where I moved them, if I try to search for "content" and browse the cores or ROMs folder I have it just shows nothing. I think in struggling to even get an emulator to load and don't know what exactly I should be doing here. I'm used to having standalone emulators that you launch and just work, never used or have experience with retroarch which seems like it's a loader for a multitude of emulators.

The Retroarch experience is amazingly convenient once you learn how to program everything and get it all set up. For starters, make sure you stuck all of the core .nro files into the retroarch/cores/switch directory, as that's the default place that Retroarch will look for them. As for the roms, I sort mine into its own folder located in the root of the SD card, in a folder called Roms. I also sort all of my roms by type in their own folders within the Roms directory. For example, my GBA roms are in a folder called GBA. Genesis are in a folder called Genesis. Etc etc.

Once you have this done, launch RetroNX and head into the settings. Scroll down to the bottom and select the option called "Directory". In this menu, scroll down to where it says "Core" and select that option. Then, browse to the cores folder located at retroarch/cores/switch and set this directory as the default directory.

At this point, you should be able to go back to the main menu and select a core. Select "Load Core" and it should automatically show every core you have loaded into the cores folder. Select the core you wish to load and it will load the core and be ready to play. Each core is a specific emulator, so for example, if you load vba-next.nro, you will select the core that plays GBA roms. After the core is loaded, you should then be able to browse to your directory that contains your .gba files and load whichever rom you wish. If you want to load roms for a different emulator, you have to first switch to the corresponding core to do so.

I hope this little explanation helps!
 

achandab

Well-Known Member
Newcomer
Joined
Dec 5, 2017
Messages
84
Trophies
0
Age
37
XP
270
Country
Australia
Reading through this thread it seems Lakka atm is better for emulation with most cores then native RA? Would this be correct? Can someone list or direct me to where i can get more info on the pros/cons of using either version?
 

gamemasteru03

Nintendo nerd
Member
Joined
Sep 18, 2016
Messages
1,219
Trophies
0
XP
2,337
Country
United States
Reading through this thread it seems Lakka atm is better for emulation with most cores then native RA? Would this be correct? Can someone list or direct me to where i can get more info on the pros/cons of using either version?
Retronx is better for everything except psp, psone, and n64. Laka can not use docked and can only use bluetooth audio while retronx can be used docked and does have full audio support.
 
  • Like
Reactions: Ty_ and achandab

achandab

Well-Known Member
Newcomer
Joined
Dec 5, 2017
Messages
84
Trophies
0
Age
37
XP
270
Country
Australia
Retronx is better for everything except psp, psone, and n64. Laka can not use docked and can only use bluetooth audio while retronx can be used docked and does have full audio support.

Cheers mate, thats the answer i was looking for. Don't care about psp, psone however n64 will be missed for now. Would Retronx cores have better performance then individual emulators on the switch such as snes9x
 

gamemasteru03

Nintendo nerd
Member
Joined
Sep 18, 2016
Messages
1,219
Trophies
0
XP
2,337
Country
United States
Cheers mate, thats the answer i was looking for. Don't care about psp, psone however n64 will be missed for now. Would Retronx cores have better performance then individual emulators on the switch such as snes9x
They both run fullspeed from what I can tell but you could try out other enulators. Make sure to get the build on page 118 since that is the latest (the op is usually not up to date).
 
  • Like
Reactions: achandab

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,159
Trophies
2
XP
20,230
Country
United Kingdom
I was thinking of waiting until the 1.0 release was done before asking this, but seeing as BORTZ also mentioned it in another thread... Please could one of you guys port an Amstrad CPC core when you have the chance? Retroarch has two, I think Caprice32 would be preferable for most stuff.
 

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,013
Trophies
0
Age
53
XP
2,122
Country
United Kingdom
i’m getting a lot of hangs with mame2003 / mame2003plus core.
asteroid, mpatrol, galaga, scramble, bzone being examples
Tried compiling my own nro after pulling the latest switch-dev assets and retroarch repo and same result.
Also, I can’t seem to get rotation to work, for example invaders.
Games that do work, work great and other cores work well generally but I’m getting some major issues with these two cores.
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,437
Trophies
1
Age
118
XP
6,839
Country
Germany
They both run fullspeed from what I can tell but you could try out other enulators. Make sure to get the build on page 118 since that is the latest (the op is usually not up to date).
The OP is always up2date for master links (unless they miss completely).
Salamander CI/CD is still a feature in Progress.

I should update it
 
  • Like
Reactions: gamemasteru03

Danius

New Member
Newbie
Joined
Aug 25, 2016
Messages
2
Trophies
0
Age
28
XP
100
Country
Is there a way to play two player games with detached joycons? Sorry if it was answered before, but I tried searching with no results, and flipping through all 130 pages would be a pain. I would appreciate any help, thanks.
 

Hydr8gon

Dragon Trainer
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,566
Country
Canada
You should probably swap out the functions just for fun and see what happens.
Bit of a late update on this, but I tried pthreads and it actually ran slower for some reason. Also, I discovered that SNES9x 2010 and VBA-Next crash in docked mode as well when using the v0.9.5 RetroArch frontend. The latest frontend seems to be fine from my few minutes of testing. So getting threaded ParaLLEl working with an updated RetroArch might fix the crashing. Really strange that a new UI could break the core though. Honestly, I might have just been really unlucky when testing with the new UI and the core was refusing to load for some other wacky reason. If you wanna try compiling with the newest RetroArch yourself, my ParaLLEl code is available on my GitHub, as always. I've already got all my N64 stuff off my SD card until we get reasonable speeds, so I'm not looking to mess around with it anymore for the time being.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,543
Trophies
2
XP
6,978
Country
United Kingdom
Bit of a late update on this, but I tried pthreads and it actually ran slower for some reason. Also, I discovered that SNES9x 2010 and VBA-Next crash in docked mode as well when using the v0.9.5 RetroArch frontend. The latest frontend seems to be fine from my few minutes of testing. So getting threaded ParaLLEl working with an updated RetroArch might fix the crashing. Really strange that a new UI could break the core though. Honestly, I might have just been really unlucky when testing with the new UI and the core was refusing to load for some other wacky reason. If you wanna try compiling with the newest RetroArch yourself, my ParaLLEl code is available on my GitHub, as always. I've already got all my N64 stuff off my SD card until we get reasonable speeds, so I'm not looking to mess around with it anymore for the time being.
If your done with N64 for now, could you take a stab at some of the other cores? (list incoming) :P

All these are the Cores that don't need for Dynarec's, so should run as is on Switch :) (I marked off all the Cores that are already supported in RetroNX) ;)

Amstrad Cores
Amstrad - CPC (Caprice32)
Atari Cores
Atari - 2600 (Stella)
Atari - 5200 (Atari800)
Atari - Lynx (Beetle Handy)
Atari - ST/STE/TT/Falcon (Hatari)
Commodore Cores
Commodore Amiga (P-UAE)
Commodore C64 (VICE C64)
Commodore PLUS4 (VICE PLUS4)
Commodore VIC20 (VICE VIC20)
Game Cores
Cave Story (NXEngine)
Doom (PrBoom)
Handheld Electronic (GW)
Mr.Boom (Bomberman)
Quake 1 (TyrQuake)
Multi System Cores
Arcade (MAME 2000)
Arcade (MAME 2003)
Arcade (MAME 2009)
Arcade (MAME 2010)
Arcade (FBA2012)
Arcade (FBA)
Misc Cores
DOS (DOSBox)
Mattel - Intellivision (FreeIntv)
Microsoft - MSX (fMSX)
MSX/SVI/ColecoVision/SG-1000 (blueMSX)
SNK - Neo Geo Pocket / Color (Beetle NeoPop)

Magnavox - Odyssey2 / Phillips Videopac+ (O2EM)
ScummVM
GCE - Vectrex (vecx)
Bandai - WonderSwan/Color (Beetle Cygne)

ZX Spectrum (Fuse)
Sinclair - ZX 81 (EightyOne)
Nintendo Cores
Nintendo - Game Boy / Color (Gambatte)
Nintendo - Game Boy / Color (GearBoy)
Nintendo - Game Boy / Color (SameBoy)
Nintendo - Game Boy / Color (TGB Dual)
Nintendo - Game Boy Advance (mGBA)
Nintendo - Game Boy Advance (VBA Next)
Nintendo - NES / Famicom (FCEUmm)

Nintendo - NES / Famicom (Nestopia UE)
Nintendo - NES / Famicom (QuickNES)
Nintendo - SNES / Famicom (Snes9x 2002)
Nintendo - SNES / Famicom (Snes9x 2005 Plus)
Nintendo - SNES / Famicom (Snes9x 2005)
Nintendo - SNES / Famicom (Snes9x 2010)
Nintendo - SNES / Famicom (Snes9x)
Nintendo - Virtual Boy (Beetle VB)
NEC Cores
NEC - PC-98 (Neko Project II Kai)
NEC - PC-98 (Neko Project II)
NEC - PC Engine / CD (Beetle PCE FAST)
NEC - PC-FX (Beetle PC-FX)

Sega Cores
Sega - MS/GG/MD/CD (Genesis Plus GX)
 

SeongGino

The Average One
Member
Joined
May 20, 2015
Messages
939
Trophies
0
Age
24
Location
Jersey, Jersey
Website
www.twitter.com
XP
1,919
Country
United States
@ploggy We already have FBA. Also, a good chunk of these cores are rather redundant all things considered.

A much more apt list would be something along these lines;
Amstrad Cores
Amstrad - CPC (Caprice32)
Atari Cores
Atari - 2600 (Stella)
Atari - 5200 (Atari800)
Atari - Lynx (Beetle Handy)
Atari - ST/STE/TT/Falcon (Hatari)
Commodore Cores
Commodore Amiga (P-UAE)
Commodore C64 (VICE C64)
Commodore PLUS4 (VICE PLUS4)
Commodore VIC20 (VICE VIC20)
Game Cores
Cave Story (NXEngine)
Doom (PrBoom)
(This was uploaded before -- twice -- but lost long before Salamander implementation)
Handheld Electronic (GW)
Mr.Boom (Bomberman)
Quake 1 (TyrQuake)
Multi System Cores
Arcade (MAME 2000) Not necessary w/ MAME'03 available.
Arcade (MAME 2003) + MAME'03 Plus
Arcade (MAME 2009)
Not necessary if MAME'10 is ported.
Arcade (MAME 2010)
Arcade (FBA2012) Not necessary w/ FBA mainline available.
Arcade (FBA) Not necessary -- already ported/implemented in CI/CD
Misc Cores
DOS (DOSBox)
Mattel - Intellivision (FreeIntv)
Microsoft - MSX (fMSX) -- This would be most fitting considering Switch filesystem limitations and BIOS files.
MSX/SVI/ColecoVision/SG-1000 (blueMSX)
SNK - Neo Geo Pocket / Color (Beetle NeoPop)

Magnavox - Odyssey2 / Phillips Videopac+ (O2EM)
ScummVM We already have a SCUMM port.
GCE - Vectrex (vecx)
Bandai - WonderSwan/Color (Beetle Cygne)

ZX Spectrum (Fuse) (Was this ported before? I don't recall...)
Sinclair - ZX 81 (EightyOne)
Nintendo Cores
Nintendo - Game Boy / Color (Gambatte)
Nintendo - Game Boy / Color (GearBoy)
<--
Nintendo - Game Boy / Color (SameBoy) <- All of these are redundant and unnecessary.
Nintendo - Game Boy / Color (TGB Dual) <--
Nintendo - Game Boy Advance (mGBA)
Nintendo - Game Boy Advance (VBA Next)
Nintendo - NES / Famicom (FCEUmm)

Nintendo - NES / Famicom (Nestopia UE)
Nintendo - NES / Famicom (QuickNES) Redundant, less compatible than either FCEU or Nestopia.
Nintendo - SNES / Famicom (Snes9x 2002)
Nintendo - SNES / Famicom (Snes9x 2005 Plus)
Nintendo - SNES / Famicom (Snes9x 2005)
Unnecessary when SNES9x'10 works perfectly as-is.
Nintendo - SNES / Famicom (Snes9x 2010)
Nintendo - SNES / Famicom (Snes9x)
Ported already -- doesn't work atm.
Nintendo - Virtual Boy (Beetle VB)
NEC Cores
NEC - PC-98 (Neko Project II Kai)
NEC - PC-98 (Neko Project II) Focus on Kai most of all.
NEC - PC Engine / CD (Beetle PCE FAST)
NEC - PC-FX (Beetle PC-FX)

Sega Cores
Sega - MS/GG/MD/CD (Genesis Plus GX) Ported already.

I'm adding in Picodrive for 32X as well.

So, here's what we need for completionist's sake, with the entries in bold suggested for priority with how much (perceptively) simpler they are:

Amstrad - CPC (Caprice32)
Atari - 5200 (Atari800)
Atari - ST/STE/TT/Falcon (Hatari)
Commodore Amiga (P-UAE)
Commodore C64 (VICE C64)

Commodore PLUS4 (VICE PLUS4)
Commodore VIC20 (VICE VIC20)
Doom (PrBoom) (Update for Salamander pls)
Handheld Electronic (GW)
Mr.Boom (Bomberman)
Quake 1 (TyrQuake)
Arcade (MAME 2010)
DOS (DOSBox)
Mattel - Intellivision (FreeIntv)
Microsoft - MSX (fMSX)
Magnavox - Odyssey2 / Phillips Videopac+ (O2EM)
ZX Spectrum (Fuse) (Was this ported before? I don't recall...)
Sinclair - ZX 81 (EightyOne)
NEC - PC-98 (Neko Project II Kai)
Sega - MD/CD/32X (PicoDrive)
 
Last edited by SeongGino,

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,543
Trophies
2
XP
6,978
Country
United Kingdom
@ploggy We already have FBA. Also, a good chunk of these cores are rather redundant all things considered.

A much more apt list would be something along these lines;
FBA's already ported? didnt know that its not in the Salamander nightly?
Older Snes9x cores load some romhacks that the newer versions dont. So they have a place imo.
Yea, fair enough Quicknes isnt needed.
TGB Dual allows multiplayer gb games to be emulated, Def has a place on the list.
Left Snes9x main since it doesnt work atm :P
Forgot to strike Gensplus ;)
Agreed Picodrive is a must (even just for the 32x) :)
 

Hydr8gon

Dragon Trainer
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,566
Country
Canada
If your done with N64 for now, could you take a stab at some of the other cores? (list incoming) :P

All these are the Cores that don't need for Dynarec's, so should run as is on Switch :) (I marked off all the Cores that are already supported in RetroNX) ;)
I might take a look at some of them if I have some extra time.

In the meantime, now that I've moved to the new UI, I had to OCD it because the off-center window was driving me crazy! I'll upload my "fixed" image here in case anyone else wants it. I centered the window, made the line spacing consistent with the text, and made the fading on the core name bar even on both sides. Nothing major. Here's a before (left) and after (right):
2018070413324100-DB1426D1DFD034027CECDE9C2DD914B8.jpg 2018070414394700-DB1426D1DFD034027CECDE9C2DD914B8.jpg

And here's the background:
menu_bg_blank.png
Save it as menu_bg_blank.png in the retroarch folder on your SD card. Again, barely any difference, but it bugged me :P @m4xw not sure if you'd be interested in updating the official image to this, but you can if you want. I also have a transparent .png of the window without a background if you need it.
 
  • Like
Reactions: lordelan and ploggy

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,543
Trophies
2
XP
6,978
Country
United Kingdom
I might take a look at some of them if I have some extra time.

In the meantime, now that I've moved to the new UI, I had to OCD it because the off-center window was driving me crazy! I'll upload my "fixed" image here in case anyone else wants it. I centered the window, made the line spacing consistent with the text, and made the fading on the core name bar even on both sides. Nothing major. Here's a before (left) and after (right):
View attachment 134522 View attachment 134523

And here's the background:
View attachment 134516
Save it as menu_bg_blank.png in the retroarch folder on your SD card. Again, barely any difference, but it bugged me :P @m4xw not sure if you'd be interested in updating the official image to this, but you can if you want. I also have a transparent .png of the window without a background if you need it.
Much appreciated. Thanks :)
lol I didn't even notice the Gui was not centered :P but now that I see it I have to change it :)
 
  • Like
Reactions: lordelan

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,437
Trophies
1
Age
118
XP
6,839
Country
Germany
I might take a look at some of them if I have some extra time.

In the meantime, now that I've moved to the new UI, I had to OCD it because the off-center window was driving me crazy! I'll upload my "fixed" image here in case anyone else wants it. I centered the window, made the line spacing consistent with the text, and made the fading on the core name bar even on both sides. Nothing major. Here's a before (left) and after (right):
View attachment 134522 View attachment 134523

And here's the background:
View attachment 134516
Save it as menu_bg_blank.png in the retroarch folder on your SD card. Again, barely any difference, but it bugged me :P @m4xw not sure if you'd be interested in updating the official image to this, but you can if you want. I also have a transparent .png of the window without a background if you need it.

That was on purpose lol
 
Status
Not open for further replies.
General chit-chat
Help Users
    AncientBoi @ AncientBoi: :rofl2: