Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: [1] 2 3 ... 363
1
Article Discussions / Re: Games with older SDL and FSLIB
« on: July 01, 2025, 01:27:14 am »
Hi Martin, I've screwed around trying to get it to work from amoebax/ with no luck. Looking it likely needs the source patched which I don't have the knowledge to do.

2
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 30, 2025, 08:03:38 am »
Here's a binary that will work if ran from /usr/local/bin if you copy the contents of the previous package's share/ directory to /usr/local/share.
Tomorrow I'll try to figure out how it sets things up for looking for the data and see about changing it

3
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 30, 2025, 07:42:19 am »
Hmm, tried on a different drive, only worked when unzipped to \amoebax and ran from \amoebax\bin

4
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 30, 2025, 07:29:53 am »
I got that error before I installed it. You are running amoebax.exe from amoebax\bin?
BTW, I tested installing in a non-root spot and it worked here retested by unzipping to tmp\amoebax, cd to bin and ran amoebax and it worked here.

5
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 29, 2025, 11:48:15 pm »
Do you see that "Amoebax" is also compilable? It uses also zlib , libpng, Ogg, Vorbis

https://github.com/OSSGames/GAME-SDL-PUZZLE-Amoebax
I played with this quite a bit, the build system seems really screwed up and I give up.
So said fsck it and tried building with the original configure etc. With the correct config.site and configure arguments I got the attached which seems to work on a quick test. Needs further testing, and I installed to /amoebax, I think it will work install to amoebax, untested.
To do, write an INSTALL.OS/2 and clean up the config.site and include it. There's currently no source changes.

6
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 29, 2025, 04:19:01 am »
Do you see that "Amoebax" is also compilable? It uses also zlib , libpng, Ogg, Vorbis

https://github.com/OSSGames/GAME-SDL-PUZZLE-Amoebax

Do you use automake for the ones that have "Makefile.am" ?

Regards

I played with this quite a bit, the build system seems really screwed up and I give up.

7
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 28, 2025, 07:51:26 pm »
Thanks Dave

Seems to be working fine here.

Do you see that "Amoebax" is also compilable? It uses also zlib , libpng, Ogg, Vorbis

https://github.com/OSSGames/GAME-SDL-PUZZLE-Amoebax

I'll try later.

Quote
Do you use automake for the ones that have "Makefile.am" ?

For OS/2, best to rebuild all the auto stuff. Often there is an autogen.sh that takes care of the rebuilding, otherwise autoreconf -sfi usually takes care of running the tools, aclocal, autoconf, automake, libtool, all with the right parameters.
autogen.sh for atris for example of a simple one,
Code: [Select]
#!/bin/sh
#
aclocal
automake --foreign
autoconf

./configure $*

Which actually failed due to missing compile file or such, so I ran autoreconf -sfi to install the scripts and afterwards if needed, ran autogen.sh. Reason for needing to fix was, IIRC, a macro that used #include <SDL.h> while newer SDL such as ours needs #include <SDL/SDL.h>. Source needed adjusting the same way.
Edit: add bottom section.

8
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 28, 2025, 06:37:04 pm »
Guess if someone is experiencing crashes, it is a big enough change.
Code: [Select]
H:\tmp\GAME-SDL-PUZZLE-Alizarin_Tetris>git diff
diff --git a/atris.h b/atris.h
index 624e611..c48f46c 100644
--- a/atris.h
+++ b/atris.h
@@ -127,6 +127,9 @@ extern Uint16 FastRandom(Uint16 range);
 #define ADJUST_SAME    1
 #define ADJUST_DOWN    2

+/* Avoid a buffer overflow */
+#define SPRINTF(buf, fmt, args...) snprintf(buf, sizeof(buf), fmt, ## args)
+
 #include "atris.pro"

 #endif /* __ATRIS_H */

Updated exe attached.

10
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 26, 2025, 01:38:21 am »
Found a FAQ too, this may be relevant,
Quote
Q: Why am I having so much trouble controlling the pieces?
A: Atris version 1.0.5 introduced the ability to change the keyboard repeat rate. If you find that the pieces move or rotate too quickly for you, consider changing the setting from within the "Special Options" menu. Let us know if you have any other playability problems.

11
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 26, 2025, 01:34:18 am »
Reminds me, while looking for the missing files, I found https://wkiri.com/projects/atris/atris-sounds-1.0.1.tar.gz, probably the same as you found.

12
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 25, 2025, 05:44:37 am »
Found the missing files. Built fine, keys seem jerky, perhaps needs sdl.ini.
I committed some changes including the missing .protos/

13
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 25, 2025, 04:45:59 am »
Hello Dave

Please, if you got the time check also Alizarin Tetris.
- https://github.com/OSSGames/GAME-SDL-PUZZLE-Alizarin_Tetris

Regards

Seems to be missing some pieces,
Code: [Select]
config.status: error: cannot find input file: '.protos/Makefile.in'

Edit:
Removing the reference from configure.in results in,
Code: [Select]
Makefile.am:50: error: required directory ./.protos does not exist
make: *** [Makefile:120: Makefile.in] Error 1

14
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 25, 2025, 04:34:10 am »
Thanks a lot Dave.

Let me know if it is fine how I packed Rock Dodger.

I had the sdl DLLs in the source for testing, they should be removed and also do a make clean to shrink the size.
Edit: Otherwise fine

Quote
I hope I uploaded the source code correctly on Github:
- https://github.com/OS2World/GAME-SDL-ACTION-RocksnDiamonds

Regards

Update: Corrected version on the file.

It is rockdodger, not RocksnDiamonds which is a completely different game.

15
Article Discussions / Re: Games with older SDL and FSLIB
« on: June 24, 2025, 05:58:31 pm »
So tried Abes Amazing Adventure, https://github.com/OSSGames/AbesAmazingAdventure.
It uses configure so need to run "sh autogen.sh". Configure failed looking for SDL.h, patched the macro to look for SDL/SDL.h (source will need the same), reran autogen.sh and it dies here,
Code: [Select]
checking for sdl-config... h:/tmp/sdl/bin/sdl-config
checking for SDL - version >= 1.0.1... yes
checking for SDL_JoystickOpen... no
*** This version of SDL doesn't have joystick support.
*** Configuring without joystick support.
checking for Mix_OpenAudio in -lSDL_mixer... no
*** SDL_mixer not found.  Configuring without audio support.

I don't think any SDL1 has joystick support and the SDL_mixer error is,
Code: [Select]
configure:7448: checking for Mix_OpenAudio in -lSDL_mixer
configure:7477: eval gcc -o conftest.exe    conftest.c -lSDL_mixer    -ldl -lm -Lh:/tmp/SDL/lib -Zomf -lsdl12 &5
Error! E2028: _Mix_OpenAudio is an undefined reference

Of course the OW build has Mix_OpenAudio as a symbol, wrong calling convention.


Pages: [1] 2 3 ... 363