Previous Thread
Next Thread
Print Thread
Page 204 of 529 1 2 202 203 204 205 206 528 529
Re: SVN builds - new driver flood [Re: Anna Wu] #66717 01/12/11 03:33 PM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
yeah, but there was no flexible way to use image device filenames... until now wink

Re: SVN builds - new driver flood [Re: Anna Wu] #66718 01/12/11 05:40 PM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
I will commit the code as soon as I have the green light from the MAME devs. In the meanwhile, this is a glimpse of how the new template works (as I plan to describe it in messnew.txt)

Code:
Added support for a new template to -snapname to use software names for 
snapshots. It is now possible to use %d_XXXX to name snaps after the name
of the file mounted in the device XXXX, being XXXX the brief name of any
device. E.g. you can use "-snapname %d_cart" to use the name of the game 
mounted in the cartslot, or "-snapname %d_flop2" to use the name of the game 
mounted in the second floppy drive, etc. If you are loading software through 
software lists, its shortname will be used; if you are using the fullpath of 
the software, its filename is used. Any combination of the new template with 
the old "/", "%g" and "%i" templates is supported as well. Notice that if you 
specify an invalid device, or if you have no software mounted in the chosen 
device, MESS will revert to the default template "%g/%i".


In this way, in addition to the old system.png and system/0000.png, you can decide to name your snaps based on any of the software pieces you have loaded, be it a cart, one of the floppies or even an hard disk. an example: if you launch,

Code:
mess a500n -cart expansion.bin -flop1 OS.adf -flop2 my_game.adf


you can then use:
* "-snapname %g" to obtain a a500n.png snap
* "-snapname %d_flop2" to obtain a my_game.png snap
* "-snapname %d_flop1" to obtain a OS.png snap
* "-snapname %d_cart" to obtain a expansion.png snap

and of course you can combine the new "%d" with the old templates, using e.g. "-snapname %g/%d_flop2%i" to obtain a500n/my_game0000.png smile

it should be as flexible as anyone might ever need smile

Re: SVN builds - new driver flood [Re: Anna Wu] #66726 01/13/11 08:08 AM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
as you might have seen the snapname changes got added in rev. 10016 and can be tested in latest bobz build.

moreover, in rev. 10018 I have added best match suggestions to software lists



suggestions are limited to 5, given that (as you can see in the snap) all the lists available for a system are scanned when looking for similar names...

the garbage in the fm7 results is due to my Terminal not being able to display Japanese chars

Re: SVN builds - new driver flood [Re: etabeta78] #66727 01/13/11 10:31 AM
Joined: Dec 2009
Posts: 351
ASH Offline
Senior Member
Offline
Senior Member
Joined: Dec 2009
Posts: 351
nice work Etabeta

will this feature be added to the UI ?

and if so does this mean different snapshots will be displayed for every game in the snapshot TAB? smile

Re: SVN builds - new driver flood [Re: etabeta78] #66728 01/13/11 11:02 AM
Joined: May 2004
Posts: 1,601
H
Haze Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,601
would it not be a good idea to have a romanized name too then, as MAME has? It's good to have the native language titles, but not so useful as far as frontends / commandline (if unsupported) etc. is concerned.

If anything I'd have the native language names in an extended field, and a romanized name as the main one.


Last edited by Haze; 01/13/11 11:03 AM.
Re: SVN builds - new driver flood [Re: Haze] #66729 01/13/11 11:35 AM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
Originally Posted By ASH
nice work Etabeta

will this feature be added to the UI ?

and if so does this mean different snapshots will be displayed for every game in the snapshot TAB? smile


UI is not my league. Time will tell if any other dev is interested in adding support for software snap display. At least now, there it could be possible.

Originally Posted By Haze
would it not be a good idea to have a romanized name too then, as MAME has? It's good to have the native language titles, but not so useful as far as frontends / commandline (if unsupported) etc. is concerned.

If anything I'd have the native language names in an extended field, and a romanized name as the main one.


I suggested Barry to use only Romanized descriptions as well, when he first added fm7 lists, but he said it was easier for him to create the list in that way.

given that internal UI displays those characters just fine (if you have them in the fontset you're using), until now there were no visible bad effects coming from his choice.

Now that we have indeed a 'bug' due to using Japanese chars, we can maybe re-discuss the thing: feel free to point out the problem to Barry (I'm working on other things, atm)

Re: SVN builds - new driver flood [Re: etabeta78] #66730 01/13/11 12:00 PM
Joined: Dec 2006
Posts: 526
M
mahlemiut Offline
Senior Member
Offline
Senior Member
M
Joined: Dec 2006
Posts: 526
Works fine for me. wink



Anyway, I thought MAME/MESS was going the way of Unicode?


- Barry Rodewald
Re: SVN builds - new driver flood [Re: Anna Wu] #66731 01/13/11 12:05 PM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
oh, cool! I guess I have to check if I can support unicode in my Terminal, then...

about MAME: yes, it supports unicode, but still only in a marginal way wink

Re: SVN builds - new driver flood [Re: Anna Wu] #66732 01/13/11 12:36 PM
Joined: Aug 2009
Posts: 667
Kaylee Offline
Senior Member
Offline
Senior Member
Joined: Aug 2009
Posts: 667
Unfortunately it doesn't work in Windows XP 32bit, With installed Far-east Asian and Arabian Support



Now with newui I get this smile

Last edited by Kaylee; 01/13/11 12:59 PM.
Re: SVN builds - new driver flood [Re: Anna Wu] #66736 01/13/11 01:07 PM
Joined: Mar 2001
Posts: 16,394
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,394
Windows (itself, not MESS's Windows OSD layer) doesn't support Unicode in terminal windows very well (it's a bit better in 7 I believe). I wanted to make it work for command-line M1 and the MS documentation said pretty much "don't even try".

Linux/BSD are UTF-8 compliant top-to-bottom, as Barry demonstrated. OS X is somewhere in between smile

Also, MAME/MESS are fully Unicode; I don't understand eta's "marginal way", because it's simply not true.

Last edited by R. Belmont; 01/13/11 01:09 PM.
Page 204 of 529 1 2 202 203 204 205 206 528 529

Who's Online Now
3 registered members (Sharkpuncher, hal3000, Edstrom), 136 guests, and 1 spider.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,723
Posts114,652
Members4,873
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3