Main > Software Forum

CPWizard v2.63 Released

Pages: << < (133/145) > >>

headkaze:


--- Quote from: headkaze on November 04, 2016, 06:19:11 pm ---I'll fix it when I can. EDIT: I have a fixed version but I need MameDev to apply a patch I've made. As soon as it's in a future release I'll make the new script available.
--- End quote ---

MAME 0180 includes my patch so I've updated the showcp plugin. You can download it from the CPWizard site.

anchounio:


--- Quote from: headkaze on November 08, 2016, 09:05:04 pm ---
--- Quote from: anchounio on November 08, 2016, 08:09:21 pm ---I think I don't need the position, cause I will just move it right in my script with Windows Key+Left or Right arrow.
It would be much better without the titlebar and the border.

--- End quote ---

If you're going to use Autohotkey then you should be able to position the window as it is.

Use the FindWindow Win32 API function to get the handle to the CPWizard window named "Layout". Then use the SetWindowPlacement Win32 API function. Set the showCmd struct value to SW_RESTORE to take the window out of its maximised state. Fill the rest of the struct with the values you want for the position and size of the window. There is an example AutoHotkey script here.

The main problem I see is CPWizard is not designed to run multiple instances. In fact if you try to run another instance it will send the command line args to the previous instance and close.

--- End quote ---

Could you show me a closer example of how to make this possible?
Thanks in advance

anchounio:


--- Quote from: anchounio on December 02, 2016, 11:41:08 am ---
--- Quote from: headkaze on November 08, 2016, 09:05:04 pm ---
--- Quote from: anchounio on November 08, 2016, 08:09:21 pm ---I think I don't need the position, cause I will just move it right in my script with Windows Key+Left or Right arrow.
It would be much better without the titlebar and the border.

--- End quote ---

If you're going to use Autohotkey then you should be able to position the window as it is.

Use the FindWindow Win32 API function to get the handle to the CPWizard window named "Layout". Then use the SetWindowPlacement Win32 API function. Set the showCmd struct value to SW_RESTORE to take the window out of its maximised state. Fill the rest of the struct with the values you want for the position and size of the window. There is an example AutoHotkey script here.

The main problem I see is CPWizard is not designed to run multiple instances. In fact if you try to run another instance it will send the command line args to the previous instance and close.

--- End quote ---

Could you show me a closer example of how to make this possible?
Thanks in advance

--- End quote ---

It doesn't matter. I've managed to handle the layout window using an application called "WinSplit Revolution". It allows to move this kind of windows using a hotkey, you can make your own combination of keys and they can work via autohotkeys.

And yes, you were true: Cpwizard doesn't allow multiple instances.... unless you open the second instance using another cpwizard installation and opening it for the FIRST TIME. Yeah, it only works this way. It takes 5 seconds to open the second cpwizard layout but it's OK for me.

Thank you for your software

luizw81:

I'm having an issue and I was hoping someone can help me work through it.  I've been trying to switch the button images to ones that match my actual CP (all red pushbuttons).  However, no matter what I do when I launch CPWizard the controls always show the default buttons (red,blue, and white).  As you can see from the attachments only the start and coin buttons change.  I can add buttons all day and they show to buttons I want to use (T1ButtonRed) but as soon as I map it to an input it switches to the default setup.  Any ideas?


stigzler:

Have you tried swapping out the button images in CPWizard>Media for your own? Make a backup first

Pages: << < (133/145) > >>

Go to full version