AutoHotkey Community

It is currently May 26th, 2012, 1:44 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Merry XMas!
PostPosted: December 11th, 2008, 12:22 am 
Offline

Joined: July 21st, 2006, 12:26 am
Posts: 223
I know its a bit early to say "merry xmas" but I've decided to share my "unfinished" demo-gift-xmas-script because I will not have to add some gfx on it (I've been very busy in offline mode) and none got interested in join this project.

The initial idea of this project is to write a PoC of the amazing power of AHK with a small multimedia presentation aka demo.

This script uses some techniques that I've been developing. It uses some fragments of the BASS Library and some techniques used in BASSMOD Library in the example number three. This project contains derivated code from Skwire, Laszlo, Lexikos and an awesome loopable song composed by anonymous with 9 minutes length!

[ source ]    [ binary ]
Size: 445KB and 425KB respectively

Note 0: it doesn't requires libraries or external files, just run it :}
Note 1: the source and binary file sizes :] LZMA Banzai! *Huzzah!
Note 2: demo term definition: http://en.wikipedia.org/wiki/Demo_(computer_programming)
Note 3: If you got interest in keep continuing this project, please gather code in this thread :D

Enjoy X-Mas and Happy New Year!

_________________
                                  [ profile | ahk.net | ahk.talk ]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 11th, 2008, 1:12 am 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
Pretty neat!
I find it very interesting how the executable managed to be smaller than the uncompiled script...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 11th, 2008, 5:57 am 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
Outstanding!
Thank you and Merry Christmas.

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 11th, 2008, 8:27 am 
impressive
- checking out the codes


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 13th, 2008, 12:14 am 
awesome!
but I can't understand this code...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 17th, 2008, 5:05 pm 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
k3ph, I thought you were Jewish? =\

_________________
Religion is false. >_>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 17th, 2008, 5:07 pm 
Offline

Joined: June 4th, 2006, 2:04 pm
Posts: 176
Location: ::1
lolwut :shock:
Oh well nice job k3ph


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 17th, 2008, 6:57 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Trikster wrote:
k3ph, I thought you were Jewish? =\
No, he is a Shinigami.

By the way the script is awesome! (I haven't actually tried it but I can bet it is.)

Image

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 20th, 2008, 12:48 am 
Offline

Joined: June 26th, 2006, 6:14 pm
Posts: 1379
Location: USA
Code:
BinWrite(x,x,x,append)

should be
Code:
BinWrite(x,x,x,,"append")

_________________
Image
ʞɔпɟ əɥʇ ʇɐɥʍ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2008, 2:59 am 
Offline
User avatar

Joined: May 29th, 2008, 4:51 am
Posts: 186
Very nice! Never seen ahk used in this manner.

_________________
~BigVent


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2008, 4:26 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
ahklerner wrote:
should be
Code:
BinWrite(x,x,x,,"append")
Maybe if you don't want the script to load. ;)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2008, 8:44 am 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
Cool! Maybe with Windows' built in binary to/from base64 conversion the script could be shorter and load faster.

(Do you need two backslash chars in "DllCall(A_Temp . "\BASS.dll\\BASS_MusicFree"... in BASS_MusicFree?)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2008, 2:20 pm 
Offline

Joined: July 21st, 2006, 12:26 am
Posts: 223
ops, a typo! thanks for reading the source :D
and thanks for the comments :]

such a pity, still no one interested into add a gfx on that :[

i wonder if someone will really listen that song at xmas :P

_________________
                                  [ profile | ahk.net | ahk.talk ]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2008, 2:25 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
k3ph wrote:
ops, a typo!
Another bug that could've been caught by DllCallDebugger. :P


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2008, 6:43 pm 
Wow! So is that an actual song or was that made completely with AHK? I'm not sure how it works.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Klark92 and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group