Front End Support > MaLa Frontend
Introducing New (Enhanced) MaLa Game List Editor
Eddie_Brock:
--- Quote ---I got your mlg file and man is it huge (2,235 games)! Ok so here's your problem. When you created your game list you named it 'Games' in the mala game list editor (the editor that comes with Mala) but you saved the file as trim.mlg. So when you selected it from the GUI program it exported properly, but it was exported as 'Games.ini' since the command line converter names the file based on the internal mala list title.
--- End quote ---
Indeed its huge, I have been going through it by hand in MAME deleting titles that don't work, are lame, I will never play, etc. The idea being that your program will make it a bit easier to filter through and modify my list.
Thanks for your help, I was fairly certain it was something I was doing wrong with the app. I will be sure to give it a try tonight when I get hom from work.
:applaud: Thanks again :notworthy:
jasonbar:
Keen application, thund3rstruck! :cheers:
I'll check it out soon.
In the meantime, 1 quick question--I didn't see it addressed but might have missed it in my skimming of the thread:
Does your program let the user spit a text file of the games used in a list? More specifically, I'd love to have a text file of the game names (not ROM names, the text string that appears in MaLa).
Thanks!
-Jason
thund3rstruck:
--- Quote from: jasonbar on March 24, 2010, 06:58:21 pm ---Keen application, thund3rstruck! :cheers:
I'll check it out soon.
In the meantime, 1 quick question--I didn't see it addressed but might have missed it in my skimming of the thread:
Does your program let the user spit a text file of the games used in a list? More specifically, I'd love to have a text file of the game names (not ROM names, the text string that appears in MaLa).
Thanks!
-Jason
--- End quote ---
The mlgconverter.exe (the command line tool which speaks Mala's language) converts the binary, proprietary MLG file format into plain-text INI. The INI file contains all the data in the original MLG file. The name of the game (not the rom name but the actual title) itself is stored in the Description key for the section which represents each game.
The Graphical User Interface tool (MalaGamesListEditor.exe), simply wraps the command line tool so users never have to actually use the command line tool, unless they want to script/automate the creation of game lists.
I'm not sure that answered your question... if not, perhaps I didn't understand the question
jasonbar:
Howdy-
I think you answered my question--I wasn't 100% sure that an "ini" file was a "txt" file. I guess that's interchangeable.
I downloaded it & tried it out & had a couple of comments/questions/problems:
1 - Because I didn't have my mame.xml handy (lazy, tired...), I tried to launch the GUI version (MalaGameListEditor.exe), but it wouldn't launch without mame.xml. That's OK.
2 - So, I ran the command prompt version. It took a couple of tries for me to get the syntax correct. I noticed that the file is mlgconverter.exe, but the command prompt "help" that pops up explains syntax & calls the program convertmlg. I guess you had a name change in the development somewhere? :]
3 - After figuring out the syntax, I typed in "mlgconverter export Infernolab.mlg" (minus the quotes). It crunched through my 2200-ish files, saying: "Exported: ? from list: Infernolab Cabinet", where "?" is each ROM name. After it was all done, I couldn't find any new .ini file that was generated. Should it be written to the same directory as the program & the mlg file?
Thanks!
-Jason
thund3rstruck:
--- Quote from: jasonbar on March 25, 2010, 01:44:47 am ---3 - After figuring out the syntax, I typed in "mlgconverter export Infernolab.mlg" (minus the quotes). It crunched through my 2200-ish files, saying: "Exported: ? from list: Infernolab Cabinet", where "?" is each ROM name. After it was all done, I couldn't find any new .ini file that was generated. Should it be written to the same directory as the program & the mlg file?
--- End quote ---
Yea, I noticed that the other day as well. The game list file path parameter needs to be the full path because the Delphi code I wrote is a little dumb (cause I had to learn the Delphi programming language in like 2 hours to do this). So in other words you need to specify the full path like this:
--- Code: --- mlgconverter export "c:\Arcade\Mala\My Game Lists\infernolab.mlg"
--- End code ---
You can be sure that a new file infernolab.ini was created somewhere on your disk, but I can't tell you exactly where it went... :-[. That's a legit bug that I need to fix.
I was waiting for someone to use the command line converter before mentioning this bug...
Hope this helps,
Cheers!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version