How do you play custom wads/PWADS online using (G)ZDoom?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
TrueBlueHH
Posts: 14
Joined: Sun Feb 15, 2015 3:19 pm

How do you play custom wads/PWADS online using (G)ZDoom?

Post by TrueBlueHH »

Hey, I need help with setting up something using GZDoom. I'm having an issue using custom wads on GZDoom online, I've tried setting up a batch file with the commands gzdoom.exe -wad DOOM2 -file example.wad -host 2. Then, when I get into the server the custom wad did not load (yes, the wad works with GZDoom). It instead takes me to the regular game. I've also tried a program made by someone that does the batch file and setups the server for you with GZDoom, it's called the zlauncher. Please, help, do any of you know how to setup custom wads on a server? :(
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: How do you play custom wads/PWADS online using (G)ZDoom?

Post by wildweasel »

Are both machines loading the wad file? Make sure they're both specifying it with -file.
TrueBlueHH
Posts: 14
Joined: Sun Feb 15, 2015 3:19 pm

Re: How do you play custom wads/PWADS online using (G)ZDoom?

Post by TrueBlueHH »

I even made the server so it's just -host 1 and the wad still doesn't load, even if it's just me. Surely there can't be a wad that doesn't work with doing multi-player on GZDoom. The wad I am trying to do is DooM Center.wad if you're curious.
User avatar
Hellser
Global Moderator
Posts: 2787
Joined: Sun Jun 25, 2006 4:43 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Citadel Station

Re: How do you play custom wads/PWADS online using (G)ZDoom?

Post by Hellser »

Is it exactly Doom Center.wad? If so, -file "DooM Center.wad" will help. If it's not in the same directory as GZDoom; -file "C:\MyDoomWads\PWADS\Doom Center.wad"
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: How do you play custom wads/PWADS online using (G)ZDoom?

Post by edward850 »

Above all, showing us the real input/output is more useful, rather than the abridged version (seeing as what you think you're doing right is itself the cause). Show us your used command-lines for all players, and the the resulting outputs (using +logfile afilenamegoeshere.log) will instantly give us a good idea on what could be missing.
TrueBlueHH
Posts: 14
Joined: Sun Feb 15, 2015 3:19 pm

Re: How do you play custom wads/PWADS online using (G)ZDoom?

Post by TrueBlueHH »

So should the full code look like this?
gzdoom.exe -wad DOOM2.WAD -file C:\MyDoomWads\PWADS\Doom Center.wad -host 2

And my friend is using this...
gzdoom.exe -wad DOOM2.WAD -file C:\exampleDoomWads\PWADS\Doom Center.wad -join 555.555.555.555
Last edited by TrueBlueHH on Sun Feb 15, 2015 7:35 pm, edited 1 time in total.
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: How do you play custom wads/PWADS online using (G)ZDoom?

Post by edward850 »

And thus the problem is revealed. To have a space in a file name, you need to make the arg a single object. And 'wad' is not a valid launch parameter. Here is a working version:

Code: Select all

gzdoom.exe -iwad DOOM2.WAD -file "C:\MyDoomWads\PWADS\Doom Center.wad" -host 2

Code: Select all

gzdoom.exe -iwad DOOM2.WAD -file "C:\exampleDoomWads\PWADS\Doom Center.wad" -join some.hostname
Having it without the quotes means that the -file parameter receives two different args, "C:\MyDoomWads\PWADS\Doom" and "Center.wad", neither of which will actually exist.

Protip: You can get a pre-formated file path by using "Shift+Right click->Copy as path" on any file, dragging'n'dropping the file into the command prompt window, or using tab to autocomplete file paths. All 3 will automatically add quotes when needed.
Last edited by edward850 on Sun Feb 15, 2015 7:50 pm, edited 1 time in total.
TrueBlueHH
Posts: 14
Joined: Sun Feb 15, 2015 3:19 pm

Re: How do you play custom wads/PWADS online using (G)ZDoom?

Post by TrueBlueHH »

Thanks, Edward, for helping me with the issue. I knew you'd know some stuff about doing multiplayer with this source port, because I seen a video about you earlier even before you posted to the thread today. But in all seriousness, you've been a great help, thank you.
Post Reply

Return to “General”