SMBX2.exe not starting up on Linux using Wine

Need help with any SMBX game-related issues? Ask your questions here.
EpicLemon99
Shy Guy
Shy Guy
Posts: 6
Joined: Sat Jul 02, 2022 9:38 am
Pronouns: he/him

SMBX2.exe not starting up on Linux using Wine

Postby EpicLemon99 » Sat Jul 02, 2022 9:50 am

I have followed the instructions in the Linux_and_macOS.md and I have gotten the level editor working but the game itself won't launch. Using the command

Code: Select all

wine ~/smbx/SMBX2/SMBX2.exe
gives me this error: https://pastebin.com/Px5e4aLK

Also, trying to test the level in the level editor does nothing. I suspect it's because the game itself won't launch, but I could be wrong.

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: SMBX2.exe not starting up on Linux using Wine

Postby Wohlstand » Fri Jul 15, 2022 9:33 am

The instruction is outdated and I made an updated one (which should be available in future releases of X2), and for users who don't have the updated version, I posted it here:
https://wohlsoft.ru/docs/SMBX2/smbx2-fo ... cos.tar.gz

After downloading, unpack the content into the SMBX2 root directory, and open the manual again.

EpicLemon99
Shy Guy
Shy Guy
Posts: 6
Joined: Sat Jul 02, 2022 9:38 am
Pronouns: he/him

Re: SMBX2.exe not starting up on Linux using Wine

Postby EpicLemon99 » Tue Nov 01, 2022 3:15 pm

Wohlstand wrote:
Fri Jul 15, 2022 9:33 am
The instruction is outdated and I made an updated one (which should be available in future releases of X2), and for users who don't have the updated version, I posted it here:
https://wohlsoft.ru/docs/SMBX2/smbx2-fo ... cos.tar.gz

After downloading, unpack the content into the SMBX2 root directory, and open the manual again.
Forgot about this for a long time. Anyway, I downloaded the new instructions and extracted them into the SMBX2 directory. I followed every Linux specific instruction there, and since I'm using Arch, I also installed the lib32-libxcomposite. I also ran the install.sh file. But I got the same errors when I tried to launch the SMBX2.exe file. Trying to launch LunaLoader.exe in the data folder gives me this error:

Code: Select all

0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\USER32.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\USER32.dll") not found
0024:err:module:import_dll Library USER32.dll (which is needed by L"Z:\\home\\pavem\\smbx\\SMBX2\\data\\LunaLoader.exe") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\SHELL32.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\SHELL32.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\shcore.dll") not found
0024:err:module:import_dll Library shcore.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\shlwapi.dll") not found
0024:err:module:import_dll Library shlwapi.dll (which is needed by L"C:\\windows\\system32\\SHELL32.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found
0024:err:module:import_dll Loading library msvcrt.dll (which is needed by L"C:\\windows\\system32\\advapi32.dll") failed (error c000035a).
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\SHELL32.dll") not found
0024:err:module:import_dll Library SHELL32.dll (which is needed by L"Z:\\home\\pavem\\smbx\\SMBX2\\data\\LunaLoader.exe") not found
0024:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\pavem\\smbx\\SMBX2\\data\\LunaLoader.exe" failed, status c0000135
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0084:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0084:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0084:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
I tried to test a level and launch the game from the PGE editor, but again that did nothing. This is from the log file

Code: Select all

Warning: (:0, ): QObject::connect: signal not found in ImageSelectorMenu
Warning: (:0, ): QObject::connect: signal not found in ImageSelectorMenu
Warning: (:0, ): QObject::connect: signal not found in ImageSelectorMenu
Warning: (:0, ): QObject::connect: signal not found in ImageSelectorMenu
Warning: (:0, ): libpng warning: iCCP: known incorrect sRGB profile
Warning: (:0, ): libpng warning: iCCP: cHRM chunk does not match sRGB
Warning: (:0, ): libpng warning: iCCP: known incorrect sRGB profile
Warning: (:0, ): libpng warning: iCCP: cHRM chunk does not match sRGB
Warning: (:0, ): libpng warning: IDAT: Extra compressed data
Warning: Error of the script : 
Uncaught exception at line 10:
SyntaxError: Unexpected token `?'
Warning: Error while loading main.js in test-plugin-with-error, skipping...
Warning: (:0, ): Only C and default locale supported with the posix collation implementation
Warning: (:0, ): Only C and default locale supported with the posix collation implementation
Warning: (:0, ): Case insensitive sorting unsupported in the posix collation implementation
Warning: (:0, ): Numeric mode unsupported in the posix collation implementation
Warning: (:0, ): Only C and default locale supported with the posix collation implementation
Warning: (:0, ): Only C and default locale supported with the posix collation implementation
Warning: (:0, ): Case insensitive sorting unsupported in the posix collation implementation
Warning: (:0, ): Numeric mode unsupported in the posix collation implementation
Warning: (:0, ): The X11 connection broke (error 1). Did the X11 server die?

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: SMBX2.exe not starting up on Linux using Wine

Postby Wohlstand » Wed Nov 02, 2022 3:12 am

You should use the native Linux version of Moondust Devkit instead of the Wine-ran thing.

EpicLemon99
Shy Guy
Shy Guy
Posts: 6
Joined: Sat Jul 02, 2022 9:38 am
Pronouns: he/him

Re: SMBX2.exe not starting up on Linux using Wine

Postby EpicLemon99 » Tue Nov 08, 2022 1:23 pm

I tried to use the TheXTech version of the game since it's native, the game runs perfectly fine but I can't get the TheXTech-SDK config pack to work. I downloaded the latest laboratory version of Moondust and did everything said on this page: https://github.com/Wohlstand/TheXTech/w ... opment-kit . But when I choose the TheXTech-SDK config pack when starting the editor, it says that graphics directory does not exist. I tried renaming the items directory to graphics but that didn't help.

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: SMBX2.exe not starting up on Linux using Wine

Postby Wohlstand » Thu Nov 10, 2022 6:18 pm

EpicLemon99 wrote:
Tue Nov 08, 2022 1:23 pm
I tried to use the TheXTech version of the game since it's native, the game runs perfectly fine but I can't get the TheXTech-SDK config pack to work. I downloaded the latest laboratory version of Moondust and did everything said on this page: https://github.com/Wohlstand/TheXTech/w ... opment-kit . But when I choose the TheXTech-SDK config pack when starting the editor, it says that graphics directory does not exist. I tried renaming the items directory to graphics but that didn't help.
Two questions:
- Which version of Moondust Editor you ran? There was a little bug I fixed a few days ago, and I suggest you re-download the Moondust Devkit again
- Which directory you selected when TheXTech SDK asked you on the first run? You should select the assets directory (depending on which package you used, portable tarball or DEB/RPM installable).

I tested the use with the portable tarball version, but you are right, I must verify the work with the DEB/RPM installable version (you will need to select the assets directory at the /usr/share/games/smbx or /usr/share/games/aod), however, it doesn't contain executable, and therefore a thing will fail to be configured. I think I'll better extend the configure tool to automatically find the DEB/RPM installed version and ask to use it automatically.

So, for your quick fix, download the portable tarball version of TheXTech, and use it with TheXTech SDK, it should work 100%.

EpicLemon99
Shy Guy
Shy Guy
Posts: 6
Joined: Sat Jul 02, 2022 9:38 am
Pronouns: he/him

Re: SMBX2.exe not starting up on Linux using Wine

Postby EpicLemon99 » Fri Nov 11, 2022 2:19 pm

I got TheXTech working, I was trying to select a wrong directory. Still can't use SMBX2 though. If you mean that I should use the native PGE editor, then I am already using it.

EpicLemon99
Shy Guy
Shy Guy
Posts: 6
Joined: Sat Jul 02, 2022 9:38 am
Pronouns: he/him

Re: SMBX2.exe not starting up on Linux using Wine

Postby EpicLemon99 » Mon Nov 14, 2022 11:39 am

I got the SMBX2 launcher to work using a 64-bit wine prefix, but after pressing Play I get the splash screen and then just a black screen. The game also launches when I try to test the level in Moondust, but there's still just a black screen and no sound. And yes I have installed the lib32-libxcomposite since I'm on Arch Linux

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: SMBX2.exe not starting up on Linux using Wine

Postby Wohlstand » Tue Nov 15, 2022 4:16 am

EpicLemon99 wrote:
Mon Nov 14, 2022 11:39 am
I got the SMBX2 launcher to work using a 64-bit wine prefix, but after pressing Play I get the splash screen and then just a black screen. The game also launches when I try to test the level in Moondust, but there's still just a black screen and no sound. And yes I have installed the lib32-libxcomposite since I'm on Arch Linux
I think, it's now a new bug of X2, I made a little investigation: since the 10'th of June 2022, there is an update of LunaDLL.dll introduced that adds this bug. So, better to report it and wait for the update or a quick fix.

EpicLemon99
Shy Guy
Shy Guy
Posts: 6
Joined: Sat Jul 02, 2022 9:38 am
Pronouns: he/him

Re: SMBX2.exe not starting up on Linux using Wine

Postby EpicLemon99 » Tue Nov 15, 2022 11:10 am

Where would I report it?

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: SMBX2.exe not starting up on Linux using Wine

Postby Wohlstand » Tue Nov 15, 2022 6:39 pm

EpicLemon99 wrote:
Tue Nov 15, 2022 11:10 am
Where would I report it?
I already reported that to Rednaxela directly.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 7 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari