Recent content by NumaNuma

  1. N

    Xenoblade X replace music

    Here you go: xcxde_colony9.xd3 This is the delta you need to apply to the original Music.pck. E.g. xdelta3.exe -d -s Music.pck xcxde_colony9.xd3 Music_mod.pck Then copy Music_mod.pck romfs/sound/Music.pck Or here's a GUI application you could use instead of xdelta3.
  2. N

    Xenoblade X replace music

    The banks and streams are put into the .pck ordered by their hashes in ascending order. I added logging code to pck_unpack.py and pck_unpack.py (see attachements). The banks are mapped to names, so the repacker script retrieves the bank hashes and sorts them -> correct. However, the streams are...
  3. N

    Xenoblade X replace music

    Thanks masagrator for your efforts. I got it working after some troubleshooting now. Two things worth noting: vgmstream-cli will consider the wem files generated by NXAenc.exe (Convert.py) as invalid WWISE: wrong expected size (re-rip?). The game loads, plays and loops them fine however, so...
  4. N

    Xenoblade X replace music

    Oh, I see. This complicates things. So Music.pak contains the two banks: 0x1899AC8D: "bgm" 0xDD4B5BF7: "CS_music" WWise will assign a newly created bank named "bgm" the correct id 0x1899AC8D, yet the generated bgm.bnk is much shorter than the extracted 1899AC8D.bnk. (12kB vs 98kB) Additionally...
  5. N

    Xenoblade X replace music

    I tried to do it similar to the WiiU version: VGAudioCli can make track loop by specifying frame duration: VGAudioCli -i SOUND_replacement/x63_00.wav -o STREAM/34A380BD.wav -l 0-7074480 # NLA day but on the switch they use wwise instead of loose cri adx files, and looping info is sotred in...