Page 1 of 1

Case sensitive category.

Posted: Fri Jun 14, 2013 5:23 pm
by Aeliss
I have just understand why my bios are still showed in mame list.
On my catver.ini files bios are marked as "Bios" and not "BIOS".

It s easy for you to make it case unsensitive ?

(Sure, i can too modify easily the catver.ini file, but I m sure  I m not alone with the same problem )

Re: Case sensitive category.

Posted: Fri Jun 14, 2013 10:53 pm
by mgalaxy
Aeliss,

It appears that "BIOS" roms are now named "System / BIOS"
I wasn't aware of this modification in the catver.ini file (and I don't even know when it took place!?)

You're talking of a "Bios" instead of "BIOS"...which catver file do you use please?
I can't find this distinction in my catver files

Anyway, I'll adapt mGalaxy to reflect this change in the catver.ini file...and it'll be part of the v4.2 release!

Re: Case sensitive category.

Posted: Sat Jun 15, 2013 10:38 am
by Aeliss
In fact, It s my fault ^^, I have a special catver.ini, there is a lot of unofficial file like these one.

http://clrmamepro.free.fr/catlist older, in french but with "Bios"
http://www.progettoemma.net/?catlist in italian but with "BIOS", "Sistema / BIOS" exactly.

Obviously, the others categories aren't working too but it's not possible for you to make this functionnality working for all languages.

The problem is everyone can edit this file for him to make his own categories.

Re: Case sensitive category.

Posted: Sat Jun 15, 2013 11:42 am
by mgalaxy
Yes, actually mGalaxy filter options are based on the 'catver.ini' category names of the english file (that one can find on the same http://www.progettoemma.net/?catlist page).

I tell you how it works inside mGalaxy (the rules) so that you can eventually adapt your catver.ini file to make it work with mGalaxy:

Filter roms based on their genre name, if:
Genre STARTS with 'Fruit' (ex: Fruit Machines)
Genre STARTS with 'Electro' (ex: Electromechanical - PinMAME)
Genre STARTS with 'Tabletop' (ex: Tabletop / Othello)
Genre STARTS with 'Quiz' (ex: Quiz / Japanese)
Genre STARTS with 'BIOS' OR 'System' (ex: System / BIOS)
Genre STARTS with 'Not' (ex: Not Classified)
Genre CONTAINS 'Mature' (ex: Puzzle / Match *Mature*)
So, for example, if you would work with the french version of catver.ini (http://clrmamepro.free.fr/catlist), here are the changes you would have to do inside that file:

Fruit : no changes, the same genre name for both languages: Fruit Machines
Electro: change 'Électromécanique' to 'Electromécanique' (without the accent)
Tabletop: change 'Jeux de Table' to 'Tabletop' (or 'Tabletop (Jeux de Table)' for example)
Quiz: change 'Questionnaire' to 'Quiz' (or 'Quiz (Questionnaire)')
Bios: change 'Bios' to 'BIOS'
Not: I can't find the equivalent 'Not Classified' roms in the french file...those roms are not listed inside
        Otherwise you should replace the genre name by 'Not Classified'
Mature: change 'Adulte' to 'Mature'


I hope that it'll help you!

Re: Case sensitive category.

Posted: Sat Jun 15, 2013 1:39 pm
by Aeliss
Nice, really usefull, thx. Not a problem for me if my machine work with 2 differents languages in same time.
But I think it will be usefull to use the non case senstive function version to compare string. It s easy to put a "fruit" insted of a "Fruit" too.