@ian57 I guess great minds think alike. I do have a suggestion for that script but I will make it in gitlab
Best posts made by Zaphod
-
RE: Turning off the TFT screen on the OGST or Cloudshell cases
-
RE: News: Recalbox 6.2, or 6.3, or... well, the next version!
@DarkVamp said in News: Recalbox 6.2, or 6.3, or... well, the next version!:
LOL
That says 2 October 2020 re-read it
-
RE: Please help, can't save in Mupen64plus non libretro.
@Lumbeechief081
Can you search your mupen64 ini file?
/recalbox/share/system/configs/mupen64/mupen64plus.ini I know it LONG but what I am looking for is the SaveType listed under Donkey Kong 64. There will be Multiple entries in your file so you can do the followinglog in via SSH:
nano /recalbox/share/system/configs/mupen64/mupen64plus.ini
hit CTRL + w (search)
type Donkey Kong 64 and hit enter
check under the entry and make sure SaveType is "Eeprom 16KB"
hit CTRL + w again and the nenter for the next instance.
Check that each version of the rom has the seave type listed as Eeprom 16KB (if one is wrong change it)This sometimes happens the save file is set to 4KB or 8KB
The alternative is to replace your ini file with a known good one. Some older ini files had it listed wrong. Not sure if this is the case but its worth looking into. It would absolutely cause this behavior.
-
Turning off the TFT screen on the OGST or Cloudshell cases
The TFT screen on the OGST is very bright (especially at night) so I wanted to be able to turn it off since my gameing box is in the bedroom.
Here are the commands to do just that:
#Turn the backlight ON echo 0 > /sys/class/backlight/fb_ili9340/bl_power #Turn the backlight OFF echo 1 > /sys/class/backlight/fb_ili9340/bl_power
I have written a script that does this for you.
#!/bin/bash filename='/sys/class/backlight/fb_ili9340/bl_power' read -r state<$filename if [ "$state" = "0" ]; then echo 1 > /sys/class/backlight/fb_ili9340/bl_power else echo 0 > /sys/class/backlight/fb_ili9340/bl_power fi
to use the script do the following.
Log in to your recalbox via SSH
then use these commandscd nano backlight #copy paste the script into this new document ctrl+x then y #this will exit and save the document chmod +x backlight #make the script executable
To use the script simply type ./backlight to toggle the TFT backlight on and off
I am hoping backlight control can be built in to the next version.
FOR DEVELOPERS
This is the command to turn off all backlights if you want to include a universal backlight control in the next version
# Turn off backlight echo 1 | tee /sys/class/backlight/*/bl_power # Turn on backlight echo 0 | tee /sys/class/backlight/*/bl_power