Page 1 of 1

Pkunzip doesn't work with 64bit OS

Posted: Sun Sep 16, 2007 5:01 pm
by Zenichiro
Pkunzip doesn't work with 64 bit versions of Windows. Is there any 'drop in' alternative? I tried a couple of command line unzip programs but the arguments were different format - also Pkware doesn't seem to offer their command line prog for download any more.

Any suggestions?

Posted: Sun Sep 16, 2007 5:14 pm
by Marcer

// Marcer

Posted: Sun Sep 16, 2007 5:22 pm
by Mug UK
Yep, always use WinRAR as you can specify .RAR or .ZIP for the file archive.

Posted: Sun Sep 16, 2007 6:00 pm
by Zenichiro
I think I need to be more specific - The Steem32.txt Gemus script fails on Vista64 because of the following section -

Code: Select all

If Key_Harddisk CONTAINS(Yes)

      Run_Program(%dbpath%\pkunzip.exe||-d %gamepath%\ %gamepath%\Harddisk||wait)

I've tried manually changing the pkunzip reference to various other command line decompressors and changing the arguments but I don't seem to be having any luck.

Can anyone tell me what the proper line would be using unrar.exe?

Posted: Sun Sep 16, 2007 8:58 pm
by aktiv8
Have you tried subsitiuting with the c64 version of unzip in THIS PAGE?

Posted: Sun Sep 16, 2007 9:34 pm
by alexh
Zenichiro wrote:

Code: Select all

Run_Program(%dbpath%\pkunzip.exe||-d %gamepath%\ %gamepath%\Harddisk||wait)

Can anyone tell me what the proper line would be using unrar.exe?

pkunzip -d = unrar x

Code: Select all

Run_Program(%dbpath%\unrar.exe||x %gamepath%\ %gamepath%\Harddisk||wait)

Posted: Sun Sep 16, 2007 11:54 pm
by Zenichiro
Had tried all these, just dropping them in without changing the command/argument format, obviously they didn't work. I just remember ages ago that some unzip programs used to use the same format. Was just being lazy! :oops:

Anyway, further investigation seems to show that the command line unrar program won't decompress zip files only rar files, at least that's what it tells me.

Also, for anyone who's interested the code for 7za and unzip are as follows:

Code: Select all

Run_Program(%dbpath%\7za.exe||x %gamepath%\ -o%gamepath%\Harddisk||wait)

Run_Program(%dbpath%\unzip.exe||%gamepath%\ -d%gamepath%\Harddisk||wait)

Maybe one of these could be substituted for pkunzip in a future GBST release?

Posted: Sun Sep 23, 2007 1:36 am
by FatRakoon
7ZIP always worked for me, although I have just skipped the posts.