drawImage Render Order?

Description: Archive discussion
============================
Original description:
Official subforum for LunaLua - an extension framework for SMBX Engine Version 1.3 (which a core of SMBX 2.0). Share your creations that require the use of LunaLUA. You may also share info/tutorials on how to use LunaLUA.

Sambo M
Topic author, Count
Count
Avatar
Sambo M
Topic author, Count
Count
Age: 25
Reputation: 15
Posts: 264
Joined: 27 Jun 2014

Post #1by Sambo » 25 Sep 2015, 7:18

I was working on my world map, and I made some code to show which Dragon Coins had been collected. It wasn't working. I debugged it for almost 3 hours, to no avail, until I nearly lost my mind. Finally, I hid the frame around the world map.

It turns out that my codes were working perfectly. Images loaded with drawImage are just rendered BEHIND the ones loaded with placeSprite! Is there a way to change what layer it renders on? Whether there is a way or not, it should render the images IN FRONT of the ones loaded with placeSprite by default. Otherwise, it's just difficult to work with.

Multiple instances of drawImage work well together, though. No problems there.
Image
Current Project:
Image

Kevsoft M
Angry developer
Angry developer
Avatar
Kevsoft M
Angry developer
Angry developer
Age: 24
Reputation: 93
Posts: 379
Joined: 26 Apr 2014
Location: Austria
Website

Post #2by Kevsoft » 25 Sep 2015, 21:35

Will have a look into it.
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.start() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.end() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬

Kevsoft M
Angry developer
Angry developer
Avatar
Kevsoft M
Angry developer
Angry developer
Age: 24
Reputation: 93
Posts: 379
Joined: 26 Apr 2014
Location: Austria
Website

Post #3by Kevsoft » 30 Oct 2015, 18:19

Should be fixed now with the new ****WP functions.

Code: Select all

Text.printWP(...)
Graphics.drawImageWP(...)
Graphics.drawImageToSceneWP(...)
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.start() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.end() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬

Sambo M
Topic author, Count
Count
Avatar
Sambo M
Topic author, Count
Count
Age: 25
Reputation: 15
Posts: 264
Joined: 27 Jun 2014

Post #4by Sambo » 31 Oct 2015, 23:18

I think something is broken. I didn't change my code at all; I just installed v. 0.7.2 and then it started crashing SMBX.
Here is the crash log:

Code: Select all

**************************************************
*                  Summary                       *
**************************************************
SMBX has crashed due an error. See the description for more information!
LunaLua Version: LUNALUA V0.7.2.0 BETA
Time/Date: 2015-10-31 00 00 52
**************************************************
*              Description                       *
**************************************************
Exception code: 0xc0000005

If you like to help us finding the error then please post this log at:
* http://wohlsoft.ru/forum/ or
* http://www.supermariobrosx.org/forums/viewforum.php?f=35 or
* http://talkhaus.raocow.com/viewforum.php?f=36

**************************************************
*              Stacktrace                        *
**************************************************


**** LIBRARY INFORMATION ****
SymInit: Symbol-SearchPath: '.;C:\SMBX;C:\SMBX;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Sambo'
OS-Version: 6.1.7600 () 0x100-0x1
C:\SMBX\smbx.exe:smbx.exe (00400000), size: 7630848 (result: 0), SymType: '-nosymbols-', PDB: 'C:\SMBX\smbx.exe', fileVersion: 1.3.0.1
C:\WINDOWS\SYSTEM32\ntdll.dll:ntdll.dll (76EA0000), size: 1544192 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ntdll.dll', fileVersion: 6.2.10240.16430
C:\WINDOWS\SYSTEM32\KERNEL32.DLL:KERNEL32.DLL (76510000), size: 983040 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\KERNEL32.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\KERNELBASE.dll:KERNELBASE.dll (75B30000), size: 1531904 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\KERNELBASE.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\system32\apphelp.dll:apphelp.dll (73520000), size: 593920 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\apphelp.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\AppPatch\AcLayers.DLL:AcLayers.DLL (61760000), size: 2588672 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\AppPatch\AcLayers.DLL', fileVersion: 6.2.10240.16425
C:\WINDOWS\SYSTEM32\msvcrt.dll:msvcrt.dll (76610000), size: 778240 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\msvcrt.dll', fileVersion: 7.0.10240.16384
C:\WINDOWS\SYSTEM32\USER32.dll:USER32.dll (76880000), size: 1310720 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\USER32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\GDI32.dll:GDI32.dll (766D0000), size: 1363968 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\GDI32.dll', fileVersion: 6.2.10240.16390
C:\WINDOWS\SYSTEM32\SHELL32.dll:SHELL32.dll (74480000), size: 20701184 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\SHELL32.dll', fileVersion: 6.2.10240.16542
C:\WINDOWS\SYSTEM32\windows.storage.dll:windows.storage.dll (769C0000), size: 5095424 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\windows.storage.dll', fileVersion: 6.2.10240.16515
C:\WINDOWS\SYSTEM32\combase.dll:combase.dll (73FB0000), size: 1810432 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\combase.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\RPCRT4.dll:RPCRT4.dll (76400000), size: 704512 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\RPCRT4.dll', fileVersion: 6.2.10240.16412
C:\WINDOWS\SYSTEM32\SspiCli.dll:SspiCli.dll (73F90000), size: 122880 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\SspiCli.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\CRYPTBASE.dll:CRYPTBASE.dll (73F80000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CRYPTBASE.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll:bcryptPrimitives.dll (73F20000), size: 364544 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\sechost.dll:sechost.dll (764B0000), size: 274432 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\sechost.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\advapi32.dll:advapi32.dll (74400000), size: 503808 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\advapi32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\shlwapi.dll:shlwapi.dll (759F0000), size: 278528 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\shlwapi.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\kernel.appcore.dll:kernel.appcore.dll (76500000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\kernel.appcore.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\shcore.dll:shcore.dll (76190000), size: 577536 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\shcore.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\powrprof.dll:powrprof.dll (743B0000), size: 278528 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\powrprof.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\profapi.dll:profapi.dll (76270000), size: 61440 (result: 0), SymType: '-nosymbols-', PDB: 'C:\WINDOWS\SYSTEM32\profapi.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\OLEAUT32.dll:OLEAUT32.dll (75CB0000), size: 598016 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\OLEAUT32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\SETUPAPI.dll:SETUPAPI.dll (75840000), size: 1724416 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\SETUPAPI.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\CFGMGR32.dll:CFGMGR32.dll (75E40000), size: 221184 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CFGMGR32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\MPR.dll:MPR.dll (73440000), size: 94208 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MPR.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\sfc.dll:sfc.dll (66680000), size: 12288 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\sfc.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\WINSPOOL.DRV:WINSPOOL.DRV (73EA0000), size: 421888 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINSPOOL.DRV', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\bcrypt.dll:bcrypt.dll (73E80000), size: 110592 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\bcrypt.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\sfc_os.DLL:sfc_os.DLL (73250000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\sfc_os.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\SortWindows61.dll:SortWindows61.dll (6FCD0000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\SortWindows61.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\IMM32.DLL:IMM32.DLL (75F40000), size: 176128 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\IMM32.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\MSCTF.dll:MSCTF.dll (76280000), size: 1179648 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSCTF.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\MSVBVM60.DLL:MSVBVM60.DLL (66000000), size: 1388544 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSVBVM60.DLL', fileVersion: 6.0.98.15
C:\WINDOWS\SYSTEM32\ole32.dll:ole32.dll (75A40000), size: 958464 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ole32.dll', fileVersion: 6.2.10240.16384
C:\SMBX\LunaDll.dll:LunaDll.dll (61510000), size: 2375680 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\LunaDll.dll', fileVersion: 0.7.2.0
C:\WINDOWS\SYSTEM32\WS2_32.dll:WS2_32.dll (74350000), size: 376832 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WS2_32.dll', fileVersion: 6.2.10240.16384
C:\SMBX\FreeImage.dll:FreeImage.dll (10000000), size: 5677056 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\FreeImage.dll', fileVersion: 3.17.0.0
C:\WINDOWS\SYSTEM32\NSI.dll:NSI.dll (75D70000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\NSI.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\VERSION.dll:VERSION.dll (73F10000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\VERSION.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\WINMM.dll:WINMM.dll (73260000), size: 147456 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINMM.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\dbghelp.dll:dbghelp.dll (738E0000), size: 1306624 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dbghelp.dll', fileVersion: 6.2.10240.16384
C:\SMBX\SDL2_mixer_ext.dll:SDL2_mixer_ext.dll (66380000), size: 659456 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\SDL2_mixer_ext.dll'
C:\WINDOWS\SYSTEM32\OPENGL32.dll:OPENGL32.dll (61DB0000), size: 917504 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\OPENGL32.dll', fileVersion: 6.2.10240.16384
C:\SMBX\SDL2.dll:SDL2.dll (6C740000), size: 4296704 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\SDL2.dll', fileVersion: 2.0.3.0
C:\WINDOWS\SYSTEM32\MSIMG32.dll:MSIMG32.dll (731B0000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSIMG32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\WINMMBASE.dll:WINMMBASE.dll (00380000), size: 143360 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINMMBASE.dll', fileVersion: 6.2.10240.16384
C:\SMBX\libFLAC-8.dll:libFLAC-8.dll (64080000), size: 421888 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\libFLAC-8.dll'
C:\SMBX\libmodplug-1.dll:libmodplug-1.dll (6CB80000), size: 2265088 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\libmodplug-1.dll'
C:\SMBX\libvorbisfile-3.dll:libvorbisfile-3.dll (6B3C0000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\libvorbisfile-3.dll'
C:\WINDOWS\SYSTEM32\GLU32.dll:GLU32.dll (69050000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\GLU32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\DDRAW.dll:DDRAW.dll (61420000), size: 962560 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DDRAW.dll', fileVersion: 6.2.10240.16384
C:\SMBX\libogg-0.dll:libogg-0.dll (70680000), size: 114688 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\libogg-0.dll'
C:\WINDOWS\SYSTEM32\DEVOBJ.dll:DEVOBJ.dll (73E50000), size: 135168 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DEVOBJ.dll', fileVersion: 6.2.10240.16384
C:\SMBX\libgcc_s_dw2-1.dll:libgcc_s_dw2-1.dll (6E940000), size: 143360 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\libgcc_s_dw2-1.dll'
C:\SMBX\libstdc++-6.dll:libstdc++-6.dll (02960000), size: 995328 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\libstdc++-6.dll'
C:\SMBX\libvorbis-0.dll:libvorbis-0.dll (6D540000), size: 233472 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\libvorbis-0.dll'
C:\WINDOWS\SYSTEM32\DCIMAN32.dll:DCIMAN32.dll (69040000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DCIMAN32.dll', fileVersion: 6.2.10240.16384
C:\SMBX\libwinpthread-1.dll:libwinpthread-1.dll (64940000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\SMBX\libwinpthread-1.dll', fileVersion: 1.0.0.0
C:\WINDOWS\system32\uxtheme.dll:uxtheme.dll (733B0000), size: 479232 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\uxtheme.dll', fileVersion: 6.2.10240.16397
C:\WINDOWS\system32\dwmapi.dll:dwmapi.dll (72FC0000), size: 118784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\dwmapi.dll', fileVersion: 6.2.10240.16392
C:\WINDOWS\SYSTEM32\nvoglv32.DLL:nvoglv32.DLL (5BB60000), size: 18530304 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\nvoglv32.DLL', fileVersion: 10.18.13.5850
C:\WINDOWS\SYSTEM32\WTSAPI32.dll:WTSAPI32.dll (73820000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WTSAPI32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\WINTRUST.dll:WINTRUST.dll (76220000), size: 270336 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINTRUST.dll', fileVersion: 6.2.10240.16385
C:\WINDOWS\SYSTEM32\MSASN1.dll:MSASN1.dll (75F70000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSASN1.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\CRYPT32.dll:CRYPT32.dll (74170000), size: 1527808 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CRYPT32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\ntmarta.dll:ntmarta.dll (73E00000), size: 163840 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ntmarta.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\WINSTA.dll:WINSTA.dll (736F0000), size: 278528 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINSTA.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\SXS.DLL:SXS.DLL (713A0000), size: 524288 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\SXS.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\coml2.dll:coml2.dll (76820000), size: 360448 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\coml2.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\cryptsp.dll:cryptsp.dll (73740000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\cryptsp.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\system32\rsaenh.dll:rsaenh.dll (736C0000), size: 192512 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\rsaenh.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\clbcatq.dll:clbcatq.dll (75F90000), size: 532480 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\clbcatq.dll', fileVersion: 2001.12.10941.16384
C:\Windows\SYSTEM32\ieframe.dll:ieframe.dll (60180000), size: 11304960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ieframe.dll', fileVersion: 11.0.10240.16542
C:\Windows\SYSTEM32\iertutil.dll:iertutil.dll (6FF50000), size: 2887680 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\iertutil.dll', fileVersion: 11.0.10240.16485
C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10240.16384_none_3bccb1ff6bcd1849\comctl32.dll:comctl32.dll (72A40000), size: 2134016 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10240.16384_none_3bccb1ff6bcd1849\comctl32.dll', fileVersion: 6.10.10240.16384
C:\WINDOWS\system32\dataexchange.dll:dataexchange.dll (694A0000), size: 258048 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\dataexchange.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\system32\d2d1.dll:d2d1.dll (6A0B0000), size: 4751360 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\d2d1.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\system32\dcomp.dll:dcomp.dll (69400000), size: 638976 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\dcomp.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\system32\d3d11.dll:d3d11.dll (691E0000), size: 2174976 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\d3d11.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\system32\dxgi.dll:dxgi.dll (70D80000), size: 516096 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\dxgi.dll', fileVersion: 6.2.10240.16412
C:\WINDOWS\system32\twinapi.appcore.dll:twinapi.appcore.dll (67CC0000), size: 770048 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\twinapi.appcore.dll', fileVersion: 6.2.10240.16515
C:\WINDOWS\system32\USERENV.dll:USERENV.dll (73830000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\USERENV.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\PROPSYS.dll:PROPSYS.dll (72E20000), size: 1318912 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\PROPSYS.dll', fileVersion: 7.0.10240.16384
C:\WINDOWS\SYSTEM32\urlmon.dll:urlmon.dll (71CC0000), size: 1441792 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\urlmon.dll', fileVersion: 11.0.10240.16391
C:\WINDOWS\SYSTEM32\WININET.dll:WININET.dll (71F40000), size: 2244608 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WININET.dll', fileVersion: 11.0.10240.16515
C:\WINDOWS\SYSTEM32\ondemandconnroutehelper.dll:ondemandconnroutehelper.dll (71E20000), size: 69632 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ondemandconnroutehelper.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (73A70000), size: 196608 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\WINNSI.DLL:WINNSI.DLL (73E30000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINNSI.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\winhttp.dll:winhttp.dll (73AA0000), size: 684032 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\winhttp.dll', fileVersion: 6.2.10240.16391
C:\WINDOWS\system32\mswsock.dll:mswsock.dll (73A20000), size: 319488 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\mswsock.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\DNSAPI.dll:DNSAPI.dll (72890000), size: 540672 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DNSAPI.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\MSHTML.dll:MSHTML.dll (5EE00000), size: 20447232 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSHTML.dll', fileVersion: 11.0.10240.16542
C:\Program Files (x86)\Bonjour\mdnsNSP.dll:mdnsNSP.dll (71860000), size: 135168 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files (x86)\Bonjour\mdnsNSP.dll', fileVersion: 3.1.0.1
C:\Windows\System32\rasadhlp.dll:rasadhlp.dll (71850000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\rasadhlp.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\System32\fwpuclnt.dll:fwpuclnt.dll (71800000), size: 286720 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\fwpuclnt.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\Secur32.dll:Secur32.dll (73480000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\Secur32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\MLANG.dll:MLANG.dll (6F2C0000), size: 208896 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MLANG.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\ieapfltr.dll:ieapfltr.dll (5EC80000), size: 1515520 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ieapfltr.dll', fileVersion: 11.0.10240.16384
C:\WINDOWS\system32\windowscodecs.dll:windowscodecs.dll (70220000), size: 1511424 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\windowscodecs.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\DWrite.dll:DWrite.dll (703A0000), size: 2031616 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DWrite.dll', fileVersion: 6.2.10240.16430
C:\WINDOWS\system32\msimtf.dll:msimtf.dll (67AD0000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\msimtf.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\msls31.dll:msls31.dll (69010000), size: 184320 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\msls31.dll', fileVersion: 3.10.349.0
C:\Windows\SYSTEM32\jscript9.dll:jscript9.dll (5E900000), size: 3612672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\jscript9.dll', fileVersion: 11.0.10240.16542
C:\WINDOWS\system32\asycfilt.dll:asycfilt.dll (68FF0000), size: 94208 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\asycfilt.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\DINPUT.DLL:DINPUT.DLL (68F90000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DINPUT.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\HID.DLL:HID.DLL (73240000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\HID.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\DSOUND.DLL:DSOUND.DLL (5D120000), size: 548864 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DSOUND.DLL', fileVersion: 6.2.10240.16384
C:\WINDOWS\System32\MMDevApi.dll:MMDevApi.dll (690E0000), size: 344064 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\MMDevApi.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\AUDIOSES.DLL:AUDIOSES.DLL (69140000), size: 425984 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\AUDIOSES.DLL', fileVersion: 6.2.10240.16515
C:\WINDOWS\SYSTEM32\wintypes.dll:wintypes.dll (6C4A0000), size: 806912 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\wintypes.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\wdmaud.drv:wdmaud.drv (5E550000), size: 229376 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\wdmaud.drv', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\AVRT.dll:AVRT.dll (72970000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\AVRT.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\ksuser.dll:ksuser.dll (67AC0000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ksuser.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\msacm32.drv:msacm32.drv (5D1E0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\msacm32.drv', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\MSACM32.dll:MSACM32.dll (5D1C0000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSACM32.dll', fileVersion: 6.2.10240.16384
C:\WINDOWS\SYSTEM32\midimap.dll:midimap.dll (5D1B0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\midimap.dll', fileVersion: 6.2.10240.16384


**** THE STACKTRACE ****
0: 615582A4 (LunaDll): (filename not available): (function-name not available)
1: 6159417E (LunaDll): (filename not available): LunaLuaGlDrawTriangles
2: 615B7DF4 (LunaDll): (filename not available): LunaLuaGlDrawTriangles
3: 6151266F (LunaDll): (filename not available): (function-name not available)
4: 615F0F46 (LunaDll): (filename not available): TestFunc
5: 615AB65B (LunaDll): (filename not available): LunaLuaGlDrawTriangles
6: 615C78DC (LunaDll): (filename not available): LunaLuaGlDrawTriangles
7: 6155EA97 (LunaDll): (filename not available): LunaLuaGlDrawTriangles
8: 008C11DA (smbx): (filename not available): (function-name not available)
9: 6600A048 (MSVBVM60): (filename not available): EbLoadRunTime
10: 66007B3E (MSVBVM60): (filename not available): BASIC_CLASS_QueryInterface
11: 66003981 (MSVBVM60): (filename not available): ThunRTMain
12: 660036FA (MSVBVM60): (filename not available): ThunRTMain
13: 66003600 (MSVBVM60): (filename not available): ThunRTMain
14: 0040BDE2 (smbx): (filename not available): (function-name not available)
15: 76EFA064 (ntdll): (filename not available): RtlSetCurrentTransaction
16: 76EFA02F (ntdll): (filename not available): RtlSetCurrentTransaction

EDIT: I looked at it for a while and figured out what happened. For some reason, a couple weeks ago I brilliantly decided to try to convert to PNG CGFX without creating a backup first. PGE couldn't detect custom PNGs at the time, so I went back to GIFs. It turned ALL the images, even the ones that were originally PNGs to GIFs, so I had to convert again to fix those. The conversion messed up the filenames, so SMBX couldn't load them. Throughout this incredibly frustrating process I discovered a few problems with the image converters:
1) If the custom image uses the same mask as the original image, it gets a solid black background if converted to PNG, then a solid black mask if you go back to GIF. Maybe you could make it load the default mask if no custom mask is found.
2) The converters change ALL the letters in filenames to lowercase. This usually isn't a problem unless it converts images loaded with LunaLua, which is case-sensitive and will become unable to load the images.
3)If the filename of the image (not the mask) ends with an m, GIFs2PNG will become confused and fail to convert that file and its mask to a PNG.

It was because of problems 2 and 3 that it crashed SMBX.
Image
Current Project:
Image

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #5by Wohlstand » 1 Nov 2015, 16:34

Sambo, Please update PGE, current version supports cpack independent PNG CGFX support:
Now it will detect png and nmasked gifs independent to config pack'simage file extension in the ini files.
About GIFs2PNG: sorry for this confusion, I was designed it to convert files with smbx-specific names where mask ends to 'm'. When you doing batch conversion, it skips masks and don't converts them as independent images, or you would get a useless images in your folder
About GIFs2PNG input: currently it designed to accept RIGHT format: mask must be b&w, because GIFs2PNG merging mask with foreground is applying of mask as inverted alpha-channel of foreground.
You can apply LazyFixTool before, it will automatically convert invalid masks to right format if possible. When I will implement PGE Maintainer, it will do that job together: and lazyfix, and gifs2png or png2gifs, unix filenanes fixes (apply filenames to be good with case-sensitive file systems)


Return to “LunaLua - Extension Framework”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest