UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

cannot find/export audio from Megaman X Mavericks Fury 0.4

Open Imaynotbehere4long opened this issue 1 year ago • 4 comments

Describe the bug

The June 3 bleeding edge version of UndertaleModTool (Single File) can open the data.win file of Megaman X Mavericks Fury just fine, but when I try to Export All Sounds, I get this error message:

System.IO.FileNotFoundException: Could not find file 'sfx_aleteov.ogg'

The current stacktrace: Line 190: File.Copy(source, dest, false); Line 145: DumpSound(sound); Line71: await Task.Run(DumpSounds); //This runs sync, because it has to load audio groups.

Similarly, opening the Sounds drop-down and trying to play an embedded audio file displays the message "Failed to play audio! Failed to find an audio file." HOWEVER, trying to play an external audio track does work...except it plays an unrelated embedded music track instead (the same track plays regardless of which external track is chosen). Both of these happen even when I uncheck "Preload (old audio system)".

No earlier build of UndertaleModTool was tested (except the previous bleeding edge version from March, which has the same issues).

Reproducing steps

  1. Download and install Megaman X Mavericks Fury
  2. Open the data.win file and try to Export All Sounds
  3. (optional) Lower the Sounds dropdown and try to play any audio track through UndertaleModTool.

Setup Details

  1. Version used: https://github.com/UnderminersTeam/UndertaleModTool/releases/download/bleeding-edge/GUI-windows-latest-Release-isBundled-true-isSingleFile-true.zip
  2. OS: Windows 10
  3. Game: https://gamejolt.com/games/mmxmavericksfury/166746

Imaynotbehere4long avatar Jun 08 '24 21:06 Imaynotbehere4long

Flags are 0 for some reason Normally for embedded sounds it can be set to IsEmbedded, Regular and just Regular for external sounds

Dobby233Liu avatar Jun 16 '24 03:06 Dobby233Liu

Okay, so I just noticed the "ExportAllSoundsOld" script under Scripts > Helper Scripts, and that one seems to have done the trick...at least, for the most part. All embedded audio is exported correctly, but the duplicates of the external tracks still get overwritten by two of the embedded tracks. However, that isn't a huge issue since the external tracks are, well...external, (and given the script's "old" designation, this probably won't be fixed anyway) so I think it's safe to say this problem is solved and close the thread. I would like future builds of UndertaleModTool to have that script in the Resource Unpackers list, though.

Imaynotbehere4long avatar Jul 19 '24 06:07 Imaynotbehere4long

If the GUI doesnt work, then this issue should not be closed.

Miepee avatar Jul 19 '24 06:07 Miepee

Just thought I'd mention the same issue happens with https://store.steampowered.com/app/365430/Everything_is_Black_and_White/ where you get the "file not found" error with Export All Sounds, but ExportAllSoundsOld works perfectly. The only new thing I noticed is if you choose to export only embedded audio (instead of both embedded and external), it pretends to work but you only get an empty folder.

Note: to get to this game's data.win, you have to open the exe with 7zip.

Imaynotbehere4long avatar Dec 23 '24 05:12 Imaynotbehere4long