wakillon Posted December 26, 2015 Posted December 26, 2015 (edited) A little try with SDL 2 Library and SDL 2 GFX.SDL2_Let It Snow.au3Press "Esc" for quit. Edit : SDL2.dll and SDL2-Gfx.dll are now located in the tempdir and not called in memory. Edited December 27, 2015 by wakillon Gianni, UEZ and argumentum 3 AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
UEZ Posted December 26, 2015 Posted December 26, 2015 I'm getting an error messageSDL2_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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
wakillon Posted December 26, 2015 Author Posted December 26, 2015 Hi UEZ Well, when my script is in the same dir than dlls, i get no error, but when i run the script in an other dir, i get the same error as you got ..I'll see what I can do. AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
UEZ Posted December 26, 2015 Posted December 26, 2015 I works now. I would have used this tune instead: http://modarchive.org/index.php?request=view_by_moduleid&query=47845 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
wakillon Posted December 26, 2015 Author Posted December 26, 2015 (edited) 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)??? Edited December 26, 2015 by wakillon AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
wakillon Posted December 26, 2015 Author Posted December 26, 2015 So you get it working by putting sdl2.dll next to the script ? AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
UEZ Posted December 26, 2015 Posted December 26, 2015 Yes, both DLLs are in ScriptDir. 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
argumentum Posted December 27, 2015 Posted December 27, 2015 (edited) since I wanted to see it, my fix was toLocal $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 December 27, 2015 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
wakillon Posted December 27, 2015 Author Posted December 27, 2015 since I wanted to see it, my fix was toLocal $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... argumentum 1 AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
wakillon Posted December 27, 2015 Author Posted December 27, 2015 @UEZScript corrected, see first post. AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
TheDcoder Posted December 27, 2015 Posted December 27, 2015 and got the @UEZ .xm file, but don't know how to play it."Play with Online Player" under "The Good Stuff" EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
UEZ Posted December 27, 2015 Posted December 27, 2015 since I wanted to see it, my fix was toLocal $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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
wakillon Posted December 27, 2015 Author Posted December 27, 2015 since I wanted to see it, my fix was toLocal $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.dllThe 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. argumentum 1 AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now