everytime i use drag and drop to play some wad/demo with zdoom it completly fucks up my system.
first of all my explorer wouldn't display itself as a website anymore (you know, that nifty little thingie on the left, which displays some additonal file information, previews, etc]. next thing is that half of my startmenu would disappear and links won't work for programs anymore [no application for this file, program not found]
i'm running win2k with servicepack 4, on a AMD Athlon 750, 384mb SDRam, GF3TI200 128MB.
[Not a ZDoom bug] Drag & Drop [might not be a zdoom issue]
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 44
- Joined: Tue Nov 11, 2003 5:04 pm
- Location: Duesseldorf, Germany
-
- Posts: 1152
- Joined: Tue Jul 15, 2003 9:08 pm
- Location: PROJECT DETAILS CLASSIFIED.
-
- Posts: 1061
- Joined: Wed Jul 16, 2003 5:29 pm
- Location: Monrovia, CA, USA
Use Windows Explorer, negotiate to your zdoom folder. Click on a wad file you want to play and "drag and drop" in onto zdoom.exe.
There was a problem with this recently, regarding zdoom's accounting for the "current directory" and path to the zcajun folder. Randy fixed it in 60.cab, I wonder if somehow it's messing with the path environment variable for shockwav3??
There was a problem with this recently, regarding zdoom's accounting for the "current directory" and path to the zcajun folder. Randy fixed it in 60.cab, I wonder if somehow it's messing with the path environment variable for shockwav3??
-
- Posts: 44
- Joined: Tue Nov 11, 2003 5:04 pm
- Location: Duesseldorf, Germany
well ... these are my paths from the zdoom.ini
maybe i should not that the wad which is dragged and dropped was in the same folder as the port
Code: Select all
[IWADSearch.Directories]
Path=.
Path=$DOOMWADDIR
Path=$HOME
Path=$PROGDIR
[FileSearch.Directories]
Path=$PROGDIR
Path=$DOOMWADDIR
-
- Site Admin
- Posts: 7739
- Joined: Wed Jul 09, 2003 10:30 pm
-
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
-
- Posts: 21643
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
Heck, if the WAD is in the same folder as ZDoom, all you have to do is type in the file...HotWax wrote:Or more accurately, "zdoom.exe somedrive:\somepath\somefile.wad"
Code: Select all
c:\games\zdoom>ZDOOM VRACK3
Code: Select all
c:\games\zdoom>ZDOOM .\D2WADS\VRACK3
-
- Posts: 2915
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
-
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
I know, weasel, but Windows controls what the command-line is, and unless otherwise specified in the registry, the default command-line when a file is dragged onto an executable is:
[path\executable.ext] [path\droppedfile.ext]
So, even if "mywad.wad" was in the same folder as ZDoom, when you drop it on the exe, Windows sends this command line: (assuming the folder is C:\Games\ZDoom)
C:\Games\ZDoom\zdoom.exe C:\Games\ZDoom\mywad.wad
ZDoom than infers an understood -file parameter and it loads. This is the right way to do things because no matter where the WAD is (in another folder, on a floppy disk, etc) it'll get loaded properly.
Also, I was being unnecessarily anal, hence the smiley.
[path\executable.ext] [path\droppedfile.ext]
So, even if "mywad.wad" was in the same folder as ZDoom, when you drop it on the exe, Windows sends this command line: (assuming the folder is C:\Games\ZDoom)
C:\Games\ZDoom\zdoom.exe C:\Games\ZDoom\mywad.wad
ZDoom than infers an understood -file parameter and it loads. This is the right way to do things because no matter where the WAD is (in another folder, on a floppy disk, etc) it'll get loaded properly.
Also, I was being unnecessarily anal, hence the smiley.