libopenmpt on Wii: problems with porting

Started by korbosoft, September 09, 2025, 16:46:19

Previous topic - Next topic

korbosoft

Hello, ModPlug Central! I am making a post here in hopes of figuring out why a certain function causes the Wii to freeze. So last night I decided to try porting over libopenmpt to the Wii, and everything went (relatively) smoothly, but then when trying to run
openmpt_module_create_from_memory2() it simply froze. no error, no response, nothing. I have been at a standstill for about a day now, and I decided you all might know a thing or two I might be doing wrong. I can post the code I've written, if needed. If it helps to add, I have not modified any of libopenmpt yet.

Saga Musix

You can show your code but I have my doubts it's doing to help, since no matter how you use libopenmpt, it should never result in a freeze or endless inside library functions. Is the problem also present in a minimal example doing nothing else than trying to load the module file? Note that loading a module from memory will also copy / decode all sample and pattern data, so depending on the module format, the same amount of memory that you already allocated to hold the module in, or even more (in case of sample compression) maybe be used in the end. Since the Wii has relatively little memory, this may pose a problem but once again should not result in a freeze.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

korbosoft

Thanks for the quick response! I will check and see what happens if I just run the function by itself, and will update with what happens.