Poll

How would you like the roms from other emulators to be managed?

Just scan my 'roms' folder and display the files name 'as they are' in mGalaxy.
7 (87.5%)
Use a database (thus forcing me to conform to its naming convention).
1 (12.5%)

Total Members Voted: 8

Author Topic: Opening mGalaxy to other emulators  (Read 24382 times)

citizengodden

  • Newbie
  • *
  • Posts: 47
Re: Opening mGalaxy to other emulators
« Reply #40 on: July 04, 2013, 04:04:19 PM »
It's a nice feature and will be welcome for users that want to customise a little more. Thank you and good thinking with the extra functionality  :)
It's not easy being green.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: Opening mGalaxy to other emulators
« Reply #39 on: July 03, 2013, 08:39:09 AM »
I've think to it...and it's OK, I will implement the scan for a database for each systems.
The presence of this database won't be mandatory (to keep simplicity for 'common' users) but if there's one present mGalaxy will use it.

The argument that finished to convince me is the possibility to have the "real name", of course, but eventually the 'cloneOf' info, the 'genre' of a game and the 'players' info (based on the same scheme that nPlayers (1player, 2players, 2players simultaneously,...)
That would bring the same functionalities (for people taking time to populate their database) than those used for mame.

The database will so be structured that way:

Code: (xml) [Select]
<?xml version="1.0"?>
<dbase build="1.0">
<game name="123abc">
<cloneof/>
<description>Superman</description>
<genre/>
<players/>
</game>
<game name="456def">
<cloneof/>
<description>Supergirl</description>
<genre/>
<players/>
</game>
</dbase>

...and will be part of the next release: v4.2 that I hold until this addition is completed.
« Last Edit: July 03, 2013, 08:41:56 AM by mgalaxy »

citizengodden

  • Newbie
  • *
  • Posts: 47
Re: Opening mGalaxy to other emulators
« Reply #38 on: July 02, 2013, 01:16:50 PM »
I understand what you're saying - and you're right it would be amazing for everyone to be able to rename the roms to something a little better automatically. This as you've pointed out would be a complete headache though!  :D

And yes I'm thinking from a single user point of view for simplicity's sake. Maybe people could share their databases on the forums if they've gone to the trouble of creating custom names?

Just an idea anyway!  ;)

It's not easy being green.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: Opening mGalaxy to other emulators
« Reply #37 on: July 02, 2013, 12:44:18 PM »
OK...we are talking of the same thing!...and indeed you would like to have the "real name" displayed instead of the "rom name" ;-)
The only difference between me and you is that you see it from a single user view (each one does as he wants)...when I see the benefit to share all that work among all users...But it requests (that's true) to maintain as many databases that there are romsets available!

The idea:
One user, with a full Commodore 64 romset coming from Gamebase (roms are really bad named!) decide to work on it and begin to associate a "real name" to the rom name...Wouldn't it be interesting to make all this work available to other users that perhaps don't have the technical abilities to do so?
« Last Edit: July 02, 2013, 01:29:57 PM by mgalaxy »

citizengodden

  • Newbie
  • *
  • Posts: 47
Re: Opening mGalaxy to other emulators
« Reply #36 on: July 02, 2013, 11:37:35 AM »
I've noticed Stefan also mentioned the same idea in another thread. Maybe this conversation would be more suited there.

In simple terms:
  • mGalaxy creates the file.
  • If you leave it alone, everything stays the same - you gain nothing - as you pointed out.
  • If you amend it manually in notepad or whatever, those custom rom names show up in the list, instead of the rom's filename. The filename basically gets associated with a custom name.

As an example, the file could be laid out as follows, auto-generated when required by the user:

Code: [Select]
<RomName>
<FileName>srally2.zip</FileName>
<CustomText>srally2.zip</CustomText>
</RomName>

The GUI then displays the <CustomText /> from the file in the listing, instead of the <FileName />

If a user amends the file manually, replacing srally2.zip with Sega Rally Championship 2 then that's what will show up in the GUI, instead of srally2.zip.

I'm struggling to find a simpler way to put it!!  :D

Like I said before, it's not a huge problem for me either way - I just noticed people enquiring about it on here so thought I'd offer some ideas.
It's not easy being green.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: Opening mGalaxy to other emulators
« Reply #35 on: July 02, 2013, 10:36:32 AM »
Well I'm afraid to not understand!? What's the benefit of a database if it simply lists the rom name without (for instance) allowing you to have the 'correct' (by opposition to the rom name) name displayed or a 'genre' attributed?
What would you gain? Apart from removing games from the list (but you simply could remove them from the folder) I can't see!

citizengodden

  • Newbie
  • *
  • Posts: 47
Re: Opening mGalaxy to other emulators
« Reply #34 on: July 02, 2013, 06:08:43 AM »
Well - personally speaking - I don't think it needs a naming convention, other than the one that mGalaxy already uses (based on the filename). It's the ability for the user to change what's displayed I think is the request from a few people on here - and it would be a handy feature IMO.
It's not easy being green.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: Opening mGalaxy to other emulators
« Reply #33 on: July 02, 2013, 05:59:59 AM »
I'm not (at all) against the idea of a database for each system...my main concern is: based on which romset!!??
Gamebase, No-Intro, GoodRoms,... there are a few romsets available, each with different naming convention.
As one can't impose a specific one, that would involve maintaining a database for each romset in each system!?

I'm OK to write a little utility that would make a database out of a folder (or another existing XML?)

All your ideas and suggestions are welcome!!

citizengodden

  • Newbie
  • *
  • Posts: 47
Re: Opening mGalaxy to other emulators
« Reply #32 on: July 01, 2013, 03:55:34 PM »
Duckeenie IMO has got it right.

A database (something editable, like a .txt or .xml) could be generated using the filenames as they are now (and the MAME rom descriptions). Once it's generated, you can leave it alone or you can get editing. That way, surely everyone's happy and the idea of keeping the rom names up-to-date is placed on the user and not the developer.

What would be needed then, of course, is a way to re-scan the folders to re-create the database(s) for the systems.

I can see two ways of getting this to work:

1. There's one database file (or several for each system). It's generated by mGalaxy according to user demand. If you make amendments in it then mGalaxy will automatically show the changes. If you re-scanned your roms (essentially creating new databases) then you would either have a way to determine what's been changed and leave it alone (a flag in the XML perhaps?) or the re-scan will simply overwrite what was already there.

2. There's one "custom" file (or again several for each system). It's created by the user. mGalaxy uses it's own methods for determining how to name the files, as it does now. If it finds a custom file it checks this against the filenames it has and does a simple substitution.

I think the upshot is that the developer doesn't have to do much, other than provide the tools for the user - they can then amend or leave it as it currently works.

To be completely honest, I'm not that bothered either way. I thought if it is something that users want, then it doesn't have to be a painful job to implement. I'm just happy after trying lots of different frontends to find one that's simple, works and is pretty to look at!! So congrats to the author for doing an amazing job! GameEx, Hyperspin, Mala and all the others have their place - but for me this is the best frontend I've had the fortune to stumble across so far! =)
It's not easy being green.

Duckeenie

  • Newbie
  • *
  • Posts: 4
Re: Opening mGalaxy to other emulators
« Reply #31 on: April 06, 2013, 01:47:56 PM »
The ideal solution might be to check ROM name against a database, if it isn't there then fallback to displaying the file name for that ROM.

Alan Ford

  • Newbie
  • *
  • Posts: 26
    • Email
Re: Opening mGalaxy to other emulators
« Reply #30 on: November 17, 2012, 07:56:41 AM »
Got the mail, gonna do some testing later today  ;)

rash2236

  • Full Member
  • ***
  • Posts: 103
  • only arcade game
    • Email
Re: Opening mGalaxy to other emulators
« Reply #29 on: November 13, 2012, 10:36:58 AM »
thanks :) now testing
« Last Edit: November 16, 2012, 11:14:07 AM by rash2236 »

Alan Ford

  • Newbie
  • *
  • Posts: 26
    • Email
Re: Opening mGalaxy to other emulators
« Reply #28 on: November 12, 2012, 03:18:30 PM »
I'm in ;)

rash2236

  • Full Member
  • ***
  • Posts: 103
  • only arcade game
    • Email
Re: Opening mGalaxy to other emulators
« Reply #27 on: November 12, 2012, 03:14:37 PM »
me too please :) rash@milc.pl
« Last Edit: April 01, 2014, 01:21:33 PM by rash2236 »

skeewiff

  • Newbie
  • *
  • Posts: 7
    • Email
Re: Opening mGalaxy to other emulators
« Reply #26 on: November 12, 2012, 11:54:33 AM »
Hi, glad to hear that!!! I just send you an email.