Homebrew Snes9x RX - A new fork.

Which one is the typography you think should be the main one from now on? (Images on page 22)

  • Earthworm Jim 2

    Votes: 3 15.0%
  • Kirby Super Star

    Votes: 7 35.0%
  • Super Bomberman 2

    Votes: 8 40.0%
  • Earthworm Jim

    Votes: 2 10.0%

  • Total voters
    20
  • Poll closed .

justjack

Well-Known Member
Member
Joined
Feb 10, 2009
Messages
268
Trophies
0
XP
1,422
Country
Chile
I deleted GX from my SD card and the settings problem in RX still occurs. The settings revert back each time I start the app.
 

Askot

Well-Known Member
Newcomer
Joined
Sep 13, 2015
Messages
86
Trophies
0
Age
42
XP
1,702
Country
Mexico
@niuus I've checked your code and I think I found why resetting to defaults any time you enter to snes9xRX in preferences.cpp, versioning it's the cause, it's looking for 4.0.2 will be reseted to default:
Code:
               // first we'll check that the versioning is valid
               if(!(verMajor >= 0 && verMajor <= 9 &&
                   verMinor >= 0 && verMinor <= 9 &&
                   verPoint >= 0 && verPoint <= 9))
                   result = false;
               else if(verMajor < 2) // less than version 4.0.0 //Fix 2.0.0 snes9xRX
                   result = false; // reset settings
               else if(verMajor == 2 && verMinor == 5 && verPoint < 0)   // anything less than 4.0.2 //Fix 2.5.0 snes9xRX
                   result = false; // reset settings
               else
                   result = true;
 
Last edited by Askot,
  • Like
Reactions: niuus

niuus

Well-Known Member
OP
Member
Joined
Mar 4, 2016
Messages
2,023
Trophies
1
XP
4,456
Country
Venezuela
Had the same problem here... I think there is a problem on how you are saving your settings file: Place the roms in a different folder than the default one, then load any rom and restart... The program complains about not being able to find the folder and all settings are lost

Yes, and there each on their own folder, with their own settings, but one is still using the settings from the other and when changing emulators the settings are resetted and you have to configure all again, it's weird.
I deleted GX from my SD card and the settings problem in RX still occurs. The settings revert back each time I start the app.
Hey guys, sorry for the late reply. Holiday sharing times =D
Fixed! Check below for the details of this silly bug. A new build will be up in some hours.

Talking about libraries, maybe this is also affecting a game in specific "top gear 3000", even using retroarch in "snes classic mini" ,serious problems appear.
It should be mentioned that this is the only game that occupies the dsp4 chip.
In this version of the emulator does the game work ?, the last version that worked was 4.3.7
Working perfectly, at least from what i tested quickly: 1st race, 1 player full screen, and 4 player demo.

Nice update, it doesnt have input issue with classic controller like snes9xgx 4.3.9 has, a question: which libogc, devkitpro ppc version are you using? I think newest version had some issues, that' s why I am asking and this one is close to perfect
Hey Askot! That's exactly the reason why i don't want to use anything newer for compiling, since those give regressions in games/performance issues, at least for the moment. My devkitPPC is 26 and libogc is 1.8.15-1. Have you by any chance tried to compile with the latest libogc? (1.8.21, i think)

@niuus I've checked your code and I think I found why resetting to defaults any time you enter to snes9xRX in preferences.cpp, versioning it's the cause, it's looking for 4.0.2 will be reseted to default:
Code:
               // first we'll check that the versioning is valid
               if(!(verMajor >= 0 && verMajor <= 9 &&
                   verMinor >= 0 && verMinor <= 9 &&
                   verPoint >= 0 && verPoint <= 9))
                   result = false;
               else if(verMajor < 2) // less than version 4.0.0 //Fix 2.0.0 snes9xRX
                   result = false; // reset settings
               else if(verMajor == 2 && verMinor == 5 && verPoint < 0)   // anything less than 4.0.2 //Fix 2.5.0 snes9xRX
                   result = false; // reset settings
               else
                   result = true;
Aha! That was the silly culprit! I totally forgot about the 'settings reset mechanism' in place, since i was using 4.5.0 as a default number before wrapping up and releasing. Thanks @Askot

If you are using Classic Controller Pro no issue, but if it's a Classic Controller original, left stick get stucked, even using a wii super famicom controller official from club nintendo has this issue and you cant move any direction in-game neither moving across emu options. Tested in latest emus fceugx 3.4.0, vbagx 2.3.7, snes9xgx 4.3.9 & 4.4.0 and usbloader gx rev 1268, have you updated and tested? This version was my last hope and it worked very well.
I'm really glad this works for you, specially since i wasn't aware of the little difference in id for the Club Nintendo controller and the newest SNES Classic controller.

While i do have one NES Classic controller (that came bundled with my console), which i have tested and works fine, sadly i don't own the SNES Classic nor the controllers to test. Anyone care to report if it works without any issues in this version?
 
Last edited by niuus,

cebolleto

Well-Known Member
Member
Joined
Mar 5, 2010
Messages
203
Trophies
1
Age
43
XP
2,517
Country
Thanks a lot, the settings are working perfectly now!

After testing a few games I have found issues with StarFox.. the background doesn't display correctly, not sure it whit will affect other fx games too
 

Askot

Well-Known Member
Newcomer
Joined
Sep 13, 2015
Messages
86
Trophies
0
Age
42
XP
1,702
Country
Mexico
Hey Askot! That's exactly the reason why i don't want to use anything newer for compiling, since those give regressions in games/performance issues, at least for the moment. My devkitPPC is 26 and libogc is 1.8.15-1. Have you by any chance tried to compile with the latest libogc? (1.8.21, i think)
Same here: devkitppc rev 26, but libogc 1.8.12, but it gets a little better perfomance in Kirby Dream land 3 and 60 fps solid in Yoshi's Island at 40Mhz Overclock
 

niuus

Well-Known Member
OP
Member
Joined
Mar 4, 2016
Messages
2,023
Trophies
1
XP
4,456
Country
Venezuela
Thanks a lot, the settings are working perfectly now!

After testing a few games I have found issues with StarFox.. the background doesn't display correctly, not sure it whit will affect other fx games too
Oh! That's one of my favorite games, though i've been playing StarFox 2 more, since i want to beat my records. Can you give more details? What's the level? If you can attach a save state, it would be better.

EDIT: i've found the faulty commit. I'll roll it back and post an experimental build in the 2nd post for you to test.
 
Last edited by niuus,

Bladeoner

Well-Known Member
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
If you are using Classic Controller Pro no issue, but if it's a Classic Controller original, left stick get stucked, even using a wii super famicom controller official from club nintendo has this issue and you cant move any direction in-game neither moving across emu options. Tested in latest emus fceugx 3.4.0, vbagx 2.3.7, snes9xgx 4.3.9 & 4.4.0 and usbloader gx rev 1268, have you updated and tested? This version was my last hope and it worked very well.

To clarify this, it's this controller you are talking about right:
http://www.nintendoworldreport.com/media/26524/4/1.jpg

I use the same, it looks the same as the one for the SNES mini but it's not.

The reason why it's working with Snes9X RX is that this change is not applied:
https://github.com/dborth/snes9xgx/commit/b30051c692cc964b522f95bbc32ea7dea1cd142b

What I do myself is I get the Snes9x GX master source and replace the following file with one of my own that doesn't have this change: source\gui\gui_trigger.cpp

Then the Wii super famicom is working and also the Wii Classic Controller, only the Analog sticks on the Wii Classic Controller not. I don't own a Wii Classic Controller, but made some people that use the DPAD on that happy with it.

I attached the file I use.

I just uploaded a fresh created version with fix for the Wii super famicom in this thread, second post:
https://gbatemp.net/threads/snes9x-gx-4-4-0-beta-feedback-requested.521929/#post-8354071

This includes the latest PRs that I opened.
 

Attachments

  • gui_trigger.zip
    1.7 KB · Views: 225
Last edited by Bladeoner,
  • Like
Reactions: baco81

Askot

Well-Known Member
Newcomer
Joined
Sep 13, 2015
Messages
86
Trophies
0
Age
42
XP
1,702
Country
Mexico
To clarify this, it's this controller you are talking about right:
http://www.nintendoworldreport.com/media/26524/4/1.jpg

I use the same, it looks the same as the one for the SNES mini but it's not.

The reason why it's working with Snes9X RX is that this change is not applied:
https://github.com/dborth/snes9xgx/commit/b30051c692cc964b522f95bbc32ea7dea1cd142b
No exactly, I use this one:
https://encrypted-tbn0.gstatic.com/...T3FPeDMKx0BiqTkkthAb5i0s70Sg33Qb4BSubl-I7scvg
I think it's driver its behaving like an old wii classic controller, not pro. But I have to revert some commits -with joysticks involve too- to make it work.
 

Bladeoner

Well-Known Member
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
No exactly, I use this one:
https://encrypted-tbn0.gstatic.com/...T3FPeDMKx0BiqTkkthAb5i0s70Sg33Qb4BSubl-I7scvg
I think it's driver its behaving like an old wii classic controller, not pro. But I have to revert some commits -with joysticks involve too- to make it work.

I have both the one you send Super Famicom and the Super Nintendo both designed and published for the Wii they work the same like you said as an old Wii Classic Controller

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

@niuus I send a PR which removes the Gui Audio and Button Clicks which frees up more resource to be used.

I compiled the Wii version and tested few games, the change is working No Gui Sound is there, games run around 59/60 FPS tested the following games:

  • Mega Man X (MSU1)
  • Super Mario World (MSU1)
  • Earthworm Jim 2
  • Super Mario World 2 Yoshi's Island
Here is the compiled version:
Snes9xRX-2.6.0_No_Gui_Sound.zip
 
Last edited by Bladeoner,
  • Like
Reactions: rogerioronin

niuus

Well-Known Member
OP
Member
Joined
Mar 4, 2016
Messages
2,023
Trophies
1
XP
4,456
Country
Venezuela
Thanks a lot, the settings are working perfectly now!

After testing a few games I have found issues with StarFox.. the background doesn't display correctly, not sure it whit will affect other fx games too
Reuploaded 2.6.0. StarFox works without issues!

To clarify this, it's this controller you are talking about right:
http://www.nintendoworldreport.com/media/26524/4/1.jpg

I use the same, it looks the same as the one for the SNES mini but it's not.

The reason why it's working with Snes9X RX is that this change is not applied:
https://github.com/dborth/snes9xgx/commit/b30051c692cc964b522f95bbc32ea7dea1cd142b

What I do myself is I get the Snes9x GX master source and replace the following file with one of my own that doesn't have this change: source\gui\gui_trigger.cpp

Then the Wii super famicom is working and also the Wii Classic Controller, only the Analog sticks on the Wii Classic Controller not. I don't own a Wii Classic Controller, but made some people that use the DPAD on that happy with it.

I attached the file I use.

I just uploaded a fresh created version with fix for the Wii super famicom in this thread, second post:
https://gbatemp.net/threads/snes9x-gx-4-4-0-beta-feedback-requested.521929/#post-8354071

This includes the latest PRs that I opened.
Hi @Bladeoner. I tested that build (Snes9x.GX.4.4.0_Controller_Fix.zip), i can report you that the (Original) Wii Classic Controller L-stick is still working, though the R-stick seems to be a bit wonky, like when you try to fast-forward, it will only work with diagonal inputs, and not with right only. I don't own a Wii Classic Controller Pro right now so i can't confirm if it is the same.
 
Last edited by niuus,

niuus

Well-Known Member
OP
Member
Joined
Mar 4, 2016
Messages
2,023
Trophies
1
XP
4,456
Country
Venezuela
Same here: devkitppc rev 26, but libogc 1.8.12, but it gets a little better perfomance in Kirby Dream land 3 and 60 fps solid in Yoshi's Island at 40Mhz Overclock
It's funny to think how even libogc might affect performance, it seems :D

@niuus I send a PR which removes the Gui Audio and Button Clicks which frees up more resource to be used.

I compiled the Wii version and tested few games, the change is working No Gui Sound is there, games run around 59/60 FPS tested the following games:

  • Mega Man X (MSU1)
  • Super Mario World (MSU1)
  • Earthworm Jim 2
  • Super Mario World 2 Yoshi's Island
Here is the compiled version:
Snes9xRX-2.6.0_No_Gui_Sound.zip
Tested and approved! We gained at least 1 or 2 fps more with this. :grog:

EDIT: speed is even better when compiled against r26! (+3fps)
 
Last edited by niuus,

Bladeoner

Well-Known Member
Member
Joined
Oct 15, 2018
Messages
264
Trophies
0
Age
39
XP
1,098
Country
Netherlands
@niuus Opened up two new PRs, two new changes:
- settings.xml renamed to settingsRX.xml to co-exist besides the settings.xml of Snes9x GX
- Added the Make files to compile the source, in the Wii Make file the output file is renamed to: snes9xrx-wii

Just compiled, see attachment.

Edit: just added a two new PRs, which are not included in this file.
- Change Render to Filtered (sharp)
- Remove rumble function.
 

Attachments

  • Snes9xRX-2.6.0_Settings_File_Changed.zip
    1.7 MB · Views: 224
Last edited by Bladeoner,
  • Like
Reactions: Maeson

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: good night