Packing Custom Content in a .bsp

Discussion in 'Mapping Questions & Discussion' started by obsidiian, Sep 15, 2013.

  1. obsidiian

    obsidiian L1: Registered

    Messages:
    40
    Positive Ratings:
    5
    I just finished making my jungle themed map only to find that many people were unable to see the custom textures and models. I've tried pakrat, VIDE, and packBSP, but none have worked correctly. Is there another program I should be using or am I just not using the programs correctly?
     
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    PackBSP broke for me after steampipe, but PakRat still works fine
     
    • Thanks Thanks x 1
  3. Egan

    aa Egan

    Messages:
    1,302
    Positive Ratings:
    1,478
    PackBSP also broke for me after steampipe, pakrat sorta works alright, but VIDE still works perfectly.

    For VIDE:
    Tools
    Pakfile Lump Editor
    Open <mapname.bsp>
    Scan
    Scan
    Auto
    Apply
    Save

    And it should work fine. :)
     
    • Thanks Thanks x 1
  4. Mr.Late

    Mr.Late L7: Fancy Member

    Messages:
    408
    Positive Ratings:
    151
    Pakrat doesn't pack the textures of the models, I learned it the hard way.
     
    • Thanks Thanks x 1
  5. obsidiian

    obsidiian L1: Registered

    Messages:
    40
    Positive Ratings:
    5
    I did this and thought it worked, but when I opened up the .zip file, all I found was a folder named materials and a folder named models. Not even the .bsp file. I'm not sure what I'm doing wrong :bored:
     
  6. henke37

    aa henke37

    Messages:
    1,834
    Positive Ratings:
    420
    Just use bspzip with a list file. It's impossible for it to fail.
     
  7. Egan

    aa Egan

    Messages:
    1,302
    Positive Ratings:
    1,478
    Are you using bspsrc to extract the embedded content? because if so then its not going to also place a copy of the bsp into the same area as the embedded content. Using VIDE it should work properly :p
     
  8. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    If you ever want to see what's been packed in or not, download Crafty. You can explore your map without booting up TF2. It won't load TF2 textures, but it will load anything that's packed in the bsp. Things like sounds and other non-materials though obviously won't display
     
  9. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Y'know, if someone wants to make the probably-not-that-hard fixes for PackBSP, I did make it all open-source, and you can submit pull-requests on Github... hint, hint.

    I'm still abstractly interested in making PackBSP 3.0, but I've been pretty busy with my day-job.
     
    • Thanks Thanks x 2
  10. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,597
    Positive Ratings:
    1,677
    if it was written in anything other than java I'd update it in a heart beat. might pick it up regardless at some point but idk...

    or is it just feeding stuff into bspzip? because from experience, bsp and java don't go too well together
     
    • Thanks Thanks x 2
    Last edited: Sep 22, 2013
  11. Pocket

    aa Pocket func_croc

    Messages:
    4,483
    Positive Ratings:
    2,213
    All that really needs doing, if I understand correctly, is adding VPK support (should be simple enough, since there are already tools that can read and write VPKs) and changing the default folder structure and archives to search in. I might take a peek at the source code myself, actually, just to see what's up.
     
    • Thanks Thanks x 2
  12. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    IIRC it already reads (or did read) VPK files.

    I haven't investigated at all (I don't recall anybody sending me debug logs either) but that sounds likely.

    I'd start along the track of:


    The list of AssetSearchLocation objects determines where it looks, with what prefix, and what importance it attaches to whatever it finds.

    Yes, because I really didn't want to take on the responsibility for making byte-by-byte changes to people's maps if I could help it. I'd rather point at bspzip and say: "I just made the list! Any corruption is all their fault!"
     
    Last edited: Sep 25, 2013
  13. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    I used VPK in the beginning for my maps and learned it the hard way at that time that it breaks cubemaps and custom textures. So before doing any effort into automizing it i recommend some more testing.

    When a vpk is put on a server it sends the files, but when installed localy it doesnt read the textures inside the bsp.
     
  14. Pocket

    aa Pocket func_croc

    Messages:
    4,483
    Positive Ratings:
    2,213
    I was basing that off the lack of support for any of the post-Orange Box games mentioned in your FAQ.