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:
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
-
@Folly said in Development of module-script generator for lr-mess and mame standalone:
Have you tried my updated script ?
yes
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.Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/baddudes.7z" --appendconfig /dev/shm/retroarch.cfg SOURCE FILE: ../../../../../src/mame/drivers/dec0.cpp PARENT: 0 NAME: baddudes DESCRIPTION: Bad Dudes vs. Dragonninja (US) YEAR: 1988 MANUFACTURER: Data East USA Value not supported for option netdevprovider - falling back to auto ei31.9a NO GOOD DUMP KNOWN WARNING: the machine might not run correctly. MAIN FIRST w:256 h:240 a:1.333333 RETRO DEINIT retro_finish begin Average speed: 99.43% (3 seconds) retro exit machine retro_finish end
-
@DTEAM said in Development of module-script generator for lr-mess and mame standalone:
@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
Does the 720.zip.cfg contain this now ? :
input_overlay = "/home/pi/RetroPie/downloads/Orionsangels_Arcade_Overlays_For_Retroarch_Part1/overlay/realistic/720.cfg"
So the viewport is ok and the bezel is loaded now when running from :
/home/pi/RetroPie/roms/arcade/ -
@DTEAM said in Development of module-script generator for lr-mess and mame standalone:
lr-mame2016/mamearcade2016_libretro.so
Not the log I was expecting ;-)
-
@DTEAM said in Development of module-script generator for lr-mess and mame standalone:
@Folly
The rom is fine. When I put this rom in the JAKKS folder, it works. I don't know what's going on with my classich folder. Roms with MAME artwork and retroarch overlays (at the same time) do not work. I'll see what I can do. The problem is 100% on my side, not related to the script.Solved: It was my emulators.cfg file in /opt/retropie/configs/all . It seems it was corrupted. I deleted everything inside. Now it's fine and I'll start to do MAME artworks (MAME format) for classich with @JIMMYFROMTHEBAY bezels if he agrees.
Fine by me :)
Anything I post on these forums is fair game to be used by anyone for anything, no need to ask.
-
Can you give the realistic bezels a try ?
-
It's fine as long as you give credit and links. I actually welcome it because with what you're doing these bezels can be used by more people.
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.