Snes9x RX - A new fork

Discuss emulation on the Gamecube here
Post Reply
niuus
Posts: 87
Joined: Fri May 20, 2016 2:03 am

Snes9x RX - A new fork

Post by niuus » Tue Dec 25, 2018 8:30 am

Hi people. Almost exactly 2 years ago, i began this fun coding exercise as a little effort to backport interesting and useful changes present in other releases of Snes9x, mainly the ones related to libretro and the official Snes9x. I am no expert, but thought i could learn a little bit, and in the process make some personal updates to keep enjoying my favorite console on my favorite homebrew system. 240p FTW!

Seeing that the GX emulators got some new updates in 2017-2018 and that there's still public interest in the Wii scene, i believe this is a good time to finally release it, since i couldn't do it last year (RL stuff).

This fork will stay on Snes9x core version 1.52, and be focused primarily in maintaining full speed for all games, or as far as the Wii can push performance. Commits will still be cherry picked from the libretro/snes9x/snes9x gx as long as they do not degrade performance.

Any help, feedback, or comments, will be always welcome.

And last, but no least, thanks to Tantric (a.k.a. dborth), Zopenko, and more recently, Bladeoner, for maintaining the great GX emulator series.

Merry christmas to y'all!

Image

Notes:

Some of the highlights are:

* You can now play Super Mario World Central 9th Annual VLDC #9.
* -1 frame input lag difference.
* Kouryuu no Mimi english translation is playable.
* Tengai Makyou Zero - Far East of Eden english translation is playable.
* MSU-1 chip support.
* Revisited and updated spanish/italian translation.
* Gamecube & Wii build available.

Links:

Newest/Latest release at:
https://github.com/niuus/Snes9xRX/releases
Readme available at:
https://github.com/niuus/Snes9xRX/blob/ ... README.txt

Enjoy!
Last edited by niuus on Thu Aug 15, 2019 1:44 pm, edited 2 times in total.
niuus
Posts: 87
Joined: Fri May 20, 2016 2:03 am

Re: Snes9x RX - A new fork

Post by niuus » Tue Dec 25, 2018 8:40 am

Changelog:
Spoiler
Show

[3.0.0 - January 08, 2019]
* Gamecube Virtual Memory implementation. [emukidid]
- Adds ARAM usage via the TLB.
* Add toggle to enable/disable virtual memory info.
* Miscellaneous fixes.

[2.9.0 - January 07, 2019]
* Port option to not append "Auto" from vbagx. [libertyernie]
* Correct the default aspect ratio if the Wii has 16:9 set up. [Tantric]

[2.8.0 - January 06, 2019]
* Credits crash fix and minor update.
* Removed ImageFolder from GCSettings because it can always be retrieved
from GCSettings.PreviewImage, added function to get its value. [cebolleto]
* Changing image preview with plus button. [cebolleto]

[2.7.0 - January 03, 2019]
* Remove GUI Sounds and BG Music. A bit more resources available now. [bladeoner]
* Change settings.xml to settingsRX.xml [bladeoner]
* Remove rumble in GUI function. [bladeoner]
* Rollback scanline filter fix. Makes it crash when loading a ROM on the GCN port.
* Backport fix GC build with scanline filter. [Tantric/bladeoner]
* Forgotten cleanup for remove rumble function. [bladeoner]

[2.6.0 - December 29, 2018]
* Settings saving fix. (thanks, Askot!)
* New video filters / Fix for HQ2X-Scanlines change. [Tantric]
* Minor menu optimizations. [Tantric]
* Rollback graphic fix that broke StarFox graphics.

[2.5.0 - December 24, 2018]
* Remove some debugger code in cpuexec.
* Fix Mario's Time Machine. [bearoso]
* Fix tile selection in mosaic offset-per-tile mode. Fixes first Contra 3 boss. [bearoso]

[2.4.0 - December 22, 2018]
* Use a license stub everywhere [bladeoner]

[2.3.0 - December 20, 2018]
* Remove some debugger code.
* Remove some movie code from logger.
* Change where we break S9xMainLoopScan for input (Brunnis lag fix) [bearoso]
* Don't break interlace syncopation on frame skip. [bearoso]
* Add DMA timing hack for Koryu no Mimi translation by rpgone. [OV2]

[2.2.0 - December 7, 2018]
* Update ko.lang [DDinghoya]
* Automatically create preview image dirs if they don't exist. [Tantric]
* Remove update check completely. [Tantric]
* Reorder init to init snes9x memory earlier so it goes into MEM1. [Tantric]
* Disable multi pixel format support. [Tantric]
* Code cleanup and fix include references. [bladeoner]
* Change some defaults ("Artworks" to "Artwork"). [Tantric]
* Prevent overrunning the file buffer, increase buffer size to load larger IPS/UPS files. [Tantric]

[2.1.0 - November 26, 2018]
* Add BPS soft-patching support. [qwertymodo]
* MSU1 fixes backported. [bladeoner, qwertymodo]
* Compile fixes for Linux. [bladeoner]
* Allow loader (e.g. Homebrew Channel) to pass two arguments instead of three for autoload. [libertyernie]
* Check argc. [libertyernie]

[2.0.0 - October 21, 2017]
* Compatible with the new english translation for "Tengai Makyou Zero - FeoE".

[1.9.0 - October 10, 2017]
* Remove things and tidy up.

[1.8.0 - September 29, 2017]
* Partially remove movie code (part 6).
* Update mouse handling.
* Partially remove NETPLAY code.

[1.7.2 - September 27, 2017]
* Partially remove movie code (part 5).

[1.7.1 - September 26, 2017]
* Partially remove movie code (part 4).

[1.7.0 - September 25, 2017]
* Partially remove movie code (part 3).

[1.6.0 - September 05, 2017]

* Partially remove movie code (part 2).
* Fix MSU-1 file loading after saving/loading snapshots. [qwertymodo]
* Sync MSU-1 code with upstream (sync 2). [qwertymodo]

[1.5.0 - September 01, 2017]

* Partially remove movie code (part 1).
* New attempt to fix RAM mapping for Light Fantasy (matches Higan). [qwertymodo]

[1.4.0 - August 31, 2017]

* SuperFX fixes and improvements, some from snes9x2010. [jamsilva]

[1.3.0 - August 30, 2017]

* Added 20 MHz overclock option for the SuperFX chip.
* Remove movie code. [twinaphex]
* Sync MSU-1 code with upstream (sync 1). [qwertymodo]
* Circuit USA timing hack. [bearoso]

[1.2.0 - July 03, 2017]

* Copied VLDC9 fix from snes9x_3ds. [jamsilva]
* Support for more SA1 char conversion modes. [jamsilva]
* Still cleaning things up... [jamsilva]

[1.1.0 - January 14, 2017]
* Remove unnecessary msu1 reset. [OV2]
* Pack status registers before snapshotting so they're not lost. [GregorR]

[1.0.0 - December 27, 2016]

* New color scheme.
* Changed references to bapu/dsp
* Revisited and updated spanish translation.
* Revisited and updated italian translation.
* Removed unused files.
* Fixed GC build.
* Fast-Forward on the right stick is enabled again.
* MSU-1 fixes from the qwertymodo branch.
* The minimum file size for a ROM is now 30KB.
* Fixed typos.
Experimental builds:
None yet.

Games with known issues:
Spoiler
Show
* Chou Aniki - Bakuretsu Rantou Hen (J)
Hangs at black screen after the 1st or 2nd round.
* Kick Off 3 - European Challenge (E)
Some garbage on the upper part of the screen of the soccer field.
* Lobo (U) [Prototype]
Not working.
* Robocop vs. The Terminator (U)
Black strobe effect on gameplay.
Last edited by niuus on Thu Jan 10, 2019 11:53 pm, edited 6 times in total.
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Snes9x RX - A new fork

Post by emu_kidid » Tue Dec 25, 2018 12:46 pm

Nice to see, how does it fare on memory usage on the GameCube? I'd made a fork which added ARAM usage via the TLB, you might already have these changes if you're syncing with master and if they've been added (havent had a chance to look at the source yet)
Image
niuus
Posts: 87
Joined: Fri May 20, 2016 2:03 am

Re: Snes9x RX - A new fork

Post by niuus » Wed Dec 26, 2018 1:04 am

emu_kidid wrote:
Tue Dec 25, 2018 12:46 pm
Nice to see, how does it fare on memory usage on the GameCube? I'd made a fork which added ARAM usage via the TLB, you might already have these changes if you're syncing with master and if they've been added (havent had a chance to look at the source yet)
Hi emu_kidid. Yeah! I saw your changes regarding the VM, i tried to implement them in fact, but didn't had much luck. I find them really useful specially for helping with the memory leaks i've read are present on the GCN version, but from what i tried, my build just ran games like a slideshow so i can't use them, i'm not sure if i missed something or if it's related to devKitPPC, since i am still using r26.

If you can take a look when you have the time, it would be pretty cool. Merry x-mas!
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Snes9x RX - A new fork

Post by emu_kidid » Wed Dec 26, 2018 5:28 am

That's odd, the builds I've posted on the forum here ran perfectly for GameCube. I used something more recent than r26 though
Image
niuus
Posts: 87
Joined: Fri May 20, 2016 2:03 am

Re: Snes9x RX - A new fork

Post by niuus » Tue Jan 08, 2019 5:21 am

emu_kidid wrote:
Wed Dec 26, 2018 5:28 am
That's odd, the builds I've posted on the forum here ran perfectly for GameCube. I used something more recent than r26 though
Fixed. Instead of $(LTO) i used -LTO
Also, removed LTO = -flto
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Snes9x RX - A new fork

Post by emu_kidid » Sat Jul 27, 2019 10:49 pm

More releases!

v3.9.0 - 20190726
* Korean language update, minor cleanup. [DDinghoya]
* GFX.DoInterlace-- should occur even if we don't render frame. [bearoso]
* Move interlace flags to S9xSoftResetPPU. [bearoso]
* Fix PPU blending with unoptimized change. [bearoso]
* Use a lookup table. A little faster. [bearoso]
* Fix color add for non-GFX_MULTI_FORMAT. [bearoso]
* Make blending work with RGB555. [bearoso]
* Proper 16-bit color conversion. [bearoso]
* Use for loops for DRAW_TILE. 3-4% speed benefit. [bearoso]

v3.8.0 - 20190724
* Cleanup screenshot memory management [Tantric]
** This fixes the preview image not displaying on Gamecube.
* Tenshi No Uta (Japan) compatibility hack.
Image
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Re: Snes9x RX - A new fork

Post by liquitt » Mon Jul 29, 2019 5:22 am

even more!

v4.0.0 - 20190728
* Add Wii U GamePad support. [Fix94 - Tantric]
* Allow "Original" render mode to be selectable when using the Wii Options
* TV Resolution setting for "EDTV or HDTV (480p)" over component cables:
* This caters specifically to LCD / LED users with 240p supported displays,
* since the option was previously hidden. Users with CRT / PVM / BVM displays
* with supported 480p Progressive Scan mode will also benefit, since no Wii
* setting change will be needed for the "Original" 240p mode to be used.
* Restore MSU1 playback position correctly. [bearoso]
* Restore MSU1_AUDIO_POS. [bearoso]
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
niuus
Posts: 87
Joined: Fri May 20, 2016 2:03 am

Re: Snes9x RX - A new fork

Post by niuus » Thu Aug 15, 2019 1:43 pm

Later releases:
https://github.com/niuus/Snes9xRX/releases

[4.3.0 - August 14, 2019]
* Fixed "PowerFest 94 - Super Mario Kart" black screen.
* Fixed Kat's Run - Zen-Nihon K-Car Senshuken graphic bg corruption during
demo. Phalanx random black screen is fixed too.
* Fixed Clayfighter blue clown face when selecting a player.
* Fixed Stunt Race FX graphical glitch on the course selection screen.
* Fixed Light Fantasy SRAM saving issues.
* Fix out-of-bounds memory access. [bearoso]
* Working buttons for all SNES peripherals.
Mouse, SuperScope and the Konami's Justifier trigger/buttons never worked in
any other controllers except the GCN pad and Wiimote. Now you can use the
Wii Classic Controller, Wii U Pro Controller and Wii U Gamepad to
fully emulate the peripherals.

Now with experimental wired-DualShock 3 support (thanks to libsickaxis by Xerpi!): connect your DS3 to your Wii's USB port prior to opening
the emulator. When in the Snes9x RX's "Choose Game" screen, press Minus and Plus on your Wiimote/Wii U Pro Controller (DS3 led # 1 should lit)
after that press the PS button. You should now be able to use it when in-game. Led might turn off but it's okey. Use the special labeled build.

KNOWN BUGS FOR THE EXPERIMENTAL DUALSHOCK 3 VERSION:

- May crash sometimes when changing games, or when syncing the DS3 if you're in-game, your mileage may vary.
- DS3 input mirrors to all controllers at the same time.
- No menues navigation yet.

[4.2.0 - August 07, 2019]
* Avoid USB call if there's no Retrode. [revvv]
* Fix M.A.C.S. Basic Rifle Marksmanship. [ghost - OV2]
The flickering was because game thinks joypad2 is constantly firing on/off.
* Cleanup time.
* Spanish language translation update.
* JoJo no Kimyō na Bōken and Kick Off graphical glitches fixed. [bearoso]
* Fixed Speedy Gonzales - Los Gatos Bandidos game freeze. [bearoso]
* Fixed Doom graphical garbage. [twinaphex]

[4.1.0 - August 01, 2019]
* Backport+adjust the refactored APU Resampler. [bladeoner]
* Adjust default input rate.
* Retrode 2 USB adapter support (thank revvv!)
The Retrode 2 cartridge reader offers USB mass storage access for your SNES
cartridges, besides 4 ports for original controllers, more specifically:
two SuperNES and two Genesis gamepads. 2 players are supported!

Some notes from revvv:
"- If the Retrode does not react, you just have to restart Snes9x GX.
I never had to restart HBC or the Wii. This happens with my fork, too.
But not very often.
- Doom is a good testcase: My first build had a huge lag, but only with
this game. After polling the Retrode only for player 1, the lag disappeared.
(Doom is a single player game, so it's strange that they poll player 2.)"
User avatar
Andross89
Posts: 325
Joined: Sun May 25, 2014 10:02 pm

Re: Snes9x RX - A new fork

Post by Andross89 » Tue Feb 11, 2020 7:00 pm

Hi,

Jikkyou Oshaberi Parodius has never worked well in recent versions of GX. I always wondered if you or dborth were aware of this case. Your version does not show the introduction message that I never understood.

If you (or dborth) can try to resolve it, I would be grateful.
niuus
Posts: 87
Joined: Fri May 20, 2016 2:03 am

Re: Snes9x RX - A new fork

Post by niuus » Thu Feb 13, 2020 11:40 pm

Andross89 wrote:
Tue Feb 11, 2020 7:00 pm
Hi,

Jikkyou Oshaberi Parodius has never worked well in recent versions of GX. I always wondered if you or dborth were aware of this case. Your version does not show the introduction message that I never understood.

If you (or dborth) can try to resolve it, I would be grateful.
I do play it all the time, one of my favorites. Yeah, i know about the message, but it is not a problem in RX.
User avatar
Andross89
Posts: 325
Joined: Sun May 25, 2014 10:02 pm

Re: Snes9x RX - A new fork

Post by Andross89 » Fri Feb 14, 2020 2:31 pm

niuus wrote:
Thu Feb 13, 2020 11:40 pm
I do play it all the time, one of my favorites. Yeah, i know about the message, but it is not a problem in RX.
I like it a lot too. Can you play on the GameCube? If so, which emulator and version?
niuus
Posts: 87
Joined: Fri May 20, 2016 2:03 am

Re: Snes9x RX - A new fork

Post by niuus » Sat Feb 29, 2020 4:31 pm

Andross89 wrote:
Fri Feb 14, 2020 2:31 pm
niuus wrote:
Thu Feb 13, 2020 11:40 pm
I do play it all the time, one of my favorites. Yeah, i know about the message, but it is not a problem in RX.
I like it a lot too. Can you play on the GameCube? If so, which emulator and version?
https://github.com/niuus/snes9xrx/releases
User avatar
Andross89
Posts: 325
Joined: Sun May 25, 2014 10:02 pm

Re: Snes9x RX - A new fork

Post by Andross89 » Sun Mar 01, 2020 11:52 am

niuus wrote:
Sat Feb 29, 2020 4:31 pm
https://github.com/niuus/snes9xrx/releases
I had already tried the latest (and several others) versions. The same problem with low FPS happens.

If I change the setting to PAL/60, the game works fine but has some graphics problems. And when I enter the menu and come back, the FPS goes down again.

Maybe it just happens to me.
User avatar
Andross89
Posts: 325
Joined: Sun May 25, 2014 10:02 pm

Re: Snes9x RX - A new fork

Post by Andross89 » Sat Apr 11, 2020 1:45 pm

I managed to solve it by converting the game to 50Hz and removing the regional lock. If anyone needs help, I can explain.
johw1984
Posts: 9
Joined: Sun Aug 30, 2020 5:12 pm

Re: Snes9x RX - A new fork

Post by johw1984 » Sun Jul 17, 2022 11:56 pm

unfortunately it is still not possible to make it work on the SD2SP2 card
User avatar
Papy.G
Posts: 916
Joined: Mon Mar 04, 2019 6:14 am
Location: France, Occitanie
Contact:

Re: Snes9x RX - A new fork

Post by Papy.G » Tue Jul 19, 2022 10:19 am

The "RX" in the name supposes its development is aimed at the Wii (aka Revolution, thus, RX), and there's no exposed SP2 port on the Wii, for SP2 support, you'd better look at DBorth's folders in Github.
You have to be aware that the working SP2 version doesn't work with SDGecko anymore (if only it works with SP2, I didn't test the 4.5.3 release), it's such a mess that I decided to stick to an older version that woks nice enough on SDGecko (though you have to keep the preference files from the older version as it is not able to create the file).
DMG/MultiFreq OC/EDGB/EZF Jr, AGB/SC miniSD, NTR/NeoMK3, USG/flashme V8/SC miniSD
DOL001(EUR)/RGB/GCPlug/GBP/SD2SP2, RVL 001(EUR)/RGB/CMP/WiiSD

Zelda WW with Tingle Tuner in split screen was what the GC RF modulator was made for! (Video)
johw1984
Posts: 9
Joined: Sun Aug 30, 2020 5:12 pm

Re: Snes9x RX - A new fork

Post by johw1984 » Tue Jul 19, 2022 9:32 pm

Papy.G wrote:
Tue Jul 19, 2022 10:19 am
The "RX" in the name supposes its development is aimed at the Wii (aka Revolution, thus, RX), and there's no exposed SP2 port on the Wii, for SP2 support, you'd better look at DBorth's folders in Github.
You have to be aware that the working SP2 version doesn't work with SDGecko anymore (if only it works with SP2, I didn't test the 4.5.3 release), it's such a mess that I decided to stick to an older version that woks nice enough on SDGecko (though you have to keep the preference files from the older version as it is not able to create the file).
https://github.com/niuus/Snes9xRX/releases
Snes9xRX-5.2.0-GCN.zip

yes it has support for gamecube but unfortunately it doesn't work on sd2sp2
Post Reply