GPi Zero 2 v1.52 & GPi Zero v1.15(Retropie Images for Pi Zero/Zero2 + GPi Case 1 & GPi Case 2W)
-
@paradoxgbb said in GPi Zero 2 v1.18 (Retroflag GPi Image for Pi Zero 2 W):
As for the updates as I'm sure you know it's just the dpi24 file that you have to noermally replace and it might be hard for setup scripts to understand that it's customized and it doesn't even know the user has a RetroFlag Gpi case. It's super annoying but I'm not sure what can be done to streamline.
The issue - I think - is that the
.dtbo
file used is using a filename already shipped with the Raspberry Pi OS kernel, so it's normal that's overwritten on upgrade. Rename the.dtbo
file and update theconfig.txt
accordingly, IF the overlays are not compatible. -
<edit>
This post had dead links to obsolete files and has been removed. -
@Sliver-X I just installed this and wanted to say Thank You!
I do have a question. You did have the safe shutdown script preinstalled on the image correct?
I just installed it today from your drop box link. I have the switch turned on under the battery, but it seems like its not doing the safe shutdown. Is there a way for me to verify it is? Also if its not working, can I just install the script from the retroflag gpi site? or do you have any recommendations ? -
You're welcome, I'm glad others are finding it useful.
Safe Shutdown is installed, and tied to a shell script in /opt/Retroflag that is a minimal, stripped down version of a script written by crcerror:
https://github.com/crcerror/ES-generic-shutdown/blob/master/multi_switch.shIt's silent VS the original, and also gracefully shuts down EmulationStation and any running emulators so you don't lose metadata/save data. You can tell it's working if, when you flip the power switch, there is about a 2 second delay before the unit turns off. If it's not working, shutdown is instantaneous or doesn't happen at all, depending on why it wouldn't be working.
Installing the original Retroflag script would revert it back to the original behavior of simply initiating a reboot when the power switch is thrown (It does this instead of an actual shutdown: Since the power switch is off rebooting has the same effect, though I'm not really sure why they chose to do it that way?).
If it isn't working, the only thing I can think of is the one time I corrupted the filesystem testing CPU overclocks and it stopped working. A reflash would fix that if it's the case.
-
Thank you for sharing your work on this! This has saved me a lot of time.
-
You're welcome. Please let me know if you find any bugs/etc.
I've actually gotten to the point of actually using it to play games instead of just test them, lol, and about 40 hours of use in I've not run into any issues, but I don't use a lot of stuff like scrapers others do so there may be things I'm missing.
-
@sliver-x Is the link in the top message up to date? I am going to look to install your setup on my RetroFlag, it seems very polished. Thank you!
-
v1.2 is the current version, yes.
-
@sliver-x Superb. Thank you!
Edit: I seem to just be getting a blank screen when I boot up. The image seems to have written okay, the drive is named "boot". I can't see what I could have messed up at this stage!
-
The image is set up to pipe the display through the GPIO pins out of the box, so it should be working. Have you tried reseating the Pi in the cartridge? Have you checked the connection between the pogo board and the Pi via the micro USB cable on the board?
-
@sliver-x It is really strange. I don't think it's anything to do with connection, as I've got my existing SD Card and I tried that and it works without problem. I've tried a few times now.
The screen lights up but it is just blank. I thought it may be something to do with the way the card is formatted or something like that, but I can't see any difference with my existing SD Card.
-
Have you tried reflashing the image? How big is the card? Do you have the Safe Shutdown switch set to "On" in the battery compartment/have you been shutting it down with the power switch?
-
@sliver-x said in GPi Zero 2 v1.2 (Retroflag GPi Image for Pi Zero 2 W):
Have you tried reflashing the image? How big is the card? Do you have the Safe Shutdown switch set to "On" in the battery compartment/have you been shutting it down with the power switch?
I haven't tried flashing yet, but I did think I might try again. It looks okay to me though, so it wasn't my first thought.
The card is 32gb but now shows as 256mb I think (I'd need to check). I've been using the safe shutdown script, again I'll have to check on the switch. I do use the Power switch to turn the GPi off.
-
@sliver-x How are we able to get sound back?
-
I found there is a config folder for fba but not one for rom folder. If I tried to created fba/fbneo folder and put some fba/fbneo roms into, but the system didn’t found them after a reboot. I don’t want to put roms into arcade which seems for mame2003. Is there a way?
-
The size is normal: Retropie is split across two partitions on the card: A small FAT32 formatted one with the boot files and the remainder is an ext4 formatted partition: FAT32 is supported by any operating system made in the 21st century (It was introduced with Windows 95) but ext4 is Linux/Android only unless you use a third party utility to access it.
I mentioned the switch because, if that's not engaged, Safe Shutdown doesn't work at all and flipping power has a high liklihood of corrupting the OS depending on what's going on I/O-wise when it happens. Also don't install the Retroflag GPi Case patch, as I've integrated what it does into the image itself, with alterations (The stock patch simply copies config.txt files around, my scripts edit this file in-situ so other settings like overclocks aren't wiped when switching HDMI/LCD modes), so things will most certainly break if it's done.
-
Not sure I'm following what you're saying here: Back from what? Did it work at some point?
-
I only use FBNeo for CPS and Neo Geo in the default setup: ROMs would be put in those folders. You can always edit es_systems.cfg to change this behavior if you'd like.
-
@sliver-x
thank you for your quick reply. I am migrating my roms to your image. I was put gamelist and images in each console rom folder. Some how , seems this image use/opt/retropie/configs/all/emulationstation/gamelists
- How can I set emulation station read game list and images from each rom folder?
- For megadrive, seems it's special one. I didn't find game list from above path?
-
Putting a gamelist.xml in the ROM folder will override any under /opt: I put the gamelist, screenshots and ROMs all in the same folder so they act as self contained "modules" on my unit (Roms and snaps are all referenced by relative paths like: ./images/Whatever.png ./Whatever.zip in the gamelists).
Note that doing it this way will cause issues with scraped data VS what's in the ROM folder, but I don't use the built in scrapers so it's not an issue for me.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.