
How do you play custom wads/PWADS online using (G)ZDoom?
-
- Posts: 14
- Joined: Sun Feb 15, 2015 3:19 pm
How do you play custom wads/PWADS online using (G)ZDoom?
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? 

- 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?
Are both machines loading the wad file? Make sure they're both specifying it with -file.
-
- Posts: 14
- Joined: Sun Feb 15, 2015 3:19 pm
Re: How do you play custom wads/PWADS online using (G)ZDoom?
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.
- 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?
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"
Re: How do you play custom wads/PWADS online using (G)ZDoom?
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.
-
- Posts: 14
- Joined: Sun Feb 15, 2015 3:19 pm
Re: How do you play custom wads/PWADS online using (G)ZDoom?
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
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.
Re: How do you play custom wads/PWADS online using (G)ZDoom?
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:
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.
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
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.
-
- Posts: 14
- Joined: Sun Feb 15, 2015 3:19 pm
Re: How do you play custom wads/PWADS online using (G)ZDoom?
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.