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 ... 321
1
Multimedia / Re: mplayer - just stopped working...sort of...
« on: April 15, 2024, 06:35:00 pm »
You can always use sh.exe to get around the command line limit. Create mplayer.sh, paste the command line in and do "sh mplayer.sh" use / instead of \

2
Games / Re: Minecraft
« on: April 12, 2024, 04:13:08 pm »
Hi Jochen,

  This last version does open the browser on the register page - thanks!

Regards,

Same, opens fine.
Thanks

3
Games / Re: Minecraft
« on: April 11, 2024, 06:51:41 pm »
Looking at the documentation, I guess you need to pass one as the execFlag parameter instead of zero.
Edit: Remember to test both with the browser running and not running.
Edit2: or perhaps DosStartSession() would be better to use.

4
Games / Re: Minecraft
« on: April 11, 2024, 06:40:47 pm »
Tested again, this time with the browser shutdown. It worked, bringing up https://www.classicube.net/acc/register/. Once SeaMonkey was running, tried again, new window with about: once again came up.
Noticed that when I started ClassicCube from a command prompt, the prompt output was,
Code: [Select]
F:\games\ClassiCube>ClassiCube.exe
Starting ClassiCube 1.3.6 ..
Adding http://cs.classicube.net/client/builds.json (type 0)
Fetching http://cs.classicube.net/client/builds.json (GET)
HTTP: result 0 (http 200) in 322 ms (94 bytes)
Going back to sleep...
Going back to sleep...
DIVE is disabled - Panorama's shadow-buffer is enabled
[calBackendLoader] Using libical backend at Z:\mozprofiles\Mozilla\SeaMonkey\Profiles\2nf8z26q.new\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\components\libical-manifest
DIVE is disabled - Panorama's shadow-buffer is enabled
Closing ClassicCube left the cmd prompt looking like it was still open and when I pressed CTRL-C, not only did ClassicCube finish closing, so did SeaMonkey.
On the command line, entering "seamonkey https://www.classicube.net/acc/register/" works as expected, new window opens with the page loaded.
Seems like DosExecPgm needs something like "start" to have a new instance of the browser.

5
Setup & Installation / Re: Install Arca OS via USB stick
« on: April 11, 2024, 04:19:31 pm »
Thanks all, unfortunately, I don't have the .7z file anymore, just the ISO. It's bought and paid for, but it was a couple of years ago now, so I can't re-download it. So I guess the tools I need to make an installer aren't freely available? If not, I'll try Arca Noae.

Cheers

Garry

You need the correct version of dfsanwin.exe, not a another copy of the ISO. I'd suggest writing Arca Noae and asking where to download it from. Usually it is available from the same place the ISO is, but it has been a while since your version was released.

6
Games / Re: Minecraft
« on: April 11, 2024, 04:08:36 pm »
Testing here, it opened SM fine, but only about: came up, like you're not passing the URL to the browser.

8
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 04:56:14 pm »
You can also create a config.site file in $PREFIX/share, usually /usr/local/share/config.site. Mine for Mozilla, or IIRC, where %CONFIG_SITE% points.
Code: [Select]
export CFLAGS=-Zomf
export CXXFLAGS=-Zomf
export ASFLAGS=-Zomf
export 'CPPFLAGS=-idirafter w:/usr/include/os2tk45'
export 'LIBS=-lcx -Zomf'

The -idirafter is to search the toolkit for includes after the usual locations such as /@unixroot/usr/include.

9
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 04:44:34 pm »
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)

Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...

Hi,
If I'm not wrong most of it is already covered in some other places of these forums. Yet I must say I'm doing much research (in my almost zero spare time) to try and get up-and-running in as few steps as possible.

I'll try to gather and organize as much information as possible and try to contribute to what has already been written. Ad EDM/2 column would be really useful (provided it doesn't already exist!).

Mentore

Quoting myself because I came across an interesting problem.
If I try to set variables like CFLAGS like this

Code: [Select]
set CFLAGS=-O2 -g

configure and autoreconf work correctly. But I can't set options like -march or -mtune. If I try to set these in double quotes as in

Code: [Select]
set CFLAGS="-O2 -g -march=generic"

even after autoreconf, configure fails giving me troubles in gcc, gxx and cpp - even if I tweak the script.
How can I include -march / -mtune and similar options?
This happens also if I try to use export directive in a shell script...

Mentore

Try,
Code: [Select]
sh configure 'CFLAGS=-O2 -g -march=generic' 'LDFLAGS=-Zomf -Zhigh-mem'

10
Games / Re: Minecraft
« on: April 09, 2024, 01:19:34 am »
Hi David

Getting around 10fps, and can move the view by moving the mouse. ...
I think I have your same experience, with the exception of moving with the mouse. How do you know it is moving, does the image/background moves?

Do you use SNAP or Panorama. In my case I used Panorama on real hardware.

Regards

Hi Martin, here the background/view changes when I move the mouse. Using Panorama on real hardware

11
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 08, 2024, 04:49:14 pm »
If you can, use cmake. It makes life easier.

Cmake will be the next step. Many projects I'm woking on use configure (for example ngspice 4.2, mup and others) so I'm basically stuck on noticing many other developers are seeing the same behavior (like configure not finding gcc RIGHT AFTER FINDING IT...  8))


Are you rebuilding the configure script using the autoconf port? Try running "sh c:/usr/bin/autoreconf -sfy" adjust C: as needed, then run configure.
Autoreconf will also run the other autotools, especially libtool.

12
Games / Re: Minecraft
« on: April 05, 2024, 04:58:52 pm »
I gave it a quick try. Seemed to work at about 12 fps, didn't try to register, mouse pointer seemed stuck in the middle though it seemed to work when I moved it.
No idea how to play the game.

13
Networking / Re: [SOLVED] Networking not working In Virtual Box
« on: April 04, 2024, 02:49:56 am »
Do you have 2 network cards installed in the VM? Can you post your x:\mptn\bin\setup.cmd?

14
Networking / Re: [SOLVED] Networking not working In Virtual Box
« on: April 04, 2024, 12:13:01 am »
Always good to leave the possibility to chain commands.

@echo off
set BEGINLIBPATH=c:\programs\foo\lib;%BEGINLIBPATH%
c:\programs\foo.exe %1
exit

15
Networking / Re: [SOLVED] Networking not working In Virtual Box
« on: April 03, 2024, 04:49:49 pm »
You should have a line like,
Code: [Select]
CALL=X:\OS2\CMD.EXE /Q /C X:\MPTN\BIN\MPTSTART.CMD >NULin config.sys with MPTSTART.CMD calling X:\MPTN\BIN\SETUP.cmd

Pages: [1] 2 3 ... 321