Change disk shown on the oled

I would like to know how to change the disk that shows the used/remaining space on the OLED screen

Or put the two discs in one rotation and vary the screen.

You can modify the /opt/pironman/main.py file with lines 316 through 400 of code related to the oled content display, pironman/pironman/main.py at v2.0 · sunfounder/pironman · GitHub

After modifying it, restart the program with sudo pironman restart. Or you can shut down the program first sudo pironman stop, modify it and run the program with sudo python3 /opt/pironman/main.py to test it, and then restart the program after the test is finished sudo pironman restart

I can’t find how or where to change the disk drive that is being displayed on the OLED, could you help me with this?

If you want to modify the display of an OLED screen, you need to have some basic programming skills.
We don’t know what you are looking for, so we can only tell you where to modify the code, not give you the actual sample code.
You can modify the /opt/pironman/main.py file, which contains lines 316 to 400 of code related to oled content display. pironman/pironman/main.py is located at v2.0 - sunFounder/pironman - GitHub 1.

After making changes, restart the program with sudo pironman restart. Alternatively, you can shut down the program first sudo pironman stop, modify it and run it with sudo python3 /opt/pironman/main.py to test it, and then restart the program after the test is complete sudo pironman restart.

In the end I found it inside system_status.py where I was getting the information from the disk.

You could add an option in the code so that it shows different disks as information. I don’t know if I understand myself, but let’s say that for a few seconds it shows one disk and then another and so on with the ones that are added, in a loop.

Thank you very much for your offer, we will take your suggestions into consideration subsequently.

Are there any instructions on how to customize this on a Batocera Linux?

I only get the 256MB boot partition on the display, not the 931GB main partition

Instructions I have found so far were for RetroPi or Debian systems but they are a bit different than Batocera Linux

We suggest you to provide detailed pictures or videos to us.
The OLED screen shows the total memory capacity versus the used capacity.

Here you can see, that the Disk is use of 1.4/256.0 MB but I want to see the NVMe SSD with 1TB of Space.
The Linux version ist V40 oder Batocera Retro Game System, is there an ini or config ?

Ok, can’t anyone help here ?

Is there no settings file that says what should be displayed and if so, what are the names of alternative drives?

Subscribing to this topic, have the same issue.

We apologize for the inconvenience. We have also replicated the issue and are currently in contact with the Batocera developers to see if there is a better solution. Please be patient while we await their response.

1 Like

Are there any updates?

We can fix this issue, but we will need assistance from the Batocera team for an upgrade. It may take until the next version of the Batocera system for compatibility to be established. Our Pironman 5 software has been adapted with help from Batocera.

How can I make it so that it rotates showing drives and capacity/usage. The default is the microSD but I would also like to have that rotate with the NVMe and disk drive that I have connected to the system.

We will also be making modifications to the Pironman 5 software service by adding a feature to display the capacity and usage status for switching between SSD and SD. However, we will need the assistance of the Batocera team to implement this upgrade. It may take until the next version of the Batocera system to establish compatibility. Our Pironman 5 software will be adjusted with the help of Batocera.