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

map decompiling error #148

Open
alvaius opened this issue Jun 18, 2022 · 3 comments
Open

map decompiling error #148

alvaius opened this issue Jun 18, 2022 · 3 comments
Labels

Comments

@alvaius
Copy link

alvaius commented Jun 18, 2022

was trying to port a gmod map to SFM, didn't work so i tried decompiling the map on bspsource but it gave me this error:

[error] BspSource: Can't load F:\bspsrc_1.4.1\scpsl_map.bsp, caused by info.ata4.bsplib.BspException: Invalid or missing header
at info.ata4.bsplib.BspFile.createBuffer(BspFile.java:223)
at info.ata4.bsplib.BspFile.load(BspFile.java:118)
at info.ata4.bsplib.BspFile.load(BspFile.java:180)
at info.ata4.bspsrc.BspSource.decompile(BspSource.java:107)
at info.ata4.bspsrc.BspSource.run(BspSource.java:72)
at info.ata4.bspsrc.gui.BspSourceFrame$4.run(BspSourceFrame.java:359)

anybody knows what's up?

@ByDexterTR
Copy link

after making the file name "filename.bsp.zip", extract it from the archive and try again.

@rihi rihi added the bug label Feb 5, 2023
@rihi
Copy link
Collaborator

rihi commented Feb 5, 2023

Hard to say from just the error. My guess is that the file is somehow corrupted. You can test by trying to load the bsp in game and see if that works.

@ReformedPony
Copy link

I had the same problem. What worked for me was instead of using GMad Extractor to unpack the .gma files, I used the gmad.exe that comes with Garry's Mod to do that, then used bspsrc to decompile the bsp, and it worked.

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

No branches or pull requests

4 participants