Software Support > Automated Projects |
Auto rotate from Raspberry Pi/RetroPie ... |
<< < (3/8) > >> |
darthpaul:
You can get the rom name the same way I'm getting the system name to light my LEDS. /opt/retropie/supplementary/runcommand/runcommand.sh The rom name parameter is $4. Romlister can create a list of all vertical games so I don't see why we would need an xml file. |
DaOld Man:
Cool. What kind of file does romlister save the vertical game names to? |
darthpaul:
text |
DaOld Man:
Bolthouse: You still interested in this? I have made some leadway on this project. I have mrotate for RPi written, it utilizes the GPIO to control the motor drive. It is a bit complicated right now, but I am working on making it more simple. Right now, using attract mode (which also has Emulation Station built in), I am able to call mrotate when a game is selected. You have to build a list of the games that run in vertical mode. Mrotate turns on the output to turn monitor to vertical, if the game is in the list. It also copies over a vertical setup of mame.cfg so the game displays in vertical. If not in the list, Mrotate turns on output to turn monitor horizontal. A horizontal setup is copied over mame.cfg also. The output stays on until an end-of-travel limit switch is made, or a preset time has expired. Since I cant seem to turn emulation station menu vertical, mrotate will turn the monitor back to horizontal when the game exits. Because I am still playing around with this I will not do a complete write up until I am sure it is finished. But if you would like to try it on for size, I can walk you through the setup. I am liking attract mode, and I plan to learn how to write plugins for it, perhaps I can simplify this even more for attract mode. |
DaOld Man:
Project is not yet completely finished. I need to tweak the code to allow you to select which emulators are vertical enabled, all others will be horizontal only, no matter which game is selected. Here is a short video showing my temporary setup. I say temporary because of the jumble of wires. Im using a T-cobbler board to connect the Pi GPIO to a bread board. This is for testing only. In real life, the drive would connect directly to the GPIO pins. https://www.youtube.com/watch?v=CFfYjMufCSA&feature=youtu.be Another short video showing the actuator and the limit switches. https://www.youtube.com/watch?v=C-E3BjsuwIg&feature=youtu.be Im using the rig I built that utilizes a 24 volt actuator. I only have 12 volts on it right now so it rotates pretty slow. here is a video displaying rotating automatically. https://www.youtube.com/watch?v=9vEC1sgYe_4&feature=youtu.be Sorry for the poor quality of the videos, I used my iphone and trying to do two things at once tends to make me shaky. |
Navigation |
Message Index |
Next page |
Previous page |