News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

Games with older SDL and FSLIB

Started by Martin Iturbide, June 23, 2025, 05:08:53 PM

Previous topic - Next topic

Dave Yeo

OK, should have tested more. I've been doing development on my ram disk, H:, unixroot is M:. Did make install and it created H:\usr\local etc and installed there, I copied it to H:\luola and it ran, guess it was picking up the H:\usr\local\share\luola for its data. I was tired.
Try having the share directory under C:\usr\local\share rather then C:\usr\share.
I'll try my trick of using .\. as the prefix next build. Have to build SDL_mixer to test sound. The FAQ says sound can be unstable.

Dave Yeo

This binary should work as I expected the last to work. Put it in luola\bin and have the data in luola\share as the last zip was. Actually shouldn't matter what name the luola directory has, it just looks in ..\share

Martin Iturbide

Hello Dave

I still get this error. It shows some PM window very quick and disappear.
Quote
[C:\HOME\Downloads\LUOLA\LUOLA\BIN]dir

The volume label in drive C is ARCAOS.
The Volume Serial Number is 63AF:E5BE.
Directory of C:\HOME\Downloads\LUOLA\LUOLA\BIN

9-06-25 10:12a         <DIR>    498 a---  .
9-04-25 10:37p         <DIR>    378 a---  ..
9-05-25  7:09p       617,222    357 a---  luola.exe
9-04-25 10:13p     1,040,787    154 a---  SDL_gf15.dll
9-04-25  9:58p       157,633    154 a---  SDL_i120.dll
        5 file(s)   1,815,642 bytes used
                   38,548,549 K bytes free

[C:\HOME\Downloads\LUOLA\LUOLA\BIN]luola
Luola home directory "C:\Home/.luola/" doesn't exist. Creating...
No joysticks available
Error: Couldn't load font configuration file

[C:\HOME\Downloads\LUOLA\LUOLA\BIN]


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

Dave Yeo

I have,

Directory of H:\luola

9-05-25  5:37p         <DIR>      0 ----  .
9-04-25  8:37p         <DIR>      0 ----  ..
9-05-25  5:09p         <DIR>    124 ----  bin
9-05-25  5:09p         <DIR>    124 ----  share
        4 file(s)           0 bytes used

Directory of H:\luola\bin

9-05-25  5:09p         <DIR>    124 ----  .
9-05-25  5:37p         <DIR>      0 ----  ..
9-05-25  5:09p       617,222      0 a---  luola.exe
        3 file(s)     617,222 bytes used

Directory of H:\luola\share

9-05-25  5:09p         <DIR>    124 ----  .
9-05-25  5:37p         <DIR>      0 ----  ..
9-04-25  8:37p         <DIR>    124 ----  luola

Directory of H:\luola\share\luola

9-04-25  8:37p         <DIR>    124 ----  .
9-05-25  5:09p         <DIR>    124 ----  ..
9-04-25  8:37p         <DIR>    124 ----  font
9-04-25  8:31p       828,034    124 a---  gfx.ldat
9-04-25  8:37p         <DIR>    124 ----  levels
9-04-25  8:31p       741,334    124 a---  sfx.ldat
        6 file(s)   1,569,368 bytes used

...

Martin Iturbide

My bad, it's working now. I will test it a little bit further.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

#110
Hello Dave

I played it for some time and works here. Sound does not work like you said, but I found that Alt+Tab works fine for fullscreen, which was a good surprise.

I added an icon and readme doc on the file.

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

Dave Yeo

Looks good. Might want to mention there is also the Nostalgia levels available at https://luolamies.org/software/luola/nostalgia-1.2.tar.gz untested here.
Unluckily SDL_mixer is not building here, configure produces a broken makefile,

H:\tmp\SDL_mixer\build>make                                                7:46p
Makefile:137: *** multiple target patterns (target '../effect_position.c').  Stop.

Not sure what the problem is, removing effect_position.c gives the same error except the target is /bin/sh, I guess $SHELL. Someone hand wrote the makefile.in instead of a makefile.ac and perhaps it needs an older configure. So no sound in the immediate future.


Martin Iturbide

Hello Dave

Do you think you can commit the Luola changes (makefiles, etc) here:
- https://github.com/OS2World/GAME-SDL-ACTION-Luola

I will check the nostalgia-1.2.tar.gz  pack.

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

Dave Yeo

Quote from: Martin Iturbide on September 10, 2025, 09:49:52 PM
Hello Dave

Do you think you can commit the Luola changes (makefiles, etc) here:
- https://github.com/OS2World/GAME-SDL-ACTION-Luola

Done.
Could you fork to os2world  https://github.com/NicolasR/SDL_gfx-1.2 and https://github.com/libsdl-org/SDL_image then I could push my changes and perhaps package them and you could make releases.

Martin Iturbide

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

Martin Iturbide

Thanks Dave. I uploaded Luola to Hobbes and Github for people to enjoy it.

Can you please try now Marryampic2 0.8?

- https://github.com/OSSGames/GAME-SDL-EDUCATIONAL-Marryampic2
- Site: https://sites.google.com/site/mavati56/marryampic2?authuser=0

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

Dave Yeo

#116
Quote from: Martin Iturbide on September 17, 2025, 11:26:22 PM
Thanks Dave. I uploaded Luola to Hobbes and Github for people to enjoy it.

Can you please try now Marryampic2 0.8?

- https://github.com/OSSGames/GAME-SDL-EDUCATIONAL-Marryampic2
- Site: https://sites.google.com/site/mavati56/marryampic2?authuser=0

Regards

Test this. Prefix is ./. so just need a card set in cards/
Linked to Digi's SDL files
Edit: Removed attachemnt

Martin Iturbide

Hello Dave

Thanks for giving it a try.

I have some problem with the exe file.

It says:
Quote[C:\HOME\Downloads\MARRYAMPIC2]marryampic2
SYS0191: SDL12 cannot be run in an OS/2 session.
And also, if I open the .exe with PMDLL it says to me that is not an OS/2 executable.

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

Dave Yeo

That is strange as it runs fine here and pmdll shows the dependent DLL's. One thing is I tried a screenshot of it, first with Embelish, then Gotcha, they both just show a black window.
Perhaps it got corrupted along the way. Try again, testing here I get (without it being in the root of the source tree),

  adding: marryampic2.exe (deflated 60%)

Archive:  H:/tmp/marryampic2.zip
  inflating: marryampic2.exe
H:\tmp>h:\tmp\FC#102.0\marryampic2.exe
Unable to load font file: Couldn't open ././marryampic2/datas/SmallNeon.png

Also,

H:\tmp>md5sum marryampic2.zip
8523a2ba09040018979016a147613c88 *marryampic2.zip

...

H:\tmp\GAME-SDL-EDUCATIONAL-Marryampic2>md5sum marryampic2.exe
89b5be2e366fd2d1baa23a7c3f494545 *marryampic2.exe


Gregg Young

Hi David

SDL is buffered (dive) and so the picture isn't on the screen in the classic sense. The black screen in Gotcha and other screen capture app is expected as they would need to read the dive buffer to get the image.

Gregg