User Avatar Image

Telltale + Linux: A Definitive Guide

posted by covox on - last edited - Viewed by 12.6K 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!

204 Comments - Linear Discussion: Classic Style
  • The game works fine here!
    The audio bug wast fixed in the last wine update.
    I'm on Ubuntu 10.04 with wine 1.1.44, fresh prefix with only vcrun2005 installed.

  • I just get this when trying to load a Telltale game through Ubuntu 10.04 using 1.1.42. The Devil's Playhouse does nothing at all.

    samnmax.png

    This is no use because the play game button doesn't appear. The odd thing is that I used to get the white screen. I guess a wine or Ubuntu update did this.

  • @Graxer said: I just get this when trying to load a Telltale game through Ubuntu 10.04 using 1.1.42.


    Previous seasons use the old launcher, which doesn't work anymore. You'll have to patch the html files or wait for wine to fix it.

    @Graxer said: The Devil's Playhouse does nothing at all.
    Are you sure you've installed vcrun2005 with winetricks?

    (oh, and use the latest wine! Here's the ppa: https://launchpad.net/~ubuntu-wine/+archive/ppa )

  • @DarthBo said: Are you sure you've installed vcrun2005 with winetricks?

    (oh, and use the latest wine! Here's the ppa: https://launchpad.net/~ubuntu-wine/+archive/ppa )



    Yes, I've installed vcrun2005. When I try to run the game I get "Starting The Penal Zone" on the bottom taskbar. That disappears after a few seconds and nothing happens.

    Also, I have the newest version of wine and winetricks from that link.

  • @jkohen said: 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.



    Hmm, good detective work. I'll have to update the regex used in the script to find any occurrence of "Temp" instead of the full path. Thanks for the tipoff about W&G E5, a new version must've broken the launcher similar to S&M 201.

  • Thanks for this guide, i'll try it tomorrow since as so far no luck in getting season 3 to work on my windows boot (which is really annoying).

  • Just a note... With Sam & Max STW + BTaS, I can't get the fallback html to kick in unless I install IE6 and follow that with IE7 in winetricks, which results in what appears to be a completely broken, half-functional IE install. This doesn't work for 2x01 though...

    I'm running Wine 1.2-rc2

    edit: problem is, this seems to break Sam & Max: The Devil's Playhouse.

  • @Yadda said: Just a note... With Sam & Max STW + BTaS, I can't get the fallback html to kick in unless I install IE6 and follow that with IE7 in winetricks, which results in what appears to be a completely broken, half-functional IE install. This doesn't work for 2x01 though...

    I'm running Wine 1.2-rc2



    Yes, I had to do the same to get W&G 105 and Strong Bad 102 to install. It would be great to either get the fallback HTML to work, or Wine to finish handling the authentication process. I had no luck trying different combinations of disabling and overriding mshtml in Wine.

    @Yadda said:
    edit: problem is, this seems to break Sam & Max: The Devil's Playhouse.

    I wouldn't suggest installing IE6/7 in your main Wine directory. Is that what you did? I do the following:
    [LIST=1]
    [*]Install the games in my main wine root, then
    [*]Create a separate root and install IE6/7 there,
    [*]Export the Securom information from the registry in the first installation and import it in the latter,
    [*]Validate the game in the second installation (I run the game from the directory inside the first installation and it works fine),
    [*]Transfer the updated Securom information from the second to the first installation.
    [/LIST]

    A year or more ago there used to be very detailed instructions in this forum on how to do the above, but I couldn't find them last time I searched for them.

  • The patch on the first page could be edited to force the noscript fallback mode (or you could play the disc version)

  • @DarthBo said: The patch on the first page could be edited to force the noscript fallback mode (or you could play the disc version)



    I tried many variations of index.html, none of which got me the noscript fallback mode when using a recent Wine. As for the disc version, that first requires having the disc...

Add Comment