MAMEWorld >> News
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

AntoPISA
MAME Snapper
Reged: 09/15/08
Posts: 2905
Loc: Pisa, Italy
Send PM


Languages.ini 0.145u7 (pre-released)
#285076 - 05/05/12 11:04 PM


New support file for MameUI, which attempts to catalog all of the MAME sets based on the language used by the game.
The file, extracted from the zip file, should be placed in the folder named 'Folders' of your emulator.
This is a pre-release, will contain so many errors.
As always, I need your help to correct the errors.

Download the file here: progetto-SNAPS Languages.ini.

PS: Thanks to 'MAME Italian Forum' guys for the idea.



Site: https://www.progettosnaps.net/
Board: progetto-SNAPS Official Board
Twitter: @progettosnaps



CptGuapo
Beat'em-ups Lover
Reged: 03/18/08
Posts: 342
Loc: Off to Never Never Land
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285088 - 05/06/12 01:07 AM


Hey, nice idea! I'll check it to verify if my language (pt-br) has something missing. Is "Pesadelo" eligible to stay on such list, since only (AFAIK) title screen has something in pt-br?

Besides that game, I really don't know if there's another one (s)...



"Mythology is what grownups believe, folklore is what they tell children and religion is both."



HowardC
MAME Fan
Reged: 05/15/04
Posts: 177
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285143 - 05/06/12 07:24 AM


This is a really great idea, it's much needed!

Can I make a suggestion though?

What if you did it "backwards." In other words if you search the ini for an entry under the parent rom name in the "[North America]" section it would give you the best match. If the game was actually released in that region, it would give that rom name. If it wasn't released in that particular region, but it WAS released in the native language of that region, that would be the rom listed. If neither are available, the parent rom would be listed.

Example:

[North America]
puckman=pacman

[Japan]
puckman=puckman


This way a front-end or list builder could build a list of all the "most correct" roms for your region.



AeroCityMayor
Entity formerly known as alien_mame
Reged: 11/11/03
Posts: 2438
Loc: Wakefield, West Yorks, UK.
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285146 - 05/06/12 11:22 AM


> New support file for MameUI, which attempts to catalog all of the MAME sets based on
> the language used by the game.
> The file, extracted from the zip file, should be placed in the folder named 'Folders'
> of your emulator.
> This is a pre-release, will contain so many errors.
> As always, I need your help to correct the errors.
>
> Download the file here: progetto-SNAPS Languages.ini.
>
> PS: Thanks to 'MAME Italian Forum' guys for the idea.

Fantastic work.

I'll have a look when we get to .146

Cheers,

Ralph.



Coherance of posts inversely proportional to Foster's consumption!!!




CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285160 - 05/06/12 02:37 PM


Nice job.
One thing. Why adding the amount of games in the section name ? Unnecessary.



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



Cyberzinho Punk
Reged: 12/31/09
Posts: 182
Loc: São José dos Campos, SP, Brazil
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285167 - 05/06/12 03:44 PM


Good job!!!!



Sorry, my English is bad!!!
Slackware Linux 14.2 beta 2/Fluxbox 1.3.7
Linux user #438128
MAME for Slackware



AntoPISA
MAME Snapper
Reged: 09/15/08
Posts: 2905
Loc: Pisa, Italy
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: CiroConsentino]
#285171 - 05/06/12 04:34 PM


> Nice job.
> One thing. Why adding the amount of games in the section name ? Unnecessary.

You're right, it's just because it is a 'Work in Progress' job.
In the final version (I think for 0.146) will be deleted.

Edited by AntoPISA (05/06/12 04:34 PM)



Site: https://www.progettosnaps.net/
Board: progetto-SNAPS Official Board
Twitter: @progettosnaps



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: HowardC]
#285175 - 05/06/12 04:53 PM


I would not duplicate games names under different language sections. This will be a horrid nightmare to support on frontends because there's no way to know what is the correct language for those games.



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



AntoPISA
MAME Snapper
Reged: 09/15/08
Posts: 2905
Loc: Pisa, Italy
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285177 - 05/06/12 05:28 PM


First small update: Added 45 set in Russian.



Site: https://www.progettosnaps.net/
Board: progetto-SNAPS Official Board
Twitter: @progettosnaps



AntoPISA
MAME Snapper
Reged: 09/15/08
Posts: 2905
Loc: Pisa, Italy
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285182 - 05/06/12 07:15 PM


Updated and fixed Spanish language.



s_bastian
Wasting time at work...
Reged: 06/14/04
Posts: 310
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: CiroConsentino]
#285223 - 05/07/12 12:12 AM


> I would not duplicate games names under different language sections. This will be a
> horrid nightmare to support on frontends because there's no way to know what is the
> correct language for those games.

this is what makes me doubtful about this ini. if you don't make multiple entries it is useless. See AVSP (EURO), it has 5 languages from the settings menu. this measn AVSP must be in 5 different entries, but also that you should run all games, check both dip and settings menu, and make al necessary entries. It is not a thing that can be done by simply text-filtering the name desctiption in the clones



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: s_bastian]
#285232 - 05/07/12 12:52 AM


I see your point. That would render this file pointless if you do not add the game name is different languages.



AntoPISA
MAME Snapper
Reged: 09/15/08
Posts: 2905
Loc: Pisa, Italy
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285291 - 05/07/12 08:28 AM


Other little fix online.



HowardC
MAME Fan
Reged: 05/15/04
Posts: 177
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: CiroConsentino]
#285292 - 05/07/12 08:41 AM


> I would not duplicate games names under different language sections. This will be a
> horrid nightmare to support on frontends because there's no way to know what is the
> correct language for those games.

Actually it's the other way around. As-is it'll be more complex than it should be.

You are looking at the problem backwards. In other words you are expecting the user to already know the clone name in question and then read it's language value. Well in most cases if you know the clone name, you already know the language as it's abbreviated in the rom name. That's like when your teacher at school would tell you to look up a word in the dictionary if you didn't know it's spelling... that's a little hard considering you don't know how to spell it!

What I'm proposing is that a front-end would only list the parent roms. The front-end would also have a region setting. When the user went to get more info on the game/and or launch the game, it would read the ini in the region section selected and automatically be re-routed to the rom the user actually wants instead of just the parent rom. That means no more manually adding pacman to a gamelist, ect...

And you would still need the language.ini that you've currently built. That's how you ultimately determine the language once you've figure out which rom the user wants. I'm saying there needs to be a region.ini as well.

With my method you make a single call to get the proper rom and an additional call to get the language. With yours you would have to first get a list of a parent's clones, then read the language for each clone, then pick the best match.

Edited by HowardC (05/07/12 08:43 AM)



HowardC
MAME Fan
Reged: 05/15/04
Posts: 177
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: s_bastian]
#285293 - 05/07/12 08:47 AM


> > I would not duplicate games names under different language sections. This will be a
> > horrid nightmare to support on frontends because there's no way to know what is the
> > correct language for those games.
>
> this is what makes me doubtful about this ini. if you don't make multiple entries it
> is useless. See AVSP (EURO), it has 5 languages from the settings menu. this measn
> AVSP must be in 5 different entries, but also that you should run all games, check
> both dip and settings menu, and make al necessary entries. It is not a thing that can
> be done by simply text-filtering the name desctiption in the clones

Actually... it's not all that bad. Afaik only EURO and World releases have multiple language settings, for obvious reasons. You can usually safely assume that a US title won't have a language setting, for example.



s_bastian
Wasting time at work...
Reged: 06/14/04
Posts: 310
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: HowardC]
#285305 - 05/07/12 01:47 PM


> Actually... it's not all that bad. Afaik only EURO and World releases have multiple
> language settings, for obvious reasons. You can usually safely assume that a US title
> won't have a language setting, for example.

If you limit your job to CPS1/2, yes, you are right. What about all non CPS1/2 games? Like 1000 Miglia: Great 1000 Miles Rally (94/07/18)? This game too has half a dozen languages in the service menu. But no EURO in revision name. How many more of these are there? How many games have Japan/World versions selectable from dip or service menu?

If you want this WELL done, you must run each single game, enter each Setting menu (maybe in Korean or Japanese...), find the Language setting (if any) and note every language down. Check all the dipswitch settings, find if there is a language setting OR a version setting (like Japan/world) and note it down. Any other way to do this, will be a incomplete thing.

With this, I don't mean that this ini is useless. But in my opinion the amount of work has been heavily underestimated....



AntoPISA
MAME Snapper
Reged: 09/15/08
Posts: 2905
Loc: Pisa, Italy
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: s_bastian]
#285312 - 05/07/12 02:17 PM


Languages.ini is at a very early version, there will be time to correct the mistakes and not with this job I will not certainly say that this is the absolute truth, it is just a new tool.
Who deems interesting may use it, the others will continue as usual.



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Languages.ini 0.145u7 (pre-released) new [Re: AntoPISA]
#285383 - 05/07/12 07:10 PM


I don't know what I was thinking when I posted that reply.
sorry to all.


Pages: 1

MAMEWorld >> News
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  John IV, Robbbert, Tafoid 
1 registered and 431 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2179