MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

CmdList
CmdList
Reged: 04/06/05
Posts: 65
Send PM
MAME WIP: Support New Command List Format (03/23/2016)
03/23/16 04:44 PM Attachment: mame_wip0323.png 182 KB (0 downloads)


Waiting for a few days.
I need time to modify the source code.

1. Added : <hr> tag.
2. Added : Custom Auto Text
3. Added : Custom Image glyph
4. Added : New Command List Format ($menuitem=... {)
5. Removed : some interal Command glyphs
6. Removed : Old Command List Format ($cmd, $end)
7. Removed : font color property with rendfont


*** New Command List Format

$info=pong,pongd,pongf
$set:image_file {
        _[80] = pong/_(234).png
        _[81] = pong/_A.png
        _[82] = pong/_B.png
        _[18] = pong/_C.png
}
$set:auto_text {
        _A = _[81]
        _B = _[82]
        _(234) = _[80]
}
$menuitem = Test Auto Text {
        _(234)_+_A_B_C_D
}
$menuitem = Test color {
        <font color=rgb(255,0,0)>RED COLOR <font color=rgb(0,0,255)>BLUE COLOR *** Word Wrap TEST * * * * * * * * * * * <font color=rgb(0,255,0)> GREEN COLOR * * * * *</font> * * TEST1 </font> TEST2 </font> TEST3
        <hr color=rgb(255,0,0)>
        TEST#1                _2_3_+_A_B
        TEST#2                _4or_6_+_C_D
        TEST#3                _2_3_4_+_a_b_c
        <hr color=rgb(255,50,50)>
        <font color=rgb(255,0,0)>_6</font>_6
        _[0] _[1] _[2] _[3] _[4] _[5] _[6] _[7] _[8] _[9] _[10] _[11] _[12] _[13] _[14] _[15]
        _[16] _[17] _[18] _[19] _[20] _[21] _[22] _[23] _[24] _[25] _[26] _[27] _[28] _[29] _[30] _[31]
        _[32] _[33] _[34] _[35] _[36] _[37] _[38] _[39] _[40] _[41] _[42] _[43] _[44] _[45] _[46] _[47]
        _[48] _[49] _[50] _[51] _[52] _[53] _[54] _[55] _[56] _[57] _[58] _[59] _[60] _[61] _[62] _[63]
        _[64] _[65] _[66] _[67] _[68] _[ 69] _[70] _[71] _[72] _[73] _[74] _[75] _[76] _[77] _[78] _[79]
        _[80] _[81] _[82]
        <hr color=rgb(255,0,0)>
}


http://cmdlist.com

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment

Edited by CmdList (03/23/16 05:07 PM)







Entire thread
Subject Posted by Posted on
* MAME WIP: Support New Command List Format (03/23/2016) CmdList 03/23/16 04:44 PM
. * Re: MAME WIP: Support New Command List Format (03/23/2016) Vas Crabb  03/23/16 05:47 PM
. * agreed. also IT'S NOT MAME WIP [nt] abelenki  03/23/16 06:02 PM
. * Moved to EmuChat. *nt* StilettoAdministrator  03/24/16 12:54 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 427 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1465