pouët.net

Go to bottom

Demos running without dialogs via command-line params

category: general [glöplog]
 
hello,
i was wondering if there is a common agreed format of command line params to run demos. that whould make it so nice to create home/party playlists but the dialogs in demos are a bit of problem. sure there are tools to record gui actions and make it this way but set of standard params for: fullscreen/windowed, resolution, details, primar/second screen, whould be soo cool. if most of us whould use it i guess it whould be very handy.

if there is something like this already widely common i missed something obvious again and pls direct me to the right sources. :)
added on the 2011-09-05 20:18:36 by zden zden
I was thinking of that recently, but no, I suppose there isn't. "demo.exe -silent" sounds like a good measure.
added on the 2011-09-05 20:26:20 by Gargaj Gargaj
Youtube! It's like the future, but now.
added on the 2011-09-05 20:47:48 by maytz maytz
There's probably nothing here that AutoHotKey script wouldn't solve.
added on the 2011-09-05 20:55:22 by KK KK
gargaj: gr8 beeing not alone, so it's probably a matter of writing few lines of code -post it here- let few ppl discuss if it's completely safe and then just the harddest job is left to convience everyone to use it :) any ideas?

maytz@utub:) surely blurry vision soon ? x)
added on the 2011-09-05 20:56:12 by zden zden
KK: ok next thing to learn - damn - i whould be surprised if there wont be a convient way around. but anyway at least you have to tune a bit to every demo group. luckily at least each of them recycle the same dialog
added on the 2011-09-05 21:01:09 by zden zden
1) make a .bat file that executes all your favourite demos
2) turn off windows sounds
3) run .bat file
4) stick your enter-key stuck with a piece of gum
5) watch all demos start in default settings
6) feel all macgyver about this solution!
added on the 2011-09-05 21:04:19 by maali maali
zden: if (!strstr(GetCommandLine(),"-silent")) OpenSetupDialog(); :)
added on the 2011-09-05 21:05:22 by Gargaj Gargaj
zden: also - demosaver supports hotkey stuff too: http://glob.com.au/demosaver/
added on the 2011-09-05 21:06:02 by Gargaj Gargaj
Maali: meeh what i saw usually default values not meeting my hw resources so i want to choose the highest quality possible.)
added on the 2011-09-05 21:15:16 by zden zden
Um, probably not for everything though. Take some demos with textures optimized/limited for its contemporary 640x480 resolution -they mostly make 1080p runs of that demo look absolutely terrible.

Anyway, config files are also nice for personal playlist ease. For lack of a standard command line consensus, I'd take a config file over scripting any day of the week.
added on the 2011-09-05 21:36:37 by Shifter Shifter
its just that fileio costs precious bytes, size matters after all
despite that i dont think this will catch on, but reading the environment for the settings, you could set your environment once and run many demos with the same environment. or do it like party organizers and play records of demos.
added on the 2011-09-06 00:14:12 by vectory vectory
I was thinking about that as well and would be all with zden here. I also agree that it would be a problem for all size limited platforms. Then however, 64kb is almost dead and 99% oft the stuff released nowadays could spare those extra bytes. For 4k, all serious ppl deliver a compatible version anyway.
added on the 2011-09-06 00:41:22 by prost prost
Quote:

its just that fileio costs precious bytes, size matters after all

I really had to double-check if I wasn't lost in a 256b bitfucking thread, but its doesn't appear to be the case. What's your point again? :)

To clarify: demos (and possibly 64ks) with config files are great for personally tweaked playlist bonanzas. Zden's original question seemed like a good moment to bring that up.
added on the 2011-09-06 01:53:39 by Shifter Shifter
hi zden. I totally concur with your thinking -- in an ideal world, applications and amongst that the startup procedure of demos should be controllable by cmdline and UIs should just be a layer-on-top (i.e. most probably another exe).

Down on earth I think that this unfortunately will not happen. although it should ;)

(reason: It's just so much easier to "hack away" if there are no guidelines..)

..and where is that nextgen unix shell I've been discussing with the author of micq ~13 years ago. the one that bridges traditional UIs and shell hacking.

now that one never took off. hopefully it will some day.

/me grabs another glass of wine ;)

this almost feels like a lost cause but geez guys, as much as I like Win32 and Gnome2 as my desktop environments there's so much that can be improved design-wise.

I think that the Amiga designers were way ahead of their time with AREXX IMHO -- not perfect (and maybe too complicated) but definitely the right direction

plus I do realize that f.e. Microsoft nowadays took some steps in that direction but it does not feel simple & free, IMHO. (powershell?)

dunno if I am making any sense here :O

/rant off :-)
added on the 2011-09-06 02:20:52 by xyz xyz
Hey, somebody is clamoring about standards on the internet!

(zden I totally adore your productions, incyber is a masterpiece of design and pacing)
I can implement this in my config file if someone promises to use it ;)
added on the 2011-09-06 22:59:23 by Preacher Preacher

login

Go to top