User Avatar Image

Telltale + Linux: A Definitive Guide

posted by covox on - last edited - Viewed by 32.2K users

[MOD EDIT: Previous Linux guides on this forum: Sam & Max and SBCG4AP]

As a Linux guy who loves his adventuring, I'll try and keep this updated as best I can. These instructions were developed for Wine 1.1.29, under Ubuntu Jaunty 9.04, but should work under the newest build/distro. The example is for installing TOMI, but can be adapted to pretty much any downloadable Telltale title. This guide assumes you have set up your computer with the proper ATI/NVIDIA 3D drivers; most distros will ask you if you want them, the answer is hell yes! So let's get cracking!

GAMES THIS METHOD HAS BEEN TESTED WITH:
[LIST]
[*] Sam and Max Series 1
[*] Sam and Max Series 2
[*] SBCG4AP Series 1
[*] Wallace and Gromit Series 1
[*] Tales of Monkey Island Series 1
[*] Sam and Max Series 3
[/LIST]

1.) Visit WineHQ and get the latest build for your distro.

You should know by now that Wine is the de-facto way of running native Windows apps under your Linux of choice. What may not be obvious is that the copy bundled with most distros is freaking ancient; why, tens of thousands of fixes and improvements have potentially been committed since then! To put it in perspective, the "stable" one in your distro was sent out around the time colour television was first invented. The Wine guys release a new one literally every fortnight. So the first thing you should do is visit this page and follow the instructions for your distro to fix yourself up with the latest.

2.) Download WineTricks and install the d3dx9 package.

Wine hasn't replicated the Direct3D extension DLLs (e.g. d3dx9_41.dll) yet, and they're needed by some Telltale games. There's a quick way to fix this:
wget http://www.kegel.com/wine/winetricks
sh winetricks d3dx9
This will download the DirectX 9 installer and rip just the good bits out of it; you'll probably see a EULA or two, click yes. Congrats, you now have all the libraries you need.

SPECIAL STEP FOR SAM AND MAX SERIES 3 OWNERS: Telltale have finally taken their old IE6 based launcher and lashed it to a canoe, set it on fire then left it to slowly drift down a canal. The replacement is a nicer, faster, cross-platformier QT/WebKit deal. However, with WineTricks, you need to install the Visual Studio runtime files before the game will start.
sh winetricks vcrun2005

3.) Run the game installer. When it asks if you want to update DirectX, just say no.

Easy as. Most distros let you double-click the EXE to start Wine; I prefer the terminal.
wine LaunchOfTheScreamingNarwhal_Setup.exe

SPECIAL STEP FOR SAM AND MAX SERIES 3 OWNERS: You're done! Enjoy the game :)

4a.) Enter your purchased serial number into the box.

Grab it from here and paste it into the box. The launch window will switch to a white page after doing this; that means it's working! With luck, you can quit the launcher now by running in a terminal
wineserver -k
Next time you start the game up, you'll get a "Click here to run the game" link instead of the serial box. Congratulations!

OR

4b.) Download this patching script and launch the demo with it.

Originally you needed this script to make the serial number entry work, but that regression got fixed! If you want to just play the demo, you'll need to crack open a terminal:
cd ~/.wine/drive_c/Program\ Files/Telltale\ Games/Tales\ of\ Monkey\ Island/Launch\ of\ the\ Screaming\ Narwhal
wget http://rebui.ld.net.au/covox/ttg-patch.py
python ttg-patch.py MonkeyIsland101.exe
If all goes to plan, you should see some text in the launcher window offering a link to play the demo. Congratulations!

FREE HINTS:

[LIST]
[*] You only have to use ttg-patch.py once to register a serial number, but every time you want to play the demo.
[*] If you're having trouble getting rid of the Telltale window after quitting the launcher, run "wineserver -k" to kill it.
[*] If you're having trouble with sound (e.g. skipping, not being there at all) and you use a reasonably new distro, it's probably PulseAudio. It's pretty much always PulseAudio. Do yourself a favour and run "pulseaudio -k" to murder it before starting the game.
[*] If the game crashes just as it loads into fullscreen mode, you can force it to load in a virtual desktop. This can be done either by running winecfg and changing the global setting, or on the fly by running Wine like the following example:
wine explorer /desktop=Wine,800x600 MonkeyIsland101.exe
[/LIST]

But I use a Mac! It has a UNIX logo on the box!
Telltale is porting stuff to Mac now. Did you miss the memo?

But if you mean specifically using Wine to play Windows-only titles...
Short version: Seeing as you guys don't mind paying $39.95 for a fancy lending list, you can take my word that investing the same amount in a copy of CrossOver Games would be the bargain of the century.
Long version: Apple's version of X11 is pretty crap and breaks with WineD3D. Apparently some fixes have been made to Xquartz, so I'll try it again soon.

What about Monkey Island's treasure-hunting feature?
Too much black magic.

NEW: I tried running Sam and Max Series 2, but instead of getting the serial number box I got a grey screen saying "Logging you in"! Also, the script complains about a missing noScriptDiv! What gives?
I just tried out S&M 201 yesterday, it appears to be slightly different in that it doesn't have any fallback HTML (like every other Telltale game) for entering the serial number and starting the game. To work around this, grab the latest copy of ttg-patch.py, which can now inject the missing bits of HTML. Unfortunately, you'll need to use it every time to run the game. Believe me, I'm crying as much as you are.

Well, I hope that worked for you guys. If it didn't, post here!

207 Comments - Linear Discussion: Classic Style
  • Relevant bugreports:
    http://bugs.winehq.org/show_bug.cgi?id=22386 (closed duplicate of: )
    http://bugs.winehq.org/show_bug.cgi?id=21248

    @Maarten Lankhorst said:
    Not a bug, intentional behavior, once mmdevapi is fully implemented sound
    devices will be found again. [...] I'm working on a proper solution, just wait a bit..

    You can work around it by adding mmdevapi=disabled to your winecfg->libraries.

    It appears to affect a lot of games, so let's hope there's a real fix before the next episode :-)

  • @DarthBo said: You can work around it by adding mmdevapi=disabled to your winecfg->libraries.

    It appears to affect a lot of games, so let's hope there's a real fix before the next episode :-)

    Woo, that seems to fix the problem here. Thanks for the suggestion!

  • I played a little bit around with the ati/radeon open source driver to see, what is possible with it.

    First, some infos:
    - Radeon HD 4650
    - Arch Linux
    - Kernel 2.6.33
    - xorg-server 1.8.1 (rc)
    - mesa 7.8
    - radeon-driver 6.13.0 (xf86-video-ati is the package in the arch-repo)
    - wine 1.1.43

    Telltale (Games) games I tested (or got behind the game launcher):
    - Strong Bad (105)
    - Sam & Max (203 & 301)

    The result:
    (good)
    - Looked like 60 fps to me.
    - I could play it.
    (bad)
    - Some graphical glitches
    - Sam & Max 301 after the intro killed wine


    Actually, I got more than I thought. It's not ready, but it looks like you can play Telltale (Games) games with the open source driver in the near future without any problems. I was pleasantly surprised.

    Go, open source driver, go, open source driver, go! Go! :D

  • I followed these instructions on a lucid installation where I have wine ppa repository added which gives me wine-1.1.43 and winetricks version 20100424.

    I ran the following commands to install:
    $ export WINEPREFIX=/home/jpalko/.wine-telltale-notqtwebkit
    $ winetricks d3dx9
    $ wine SamAndMax201_IceStationSanta_Setup_.exe

    I changed to the Sam & Max 201 directory where I ran
    $ wget http://rebui.ld.net.au/covox/ttg-patch.py
    $ python ttg-patch.py SamMax201.exe
    Unofficial Telltale Wine Patcher v0.2
    (C)2009 moral recordings
    Starting Wine...
    Waiting on the debug channel for the Launcher to load...
    - Launcher found! Temp key used:
    Checking for index.html...
    - Expected to find cool stuff at /home/jpalko/.wine-telltale-notqtwebkit/drive_c/windows/temp//launcher/index.html, but found nothing. Except maybe disappointment.

    I only got a launcher window that had the telltale games logo on the top bar and a completely white window otherwise. It never progressed from there further so I closed the screen via the windows close button. To that I got a program error dialog stating that "The program SamMax201.exe has encountered a serious problem and needs to close...etc".

    Any suggestions to what might be wrong? :)

    SOLVED: Just remembered I had the season 2 dvd edition and just used that one, it's installation procedure was much simpler too.
    $ export WINEPREFIX=/home/jpalko/.wine-telltale-sam_max_season_2_dvd
    $ winetricks winxp
    $ wine /media/cdrom/setup.exe

    After this I just give the "Sam and Max - Season Two" desktop icon execution priviledges and run it and enjoy the games.

    Okay, a bit of fuss still. :) I had to keep the Season DVD in my drive and create a drive in winecfg that points to /media/cdrom and define it's type as CD-ROM and setup the graphics to emulate a virtual desktop with a suitable resolution. After this the Season 2 episodes work great as long as I insert the DVD into the drive. Naturally would be great to not need that DVD in the drive. :)

  • I followed this Wine guide to get Sam and Max - Season 3 working on my new fresh Kubuntu 10.04 Lucid. However I got all sort of errors related to MSVCP80.dll even though I did do the "sh winetricks vcrun2005" thing.
    I just wanted to let everybody know that I additionally had to run:
    sh winetricks vcrun2005sp1
    Now it just runs fine! Yay!

    Jarno

  • I have to install also
    $ winetricks ie7
    to get Sam & Max Season One Serial Number entered. Without it I get no Serial Number entry box. Lucid 10.04 64bit + wine 1.1.43 and winetricks 20100424 from ppa repository:
    ppa:ubuntu-wine/ppa

  • @jpalko said: I changed to the Sam & Max 201 directory where I ran
    $ wget http://rebui.ld.net.au/covox/ttg-patch.py
    $ python ttg-patch.py SamMax201.exe
    Unofficial Telltale Wine Patcher v0.2
    (C)2009 moral recordings
    Starting Wine...
    Waiting on the debug channel for the Launcher to load...
    - Launcher found! Temp key used:
    Checking for index.html...
    - Expected to find cool stuff at /home/jpalko/.wine-telltale-notqtwebkit/drive_c/windows/temp//launcher/index.html, but found nothing. Except maybe disappointment.

    I only got a launcher window that had the telltale games logo on the top bar and a completely white window otherwise. It never progressed from there further so I closed the screen via the windows close button. To that I got a program error dialog stating that "The program SamMax201.exe has encountered a serious problem and needs to close...etc".

    Any suggestions to what might be wrong? :)

    If your Wine installation is like mine, in recent versions the temp folder was moved from drive_c/windows/temp to drive_c/users//Temp. You need to modify the ttg-patch.py script in two places:
    [LIST=1]
    [*]Search for r"temp and change it to r"Temp.
    [*]Search for "/drive_c/windows/temp/" and change it to "/drive_c/users/jpalko/Temp/" (I'm guessing on the "jpalko" part, you might need to enter a different user name)
    [/LIST]

    This will help the script find more than just disappointment. However, I've had no luck getting the Wallace & Gromit 205 installer to work. It seems the noScriptDiv section isn't used anymore now that Wine supports MSHTML better. Still the ttg-patch loader isn't helping get me through the launcher for some reason, even though it obviously modifies the page.

  • Anybody had any success with S&M 302? With a fresh prefix, I get as far as loading all the QT dlls for the launcher, but it dies with a corrupted double-linked list error (which I'm going to tentatively point my finger at my graphics drivers).
    I've got TOMI working at the moment though, and I don't want to do any significant upgrades until I get through them >_

  • @Cheeseness said: Anybody had any success with S&M 302? With a fresh prefix, I get as far as loading all the QT dlls for the launcher, but it dies with a corrupted double-linked list error (which I'm going to tentatively point my finger at my graphics drivers).
    I've got TOMI working at the moment though, and I don't want to do any significant upgrades until I get through them >_<

    My wineprefix for the new Telltale Games has only d3dx9 and vcrun2005 installed via winetricks and 302 works great. Perhaps your installer file is corrupted some way?

  • @jpalko said: My wineprefix for the new Telltale Games has only d3dx9 and vcrun2005 installed via winetricks and 302 works great. Perhaps your installer file is corrupted some way?


    I copied the installer to a Windows machine and the launcher loads up fine (I didn't bother putting my key in since I'm not interested in playing it under Windows), so the installer's good.

Add Comment