Jump to content

Recommended Posts

Posted

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

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.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Posted (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)??? :huh2:

 

Edited by wakillon

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

Posted

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

Posted

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

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

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
×
×
  • Create New...