English Amiga Board


Go Back   English Amiga Board > Requests > request.Apps

 
 
Thread Tools
Old 24 May 2016, 01:35   #1
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 40
Posts: 1,395
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, 06:07   #2
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
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 07:14.
emufan is offline  
Old 30 May 2016, 00:33   #3
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 40
Posts: 1,395
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, 06:59   #4
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 40
Posts: 1,395
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 13:01.
Leandro Jardim is offline  
Old 17 February 2019, 23:23   #5
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 40
Posts: 1,395
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, 12:33   #6
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,378
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, 03:06   #7
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 40
Posts: 1,395
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 14:38.
Leandro Jardim is offline  
Old 19 February 2019, 15:49   #8
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,378
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, 16:18   #9
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 43
Posts: 15,450
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, 17:51   #10
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,190
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 23:48.
AMIGASYSTEM is offline  
Old 20 February 2019, 09:19   #11
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 40
Posts: 1,395
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 09:26.
Leandro Jardim is offline  
Old 21 September 2019, 17:01   #12
koobo
Registered User

 
Join Date: Sep 2019
Location: Finland
Posts: 6
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, 18:50   #13
Ami
Registered User

 
Join Date: Sep 2014
Location: Poland
Posts: 70
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, 03:30   #14
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 40
Posts: 1,395
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  
 


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 01:30
Any A500 apps that trick other apps into seeing a 68020? Starglider 2 support.Apps 17 24 May 2016 09:26
Transparent background tolkien Coders. System 6 13 June 2015 01:09
total chaos stuck at audio decompression. Mendel support.Games 0 01 July 2012 00:04
XFD decompression on PC mokster support.Other 10 06 August 2010 14: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 20:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.12040 seconds with 15 queries