Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Modifying skins?  (Read 2109 times)

0 Members and 1 Guest are viewing this topic.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • I'm a llama!
Modifying skins?
« on: March 07, 2008, 01:54:44 pm »
Is there any way you can modify a skin to function like this?


Since i have a lot of albums I would like to be able to go forward and backward by one letter. The cdbox2a is almost perfect for a 15" touch screen monitor I just purchased. Since I don't use the credit feature the buttons would be great there. It would also be nice if you could have a shutdown button, and a search function.

I'm currently using (testing) on a 400mhz Celeron. Seems to be running great. But I still need to add most of my albums 100+ hopefully it will still perform this great.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4572
    • Chris's MAME Cabinet
Re: Modifying skins?
« Reply #1 on: March 07, 2008, 02:05:41 pm »
Sure.  You just need to disable the credits display (set Enabled=False in the display config) and add the icon definitions for the two new buttons.

I'm at work right now and don't have an editor here to check the exact coordinates of those buttons but these should be close:

Code: [Select]
[Icon19]
x=630
y=180
w=60
h=40
FocusColor=black
ShadowColor=black
Clickable=True
Action=BTN_PREVALPHA

[Icon20]
x=700
y=180
w=60
h=40
FocusColor=black
ShadowColor=black
Clickable=True
Action=BTN_NEXTALPHA

You'll want to tweak those X coordinates so they are correct, obviously...
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • I'm a llama!
Re: Modifying skins?
« Reply #2 on: March 07, 2008, 09:33:17 pm »
How would you go about find the exact coordinates?

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4572
    • Chris's MAME Cabinet
Re: Modifying skins?
« Reply #3 on: March 09, 2008, 02:33:21 pm »
Pull it into an art program like PhotoShop and find the coordinates of the top left pixel of the button.

In this case the correct X coordinates are 636 and 704, so my guesses of 630 and 700 were pretty close. :)

--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

  
 

Sitemap 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