Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
modify_the_system_while_it_s_running [2020/10/12 17:47] lbrpdxmodify_the_system_while_it_s_running [2021/04/09 14:29] – [Other system files] edited the location of the exemple, as python3.9 is used nowadays. fishou
Line 1: Line 1:
- 
 ====== Modify the system while it's running ====== ====== Modify the system while it's running ======
 By default, batocera.linux is like a firmware. It's a file called ''/boot/batocera''. By default, batocera.linux is like a firmware. It's a file called ''/boot/batocera''.
Line 6: Line 5:
 That said, in case you need to modify the system, there are tips to do it. That said, in case you need to modify the system, there are tips to do it.
  
-==== /boot/ directory ====+===== /boot/ directory =====
 For any modification in ''/boot'': For any modification in ''/boot'':
  
Line 12: Line 11:
      
  
-==== Other system files ==== +===== Other system files ===== 
-For any other modifications, you can directly edit the files in their directory (for example if you want to play with the configgen scripts in ''/usr/lib/python2.7/site-packages/configgen/generators/''). Once the modifications are done, you can save them with the command:+For any other modifications, you can directly edit the files in their directory (for example if you want to play with the configgen scripts in ''/usr/lib/python3.9/site-packages/configgen/generators/''). Once the modifications are done, you can save them with the command:
  
   batocera-save-overlay   batocera-save-overlay
Line 29: Line 28:
 **Note** : it cannot be done for the current Odroid xu4 version. **Note** : it cannot be done for the current Odroid xu4 version.
  
-==== Cases when you don't need to modify the system ====+===== Cases when you don't need to modify the system =====
 Some best practices here: Some best practices here:
   * You generally don't need to edit ''/etc/fstab'', use [[store_games_on_a_nas]] instead.   * You generally don't need to edit ''/etc/fstab'', use [[store_games_on_a_nas]] instead.
-  * You should not modify ''/usr/share/emulationstation/es_systems.cfg''. Instead, copy this file to ''/userdata/system/configs/emulationstation/es_systems.cfg'' and customize it from there. At startup, EmulationStation prefers the latter file if it exists.+  * You should not modify ''/usr/share/emulationstation/es_systems.cfg''. Instead, follow the instructions in [[emulationstation:customize_systems|the Customize sytems page]].
  • modify_the_system_while_it_s_running.txt
  • Last modified: 13 months ago
  • by maximumentropy