Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: CRT Emudriver - Non emulated compatible games  (Read 105380 times)

0 Members and 1 Guest are viewing this topic.

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #280 on: August 29, 2024, 05:15:16 pm »
Toxic Tomb

locomalito.com
Toxic Tomb


248x192 Native Res

Before you start the game for the first time in 248x192p do the following

Screen Mode: Fullscreen
Scaling: Stretched
Crt Filter: Off
Frame: No Frame


Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:October 19, 2024, 01:23:13 pm
    • Eiusdemmodi
Re: CRT Emudriver - Non emulated compatible games
« Reply #281 on: August 29, 2024, 05:56:43 pm »
Hey, Rion, you didn't answer this, please:

So I wonder, for something like Guilty Gear X, do you also downscale it to 15-kHz progressive?

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:October 19, 2024, 01:23:13 pm
    • Eiusdemmodi
Re: CRT Emudriver - Non emulated compatible games
« Reply #282 on: August 29, 2024, 06:11:40 pm »
I can pick as many samples as you need!


Edited for better formatting. The question is regarding 640 * 480 graphics, in case.








« Last Edit: August 29, 2024, 06:48:49 pm by Recapnation »

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 331
  • Last login:October 16, 2024, 03:55:07 pm
  • I want to build my own arcade controls!
Re: CRT Emudriver - Non emulated compatible games
« Reply #283 on: August 30, 2024, 03:45:02 am »
I think Natsume games are all 480x270.

Wild guns reloaded, Poky & Roky and Ninja warriors, have 4/3 ration option (Ratio 100%) But window remains 16/9 with bezels.
So I set the screen rsolution to 427x270.
Launch the game windowed at 480x270 and set Ratio and scale to 100%.
I create a false fullscreen and move to -27,0 with ahk, something like:

Code: [Select]
run Game.exe
WinWait, ahk_exe Game.exe
WinSet, Style, -0xc40000, ahk_exe Game.exe,
WinMove, ahk_exe Game.exe, , -27, 0, 480, 270

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #284 on: August 30, 2024, 06:52:14 am »
I think Natsume games are all 480x270.

Wild guns reloaded, Poky & Roky and Ninja warriors, have 4/3 ration option (Ratio 100%) But window remains 16/9 with bezels.
So I set the screen rsolution to 427x270.
Launch the game windowed at 480x270 and set Ratio and scale to 100%.
I create a false fullscreen and move to -27,0 with ahk, something like:

Code: [Select]
run Game.exe
WinWait, ahk_exe Game.exe
WinSet, Style, -0xc40000, ahk_exe Game.exe,
WinMove, ahk_exe Game.exe, , -27, 0, 480, 270

Interesting.. Would you mind posting your script instead of an example?

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 331
  • Last login:October 16, 2024, 03:55:07 pm
  • I want to build my own arcade controls!
Re: CRT Emudriver - Non emulated compatible games
« Reply #285 on: August 31, 2024, 03:38:19 am »
I have an ahk for all pc games, and I pass it parameters from xml to automatize things. But there is the relevant part for this game:

exeName = The Ninja Saviors Return of the Warriors

SetWorkingDir, C:/UTILS/switchres
run, C:/UTILS/switchres/switchres.exe -s -k 424 270 52.778
Sleep, 1000
run, E:\Microsoft Windows\ninja saviors - return of the warriors/%exeName%.exe
Sleep, 500
WinSet, Style, -0xc40000, ahk_exe %exeName%.exe,
WinMove, ahk_exe %exeName%.exe, , -28, 0, 480, 270

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #286 on: August 31, 2024, 04:01:29 pm »
I have an ahk for all pc games, and I pass it parameters from xml to automatize things. But there is the relevant part for this game:

exeName = The Ninja Saviors Return of the Warriors

SetWorkingDir, C:/UTILS/switchres
run, C:/UTILS/switchres/switchres.exe -s -k 424 270 52.778
Sleep, 1000
run, E:\Microsoft Windows\ninja saviors - return of the warriors/%exeName%.exe
Sleep, 500
WinSet, Style, -0xc40000, ahk_exe %exeName%.exe,
WinMove, ahk_exe %exeName%.exe, , -28, 0, 480, 270

Thanks!  :)

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #287 on: August 31, 2024, 04:07:31 pm »
Kitsune Tails

Steam
Kitsune Tails


480x270 is the Native Res

Looks very nice and crisp in
384x216

Before you start the game for the first time in 384x216p do the following

Fullscreen: ON
Vsync: ON
Scaling: Fill




Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #288 on: September 02, 2024, 03:49:36 pm »
Volgarr the Viking II


Volgarr the Viking II (Steam)


Volgarr the Viking II (GOG.com)


320x240

Display Mode: Fullscreen
Scaling Filter: Point


In-Game scales well and looks nice.
Sadly on the first level the hints being displayed on-screen don't scale to well but that's about it..



« Last Edit: September 02, 2024, 04:10:31 pm by Rion »

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:October 19, 2024, 01:23:13 pm
    • Eiusdemmodi
Re: CRT Emudriver - Non emulated compatible games
« Reply #289 on: September 03, 2024, 07:47:23 pm »
Volgarr, the Viking II mixes assets at different resolutions:



...which normally implies the game's graphics are moved on screen accordingly to the biggest resolution used by them and who knows if even hitboxes respond to this and whatnot.

But if you still want to downscale them, do it with some sense and stop at the lowest resolution used by the assets, which in this case is a CRT-friendly 640 * 360 mode (640 * 480 with borders):




In other words, if you still insist in destroying dot art by randomly subscaling it with no other purpose than forcing it to 15-kHz progressive whatever it takes, and telling everybody here, please, at least couple it with a line telling the people as well you're doing that and which is the original assets resolution, since 24 and 31-kHz monitors do exist and many people, not only have them, guess what -- freaking use them! The idea that this thread is for 15-kHz progressive only or that dot art "looks nice" when downscaled beyond its design resolution is pretty much made up by yourself.


Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #290 on: September 05, 2024, 02:11:41 am »
Volgarr, the Viking II mixes assets at different resolutions:



...which normally implies the game's graphics are moved on screen accordingly to the biggest resolution used by them and who knows if even hitboxes respond to this and whatnot.

But if you still want to downscale them, do it with some sense and stop at the lowest resolution used by the assets, which in this case is a CRT-friendly 640 * 360 mode (640 * 480 with borders):




In other words, if you still insist in destroying dot art by randomly subscaling it with no other purpose than forcing it to 15-kHz progressive whatever it takes, and telling everybody here, please, at least couple it with a line telling the people as well you're doing that and which is the original assets resolution, since 24 and 31-kHz monitors do exist and many people, not only have them, guess what -- freaking use them! The idea that this thread is for 15-kHz progressive only or that dot art "looks nice" when downscaled beyond its design resolution is pretty much made up by yourself.

320x180
Half of
640x360

But need to test after work..

Instead of getting upset just because I want them displayed in progressive res instead of interlaced. Contribute and say how you think it should be displayed instead.

Like you did just now.

I agree there is no right or wrong. It's a personal opinion.



« Last Edit: September 05, 2024, 02:21:20 am by Rion »

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:October 19, 2024, 01:23:13 pm
    • Eiusdemmodi
Re: CRT Emudriver - Non emulated compatible games
« Reply #291 on: September 05, 2024, 07:11:08 am »
Quote
Instead of getting upset just because I want them displayed in progressive res instead of interlaced.

Don't get me wrong. I'm not upset about whatever pap you particularly want to do at your holy place. I'm upset because you're spreading misinformation, despite your will to help out. This is likely the only thread on the non-volatile internet where restoring design resolution of contemporay games with 2-D graphics is discussed and explained, and it'd be advisable to have it done with some technical rigour instead of a "just for fun"-like attempt, you know. I've even been approached by game devs to get some knowhow on this matter (yes, there're still some out there who care about CRTs!) and leading them here would have been an embarrassment if they found out that the people are doing something as antithetical as downscaling the graphics beyond their design resolution.

I'm also upset about having to explain elementary stuff, should I say. There's no "personal opinion" when I state that dot art is ruined when you downscale below its design (native) resolution. If you have x * y actual pixels and you get them down to, say, x/2 * y/2, you're halving the picture on both axes to get a freaking quarter out of it. It doesn't matter if filtering is applied in the process, the picture's integrity is crushed. And this is even without entering the territory of scrolling, sprite positioning and hitboxes, as I understand it goes a bit beyond the elementary. Ruining stuff is no good, you know. Especially when other proper, natural solutions exist. You're free, obviously, of still wanting every freaking thing on a 15-kHz progressive display because you don't like interlacing, or your VGA monitor is too tiny, or too far from your arcade stick; whatever. Just, please, do not present that as a fine thing to do instead of the abomination it is. Many eventual visitors trying to learn on the subject here may get a far-too-incorrect idea -- this is a subforum born to get graphics properly displayed fighting whatever technological hindrances are there, after all.


Quote
Contribute and say how you think it should be displayed instead.

Believe me, I've already well done my part. Anyway, I'm giving hints basically every day here, I think I've mentioned it before:

http://postback.geedorah.com/foros/viewforum.php?id=1

Screenshots get always posted after proper downscaling to get 1 : 1 graphics, if applicable (and if the source allows it). (Also, don't mind the lack of HTTPS; it's safe.) Today's sample. Yesterday's. Monday's. Sunday's. Kage's remake as soon as 08.08. Forthcoming hits nobody else talks about. You name it.
« Last Edit: September 05, 2024, 06:31:28 pm by Recapnation »

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 465
  • Last login:September 24, 2024, 11:54:25 am
  • I want to build my own arcade controls!
Re: CRT Emudriver - Non emulated compatible games
« Reply #292 on: September 09, 2024, 02:06:59 pm »
Keep calm.

Thread was proposed to centralize those pc games that can work well at 15khz.

Resolution is something that is not always achieved because we do not have the same opinion, examples:
  A) I prefer any 240p to 480i even i know isn't the correct modeline
  B) Aspect ratio 16:9 vs 4:3. Some games are 640x360, so do any conversion to 854x480 is a hack to avoid black borders
  C) Pixel perfect vs vertical freq. A lot of games have 270 vertical lines, so isn't possible maintain 60hz. In my opinion i prefer crop that modeline to 240p and keep 60hz.
  D)...

I take this opportunity to comment that I will try to update thread with the latest contributions, which for me are very appreciated every time someone contributes a new title.

« Last Edit: September 09, 2024, 05:23:08 pm by psakhis »

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:October 19, 2024, 01:23:13 pm
    • Eiusdemmodi
Re: CRT Emudriver - Non emulated compatible games
« Reply #293 on: September 09, 2024, 06:33:20 pm »
So it was a just-for-fun approach, after all. Enjoy, then.

grendelrt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:November 07, 2024, 03:41:38 pm
  • I want to build my own arcade controls!
Re: CRT Emudriver - Non emulated compatible games
« Reply #294 on: September 15, 2024, 04:03:00 pm »
I have an ahk for all pc games, and I pass it parameters from xml to automatize things. But there is the relevant part for this game:

exeName = The Ninja Saviors Return of the Warriors

SetWorkingDir, C:/UTILS/switchres
run, C:/UTILS/switchres/switchres.exe -s -k 424 270 52.778
Sleep, 1000
run, E:\Microsoft Windows\ninja saviors - return of the warriors/%exeName%.exe
Sleep, 500
WinSet, Style, -0xc40000, ahk_exe %exeName%.exe,
WinMove, ahk_exe %exeName%.exe, , -28, 0, 480, 270
I was doing this for Wild Guns Reloaded and there are also some registry settings for resolution, do you have those set as 424 270?

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #295 on: September 16, 2024, 09:30:17 am »
Fading Afternoon

Steam
Fading Afternoon


240x135 1x Window Size

Haven't figured out a good res. So I'm leaving this as is until I do so..

Edit:
240x240 Letter-boxed




« Last Edit: September 16, 2024, 09:44:13 am by Rion »

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #296 on: September 16, 2024, 06:03:17 pm »
Fallen Leaf

Steam
Fallen Leaf

480x270 is the Native Resolution.

This one was a little bit tricky.
You need to boot up in 480x270 but when the title screen appears then you switch to
480x240





Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #297 on: September 17, 2024, 12:12:13 pm »
Ara Fell: Enhanced Edition

Ara Fell is a 2016 role-playing video game developed by Stegosoft Games.
This enhanced edition of the game was published by Dangen Entertainment in March 2020.

Don't miss out on this. It's a really nice classic RPG.


Steam
Ara Fell: Enhanced Edition

GOG.com
Ara Fell: Enhanced Edition


320x240 or 426x240@60 same as Rise of the Third Power from the same developer.




« Last Edit: September 17, 2024, 12:20:07 pm by Rion »

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #298 on: September 18, 2024, 09:34:21 am »
The Last Faith

Steam
The Last Faith

GOG.com
The Last Faith


854x480 16:9 to 4.3







Meifumado

854x480 16:9 to 4.3
720x480@60 16:9 Letter-boxed

Steam
Meifumado






Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #299 on: September 18, 2024, 05:28:42 pm »
Iron Meat

Tested the Demo

Release Date: 26 Sep, 2024

Native res is according to the devs themself 1152х648

384x216
or
384x240@60

Steam
Iron Meat





Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #300 on: September 27, 2024, 05:24:46 am »
Castlevania ReVamped

Native res is 400х224

400x224

Version 1.1.1 (Latest)
Google Drive Link (Windows)
Google Drive Link (Linux Ubuntu)

Open-Source Edition
Castlevania ReVamped







Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #301 on: September 27, 2024, 10:27:56 am »
Dumpy and Bumpy

Steam
Dumpy and Bumpy

GOG.com
Dumpy and Bumpy

Native res is 424x240

424x240






BuckoA51

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:October 31, 2024, 09:34:54 am
  • I want to build my own arcade controls!
Re: CRT Emudriver - Non emulated compatible games
« Reply #302 on: September 30, 2024, 07:29:08 pm »
Trying to get Andro Dunos 2 to work and the darn thing has a space in the filename.

No matter what I try I can't seem to get switchres to like it.. I've tried

switchres -s 320 240 60 -l ""andro dunos ii.EXE""
switchres -s 320 240 60 -l "andro dunos ii.EXE"

even

switchres -s 320 240 60 -l "C:\Program Files (x86)\Steam\steamapps\common\andro dunos ii.EXE"
switchres -s 320 240 60 -l ""C:\Program Files (x86)\Steam\steamapps\common\andro dunos ii.EXE""

Always I get "too many arguments" or "andro is not recognised as an internal or external commmand blah blah"

Someone put me out of my misery lol ::)


Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #303 on: October 04, 2024, 08:00:54 am »
Trying to get Andro Dunos 2 to work and the darn thing has a space in the filename.

No matter what I try I can't seem to get switchres to like it.. I've tried

switchres -s 320 240 60 -l ""andro dunos ii.EXE""
switchres -s 320 240 60 -l "andro dunos ii.EXE"

even

switchres -s 320 240 60 -l "C:\Program Files (x86)\Steam\steamapps\common\andro dunos ii.EXE"
switchres -s 320 240 60 -l ""C:\Program Files (x86)\Steam\steamapps\common\andro dunos ii.EXE""

Always I get "too many arguments" or "andro is not recognised as an internal or external commmand blah blah"

Someone put me out of my misery lol ::)

How I do it

Code: [Select]
@echo off
REM Change to the directory of the game
cd "C:\Games\Andro Dunos II"

REM Start switchres.exe with the specified arguments
c:\ini\switchres.exe 320 240 60 -f 320x240@60 -i C:\ini\switchres.ini -s -l "\"C:\Games\Andro Dunos II\andro dunos ii.EXE\""

For you it should be something like

Code: [Select]
@echo off
REM Change to the directory of the game
cd "C:\Program Files (x86)\Steam\steamapps\common\Andro Dunos II"

REM Start switchres.exe with the specified arguments
switchres.exe 320 240 60 -f 320x240@60 -s -l "\"C:\Program Files (x86)\Steam\steamapps\common\Andro Dunos II\andro dunos ii.EXE\""

In your example you also forgot the game folder Andro Dunos II..
« Last Edit: October 04, 2024, 08:02:59 am by Rion »

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #304 on: October 12, 2024, 09:26:41 am »
Example how to switch the resolution once the game has started.

For games like Teenage Mutant Ninja Turtles: Shredders Revenge & Shadow of the Ninja - Reborn
Code: [Select]
@echo off
REM Change to the directory of the game
cd "C:\Games\KAGE Shadow of the Ninja"

REM Set the initial resolution to 480x270 using switchres
c:\ini\switchres.exe 480 270 60 -f 480x270@60 -i C:\ini\switchres.ini -s

REM Start the game in a separate process
start "" "\""C:\Games\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 Switch resolution to 480x240 after 20 seconds
c:\ini\switchres.exe 480 240 60 -f 480x240@60 -i C:\ini\switchres.ini -s

REM Optional: Wait for user input before closing the command window
REM pause

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #305 on: October 13, 2024, 05:21:16 pm »
Beloved Rapture

Steam

GOG.com

Native res is 426x240

426x240









In loving memory of Sergi Clara (psakhis)

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #306 on: October 15, 2024, 10:39:41 am »
Pampas & Selene: The Maze of Demons

Steam

Native res is 960x540

384x216








In loving memory of Sergi Clara (psakhis)

BuckoA51

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:October 31, 2024, 09:34:54 am
  • I want to build my own arcade controls!
Re: CRT Emudriver - Non emulated compatible games
« Reply #307 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: [Select]
"start "" "\""C:\Games\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe\""
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: [Select]
start "" "\""C:\Program Files (x86)\Steam\steamapps\common\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe\""
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #308 on: October 18, 2024, 08:36:17 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: [Select]
"start "" "\""C:\Games\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe\""
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: [Select]
start "" "\""C:\Program Files (x86)\Steam\steamapps\common\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe\""
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.

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: [Select]
start "" "C:\Program Files (x86)\Steam\steamapps\common\KAGE Shadow of the Ninja\KAGE Shadow of the Ninja.exe"
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: [Select]
Pampas & Selene becomes
Code: [Select]
Pampas ^& Selene

BuckoA51

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:October 31, 2024, 09:34:54 am
  • I want to build my own arcade controls!
Re: CRT Emudriver - Non emulated compatible games
« Reply #309 on: October 19, 2024, 08:34:35 am »
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: [Select]
c:\ini\switchres.exe 480 270 60 -f 480x270@60 -i C:\ini\switchres.ini -s
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: [Select]
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

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.
« Last Edit: October 19, 2024, 01:02:03 pm by BuckoA51 »

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #310 on: October 22, 2024, 02:30:02 pm »
The script still doesn't work for me though as it just halts as soon as switch res is called, this line specifically:-

Code: [Select]
c:\ini\switchres.exe 480 270 60 -f 480x270@60 -i C:\ini\switchres.ini -s

Yeah sorry about that.. That's my path to the my ini file.
Yours might be different depending on where it is located.

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.

480x270 is not quite 60hz but around 55.670103Hz so I would try and avoid using that mode.


Edit - Here's the script that worked for me..

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.

You should not use -k since that will keep the resolution in memory until you reboot and that is also why it leaves the PC in 480x240.

Here is a more refined one.. Try this

Code: [Select]
@echo off
REM Change to the directory of the game
cd "C:\Games\KAGE Shadow of the Ninja"

REM Start the game with switchres and launch it in a separate process
start "" c:\ini\switchres.exe 480 270 60 -f 480x270@60 -i C:\ini\switchres.ini -s -l "\"C:\Games\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 Switch resolution to 480x240 after 20 seconds
c:\ini\switchres.exe 480 240 60 -f 480x240@60 -i C:\ini\switchres.ini -s

REM Optional: Wait for user input before closing the command window
REM pause

Here the batch file changes to the correct directory for the game.
Launches it in a separate window with -s (Switch) & -l (launch)

Waits 20 second before switching to 480x240p


Remember
Start the game first without using the batch file
Set Screen Mode to Borderless.
Exit the game.

Start up using the batch file again.
Wait until it switches to 480x240p.
Go in to the options and Set Screen Mode to Fullscreen.

This has to be done every time but will make the game display correctly in 480x240p.

If you still have issue then do a quick restarts and try again.

Rion

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 114
  • Last login:November 06, 2024, 06:48:21 am
  • 240p, 480i
Re: CRT Emudriver - Non emulated compatible games
« Reply #311 on: October 29, 2024, 08:11:41 am »
Vengeance Hunters

Steam

Native res is 640x448 Integer Scaled

Downscaled 50% will output a native NeoGeo res of
320x224

Do the following for the first time before downscaling
Option->Display->
Fullscreen: ON
Scaling: Integer






In loving memory of Sergi Clara (psakhis)