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

[Request] Export file name Bug? #62

Open
tarky17 opened this issue May 11, 2022 · 0 comments
Open

[Request] Export file name Bug? #62

tarky17 opened this issue May 11, 2022 · 0 comments

Comments

@tarky17
Copy link

tarky17 commented May 11, 2022

environment

  • OS: Windows10 Home 64bit Ver.21H1
  • wiiuvcextractor.exe: Ver 2.0.1

I used wiiuvcextractor.exe to extract Pokemon Pinball Ruby & Sapphire.
Then the following error occurred.

Simple log

F:\myDir\Documents\tmp\game_rip\WiiU-ROM-dumper\wiiuvcextractor>wiiuvcextractor.exe alldata.psb.m
============================================================================
Starting extraction of rom from alldata.psb.m...
============================================================================
PSB file detected!
Decompressing PSB file...
Decompression to alldata.psb.m.extract completed
Checking for PSB data file F:\myDir\Documents\tmp\game_rip\WiiU-ROM-dumper\wiiuvcextractor\alldata.bin...
Found rom subfile at abppj1.c19.m
    Offset: 33810432
    Length: 2583575
Decompressing rom...
Decompressing PSB file...
Decompression to F:\myDir\Documents\tmp\game_rip\WiiU-ROM-dumper\wiiuvcextractor\abppj1.c19.m.extract completed
Checking if this is a GBA VC title...
Checking F:\myDir\Documents\tmp\game_rip\WiiU-ROM-dumper\wiiuvcextractor\abppj1.c19.m.extract...
GBA Rom Detected!
GBA Rom Code: BPPJ
GBA Title: POKEPIN R/S
Writing to POKEPIN R/S.gba...
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path.
   at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite)
   at WiiuVcExtractor.RomExtractors.GbaVcExtractor.ExtractRom()
   at WiiuVcExtractor.Program.Main(String[] args)

Guess

I guess as follows.

GBA Title: POKEPIN R / S
Writing to POKEPIN R / S.gba ...

This may be due to the / (backslash) between the R and the S.
The file cannot be output because it is a character that cannot be used in the Windows file name.
So it may be causing an Unhandled exception.

Suggestion of improvement method

If this guess is correct, for example, the unusable characters are automatically changed to _ (underscore).
Or maybe it can be solved by allowing the output file name to be specified in the parameter.
wiiuvcextractor.exe -n export-filename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant