Giter Club home page Giter Club logo

mame-retroarch-bezel-converter's Introduction

I have made some repositories you might be interested in:

Arcade Manager, a tool to easily manage your arcade (MAME/FBNeo) roms, especially for Retropie and Recalbox.
The data it uses is located in Arcade Manager data.

Retropie arcade overlays - realistic, a bunch of overlays that mimic a real arcade cabinet to use in arcade games under Retropie.
Retropie arcade overlays - artwork, a bunch of "artwork" overlays to use in arcade games under Retropie.

Console overlays, a bunch of console overlays to use in Retropie, Recalbox or Batocera.

Mame/RetroArch Bezel/Overlays tool, a tool to create, fix and convert bezels/overlays for Mame and RetroArch.

SwitchScores extension, a browser extension that improves the Nintendo Europe websites.

Retrogaming - meilleurs jeux, a bunch of "best of" games list, games history, etc.

My games reviews (french)

mame-retroarch-bezel-converter's People

Contributors

cosmo0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

flumpmeister

mame-retroarch-bezel-converter's Issues

Write a description of how overlays and bezels work

  • what are overlays and bezels
  • what's the difference between RA and MAME (mame is more complex, multiple views, multiple elements, etc)
  • why do you need this tool
  • what's in a RA overlay config
  • what's in a RA rom config
  • what's in a MAME bezel

CFG file output for Retroarch doesn't work - because of missing quotation marks

I downloaded a set of Retroarch bezels with a lot of missing cfg files for PSX games. the cfg file output that works is:

overlays = 1

overlay0_overlay = "Resident Evil - Director's Cut (USA).png"

overlay0_full_screen = true

overlay0_descs = 0

The output the convertor (win-x64) creates is:

overlays = 1
overlay0_overlay = Resident Evil - Director's Cut (USA).png
overlay0_full_screen = true
overlay0_descs = 0

custom_viewport_width = 1436
custom_viewport_height = 1076
custom_viewport_x = 242
custom_viewport_y = 1

This output only works after I changed it to:

overlay0_overlay = "Resident Evil - Director's Cut (USA).png", with the quotation marks.

Create a GUI

  • Tabs for each action.
  • progress
  • ask question for mame conversion
  • Describe each time: what you need; what you get.

Unable to convert MAME Bezels to Retroarch when they are vertical Bezels

Hi @cosmo0 , thanks for the tool, I've been trying to use it for a while but I'm getting a few errors.

I've got the following MAME Bezel, which is Vertical:
ddonpach.zip

If I run the following command to convert it to a Retroarch Bezel, I'm getting the following errors:

 ./bezel-tools.exe mtr --source ../BezelRealisticZIP/ --output-roms ../../emulators/mame/cfgRetroarch/ --output-overlays ../BezelRealisticFromMAME/ --template-game templates/game.cfg --template-overlay templates/overlay.cfg
  • Issue 1 - when the MAME bezel is not a zip file, but a folder instead (with the pngs and lay files inside):
    ddonpach PROCESSING ERROR: Unable to find the bezel file System.String[]
    Workaround 1 - zip the files into a zip and try again

  • Issue 2 when rerunning the command:
    ddonpach PROCESSING ERROR: Unable to find file ..\DefaultBezelH.png in archive
    I checked all files in a working setup of MAME and there's no DefaultBezelH.png file anywhere, it seems as if the file is not used at all, even though it's in the .lay file (but the MAME setup works without it)

  • Issue 3, with a first Workaround tried for 2:
    I tried to delete that section from the lay file

Deleted:
 <element name="Glass">
    <image file="..\DefaultBezelH.png"/>
  </element>

so got the error:

ddonpach PROCESSING ERROR: Unable to find element with name Glass in LAY file
  • Issue 4, when a second Workaround tried for 2:
    I added a different file that I found in the working setup inside the ddonpach.zip file with:
 <element name="Glass">
    <image file="BezelLightGlass.png"/>
  </element>

This was that new file:
ddonpach.zip

Final error where I got stuck:

ddonpach doesn't have a cfg file
ddonpach PROCESSING ERROR: Bezel of view Bezel does not have coordinates starting at (0,0)

I don't understand these files much yet, so I mentioned Issues 1, 2 and 3 in case they're useful to handle them if those files are not required or the tool could check folders rather than zip files for MAME bezels, but the main issue I'm reporting (which is where I'm currently stuck) is Issue 4, do you know why I could be getting those errors?

The 1st one in that line is mentioning that:

  • ddonpach doesn't have a cfg file - but I thought the CFG file for Retroarch is what this tool was going to create, is it not?
  • ddonpach PROCESSING ERROR: Bezel of view Bezel does not have coordinates starting at (0,0) - this one is mentioning and error due to coordinates (0, 0), not sure if this is because the bezels are vertical?

Could you see if it's something you can handle with the code in your end pls and let me know if I could try a new release?
or if you've got any suggestion about how I could re-run the command, pls let me know and I'll report how it goes?

Many thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.