Page 1 of 1

How to display rom name.

Posted: Tue Oct 01, 2013 4:24 pm
by Aeliss
I have a little problem with roms with "too much complete name"
eg : Very long name rom (editor) (special version) [EU] (work only in this mode) (Disk 2).zip

The display can't be complete on mGalaxy. I rename all my rom (eg I delete editor) but sometime the info in name is usefull.

It s possible to display the rom like this

Very long name rom (editor) (special version) [EU] (work only in this mode) (Disk 2).zip

But it s still heavy, or display only "Very long name rom" in rom list and complete name only under the screeshoot, but It s not visible enought for me, really bad eyes ^^.

Use 2 lines for long name ?

Any ideas ?

Re: How to display rom name.

Posted: Wed Oct 02, 2013 7:45 am
by digital.arts
Hi,
my opinion:
let the romname as short as possible (like the mame-roms, for example "dkong.zip")
and in the the Database the complete name (or name you like), look into cutout from Model2-Database:


<game name="bel" cloneof="">
    <description>Behind... Enemy Lines</description>
    <genre>Shooter</genre>
    <players></players>
  </game>

OK, perhaps a lot of work to do, but i think the resultate is quite good...


Digital

Re: How to display rom name.

Posted: Wed Oct 02, 2013 12:34 pm
by mgalaxy
[quote="Aeliss"]
I have a little problem with roms with "too much complete name"
Any ideas ?
[/quote]

Aeliss,
The name of the game is (of course) displayed in the main scrolling list...but the width of this display isn't enough for many games to be displayed entirely.
That's the reason why this name is displayed under the snapshot too..with more space free, to allow the vast majority of games to be displayed properly.
This place was enough to display Mame games' name (just a VERY few games still missed a few characters to be complete)...but now that mGalaxy is opened to other systems the naming convention of those games might even be longer, you're right!

So, I can announce you that this "one line" restriction has been removed :-) (available in next mGalaxy version)

Re: How to display rom name.

Posted: Wed Oct 02, 2013 5:25 pm
by Aeliss

Code: Select all

this "one line" restriction has been removed
So in the future rom name can take 2 line ?

Yep digital.arts, you are right, I will make a script to make xml script just with rom folder, and remove all the tags, but there is still problems for some rom like this one "A Life M36 Planet - MotherBrain has Been Aliving (JP).zip".

I think I will combine the  2 methods, clean the name with database, and for the rare too long name, use the 2 lines function ^^.

It s fantastic It s the first "application made on demand" I know :)

Re: How to display rom name.

Posted: Fri Oct 04, 2013 10:40 am
by fleskebacon
Could it also be an idea to add a "display name"-tag in the main xml? This way you can keep the original long name with additional information, and you can have mGalaxy display your own custom short name. This could even be toggled, whether to display "full name" or "short name".

I feel bad about stripping the additional information from the main xml, as I sometimes need it.

Re: How to display rom name.

Posted: Fri Oct 04, 2013 3:38 pm
by Aeliss
I haven't tried yet but the line

Code: Select all

<description>Name without tag</description>
isn't enought to display a short name ?

Re: How to display rom name.

Posted: Fri Oct 04, 2013 7:01 pm
by mgalaxy
[quote="Aeliss"]
So in the future rom name can take 2 line ?
[/quote]
Yes Aeliss!

Re: How to display rom name.

Posted: Sat Oct 05, 2013 7:39 am
by fleskebacon
[quote="Aeliss"]
I haven't tried yet but the line

Code: Select all

<description>Name without tag</description>
isn't enought to display a short name ?
[/quote]

Yes, this is what I've done. But when doing it this way, the additional information is lost forever. With an additional field, you can keep the full name with revision and stuff in <description>, and an optional short name in for exampel <display name>. Then it can be toggled, whether you want to display the <description> or the <display name>.

Also, if you change the <description> tag, it will mess up your favorites. This is my biggest problem, acutally. If I change the <description>, the game is removed from favorites and needs to be re-added.

Re: How to display rom name.

Posted: Sat Oct 05, 2013 6:58 pm
by Aeliss
Ha yep, right, I haven't see this problem.