Differences

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

Link to this comparison view

Both sides previous revision Previous revision
launch_a_script [2025/11/05 22:37] – [Table] beter formatting lbrpdxlaunch_a_script [2026/06/08 19:58] (current) – version-reports crcerror
Line 6: Line 6:
  
 You can opt to have scripts launched at various points in Batocera. This will change the location you save the script to and how it opens. You can opt to have scripts launched at various points in Batocera. This will change the location you save the script to and how it opens.
 +
 +===== Version indicators =====
 +
 +Scripts added will be shown in the version number
 +  * ''b'' means boot script for ''/boot/boot-custom.sh'' or ''/boot/postshare.sh''
 +  * ''g'' means a script inside ''/userdata/system/configs/emulationstations/scripts''
 +  * ''c'' means ''custom_service'' (this happens if ''custom.sh'' is transformed to a service)
 +  * ''c2'' means that ''custom_service'' and ''custom.sh'' is active, be aware that the ''custom.sh'' is ignored since **v44**
 +  * ''u{n}'' tells number of user services activated
 +  * ''v'' means that executables files are found in ''/userdata/system/scripts''
 +
 +So for a example a version **43cu3v 2026/05/23 20:44** means, you are using BATOCERA v43 with an //custom_service// and //three user services// active and scripts/programs active for the //game-start-stop-option//
  
 ===== Scripts during boot/shutdown ===== ===== Scripts during boot/shutdown =====
Line 40: Line 52:
  
 <WRAP center round important> <WRAP center round important>
-While [[#custom.sh (deprecated)|custom.sh]] still works in **v40**, it'deprecated since **v38** and and may be removed in a later version. (See [[https://batocera.org/changelog|changelog]].)+While [[#custom.sh (deprecated)|custom.sh]] still works in **v42**, it'abolished since **v43** and and will not work anymore. (See [[https://batocera.org/changelog|changelog]].)
 The recommended way to do custom scripting in Batocera now is the [[#services|services]] method detailed below. The recommended way to do custom scripting in Batocera now is the [[#services|services]] method detailed below.
 </WRAP> </WRAP>
  • launch_a_script.1762382235.txt.gz
  • Last modified: 9 months ago
  • by lbrpdx