size record for me :D

For everything that's not in any way related to PureBasic. General chat etc...
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

size record for me :D

Post by thefool »

Image

3 KBYTE APP! When you click the button it shows a messagebox.

try it yourself: http://purebasic.myftp.org/?filename=fi ... gagaga.exe

its compressed using upx, uncompressed it is 4.0 kbyte. you might even be able to squeze it down a little more using mew11 or such tool

It is programmed in purebasic! and uses a resource file as dialog. Event handling is done in purebasic of course :D


anyway, 3.0 killobyte, its damn small for a windows app with a window!


edit: The reason the button looks that way is because it have a static edge, wich of course can be changed :)
i used pelle's C resource editor to design the file, wich was easy and comfortable.

Think about it when you want to make small single window apps :)
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

Don't use mew.. It's been used to compress various viruses, trojans, worms, etc.. So most antivirus softwares will indeed detect any mew compressed exe as something "bad".. Worst thing is that they don't let you choose that option, it's just been "black listed", all because a bunch of wannabe nerdies used mew for their lame viruses... But it also has lots of incompatibility issues, thats why you shouldnt use mew as well.

Anyway, add many gadgets, bigger event loop and your exe will grow..
Your tests are not valid at all :/ Why would you have a program like that one? what for? it is not functional, so its like having nothing at all.
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

dagcrack wrote:Don't use mew.. It's been used to compress various viruses, trojans, worms, etc.. So most antivirus softwares will indeed detect any mew compressed exe as something "bad".. Worst thing is that they don't let you choose that option, it's just been "black listed", all because a bunch of wannabe nerdies used mew for their lame viruses... But it also has lots of incompatibility issues, thats why you shouldnt use mew as well.

Anyway, add many gadgets, bigger event loop and your exe will grow..
Your tests are not valid at all :/ Why would you have a program like that one? what for? it is not functional, so its like having nothing at all.
sad about mew, yeh..

however stfu! what do you mean. its a small exe no matter whatever you say. ok ill add lots of gadgets and a bigger event loop of course it will grow. But please do me the favor to go to another basic language or even a c++ compiler and make such exe?
it was for fun. JEez you are negative..! the World is a bad place for happy people.. ;)
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

No, the fact is that this is pointless. And I don't have time to show you a smaller exe.
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
zikitrake
Addict
Addict
Posts: 878
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

dagcrack wrote:No, the fact is that this is pointless. And I don't have time to show you a smaller exe.
I have time to see it :lol: (I think I'm young for now :D)
PB 6.21 beta, PureVision User
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> the fact is that this is pointless

Creating a challenge to make the smallest exe is far more interesting than
a poll about what keyboards we use. :twisted:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

People doesnt have anything better to do than comparing other's threads. How sad, Every single day the same exact thing (And I can hear it coming "and every single day you become more negative" - Get something clever to say at least :lol:).


I did post a challenge if you open your eyes though.
ThisFool has always been talking about small exes. However whats a small exe good for if its not useful?. You sure can make the smallest game in the world as well and it will probably suck at every single point of it. Shoudlnt the challenge be "make the best application at the smallest size possible" instead? ;) this is pointless.

If its a challenge, give rules, deadline, etc.
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

Don't you think this should be my car?
Image
(because of the flames :wink: ) - Although the guy with the flamey shirt is NO WAY CLOSE TO ME!

Pb! now my post has no validity! you erased yours :(
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Pb! now my post has no validity! you erased yours :(

I deleted it almost immediately after posting it, I didn't want to keep arguing. :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

:lol: We should have a 5 second delay after a post would appear listed, like the delay on TV you know.. so they can censor, etc. :lol:
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

thanks to pb and zitritake :D

@dagcrack: :evil: i hate you!
No, the fact is that this is pointless.
blablabla my a$$..!
really.
you also post pointless things! Wich is far more pointless than this!
:twisted:
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@thefool:
nice one... i think i managed it to create the smallest Win32 app with a small GUI-element in PB, taking just only 918 bytes ;)
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

How?? TELL :D


edit: An exe with nothing is 2 kbyte wich is the smallest at all. Compression wont work with many compressors, notice only UPX is allowed :D
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

thefool wrote:How?? TELL :D


edit: An exe with nothing is 2 kbyte wich is the smallest at all. Compression wont work with many compressors, notice only UPX is allowed :D

ok, its an older example, you can download and read on this forum here
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

ohh! Thats not a graphical element i would call it that. that is simply an api call :)

This exe was with a WINDOW thats the special thing. And gadgets!
And a messagebox too by the way.

anyway i havent found a solution to send messages BACK to gadgets. receiving is easy. But im looking at it :)
Post Reply