Author Topic: Tux Football not running  (Read 11435 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Tux Football not running
« on: December 18, 2020, 08:50:26 pm »
Hi

About: tuxfootball-0.3.1-os2.zip

Tux Football is not running at all for me. I try to run it on OS/2 windows and full screen session and I see like a quick command prompt window that disappears and I can not get any error. Nothing in POPUPLOG.

It uses SDL as I can see. I have:
- LIBC066.DLL -  3-28-20  - 316,502
- STDCPP6.DLL - 7-22-20 - 1,182,921
- GCC473.DLL - 7-22-20 -  4,119
- SDL12.DLL  - 10-05-20 -  278,457
- SDLMIXER.DLL - 10-05-20 - 954,603
- SDLIMAGE.DLL - 10-05-20  - 733,447

If the game is running for someone, please let me know.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2244
  • Karma: +170/-0
    • View Profile
Re: Tux Football not running
« Reply #1 on: December 18, 2020, 09:04:01 pm »
I would try an older build of sdl12.dll - unfortunately there are multiple builds floating around that aren't compatible with each other....

Pete

  • Hero Member
  • *****
  • Posts: 1332
  • Karma: +9/-0
    • View Profile
Re: Tux Football not running
« Reply #2 on: December 18, 2020, 09:19:56 pm »
Hi Martin

The current SDL12 RPM package does not contain most of the required sdl*.dll files

I unzipped the dll files from the sdl package recommended in the readme.os2 file into the same directory as tuxfootball.exe

The game now almost starts by double clicking tuxfootball.exe; the window appears onscreen with 2 lines of text, 2nd line being something about "rendering pitch" and then locks the system requiring a reboot.


Regards

Pete



Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Tux Football not running
« Reply #3 on: December 18, 2020, 09:22:41 pm »
I would try an older build of sdl12.dll - unfortunately there are multiple builds floating around that aren't compatible with each other....

Hi Paul

Almost... Based on your suggestions I tried this versions that I got on some other game.

11-05-08 - 106,574    ---  FSLIB.DLL
11-05-08 -  188,402 ---  SDL12.DLL
 1-21-07 -  554,915  ---  SDLIMAGE.dll
 1-21-07 -  412,322  ---  SDLMIXER.dll

Now it tries to show something on the black screen... like .. "Starting Renderer ... Loading Pitch" and it disappears again.

Regards
« Last Edit: December 18, 2020, 09:30:57 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Tux Football not running
« Reply #4 on: December 18, 2020, 10:03:13 pm »
Hi

I had go back to "SDL-1.2.15-20140930.zip" Tux Football now freeze the VM and Top does not want to kill the app.

I'm thinking it may be also a problem with the libc, gcc or STDCPP libraries, like something broke with newer libc libs. 

Regards

Martin Iturbide
OS2World NewsMaster
... just share the dream.

TeLLie

  • Full Member
  • ***
  • Posts: 238
  • Karma: +12/-0
    • View Profile
Re: Tux Football not running
« Reply #5 on: December 19, 2020, 03:16:24 pm »
Hi Martin,
I just recompile it, using latest rpm stuff
Just copy to /usr

I can play the game now with sound.
But i have only trouble to quit the game, it gives ..
C:\usr\bin>tuxfootball.exe
[INFO]  main.cpp:58 Starting Tux Football 0.3.90
[INFO]  gameengine.cpp:161 Rendering using software
[WARN]  tilemap.cpp:57 FIXME - tilesize fixed at 16X16
[WARN]  tilemap.cpp:61 FIXME - tilemap size fixed at 2560 * 4096 for the moment
[WARN]  player.cpp:271 FIXME : pass code passes to players feet where he is now, not where he is going to be when the ball reaches him
[WARN]  player.cpp:271 FIXME : pass code passes to players feet where he is now, not where he is going to be when the ball reaches him

LIBC PANIC!!
_um_free_maybe_lock: Tried to free block twice - block=0015fe08 lock=0x1
pid=0x3b2f ppid=0x0045 tid=0x0001 slot=0x00b3 pri=0x0200 mc=0x0000 ps=0x0010
C:\USR\BIN\TUXFOOTBALL.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.



https://tellie.stackstorage.com/s/aIAkzxLN98O3rS90

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Tux Football not running
« Reply #6 on: December 19, 2020, 04:28:40 pm »
Thanks Tellie.

Its good that you compiled it on SDL2. It is running here now.

Sound is not yet working on my side. I'm not sure what is missing.
If I select "Redefine Keys" on the game menu it quits the tame  (faster than the quit option).
I'm experiencing the same issue on quit.

General Notes: I had installed with ANPM  SDL2, SDL2_image and SDL2_mixer (from Netlabs-exp)

Regards

« Last Edit: December 19, 2020, 04:40:35 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4983
  • Karma: +110/-1
    • View Profile
Re: Tux Football not running
« Reply #7 on: December 19, 2020, 05:07:07 pm »
SDL2_mixer is missing mod support, which when I compiled Rocks'nDiamonds recently resulted in no sound. Might be the same with Tux Football.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Tux Football not running
« Reply #8 on: December 19, 2020, 05:27:52 pm »
Hi.

Just some progress on the sound. I tried it on real hardware (Thinkpad L420) and sound is working. I don't know what is happening on the VirtualBox VM.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Tux Football not running
« Reply #9 on: December 19, 2020, 07:08:14 pm »
Hi Tellie

If it is not much to ask, can it be possible for you to share the makefile you use on ArcaOS to compile this? I may learn something from it. What else did you changed on the original source code to compile it?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

TeLLie

  • Full Member
  • ***
  • Posts: 238
  • Karma: +12/-0
    • View Profile
Re: Tux Football not running
« Reply #10 on: December 20, 2020, 10:44:19 am »
Hi Martin,

I did not change any, i just run my cmake script as i use cmake to get it build..

Make in the dir a subdir named like you wish f.e os2-build
cd to that dir and just run sh c:/usr/bin/conf-soccer.txt

This i have inside the txt file:
export LDFLAGS="-Zhigh-mem -Zomf -lcx -lintl_dll"
export CFLAGS="-O2 -g -march=i686"
export CXXFLAGS="-O2 -g -march=i686"
export FFLAGS="-O2 -g -march=i686"
export FCFLAGS="-O2 -g -march=i686"

cmake -DCMAKE_INSTALL_PREFIX:PATH=/@unixroot/usr \
      -DOS2_USE_CXX_EMXEXP=ON \
      -DCMAKE_SKIP_RPATH:BOOL=YES \
      -DCMAKE_BUILD_TYPE=release \
      -Wno-dev .. 2>stdout 1>stderr