Recent Posts

Pages: [1] 2 3 ... 10
1
Article Discussions / Re: Games with older SDL and FSLIB
« Last post by Dave Yeo on Today at 02:55:19 am »
Here's the game installed to \usr\local. Still not sure how to install it so that it looks relatively for its data.
2
Comments, Suggestions & Questions / Re: Hobbes (Files) Reoganization
« Last post by Martin Iturbide on July 16, 2025, 11:16:08 pm »
Hello again

Just as a curious thing I check the HobbesArchive functionality of top downloads in the last year.

Code: [Select]
/pub/os2/apps/filetransfer/HandyFTP_1-0b3.exe 51
/pub/os2/util/archiver/warpin-1-0-26.zip 48
/pub/os2/apps/emulator/VirtualBox_5-0-51.zip 45
/pub/new/eCoRT-Base_2024-01-26.wpi 44
/pub/new/NetRexx_4-03b.zip 43
/pub/os2/apps/mmedia/video/players/vlc-3.0.21.zip 43
/pub/os2/apps/mmedia/sound/LEMON.zip 42
/pub/os2/apps/graphics/scrncapt/Gotcha_2-0-0-2.wpi 40
/pub/os2/system/java/OpenJDK_6_b27_GA5.wpi 40
/pub/os2/dev/tools/toolkits/OpenGL_1-1-1.wpi 40
/pub/os2/dev/tools/misc/autoconf-2.72.zip 39
/pub/os2/apps/emulator/Sidplay_1-00.exe 39
/pub/new/Drv32_2021-03-14.zip 39
/pub/multimedia/images/patterns/Propaganda_12.wpi 37
/pub/os2/dev/tools/misc/automake-1.16.5-r2.zip 37
/pub/multimedia/fonts/truetype/msfontpack2_0_fix.wpi 36
/pub/os2/util/archiver/WarpZip_3-9.exe 35
/pub/windows/util/GUI/CalmiraReborn_5-0.zip 35
/pub/os2/util/archiver/Installer_2-2-0.exe 35
/pub/os2/dev/proglang/rexx/VisProREXX_3-1-1.wpi 35
/pub/os2/util/wps/lSwitcher-2-94-0-0.wpi 35
/pub/os2/util/wps/xworkplace/xwp-1-0-16-full-en.exe 35
/pub/os2/util/archiver/LSZipWiz_1-35.wpi 35
/pub/os2/apps/filetransfer/wget-1.24.5.zip 35
/pub/multimedia/fonts/truetype/Cardo104.wpi 34
/pub/os2/system/drivers/video/Snap_3-1-8.zip 34
/pub/os2/system/java/Java_rt_1-1-8.exe 34
/pub/os2/apps/messaging/pwICQ_2-0pr.exe 34
/pub/os2/util/archiver/Info-Zip_Unzip_6-00.exe 33
/pub/os2/util/archiver/LSZipWiz_1-34.wpi 33
/pub/new/DataSeeker_1-15.zip 33
/pub/os2/system/drivers/video/usbdrv250.zip 33
/pub/win16/drivers/NCR_GD5429_1-00b.exe 32
/pub/os2/util/archiver/ARJ2_3-10.exe 31
/pub/os2/dev/tools/make/make-4.4.1-r2.zip 31
/pub/os2/apps/scrnsave/EscapeGL_3-0.exe 31
/pub/os2/system/drivers/sound/Uniaud_2-2-5_2018-11-26.exe 31
/pub/os2/apps/editors/epm/NEPMD_1-24.wpi 31
/pub/os2/util/archiver/ARC_7-12.exe 30
/pub/os2/system/drivers/usb/usbdrv249.zip 30
/pub/incoming/TJBenchmark_1992-12-25.zip 30
/pub/java/dev/tools/versioning/SmartCVS_7-1-7.wpi 30
/pub/multimedia/fonts/truetype/heuristica_101.wpi 30
/pub/os2/apps/editors/epm/nepmd_oldbins.wpi 30
/pub/os2/util/browser/fm2-3-25-0.zip 30
/pub/os2/util/archiver/QuickWPI_0-18-2.wpi 30
/pub/os2/system/drivers/storage/OS2AHCI_0-1-4.zip 30
/pub/new/Lens_0-9.zip 29
/pub/os2/util/wps/FileSys_3-0-1-0.wpi 29
/pub/win16/system/win32s/Win32s_1-25.zip 29

Some thing makes sense, like "WarpIn", but some don't.  Maybe the files that are "/pub/new" gets downloading hits just for curiosity first.

The 2 Year view it is also interesting.

If we remove the utilities of the equation, maybe this means that we need some focus on VirtualBox and VLC. And it looks that FTP  is also very important for people using OS/2.

What do you think ?

Regards
3
Article Discussions / Re: Games with older SDL and FSLIB
« Last post by Dave Yeo on July 16, 2025, 07:35:18 pm »
Ok, if I knew more German, the comment might have clued me in :) I uncommented the #include <unistd.h>, commented the #include <getopt.h> added a couple of LIBS and the compile finished.
Have to test later as have to go out.
There's still the problem of it wanting to be installed to an absolute location, /usr/local by default, to find its data.
German comment,
Code: [Select]
#if HAVE_GETOPT
/* Laut man-page muss man <unistd.h> includen, wenn man getopt() verwenden
   will. Laut gcc <getopt.h>. gcc sitzt am lõngeren Hebel... */
#include <unistd.h>
//#include <getopt.h>
#endif

I should have looked at the headers too, it's how I fixed the ngettext() problem I also had.
4
Article Discussions / Re: Games with older SDL and FSLIB
« Last post by Rich Walsh on July 16, 2025, 07:03:19 pm »
Hi Martin, ran into problems with getopt()
Code: [Select]
In file included from main.cpp:32:
W:/usr/include/getopt.h:166:12: note: declared here
  166 | extern int getopt ();

Unluckily I'm not knowledgeable enough to get past this.

But you are (or will be)...

In cases like this it's a good idea to look at the header to see if there are any notes or #defines that might explain the problem. In this case, there are two different prototypes: one taking 3 args that you want, and one taking no args which is what you're getting. It depends on whether __GNU_LIBRARY__ is #defined (which it should be, AFAIK).

However... looking at the header reminded me of the _real_ problem. 'getopt()' used to be a standalone library with its own header. Nowadays it's part of the standard C library and is declared in 'unistd.h'. So, I think the solution here is to delete any '#include <getopt.h>' so the compiler finds the correct prototype.
5
Article Discussions / Re: Games with older SDL and FSLIB
« Last post by Silvan Scherrer on July 16, 2025, 06:56:57 pm »
see https://github.com/bitwiseworks/libc/issues/44 for a possible explanation and solution
6
Article Discussions / Re: Games with older SDL and FSLIB
« Last post by Dave Yeo on July 16, 2025, 05:59:44 pm »
Thanks a lot Dave for your time !!!

Abusing again of it  ;D Can you please check Cuyo to see if it compiles?
- https://download.savannah.gnu.org/releases/cuyo/cuyo-2.1.0.tar.gz

Regard

Hi Martin, ran into problems with getopt()
Code: [Select]
make[2]: Entering directory 'H:/tmp/cuyo-2.1.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -Ih:/tmp/SDL/h -Ih:/tmp/SDL/h/SDL -DPKGDATADIR=\"/usr/local/share/cuyo\" -DLOCALEDIR=\"/usr/local/share/locale\"   -Wall -W -ansi  -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
main.cpp: In function 'void scanOptionen(int, char**)':
main.cpp:183:47: error: too many arguments to function 'int getopt()'
  183 |   while ((opt_chr = getopt(argc, argv, "dhg:f")) != -1) {
      |                                               ^
In file included from main.cpp:32:
W:/usr/include/getopt.h:166:12: note: declared here
  166 | extern int getopt ();
      |            ^~~~~~
make[2]: *** [Makefile:524: main.o] Error 1

For the hell of it I tried removing the "dhg:f" and it didn't get much further,
Code: [Select]
make[2]: Entering directory 'H:/tmp/cuyo-2.1.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -Ih:/tmp/SDL/h -Ih:/tmp/SDL/h/SDL -DPKGDATADIR=\"/usr/local/share/cuyo\" -DLOCALEDIR=\"/usr/local/share/locale\"   -Wall -W -ansi  -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
main.cpp: In function 'void scanOptionen(int, char**)':
main.cpp:183:38: error: too many arguments to function 'int getopt()'
  183 |   while ((opt_chr = getopt(argc, argv)) != -1) {
      |                                      ^
In file included from main.cpp:32:
W:/usr/include/getopt.h:166:12: note: declared here
  166 | extern int getopt ();
      |            ^~~~~~
make[2]: *** [Makefile:524: main.o] Error 1

Unluckily I'm not knowledgeable enough to get past this.
7
Games / Re: Please test - OpenTTD v12.1
« Last post by Roderick Klein on July 16, 2025, 04:02:51 pm »
For new user trying it output:
[D:\OpenTTD]openttd
Error: No available language packs (invalid versions?)

the important thing to look for is to check what version you're trying of OpenTTD and download the Windows-32-bit .zip (for OpenTTD 14.1: "openttd-14.1-windows-win32.zip") package that contain all the files needed, unpack them (except openttd.exe) next to openttd.exe by Paul.


Hmmm trying setting the set lang to en_us....

It might fix it :-)

Roderick
8
Games / Re: Please test - OpenTTD v12.1
« Last post by Roderick Klein on July 16, 2025, 04:02:13 pm »
You might be overestimating my interest levels in getting midi working ;)

For most OS/2 installations (except if you are in a VM). Midi with Tmidity will not work anyway as uniaud only supports one audio channel.
So you can not have wave audio and MIDI active at the same time.

Thank you Paul for getting this work!

Roderick
9
Games / Re: Please test - OpenTTD v12.1
« Last post by Jan-Erik Lärka on July 16, 2025, 07:19:06 am »
For new user trying it output:
[D:\OpenTTD]openttd
Error: No available language packs (invalid versions?)

the important thing to look for is to check what version you're trying of OpenTTD and download the Windows-32-bit .zip (for OpenTTD 14.1: "openttd-14.1-windows-win32.zip") package that contain all the files needed, unpack them (except openttd.exe) next to openttd.exe by Paul.
10
Applications / Re: General Software Testing
« Last post by Martin Iturbide on July 16, 2025, 02:01:02 am »
Hello

Any idea what this software is supposed to do?

Quote
/****************************************************************************/
/* Sends messages to Desktop - OS/2 2.x                                     */
/* Instructions:  Find the modifiable section to add desktop popup          */
/* menu items and follow the comments.                                      */
/* Author:  Brian McManamon CIS - 73243,166                                 */
/* To compile this program using IBM CSET/2 - icc /B"/pmtype:pm" desktop.c  */
/* Warning:  This program is provided as is.  It has hung my desktop in     */
/* some cases becauses some messages have been lost.  This is a temporary   */
/* solution for a specific problem until the WPS development team publishes */
/* a supported solution.                                                    */
/**** Make sure all program names are present and can be found in the    ****/
/**** path before running this program or your desktop will hang.        ****/
/****************************************************************************/

In ArcaOS it starts, shows like the desktop settings and closes very fast. (Includes source code)

Regards
Pages: [1] 2 3 ... 10