Having trouble compressing map!

  • If you're asking a question make sure to set the thread type to be a question!

LoadUp

L1: Registered
Oct 29, 2018
16
0
yeeaaaah, that link is dead because I only have the readme file. Sorry about that, I'll get to remaking the batch files when I have time for that (and test them on a PC with TF2 which is currently waiting on maintenance parts). He made a post on what to do here though: https://tf2maps.net/posts/332623/

Make a text file, call it bsprepack.txt. Copy YM's text to it:

Code:
"..\..\bin\bspzip" -repack -compress %1
@pause

Now save that file as a text, close the text editor and rename the file to bsprepack.bat (aka change the file extention). Then place it in /tf/maps, drag your map on it, it should now repack.

Now make a new text file, call it bspunpack.txt. Again copy YM's text to it, but with one alteration:
Code:
"..\..\bin\bspzip" -repack %1
@pause
You can see the -compress line is gone. Do the same as before (save, rename to bspunpack.bat, drop in /tf/maps) and drag/drop your map onto it. it should now un-repack and actually work in SFM.
Nothing changed. After the first proccess the file size stayed the same and after the second thing it once again doubled
 

LoadUp

L1: Registered
Oct 29, 2018
16
0
Repacked (aka compressed for filesize) maps don't work in SFM since they're not supported. Packed (aka custom assets) maps can cause issues in some cases but generally shouldn't.

I made a handy compilation download with both repacking an un-repacking tools based of off YM's tools, you can find that and instructions how to do it here: https://tf2maps.net/downloads/drag-n-drop-repack-unpack-batch-files.2451/
btw https://www.mediafire.com/file/xd3lco43u44ssrs/sv_nacht_der_untoten_rc1.bsp/file here is the bps file itself. I dont know if this is something affecting only me.
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
Also i fixed it by moving gameinfo.txt from the tf folder into the maps folder.
I think that might cause issues elsewhere
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
Nothing changed. After the first proccess the file size stayed the same and after the second thing it once again doubled
So something changed then. A repacked map being repacked again won't change in file size, but unpacking it, yeah, it will get bigger as it gets uncompressed.
 

LoadUp

L1: Registered
Oct 29, 2018
16
0
So something changed then. A repacked map being repacked again won't change in file size, but unpacking it, yeah, it will get bigger as it gets uncompressed.
So i guess there is no way for me to do it?
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
So i guess there is no way for me to do it?
Could be an issue with the map itself. If it is unpacked and still not working, try looking at the SFM crash logs to see if any clues are given. I'm not too sure of the directory, although it could be /steam/dumps/, just look for the most recent file, I think it'd be a .mdmp although potentially something else