arrm_relooked_en:sort_gamelist_en_relooked



Sort the gamelist.xml on different criteria

In Retropie (since 2018) and Batocera (since v43 in 2026), it is possible to sort the gamelist.xml using the <sortname> tag.

ARRM offers a database sorting module based on 5 possible criteria.

When a sort is applied to the database, upon saving the gamelist.xml, ARRM will create the <sortname> tag with an index (example: <sortname>002 =- City Defender</sortname>) thus allowing the sorted gamelist.xml to be displayed in EmulationStation.


Procedure

  • Select the system (only one) then click on Display

When the Database is filled with the found Roms,

  • Click on the button 'Sorting the database'

A form opens where you can select your sorting criteria.

Click on 'OK' to validate the criteria or 'Delete Criteria' to delete them.

  • Save your gamelist.xml by clicking on 'Create gamelist.xml'

Your gamelist.xml will then have a new <sortname> tag like in the example below:

 <game>
   <path>./Berzerk.bin</path>
    <name>Berzerk</name>
    <sortname>022 =- Berzerk</sortname>
    <desc>Berzerk is a video game developed by Stern Electronics, released in 1980 on an arcade terminal. The player controls a humanoid in labyrinthine multi-picture environments viewed from above. He must progress by eliminating an army of belligerent robots. It is a precursor to run and gun, which notably influenced the design of Robotron: 2084. The game presents innovative gameplay features (including multi-directional shooting) and production with synthetic voices.</desc>
    <rating>0.8</rating>
    <releasedate>20020101T000000</releasedate>
    <developer>Stern Electronics, Inc.</developer>
    <publisher>AtariAge</publisher>
    <genre>action</genre>
    <players>1-2</players>
    <image>./downloaded_images/Berzerk_screenscraper_mix_arrm.png</image>
    <thumbnail>./downloaded_images/Berzerk_screenscraper_boxart_arrm.png</thumbnail>
    <marquee>./downloaded_images/Berzerk_screenscraper_wheel_arrm.png</marquee>
    <video>./videos/Berzerk_screenscraper_video_arrm.mp4</video>
    <playcount>0</playcount>
  </game>



If you want to remove this sort. Return to the sorting module, delete the sorting then save your gamelist.xml again
If you want to remove the <sortname> tag from the gamelist.xml, check the 'No sortname tag' box in the 'Gamelist Options' tab
When the <sortname> tab is filled in, quick access via the index in EmulationStation is done on this tag and no longer on the name of the game.

Incorrect display of game lists in Batocera v43

Batocera introduced the <sortname> tag in its game lists starting with version V43 (January 2026)\

ARRM has been using this tag since November 2018, as Retropie was the only one using it at the time.\

This tag allows you to change the display order of the game list in the interface.

You may encounter display problems with your game lists in Batocera if you have applied a sort to your ARRM database other than by title.

Three solutions:

  • Sort your game list via the ARRM database by clicking on the desired column name (usually “Game Title”) to apply an ascending or descending sort, then save your list.
  • Uncheck the Sortname box in the Gamelist tab, under the Select which textual TAGs you want in your gamelist.xml panel or check Remove sortname Tag in the Gamelist tab (<sortname> tag will be removed from the gamelist.xml)
If you wish to keep the <sortname> tag modified via the Batocera frontend, do the following before launching ARRM, so that ARRM takes into account the <sortname> tag present in the gamelist.xml file generated by the Batocera frontend:
  • Edit the file %appdata%\Nexouille Soft\arrm\Database\gamelist_arrm_tags.txt and delete the line: sortname
  • Uncheck the Sortname checkbox in the Gamelist tab, under the Select the text tags you want in your gamelist.xml panel
arrm_relooked_en/sort_gamelist_en_relooked.txt · Dernière modification : de nexusone13