Nov 26, 2023, 06:45 AM | |
3 Command line arguments suggestions
Here are 3 of my suggestions for command line arguments, they would be amazingly helpful for my program!
1: -nosplash: hides the splash screen that pops up when you're opening the game 2: -background: starts the game in the state of being in the tray and so it doesn't show the game window (until you interact with the tray icon) 3: -noexec: doesn't run scripts BUT logs errors still |
Nov 26, 2023, 10:55 AM | |
Skipping the splash screen is what -menu should probably do. I think it was simply easier to convince the game to go to the splash screen instead of the root menu directly, but at some point it'll be possible to change that.
Your description of -background sounds identical to -minimize. I have no idea what the use case for -noexec would be. At minimum, you'd only get compile-time errors like this, no runtime errors. But even so, what would be the point? |
Nov 27, 2023, 05:50 AM | ||
Quote:
It's toolchain integration. Allows for reliable live error highlighting from a text editor. Obviously regularly running an instance of JJ2+ to check code for errors should sound like overkill. I thought about this at one point and came to conclusion that ideally plus.dll would expose a public DLL function that allows third-party tools to instantiate an AngelScript engine identical to the one used by the game, but that is likely more effort for very niche use cases.
__________________
I am an official JJ2+ programmer and this has been an official JJ2+ statement. |
Nov 28, 2023, 07:45 AM | |
@Seren, Indeed that's the purpose of both, #1 The loading splash screen pops up even with -minimize, Also, -minimize sometimes just randomly breaks, #2 I want to integrate live error highlighting into my application Spazlint without running the code, it'd be REALLY helpful
EDIT: Another cool thing would be if -noexec was also a command Last edited by Spaz Electro; Nov 28, 2023 at 07:46 AM. Reason: additional |
Nov 28, 2023, 11:38 AM | |
If you're hosting a server and don't want to run angelscript, you can disable /plusonly and/or /latestversiononly. Doing that won't evaluate scripts for compile errors... it could be changed to do so, I guess, but I don't see how that would benefit anyone. Also the levels may look pretty obviously messed up with pieces of them not loaded properly. The best way to play without angelscript is to disable all mutators and play levels that don't have scripts in the first place.
If -minimize "randomly breaks," that's a good thing to know about. How consistent is it for you--can you do the same thing twice, and one time -minimize breaks and one time it doesn't? |
Nov 28, 2023, 12:48 PM | |
Sure, what about -noexec though? You reckon it'll be added anytime soon? Also, running the game with -minimize only just doesn't work, as in the game tries to minimize itself, but then goes back to regular, It happens every single time, but with -menu it doesn't happen at all.
Last edited by Spaz Electro; Nov 28, 2023 at 12:49 PM. Reason: easier to understand |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 06:43 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.