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
ui_mode [2023/06/21 05:14] – [UI mode] UI MODE, reset settings and setup custom code maioniui_mode [2023/06/21 08:52] (current) – [Change the unlock code] wrong button labels atari
Line 1: Line 1:
-~~NOTOC~~ 
 ===== UI mode ===== ===== UI mode =====
  
Line 32: Line 31:
 Just remove this line, to get back to full mode next time EmulationStation is restarted. Just remove this line, to get back to full mode next time EmulationStation is restarted.
  
-==== Change code and persist it ====+==== Change the unlock code ====
  
-If you want to create custom code edit the configuration file ''/userdata/system/configs/emulationstation/es_settings.cfg'' and find a line like+In similar vein, the ''UIMode_passkey'' line right below that (usually) in ''es_settings.cfg'' can be used to alter the unlock code: 
  
-   <string name="UIMode" value="Kiosk" /+<code
-   <string name="UIMode_passkey" value="aaaba" /> +<string name="UIMode" value="Kiosk" /> 
-or    +<string name="UIMode_passkey" value="aaaba" /> 
-   <string name="UIMode" value="Kid" /> +</code>
-   <string name="UIMode_passkey" value="aaaba" /> +
-    +
-And edit the passkey line keeping in mind NES controller layout: {{:wiki:south.png?nolink&20|South button (A SNES)}}{{:wiki:south.png?nolink&20|South button (A SNES)}}{{:wiki:south.png?nolink&20|South button (A SNES)}}{{:wiki:south.png?nolink&20|South button (A SNES)}}{{:wiki:south.png?nolink&20|South button (A SNES)}} +
- +
-   <string name="UIMode_passkey" value="bbbbb" /> +
- +
-Once the modifications are done, save them with ''batocera-save-overlay''. This command script will prevent the settings be restored after a reboot. +
  
 +Here, the string ''aaaba'' refers to the SNES layout of face buttons. ''b'' = {{:wiki:south.png?nolink&20|South button (B SNES)}}, ''a'' = {{:wiki:east.png?nolink&20|East button (A SNES)}}, ''x'' = {{:wiki:north.png?nolink&20|North button (X SNES)}} and ''y'' = {{:wiki:west.png?nolink&20|West button (Y SNES)}}
  
 +This can be changed to any combination of face buttons. For example, to change it to {{:wiki:south.png?nolink&20|South button (B SNES)}} {{:wiki:east.png?nolink&20|East button (A SNES)}} {{:wiki:north.png?nolink&20|North button (X SNES)}} {{:wiki:west.png?nolink&20|West button (Y SNES)}} {{:wiki:south.png?nolink&20|South button (A SNES)}}:
  
-More info at: [[modify_the_system_while_it_s_running#creating_a_batocera_filesystem_overlay|Creating a Batocera filesystem overlay]] +<code> 
 +<string name="UIMode_passkey" value="baxyb" /> 
 +</code>
        
  • ui_mode.1687324446.txt.gz
  • Last modified: 3 years ago
  • by maioni