Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

"-play" and "-player" Command Line Params Under v1.24

Joseph Collins Joseph Collins's Avatar

JCF Member

Joined: Sep 2003

Posts: 58

Joseph Collins is doing well so far

Mar 24, 2023, 03:55 PM
Joseph Collins is offline
Reply With Quote
"-play" and "-player" Command Line Params Under v1.24

It doesn't work. (,:

So, I've been tinkering with Jazz Jackrabbit 2 this month, checking out all the improvements provided by JJ2+ and whatnot, and taking some comparison screenshots. For that purpose, I made my own custom level just for fooling around in.
Usually, what I'd do is run Jazz2.exe and hop through the menus (Hah. Rabbit jokes.) to load my level. However, upon doing a search for Command Line Parameters, I noticed that there are a few things that makes setting up a custom game much quicker and easier. And so, I ran the following command:
Code:
Jazz2P.exe ZTestLvl.j2l -SERVER -BATTLE -PLAYER 4
("Jazz2P.exe" is what I renamed my JJ2+ EXE.)

As expected, running this as a batch file worked perfectly and tossed me into a four-player TCP/IP battle game. So then… I tried it with the unmodified The Secret Files EXE… and it entered and left the game, dumping me on the splash screen.

Upon further analysis, I discovered that The Secret Files added an extra parameter, "-play", which… according to the wiki… "Plays a game". From what I can tell, when Project Two added that command line, they did it very badly.
For one, it completely supersedes "-player" under all circumstances, leading the game to read the command like as something like "-play er [etc. etc.]".
For another… I don't think it actually does anything beyond confusing the game. It seems like it was completely removed in JJ2+ as adding that to the command line just makes the game return an "invalid level / no next level" error.
(The April 8th, 2010 change log says that "-player" was fixed rather than "-play" removed, though.)

I dunno… I'd update the wiki with this info instead of making a forum post, but it seems like the Wiki is read-only. So, here we are! Hopefully, this eventually makes it to that wiki page, but if not, at least I've made it known here.

Cheers.
__________________
I'm not that hard to find... if you know where to look.
-=( https://jolikmc.tumblr.com )=-
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Mar 30, 2023, 09:59 PM
Violet CLM is offline
Reply With Quote
Thanks for looking into this! The ERE isn't completely read-only, but write access is limited to trustworthy people. You'd have to contact stijn to get your status changed. I've noted the info about -play and -player on that page for now, though.
__________________
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 10:39 AM.