Snes9xGX Mod [Preview + WiiUPro + ScreenShot button]

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

  1. Burnt Lasagna

    Burnt Lasagna GBAtemp Regular

    Member
    2
    Feb 29, 2012
    United States
    Just for the info guys, the performance downgrade happened in this commit,
    https://github.com/dborth/snes9x-gx/commit/f65c3d01c3a94d02781dbdaad8c7f1bf15cd6f61
    It has to do with the "use timers for sync only" change.

    I added the old vsync method back to the latest source and it fixed the audio popping.
    However, Final Fantasy VI and Chrono Trigger still freeze in battles. Does anyone know the reason for this? I know these games worked at one point in time.
     
    Last edited by Burnt Lasagna, Feb 1, 2016
  2. sindrik

    sindrik GBAtemp Regular

    Member
    3
    Jan 26, 2009
    United States
    Great find! I'm pretty sure the last piece of the puzzle and your question is connected to devkit PPC regressions reported years ago. If you can, try this tips, as they were discovered by emu_kidid himself.

    * Compiled with LTO flag
    * Compiled with powerpc-eabi-gcc (devkitPPC release 26) 4.6.3

    I can personally confirm you that Chrono Trigger & Final Fantasy III fights work in his build, and he built it straight from the the 4.3.2 source.
     
    Last edited by sindrik, Feb 2, 2016
  3. Burnt Lasagna

    Burnt Lasagna GBAtemp Regular

    Member
    2
    Feb 29, 2012
    United States
    Turns out, down grading to PPC r26 did the trick!
    Here's my compiled dol and source code.
    https://www.dropbox.com/s/i2c1ofx411hrfcd/snes9x-gx.zip?dl=1
    The above is the latest source branch at GitHub with the old vsync method re-instituted (compiled with all the latest libraries minus PPC r27).

    No audio popping and no FF6 crashing.
    So grab some hot dogs and RC cola and have yourself a grand-all Super Nintendo time!
    [​IMG]
     
    baco81, niuus, Edu64 and 4 others like this.
  4. sindrik

    sindrik GBAtemp Regular

    Member
    3
    Jan 26, 2009
    United States
    Holy guacamole, dude!! I compared the speed regained and definitely is up to 4.2.9 speed! I am glad i suggested the above findings! Thanks for your vanilla build and also adding the source to the download, makes it much easier for archival purposes.

    BTW, could i suggest bumping this unofficial version to 4.3.3? Also, using the 1st post source (by @Zopenko ) as a base for a new build?
     
    Last edited by sindrik, Feb 2, 2016
  5. Burnt Lasagna

    Burnt Lasagna GBAtemp Regular

    Member
    2
    Feb 29, 2012
    United States
    It doesn't matter to me. I only reverted some of Tantric's code to an earlier state.

    For reference, the files that were modified in the source where,
    source/s9xsupport.cpp
    source/snes9xgx.cpp
    source/video.cpp
    source/video.h
    source/xenon/s9xsupport.cpp


    If Zopenko didn't change the above files, you should be able to just throw those into Zopenko's source and compile with PPC r26 and your good to go.
     
    Last edited by Burnt Lasagna, Feb 2, 2016
  6. Burnt Lasagna

    Burnt Lasagna GBAtemp Regular

    Member
    2
    Feb 29, 2012
    United States
    Okay, here's Zopenko's version with the FF6 fix and audio fix.
    https://www.dropbox.com/s/cg22f0qidvxg589/snes9x-gx(Zopenko).zip?dl=1
    (includes compiled dol and source)
    Turns out, he edited source/snes9xgx.cpp, so I adapted the audio fix over to his file.
    Also, I shut off the auto update feature (not that it would cause issues but I did it none the less).
     
    niuus, survive9, sindrik and 2 others like this.
  7. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    16
    Jan 17, 2013
    Mexico
    This one is the one to go?
    Or the one you posted like 4 comments ago?

    I'm confused. :P
     
  8. Burnt Lasagna

    Burnt Lasagna GBAtemp Regular

    Member
    2
    Feb 29, 2012
    United States
    The first one I posted, with the hot dogs, is the vanilla github version.
    The new one I just posted is Zopenko's version with WiiUpro controller support, scanline filters, ect (the one in the opening post).
     
    iamatmylimit likes this.
  9. BITBURGER

    BITBURGER GBAtemp Regular

    Member
    1
    Dec 5, 2014
    Netherlands
    Kerkrade
    Hey FunnyFace did you have an compiled version and not only a source release
    people won't an emularor not source data files thank you :D
     
  10. iamatmylimit

    iamatmylimit GBAtemp Regular

    Member
    2
    Jul 17, 2010
    United States
    usa
    If you download from the link you'll see both files are included (emulater compiled) + source .


    Thanks Burnt Lasagna Been waiting for this update.
     
  11. sindrik

    sindrik GBAtemp Regular

    Member
    3
    Jan 26, 2009
    United States
    Thanks for both versions @Burnt Lasagna. I forgot to mention to remove the auto-update feature, but you did it anyways. Fantastic! I hope a GCN build gets made sometime.

    Tested, and working great!
     
  12. BITBURGER

    BITBURGER GBAtemp Regular

    Member
    1
    Dec 5, 2014
    Netherlands
    Kerkrade
    Hi Sindrik it works great now many thanks but is there an option to use snes.zip file and bigger roms than 4 meg?
     
  13. Zopenko
    OP

    Zopenko Link He come to town Come to save the Princess Z

    Member
    3
    Mar 1, 2015
    Mexico
    Thank you very much burnt lasagna!!! for finding that annoying bug. I will update the first post with the new version. Cheers and happy gaming :)
     
    Last edited by Zopenko, Feb 3, 2016
  14. sindrik

    sindrik GBAtemp Regular

    Member
    3
    Jan 26, 2009
    United States
    No, no option. Maybe someone in the future adds this, plus compatibility for games like Classic Kong and Nightmare Busters.

    By the way, what's snes.zip?
     
  15. ngs428

    ngs428 GBAtemp Regular

    Member
    1
    Dec 30, 2014
    United States
    The Dropbox link is not working anymore for me. Could you please repost? It doesn't look like @Zopenko has updated the first post yet.

    Looking forward to trying your version out.
     
  16. BITBURGER

    BITBURGER GBAtemp Regular

    Member
    1
    Dec 5, 2014
    Netherlands
    Kerkrade
    lol not snes zip but roms compare to zip like the extension .smc or sfc you know that
    some guy's told me that you run roms with that compression type but on the wii huuuuhh... not working only on the windows this version
    snes9x_153_Fusoya that can play rom files with extensions .sfc .smc .zip and read lol over the 8 meg on data snes rom
    maybe isn't it for Zopenko to compile a new one that read and .smc / .sfc /.zip over the 8mb data rom size
    i'm youre man :D

    — Posts automatically merged - Please don't double post! —

    Thanks man i talk to fast works great and the sound issue is gone
    now one a relase that can play snes roms over the 8mb on storaga :D
    only this one can handle greater snes roms
    snes9x_153_Fusoya
     
  17. sindrik

    sindrik GBAtemp Regular

    Member
    3
    Jan 26, 2009
    United States
    I had a hard time understanding the post, but for now, only zip and the standard snes rom extensions can be loaded. I don't think someone is gonna code support for roms bigger than 8MB soon, since they are only used for a few hacked games (Super Mario World and Romancing SaGa comes to mind), but hey, maybe someone finds it interesting and it will happen, along with Classic Kong/Nightmare Busters support. Time will tell!
     
  18. BITBURGER

    BITBURGER GBAtemp Regular

    Member
    1
    Dec 5, 2014
    Netherlands
    Kerkrade
    You Forget some rom
    What you think of The Legend Of Zelda?
    i can upload an demo hacked by myself

    The Legend Of Zelda, The legend Returns
    and some friends of my Puzzledude ,Conn, Seph and other great Zelda hackers
    make large roms( hacks ) over the 8 mb :D
     
  19. Zopenko
    OP

    Zopenko Link He come to town Come to save the Princess Z

    Member
    3
    Mar 1, 2015
    Mexico
    Hi everybody!! (hi doctor nick!!)

    I've updated the first post with the new version and also fixed a few bugs.

    I would like to take this opportunity to thank sindrik for bug testing and overall information also a great job to BurntLasagna for finding the performance bug, and thank everybody else that help me in completing this build.

    Happy Gaming :yaywii:
     
    CaptainHIT, sindrik, Askot and 3 others like this.
  20. sindrik

    sindrik GBAtemp Regular

    Member
    3
    Jan 26, 2009
    United States
    It's great to help, man :)

    Will you consider adding little things in the future or is this a goodbye build? Thanks anyway for your enthusiasm and contributions, @Zopenko . I mean it!

    P.S: would it be a bother to produce a Gamecube dol? If you can, thx in advance :D
     
    Last edited by sindrik, Feb 6, 2016
    rogerioronin likes this.