OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Doug Clark on February 26, 2019, 07:19:06 pm

Title: PMChart - and other v 2.1 applets
Post by: Doug Clark on February 26, 2019, 07:19:06 pm
Does anyone have PMCHART hanging around from an old OS/2 v 2.1 installation? Or know what the format of the file is and how to extract the app from the OS/2 2.1 CD? It is in the directory

OS2SE21\DISK_7

on the CD.

It appears that PMCHART.EXE also needs PMCHART.HLP, and possibly MGXVBM.DLL, MGXLIB.DLL, INVEST.DAT, INVEST.GRP, FASHION. DAT, FASHION.GRP, GREEN.DAT, GREEN.GRP and maybe MIRRORS.DLL

I believe there were also some other applets that came with v 2.1 and disappeared in later versions. For example I cannot find PMCHART on the Warp 3 CD.
Title: Re: PMChart - and other v 2.1 applets
Post by: David Graser on February 26, 2019, 10:09:41 pm
7zip in windows shows it as DISK7.IMZ\DISK7.IMA\

It can extract IMA to the following files  see jpg.

Don't know what to do with it at this point.



Title: Re: PMChart - and other v 2.1 applets
Post by: Doug Clark on February 27, 2019, 01:05:13 am
PMCHART is a somewhat large file (726K) that I think is in some bundled format used by the OS/2 2.1 installer.

The top of the file starts out with what looks like the location for where the installer should put the app - which is what makes me think it is some bundle or package used by the installer.
Title: Re: PMChart - and other v 2.1 applets
Post by: Doug Clark on February 27, 2019, 01:17:28 am
If I thought I had a chance of successfully installing os2 v 2.1 I would do that and extract the app that way. But since I just spent a fun filled couple of days trying to install Warp 3 (in Virtual Box, in Virtual PC, and on hardware with IDE drives and a pentium 4 processor) with no sucess, I am guessing I will never be successful installing v 2.1.

For example I discovered the first install floppy for Warp 3 will not run if the system has more than 4 MB - or more accurately it did not run with 128MB of memory and did run with the virtual machine set to 4MB. The readme says it may not format the disk if the machine has more than 4MB.  I thought PMChart would be on the Warp 3 install media which is why I tried Warp 3 - but as it turns out I can't find it on the Warp 3 CD.
Title: Re: PMChart - and other v 2.1 applets
Post by: David Graser on February 27, 2019, 01:35:31 am
Hobbes has the all the applets except for PMChart.

http://hobbes.nmsu.edu/download/pub/os2/apps/pim/pm21apps.wpi

Must have been a reason why it was left out.

X:\loaddskf.exe disk7.ima u: 

Loaddskf.exe can unpack the image's applet files to a 1.44 floppy drive or to to a vfdisk such as

http://hobbes.nmsu.edu/download/pub/os2/system/drivers/filesys/vfdisk60.zip

loaddskf can be found at

https://ecsoft2.org/loaddskf-savedskf

There must be another program that installs the individual named files in disk7.

Title: Re: PMChart - and other v 2.1 applets
Post by: Dave Yeo on February 27, 2019, 02:36:09 am
unpack (or unpack2) should expand the files.
Title: Re: PMChart - and other v 2.1 applets
Post by: ivan on February 27, 2019, 02:47:05 am
The simple way to get at the data on the disks is to use vfdisk to make a 1.44 virtual floppy and then use EMT4PM to unpack the disk imthem.
EMT4PM http://dvalot.free.fr/OS2programs.html (http://dvalot.free.fr/OS2programs.html) and select the program - there are also several other games and programs there.

Looking at my OS2v1.301 disks you will also need the unpack.exe from, in my case, disk3 to unpack the packed files.  Your CD should have both the disk image files as well as the files in individual directories (those are the same as if you unpacked the disk image files), you will still need the unpack.exy to unpack the individual files.

I might have my copy of OS/2v2.1 down in the garage, if I can find it I will try and unpack the necessary files for you.
Title: Re: PMChart - and other v 2.1 applets
Post by: David Graser on February 27, 2019, 03:20:17 am
unpack (or unpack2) should expand the files.

Thanks Dave.  You gave me the final clue I needed.

I used a Windows program to expand the disk image.

After testing I realized I was going to have to make some directories.
On my RAM drive X:, in ArcoOS, I created the following directories.
OS2
OS2\Apps,
OS2\Apps\Dll
OS2\Help

I copied the "PMChart" file to the RAM drive.  I then ran

Unpack PMChart and it unpacked the files to the directories.  Then I copied the files to the same directories located on my ArcaOS system.

I have attached the unpacked files.  Also included the packed file PMChart. I tested and it appears to work.
Title: Re: PMChart - and other v 2.1 applets
Post by: Doug Clark on February 27, 2019, 09:02:26 pm
Thanks to both Daves: Graser and Yeo. And everyone else.

The unpack (Yeo) and creating directories (Graser) were what I needed.

I have attached a zip file with the app files - arranged in a directory structure that more closely matches AOS and ECS. And as Dave Graser said, it appears to work. I will also upload this in the next couple of days to Hobbes.
Title: Re: PMChart - and other v 2.1 applets
Post by: David Graser on February 28, 2019, 02:59:55 am
Thanks to both Daves: Graser and Yeo. And everyone else.

The unpack (Yeo) and creating directories (Graser) were what I needed.

I have attached a zip file with the app files - arranged in a directory structure that more closely matches AOS and ECS. And as Dave Graser said, it appears to work. I will also upload this in the next couple of days to Hobbes.

I have to appologize for the file I uploaded.  I should have checked after I zipped it. Don't know what happened, but I am glad you were able to unpack the files and zip them up for uploading.   Thanks Doug!

One thing I have noticed. PMChart will not open when Firefox is open.
Title: Re: PMChart - and other v 2.1 applets
Post by: Dave Yeo on February 28, 2019, 03:39:11 am
One thing I have noticed. PMChart will not open when Firefox is open.

Probably a shared memory issue. Opens fine here with SM running.
Title: Re: PMChart - and other v 2.1 applets
Post by: Doug Clark on February 28, 2019, 07:05:00 am
I started PMChart with both Firefox 45.9.0 and Vbox running and it worked.
Title: Re: PMChart - and other v 2.1 applets
Post by: David Graser on March 01, 2019, 07:08:45 pm
Thanks to both Daves: Graser and Yeo. And everyone else.

The unpack (Yeo) and creating directories (Graser) were what I needed.

I have attached a zip file with the app files - arranged in a directory structure that more closely matches AOS and ECS. And as Dave Graser said, it appears to work. I will also upload this in the next couple of days to Hobbes.

I made a quick and dirty PMChart PNG icon.

Made one more PNG.
Title: Re: PMChart - and other v 2.1 applets
Post by: xynixme on March 04, 2019, 03:25:20 am
You may not need the directories when you move the HELP-path (*.HLP) & LIBPATH (*.DLL) files to the directory of the EXE.

Nowadays PMCHART.EXE may need an increased stack size too (why doesn't "EXEHDR /STACK[DOS|OS2]:ffff[H] PMCHART.EXE" to patch the EXE work?).
Title: Re: PMChart - and other v 2.1 applets
Post by: xynixme on March 04, 2019, 02:13:53 pm
Here the EXE produced a SYS3175 in POPUPLOG.OS2 quite quickly (eCS 1.2), with and without those (OS/2) directories, with an initial stack size of 0x6000 or with stack size 0x8000. With stack sizes 0x9000 or 0xFFFF it didn't start anymore.
Title: Re: PMChart - and other v 2.1 applets
Post by: xynixme on March 04, 2019, 02:18:06 pm
I made a quick and dirty PMChart PNG icon.
In general, does the full file name of those PNG files matter when the user or the system has to assign it to a WPS object?

Compared with the *.ICO equivalent (e.g. HELLO.ICO being a default icon for a HELLO.EXE in the same directory), that is.
Title: Re: PMChart - and other v 2.1 applets
Post by: David Graser on March 04, 2019, 06:40:02 pm
I made a quick and dirty PMChart PNG icon.
In general, does the full file name of those PNG files matter when the user or the system has to assign it to a WPS object?

Compared with the *.ICO equivalent (e.g. HELLO.ICO being a default icon for a HELLO.EXE in the same directory), that is.

The PNGs can be whatever name you want them.  I just give long descriptions to help people know what the PNGs can be used for.   The name does not matter when assigning the PNG or the location where you  assigned it from.  At least that is my observation.