VOGONS


First post, by tomexplodes

User metadata
Rank Member
Rank
Member

Title. I found nircmd at one point, which lets me change res via a batch file, the problem is I'd do something like

nircmd setdisplay 800x600x16
mageslay.exe
nircmd setdisplay 800x600x32

and it would WORK but it did all three of those things in rapid succession, so it skipped the whining but went right back to 32bit color.

If there's no way to do it, that's totally fine, but I figured it couldn't hurt to check. Thanks!

- Tom

1.) Windows 98SE with Unofficial SP3, AMD Athlon 1.3ghz, 768mb RAM, Geforce 4 MX 440 64mb AGP, Sound Blaster Live! Value
2.) MS-DOS 6.22, Pentium 90mhz, 16mb RAM, S3 Trio64, Sound Blaster Pro 2.0

Reply 2 of 3, by Falcosoft

User metadata
Rank Oldbie
Rank
Oldbie
tomexplodes wrote on 2020-07-08, 18:39:
Title. I found nircmd at one point, which lets me change res via a batch file, the problem is I'd do something like […]
Show full quote

Title. I found nircmd at one point, which lets me change res via a batch file, the problem is I'd do something like

nircmd setdisplay 800x600x16
mageslay.exe
nircmd setdisplay 800x600x32

and it would WORK but it did all three of those things in rapid succession, so it skipped the whining but went right back to 32bit color.

If there's no way to do it, that's totally fine, but I figured it couldn't hurt to check. Thanks!

- Tom

You should use 'start' command with /w[ait] option to execute your program. This way your batch file (and thus 'nircmd setdisplay 800x600x32') will wait for your game to exit.

nircmd setdisplay 800x600x16
start /w mageslay.exe
nircmd setdisplay 800x600x32

Website, Facebook, Youtube
Falcosoft Midi Player + Munt VSTi + BassMidi VSTi topic

Reply 3 of 3, by tomexplodes

User metadata
Rank Member
Rank
Member
Falcosoft wrote on 2020-07-08, 20:40:
You should use 'start' command with /w[ait] option to execute your program. This way your batch file (and thus 'nircmd setdispla […]
Show full quote
tomexplodes wrote on 2020-07-08, 18:39:
Title. I found nircmd at one point, which lets me change res via a batch file, the problem is I'd do something like […]
Show full quote

Title. I found nircmd at one point, which lets me change res via a batch file, the problem is I'd do something like

nircmd setdisplay 800x600x16
mageslay.exe
nircmd setdisplay 800x600x32

and it would WORK but it did all three of those things in rapid succession, so it skipped the whining but went right back to 32bit color.

If there's no way to do it, that's totally fine, but I figured it couldn't hurt to check. Thanks!

- Tom

You should use 'start' command with /w[ait] option to execute your program. This way your batch file (and thus 'nircmd setdisplay 800x600x32') will wait for your game to exit.

nircmd setdisplay 800x600x16
start /w mageslay.exe
nircmd setdisplay 800x600x32

That's perfect! Thank you so much!

Er, once I took out the Xs anyway, haha. Thanks again!

1.) Windows 98SE with Unofficial SP3, AMD Athlon 1.3ghz, 768mb RAM, Geforce 4 MX 440 64mb AGP, Sound Blaster Live! Value
2.) MS-DOS 6.22, Pentium 90mhz, 16mb RAM, S3 Trio64, Sound Blaster Pro 2.0