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

issue extracting wwii maps #27

Open
atomiccrazzy opened this issue Jul 15, 2022 · 5 comments
Open

issue extracting wwii maps #27

atomiccrazzy opened this issue Jul 15, 2022 · 5 comments

Comments

@atomiccrazzy
Copy link

so im having an issue to where 1 the map extracts but not the materials or 2 i get this error:
Generating map files...
An unhandled exception has occured:
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at System.IO.Path.GetFileNameWithoutExtension(String path)
at Husky.WorldWarII.ExportBSPData(ProcessReader reader, Int64 assetPoolsAddress, Int64 assetSizesAddress, String gameType, Action1 printCallback) in D:\my dev projects\C2Mf\Husky\Games\WorldWarII.cs:line 498 at Husky.HuskyUtil.LoadGame(Action1 printCallback) in D:\my dev projects\C2Mf\Husky\HuskyUtil.cs:line 94

@HaveDex
Copy link

HaveDex commented Jul 26, 2022

I got the same error btw

@atomiccrazzy
Copy link
Author

yea i dont have any spaces in my path since the path thats in that code isnt on my pc anywhere

@atomiccrazzy
Copy link
Author

yea this is where it automatically extracted it to E:\cod3d\C2M_v2_RELEASE\exported_images\ and E:\cod3d\C2M_v2_RELEASE\exported_maps\

@WindowsXPSux
Copy link

Did anyone get this fixed?

@RaGe-74
Copy link

RaGe-74 commented Aug 27, 2024

Still broken Aug. 2024. Rips Geo fine, just not the .map for model placement

Found supported game: Call of Duty: World War II
Loaded Gfx Map - maps/mp/mp_prague.d3dbsp
Loaded Map - mp_prague
Vertex Count - 1469558
Indices Count - 3451980
Surface Count - 26879
Model Count - 12257
Parsing vertex data....
Parsed vertex data in 2.43 seconds.
Parsing surface indices....
Parsed indices in 0.00 seconds.
Parsing surfaces....
Parsed surfaces in 0.04 seconds.
Generating map files...
An unhandled exception has occured:
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at System.IO.Path.GetFileNameWithoutExtension(String path)
at Husky.WorldWarII.ExportBSPData(ProcessReader reader, Int64 assetPoolsAddress, Int64 assetSizesAddress, String gameType, Action1 printCallback) in D:\my dev projects\C2Mf\Husky\Games\WorldWarII.cs:line 498 at Husky.HuskyUtil.LoadGame(Action1 printCallback) in D:\my dev projects\C2Mf\Husky\HuskyUtil.cs:line 94

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

4 participants