Homebrew Retroarch Arcade : Sort games and Screen Resolution configuration files

Wiimpathy

Well-Known Member
OP
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,125
Country
France
Here are Windows and Linux scripts to sort Arcade games and packs containing games resolution config files.


SORTING GAMES

Final Burn Alpha

The script will automatically sort games marked with a 'Working' status in the corresponding platform folder. It's based on fba wii compatibility list.
Only parent roms are copied.

Download this archive : Sort FBA

WINDOWS
========

- Extract the content of the archive in your games directory (with all the .zip files).
- Double click on sortfba.bat.

LINUX
======

- Extract the content of the archive in your games directory (with all the .zip files).
- In terminal launch the script : ./sortfba.sh

MAME 2003/MAME 2000

sort2003 sort games not working in FBA in their corresponding status folder. The status comes from Raspberry3 compat(not very reliable I know!).
sort2000 only sort games not working or untested in Mame2003.
Only parent roms are copied.

Download this archive : Sort MAME

WINDOWS
========

- Extract the content of this archive in the games directory (with all the .zip files).
- Double click on sort2003.bat
- Double click on sort2000.bat


LINUX
======

- Extract the content of this archive in the games directory (with all the .zip files).
- In terminal ./sort2003_linux.sh
- ./sort2000_linux.sh


SCREEN RESOLUTIONS

Download the pack : Arcade resolutions configs

In this pack, there's a configuration file for each game and its 'original' resolution.
Normally, those .cfg files are created when you do Overrides->Save Game Overrides in Retroarch menu.

For each core, there are 2 folders depending of what you want :
LCD : Modern TV. Doubled vertical resolution. For example, 384*448 in Street Fighter II.
CRC : Old TV. Original. 384*224.

By default, game overrides are in /retroarch/CORE_NAME
You have to create this folder first if it doesn't exist by saving a game override for each core in Retroarch or manually.

For example, for Final Burn Alpha, copy FBA/FBA/LCD content in /retroarch/FB Alpha 2012
For Final Burn Alpha CPS1, copy FBA/CPS1/LCD content in /retroarch/FB Alpha 2012 CPS-1
Do the same for the other FBA cores and for the Mame cores.


Game override is only possible on recent retroarch versions. Very old versions (1.0.0..) don't have that option.

The number in the .cfg is the index corresponding to retroarch internal GX resolution.
See GX_Resolutions.txt in Scripts_Datas.zip to know what the number means. GX_RESOLUTIONS_DEFAULT starts at 0. So GX_RESOLUTIONS_608_224 = 9


In Scripts_Datas.zip attached to this post, you'll find all the scripts and datas/lists I've used to generate all of this. Feel free to improve/correct them or just use them to your liking.

Oh by the way, just when I post this, in the latest retroarch stable 1.7.7, the menus are crashing when you change the resolution. Yeah great, good timing. I'll try to report the bug maybe... The last working is 1.7.6 : http://buildbot.libretro.com/stable/1.7.6/nintendo/wii/
EDIT
It's fixed now in the nightly builds: http://buildbot.libretro.com/nightly/nintendo/wii/
 

Attachments

  • Scripts_Datas.zip
    3.2 MB · Views: 528
Last edited by Wiimpathy,

niuus

Well-Known Member
Member
Joined
Mar 4, 2016
Messages
2,023
Trophies
1
XP
4,456
Country
Venezuela
Just in case someone needs a quick guide to the resolutions, here it is:

Code:
GX_RESOLUTIONS_DEFAULT = 0,
GX_RESOLUTIONS_512_192,
GX_RESOLUTIONS_598_200,
GX_RESOLUTIONS_640_200,
GX_RESOLUTIONS_384_224,
GX_RESOLUTIONS_448_224,
GX_RESOLUTIONS_480_224,
GX_RESOLUTIONS_512_224,
GX_RESOLUTIONS_576_224,
GX_RESOLUTIONS_608_224,
GX_RESOLUTIONS_640_224,
GX_RESOLUTIONS_340_232,
GX_RESOLUTIONS_512_232,
GX_RESOLUTIONS_512_236,
GX_RESOLUTIONS_336_240,
GX_RESOLUTIONS_352_240,
GX_RESOLUTIONS_384_240,
GX_RESOLUTIONS_512_240,
GX_RESOLUTIONS_530_240,
GX_RESOLUTIONS_608_240,
GX_RESOLUTIONS_640_240,
GX_RESOLUTIONS_512_384,
GX_RESOLUTIONS_598_400,
GX_RESOLUTIONS_640_400,
GX_RESOLUTIONS_384_448,
GX_RESOLUTIONS_448_448,
GX_RESOLUTIONS_480_448,
GX_RESOLUTIONS_512_448,
GX_RESOLUTIONS_576_448,
GX_RESOLUTIONS_608_448,
GX_RESOLUTIONS_640_448,
GX_RESOLUTIONS_340_464,
GX_RESOLUTIONS_512_464,
GX_RESOLUTIONS_512_472,
GX_RESOLUTIONS_352_480,
GX_RESOLUTIONS_384_480,
GX_RESOLUTIONS_512_480,
GX_RESOLUTIONS_530_480,
GX_RESOLUTIONS_608_480,
GX_RESOLUTIONS_640_480,

Thanks for your work, @Wiimpathy!
 
  • Like
Reactions: RunningSnakes

TheManHimself

Well-Known Member
Newcomer
Joined
Apr 8, 2019
Messages
47
Trophies
0
Age
32
XP
352
Country
United States
This is glorious! Great work. (edit to avoid double post)

One of the games I launched (Joust) doesn't have a cfg file. So using Niuss' post with the list of resolutions as a reference, which resolution ID would I have to put in for a custom config file to display at 512x240?
 
Last edited by TheManHimself,

Wiimpathy

Well-Known Member
OP
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,125
Country
France
Look at the GX_Resolutions.txt in the Scripts_Datas.zip to know which number it is :

GX_RESOLUTIONS_DEFAULT // 0
GX_RESOLUTIONS_512_192 // 1
GX_RESOLUTIONS_598_200
GX_RESOLUTIONS_640_200
GX_RESOLUTIONS_384_224
GX_RESOLUTIONS_448_224
GX_RESOLUTIONS_480_224
GX_RESOLUTIONS_512_224
GX_RESOLUTIONS_576_224
GX_RESOLUTIONS_608_224
GX_RESOLUTIONS_640_224
GX_RESOLUTIONS_340_232
GX_RESOLUTIONS_512_232
GX_RESOLUTIONS_512_236
GX_RESOLUTIONS_336_240
GX_RESOLUTIONS_352_240
GX_RESOLUTIONS_384_240
GX_RESOLUTIONS_512_240 // 17
GX_RESOLUTIONS_530_240
GX_RESOLUTIONS_608_240
GX_RESOLUTIONS_640_240
GX_RESOLUTIONS_512_384
GX_RESOLUTIONS_598_400
GX_RESOLUTIONS_640_400
GX_RESOLUTIONS_384_448
GX_RESOLUTIONS_448_448
GX_RESOLUTIONS_480_448
GX_RESOLUTIONS_512_448
GX_RESOLUTIONS_576_448
GX_RESOLUTIONS_608_448
GX_RESOLUTIONS_640_448
GX_RESOLUTIONS_340_464
GX_RESOLUTIONS_512_464
GX_RESOLUTIONS_512_472
GX_RESOLUTIONS_352_480
GX_RESOLUTIONS_384_480
GX_RESOLUTIONS_512_480
GX_RESOLUTIONS_530_480
GX_RESOLUTIONS_608_480
GX_RESOLUTIONS_640_480 // 39

As you can see it goes from 0 to 39. So 512*240 = 17
EDIT:
It may be easier to display the above list in a text editor wich displayed line numbers. You chose the resolution you want, look at the line number and substract by 1 since it starts at 0.

There's no joust cfg because it's one of the game having a resolution not supported in retroarch wii. The original resolution is 292*240 so that gives a doubled horizontal of 584...
 
Last edited by Wiimpathy,

LumInvader

Well-Known Member
Member
Joined
Mar 30, 2013
Messages
702
Trophies
1
XP
1,784
Country
United States
There's no joust cfg because it's one of the game having a resolution not supported in retroarch wii. The original resolution is 292*240 so that gives a doubled horizontal of 584...
Joust needs to be set @ 608x240 with a 584x240 custom viewport to display correctly.

Using my personal .cfg as an example:

current_resolution_id = "19"
video_smooth = "false"
aspect_ratio_index = "23"
custom_viewport_x = "18"
custom_viewport_y = "0"
custom_viewport_width = "584"
custom_viewport_height = "240"
 

METALIGALO

Member
Newcomer
Joined
Jun 30, 2018
Messages
22
Trophies
0
Age
43
XP
406
Country
Brazil
great work!!!

is there any resolution or configuration that fixes image problems in mortal kombat games on crt? here I position the resolution 608x224 but unfortunately I have to activate the bilinear filter for the crt does not display the problems in the image
 

xaviersaverio

Active Member
Newcomer
Joined
Feb 19, 2019
Messages
33
Trophies
0
Age
51
XP
411
Country
France
Thanks a lot @Wiimpathy.
I couldn't find any configuration file for R-Type. Is it because its resolution is not supported in Retroarch Wii like Joust above?
Does anyone have a custom viewport setting like @LumInvader did for Joust?
Note: I'm using a CRT TV.
 
Last edited by xaviersaverio,

comokepa

Well-Known Member
Member
Joined
Feb 6, 2013
Messages
135
Trophies
1
Age
47
XP
850
Country
Here are Windows and Linux scripts to sort Arcade games and packs containing games resolution config files.
With CPS-1 & CPS-2, using the resolution config files for CTR (which puts them at their native
384×224px), the retroarch menu comes up garbled to a point that it is unusable. Any workaround even if only for exiting the game?
 

Wiimpathy

Well-Known Member
OP
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,125
Country
France
Yes, you can still use 0.6 but that's only for NeoGeo and CPS3 right?
My builds are tested and working(generally!).
Note that my changes have been merged in Retroarch. You can use their official builds too.

Bu you asked for CPS1 and CPS2. I haven't touched any of these cores. Try the latest stable or the nightly builds for that.
 

comokepa

Well-Known Member
Member
Joined
Feb 6, 2013
Messages
135
Trophies
1
Age
47
XP
850
Country
Ouch! Indeed, I thought they had come from your FBA-VM 0.6 build but they obviously did not. Thanks.
 

Exidous

Well-Known Member
Member
Joined
Mar 2, 2021
Messages
322
Trophies
0
Age
44
XP
697
Country
United States
At the moment, the OP Sort FBA archive (bat) omits the NEOGEO_FBA.txt games in its FBA_LISTS. It doesn't make a neogeo directory. Attached is my quick edit to create and sort that folder (change txt to bat).
 

Attachments

  • sortfba.txt
    1.5 KB · Views: 120

pankos

Member
Newcomer
Joined
Nov 29, 2022
Messages
15
Trophies
0
Age
41
XP
167
Country
Finland
At the moment, the OP Sort FBA archive (bat) omits the NEOGEO_FBA.txt games in its FBA_LISTS. It doesn't make a neogeo directory. Attached is my quick edit to create and sort that folder (change txt to bat).
I can confirm, Windows utility does not make neogeo folder.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: :discuss: