Jump to content
Tuts 4 You

[C++ Release] PatchLib


atom0s

Recommended Posts

Posted (edited)

No longer sharing this project on this site.

Edited by atom0s
Posted
Uhg.. after a week or so of pounding tons of time into this, I finally am glad to announce the initial release of patchLib.

Good things are bound to take time...

And this, looks awesome!

7.) BLAH BLAH LEGAL CRAP BLAH BLAH (The part no one reads...)

Ding ding ding! :lol:

Great work Wiccaan. My congratulations! :thumbsup:

Posted

Lol thanks for the comment and help you gave with the masm lib. Turned out pretty decent. :) I'm happy with it I guess lol. I can already say I am thinking of random things to do to it for updates and such. I dunno, I'm not someone that is contempt with what I make first go. I always gotta rewrite it a million times and do this and that to it.

Posted (edited)

Very cool! The only gripe I have about it is that (After looking at your example patch) the most transparent parts (e.g. around the buttons) are still part of the dialog, instead of having a region made, and removing them. But that's no problem at all :P

Edited by Hyperlisk
Posted (edited)
Very cool! The only gripe I have about it is that (After looking at your example patch) the most transparent parts (e.g. around the buttons) are still part of the dialog, instead of having a region made, and removing them. But that's no problem at all :P

Not to sure what you mean by this. The buttons are drawn completely separate from the rest of the images. What ever you leave transparent stays that way.

I didn't create the template for the Patcher Example either, that is a template taken from uPPP. I simply used it to show that it uses the same style templates as it does.

Care to be a little more specific? (Sorry, just not fully understanding what you are referring to.)

Edit:

Oh I think I know what you mean. In the patch example the rectangle that goes around the buttons thats transparent. When I first started working on this the first example prog I wrote was working without that. Like you could click through that part. To me, it was a bug and it ****ed me off. So I rewrote the engine over and over to try to fix the "bug". I did manage to fix it and now I forget what caused it.. Looking back at all the original projects they all are fixed now :/

However, inside CEngine.cpp, inside the Draw() function of the engine you will see a call to:

PremultipliedAlpha()

This function is what handles creating the transparency of the image in those locations. That might help some in creating a work around to making the area's click through if you want them to be. I personally disliked it and wanted to be sure that those became part of the overall window.

Also, keep in mind, the section does become click through completely if you use full transparency for part of the image. You can create a very odd shaped form and each part that is real transparency will be click through.

Edited by Atomos
Posted

Just seconding HVC's comment - good things take time and this look excellent.

Nice work, and thanks for sharing mate :thumbsup:

Posted

I have a suggestion, to integrate a textbox class to be usefull to keygeners :D .

Posted

Yep, nice work :)

to integrate a textbox class
Hehe.. good luck !

That job will be a different pain.

Posted
I have a suggestion, to integrate a textbox class to be usefull to keygeners :D .

Most I can say is use 2 buttons and 1 text object. 1 button to generate the key into the text label. The other to copy the string to your clipboard.

Posted
Also, keep in mind, the section does become click through completely if you use full transparency for part of the image. You can create a very odd shaped form and each part that is real transparency will be click through.

Ah, I just assumed that the part around the buttons had full transparency. No worries then! :blush:

Great work!

Posted

WOW, that's awesome!

Thanks a ton Atomos, very great work!

Keep it up man, :thumbsup:

A big "Hello" to HVC and congratz for the trial status, you rock! :gun:

Posted

nice... good.. my friends could use this for a project we are working out of... no not a team.. im not in 0day anymore.. they are assholes fuc*& them

C++ not my deal tho :D

good work tho mate :D

Posted

Hi!

Cool work and thanx for sharing!! :thumbsup:

Is it possible that anyone can compile to static lib???

Thanx in advance!!

Posted
Hi!

Cool work and thanx for sharing!! :thumbsup:

Is it possible that anyone can compile to static lib???

Thanx in advance!!

You should be able to compile it yourself without any issues. Just download the express edition of VS2008 and the Platform SDK from Microsoft. They are both free.

Posted (edited)

No longer sharing this project on this site.

Edited by atom0s
  • 3 weeks later...
Posted

Thanks Atomos, very great work!! :D

  • 2 weeks later...
ferrit.rce
Posted

Good stuff! :thumbsup: I've made my latest patch using this library and write a general diff maker and a patch plugin for it.

If you're intrested in this development I can share this with the community. BTW I followed the coding architechture

and style so I hope it wold be helpful. B)

  • 5 months later...
Posted (edited)

No longer sharing this project on this site.

Edited by atom0s
  • 1 month later...
Posted (edited)

No longer sharing this project on this site.

Edited by atom0s

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...