English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 20 July 2010, 22:05   #1
mai
Registered User
 
Join Date: Feb 2008
Location: Federativnaya Respublika Germaniya
Posts: 4,994
ILBM picture

I have found some pictures on a disk, but my picture viewer dont recognize this pictures, althought the format seem to be ILBM.

Last edited by mai; 09 September 2019 at 23:10.
mai is offline  
Old 20 July 2010, 22:27   #2
Steve
I Identify as an Ewok
 
Steve's Avatar
 
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,356
Try load it into my win32 IFF loader which I wrote a few years ago.

This will load any type of ILBM picture so there is something wrong with the file if my program doesn't load it.

http://download.abime.net/utils/IFFLoader100.zip

Check the ILBM Properties in the File menu to see any odd details like the masking bit being set. This can stop other ILBM programs from correctly loading the image.
Steve is offline  
Old 20 July 2010, 22:27   #3
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,987
Quote:
my picture viewer dont recognize this pictures
Try another viewer.
thomas is offline  
Old 21 July 2010, 12:44   #4
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,960
Try to use Deluxe Paint 4.
Don_Adan is offline  
Old 21 July 2010, 13:16   #5
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
No normal IFF viewer in the world will display these pictures since the BODY chunk has been crypted!
StingRay is offline  
Old 21 July 2010, 13:24   #6
Big-Byte
Long time member
 
Big-Byte's Avatar
 
Join Date: Jul 2001
Location: UK
Posts: 754
Quote:
Originally Posted by StingRay View Post
No normal IFF viewer in the world will display these pictures since the BODY chunk has been crypted!
Probably to stop people from looking at the nude pictures without having to play the game (Centrefold Squares)
Big-Byte is offline  
Old 21 July 2010, 13:27   #7
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Yes, most probably. The 'SIFR' chunk contains the decryption info.
StingRay is offline  
Old 21 July 2010, 13:58   #8
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Just in case you really want to see these pictures I can easily hack a converter/decrypter (just tested it with the title pic), just let me know.
StingRay is offline  
Old 21 July 2010, 14:49   #9
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Oh well, I hacked the decrypter anyway for all you perverts. There is almost no error checking but it works with all CFS pictures I tested it with. Decrypter (CFSDecrypt.68k)+source attached.
Attached Files
File Type: 68k CFSDecrypt.68k (1.5 KB, 234 views)
File Type: s CfsDecrypt.s (9.6 KB, 250 views)

Last edited by StingRay; 21 July 2010 at 14:54.
StingRay is offline  
Old 21 July 2010, 17:52   #10
mai
Registered User
 
Join Date: Feb 2008
Location: Federativnaya Respublika Germaniya
Posts: 4,994
Quote:
Originally Posted by StingRay View Post
Oh well, I hacked the decrypter anyway for all you perverts. There is almost no error checking but it works with all CFS pictures I tested it with. Decrypter (CFSDecrypt.68k)+source attached.
Thank you very much for the effort, it really works fine.
I think some other titles by "Artworx" used this decryption too, for example "Strip Poker".
mai is offline  
Old 21 July 2010, 18:23   #11
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,530
I see that you already put it to good use mai
TCD is offline  
Old 21 July 2010, 18:33   #12
mai
Registered User
 
Join Date: Feb 2008
Location: Federativnaya Respublika Germaniya
Posts: 4,994
Quote:
Originally Posted by TheCyberDruid View Post
I see that you already put it to good use mai
Its much better to have the complete opponents there.
mai is offline  
Old 21 July 2010, 18:35   #13
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,530
It is for sure Nice work there Sting
TCD is offline  
Old 21 July 2010, 21:51   #14
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by mai View Post
I think some other titles by "Artworx" used this decryption too, for example "Strip Poker".
I just checked and there are indeed more games by Artworx which use the same encryption. I may update the decrypter when I arrive at work tomorrow.
StingRay is offline  
Old 21 July 2010, 22:30   #15
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
I had Strip Poker 2 and you could swap/rename the files so the characters started naked
Also on Strip Poker 2 you can play as a Extra woman character instead of the bloke.

Last edited by Retro1234; 21 July 2010 at 22:48.
Retro1234 is offline  
Old 22 July 2010, 09:43   #16
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
I have updated the decrypter, it now supports variable decryption keys (Strip Poker 2 uses different keys than Centerfold Squares), there is proper error handling and I also completely reversed the (en)cryption algorithm and converted it to proper asm, no more bloated and ugly disassembled C code in the source. I also commented the source a bit and explained the (very simple) algorithm using (pseudo) C code. The decrypter should now work with any "SIFR" picture as long as you know the right decryption key.
Exe and source attached.
Attached Files
File Type: 68k CFSDecrypt.68k (1.4 KB, 171 views)
File Type: s CfsDecrypt.s (10.9 KB, 182 views)
StingRay is offline  
Old 22 July 2010, 17:19   #17
mai
Registered User
 
Join Date: Feb 2008
Location: Federativnaya Respublika Germaniya
Posts: 4,994
Quote:
Originally Posted by StingRay View Post
I have updated the decrypter, it now supports variable decryption keys (Strip Poker 2 uses different keys than Centerfold Squares), there is proper error handling and I also completely reversed the (en)cryption algorithm and converted it to proper asm, no more bloated and ugly disassembled C code in the source. I also commented the source a bit and explained the (very simple) algorithm using (pseudo) C code. The decrypter should now work with any "SIFR" picture as long as you know the right decryption key.
Exe and source attached.
I dont get it to work with Strip Poker 2.

Is this the correct usage:
Quote:
cfsdecrypt ram:mel-a ram:mel-a.ilbm key1 3 key2 11
I dont get any error output, but cant display converted picture,please help.
mai is offline  
Old 22 July 2010, 18:49   #18
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by mai View Post
I dont get it to work with Strip Poker 2.

Is this the correct usage:

I dont get any error output, but cant display converted picture,please help.
Yes, usage is correct. That there is no error output is normal since it just decrypts the picture, if the used key is wrong the result is an invalid IFF picture of course. I just checked, I only tested to load the converted picture with PicCon when I updated the decrypter this morning which worked fine. Turns out PPaint and other IFF viewers can't load the converted picture. I'll check why that happens and update the decrypter if necessary.
StingRay is offline  
Old 23 July 2010, 23:45   #19
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
I have updated the decrypter, problem was caused by the SIFR chunk which has an odd length; this is invalid and caused IFF viewers to reject the picture. I have added a "FIXCHUNKS" option which simply removes the offending chunk. Use this if you want to decrypt Strip Poker 2 pictures.

Example: CfsDecrypt mel-a ram:mel.iff 3 11 FC
Attached Files
File Type: 68k CfsDecrypt.68k (1.6 KB, 211 views)
File Type: s CfsDecrypt.s (11.4 KB, 191 views)
StingRay is offline  
Old 24 July 2010, 00:05   #20
mai
Registered User
 
Join Date: Feb 2008
Location: Federativnaya Respublika Germaniya
Posts: 4,994
Quote:
Originally Posted by StingRay View Post
I have updated the decrypter, problem was caused by the SIFR chunk which has an odd length; this is invalid and caused IFF viewers to reject the picture. I have added a "FIXCHUNKS" option which simply removes the offending chunk. Use this if you want to decrypt Strip Poker 2 pictures.

Example: CfsDecrypt mel-a ram:mel.iff 3 11 FC
Thank you again, works fine now with "Strip Poker" game.
I will check, if it works with "Strip Poker+" and various datadisks.
mai 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
OS X Quick Look plugin for IFF ILBM images dalton News 17 01 September 2021 22:24
Slide show Pictures Question - IFF ILBM Peter support.Apps 20 04 December 2012 05:41
Optimising ILBM decode pmc Coders. Asm / Hardware 21 12 October 2011 20:24
IFF/ILBM structures .... freddix Coders. General 7 18 September 2006 09:54
ILBM files - different versions? TikTok Coders. General 2 07 March 2005 12:00

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 17:50.

Top

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