![]() |
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 |
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? |
Quote:
Quote:
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. |
@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 :) |
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? |
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.
|
| All times are GMT -8. The time now is 08:12 AM. |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online