Software Support > GroovyMAME
CRT Emudriver - Non emulated compatible games
Rion:
Beloved Rapture
Steam
GOG.com
Native res is 426x240
426x240
In loving memory of Sergi Clara (psakhis)
Rion:
Pampas & Selene: The Maze of Demons
Steam
Native res is 960x540
384x216
In loving memory of Sergi Clara (psakhis)
BuckoA51:
@Rion.. Thanks! With your advice I was able to get Andro Dunos 2 working, really appreciate it.
Now, coincidentally I was trying to get Shadow of the Ninja working but I can't make sense of your example code at all.
First of all this line
--- Code: ---"start "" "\""C:\Games\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe\""
--- End code ---
Seems to append a trailing slash in front of the start and the beginning of the line so, in my case the line should be:-
--- Code: ---start "" "\""C:\Program Files (x86)\Steam\steamapps\common\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe\""
--- End code ---
it says
"Windows cannot find \c:\program files etc" .. it shouldn't be "\c:program files" it should be "c:\program files"
REM Set the initial resolution to 480x270 using switchres - This section seems to have Switchres just sit there waiting for me to hit a key.
definitely confused, sorry to be a pain.
Rion:
--- Quote from: BuckoA51 on October 17, 2024, 07:31:31 pm ---@Rion.. Thanks! With your advice I was able to get Andro Dunos 2 working, really appreciate it.
Now, coincidentally I was trying to get Shadow of the Ninja working but I can't make sense of your example code at all.
First of all this line
--- Code: ---"start "" "\""C:\Games\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe\""
--- End code ---
Seems to append a trailing slash in front of the start and the beginning of the line so, in my case the line should be:-
--- Code: ---start "" "\""C:\Program Files (x86)\Steam\steamapps\common\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe\""
--- End code ---
it says
"Windows cannot find \c:\program files etc" .. it shouldn't be "\c:program files" it should be "c:\program files"
REM Set the initial resolution to 480x270 using switchres - This section seems to have Switchres just sit there waiting for me to hit a key.
definitely confused, sorry to be a pain.
--- End quote ---
The issue you're encountering arises because of the use of parentheses (x86) in the path "C:\Program Files (x86)\...
Along with spaces in the directory names. In batch scripts, parentheses are special characters used for grouping commands, and spaces can cause confusion when the path isn't properly handled.
You can fix this by correctly enclosing the entire path in quotes, ensuring it handles both spaces and special characters properly. Here's the correct command:
--- Code: ---start "" "C:\Program Files (x86)\Steam\steamapps\common\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe"
--- End code ---
Another example is special characters like &, #, @, and $ in file paths or file names in batch scripts, you need to handle them carefully because certain characters (like &) have special meaning in the command line.
Example
--- Code: ---Pampas & Selene
--- End code ---
becomes
--- Code: ---Pampas ^& Selene
--- End code ---
BuckoA51:
Nice tip thanks, I didn't know brackets were the cause of any problems on the command line in Windows.
The script still doesn't work for me though as it just halts as soon as switch res is called, this line specifically:-
--- Code: ---c:\ini\switchres.exe 480 270 60 -f 480x270@60 -i C:\ini\switchres.ini -s
--- End code ---
I wondered if there was something in the ini file I was missing that stopped it just sitting there waiting for a key press, but I couldn't see it.
Edit - Here's the script that worked for me..
--- Code: ---REM Change to the directory of the game
cd "C:\Program Files (x86)\Steam\steamapps\common\KAGE Shadow of the Ninja"
REM Set the initial resolution to 480x270 using switchres
switchres.exe 480 270 60 -f 480x270@60 -i switchres.ini -s -k
REM Start the game in a separate process
start "" "C:\Program Files (x86)\Steam\steamapps\common\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe""
REM Wait for 20 seconds before switching resolution
timeout /t 20 /nobreak >nul
REM SET resolution to 480x240 using switchres
switchres.exe 480 240 60 -f 480x240@60 -i switchres.ini -s
REM Optional: Wait for user input before closing the command window
REM pause
--- End code ---
Without the -k on Switchres it just sits there forever doing nothing and won't carry on with the script.
Only problem with this script is that it leaves the PC in 480x240, not great as Switchres usually switches back to whatever res you were using before.
Anyway, it works, though I ended up just leaving the game in 480x270 as that looked far better on my display anyway, and I couldn't see any scroll shimmer or bad scaling at that.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version