Getting SMBX to work under Linux with Wine

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

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

Re: Getting SMBX to work under Linux with Wine

Postby Wohlstand » Wed Jul 08, 2015 1:35 pm

Luigifan2010 wrote:
Wohlstand wrote:Are you placed MSVC2013 libs?
i grabbed the complete package and threw it in, do i need to manually place those libs in or is there a .msi i can install?
In the wine's playonlinux there are additional libraries which can be installed: for smbx you need vb6vm and msvcr2013 for lunalua. Also I used latest 32bit wine with Windows XP mode

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: Getting SMBX to work under Linux with Wine

Postby Axiom » Thu Jul 16, 2015 3:24 pm

An update to this: with help from Wohlstand, it works using a mixture of my POL script and Wohlstand's LunaLua

I downloaded LunaLua SMBX 1.3.0.2 (hexed) and after a long wait, extracted it into the directory where my POL SMBX prefixes are stored. For me, /home/<username>/.PlayOnLinux/wineprefixes/smbx/drive_c/smbx/

Then, in PlayOnLinux, I made shortcuts to smbx_lunalua_1.3.0.2.exe and smbx_lunalua_1.3.0.1.exe

Next, in the install components tab, install the following

vcrun2013
vbrun6

The next step is important: in configure, click the + next to Wine version. In the Wine Versions (x86) tab (yes, 32 bit no matter what system you're on) install the latest Wine. for me at this time, it's 1.7.47. Then after that all runs, switch the wine version in configure, let it terminate whatever is running and bam! It should work ;)

And finally, here it is running under Debian 8.1 KDE ;)

[rimg]http://i.imgur.com/DsD4Bta.png[/rimg]

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: Getting SMBX to work under Linux with Wine

Postby Axiom » Tue Jul 21, 2015 9:36 am

i updated my script to use lunalua

help me get this shit approved

https://www.playonlinux.com/en/topic-13 ... ros_X.html

Tigr398
Guest

Re: Getting SMBX to work under Linux with Wine

Postby Tigr398 » Wed Aug 12, 2015 5:54 am

Hi does anyone can give me the script link, it was not found.

And can you tell me what "All Code"

Does the script?

Thanks for answering me :D

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: Getting SMBX to work under Linux with Wine

Postby Axiom » Wed Aug 12, 2015 8:57 am

Tigr398 wrote:Hi does anyone can give me the script link, it was not found.

And can you tell me what "All Code"

Does the script?

Thanks for answering me :D
https://www.playonlinux.com/en/topic-13 ... ros_X.html

Tigr398
Guest

Re: Getting SMBX to work under Linux with Wine

Postby Tigr398 » Thu Aug 13, 2015 7:07 am

Ok but would you have another script because I have version 14.04

Tigr398
Guest

Re: Getting SMBX to work under Linux with Wine

Postby Tigr398 » Thu Aug 13, 2015 7:34 am

They said me :

Error in POL_System_unzip
POL_System_unzip failed with error 9!

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: Getting SMBX to work under Linux with Wine

Postby Axiom » Thu Aug 13, 2015 9:06 am

Use this one
Spoiler: show

Code: Select all

#!/bin/bash
# Date : (2010-04-24 20-47)
# Last revision : (2015-07-20 08-57)
# Wine version used : 1.7.45
# Distribution used to test : Ubuntu 15.04 w/ KDE 5 (not Kubuntu)
# Author : Matthew Bauer, Updated by Mike Santiago
# Script licence : GPLv3
# Program licence : N/A
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0

source "$PLAYONLINUX/lib/sources" 

scriptauthor="Matthew Bauer and Mike Santiago"

TITLE="SMBX - LunaLua"
PREFIX="smbx"
appname="SMBX - LunaLua"
shortname="smbx"
basesite="http://www.smbxgame.com"
appversion="1.3.0.2"
appcreator="Andrew Spinks 'Redigit', Wohlstand, Kevsoft"
zipname="LunaLUA_0.7.0.3-beta_smbx13_sfx_mus_fullgame.zip"
download="http://engine.wohlnet.ru/LunaLua/get.php?luaver=-1&installationType=Full&base=smbx13&fbase=1"

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$appname" "$appcreator" "$basesite" "$scriptauthor" "$appname"

POL_Wine_SelectPrefix $PREFIX
POL_Wine_PrefixCreate "1.7.45"

POL_SetupWindow_pulsebar "Installing base applications with winetricks" "Installing"

POL_SetupWindow_pulse "1"

cd "$REPERTOIRE/ressources/"

POL_SetupWindow_pulse "23"
bash winetricks -q vb6run
POL_SetupWindow_pulse "55"
bash winetricks -q quartz
POL_SetupWindow_pulse "65"
bash winetricks -q vcrun2013
POL_SetupWindow_pulse "79"
POL_Call POL_Install_vbrun6
POL_SetupWindow_pulse "100"

POL_SetupWindow_download "Downloading $appname" "$shortname" "$download"

POL_SetupWindow_wait "$(eval_gettext 'Unzipping downloaded files. Please wait.')" "$TITLE"
echo $PREFIX
mkdir -p "$REPERTOIRE/wineprefix/$shortname/drive_c/$shortname"
unzip -o "$REPERTOIRE/ressources/$zipname" -d "$REPERTOIRE/wineprefix/$shortname/drive_c/$shortname"
rm "$REPERTOIRE/ressources/$zipname"

POL_Shortcut "smbx.exe" "$TITLE" "" ""

POL_SetupWindow_Close
exit
me on POL forums wrote:I will make those modifications asap.



One thing though: by downloading from the get.php link Wohlstand uses, the zip name could be different is there a way to peek at the file name either through bash scripting or POL calls?



EDIT: https://raw.githubusercontent.com/Luigi ... r/smbx.pol



How's this? I'm not able to access my Linux machine at the moment so I'm unable to test.

Tigr398
Guest

Re: Getting SMBX to work under Linux with Wine

Postby Tigr398 » Fri Aug 14, 2015 4:00 am

Thank you again but now they said me :

Error in POL_Shortcut
Binary not found: smbx.exe
Have you installed the program to the default location?

Basically what I did:

- I went tool

- Then in local script

- I opened the pol file

then they showed me this error at the end of the download:

Error in POL_Shortcut
Binary not found: smbx.exe
Have you installed the program to the default location?

Valtteri
Birdo
Birdo
Posts: 2150
Joined: Sun Dec 01, 2013 1:16 pm

Re: Getting SMBX to work under Linux with Wine

Postby Valtteri » Tue Aug 18, 2015 12:07 pm

Locked in favour of a refined method by Axiom: http://www.smbxgame.com/forums/v ... 35&t=11204


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari