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

cannot find/export audio from Megaman X Mavericks Fury 0.4 #1806

Open
Imaynotbehere4long opened this issue Jun 8, 2024 · 3 comments
Open
Labels
bug Something isn't working gui The PR or issue is related to GUI lib The PR or issue is related to "UndertaleModLib"

Comments

@Imaynotbehere4long
Copy link

Imaynotbehere4long commented Jun 8, 2024

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 Imaynotbehere4long added the bug Something isn't working label Jun 8, 2024
@Dobby233Liu
Copy link
Contributor

Dobby233Liu commented Jun 16, 2024

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

@Miepee Miepee added gui The PR or issue is related to GUI lib The PR or issue is related to "UndertaleModLib" labels Jul 12, 2024
@Imaynotbehere4long
Copy link
Author

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.

@Miepee
Copy link
Contributor

Miepee commented Jul 19, 2024

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

@Miepee Miepee reopened this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gui The PR or issue is related to GUI lib The PR or issue is related to "UndertaleModLib"
3 participants