Main > Software Forum

CPWizard v2.63 Released

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

headkaze:

anchounio: It appears you just need an option to display the layout in a window. Do you need to be able to set the position? What about the titlebar and border?


--- Quote from: headkaze on November 04, 2016, 06:19:11 pm ---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 ---

The good news is my patch is now in the official MAME GitHub repo so as soon as a new version of MAME is released I will be posting a new plugin.

username1024:

Does anyone know how to batch export a limited set of bezels using CPWizard?  I only have about 50 roms on a cabinet to keep it easy for visitors to choose a game.  I use File->Export->Batch with the "Output Type" set to Bezel but it starts making hundreds and thousands of .zips I am uninterested in.  I'm using a pretty high res background image for my control panel so I really don't want to have to generate like 36,000 .zips to get the 50 I need.

Is there a command line option to output a specific game's bezel?  I could script it myself then.  Or a way to limit the games CPWizard knows about to just the roms I have?  Thanks!

anchounio:


--- Quote from: headkaze on November 08, 2016, 07:42:58 pm ---anchounio: It appears you just need an option to display the layout in a window. Do you need to be able to set the position? What about the titlebar and border?

--- End quote ---

Yeah, that's it :)
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.
Thanks in advance :)

headkaze:


--- 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.

anchounio:


--- Quote from: headkaze on November 08, 2016, 09:05:04 pm ---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 ---

I'm using a second cpwizard installation. This way 2 instances can be opened, and in the second cpwizard the controls of the second player are configured.

BTW, I'm getting mad with that autohotkey script... Could I have a closer example?
Or just have an added option to open layouts windowed, cause the autohotkey solution is ... really difficult for me  :lol

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

Go to full version