English Amiga Board


Go Back   English Amiga Board > Requests > request.Apps

 
 
Thread Tools
Old 24 May 2016, 00:35   #1
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Transparent archive decompression for AmigaOS 3.x apps

I have downloaded a pack of Famicom ROMs a while ago, and I would like to load them on an NES emulator for AmigaOS and I am needing a kind of a patch because the ROMs are compressed as .ZIP files and the emulator can't decompress them natively. I want to store the ROMs as ZIP files.

I searched on Aminet but I dont found such a patch. Can anyone recommend a patch for this purpose?
Leandro Jardim is offline  
Old 29 May 2016, 05:07   #2
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
maybe DiskExpander can do this. download is one the eab ftp.
it uses the xpk libraries/compressors, which i think should handle zip archives. so you can just test this.
not tested, but the readme says so.
it does compress/uncompress all files on the fly - maybe there is an option just to uncompress.
read the guide or the review above before you are using it

#1) cannot find a xpk ZIP compressor library - gzip bzip2 are on aminet. maybe those are working with zip files. you have to try.

#2) pploadseg - this will uncompress any PowerPacker packed files on the fly - well, you must convert all, your zips into powerpacker files.

#3) xfdpatch from xfdmaster archive does the same as pploadseg - but it does not recognize zip archives ...

#4) xadmaster can handle zip archives - but it has no such loadseg patch

#5) while thinking about it - it my not work with zip archives at all.
bit of work but converting your zips into powerpacker compressed files, is perhaps the best solution.
while it is not about harddrive space, but convenience - this is too much trouble.
but you are free to test what i found above.

Last edited by emufan; 29 May 2016 at 06:14.
emufan is offline  
Old 29 May 2016, 23:33   #3
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Thanks emufan your explanation is excellent. What I think is that I will store the files uncompressed then.
Leandro Jardim is offline  
Old 17 February 2019, 05:59   #4
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
What do I need for XPK-enabled applications to decrunch GZipped files automatically? I downloaded this xpkGZIP from AmiNet and have put it in "SYS:Libs/compressors" directory but it isn't working. I launched the XPKPrefs and registered the GZip slave with it but it doesn't want to work.

Now I am trying to play a crunched ProTracker music module with HippoPlayer and I configured it's prefs to decrunch XPK-packed files but no game!

Please help me!

Last edited by Leandro Jardim; 17 February 2019 at 12:01.
Leandro Jardim is offline  
Old 17 February 2019, 22:23   #5
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Hmm, I don't know if I am right now but I have read that the XPK libraries are only for crunching files. Is for decrunching that the XFD libraries are for...

But please, I insist, how do I make HippoPlayer to decrunch GZipped modules automatically, since they are many in the Internetz? I could not find a way to make it work. But I think this feature really exists because the HippoPlayer's manual documents it...

Thanks.
Leandro Jardim is offline  
Old 18 February 2019, 11:33   #6
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Do you have http://aminet.net/package/util/pack/xfdmaster installed? If yes, then try to decrunch the files with xfdDecrunch. If that works enable "XFDmaster library" in HippoPrefs -> Loading. Now HippoPlayer should decrunch the files by loading.
daxb is offline  
Old 19 February 2019, 02:06   #7
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Quote:
Originally Posted by daxb View Post
Do you have http://aminet.net/package/util/pack/xfdmaster installed? If yes, then try to decrunch the files with xfdDecrunch. If that works enable "XFDmaster library" in HippoPrefs -> Loading. Now HippoPlayer should decrunch the files by loading.
Yes I have installed the "xfdmaster" package. When I try to decrunch the music module with xfdDecrunch it works.

But when I enable "XFDmaster library" in HippoPlayer it don't decrunch the file and displays a requester saying "Unknown file format!".

The file is really a music module because when I load the decrunched file in HippoPlayer it works!

I attached the crunched music module inside a ZIP archive if you would like to test it. The file is inside the archive because the forum doesn't allow to attach *.gz files.

Thanks for your help.

Last edited by Leandro Jardim; 27 March 2019 at 13:38.
Leandro Jardim is offline  
Old 19 February 2019, 14:49   #8
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Sorry, can test it here but maybe someone else. You may start SnoopDos first then try to load the gzip file with HippoPlayer to see what happens.
daxb is offline  
Old 19 February 2019, 15:18   #9
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Leandro Jardim View Post
Yes I have installed the "xfdmaster" package. When I try to decrunch the music module with xfdDecrunch it works.

But when I enable "XFDmaster library" in HippoPlayer it don't decrunch the file and displays a requester saying "Unknown file format!".

The file is really a music module because when I load the decrunched file in HippoPlayer it works!

I attached the crunched music module inside a ZIP archive if you would like to test it. The file is inside the archive because the forum doesn't allow to attach *.gz files.

Thanks for your help.
Just tested in my "Classic WB Lite 3.1" .HDF... same issue as you i.e. can manually decompress using "xfddecrunch" and this will obviously play in HippoPlayer.

If I leave the file compressed, enable / save "XFDmaster library" in HippoPrefs and attempt to play this file I get "Unknown file format!".
DamienD is offline  
Old 19 February 2019, 16:51   #10
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
In the Amiga world it is not easy to find .gz files, in any case the .gz archives can be easily unpacked with Unarc.

About HIP Player you could insert xfdDecrunch in Hippo Prefs, but to do this you have to delete one of the three set (LHA,LZX,ZIP)

Last edited by AMIGASYSTEM; 26 February 2019 at 22:48.
AMIGASYSTEM is offline  
Old 20 February 2019, 08:19   #11
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Quote:
Originally Posted by daxb View Post
Sorry, can test it here but maybe someone else. You may start SnoopDos first then try to load the gzip file with HippoPlayer to see what happens.
Don't worry! I hope everything is well with your life.

Quote:
Originally Posted by DamienD View Post
Just tested in my "Classic WB Lite 3.1" .HDF... same issue as you i.e. can manually decompress using "xfddecrunch" and this will obviously play in HippoPlayer.

If I leave the file compressed, enable / save "XFDmaster library" in HippoPrefs and attempt to play this file I get "Unknown file format!".
Many thanks DamienD, your help was invaluable as always!

Quote:
Originally Posted by AMIGASYSTEM View Post
In the Amiga world it is not easy to find .gz files, in any case the .gz archives can be easily unpacked with Unarc.

About HIP Player you could insert xfdDecrunch in Hippo Prefs, but to do this you have to delete one of the three set (LHA,LZX,ZIP)
Thanks, I am not on AmigaOS 3.9 but I think I will try Voodoo-X here. Thanks for the observation, very kind as always.

Last edited by Leandro Jardim; 20 February 2019 at 08:26.
Leandro Jardim is offline  
Old 21 September 2019, 16:01   #12
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 361
Quote:
Originally Posted by Leandro Jardim View Post
What do I need for XPK-enabled applications to decrunch GZipped files automatically? I downloaded this xpkGZIP from AmiNet and have put it in "SYS:Libs/compressors" directory but it isn't working. I launched the XPKPrefs and registered the GZip slave with it but it doesn't want to work.

Now I am trying to play a crunched ProTracker music module with HippoPlayer and I configured it's prefs to decrunch XPK-packed files but no game!

Please help me!
xpkGZIP is not meant to decrunch gzipped files (extension .gz), it is just named in such a way because it uses the same compression algorithm as the gzip compressor. HippoPlayer does not support .gz-files, instead it supports .lha, .lzx and .zip. As a historical note, at some point, it did have support for .gz but I removed it because there seemed to be not a lot of mod files around in that format
koobo is offline  
Old 21 September 2019, 17:50   #13
Ami
Registered User
 
Ami's Avatar
 
Join Date: Sep 2014
Location: Poland
Posts: 175
Quote:
Originally Posted by Leandro Jardim View Post
and I am needing a kind of a patch because the ROMs are compressed as .ZIP files and the emulator can't decompress them natively. I want to store the ROMs as ZIP files.
Instead of zip, try lha/lzx, or crunch them with xpk and use xData or similiar.
Ami is offline  
Old 08 October 2019, 02:30   #14
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Sorry for the late answer guys.

Quote:
Originally Posted by koobo View Post
xpkGZIP is not meant to decrunch gzipped files (extension .gz), it is just named in such a way because it uses the same compression algorithm as the gzip compressor. HippoPlayer does not support .gz-files, instead it supports .lha, .lzx and .zip. As a historical note, at some point, it did have support for .gz but I removed it because there seemed to be not a lot of mod files around in that format
Oh you are the author of HippoPlayer! What a glory for me!

You are very kind of answering my thread and, of course, releasing HiP free for other AmigaOS users back then. Thank you!

Unfortunately there are some important sites like AMP that only compress MODs with GZIP.

Don't worry, nothing very important for me.

Quote:
Originally Posted by Ami View Post
Instead of zip, try lha/lzx, or crunch them with xpk and use xData or similiar.
Great! Thank you I will try it with Famicom ROMs.

Unfortunately I never could make A/NES and CoolNESs decompress them automaticaly, even the manual saying that it can be done...
Leandro Jardim is offline  
Old 01 September 2021, 05:07   #15
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 361
Quote:
Originally Posted by Leandro Jardim View Post
Sorry for the late answer guys.
Unfortunately there are some important sites like AMP that only compress MODs with GZIP.

Don't worry, nothing very important for me.

GZIP support was added back in HippoPlayer v2.47, in case you might still be interested :-)
koobo is offline  
Old 03 September 2021, 19:36   #16
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Quote:
Originally Posted by koobo View Post
GZIP support was added back in HippoPlayer v2.47, in case you might still be interested :-)
Thanks, I will try it!
Leandro Jardim is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
decompression routines Toni Wilen Coders. General 12 17 May 2017 00:30
Any A500 apps that trick other apps into seeing a 68020? Starglider 2 support.Apps 17 24 May 2016 08:26
Transparent background tolkien Coders. System 6 13 June 2015 00:09
total chaos stuck at audio decompression. Mendel support.Games 0 30 June 2012 23:04
XFD decompression on PC mokster support.Other 10 06 August 2010 13:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:43.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09145 seconds with 13 queries