Main > Software Forum

CPWizard v2.63 Released

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

TheShanMan:

That did it headkaze! I'm off to try out a few games and see how I like those bezels in there. :)

As for the choking before completion, I'll do a full rebuild of bezels later when I get a chance and then check the logfile assuming it chokes again.

TheShanMan:

Well, we're VERY close, but not quite there yet. Horizontals are GREAT, but my verticals are slightly off. Remember our discussion about my non 3:4 aspect ratio resolution (1024x1280)? That's coming into play here. You need to do calculations for BOTH vertical and horizontal screen settings. Setting the screen to l=0, t=0, r=1024, b=1280 causes the game to stretch horizontally slightly (total of 64 pixels, the difference between 960 and 1024). So really for my 1024x1280 configuration vertical games should be setting the screen to l=32, t=0, r=992, b=1280.

One more MINOR nit. I have the burgertime clone "btimem" in my favorites (not sure why I have that rather than btime), and I notice that when I go to the video menu, I have 2 "Show CP" and 2 "Hide CP" menu items. It would appear that clones will always pick up bezels from the master as well as the clone itself? If that's true as it appears to be, it would be nice to generate a "masters only" list of bezels to save on disk space since the clone bezels are redundant I guess.

EDIT: One more thing. I did confirm that those screen values work for btimem by modifying the .lay file. So it's not just a hypothesis. :) Actually, that's how I noticed the dual bezel for btimem. I went up to try the new .lay file and it didn't work. "What the heck? How could that not work?" I went into the video options and saw the dual listings. First one (the default I guess) was the btimem one, which I DIDN'T modify. That one didn't work. The second one, btime, which I DID modify, DID work.

So I guess if someone really wanted different bezels for a clone than for the master, it's good that apparently the clone bezel gets precedence, and it falls back to the master bezel if there is no clone bezel. So perhaps you could add an option for whether or not to create clone bezels (unchecked by default)?

headkaze:

Attached is an exe I've added "Skip Clones" you can test it while I'm gone. Will check back here tomorrow to see how you go.

As for the 32 pixel problem, any reason why you don't run in a 4:3 res like 1280x960 instead? I would much rather remove that resolution as an option as it seems to add an irritating exception to the rule. If your determined to go with that res I'll have a look at it tomorrow.

TheShanMan:

Well I'd have to redo my MaLa layout for one thing, which would result in less real estate there. I don't see why it needs to be seen as an exception to the rule. It's just that you should always be calculating which axis is the limiting axis (i.e. the axis where the screen bounds go from 0 to (max)) and then calculate the bounds for the axis that might have excess. In my case, vertical games will have excess of 32 pixels on each side. For most resolutions, it will have an excess of 0. But either way you wouldn't have to special case the code. It's just that you have to do a calculation rather than assuming the screen is 4:3 or 3:4.

In reality, if you take that approach, not only is there no "exception to the rule", but you don't have to treat vertical and horizontal differently. So it's actually a more general rule than what you have right now I think.

Oh, and it's really cool that you added that clone option! Not only will it save disk space, but it will save time as generating bezels takes a long time normally!

headkaze:

Okay I could have had that other request working last night in a few seconds. I only had to change a couple lines of code and it does what you want now. The algorithm basically does it all. Sometimes a bit of sleep can help with that ;)

I think the bezel calculations should be okay now. Let me know how it goes for you :)

EDIT: I notice people are downloading the attachement. This is only the program exe for testing and is useless by itself. If you want to try out CPWizard download it from the official website.

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

Go to full version