WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core Linux for gaming  (Read 4205 times)

Offline Ruslik

  • Newbie
  • *
  • Posts: 18
Tiny Core Linux for gaming
« on: April 01, 2019, 01:21:47 PM »
Sorry if I create topic twice.

I tried to install some open source games (clones of famous games for example "Lincity" or "OpenXCOM" and original) but all I could to compile and install (Ace of Penguins, dos games what I can play with DosBox and games on terminal don't count) are OpenTTD and some ports for Doom (Prboom+ and Zandronum). Because when I compiled and installed, it had failed with some errors message like "SDL_gfx doesn't found". I was installing some empty codes and libraries, but compilation interrupted anyway. So, I have to play only what I could installed.

What games except the above-mentioned also can be installed? And what do you advice me how to compile game without problems?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Tiny Core Linux for gaming
« Reply #1 on: April 01, 2019, 01:30:21 PM »
If you’d like some help with compiling games, please state clearly what you’ve done and what error messages you get.

Offline Ruslik

  • Newbie
  • *
  • Posts: 18
Re: Tiny Core Linux for gaming
« Reply #2 on: April 02, 2019, 09:13:11 AM »
For example when I was trying to compile and install ECWolf, it sent me an error "No rule to make target '-L/usr/local/lib - Wl,-rpath,/usr/local/lib -Wl,--enable-new-dtags -lSDL2".

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Tiny Core Linux for gaming
« Reply #3 on: April 02, 2019, 09:40:19 AM »
It sounds like you were missing SDL2-dev or sdl2_image-dev?

Offline Ruslik

  • Newbie
  • *
  • Posts: 18
Re: Tiny Core Linux for gaming
« Reply #4 on: April 02, 2019, 09:42:14 AM »
But I've installed SDL2-dev and sdl2_image-dev before compiling.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Tiny Core Linux for gaming
« Reply #5 on: April 02, 2019, 09:53:25 AM »
Could you give details of the source code and ./configure switches you are using?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Tiny Core Linux for gaming
« Reply #6 on: April 03, 2019, 08:01:13 AM »
perhaps you need sdl rather than sdl2 (and also sdl_mixer and sdl_net).

Offline Ruslik

  • Newbie
  • *
  • Posts: 18
Re: Tiny Core Linux for gaming
« Reply #7 on: April 03, 2019, 10:59:19 AM »
Maybe. I should try again.
If it doesn't work again, I will say you. If it works, I'll tell anyway.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Tiny Core Linux for gaming
« Reply #8 on: April 03, 2019, 11:38:45 AM »
Hi Ruslik
You need to provide concise information as to what commands you issued and and any messages they generated. Record the
process by opening a terminal and entering:
Code: [Select]
script -f CompileECwolf.txtNow execute all the commands you used to compile the program. All your commands and responses will be saved in  CompileECwolf.txt.
when you are done, enter:
Code: [Select]
exitNow attach the  CompileECwolf.txt  file to your next post.

Offline Ruslik

  • Newbie
  • *
  • Posts: 18
Re: Tiny Core Linux for gaming
« Reply #9 on: April 03, 2019, 12:03:54 PM »
OK. I'll try it.

Offline Ruslik

  • Newbie
  • *
  • Posts: 18
Re: Tiny Core Linux for gaming
« Reply #10 on: April 06, 2019, 10:17:06 AM »
OK. So here's problem.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Tiny Core Linux for gaming
« Reply #11 on: April 06, 2019, 11:00:01 AM »
This worked in CorePure64:
Code: [Select]
tce-load -i compiletc git cmake bzip2-dev libjpeg-turbo-dev sdl_mixer-dev sdl_net-dev gtk2-dev

git clone https://github.com/RobLoach/ecwolf

cd ecwolf

mkdir build
cd build

cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DINTERNAL_ZLIB=ON -DINTERNAL_BZIP2=ON -DINTERNAL_JPEG=ON ../

i.e. without fluidsynth

Offline Ruslik

  • Newbie
  • *
  • Posts: 18
Re: Tiny Core Linux for gaming
« Reply #12 on: April 06, 2019, 02:50:11 PM »
What I must write in "CMAKE" for not installing fluidsynth? -DINTERNAL_FLUIDSYNTH=OFF?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Tiny Core Linux for gaming
« Reply #13 on: April 07, 2019, 04:45:40 AM »
It doesn't look like there's an option to disable fluidsynth, but if fluidsynth is not installed then it should be ignored anyway.

Offline Ruslik

  • Newbie
  • *
  • Posts: 18
Re: Tiny Core Linux for gaming
« Reply #14 on: April 07, 2019, 07:36:34 AM »
It works. Thx. ;)