Development of module-script generator for lr-mess, lr-mame and mame standalone
-
@DTEAM said in Development of module-script generator for lr-mess and mame standalone:
ould you also add (800x480) small touchscreen or LCD (for people with Retropie on a handheld)
Edit : sorry for the may edits ;-)
The patching should work for all resolutions.
You can test it all.
Look at the last five commits :
https://github.com/FollyMaddy/RetroPie-Share/commits/4887c84cabd100ed8da8cb244e0f4c6f1cf40bb0Setup in this order :
Choose and install HANDHELD/PLUG&PLAY/CATEGORIES > Submenu
Forcing Arcade Category => realistic
CHEATS/ARTWORK/BEZELS > Submenu
Setup Orionsangels Arcade Overlays Part1 > roms/realistic (dowloading can take 10 min)Only issue can be that the mouse is enabled for lr-mame because it shares still that creation part with lr-mess.
Perhaps I have to separate disable that in the future for lr-mame.
Other than that I think it works great.BTW. :
Can you also see if the "asciinema demo", in the script, works for you ? -
Forgot to tell.
With a lower resolution the shader will become less attractive.
If so, then you/we need to try an other CRT shader for the lower resolutions.
Let me know if that is the case, perhaps it's possible to make some fix for that in the script. -
@Folly said in Development of module-script generator for lr-mess and mame standalone:
BTW. :
Can you also see if the "asciinema demo", in the script, works for you ?It works perfectly, not centered but it doesn't matter
-
@DTEAM said in Development of module-script generator for lr-mess and mame standalone:
It works perfectly, not centered but it doesn't matter
Indeed, not centred , that's the issue.
On the other hand, now people can see it's not part of the regular menu, which is nice. -
@Folly said in Development of module-script generator for lr-mess and mame standalone:
Only issue can be that the mouse is enabled for lr-mame because it shares still that creation part with lr-mess.
Perhaps I have to separate disable that in the future for lr-mame.
Other than that I think it works great.I tried alien3, and when mouse is enabled you can play it with the mouse.
So that's nice, I think I will keep the mouse enabled.
In the Desktop environment I see the mouse pointer.
I might have to add aninput_grab_mouse_toggle key
for that in the retroarch config.
I am thinking of adding this to hide the desktop mouse pointer :
input_grab_mouse_toggle = insert -
@Folly said in Development of module-script generator for lr-mess and mame standalone:
Edit : sorry for the may edits ;-)
The patching should work for all resolutions.
You can test it all.
Look at the last five commits :
https://github.com/FollyMaddy/RetroPie-Share/commits/4887c84cabd100ed8da8cb244e0f4c6f1cf40bb0
Setup in this order :
Choose and install HANDHELD/PLUG&PLAY/CATEGORIES > Submenu
Forcing Arcade Category => realistic
CHEATS/ARTWORK/BEZELS > Submenu
Setup Orionsangels Arcade Overlays Part1 > roms/realistic (dowloading can take 10 minIt works for well for the Bezels, but I encountered 2 issues:
- The screen (video game) doesn't match de Bezel (800x480)
- The Bezel doesn't load automatically.
-
@DTEAM said in Development of module-script generator for lr-mess and mame standalone:
I was hoping that it would work perfectly ;-)
The Bezel doesn't load automatically
Is the shader working but you can't see the bezel ?
The screen (video game) doesn't match de Bezel (800x480)
All the games or just a few ?
Can you send a picture so I can see how it looks ?Can you do this command for me in the terminal ?
fbset -s
What mode resolution does it give ?
And did you install with the 5'' screen attached or did you use a normal monitor when doing that ?
Edit : I detected that there are bezels missing from the pack, like
neogeo
. -
-
@Folly said in Development of module-script generator for lr-mess and mame standalone:
Is the shader working but you can't see the bezel ?
No, the Bezel cuts the videogame visual output. It's too big for the bezel. The videogame visual output should be resized with the Bezel.
-
@Folly said in Development of module-script generator for lr-mess and mame standalone:
Can you do this command for me in the terminal ?
fbset -s800x480
And did you install with the 5'' screen attached or did you use a normal monitor when doing that ?
5" screen. During the installation, I saw 800x480, so your conversion tool seems to work for the bezels.
-
Ok, that is good information.
Not sure whats the problem.
I will have to think about it for a while.I tried a low resolution 720x400 and it looks good, so low resolutions are not the problem. (good to know)
Is your config looking like this ?, with a bit different values :
custom_viewport_height = "252" custom_viewport_width = "329" custom_viewport_x = "198" custom_viewport_y = "74" input_overlay = "/opt/retropie/configs/all/retroarch/overlay/realistic/720.cfg" aspect_ratio_index = "23" video_shader = "/opt/retropie/configs/all/retroarch/shaders/fake-crt-geom.glslp"
My runcommand.log does not find cfg overides, does yours find some (so it will undo some settings from the overlay cfg) ?:
[INFO] [Overrides]: No core-specific overrides found at "/home/pi/.config/retroarch/config/MAME/MAME.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "/home/pi/.config/retroarch/config/MAME/realistic.cfg". [INFO] [Overrides]: No game-specific overrides found at "/home/pi/.config/retroarch/config/MAME/ 720.cfg".
Can you find the scaling options in the RetroArch GUI, mine look like this (here we can see that the viewport values are working) (z > settings > video > scaling) :
-
@Folly
Aspect Ratio = Core provided -
Not sure why, but it has to be "custom".
I will try "core" here, and see what happens. -
@Folly said in Development of module-script generator for lr-mess and mame standalone:
Is your config looking like this ?, with a bit different values :
custom_viewport_height = "252"
custom_viewport_width = "329"
custom_viewport_x = "198"
custom_viewport_y = "74"
input_overlay = "/opt/retropie/configs/all/retroarch/overlay/realistic/720.cfg"
aspect_ratio_index = "23"
video_shader = "/opt/retropie/configs/all/retroarch/shaders/fake-crt-geom.glslp"No, in /opt/retropie/configs.hdmi/all/retroarch/overlay/realistic my 720.cfg look like this :
overlays = 1 overlay0_overlay = 720.png overlay0_full_screen = true overlay0_descs = 0 This Realistic Arcade Overlay was made by: OrionsAngel
in /opt/retropie/configs.hdmi/all/retroarch/config/MAME/realistic, it looks like this
**720.zip.cfg ** and **720.7z.cfg **
custom_viewport_height = "303" custom_viewport_width = "365" custom_viewport_x = "220" custom_viewport_y = "89" input_overlay = "/opt/retropie/configs/all/retroarch/overlay/realistic/720.cfg" aspect_ratio_index = "23" video_shader = "/opt/retropie/configs/all/retroarch/shaders/fake-crt-geom.glslp"
-
I mean > /home/pi/RetroPie/roms/realistic/720.zip.cfg
I tried "core" (22) and then the viewport settings are off.
When I set it from core to custom into the RetroArch GUI (scaling) it will shrink again to the viewport values.
Can you try that, to see if it works ?Edit I see what the problem is.
It's theconfigs.hdmi
directory.
I think it was part of the Valerino fork.It should be linked to the normal
/opt/retropie/configs
directory.
But when it's not the .zip.cfg and .7z.cfg can't be moved by my script to the/home/pi/RetroPie/roms/realistic
roms directory.
(or by definition there wasn't a/home/pi/RetroPie/roms/realistic
in the first place so the files can't be moved, perhaps)So you should move or copy the .zip.cfg and .7z.cfg to the
/home/pi/RetroPie/roms/realistic
roms directory. -
@Folly said in Development of module-script generator for lr-mess and mame standalone:
/home/pi/RetroPie/roms/realistic/
I have no folder realistic in /home/pi/RetroPie/roms/
The only one I have is in /opt/retropie/configs.hdmi/all/retroarch/config/MAME/It should be linked to the normal /opt/retropie/configs directory.
But when it's not the .zip.cfg and .7z.cfg can't be moved by my script to the /home/pi/RetroPie/roms/realistic roms directory.
So you should move or copy the .zip.cfg and .7z.cfg to the /home/pi/RetroPie/roms/realistic roms directory.I will do that. I have to go now, I'll try tomorrow
-
EDIT: Skip this part, look at the next post.
Install this again.
Choose and install HANDHELD/PLUG&PLAY/CATEGORIES > Submenu
Forcing Arcade Category => realisticThen you should have the /home/pi/RetroPie/roms/realistic
- Place your 720.zip there.
- Move the 720.zip.cfg there.
- Test the rom.
- If it doesn't work, edit the file 720.zip.cfg so it will find the
config.hdmi
directory.
Select realistic in emulationstation.
I think it should work then. ;-)
-
Good luck tomorrow, I think we are on the right track now.
With the information from yesterday I updated the script.So try this update first.
I did some tests with linking directories.
Moving and removing from within linked directories should work.
So you probably have :
/opt/retropie/configs.hdmi/all/retroarch/...... (is the actual folder)
/opt/retropie/configs/all/retroarch/...... (is the linked folder)You did not have the roms/realistic directory.
When not there it can't move the files.
So I fixed this when selecting "Setup Orionsangels Arcade Overlays Part1 > roms/realistic" it will check if the roms/realistic directory exists.
If not the it will automatically install the Arcade realistic category/folder.Just press <n> when you see this, it will skip downloading the file again :
getting your desired file File exists !, do you want to overwrite it ? [Y/N] n
https://github.com/FollyMaddy/RetroPie-Share/commit/268c0e19b0dc974976a15211b8f377a98ca99ee2
https://github.com/FollyMaddy/RetroPie-Share/commit/461719f82c8bedbdbf5e08c2369d278c47b23ab0 -
@Folly said in Development of module-script generator for lr-mess and mame standalone:
My runcommand.log does not find cfg overides, does yours find some (so it will undo some settings from the overlay cfg) ?:
[INFO] [Overrides]: No core-specific overrides found at "/home/pi/.config/retroarch/config/MAME/MAME.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "/home/pi/.config/retroarch/config/MAME/realistic.cfg". [INFO] [Overrides]: No game-specific overrides found at "/home/pi/.config/retroarch/config/MAME/ 720.cfg".
Nothing on my side. the folder doesn't contain those files.
In my /opt/retropie/configs.hdmi/arcade, my retroarch.cfg contain this :
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_overlay = "/opt/retropie/configs/all/retroarch/overlay/MAME-Horizontal.cfg" input_overlay_opacity = "1.000000" input_remapping_directory = "/opt/retropie/configs/arcade/" #include "/opt/retropie/configs/all/retroarch.cfg"
The MAME-Horizontal.cfg doesn't exist
Note: For configs.hdmi , it doesn't matter because I have a symbolic link (configs = configs.hdmi ). It should be good.
-
@DTEAM said in Development of module-script generator for lr-mess and mame standalone:
Nothing on my side. the folder doesn't contain those files.
Ok, that looks good too then.
In my /opt/retropie/configs.hdmi/arcade, my retroarch.cfg contain this :
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_overlay = "/opt/retropie/configs/all/retroarch/overlay/MAME-Horizontal.cfg" input_overlay_opacity = "1.000000" input_remapping_directory = "/opt/retropie/configs/arcade/" #include "/opt/retropie/configs/all/retroarch.cfg"
The MAME-Horizontal.cfg doesn't exist
Note: For configs.hdmi , it doesn't matter because I have a symbolic link (configs = configs.hdmi ). It should be good.
Strange, the script part I added, for setting up the realistic overlays, does nothing with that directory.
What's inside that retroarch.cfg will only have effect when you run roms from the arcade folder.
I would suggest you remove the overlay lines in that retroarch.cfg.
Have you tried my updated script ?
I have updated it again to get rid of possible issues with /config.hdmi/ folder
I would like you to run it.
You only have to do this :
CHEATS/ARTWORK/BEZELS > Submenu
Setup Orionsangels Arcade Overlays Part1 > roms/realisticI hope this is the solution to the problem.
When no .zip.cfg and .7z.cfg files come into the /home/pi/RetroPie/roms/realistic then I would like to see your latest log from /home/pi/RetroPie-Setup/logs.
Just extract the latest, after you tried.
Then we might find the error.
Hopefully it will not be necessary.https://github.com/FollyMaddy/RetroPie-Share/commit/ab2643eaaff18007e68b6d0213d0d29457cba121
-
@Folly
It works if I put 720.7z.cfg and 720.zip.cfg directly in/home/pi/RetroPie/roms/arcade/
It don't recognize /home/pi/RetroPie/roms/realistic
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.