Homebrew RELEASE Development Thread - RetroArch libnx

  • Thread starter Thread starter m4xw
  • Start date Start date
  • Views Views 764,472
  • Replies Replies 4,272
  • Likes Likes 69
Status
Not open for further replies.
Code:
 endif
 endif
-else ifneq ($(findstring MINGW,$(shell uname -a)),)
+else ifneq ($(findstri
+ng MINGW,$(shell uname -a)),)
    platform = win
    platform = win

What the fuck
Wait, where did you find that?
Note: I forked the repo from Simias's Beetle-PSX repo, but the fork apparently had commits that dated back to 2016, and aren't updated with the LibTransistor support or anything else.
 
https://github.com/CatmanFan/beetle...039b#diff-b67911656ef5d18c4ae36cb6741b7965R19

Wait, where did you find that?

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

Wait, where did you find that?
Note: I forked the repo from Simias's Beetle-PSX repo, but the fork apparently had commits that dated back to 2016, and aren't updated with the LibTransistor support or anything else.
Add fpic := -fPIC too

Then try again with the newest threading branch
 
Wait, where did you find that?
Note: I forked the repo from Simias's Beetle-PSX repo, but the fork apparently had commits that dated back to 2016, and aren't updated with the LibTransistor support or anything else.

You might need to change "platform" too, not sure whats avaiable, its nearly 3am here
 
Where should I put it? Alongside the C flags in the LibNX code?

add it like the other entries

add

Code:
# Nintendo Switch (libnx)
else ifeq ($(platform), switch)
  platform = unix
  include $(DEVKITPRO)/libnx/switch_rules
  CC = $(DEVKITPRO)/devkitA64/bin/aarch64-none-elf-gcc
  CXX = $(DEVKITPRO)/devkitA64/bin/aarch64-none-elf-g++
  AR = $(DEVKITPRO)/devkitA64/bin/aarch64-none-elf-ar
  EXT=a
  fpic := -fPIC

at the begining (so it looks like that)

Then it might start

I always thought your build logs include some (too much) windows shit.

This might be the cause
 
Last edited by m4xw,
add it like the other entries

add

Code:
# Nintendo Switch (libnx)
else ifeq ($(platform), switch)
  platform = unix
  include $(DEVKITPRO)/libnx/switch_rules
  CC = $(DEVKITPRO)/devkitA64/bin/aarch64-none-elf-gcc
  CXX = $(DEVKITPRO)/devkitA64/bin/aarch64-none-elf-g++
  AR = $(DEVKITPRO)/devkitA64/bin/aarch64-none-elf-ar
  EXT=a
  fpic := -fPIC

at the begining (so it looks like that)

Then it might start

I always thought your build logs include some (too much) windows shit.

This might be the cause
Did what I was told, and this is what I got:
C:\devkitPro\devkitA64\projects\RetroArch\RetroArch-feature-threading>make -f Ma
kefile.switch platform=switch
linking retroarch_switch.elf
libretro_switch.a(libretro.o): In function `MDFN_DispMessage(char const*, ...)':

C:\devkitPro\devkitA64\projects\RetroArch\Cores\beetle-psx-libretro-master/libre
tro.cpp:3971: undefined reference to `trio_vasprintf'
libretro_switch.a(mempatcher.o): In function `TestConditions':
C:\devkitPro\devkitA64\projects\RetroArch\Cores\beetle-psx-libretro-master/medna
fen/mempatcher.cpp:275: undefined reference to `trio_sscanf'
libretro_switch.a(error.o): In function `MDFN_Error::MDFN_Error(int, char const*
, ...)':
C:\devkitPro\devkitA64\projects\RetroArch\Cores\beetle-psx-libretro-master/medna
fen/error.cpp:38: undefined reference to `trio_vaprintf'
libretro_switch.a(error.o): In function `MDFN_Error::MDFN_Error(ErrnoHolder cons
t&)':
C:\devkitPro\devkitA64\projects\RetroArch\Cores\beetle-psx-libretro-master/medna
fen/error.cpp:49: undefined reference to `trio_aprintf'
collect2.exe: error: ld returned 1 exit status
make: *** [/opt/devkitpro/libnx/switch_rules:80: retroarch_switch.elf] Error 1
Please don't tell me I have to install the RetroArch LibNX library you provided in your GitLab...
 
Updated Threaded + Fullscreen (optional!) Test Builds:
https://git.m4xw.net/Switch/RetroArch/VBA-Next/-/jobs/585/artifacts/download
https://git.m4xw.net/Switch/RetroArch/libretro-snes9x2010/-/jobs/583/artifacts/download

Use w/o config (as supplied), Integer scaling is off by default (it works but seems to freeze on certain aspect ratios. leave it off for SNES if you want it like it was, for vba enable it to have it as it was [but I like the default more, @SeongGino]).

If you want fullscreen set aspect to Custom, make sure there is no integer scaling

Integer scaling + certain aspect rations will freeze
I capped everything 1270x780 as supersampling isn't there yet.


Def. need feedback on that. @SeongGino @Leonidas87

Edit: Don't forget vsync swap = 4 smoothes things out a bit. I'll use that as default (if it is still needed) at some point!
Thanks for the update. How do I save my new settings every time I go out of snes it resets the settings again? Thanks
 
Last edited by Reecey,
I also d like to know it
I thought it might of been configurations/save current configuration... but pressing on it does nothing.

If I say don't use a config on this builds, it has a reason

Btw config save does work if you manually load the config before. It doesn't really know it has read the "./retroarch.cfg" file
 
Last edited by m4xw,
do you mean delete the overlay.cfg file which .cfg file do you mean?

I am talking about the retroarch.cfg, not the overlay (its ignored as is)

I thought it might of been configurations/save current configuration... but pressing on it does nothing.

-> You don't do it right now. Simple as that. Its possible but could crash and what not
 
I am talking about the retroarch.cfg, not the overlay (its ignored as is)
Honest I have deleted the retroarch.cfg file asap soon as I put your new files on my sd card, it still wont save the configuration?

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

I am talking about the retroarch.cfg, not the overlay (its ignored as is)



-> You don't do it right now. Simple as that. Its possible but could crash and what not
Do you need to select anything or press anything to keep your config saved or should it do it automatically?
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum