WED - relative WAD

Posted By: Anonymous

WED - relative WAD - 01/11/07 12:10

Everytime i move my projects from the laptop to the pc WED asks for the directory of the WAD-files.
Would it be possible to store the projects WAD-path information relative to the projects path (if it's a subdir) and not absolute?

It's a simple thing that would help much!

thanx, mercuryus
Posted By: PHeMoX

Re: WED - relative WAD - 01/11/07 18:15

Yes, just let WED search in the same directory the WMP file is in or if it's in the default 'work' folder, just keep it searching for them in the normal 'WADS' folder first.

It would saves quite a lot of time, especially when looking into other people's projects (who usually seem to have 3Dgamestudio installed in C: or D: , and i've got it installed on a external drive L:, so I've always got to copy things to strange places ór re-assign the wad files in WED, which takes even more time to do ...).

Cheers
Posted By: Uhrwerk

Re: WED - relative WAD - 01/12/07 01:33

This suggestione got my vote.
Posted By: lostclimate

Re: WED - relative WAD - 01/13/07 07:00

me tooooo
Posted By: LazyDog

Re: WED - relative WAD - 01/14/07 20:20

agreed
Posted By: HeelX

Re: WED - relative WAD - 01/14/07 20:27

There is a dirty trick again:

  • make a folder and put all your texture files in it (tga, etc.)
  • open your level wmp
  • select with the texture manager that folder
  • you should see the texture-folder being opened in your texture bar
  • save and close WED
  • open the wmp file in an ASCII editor and search for the folder entry (somewhere after the palette entry)
  • make it relative like in the example below
  • note: it must be relative to the wmp file!
  • save and close the ascii editor
  • open the wmp and you should see the textures opened again, but now with a relative path


example:

Code:

folder {
<..\..\gfx\2d\textures> 1
}



means: go two folder levels up and search my texture in the subfolder gfx\textures.

Easy! Btw, with this method you can easily create seperate folders for different levels and you can share easily textures. In addition, by this method you make your whole project folder independent so that you can use for instance a software revision control system like CVS or subversion.

ciao,
Christian
© 2023 lite-C Forums