No I'm not using the standalone version, which is why I pointed the makectrl bit in the instructions.
Thanks for the explamations, I had missed the requirement for the addtional step of manually writing the panel file. IT's a bit tedious to do but I got it to the point where I can get the viewer to display my own panel when you pause the game.
The problem is that:
- no button is dimmed
- there are no labels
I believe this is related to the ctrlr file because if I try point it to one of your files, then all the buttons are "lit" even for a game like 1941 where only 2 buttons are used.
I was getting labels using the "out of the box" setting (but for the hotrod panel) but I'm not getting them for my own panel, so I broke something in the setup, or maybe it's again a ctrlr issue.
I need to read up on ctrlr files, I use the default MAME setting so I never bothered learning about them since games work fine.
I assume I can change the ctrlrpath to point to MAME's ctrlr directory rather than the one in cpmaker? ("ctrlrpath,CTRLR," in cpamker.ini)
I tried to change the control to standard.cfg ("controller,standard.cfg," in the panel file) but it didn't make a difference.
Does CPMAker has a "debug" mode were it would log what it's doing so I could see what file it's missing or not happy about?
FYI here's what my panel file lloks like (comments removed, and I haven't gotten to fix the start button entries either):
control,button,360,50,revkey_1.jpg,revkey_1.jpg,KEYCODE_1,
control,button,440,50,revkey_2.jpg,revkey_2.jpg,KEYCODE_2,
controller,standard.cfg,
layout,chriskade.lof,
template,chriskade.jpg,
control,joy8way,553,251,joystick.jpg,joystick_dim.jpg,KEYCODE_UP,KEYCODE_DOWN,KEYCODE_LEFT,KEYCODE_RIGHT,
control,trackball,349,326,trackball.jpg,trackball_dim.jpg,MOUSECODE_1_UP,MOUSECODE_1_DOWN,MOUSECODE_1_LEFT,MOUSECODE_1_RIGHT,
control,p1button,96,299,blue.jpg,blue_dim.jpg,KEYCODE_LCONTROL,
control,p1button,154,300,red.jpg,red_dim.jpg,KEYCODE_LALT,
control,p1button,214,297,green.jpg,green_dim.jpg,KEYCODE_SPACE,
control,p1button,260,339,bottomyellow.jpg,bottomyellow_dim.jpg,KEYCODE_LSHIFT,
control,p1button,94,240,topyellow.jpg,topyellow_dim.jpg,KEYCODE_LSHIFT,
control,p1button,155,243,purple.jpg,purple_dim.jpg,KEYCODE_Z,
control,p1button,214,245,black.jpg,black_dim.jpg,KEYCODE_X,
and cpmaker.ini:
verbose,0,
imagepath,cpmaker\images,
magickpath,cpmaker\magick,
xmlcachepath,cpmaker\xmlcache,
productpath,.,
ctrlrpath,CTRLR,
layoutpath,cpmaker\layout,
panelpath,cpmaker\panels,
fontpath,c:\windows\fonts,
controlsxmlpath,.,
product,controls.png,
panelfile,chriskade.ini,