Homebrew RetroArch Switch

DaniPoo

Well-Known Member
Member
Joined
Jan 2, 2013
Messages
925
Trophies
1
Age
35
XP
2,284
Country
Im not able to close RetroArch via "quit retroarch", it just jumps back to the RetroArch menu for some reason.
Only way for me to close RetroArch is to use the home button.

What I usually do is "Close content" -> "Quit RetroArch" -> *Home button* (Close retroarch)

I have a Nightly from yesterday I belive, and the official NSP installed.
 
  • Like
Reactions: Bst22322

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Im not able to close RetroArch via "quit retroarch", it just jumps back to the RetroArch menu for some reason.
Only way for me to close RetroArch is to use the home button.

What I usually do is "Close content" -> "Quit RetroArch" -> *Home button* (Close retroarch)

I have a Nightly from yesterday I belive, and the official NSP installed.
Thats normal for the NSP for the time being.
We actually opened a pull request on libnx for exit hooks, mean we can properly sanitize stuff
https://github.com/switchbrew/libnx/pull/183
 

bluedart

Well-Known Member
Member
Joined
Nov 13, 2016
Messages
270
Trophies
0
XP
2,221
Country
United States
No, thats just you.
Get a priest already for your haunted switch.
How about you post some informations about your setup and actually be helpful?
Cool. So what information do you want? I take it none of the plethoric information I already provided.

Setup info:
As stated previously, I'm on a fresh format of fat32 with a real 128GB SD card I tested with h2testw myself. I have no problems getting games to run or other homebrew, and even using LayeredFS for things that didn't work back when it was exFAT. I am running RetroArch from the homebrew menu with the .nro included in the archive I downloaded. I extracted the retroarch folder to the root of the SD card as instructed by the first post and I have triple-checked that I have installed it correctly.

Here's some more: Just updated to the latest nightly build of RetroArch, deleting the config and all other folders that were present on the SD card that are also in the archive before copying them over just in case. Even with this, I still get the error of "Failed to load content" occasionally after manually choosing a file from "Load Content" and then an applicable core. I was hoping updating would quell that glitch. Nope.

I have yet to see a save state crash on saving or loading, so that may actually be fixed, I'm not sure. I saved and loaded states dozens of times, which should have been enough to proc the glitch. Either updating or not using thumbnails for save states may prevent this glitch from occurring. Also, when a game is on a proper playlist I haven't yet had it mislaunch on me.

Okay, this is a big one, I found out why playlists are borked only in the switch version. Turns out instead of the industry standard backslash for directory listings (\), which is used by RetroArch on PC, the switch port only uses forward slashes (/). So when making playlists manually or porting them over to switch, make sure to not only change to a relative path, but to change slash marks.

Code:
PC:
F:\Games\Emus\RetroArch\roms\gensis\Aladdin (Europe).md
DETECT
DETECT
DETECT
Sega - Mega Drive - Genesis.lpl

Switch:
/retroarch/roms/genesis/Aladdin (Europe).md
DETECT
DETECT
DETECT
Sega - Mega Drive - Genesis.lpl
I'm so glad I figured that out, it was driving me mad for some time. To be honest, I think I may have gotten this to work to my liking now, and it doesn't seem unstable either.

So to recap: I think I've found a few glitches to specific usage on the switch version:
1
: If you enable thumbnails for save states it's possibly crashy.
2: Something is wrong with the code to "Load Content" manually.

Since I was only really testing it with "Load Content" manually and I had that option enabled, it was screwing up for me. The former may have been fixed in the latest nightly, but I don't want to "poke the bear", so to speak, so I won't be testing that further.
 

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Cool. So what information do you want? I take it none of the plethoric information I already provided.

Setup info:
As stated previously, I'm on a fresh format of fat32 with a real 128GB SD card I tested with h2testw myself. I have no problems getting games to run or other homebrew, and even using LayeredFS for things that didn't work back when it was exFAT. I am running RetroArch from the homebrew menu with the .nro included in the archive I downloaded. I extracted the retroarch folder to the root of the SD card as instructed by the first post and I have triple-checked that I have installed it correctly.

Here's some more: Just updated to the latest nightly build of RetroArch, deleting the config and all other folders that were present on the SD card that are also in the archive before copying them over just in case. Even with this, I still get the error of "Failed to load content" occasionally after manually choosing a file from "Load Content" and then an applicable core. I was hoping updating would quell that glitch. Nope.

I have yet to see a save state crash on saving or loading, so that may actually be fixed, I'm not sure. I saved and loaded states dozens of times, which should have been enough to proc the glitch. Either updating or not using thumbnails for save states may prevent this glitch from occurring. Also, when a game is on a proper playlist I haven't yet had it mislaunch on me.

Okay, this is a big one, I found out why playlists are borked only in the switch version. Turns out instead of the industry standard backslash for directory listings (\), which is used by RetroArch on PC, the switch port only uses forward slashes (/). So when making playlists manually or porting them over to switch, make sure to not only change to a relative path, but to change slash marks.

Code:
PC:
F:\Games\Emus\RetroArch\roms\gensis\Aladdin (Europe).md
DETECT
DETECT
DETECT
Sega - Mega Drive - Genesis.lpl

Switch:
/retroarch/roms/genesis/Aladdin (Europe).md
DETECT
DETECT
DETECT
Sega - Mega Drive - Genesis.lpl
I'm so glad I figured that out, it was driving me mad for some time. To be honest, I think I may have gotten this to work to my liking now, and it doesn't seem unstable either.

So to recap: I think I've found a few glitches to specific usage on the switch version:
1
: If you enable thumbnails for save states it's possibly crashy.
2: Something is wrong with the code to "Load Content" manually.

Since I was only really testing it with "Load Content" manually and I had that option enabled, it was screwing up for me. The former may have been fixed in the latest nightly, but I don't want to "poke the bear", so to speak, so I won't be testing that further.

You managed to post this, without *any* useful informations.
Horizon version? What custom firmware are you using?
Also whats your cluster size? What cores are u using?
Idk how u managed to write so much text without any of these informations.
"Load Content" has Issues on experimental cores (big surprise I know), including mame and mupen.

--------------------- MERGED ---------------------------

Okay, this is a big one, I found out why playlists are borked only in the switch version. Turns out instead of the industry standard backslash for directory listings (\), which is used by RetroArch on PC, the switch port only uses forward slashes (/). So when making playlists manually or porting them over to switch, make sure to not only change to a relative path, but to change slash marks.
Is that really a surprise?
This is not windows.
Industry standard my ass, actually it's only windows using shitty backwards slashes
 
Last edited by m4xw,

DaniPoo

Well-Known Member
Member
Joined
Jan 2, 2013
Messages
925
Trophies
1
Age
35
XP
2,284
Country
Cool. So what information do you want? I take it none of the plethoric information I already provided.

Setup info:
As stated previously, I'm on a fresh format of fat32 with a real 128GB SD card I tested with h2testw myself. I have no problems getting games to run or other homebrew, and even using LayeredFS for things that didn't work back when it was exFAT. I am running RetroArch from the homebrew menu with the .nro included in the archive I downloaded. I extracted the retroarch folder to the root of the SD card as instructed by the first post and I have triple-checked that I have installed it correctly.

Here's some more: Just updated to the latest nightly build of RetroArch, deleting the config and all other folders that were present on the SD card that are also in the archive before copying them over just in case. Even with this, I still get the error of "Failed to load content" occasionally after manually choosing a file from "Load Content" and then an applicable core. I was hoping updating would quell that glitch. Nope.

I have yet to see a save state crash on saving or loading, so that may actually be fixed, I'm not sure. I saved and loaded states dozens of times, which should have been enough to proc the glitch. Either updating or not using thumbnails for save states may prevent this glitch from occurring. Also, when a game is on a proper playlist I haven't yet had it mislaunch on me.

Okay, this is a big one, I found out why playlists are borked only in the switch version. Turns out instead of the industry standard backslash for directory listings (\), which is used by RetroArch on PC, the switch port only uses forward slashes (/). So when making playlists manually or porting them over to switch, make sure to not only change to a relative path, but to change slash marks.

Code:
PC:
F:\Games\Emus\RetroArch\roms\gensis\Aladdin (Europe).md
DETECT
DETECT
DETECT
Sega - Mega Drive - Genesis.lpl

Switch:
/retroarch/roms/genesis/Aladdin (Europe).md
DETECT
DETECT
DETECT
Sega - Mega Drive - Genesis.lpl
I'm so glad I figured that out, it was driving me mad for some time. To be honest, I think I may have gotten this to work to my liking now, and it doesn't seem unstable either.

So to recap: I think I've found a few glitches to specific usage on the switch version:
1
: If you enable thumbnails for save states it's possibly crashy.
2: Something is wrong with the code to "Load Content" manually.

Since I was only really testing it with "Load Content" manually and I had that option enabled, it was screwing up for me. The former may have been fixed in the latest nightly, but I don't want to "poke the bear", so to speak, so I won't be testing that further.


Well "industry standard".. You are talking about windows are you? Many other systems use the forward slash. It has nothing to do with retroarch.
Just becaus it's in windows doesn't mean it's industry standard...
 
  • Like
Reactions: m4xw

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Well "industry standard".. You are talking about windows are you? Many other systems use the forward slash. It has nothing to do with retroarch.
Just becaus it's in windows doesn't mean it's industry standard...
Actually its only freaking windows using these
 
  • Like
Reactions: DaniPoo

Wiiunator

Well-Known Member
Member
Joined
Nov 13, 2015
Messages
319
Trophies
0
XP
846
Country
Australia
So The curse of Monkey Island is working well with ScummVM, but music is crackling a bit. Any settings I could tweak to fix that? been messing around with the setting in retroarch.. but nothing seems to improve it
 

bluedart

Well-Known Member
Member
Joined
Nov 13, 2016
Messages
270
Trophies
0
XP
2,221
Country
United States
...
Horizon version? What custom firmware are you using?
Also whats your cluster size? What cores are u using?
Idk how u managed to write so much text without any of these informations.
"Load Content" has Issues on experimental cores (big surprise I know), including mame and mupen.
--------------------- MERGED ---------------------------
Is that really a surprise?
This is not windows.
Industry standard my ass, actually it's only windows using shitty backwards slashes

Actually its only freaking windows using these
Good point, I had just googled beforehand the difference between forward and backward slashes to confirm, and I got carried away and apparently used imprecise rhetoric when I iterated my piece. I just saw something about backslashes being primarily used for programming and assumed it's the "industry standard." I should clarify: it's the more common iteration I've seen through my years of programming. Either way, agreeing with something pointed out by yourself originally in another comment is choice.

Anyway, the information in question is:
Horizon version: 5.1.0
CFW: ReiNand nightly as of yesterday
Cluster Size: 64k
Cores: Gambatte v0.5.0, GBA VNext v1.0.2, Genesis Plus GX v1.7.4 d9a1c18, Snes9x 2010 1.52.4 64caf25
Thank you for clarifying the requested information as I asked in my post, since it was not clarified before.

I rather doubt that Gambatte, GBA VNext and Genesis Plus GX are 'experimental cores', but if they are then yikes! Those were the ones I was trying at the time. From what I could tell, there is occasionally a problem loading content manually across the board. Not really an issue since I fixed my playlists.

Either way, my specific settings and problems have been rendered academic, a fact which must have been rather difficult to gleam from my oddly precise rhetoric. I was simply offing newer users some answers as to why specific things do not work the way they want them to. Mainly that enabling thumbnails for save states may cause some crashes, even on fat32, and that the "Load Content" option is not perfect.

The slash inconsistency also being problematic, because generally I see both being accepted by overly extensible code; a failing that quite surprised me since RetroArch is impressively verbose.


Also, another weird thing about this program. Has anyone noticed that the date and time are completely off? They can be turned off, and probably should be unless there's a way to modify them.
 

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Good point, I had just googled beforehand the difference between forward and backward slashes to confirm, and I got carried away and apparently used imprecise rhetoric when I iterated my piece. I just saw something about backslashes being primarily used for programming and assumed it's the "industry standard." I should clarify: it's the more common iteration I've seen through my years of programming. Either way, agreeing with something pointed out by yourself originally in another comment is choice.

Anyway, the information in question is:
Horizon version: 5.1.0
CFW: ReiNand nightly as of yesterday
Cluster Size: 64k
Cores: Gambatte v0.5.0, GBA VNext v1.0.2, Genesis Plus GX v1.7.4 d9a1c18, Snes9x 2010 1.52.4 64caf25
Thank you for clarifying the requested information as I asked in my post, since it was not clarified before.

I rather doubt that Gambatte, GBA VNext and Genesis Plus GX are 'experimental cores', but if they are then yikes! Those were the ones I was trying at the time. From what I could tell, there is occasionally a problem loading content manually across the board. Not really an issue since I fixed my playlists.

Either way, my specific settings and problems have been rendered academic, a fact which must have been rather difficult to gleam from my oddly precise rhetoric. I was simply offing newer users some answers as to why specific things do not work the way they want them to. Mainly that enabling thumbnails for save states may cause some crashes, even on fat32, and that the "Load Content" option is not perfect.

The slash inconsistency also being problematic, because generally I see both being accepted by overly extensible code; a failing that quite surprised me since RetroArch is impressively verbose.


Also, another weird thing about this program. Has anyone noticed that the date and time are completely off? They can be turned off, and probably should be unless there's a way to modify them.
You have a insane cluster size. Thats your problem. Never use ANYTHING but 32kb for FAT32.
Any system but Windows will have troubles
 
  • Like
Reactions: theLilaQ and zacly

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,784
Trophies
1
Age
44
XP
6,509
Country
Germany
This is not windows.
Industry standard my ass, actually it's only windows using shitty backwards slashes
This.
Linux, Mac and Android versions of RetroArch are using (non-back) slashes as well. Of course they do. URLs also do.
Only Windows needed to do something "own".
 
D

Deleted User

Guest
Yeah another vote for bad cluster size and personally I would try the latest reinx I use reinx and sxos

I load all my stuff via load content so that’s not an issue

(No clue what you mean by save thumbnail) but save stares and sram saving working fine no issue

The fix for multi disc ps1 is simples. Turn the multi disc games to one file called a .pbp file. The conversion process is fast and it also compresses the files saving space. Thanks to notimp explaining how.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Look at you holding tiny things