Homebrew RELEASE Development Thread - RetroArch libnx

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

Twistedziefer

Well-Known Member
Member
Joined
May 18, 2018
Messages
197
Trophies
0
Age
35
Location
Los Angeles
XP
418
Country
United States
Sometimes my brain frys when I wake up and catch up on the thread... lol

People please read the 1st post and read every other comment afterwards if you are interested in the development of the builds. Everything is pretty much said, done, fixed, or known.
 
Last edited by Twistedziefer,
  • Like
Reactions: m4xw

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,960
Country
Germany
no it is not there yet
Pretty sure we have a threaded working build *somewhere*

Anyway seems the crash in docked is caused by libnx. For some reason when threaded and docked something goes wrong and libnx is not able to dequeue the gfx buffer and fatals.

If I remove the fatal, everything is stable and working in docked, but lots of dropped frames and tearing. This persists after undocking again.

Atleast I have something to work with now.
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,960
Country
Germany
Last edited by m4xw,

coppertj

Well-Known Member
Member
Joined
May 26, 2017
Messages
193
Trophies
0
Age
25
XP
482
Country
United States
Ok everyone I have 4DO recompiled under stable retroarch. It also has updated config so the video works always HOWEVER,
You still need to set the config file (controls wont work otherwise) by...
RetroArch Main Menu>Configurations>Load Configuration>retroarch.cfg in your 4do folder (I couldn't fix this sadly this time around)
and also put your game roms in the 4do folder with your bios bin or else it will boot to black! (bios bin is panafz1.bin )

Please enjoy and I'd recommend this one over the previous one I posted, this one can be docked and played on the tv!

EDIT: Also updating zx spectrum emulator I compiled that one with the threaded branch also.
 

Attachments

  • 4DO-stable.zip
    585 KB · Views: 127
Last edited by coppertj,

infidelity

Well-Known Member
Member
Joined
Dec 13, 2013
Messages
227
Trophies
0
Age
44
XP
356
Country
United States
I have some questions regarding some cores that are not on the 1st page of this thread. I was looking at the RetroArch GitLab page, and noticed that yabause, and MAME 2003 are there. But I have no clue on how to compile them for usage on the Switch?

I'm on firmware 5.1.0, and the ONLY cores I've been able to get running on my system, are the ones hosted here on the 1st page, if I try downloading from the Switch App Store the NES/Genesis/SNES/GBA emulators, they kick me back to the HB loader menu. So I'm glad I've stumbled onto this thread cause what is on the first page, actually runs for me! Is there any chance someone could walk me through on how to compile stuff from Gitlab? And, is there a genesis retroarch core here? Thanks!
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,960
Country
Germany
I have some questions regarding some cores that are not on the 1st page of this thread. I was looking at the RetroArch GitLab page, and noticed that yabause, and MAME 2003 are there. But I have no clue on how to compile them for usage on the Switch?

I'm on firmware 5.1.0, and the ONLY cores I've been able to get running on my system, are the ones hosted here on the 1st page, if I try downloading from the Switch App Store the NES/Genesis/SNES/GBA emulators, they kick me back to the HB loader menu. So I'm glad I've stumbled onto this thread cause what is on the first page, actually runs for me! Is there any chance someone could walk me through on how to compile stuff from Gitlab? And, is there a genesis retroarch core here? Thanks!

You can just go to the Repo, hit CI/CD -> Pipelines and download a build.
Those are automatically built and are guaranteed to be up2date

99ed79b1-1d4c-4257-8557-d272ce644c7b.png
 

coppertj

Well-Known Member
Member
Joined
May 26, 2017
Messages
193
Trophies
0
Age
25
XP
482
Country
United States
Speaking of which here is the FUSE sinclair zx spectrum emulator, recompiled in the stable retroarch branch

If controls do not work (which they wont at first): Load ROM>RetroArch Quick Menu>Controls>User 1 Device Type>Set to whatever joystick the game is asking you for. An on screen keyboard, atleast for the kempston joystick, is bound to select (-)
 

Attachments

  • FUSE-stable.zip
    1.1 MB · Views: 156
Last edited by coppertj,
  • Like
Reactions: Mobutu16

doctorgoat

Well-Known Member
Member
Joined
Jun 3, 2015
Messages
694
Trophies
0
Age
35
XP
560
Country
United States
I don't know if it helps any with implementing it in libnx, but the main libretro repo now has dynamic core loading in its switch makefile for libtransistor.

This is a build of it with a snes9x core from https://github.com/libretro/snes9x2010/pull/117 included. I don't know if it'll be compatible with libnx cores, but if it is, that'd be interesting.
 

Attachments

  • dev.zip
    2.3 MB · Views: 157
  • Like
Reactions: Leonidas87

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,960
Country
Germany
I don't know if it helps any with implementing it in libnx, but the main libretro repo now has dynamic core loading in its switch makefile for libtransistor.

This is a build of it with a snes9x core from https://github.com/libretro/snes9x2010/pull/117 included. I don't know if it'll be compatible with libnx cores, but if it is, that'd be interesting.

No and absolutely no :P
 
  • Like
Reactions: theMille

CatmanFan

Anxious and regretful
Member
Joined
Aug 14, 2016
Messages
1,965
Trophies
0
Website
www.youtube.com
XP
2,617
Country
Morocco
Ok everyone I have 4DO recompiled under stable retroarch. It also has updated config so the video works always HOWEVER,
You still need to set the config file (controls wont work otherwise) by...
RetroArch Main Menu>Configurations>Load Configuration>retroarch.cfg in your 4do folder (I couldn't fix this sadly this time around)
and also put your game roms in the 4do folder with your bios bin or else it will boot to black! (bios bin is panafz1.bin )

Please enjoy and I'd recommend this one over the previous one I posted, this one can be docked and played on the tv!

EDIT: Also updating zx spectrum emulator I compiled that one with the threaded branch also.
Correction: The games and the BIOS can be placed together in any directory. I have the BIOS packed in with my two games in a SD:/Switch/roms/3DO directory and it loads nice.
 

doctorgoat

Well-Known Member
Member
Joined
Jun 3, 2015
Messages
694
Trophies
0
Age
35
XP
560
Country
United States
Ah, dang. This whole core/host system is confusing. Everything seems like it's teetering between different levels of functionality and it's hard to keep up.

I'll take a look at libnx's dynamic functions and see if maybe I can figure out something to do to be helpful.
 
  • Like
Reactions: m4xw

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,960
Country
Germany
Ah, dang. This whole core/host system is confusing. Everything seems like it's teetering between different levels of functionality and it's hard to keep up.

I'll take a look at libnx's dynamic functions and see if maybe I can figure out something to do to be helpful.

look at libnx dynamic.c

We have all the functions we need. We only need to write linux/posix wrappers (dlopen, pthreads etc)

I already prepared the feature/dynamic_cores branch for this! (makefile stuff etc)

Taking a look at hb-loader is worth too.
 
Last edited by m4xw,
  • Like
Reactions: Fadi5555
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
  • Xdqwerty @ Xdqwerty:
    anybody here?
  • P @ PKNate:
    nope
  • BakerMan @ BakerMan:
    fun fact: 7 years by lukas graham, supermassive black hole by muse, and megalomania all have the same bpm
  • BakerMan @ BakerMan:
    girls just wanna have fun and renai circulation also share the same tempo as the few i said before
  • Xdqwerty @ Xdqwerty:
    @BakerMan, megalomania the live a live song?
  • BakerMan @ BakerMan:
    wait no, megalovania*
  • BakerMan @ BakerMan:
    my bad
  • K3Nv2 @ K3Nv2:
    I don't forgive you
  • BigOnYa @ BigOnYa:
    The nerve of that guy, gosh.
  • K3Nv2 @ K3Nv2:
    Yeah expecting me to forgive gtfo
  • Psionic Roshambo @ Psionic Roshambo:
    But how could the Dr have known you didn't want to be circumcized?
  • K3Nv2 @ K3Nv2:
    He didn't you just wanted your dick to be fondled
    +1
  • K3Nv2 @ K3Nv2:
    Watching dune 2 it's eh
  • Psionic Roshambo @ Psionic Roshambo:
    Dune one sucked
  • Psionic Roshambo @ Psionic Roshambo:
    The original with Patrick Stewart was Great
  • K3Nv2 @ K3Nv2:
    A sexual psycopath that love pain where have I heard that before
  • BigOnYa @ BigOnYa:
    In your high school diary?
  • K3Nv2 @ K3Nv2:
    No but your wife let's me read her diary the word psychopath comes up more than sexual
    +1
  • K3Nv2 @ K3Nv2:
    Lol stremio hogging all of my tvs on board ram
    K3Nv2 @ K3Nv2: Lol stremio hogging all of my tvs on board ram