WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Steam Client for TC  (Read 2658 times)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Steam Client for TC
« on: January 09, 2016, 09:35:27 PM »
Is it possible to create Steam client for Tiny Core? I converted its steam_latest.deb to tcz using Jason W.'s deb2tcz script but i did not install nor the dpkg.tcz avail nothing. I think this is a cool project now that Valve spreading its awesome games to Linux Community

Code: [Select]
tc@box:~$ sudo dpkg -i steam_latest.deb
dpkg: failed to open package info file `/usr/local/var/dpkg/status' for reading: No such file or directory

For those who are interested here are its dependencies
https://gist.github.com/grindars/4231563


Offline nitram

  • Hero Member
  • *****
  • Posts: 1052
Re: Steam Client for TC
« Reply #1 on: January 09, 2016, 09:50:46 PM »
Another script you can try, athough Steam is complex and success not likely:
http://forum.tinycorelinux.net/index.php/topic,18237.msg115986.html?PHPSESSID=7,jiZ-hkrteklio0pETSr0#msg115986

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10884
Re: Steam Client for TC
« Reply #2 on: January 09, 2016, 09:55:29 PM »
It looks like you can use this to create a tinycore extension:

http://repo.steampowered.com/steam/archive/precise/steam_latest.tar.gz

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1703
Re: Steam Client for TC
« Reply #3 on: January 10, 2016, 04:57:56 AM »
Last time I tried on 6.x there were several incompatibility issues regarding versions of libs. Maybe worth trying on 7.x.
Download a copy and keep it handy: Core book ;)

Offline neonix

  • Full Member
  • ***
  • Posts: 166
Re: Steam Client for TC
« Reply #4 on: February 21, 2019, 11:08:24 AM »
Could someone test this script in Tc 9.x x86 or x64? Steam client require at least 1.4 GB of free space and OpenGL GLX extension (Xorg-7.7-3d.tcz)

Code: [Select]
tce-load -iw bash
tce-load -iw binutils
tce-load -iw coreutils
tce-load -iw curl.tcz
tce-load -iw tar
tce-load -iw xz.tcz
tce-load -iw file.tcz
tce-load -iw gtk2.tcz
tce-load -iw libXtst.tcz
tce-load -iw libXrandr.tcz
tce-load -iw libopenal.tcz
tce-load -iw dbus-glib.tcz
tce-load -iw xz.tcz
tce-load -iw libva.tcz
tce-load -iw libpulseaudio

wget http://repo.steampowered.com/steam/archive/precise/steam_latest.tar.gz
tar xjf steam_latest.tar.gz
cd steam
./steam
« Last Edit: February 21, 2019, 11:09:59 AM by neonix »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10884
Re: Steam Client for TC
« Reply #5 on: February 21, 2019, 09:11:44 PM »
With CorePure64:
Code: [Select]
$ ./steam
Setting up Steam content in /home/tc/.local/share/Steam
env: can't execute 'python': No such file or directory
Running Steam on tinycore 10.0 64-bit
STEAM_RUNTIME is enabled automatically
Pins potentially out-of-date, rebuilding...
/home/tc/.local/share/Steam/steam.sh: line 828: /home/tc/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: No such file or directory
Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
/home/tc/.local/share/Steam/steam.sh: line 888: /home/tc/.local/share/Steam/ubuntu12_32/steam: No such file or directory
..so it needs multilib 32/64bit - a hangover from windows I guess..

With Core:
Code: [Select]
env: can't execute 'python': No such file or directory
/home/tc/.local/share/Steam/steam.sh: line 470: zenity: command not found
opensslconnection.cpp (1490) : Assertion Failed: unable to load trusted SSL root certificates
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
/home/tc/.local/share/Steam/ubuntu12_32/../ubuntu12_64/vulkandriverquery: line 1: can't create
..after loading pulseaudio, python and zenity, starting pulseaudio and symlinking /etc/ssl -> /usr/local/etc/ssl, only the vulkan driver error remains.

The vulkan drivers exist in CorePure64, but my haswell gpu is not fully supported, so I would probably not be able to test even if they were compiled for Core:
Code: [Select]
INTEL-MESA: warning: Haswell Vulkan support is incomplete
Vulkan Device 0:
    Intel(R) Haswell Mobile (Integrated GPU)
    Vendor ID: 0x8086u
    Device ID: 0xA16u
    API version 1.0.57
« Last Edit: February 21, 2019, 09:20:51 PM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10884
Re: Steam Client for TC
« Reply #6 on: February 22, 2019, 04:21:42 AM »
..and even when using 32-bit, the installation is trying to use a 64-bit binary (vulkandriverquery) to load the vulkan driver

Offline neonix

  • Full Member
  • ***
  • Posts: 166
Re: Steam Client for TC
« Reply #7 on: May 11, 2019, 12:24:15 AM »
I was able to get small progress. My gpu is not supported by Xorg, then I had to use vesa driver that gives software emulation of OpenGL. But the last Xorg version that work with vesa driver was TC 7.x (x86). I was able to get login window but after login I get "Steam is having trouble connecting to the Steam servers." The aterm log shows:
Code: [Select]
opensslconnection.cpp (1490) : Assertion Failed: unable to load trusted SSL root certificates
which is related to ca-certificates.tcz that is not avaible in TC 7.x How to create ca-certificates.tcz in TC 7.x?

Code: [Select]
tce-load -iw bash
tce-load -iw binutils
tce-load -iw coreutils
tce-load -iw curl.tcz
tce-load -iw tar
tce-load -iw xz.tcz
tce-load -iw file.tcz
tce-load -iw gtk2.tcz
tce-load -iw libXtst.tcz
tce-load -iw libXrandr.tcz
tce-load -iw libopenal.tcz
tce-load -iw dbus-glib.tcz
tce-load -iw xz.tcz
tce-load -iw libva.tcz
tce-load -iw libpulseaudio
tce-load -iw pci-utils.tcz
tce-load -iw liberation-fonts-ttf
tce-load -iw dejavu-fonts-ttf

wget http://repo.steampowered.com/steam/archive/precise/steam_latest.tar.gz
tar xjf steam_latest.tar.gz
cd steam
./steam

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10884
Re: Steam Client for TC
« Reply #8 on: May 11, 2019, 12:53:09 AM »
In tc-7.x, ca-certificates was called openssl-certs.

Which gpu do you have?

Offline neonix

  • Full Member
  • ***
  • Posts: 166
Re: Steam Client for TC
« Reply #9 on: May 11, 2019, 01:28:42 AM »
In tc-7.x, ca-certificates was called openssl-certs.

Which gpu do you have?
I tried to install openssl-certs and symlink it to /etc/ssl but it won't help.

My gpu is VIA Chrome9 VX900 HD. The only case I was able to run it in Linux was on Lubuntu 14 with proprietary driver but it was buggy (unofficial beta driver). It support only OpenGL1.4. Source engine games at Linux require at least OpenGL 2.0.
https://www.phoronix.com/scan.php?page=news_item&px=MTM0MTI
« Last Edit: May 11, 2019, 01:30:40 AM by neonix »

Offline neonix

  • Full Member
  • ***
  • Posts: 166
Re: Steam Client for TC
« Reply #10 on: May 11, 2019, 07:15:08 AM »
I generate certificates in TC9 and simply copy them to TC7. I was able to install and log in into my Steam account.

But steam browser doesn't work. It says: "the steam browser is disabled", I google it and find this.

Code: [Select]
The Steam Web Browser requires a CPU that supports the SSE2 instruction set.
32-bit Linux distributions are also no longer supported. Please install a 64-bit Linux distribution to make use of the Steam browser.

This means that Steam Client works only with 64-bit Linux distributions. It require 1,5 GB free space.
Then I run it in PureCore64 v7 I get:
Code: [Select]
Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
This means It won't work in 32-bit and in pure64-bit.

Code: [Select]
tce-load -iw bash
tce-load -iw binutils
tce-load -iw coreutils
tce-load -iw curl.tcz
tce-load -iw tar
tce-load -iw xz.tcz
tce-load -iw file.tcz
tce-load -iw gtk2.tcz
tce-load -iw libXtst.tcz
tce-load -iw libXrandr.tcz
tce-load -iw libopenal.tcz
tce-load -iw dbus-glib.tcz
tce-load -iw xz.tcz
tce-load -iw libva.tcz
tce-load -iw libpulseaudio
tce-load -iw pci-utils.tcz
tce-load -iw liberation-fonts-ttf
tce-load -iw dejavu-fonts-ttf
tce-load -iw ca-certificates.tcz
sudo ln -s /usr/local/etc/ssl /etc/ssl

wget http://repo.steampowered.com/steam/archive/precise/steam_latest.tar.gz
tar xzf steam_latest.tar.gz
cd steam
./steam

There are missing dependencies, but I don't know are there essential to use Steam Client comfortably.
xdg-open
zenity
phyton

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10884
Re: Steam Client for TC
« Reply #11 on: May 11, 2019, 07:45:52 AM »
I read somewhere that steam is unlikely to make any pure 64-bit games in the near future, so I guess it will remain 32-bit/64-bit multilib because that's what "64-bit" windows is...