Jump to content

SDL2 Let It Snow


wakillon
 Share

Recommended Posts

A little try with SDL 2 Library and SDL 2 GFX.

SDL2_Let It Snow.au3

Press "Esc" for quit.

 

Edit : SDL2.dll and SDL2-Gfx.dll are now located in the tempdir and not called in memory.

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

I'm getting an error message

SDL2_gfx.dll can not be loaded !

within _SDL2_GFX_Startup() function. Any limitation using the SDL2_gfx.dll? 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

I works now. I would have used this tune instead: http://modarchive.org/index.php?request=view_by_moduleid&query=47845

 

:thumbsup:

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

In the MemLib_BuildImportTable function when loading SDL2_GFX.dll, it ask for get a SDL2.dll handle.

If i load dll in memory it fail because it do not find the sdl2.dll to import.

Is there a way to import it from memory (instead of phisically)??? :huh2:

 

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

since I wanted to see it, my fix was to

Local $bin = wateverdll()
    If Not FileExists(@ScriptDir&'\watever.dll') Then FileWrite(@ScriptDir&'\watever.dll',$bin)

for all 3 DLLs, and got the @UEZ .xm file, but don't know how to play it.

Edited by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

since I wanted to see it, my fix was to

Local $bin = wateverdll()
    If Not FileExists(@ScriptDir&'\watever.dll') Then FileWrite(@ScriptDir&'\watever.dll',$bin)

for all 3 DLLs, and got the @UEZ .xm file, but don't know how to play it.

You can use bass.dll for play xm file.

I already listen to this xm file but the Sid file i have selected is more melodious...

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

since I wanted to see it, my fix was to

Local $bin = wateverdll()
    If Not FileExists(@ScriptDir&'\watever.dll') Then FileWrite(@ScriptDir&'\watever.dll',$bin)

for all 3 DLLs, and got the @UEZ .xm file, but don't know how to play it.

You can either use one of wakillon's chiptunes players or this here from trancexx: XM Player

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

since I wanted to see it, my fix was to

Local $bin = wateverdll()
    If Not FileExists(@ScriptDir&'\watever.dll') Then FileWrite(@ScriptDir&'\watever.dll',$bin)

for all 3 DLLs, and got the @UEZ .xm file, but don't know how to play it.

There is 4 DLL : lzma.dll, titchysid.dll, sdl2.dll and sdl2_gfx.dll

The first 2 are loaded in memory, but the last 2, due to sdl2_gfx.dll who need to import sdl2.dll, are open with DllOpen.

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...