Author Topic: Case sensitive category.  (Read 6528 times)

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: Case sensitive category.
« Reply #5 on: June 15, 2013, 08:39:21 AM »
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.
« Last Edit: June 15, 2013, 09:08:35 AM by Aeliss »

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: Case sensitive category.
« Reply #4 on: June 15, 2013, 06:42:51 AM »
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:
Quote
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!
« Last Edit: June 15, 2013, 06:46:16 AM by mgalaxy »

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: Case sensitive category.
« Reply #3 on: June 15, 2013, 05:38:56 AM »
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.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: Case sensitive category.
« Reply #2 on: June 14, 2013, 05:53:30 PM »
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!

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Case sensitive category.
« Reply #1 on: June 14, 2013, 12:23:40 PM »
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 )