Software Support > PowerMAME

Showing CP while game is paused

<< < (6/7) > >>

Howard_Casto:
Unfortunately no... the only plugins/dlls/ect that let you encode to png require a liscense.  And since I'm not willing to pay 500 bucks to write pngs I think I'll pass.  ;)

headkaze:
It's a shame you write your stuff in VB6 Howard. I suppose it's because you wrote it so long ago, but I hope you write your new stuff in C++ or even .NET. VB6 was a good language for quick knock up apps and the like back in the days, but with VB.NET there is no need for it. If you are stuck with Visual Studio 6, then I would ditch VB and go with C++. I used to code in VB6 and it's not that hard to move to C++ although making GUI's is a ---smurfette---. MFC is the solution to that. Plus your compiled code is leaner, faster and with no dependency on the vb6 runtime. Plus you can do threading and subclassing a forms message system dosn't make the debugger unstable. I dunno, I just think VB6 has been dead for a long time - time to upgrade and get the respect of a C++ coder! Also you could finally load/save png! Alpha channel is dead handy especially for overlaying buttons on a background ;)

MikeQ:

--- Quote from: Howard_Casto on April 18, 2006, 06:05:28 pm ---Unfortunately no... the only plugins/dlls/ect that let you encode to png require a liscense.  And since I'm not willing to pay 500 bucks to write pngs I think I'll pass.  ;)

--- End quote ---

libpng does support writing png's.  I've used libpng at work for some automated testing tools and had to write png files with it.

png_write_image is the interface.  There is a bunch of other stuff you need to do before calling this though.  You needs to setup some structures and compression information.

Howard_Casto:

--- Quote from: headkaze on April 19, 2006, 12:14:23 am ---It's a shame you write your stuff in VB6 Howard. I suppose it's because you wrote it so long ago, but I hope you write your new stuff in C++ or even .NET. VB6 was a good language for quick knock up apps and the like back in the days, but with VB.NET there is no need for it. If you are stuck with Visual Studio 6, then I would ditch VB and go with C++. I used to code in VB6 and it's not that hard to move to C++ although making GUI's is a ---smurf---. MFC is the solution to that. Plus your compiled code is leaner, faster and with no dependency on the vb6 runtime. Plus you can do threading and subclassing a forms message system dosn't make the debugger unstable. I dunno, I just think VB6 has been dead for a long time - time to upgrade and get the respect of a C++ coder! Also you could finally load/save png! Alpha channel is dead handy especially for overlaying buttons on a background ;)

--- End quote ---

.net is crap... it's bloated an contains bad objects and poor structuring techniques.  Nuff said on that one. I went through a period of 6 months where I was going to port dk to .net  After my inital tests showed that the new port would require even more code a larger dependency set (vb6 runtimes are only 5-10 megs and are included with xp, while the .net framework is 25-30 megs and strangely enough does not come with xp) and ran 10-15% SLOWER I decided to just leave it as-is.   

I have no problem with c++ and believe it or not I can code in it.  But how exactly would that benefit me?  I'd have to deal with headers, overcomplicated structure setups and stuff that I simply don't need to deal with for such simple apps. 

And when I do complicated apps, I write a vb6/dx8 combo.  dx does all the graphical "heavy lifting" while vb6 only has to handle the managment of files and data, which it is quite good at. 

Alpha channels are quite handy, that's why they are included in dk's code.  They aren't included in j5 because they aren't needed, and I want to keep the app trim so it'll run on any pos that can handle windows. 

MikeQ, I didn't know that!  I'll look into it, although I'm not sure if the paintX compile supports this.  I can always use plain old libpng though as the setup is similar.

Buddabing:
I use the libpng library in my open source utility  ;D mng2avi. You can look in the mng2pngs.c file for an example of usage.

Link to mng2avi project.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version