-
Notifications
You must be signed in to change notification settings - Fork 26
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
Compile fails when packing files (v27.19) #168
Comments
Can you translate this? |
System.IO.EndOfStreamException: The read function cannot be used outside the end of the current. in System.IO.BinaryReader.FillBuffer (Int32 numBytes) in System.IO.BinaryReader.ReadInt32 () in CompilePalX.Compilers.BSPPack.AssetUtils.FindVtxMaterials (String path) in D: \ a \ CompilePal \ CompilePal \ CompilePal \ BSPPack \ AssetUtils.cs: on line 270 in CompilePalX.Compilers.BSPPack.PakFile.AddModel (String internalPath, List 1 skins) in D: \ a \ CompilePal \ CompilePal \ CompilePalX \ Compilers \ BSPPack \ PakFile.cs: on line 283 in Comp .Compilers.BSPPack.PakFile..ctor (BSP bsp, List 1 sourceDirectories, List 1 includeFiles, List 1 excludedFiles, List 1 excludedDirs, List 1 excludedVpkFiles, String outputFile) in D: \ a \ CompilePal \ CompilePal \ CompilePalX \ Compilers \ BSPPack \ PakFile.cs: on line 151 in CompilePalX.Compilers.BSPPack.BSPPack.Run (CompileContext context) in D: \ a \ CompilePal \ CompilePal \ CompilePalX \ Compilers \ BSPPack \ Pack.cs: on line 246 |
I have the same issue, I found out that this happens every time I have both CSS and CS:GO mounted in Hammer at the same time, I think some of the content is conflicting with each other and the program gets confused which one's content should be packed into the map. |
Compile Pal 027.19.zip |
|
It looks like there might be an issue packing models/props_vehicles/humvee_glass.mdl. Can you send me the model and materials? You can send it over discord if you don't want to upload it publicly. |
It looks like the humvee_glass.vtx file is corrupted (I don't think it's even used https://developer.valvesoftware.com/wiki/VTX#:~:text=It%20is%20currently,Portal%202.). VTX files are binary, but this looks like its a badly formatted VMT text file. |
Recompiled the model, and now the packing fails without an error. And if i try to pack with only the pack-setting toggled on, the following error appears: System.OutOfMemoryException: Tyypin System.OutOfMemoryException poikkeus. |
Are there any crash logs in the Compile Pal folder? |
No |
Can you send the unpacked bsp and the recompiled model? |
Unpacked Packed |
What game is this for? The packed BSP seems corrupted, it crashes VIDE when I try to open it and GCFScape shows that it has no lumps. The unpacked one worked fine for me. |
Half-Life 2: Episode Two. The packing turns out like that when packed using compilepal, however packing with VIDE works without issues |
Compile Pal 027.20.zip |
Still same. |
Can you send me the debug.log? |
The log looks like it ran normally. Can you try verifying your game files and then retry packing it? |
Verified and tried again. No luck. Also as a side note, i'm using Slammin' Source Map Tools (tried also with vanilla tools). For some reason trying to pack stuff with compilepal seems to corrupt the map, but VIDE however can pack the exact same content without issues. |
Compile pal doesn't directly modify the map, it just calls bspzip. Can you send me the files.txt file in the Compile Pal BSPZipFiles folder? |
Can you run the pack step with the verbose parameter and send the log? It should show the output from BSPZip |
It looks like there was a bug that prevented the full output from being logged, can you send the log from this new version? |
Compile Pal 027.20.zip |
New error: BSPZIP exited with code: -1073741819 |
It looks like this might be an issue with BSPZIP, do you have any large files that you are trying to pack into the map? Sound files are usually pretty large so it might be a good place to check. |
I may have found out the issue. It seems that HL2EP2's bspzip.exe has a stability issue related to handling of large amount of custom assets, which however is fixed in TF2's version of the tool. "Improved bspzip tool stability when packing maps with large amounts of custom assets" https://www.reddit.com/r/tf2/comments/43wnv5/tf2_update_for_2216/ I replaced HL2EP2's bspzip.exe with TF2's, and the packing succeeded after the compiling. The level also loaded normally. |
Compile Pal uses BSPZIP, but I'm pretty sure VIDE does not, which would explain why it was able to successfully pack it |
Seeing that it's an issue in Valve's tool, it would probably be a good idea to create an explanation for that bspzip error, in case someone else gets it. |
Compile fails when content packing is enabled.
debug.log
The text was updated successfully, but these errors were encountered: