Day of the Tentacle

Various notes for DOTT on steam on Linux

DOTT Linux:
cd "/home/username/.steam/steam/steamapps/common/Day of the Tentacle Remastered/"
./Dott --log

on 64 bit system:
  sudo dpkg --add-architecture i386
  sudo apt-get update 
  sudo apt-get install lib32z1 lib32ncurses5

  sudo apt-get install libudev1:i386


  sudo apt-get install libgl1-mesa-glx:i386

  sudo apt-get install libalut0:i386

For alternative system configurations and other distros, the commands ldd and
lddtree can be useful in identifying missing dependencies.


~/.local/share/doublefine/dott 


rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1 

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1.1.0 
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6.0.19 

"
@EfreetSK You have to download and extract the package libdrm-intel1_2.4.56-1 in for 32bit and 64bit architectures. Then extract all files placed in the /usr/lib/i386-linux-gnu/ (i386 package) to ~/.steam/ubuntu12_32 and all from /usr/lib/x86_64-linux-gnu (x86_64 package) to ~/.steam/ubuntu12_64.

LD_PRELOAD set by steam should make it search first on ~/.steam/ubuntu12_64 and ~/.steam/ubuntu12_32 than /usr/lib/...
"
You have to download the 2.4.56-1 version of libdrm-intel1, not the latest one.
It is the last one who make this crash happen

libdrm fix:
#!/bin/bash

# create a temporary directory
mkdir SteamFixTempDir
cd ./SteamFixTempDir

wget http://snapshot.debian.org/archive/debian/20140810T163814Z/pool/main/libd/libdrm/libdrm-intel1_2.4.56-1_i386.deb
wget http://snapshot.debian.org/archive/debian/20140810T163814Z/pool/main/libd/libdrm/libdrm-intel1_2.4.56-1_amd64.deb

#  32-bit
# unpack the .deb and unarchive data.tar.xz
ar p libdrm-intel1_2.4.56-1_i386.deb data.tar.xz | tar xvJ
# copy the library and link
cp ./usr/lib/i386-linux-gnu/* ~/.steam/steam/ubuntu12_32/

#  64-bit
# unpack the .deb and unarchive data.tar.xz
ar p libdrm-intel1_2.4.56-1_amd64.deb data.tar.xz | tar xvJ
# copy the library and link
cp ./usr/lib/x86_64-linux-gnu/* ~/.steam/steam/ubuntu12_64/

# cleanup
cd ..
rm -rf ./SteamFixTempDir