pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

DOOMWADDIR (was: Clean up .emacs)



Todd Gruhn wrote:
> 
> I am trying to move my doowwads files  to a different
> subdir.  How to I change it in .profile?
> 
> Below is part of my .profile.  I have tried to change many times.
> I cant get this to work.
> 
> Thanks.
> 
> 
> 
>                             .
>                             .
>                             .
> PATH=${PATH}:/usr/local/share/doomwads
> # ADD doom-wads
> 
> export PATH

This should not be necessary, because the WADs contain only level data.

PATH is only useful for the game engine executable file (and the game
engine should not be located in DOOMWADDIR).

> export DOOMWADDIR=/usr/local/share/doomwads

This looks good and should work.

Quick test with Doom Legacy:
I have placed a selfmade PWAD into "/tmp/doomwads".

------------------------------------------------------------------------
$ doomlegacy -iwad doom2.wad -file test.wad
[...]
IWAD recognized: Doom2
DOOM 2: Hell on Earth
Added file /usr/pkg/share/doom/doom2.wad (2956 lumps)
Added file /usr/pkg/share/doom/legacy.wad (85 lumps)
File test.wad: Not found
File not found: test.wad
------------------------------------------------------------------------
Does not work because the custom directory was not searched without
DOOMWADDIR.

------------------------------------------------------------------------
$ export DOOMWADDIR=/tmp/doomwads
$ doomlegacy -iwad doom2.wad -file test.wad
[...]
IWAD recognized: Doom2
DOOM 2: Hell on Earth
Added file /usr/pkg/share/doom/doom2.wad (2956 lumps)
Added file /usr/pkg/share/doom/legacy.wad (85 lumps)
Added file /tmp/doomwads/test.wad (19 lumps)
------------------------------------------------------------------------
Works as expected.

-- 
Regards,
Michael Bäuerle


Home | Main Index | Thread Index | Old Index