Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Super Mario Eclipse audio streaming issue #1228

Open
SpyrooftheNight opened this issue Aug 28, 2024 · 11 comments
Open

Super Mario Eclipse audio streaming issue #1228

SpyrooftheNight opened this issue Aug 28, 2024 · 11 comments

Comments

@SpyrooftheNight
Copy link

Super Mario Eclipse has a lot of its new music go silent in Nintendont on Wii and Wii U. Something to do with audio streaming because turning that off on Swiss on GameCube causes the exact same issue.

@staringstar
Copy link

Someone already notified the Nintendon't devs here #1182 about the issue, but it seems like it went unnoticed.

While Im no expert on Nintendont or GC/Wii in general, fixing this issue seems like it would be a sizeable effort so Im not getting my hopes up for a fix coming soon.

@SpyrooftheNight
Copy link
Author

I won't get my hopes up either but my only way to play on my CRT is GameCube or Wii and I was experiencing slowdowns on GameCube not on Wii so if they could get it working it would be the best way to play the game authentically.

@carnage702
Copy link
Collaborator

carnage702 commented Aug 29, 2024

the thing here is nintendont is not an emulator, its more like a bridge between gc calls and wii hardware and redirects and changes those calls so that the wii/wiiu play them using their hardware.

GC Homebrew does not work on nintendont because of that becuase it doesnt use the expect functions to do so so they dont get redirected correctly same for some mods.

nintendont patches patterns and functions from original nintendo sdk and homebrew just doesn't follow any rules, for nintendont to use audio streaming all the official functions,flags and calls would need to be followed to a T to be like they are on the other audisotreaming games which they arent so nintendont cant patch this mod there really isnt a fix that could be done unless you would manually patch every address for every song and hard coded it on nintendont and forced it in instead of naturally playing it like the other audiostreaming games do and i dont think anyone would do that complex work tbh.

@staringstar
Copy link

staringstar commented Aug 29, 2024

I just checked SMSBetterEngine's audio system code and it seems like it does import system functions to do its job, so a way to fix this can probably be found.

Something else that seems notable is that that engine's code does seem to not be inserted into the game's executable (or at least not until runtime), so no wonder that Nintendont can't detect and patch the underlying patterns. The SMSBetterEngine module is inserted into the game by a mod loader called Kuribo ( altough Im not entirely sure if this is correct ) so a patch could be done by modifying SMSBetterEngine or Kuribo to do their own patches for Nintendont compatibily or something akin to Majora's Mask Nintendont patches.

@carnage702
Copy link
Collaborator

I just checked SMSBetterEngine's audio system code and it seems like it does import system functions to do its job, so a way to fix this can probably be found.

Something else that seems notable is that that engine's code does seem to not be inserted into the game's executable (or at least not until runtime), so no wonder that Nintendont can't detect and patch the underlying patterns. The SMSBetterEngine module is inserted into the game by a mod loader called Kuribo ( altough Im not entirely sure if this is correct ) so a patch could be done by modifying SMSBetterEngine or Kuribo to do their own patches for Nintendont compatibily or something akin to Majora's Mask Nintendont patches.

Like I said it's a complex codding change so I don't know if anyone is willing to put the effort to learn nintendont code to even know what to fix.

@SpyrooftheNight
Copy link
Author

So does that mean that the Eclipse team would have to fix their files?

@Extrems
Copy link

Extrems commented Aug 29, 2024

the thing here is nintendont is not an emulator, its more like a bridge between gc calls and wii hardware and redirects and changes those calls so that the wii/wiiu play them using their hardware.

Maybe you should make it an emulator then since that worked for Swiss.

@carnage702
Copy link
Collaborator

the thing here is nintendont is not an emulator, its more like a bridge between gc calls and wii hardware and redirects and changes those calls so that the wii/wiiu play them using their hardware.

Maybe you should make it an emulator then since that worked for Swiss.

Swiss runs GC homebrew nintendont does not, it was the way nintendont was made and how it works if a function doesn't do what is expected on the exact place then it won't work

@madsl
Copy link

madsl commented Sep 2, 2024

I really hope Nintendont will add this feature, because there's no way of getting swiss-gc to run on a Wii U. I even tried booting swiss from Nintendont just to make sure...

@JoshuaMKW
Copy link

JoshuaMKW commented Sep 7, 2024

I just checked SMSBetterEngine's audio system code and it seems like it does import system functions to do its job, so
way to fix this can probably be found.

Something else that seems notable is that that engine's code does seem to not be inserted into the game's executable (or
at least not until runtime), so no wonder that Nintendont can't detect and patch the underlying patterns. The
SMSBetterEngine module is inserted into the game by a mod loader called Kuribo ( altough Im not entirely sure if this is
correct ) so a patch could be done by modifying SMSBetterEngine or Kuribo to do their own patches for Nintendont
compatibily or something akin to Majora's Mask Nintendont patches.

If you can point me to exactly what types of patches I need to do in the code, I'll consider it.

@VGBCP3rs0na
Copy link

I can't even hear the music in Erto Rock!!! This is bull!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants