sheilan102 / C2M

Tool to export maps from COD Games
GNU General Public License v3.0
46 stars 9 forks source link

issue extracting wwii maps #27

Open atomiccrazzy opened 2 years ago

atomiccrazzy commented 2 years ago

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 commented 2 years ago

I got the same error btw

atomiccrazzy commented 2 years ago

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

atomiccrazzy commented 2 years ago

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 commented 2 years ago

Did anyone get this fixed?

RaGe-74 commented 1 month ago

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