Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Search the Community

Showing results for tags 'mess naming'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • News
    • Convert-It News and Updates.
    • PinballX - News and Updates
    • Touch-Play - News and Updates.
  • Convert-It
    • Convert-It Support
    • Convert-It News and Updates
  • GameEx
    • FAQs, Guides, & Other Useful Information
    • General
    • User Projects
    • GameEx Media Projects
  • PinballX
    • FAQs, Guides, & Other Useful Information
    • General
    • User Projects
    • PinballX Media Projects
    • XDMD - DMD Display Library
    • News and Releases
  • Touch-Play
    • FAQs, Guides, & Other Useful Information
    • General
  • GameEx Evolution
    • FAQs, Guides, & Other Useful Information
    • General
    • Emulator Support
    • GameEx Evolution Media Projects
    • Plugins, Addons, Wrappers, etc.
  • VPDB
    • VPDB General Discussion
    • VPDB Feature Requests
  • Spesoft Free Products and Applications
    • SlingFront - SlingBox HTPC Front End
    • MAME Screensaver
    • MNGer - MNG Player
  • Hi-Score Competitions
    • GameEx Hi-Score Competition
    • The Arena
  • Gamer's Tavern
    • Social Club
    • Gamer Rigs
    • Buy - Sell - Trade
  • Spesoft Web Sites and Projects
    • Games Database
  • The UK Retro Gaming Club's Topics
  • USA CLUB's Post a pic of your arcade setup.
  • MacOSGaming's Topics

Calendars

  • Community Calendar
  • The UK Retro Gaming Club's UK Retro Gaming Events

Categories

  • Official Repository - GameEx
    • AddIns
    • Plugins
    • Themes
    • Emulators
    • Databases
    • Data Files
    • Utilities
    • Extensions
    • Themes (Evo)
  • GameEx Installs
  • PinballX
    • PinballX Install
    • Visual Pinball Tables
    • Visual Pinball Install
    • Documentation & Tutorials
    • UltraDMD Install
    • Wheel Images
    • Topper Videos
  • Images, Media and Sounds
    • Backgrounds
    • Bezels
    • Logos
    • System Images
    • Themes
    • Sounds
    • 3D Models
  • Apps, Configs, Map Files, Wrappers, and Plugins
    • Apps
    • Config
    • Plugins
    • Sounds
    • Backgrounds
    • Apps-Config-Map Files-Plugins
    • Databases & Management Tools
    • Other graphics and media
    • Map Files
    • Wrappers
  • Spesoft Applications
  • Database and Management Tools
    • Databases
    • DB Management Tools
  • Touch-Play

Product Groups

  • Packages
  • GameEx, PinballX and Spesoft Products. Make a donation.
  • Convert-It

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Instagram


MSN


PSN


Twitch


Twitter


YouTube


Website URL


Xbox Live


Yahoo


Location


Interests

Found 1 result

  1. Hi all, after two days of fiddling around with the displayed names for my mess games - mostly SNES and Genesis - I found no solution to get the game names shown in a readable style, only the rom filenames so far. - I´m using the Mess 0.155 software list set - the Emulator itself is Groovyume (tried it with the mess.exe too) - the games do work and load from within the frontend but as soon as i try the map file for the specific machine it wont load the games. Problem here is that it also replaced the rom filename ex. contra3.zip turns into Contra III - The Alien Wars (USA).zip -which the *.bat file cant find. - I tried renaming the roms to the filename as they are stated in the map file but ume/mess wouldn´t load them as they need to be in the mess-specific filename (plus it would take a hughe amount of time to rename all the games by hand). - i also tried to switch-on the use database option with no luck. To get to the point - i would like to have my mess games (which are seperatly configured in different emulator slots per machine) shown in a readable way ex. contra3.zip -> Contra III - The Alien Wars So my question here is, is there a way to quickly generate a map file out of the *.xml files stored in umes/mess` hash file? Did i miss a option containing the software-list support? I searched different threads already but couldn´t find an answer to my problem here - any help is appreciated. --edit 1st -- Come to think about it - maybe a xml parser would be the way to go - looking into the snes.xml files from mess hash folder the format is like: <software name="contra3" cloneof="sprobot"><description>Contra III - The Alien Wars (USA)</description> so would it be possible to script something that 1. read out the value of "software name" 2. add *.zip extension and a "|" 3. add the value of "description" next to it 4. and finally write it all in a single *.map file ? attached is a smaller *.xml file out of the mess hash folder --- edit 2nd --- after asking a friend of mine who is comfy with programming he wrote me a little python script which solved the problem. He gladly gave me permission to post the code here for people who may suffer from the same problem Python 3 required !!! howto: 1. copy the needed *.xml files from the mess hash folder into python folder (in my case c:\python34) 2. run the script via "python.exe romsetxmlparser.py xyz.xml" (xyz for the needed machine) 3. script should run through the xml list, creating the needed map file for gameex. script (just copy paste script into empty textfile and name it romsetxmlparser.py): from xml.dom import minidomimport sysprint("input: " + sys.argv[1])#fin = open('xyz.xml', 'r', encoding="latin-1")fin = open(sys.argv[1], 'r', encoding="latin-1")raw = fin.read()print('magic happens')doc = minidom.parseString(raw)fin.close()#fout = open('romlist.txt', 'w', encoding="latin-1")fout = open(sys.argv[1]+'.map', 'w', encoding="latin-1")softwareNodes = doc.getElementsByTagName("software")counter = 0for game in softwareNodes: name = game.getAttribute("name") description = game.getElementsByTagName("description")[0] output = name + ".zip|" + description.firstChild.nodeValue +'\n' #print(description.firstChild.nodeValue + "|" +name) try: fout.write(output) counter += 1 except: e = sys.exc_info()[0] print (name) print (e) fout.close()print("games in list: " + str(len(softwareNodes)) + ", games written to file " + sys.argv[1]+'.map' + ": " + str(counter))#print counterAll games are now shown in the correct way plus they load via the frontend as the internal *.bat now loads the correct *.zip file
×
×
  • Create New...