Homebrew RELEASE Development Thread - RetroArch libnx

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

CatmanFan

Anxious and regretful
Member
Joined
Aug 14, 2016
Messages
1,962
Trophies
0
Website
www.youtube.com
XP
2,588
Country
Morocco
Yeah, it didn't take much to compile. Here's everything I changed. You want a sceenshot of the core's menu... like this?
View attachment 133253
It just shows the name of the core. It still freezes on a black screen when loading a rom. I'm not even able to open the RetroArch menu while on the black screen.
I can tell that this core wasn't compiled with Salamander. (or was it?)
Also, I don't see any changes to the mman. You should probably use the 3DS one as @julialy had specified, then try to recompile it with that mman.
Yup, cores totally messed up. Even the loading screen is a mess
That's weird, for me, it was working correctly. Only problem for me is that when I load a game, or at some points during gameplay, the video glitches out and I have to change the aspect ratio at least once to get it fixed.
Visited the Discord yet? I have a video of it there.
 
Last edited by CatmanFan,
  • Like
Reactions: Phenj

Phenj

Well-Known Member
Member
Joined
May 22, 2018
Messages
493
Trophies
0
XP
1,895
Country
Italy
I can tell that this core wasn't compiled with Salamander. (or was it?)
Also, I don't see any changes to the mman. You should probably use the 3DS one as @julialy had specified, then try to recompile it with that mman.

That's weird, for me, it was working correctly. Only problem for me is that when I load a game, or at some points during gameplay, the video glitches out and I have to change the aspect ratio at least once to get it fixed.
Visited the Discord yet? I have a video of it there.
Ok yeah it's the aspect ratio

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

Ok yeah it's the aspect ratio
yup, the audio is fucking terrible
 

maxx488

Well-Known Member
Member
Joined
Jun 15, 2018
Messages
219
Trophies
0
Age
27
XP
897
Country
Argentina
RE3 was running 100% for me with the test version in any aspect ratio. gonna try this and see if it runs the same but with audio :)
 

CatmanFan

Anxious and regretful
Member
Joined
Aug 14, 2016
Messages
1,962
Trophies
0
Website
www.youtube.com
XP
2,588
Country
Morocco
I put @julialy's mman.h in the mupen64plus-core/src/sys/ directory just to see how it would change things, and...it didn't seem to change things. Core still compiled as if nothing had happened.
I will be testing the core in a little while, but with Salamander this time, also I will have to change some options within the core like software rendering and dynarec and all that before loading the ROM, just to be safe. Yes, there's a chance that it won't work like Seanny said, but oh well. I'm biting the bullet.
*insert crossing fingers emoticon here*

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

They work really well (at least the ones I've tried). The only one that works bad is PlayStation but that was just a proof of concept core.
Yabause (Saturn) doesn't work "really well"...unless you use frameskip, but you'll get choppy video and the software being interrupted then resumed on a one-second loop constantly. Threading doesn't affect performance AFAIK. Don't forget Jaguar and 4DO, if "100% full speed" for you means "really well".
 

Hydr8gon

Dragon Trainer
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
I can tell that this core wasn't compiled with Salamander. (or was it?)
Also, I don't see any changes to the mman. You should probably use the 3DS one as @julialy had specified, then try to recompile it with that mman.

That's weird, for me, it was working correctly. Only problem for me is that when I load a game, or at some points during gameplay, the video glitches out and I have to change the aspect ratio at least once to get it fixed.
Visited the Discord yet? I have a video of it there.
I'm not using salamander, no. My RetroArch isn't up to date, and I kind of prefer having my emulators separate anyways. About mmap and munmap, it's not as simple as compiling 3DS-specific code for the Switch; it'll need to be rewritten. It is helpful, though. But I still doubt the core would work if these functions were properly implemented.
 

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Yeah, it didn't take much to compile. Here's everything I changed. You want a sceenshot of the core's menu... like this?
View attachment 133253
It just shows the name of the core. It still freezes on a black screen when loading a rom. I'm not even able to open the RetroArch menu while on the black screen.
Gz, the core works. 3fps.

Need dynarec and what u left out ;) (not spread across cores either)
 
Last edited by m4xw,
  • Like
Reactions: Hydr8gon

CatmanFan

Anxious and regretful
Member
Joined
Aug 14, 2016
Messages
1,962
Trophies
0
Website
www.youtube.com
XP
2,588
Country
Morocco
lol @m4xw beat me to the results

Anyway, I also tried compiling the core (although one version without any normal modifications, one with GLES disabled, and one with a heavily enforced Makefile code; I might have to try and compile a version with ARM dynarec later on), and it actually worked. I was surprised seriously.
But everything runs like shit, especially games that run heavily on 3D graphics (e.g. Mario 64, Wetrix, Tom & Jerry, etc.). Puyo Puyo SUN 64 actually runs a bit faster because it only uses 2D. None of the core options I changed seemed to affect anything, other than controller paks (so far). All the graphics options (including GLide, Angrylion and Rice) don't seem to affect performance either. Trying to change the aspect ratio while the ROM is running instantly freezes the emulator, though. It does work if you change it before loading the ROM, though. So, yes, that means fullscreen N64.

But, everything still runs, or at least tries to, so there's that.

Stay tuned, guys. Coming up next: VICE!! (if it does compile hopefully)
 
Last edited by CatmanFan,
  • Like
Reactions: angelhp

Hydr8gon

Dragon Trainer
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
Gz, the core works. 3fps.

Need dynarec and what u left out ;) (not spread across cores either)
Wait, it actually DOES work? That's hilarious. I thought for sure it would take more than that! I literally threw that together in a few minutes before I started getting ready for work. I'll have to try it again when I get home [emoji14]
 
  • Like
Reactions: m4xw

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Wait, it actually DOES work? That's hilarious. I thought for sure it would take more than that! I literally threw that together in a few minutes before I started getting ready for work. I'll have to try it again when I get home [emoji14]

Well technically, u did it!
 
  • Like
Reactions: Hydr8gon

m4xw

Ancient Deity
OP
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Wow, we sure did went from "super hard and can't actually happen" to "successful but still needs a lot of improvement" in a matter of days.
A lot is a underestimate. Dont forget theres 1 whole month of optimizing the shit out of what i could scrap. Full performance will probably require a custom hbloader manifest too.
Dynarec needs to be changed too,to make best use of the syscalls and much more.

Could spend a whole month optimizing this little fucker.
 
Last edited by m4xw,

CatmanFan

Anxious and regretful
Member
Joined
Aug 14, 2016
Messages
1,962
Trophies
0
Website
www.youtube.com
XP
2,588
Country
Morocco
A lot is a underestimate. Dont forget theres 1 whole month of optimizing the shit out of what i could scrap. Full performance will probably require a custom hbloader manifest too.
Dynarec needs to be changed too,to make best use of the syscalls and much more.

Could spend a whole month optimizing this little fucker.
You would probably need help from other developers as well, just saying.

Also, holy crap VICE actually compiled. Now let's prepare our SD card for it before I can actually get to test it. Also going to try and test 64DD on Parallel, including the BIOS.
Emulation on the Switch is just getting better and better over time :yayswitch:
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Also nice. Never really watched Fallout on Prime, but sounds like a good show. +1