Stock OS Practical Guide - cbepx-me/Anbernic-H700-RG-xx-StockOS-Modification GitHub Wiki
"Expert"
mode
Tip:
- Starting from RG35xx H 20240330 and RG35xx PLUS 20240401, added "Expert mode" function (located in the App Center)
- This tutorial takes adding the "Sega 32X" emulator as an example.
1. Things that need to be prepared in advance
(1) The emulator core file corresponding to Retroarch
- The core file needs to be suitable for the corresponding emulator and system. The emulator core file used by the "Sega 32X" emulator is "picodive_libretro. so"
- Some core files already exist in the official system and can be used directly, such as the "picoderiv_libretro. so" required in this tutorial, and some require finding suitable files on your own
(2) Emulator loading script file 'launch. sh'
- This file is responsible for launching Retroarch and loading core and game files
- You can create files yourself by following the examples in this tutorial, or you can use files created by others
2. Example of "launch. sh"
Explanation:
Normally, only the "RA-CORE" parameter in the example needs to be modified, which corresponds to the core file name of the emulator. Note that in the example, the file is saved in the same folder as "launch. sh" by default
Tip:
- You can use the content between the "——" dividing line (excluding the dividing line itself) as the content of the "launch. sh" script file
- Please use a suitable text editor to create a script file, such as "Notepad++"
- Please write in UNIX format and do not use Chinese punctuation and full width characters
3. Start addition
(1) Create a new emulator folder
- Please connect the TF1 or TF card to the computer through a card reader, or access the storage card through SSH or other methods. Note that TF1 corresponds to "/mnt/mmc", and TF corresponds to "/mnt/sdcard"
- The folder can be established anywhere in the TF1 or TF game partition. It is recommended to create a new emulator folder in the default "Emu" folder provided in the root directory to distinguish and locate games
- The folder name can be arbitrary. It is recommended to use a name that represents the characteristics of the emulator, such as "32X"
(2) Copy files Please copy the following necessary files to the newly created emulator folder:
- Emulator core file, for example: "picoderiv_libretro. so"
- The prepared startup script file "launch. sh"
- Game ROM files and other related files
(3) Start up and run the game After completing the above steps, you can insert the card and start up. On the main interface, enter the "Application Center", run "Expert", select the corresponding TF1 or TF, and enter the newly created emulator folder. Under normal circumstances, you will only see the game ROM file, and the copied core file and loading script file will be automatically hidden. Choose to run the game and test whether the emulator is running properly.
4. Some special function descriptions
(1) Emulator game preview function
- The default name of the game preview folder is "Imgs". Note that the first letter of the folder is the uppercase English letter "I", not the Arabic numeral "1". This folder will be automatically hidden in the game list
- This folder needs to be located in the newly created emulator folder by default. In this tutorial, it is called "32X/Imgs"
- The game preview image file is in "png" format, with a ratio of 4/3 (non 4/3 ratios will be forcibly scaled to 4/3), and the file name needs to be the same as the corresponding game ROM
(2) Emulator special folder
- The Expert mode provides two special folders, "res" and "data", by default. These two folders, like "Imgs", can be placed in the newly created emulator folder and will be automatically hidden
- The design purpose of these two special folders is to be suitable for certain special emulators or personal needs, such as saving files that are needed by emulators but do not need to be displayed
- These two folders are not mandatory to exist