VIDE - a how-to

Discussion in 'Tutorials & Resources' started by Idolon, Sep 15, 2013.

  1. Idolon

    aa Idolon the worst admin

    Messages:
    1,421
    Positive Ratings:
    4,154
    VIDE is super cool, but sometimes a bit hard to understand. Here's a guide on how to pack with VIDE.

    Automatically Packing Files

    1a. Get VIDE.

    1b. Open VIDE.

    2. Open the Pakfile Lump Editor.
    [​IMG]

    3. Find your BSP. VIDE has trouble with remembering file paths, so it's handy to have a a window open of where your map is so you can copy/paste the filepath.

    4. Click Pakfile Options > Scan.

    5. For Game Directory, choose your Team Fortress 2/tf folder.

    6. Click Scan. This will find any files that need to be added.

    7. Click Auto. This will automatically mark any non-default files.

    8. Click Apply. This adds the previous list of files into the list that VIDE will to add to your BSP.

    9. If you've got any content that you have in your \custom folder, you will need to go back to step 4 and do everything again, except you will need to select whatever folder inside of \custom you have stuff inside in step 5.

    10. Click Save. If you aren't sure if everything worked as you wanted, you may want to save as a different filename. Overwriting works fine, however.

    Manually Packing Files

    VIDE wont always detect all of the files that you want to pack, so you might have to manually add some files.

    1. Go through steps 1-3 of the above tutorial.

    4. Click Pakfile Options > Add.

    5. Choose the file(s) you want to add.

    6. VIDE will show you a menu of directories like this. Click Cancel.
    [​IMG]

    7. VIDE will show you a file path to the file(s) you selected. Delete "tf", as well as everything before it.
    [​IMG]

    8. Click Save. If you aren't sure if everything worked as you wanted, you may want to save as a different filename. Overwriting works fine, however.
     
    • Thanks Thanks x 42
    • Useful Useful x 2
    • Like Like x 1
    Last edited: Aug 13, 2015
  2. obsidiian

    obsidiian L1: Registered

    Messages:
    40
    Positive Ratings:
    5
    Thank you thank you thank you thank you thank you thank you
     
  3. Shanghai

    Shanghai L6: Sharp Member

    Messages:
    394
    Positive Ratings:
    217
    Yeah thanks for this
    I spent a long time figuring this out when I was trying to pack my map
     
  4. henke37

    aa henke37

    Messages:
    1,834
    Positive Ratings:
    420
    But how do you automate this so that it is a part of the normal map build process?
     
  5. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    Thanks for this. As someone who has never messed with VIDE, how is it better than the other packing programs (other than that they currently don't work correctly :p)?
     
  6. Crash

    aa Crash func_nerd

    Messages:
    3,069
    Positive Ratings:
    4,557
    It still doesn't seem to be finding my custom content.

    I have a feeling it's because it converted all over and put it in the download folder. I actually got Pakrat working by making a mess out of my tf folder, but, doesn't matter; packed map.
     
  7. Idolon

    aa Idolon the worst admin

    Messages:
    1,421
    Positive Ratings:
    4,154
    If you'd like to give getting VIDE to work a shot, try setting the Game Directory (step 5) to your /downloads. I've honestly never used the downloads folder, but it might work.
     
    • Thanks Thanks x 1
  8. Crash

    aa Crash func_nerd

    Messages:
    3,069
    Positive Ratings:
    4,557
    Oh yeah, that seemed to do the trick. And it found some stuff I missed on the first attempt with Pakrat. Thanks.

    I don't know why it put everything there when we converted to Steampipe, it's been a huge pain in the ass.
     
  9. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,597
    Positive Ratings:
    1,677
    the nice thing about vide is that it does a whole lot more than just paking.
    it's gcfscape, vtfedit and entspy all in the same package and it does even more! (it even unleashes the ancient powers of the logical view)

    now you have to document all the features idolon :D
     
    Last edited: Sep 17, 2013
  10. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    How do I add stuff manually? I click Add and nothing seems to happen.

    It seems to find everything, but only packs the textures of some of my models. Some are fine, some are missing, and there seems to be no method to the madness.

    edit: I got it to work. I'm not sure how, but I did.
     
    Last edited: Sep 26, 2013
  11. wareya

    wareya L7: Fancy Member

    Messages:
    493
    Positive Ratings:
    172
    VIDE is not detecting any files when I go to hit scan, not even ones that are part of the game. I am referring it to the right game folder and I've tried variations. I haven't done anything silly like extract my VPKs over my game folder or point it directly to my custom content in my custom folder, and that should be totally unnecessary, or else what's the point? I have VIDE 0.45b. Can I get any help?
     
  12. Idolon

    aa Idolon the worst admin

    Messages:
    1,421
    Positive Ratings:
    4,154
    Unfortunately, you'll need to point it to your individual custom folders because VIDE hasn't been updated since custom folders started being a thing (Steampipe). A pain in the ass, I'll agree. I've sent the programmer a message about fixing it, but I wouldn't expect an update for a while.

    However, I hear Compile Pal is a compiling program that also features packing capabilities. I haven't tried it out for myself (I don't know if it even works for TF2), but it's definitely worth investigating.
     
  13. Crash

    aa Crash func_nerd

    Messages:
    3,069
    Positive Ratings:
    4,557
    I direct mine to my Team Fortress 2/tf/ folder and it picks up everything except for the stuff in my /Custom/ folder and odds and ends like particle related stuff. Then I manually add in anything t hat happens to still be in in my Custom folder (which has been less and less due to the extra step in VIDE.)

    Granted I'm pretty messy and keeping it all in the custom folder is neater. But... eh.
     
  14. Pocket

    aa Pocket func_croc

    Messages:
    4,480
    Positive Ratings:
    2,213
    I just put my custom assets directly in the /materials/ and /models/ folders because that's an easy way to keep them separate from client-side mods. Turns out VIDE also appreciates it. It's a win-win, really, since nothing else is ever going to put stuff in the raw folders.
     
  15. takabuschik

    aa takabuschik

    Messages:
    660
    Positive Ratings:
    308
    Unless you want to keep track of your files.
    Or unless you want to be able to easily backup files when you reinstall tf2
     
  16. sevin

    aa sevin

    Messages:
    954
    Positive Ratings:
    651
    I have all my custom content stored in Dropbox and use scripts to push and pull the content I need for a particular map into their respective folders. Keeps everything nice and clean.
     
  17. Idolon

    aa Idolon the worst admin

    Messages:
    1,421
    Positive Ratings:
    4,154
    Added another section to this tutorial that describes how to manually add files that don't get picked in VIDE's automatic scan.
     
    • Thanks Thanks x 1
  18. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,454
    Positive Ratings:
    234
    Is it possible to add on a 'how to edit your entites using vide' section - sometimes you realize that you've forgotten to do something to/with an entity - something simple but you don't want to recompile the map all over again when a simple entity edit would do the trick.

    I've tired doing it a couple of times already but not sure if I'm doing it right. i.e. my entity edits don't seem to be working - don't know if it's me not doing it right or if the program isn't saving my changes right.

    Thanks
     
  19. Idolon

    aa Idolon the worst admin

    Messages:
    1,421
    Positive Ratings:
    4,154
    I've never done that with VIDE, though it might be worth exploring. However, you can do it from Hammer - just select Ents Only for VBSP, and No for VVIS and VRAD. It'll recompile only the entities of your map. Moving brushes or lights around might cause it to throw up, so be careful.
     
  20. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,454
    Positive Ratings:
    234
    So if I have a fully compiled map (rad and vis) and I just rerun the entities then I keep the previous vis and rad stuff already done?