How do i compress BSP files

Discussion in 'Mapping Questions & Discussion' started by ihavebadaim5, Jul 26, 2019.

  1. ihavebadaim5

    ihavebadaim5 L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    I was finishing updating a map by someone else and i wanted to compress the map, so i used 7zip to make it a BZ2 file, but when i put it into my server map folder, it says that it's missing. If i use the BSP instead, it won't let me download it because it is bigger than the limit i can download stuff. Is there any other way i can compress the map, keep the custom textures in it and make it playable?
     
  2. Khuntza

    aa Khuntza

    Messages:
    150
    Positive Ratings:
    76
  3. henke37

    aa henke37

    Messages:
    2,044
    Positive Ratings:
    490
    The game doesn't understand bzip2. That is a convenience used solely during download, the files are automatically unpacked at the end of the download.
     
  4. ihavebadaim5

    ihavebadaim5 L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    Ok, forget about the bzip2, the thing is, i don't think you understand, i want to compress the BSP file WITH the custom textures in it.
     
  5. Izotope

    aa Izotope Sourcerer

    Messages:
    670
    Positive Ratings:
    698
    See post #2.
     
  6. ihavebadaim5

    ihavebadaim5 L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    That's why i said "forget about bzip2".
     
  7. Crash

    aa Crash func_nerd

    Messages:
    3,232
    Positive Ratings:
    5,162
    Repacking in post #2 is the method you want for that. It can compress custom content.
     
    • Agree Agree x 2
  8. ihavebadaim5

    ihavebadaim5 L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    The only sad part is nobody is willing to make a step by step video in compressing and probably uploading or at least an image to image presentation. That's why i can't get it, i need someone to show me clearly how to do it.
     
  9. Tumby

    aa Tumby

    Messages:
    1,027
    Positive Ratings:
    1,060
    load up tf2, open console, type "bsp_repack maps/mapname.bsp maps/mapname.bsp"
     
  10. ihavebadaim5

    ihavebadaim5 L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    I already did that 3 times. People still say that there are missing textures, no matter what i do. I always pack all the necessary textures for the specific maps, but then people would say that there might be a texture missing like the skybox, even though it's packed in the file, the lava and water textures, even though they are too packed in the same file. Nothing really works for me.
     
  11. Da Spud Lord

    aa Da Spud Lord Occasionally I make maps

    Messages:
    1,292
    Positive Ratings:
    858
    What method are you using to pack the assets into the map?
     
  12. ihavebadaim5

    ihavebadaim5 L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    I tried that BPSZip and 7zip (bzip2) methods.
     
  13. Tumby

    aa Tumby

    Messages:
    1,027
    Positive Ratings:
    1,060
    That isnt packing a map! Repacking and packing are two COMPLETELY DIFFERENT things. Use either VIDE or Compile Pal to pack a map.
     
  14. ihavebadaim5

    ihavebadaim5 L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    Well i used every method possible! Every time i repack the BSP file with custom textures inside it and then upload it to my server, people always come up with "i can't see the textures" or "oh god, why is there a lot of purple and black".
     
  15. Micnax

    aa Micnax Back from the dead (again)

    Messages:
    2,106
    Positive Ratings:
    1,564
    Packing:
    1) You have your compiled BSP
    2) Pack custom content into the BSP file using VIDE or CompilePal
    3) Result is a packed BSP file with a larger file size due to the new assets added

    Repacking:
    1) You have your packed BSP
    2) Compress your BSP down using bsp_repack maps/mapname.bsp maps/mapname.bsp on the in-game console
    3) Result is a compressed BSP with your packed content inside it, now with a reduced filesize

    Distribute that compressed BSP, as it works just the same as distributing it in .bzip2 format.
     
  16. ihavebadaim5

    ihavebadaim5 L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    Ok, alright, i will try again. Just so you all don't come and start repeating the same things over and over again. Jeez.
     
  17. Tumby

    aa Tumby

    Messages:
    1,027
    Positive Ratings:
    1,060
    Perhaps you could tell us what you are already doing?
    • Are you using VIDE or CompilePal?
    • Where are you storing the custom assets?
    Stuff like that