Snes9xGX Mod [Preview + WiiUPro + ScreenShot button]

Discussion in 'Wii - Emulation and Homebrew' started by Zopenko, May 25, 2015.

  1. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    Yeah, it makes sense. I haven't noticed too much of this since i don't tend to use FF on MSU videos, but only on normal gameplay dialogs, etc.

    Great to know, and thanks again! Hopefully the snapshot and skips problems will be completely defeated once desync and other issues are sorted out.
     
  2. TheRenegadist

    TheRenegadist Advanced Member

    Newcomer
    52
    8
    May 19, 2017
    United States
    Anyone have a fix for the random crashing when loading the games from an HDD?
     
  3. qwertymodo

    qwertymodo GBAtemp Advanced Fan

    Member
    827
    123
    Feb 1, 2010
    United States
    Figured out the snapshot problem! The bug is that creating a snapshot changes the current directory in the filebrowser object (probably to the snapshot directory), so when you try to load the next MSU-1 related file, it looks for it in the wrong directory. Unfortunately, because the original author didn't bother to implement the S9xGetFilename function, I'm not really sure how to get the right path. So, if anybody else is more familiar with the Gx-specific code, here is the line you need to fix:

    https://github.com/qwertymodo/snes9xgx/blob/msu1/source/snes9x/msu1.cpp#L245

    All you need to do is replace "browser.dir" with the folder containing the currently loaded ROM file.

    Edit: Ok, I got it. This feels like such a dirty hack, but honestly, that describes so many things about this port, one more isn't going to hurt anybody. Snapshots are officially fixed.

    https://github.com/qwertymodo/snes9xgx/commit/d11f8b067c7bd0eb3b22f4f78e9b04e6022c538e
     
    Last edited by qwertymodo, Sep 4, 2017
    Badablek and niuus like this.
  4. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    Holy guacamole, dude. You're on fire. I'll definitely be testing this in the morning, report soon.
     
  5. qwertymodo

    qwertymodo GBAtemp Advanced Fan

    Member
    827
    123
    Feb 1, 2010
    United States
    Check the other commit immediately before it (syncing msu-1 code to upstream), OV2's fix for fast-forward desync is in there, but there's still an issue specifically with fast forward during videos. It stays synced now, but if you ff during a video, it won't ever return to full speed, it drops to like 30fps until the video is over, stuttering horribly the whole time. Only happens during videos, and it immediately returns to normal once the video is done, so not a huge deal, but still investigating.

    Sent from my m8wl using Tapatalk
     
    rogerioronin likes this.
  6. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    Oh! I didn't saw that commit, since i went straight to the one you pointed. Compiling again for tests...
     
  7. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    @qwertymodo Okey so, it went like this. I synced these 4 commits:
    Sync MSU-1 code with upstream (1)
    Add .bps patch support
    Sync MSU-1 code with upstream (2)
    Fix MSU-1 file loading after saving/loading snapshots

    From what i understand, and correct me if i'm wrong, the 1st sync integrates:
    MSU-1 pop/skip fixes
    Fix MSU-1 audio memory leak
    The 2nd sync, contains:
    msu1: fix desync with turbo mode
    msu1: drop samples equal to dsp dropped samples
    msu1: generate even if muted

    I couldn't reproduce the FF bug in videos, it went along fine when i used it while a video was playing. Tested in: A Link to the Past Redux, Super Road Blaster, Sonic CD.

    Saving and loading a snapshot works pretty much fine in MSU-1 games. Great!

    While IPS auto patching works, BPS auto patching is not. Tested with your Super Mario Kart MSU-1 patch.

    The funky 'left/right warping' MSU-1 audio track issue is still present. For the moment, tested and noticed this in: Turtles in Time MSU-1, Rock n'Roll Racing MSU-1.

    Another weird bug i just noticed: Load Rock n'Roll Racing MSU-1, Fast-Forward after you get past the title screen and into the demo game that auto-starts. Reset the game. FF again up until that same point, now the game will hang at the title screen, but the music will keep playing. *Might* happen to other MSU enabled games too while Fast-Forwarding (this doesn't happen to the game without it), but this was the one that i discovered some minutes ago.

    Hey man, i haven't had issues at all while loading from USB. Maybe your HDD is going idle while you are playing?
     
    Last edited by niuus, Sep 23, 2017
  8. nakata6790

    nakata6790 True Player

    Member
    886
    317
    Sep 17, 2009
    Greece
    Hey guys, how about a compiled boot.dol (with the latest fixes) file upload for those of us who do not know how to compile?
     
    rogerioronin likes this.
  9. ploggy

    ploggy WAKA! WAKA!

    Member
    2,144
    1,549
    Aug 29, 2007
    United Kingdom
    Is there anyone here who's willing to compile Snes9xGX?
    Fix94 has released a patch that will allow Gamepad Controls (WiiU Gamepad) in vWii mode (through WiiVC) So basically Snes9xGX with Gamepad Controls! :P

    Problem is Snes9xGX (and other Wii Homebrew) has to be recompiled with said patch to work :) So is there anyone who can take a crack at it?

    https://github.com/FIX94/libwiidrc this is what needs to be added to Snes9x..
     
    Last edited by ploggy, Sep 14, 2017
    rogerioronin likes this.
  10. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    Can't promise anything, but i'll give it a try when i can.
     
    ploggy likes this.
  11. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    Looking for some people with:
    - 3rd party Wii Classic Controller.
    - 3rd party Wii Classic Controller Pro.
    - Original Wii Classic Controller Pro.
    - NES Classic Controller.
    - SNES Classic Controller.
    - 3rd party Wii U Pro Classic Controller.
    - 3rd party Wiimote.
    - 3rd party Wii Motion Plus attachment. (does this exist?)
    - Original Wii Motion Plus attachment.
    - Original Wii Remote Plus
    - Nyko Wand+, PDP controllers, etc.

    To test a special Snes9x GX build that i will post here, to check compatibility with the aforementioned controllers, and confirm that everything works fine. I would like the feedback to add every controller working to a new organized PDF manual plus a new update that i am working on.
     
    Last edited by niuus, Sep 16, 2017
    ploggy likes this.
  12. ploggy

    ploggy WAKA! WAKA!

    Member
    2,144
    1,549
    Aug 29, 2007
    United Kingdom
    Would it be possible for you to add these changes to other GX Emulators too (NES/GBA) ??
     
  13. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    Specially those, yeah, since the Wii is my favorite all-round quick emulation machine. I tried with WiiMednafen but the code must be updated in order to use anything post-devkitpro 25... it's a real pain.
     
    Last edited by niuus, Sep 16, 2017
    Sticksandstones and ploggy like this.
  14. seam

    seam GBAtemp Advanced Fan

    Member
    651
    151
    Jan 23, 2011
    United States
    austin texas
    Yea, I too would love the latest compiled dol. I havent had a compiling environment setup in a while.
     
  15. seam

    seam GBAtemp Advanced Fan

    Member
    651
    151
    Jan 23, 2011
    United States
    austin texas
    maybe niuus can help us out :P
     
  16. Edu64

    Edu64 Advanced Member

    Newcomer
    65
    9
    Jan 25, 2015
    Cote d'Ivoire
    Hello, a suggestion if you compile a new version of snes9x gx is to add an already existing option in the emulator "VBA gx mod", it is the image filter, in that emulator there is the option to select "sharp" or "soft" filter.
    It would be convenient to have a sharper image depending on the source (480p or 480i)
    Thank you!
     
  17. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    I'll look into it. One of the things i have always wanted is to replace the HQ2X with a simpler 2xSAI/Super Eagle. I don't even know why the former was chosen from the start, since it is pretty heavy on the CPU.
     
    Edu64 and Sticksandstones like this.
  18. Edu64

    Edu64 Advanced Member

    Newcomer
    65
    9
    Jan 25, 2015
    Cote d'Ivoire
    Great! These new options would greatly help the emulator.
    I will be waiting for some update, thank you! :)
     
  19. painless

    painless GBAtemp Regular

    Member
    170
    14
    Dec 25, 2009
    United States
    I downloaded these two files thinking this was for the Wii (since it's in the Wii Emulation thread) and to my surprise, this is for the WiiU!!! Yikes!!!!
     
  20. niuus

    niuus GBAtemp Advanced Fan

    Member
    552
    251
    Mar 4, 2016
    Venezuela
    It is for the Wii only. Obviously you could use it on the Wii U too, but *inside* vWii.