-
Notifications
You must be signed in to change notification settings - Fork 4
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
Pikmin 1: no sound output/missing JaiInit #4
Comments
Sorry for the delay on this! Pikmin 1 has questionable support, but it still exists. For this there are a few parameters you'll need, as pikmin does not use a standard jaudio system. They're quite undocumented but I threw them in there out of curiosity! The first is the JAIInitVersion, or sequence engine version as specified in the parameters, for pikmin 1 this should be set to 0 For the fun part, pikmin manually swaps out the ibnks in memory and maps them to 0 instead of selecting a new one using the IBNK select instruction (I don't think it existed yet because this is a fork of Nas from the N64) So you'll need to find out which ibnks map to what sequences! (Hint: they're mostly in order based on how they're extracted) For this you use the parameter "-jdsp.forcemap_ibnk_bx" followed by a number to map the specified IBNK index to 0 Finally, the ".aaf" file for pikmin is actually named "Pikibank.bx", and it is in the sndData folder as well. You should copy the .aw files to the "Banks" folder just like other installations. This is a lot to absorb I know, but in a pinch, you can play it like this!
You'll of course need to replace the '12' and 'pikmin1_map_theme' with the appropriate values. |
I tried the different parameters and I was able to play most of the bms sequences from Pikmin! I had prior experience with one of your sound modding tools specifically for Pikmin 1, so I was able to match the ibnks to the sequences without much problem. The only bms sequences that I have some issues with when using JaiSeqX (excluding the sequences that only play sfx) are jungle.jam and demobgm.jam (for good reason). d_end2.jam works as I was able to map it to ibnk 13, but most of the instruments are playing at an entire octave too low. Is there a way to adjust each instrument's base key while in visu mode? I did compare it to both the soundtrack and another rip of this exact song, and thought to share this small inconsistency I had with that specific sequence. Everything else about the sequence (tempo, LR panning, looping etc.) works great! |
Thanks! Happy it worked. I don't know why but on some songs the song noteon commands are exactly one octave off, I ran into that from the start too. To be honest, I probably missed some value in parsing the ibnk, but it doesn't affect any other games and I didn't want to touch the loader until i do the rewrite in the future. Check out the releases page, and download the 'Peanut butter' release, I added a -transpose option for you. The value is a numeric value in semitones, to make the songs play properly in pikmin, you'll want a whole octave, or +12 semitones, which would look like this
|
Thank you so much! The transpose feature fixed all the tuning problems in d_end2.jam, and it plays just like it would in-game! |
Hello! I was looking to be able to use JaiSeqX to playback some music from Pikmin 1, but I wasn't able to figure it out how to get it to work with JaiSeqX on my own.
Normally there would be an initializer like JaiInit.aaf at the top of the AudioRes directory (called SndData in this game), but there's no '.aaf' initializer in there. I was trying to create myself a generic JaiInit.aaf file by using pikibank.bx and the BARC header I extracted from the game's executable file (main.dol). However the program wasn't playing back any sound and had some problems that have to do with the JaiInit I was using. Here's an example of what was outputted:
Can you please help me with this issue I'm having? I do not know where to go from here to be able to play any of the Pikmin 1 music.
The text was updated successfully, but these errors were encountered: