AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Merry XMas!
Goto page 1, 2  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
k3ph



Joined: 21 Jul 2006
Posts: 221

PostPosted: Thu Dec 11, 2008 12:22 am    Post subject: Merry XMas! Reply with quote

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 ]
Back to top
View user's profile Send private message Send e-mail
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Thu Dec 11, 2008 1:12 am    Post subject: Reply with quote

Pretty neat!
I find it very interesting how the executable managed to be smaller than the uncompiled script...
Back to top
View user's profile Send private message AIM Address
SoggyDog



Joined: 02 May 2006
Posts: 652
Location: Greeley, CO

PostPosted: Thu Dec 11, 2008 5:57 am    Post subject: Reply with quote

Outstanding!
Thank you and Merry Christmas.
_________________

SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
evan
Guest





PostPosted: Thu Dec 11, 2008 8:27 am    Post subject: Reply with quote

impressive
- checking out the codes
Back to top
JonDos
Guest





PostPosted: Sat Dec 13, 2008 12:14 am    Post subject: Reply with quote

awesome!
but I can't understand this code...
Back to top
trik



Joined: 15 Jul 2007
Posts: 1324

PostPosted: Wed Dec 17, 2008 5:05 pm    Post subject: Reply with quote

k3ph, I thought you were Jewish? =\
_________________
Religion is false. >_>
Back to top
View user's profile Send private message
ChalamiuS



Joined: 04 Jun 2006
Posts: 176
Location: ::1

PostPosted: Wed Dec 17, 2008 5:07 pm    Post subject: Reply with quote

lolwut Shocked
Oh well nice job k3ph
Back to top
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5154
Location: /b/

PostPosted: Wed Dec 17, 2008 6:57 pm    Post subject: Reply with quote

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.)


_________________
Chat (IRC)PlusNetScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ahklerner



Joined: 26 Jun 2006
Posts: 1317
Location: USA

PostPosted: Sat Dec 20, 2008 12:48 am    Post subject: Reply with quote

Code:
BinWrite(x,x,x,append)

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

_________________

ʞɔпɟ əɥʇ ʇɐɥʍ
Back to top
View user's profile Send private message
BigVent



Joined: 29 May 2008
Posts: 162

PostPosted: Sun Dec 21, 2008 2:59 am    Post subject: Reply with quote

Very nice! Never seen ahk used in this manner.
_________________
~BigVent
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 4726
Location: Australia

PostPosted: Sun Dec 21, 2008 4:26 am    Post subject: Reply with quote

ahklerner wrote:
should be
Code:
BinWrite(x,x,x,,"append")
Maybe if you don't want the script to load. Wink
Back to top
View user's profile Send private message Visit poster's website
Laszlo



Joined: 14 Feb 2005
Posts: 4668
Location: Boulder, CO

PostPosted: Sun Dec 21, 2008 8:44 am    Post subject: Reply with quote

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?)
Back to top
View user's profile Send private message
k3ph



Joined: 21 Jul 2006
Posts: 221

PostPosted: Sun Dec 21, 2008 2:20 pm    Post subject: Reply with quote

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 ]
Back to top
View user's profile Send private message Send e-mail
Lexikos



Joined: 17 Oct 2006
Posts: 4726
Location: Australia

PostPosted: Sun Dec 21, 2008 2:25 pm    Post subject: Reply with quote

k3ph wrote:
ops, a typo!
Another bug that could've been caught by DllCallDebugger. Razz
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sun Dec 21, 2008 6:43 pm    Post subject: Reply with quote

Wow! So is that an actual song or was that made completely with AHK? I'm not sure how it works.
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group