SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Need help with any SMBX game-related issues? Ask your questions here.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on-topic/appropriate?
-Are you posting in the right forum/following the forum rules?
User avatar
Axiom
Birdo
Birdo
Posts: 1489
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Axiom » Thu Apr 05, 2018 12:20 pm

SMBX38A runs well through Wineskin on macOS Sierra. the only part that I couldn't get to work was the level editor, always crashed during loading. The game itself runs though.
Image

User avatar
Wohlstand
Boom Boom
Boom Boom
Posts: 1711
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Moondust (PGE Project)
Chat Username: Wohlstand#4881
Contact:

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Wohlstand » Thu Apr 05, 2018 3:16 pm

Axiom wrote:SMBX38A runs well through Wineskin on macOS Sierra. the only part that I couldn't get to work was the level editor, always crashed during loading. The game itself runs though.
It uses Direct X 9 and you must have hardware acceleration, and your Wine toolchain also must have Direct X 9 installed.
PGE Project, my Media and supported projects: show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!

I'm support:
Lowser's Conquest by Sednaiur

Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

User avatar
Waluigi number one
Koopa Troopa
Koopa Troopa
Posts: 20
Joined: Tue Mar 06, 2018 6:05 pm
Current Project: Super Mario Demo
Chat Username: Waluigi68

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Waluigi number one » Mon Apr 16, 2018 8:03 pm

I am on Mac and I use Wineskin to play SMBX. The version 1.3.0.1 works correctly but SMBX 1.4 and 2.0 are not qorking correctly.

Image

Image

Hello this is my signature ;)
I am working on a Super Mario Brothers X project that will be called Super Mario Demo! ;)

I play Super Mario Brothers X since a long time. At the start I was member of the french SMBX forum, called SMBX City, but like it begins to be inactive I decied to create an account here ;) , hoping that this forum is more active...
Spoiler: show
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

User avatar
Wohlstand
Boom Boom
Boom Boom
Posts: 1711
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Moondust (PGE Project)
Chat Username: Wohlstand#4881
Contact:

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Wohlstand » Tue Apr 17, 2018 3:06 pm

Waluigi number one wrote:I am on Mac and I use Wineskin to play SMBX. The version 1.3.0.1 works correctly but SMBX 1.4 and 2.0 are not qorking correctly.
For SMBX-38A you need to install Direct X 9 into the bottle, for SMBX2 you must turn Wine into the Windows 7 mode as LunaLoader has issues working on WinXP are wasn't fixed yet. Direct X still be needed for DirectSound that used by SDL Audio as back-end on Windows.
PGE Project, my Media and supported projects: show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!

I'm support:
Lowser's Conquest by Sednaiur

Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

User avatar
Waluigi number one
Koopa Troopa
Koopa Troopa
Posts: 20
Joined: Tue Mar 06, 2018 6:05 pm
Current Project: Super Mario Demo
Chat Username: Waluigi68

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Waluigi number one » Wed Apr 18, 2018 2:36 pm

Wohlstand wrote:
Waluigi number one wrote:I am on Mac and I use Wineskin to play SMBX. The version 1.3.0.1 works correctly but SMBX 1.4 and 2.0 are not qorking correctly.
For SMBX-38A you need to install Direct X 9 into the bottle, for SMBX2 you must turn Wine into the Windows 7 mode as LunaLoader has issues working on WinXP are wasn't fixed yet. Direct X still be needed for DirectSound that used by SDL Audio as back-end on Windows.
Okay thanks I will make this when I will have time ;)

Image

Image

Hello this is my signature ;)
I am working on a Super Mario Brothers X project that will be called Super Mario Demo! ;)

I play Super Mario Brothers X since a long time. At the start I was member of the french SMBX forum, called SMBX City, but like it begins to be inactive I decied to create an account here ;) , hoping that this forum is more active...
Spoiler: show
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

MegaLuigi
Shy Guy
Shy Guy
Posts: 7
Joined: Tue Apr 24, 2018 10:18 am
Chat Username: MegaLuigi

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby MegaLuigi » Tue Apr 24, 2018 10:20 am

I'm on linux and i want to player smbx on that os. the script in the first thread for play on linux is missing: https://hastebin.com/

is there a new link or isn't it still working?

User avatar
Wohlstand
Boom Boom
Boom Boom
Posts: 1711
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Moondust (PGE Project)
Chat Username: Wohlstand#4881
Contact:

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Wohlstand » Tue Apr 24, 2018 11:18 am

MegaLuigi wrote:I'm on linux and i want to player smbx on that os. the script in the first thread for play on linux is missing: https://hastebin.com/

is there a new link or isn't it still working?
Yes! Take this: http://wohlsoft.ru/LunaLua/smbx.pol
Yeah, Axiom wasn't updated his page... I need to poke him for that...
PGE Project, my Media and supported projects: show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!

I'm support:
Lowser's Conquest by Sednaiur

Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

User avatar
Axiom
Birdo
Birdo
Posts: 1489
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Axiom » Tue Apr 24, 2018 2:16 pm

Wohlstand wrote:
MegaLuigi wrote:I'm on linux and i want to player smbx on that os. the script in the first thread for play on linux is missing: https://hastebin.com/

is there a new link or isn't it still working?
Yes! Take this: http://wohlsoft.ru/LunaLua/smbx.pol
Yeah, Axiom wasn't updated his page... I need to poke him for that...
fixed :P
Image

MegaLuigi
Shy Guy
Shy Guy
Posts: 7
Joined: Tue Apr 24, 2018 10:18 am
Chat Username: MegaLuigi

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby MegaLuigi » Wed Apr 25, 2018 11:17 am

I've installed PlayOnLinux 4.4.10 on Ubuntu 16.04 and the process end with an error:
Error in POL_System_unzip
POL_System_unzip failed with error 9!
Here is the full error code from POL, maybe this helps: https://pastebin.com/0Nx7Nub6

There isn't a file "LunaLUA-SMBX-latest.zip" in the folder ".PlayOnLinux//ressources" so maybe the unzip failed. I can download the file manually with wget. Can i start the process at that point again or can i do the install manually?

MegaLuigi
Shy Guy
Shy Guy
Posts: 7
Joined: Tue Apr 24, 2018 10:18 am
Chat Username: MegaLuigi

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby MegaLuigi » Wed Apr 25, 2018 11:28 am

Tried it again and now i have error code 2. i tried unzip manually and i think it is a permission problem because unzip trys to unzip in /.

The line in the pol script is this

Code: Select all

POL_System_unzip "$REPERTOIRE/ressources/$zipname" -d "$wineprefix/$shortname"
but i can't figure out what i need to change here

MegaLuigi
Shy Guy
Shy Guy
Posts: 7
Joined: Tue Apr 24, 2018 10:18 am
Chat Username: MegaLuigi

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby MegaLuigi » Fri Apr 27, 2018 5:05 am

No Ideas for that?

User avatar
Wohlstand
Boom Boom
Boom Boom
Posts: 1711
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Moondust (PGE Project)
Chat Username: Wohlstand#4881
Contact:

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Wohlstand » Fri Apr 27, 2018 5:16 am

MegaLuigi wrote:Tried it again and now i have error code 2. i tried unzip manually and i think it is a permission problem because unzip trys to unzip in /.

The line in the pol script is this

Code: Select all

POL_System_unzip "$REPERTOIRE/ressources/$zipname" -d "$wineprefix/$shortname"
but i can't figure out what i need to change here
Was Wine downloaded correctly? Do you have stable network or it's sometimes breaks downloads?
PGE Project, my Media and supported projects: show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!

I'm support:
Lowser's Conquest by Sednaiur

Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

MegaLuigi
Shy Guy
Shy Guy
Posts: 7
Joined: Tue Apr 24, 2018 10:18 am
Chat Username: MegaLuigi

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby MegaLuigi » Fri Apr 27, 2018 5:26 am

All ok. i can run other windows apps and i can unzip the downloaded archive manually. is it correct that the mkdir command is uncommented in the script?

danilovesky
Goomba
Goomba
Posts: 4
Joined: Sun Dec 09, 2018 3:44 pm

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby danilovesky » Sun Dec 09, 2018 3:58 pm

MegaLuigi wrote:
Fri Apr 27, 2018 5:26 am
All ok. i can run other windows apps and i can unzip the downloaded archive manually. is it correct that the mkdir command is uncommented in the script?

I had to do a couple of corrections to the original http://wohlsoft.ru/LunaLua/smbx.pol script (to prevent error codes 9 and 2, that have been reported above).

The directory for unzipping SMBX has to be created (otherwise I get error code 2), and it needs to be a different path (NOT "$REPERTOIRE/wineprefix/$shortname/drive_c/$shortname" as in the commented line 40 in the original script):

Code: Select all

mkdir -p "$REPERTOIRE/wineprefix/$PREFIX/drive_c/$shortname"

I had to change both the source and the destination of the unzip command in line 41 as follows:

Code: Select all

POL_System_unzip "$REPERTOIRE/tmp/$zipname" -d "$REPERTOIRE/wineprefix/$PREFIX/drive_c/$shortname"

User avatar
Wohlstand
Boom Boom
Boom Boom
Posts: 1711
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Moondust (PGE Project)
Chat Username: Wohlstand#4881
Contact:

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Wohlstand » Mon Dec 10, 2018 4:19 pm

danilovesky wrote:
Sun Dec 09, 2018 3:58 pm
MegaLuigi wrote:
Fri Apr 27, 2018 5:26 am
All ok. i can run other windows apps and i can unzip the downloaded archive manually. is it correct that the mkdir command is uncommented in the script?

I had to do a couple of corrections to the original http://wohlsoft.ru/LunaLua/smbx.pol script (to prevent error codes 9 and 2, that have been reported above).

The directory for unzipping SMBX has to be created (otherwise I get error code 2), and it needs to be a different path (NOT "$REPERTOIRE/wineprefix/$shortname/drive_c/$shortname" as in the commented line 40 in the original script):

Code: Select all

mkdir -p "$REPERTOIRE/wineprefix/$PREFIX/drive_c/$shortname"

I had to change both the source and the destination of the unzip command in line 41 as follows:

Code: Select all

POL_System_unzip "$REPERTOIRE/tmp/$zipname" -d "$REPERTOIRE/wineprefix/$PREFIX/drive_c/$shortname"
Just now I have apllied your fixes and did a test at me... It's fine now, the "original" script you have referred has been updated, and now it contains your changes ;3

Also, I changed Wine version into 3.20.
PGE Project, my Media and supported projects: show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!

I'm support:
Lowser's Conquest by Sednaiur

Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

danilovesky
Goomba
Goomba
Posts: 4
Joined: Sun Dec 09, 2018 3:44 pm

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby danilovesky » Mon Dec 10, 2018 4:46 pm

Wohlstand wrote:
Mon Dec 10, 2018 4:19 pm
Just now I have apllied your fixes and did a test at me... It's fine now, the "original" script you have referred has been updated, and now it contains your changes ;3

Also, I changed Wine version into 3.20.

It explains why the site domain is similar to your nickname :) Spasibo!

MegaLuigi
Shy Guy
Shy Guy
Posts: 7
Joined: Tue Apr 24, 2018 10:18 am
Chat Username: MegaLuigi

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby MegaLuigi » Thu Feb 28, 2019 11:16 am

Tested the script again on ubuntu 18.04 and it worked without any problems with playonlinux from the ubuntu repository.

Added in 4 minutes 19 seconds:
Can i run SMBX 2.0 also on linux? i tried it without playonlinux only with wine (from ubuntu repository) and it failed. the first window opened and i selected "play episode" and thats it. the window is closed and nothing happend. there also isn't an error in the terminal.

User avatar
Wohlstand
Boom Boom
Boom Boom
Posts: 1711
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Moondust (PGE Project)
Chat Username: Wohlstand#4881
Contact:

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Wohlstand » Tue Mar 12, 2019 4:05 am

MegaLuigi wrote:
Thu Feb 28, 2019 11:20 am
Tested the script again on ubuntu 18.04 and it worked without any problems with playonlinux from the ubuntu repository.

Added in 4 minutes 19 seconds:
Can i run SMBX 2.0 also on linux? i tried it without playonlinux only with wine (from ubuntu repository) and it failed. the first window opened and i selected "play episode" and thats it. the window is closed and nothing happend. there also isn't an error in the terminal.
SMBX2 is easily can be ran on the fresh Wine. The only requirement is MSVBVM6, Direct X 9, Quartz, and MSVC2015 runtime. I think, let's I'll create the PlayOnLinux script for SMBX2 too to let everyone use it easy!
PGE Project, my Media and supported projects: show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!

I'm support:
Lowser's Conquest by Sednaiur

Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

danilovesky
Goomba
Goomba
Posts: 4
Joined: Sun Dec 09, 2018 3:44 pm

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby danilovesky » Tue Mar 12, 2019 5:30 am

Wohlstand wrote:
Tue Mar 12, 2019 4:05 am
MegaLuigi wrote:
Thu Feb 28, 2019 11:20 am
Tested the script again on ubuntu 18.04 and it worked without any problems with playonlinux from the ubuntu repository.

Added in 4 minutes 19 seconds:
Can i run SMBX 2.0 also on linux? i tried it without playonlinux only with wine (from ubuntu repository) and it failed. the first window opened and i selected "play episode" and thats it. the window is closed and nothing happend. there also isn't an error in the terminal.
SMBX2 is easily can be ran on the fresh Wine. The only requirement is MSVBVM6, Direct X 9, Quartz, and MSVC2015 runtime. I think, let's I'll create the PlayOnLinux script for SMBX2 too to let everyone use it easy!
A script would be great!
As a quick solution -- just unzipped SMBX2 beta4 next to where SMBX was installed (in the save virtual drive), and it should worked just fine (at least it did for me).
Note that while the map editor works great, however, the game itself is not really playable yet...

User avatar
Electriking
Posts: 4318
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Current Project: Something
Chat Username: ElectriKing
Contact:

Re: SMBX under Linux (and Mac!) with PlayOnLinux/Wine

Postby Electriking » Tue Mar 12, 2019 7:06 am

danilovesky wrote:
Tue Mar 12, 2019 5:30 am
As a quick solution -- just unzipped SMBX2 beta4 next to where SMBX was installed..
SMBX2 beta 4 isn't out yet. You probably have a fake version.
SMM2 ID: JJF-P7G-FSF


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 5 guests