Retroarch Arcade : Sort games and Screen Resolution configuration files

Discussion in 'Wii - Emulation and Homebrew' started by Wiimpathy, May 10, 2019.

  1. Wiimpathy
    OP

    Wiimpathy GBAtemp Advanced Fan

    Member
    7
    Mar 3, 2010
    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/
     

    Attached Files:

    Last edited by Wiimpathy, May 10, 2019
  2. niuus

    niuus GBAtemp Advanced Fan

    Member
    6
    Mar 4, 2016
    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!
     
    RunningSnakes likes this.
  3. Valken

    Valken Member

    Newcomer
    1
    Jul 27, 2016
    Italy
    Thank you Wiimpathy, great work!
     
  4. TheManHimself

    TheManHimself Member

    Newcomer
    1
    Apr 8, 2019
    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, May 11, 2019
  5. Wiimpathy
    OP

    Wiimpathy GBAtemp Advanced Fan

    Member
    7
    Mar 3, 2010
    France
    Look at the GX_Resolutions.txt in the Scripts_Datas.zip to know which number it is :

    Warning: Spoilers inside!

    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, May 11, 2019
  6. LumInvader

    LumInvader GBAtemp Fan

    Member
    4
    Mar 30, 2013
    United States
    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"
     
  7. METALIGALO

    METALIGALO Newbie

    Newcomer
    2
    Jun 30, 2018
    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
     
Loading...