English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 20 July 2010, 23:05   #1
mai
Registered User
 
Join Date: Feb 2008
Location: GER
Posts: 4,882
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; 10 September 2019 at 00:10.
mai is offline  
Old 20 July 2010, 23:27   #2
Steve
Truth seeker...
Steve's Avatar
 
Join Date: Jul 2001
Location: UK
Age: 41
Posts: 2,272
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 online now  
Old 20 July 2010, 23:27   #3
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,867
Quote:
my picture viewer dont recognize this pictures
Try another viewer.
thomas is offline  
Old 21 July 2010, 13:44   #4
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 51
Posts: 1,154
Try to use Deluxe Paint 4.
Don_Adan is offline  
Old 21 July 2010, 14:16   #5
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,239
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, 14: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, 14:27   #7
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,239
Yes, most probably. The 'SIFR' chunk contains the decryption info.
StingRay is offline  
Old 21 July 2010, 14:58   #8
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,239
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, 15:49   #9
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,239
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, 150 views)
File Type: s CfsDecrypt.s (9.6 KB, 151 views)

Last edited by StingRay; 21 July 2010 at 15:54.
StingRay is offline  
Old 21 July 2010, 18:52   #10
mai
Registered User
 
Join Date: Feb 2008
Location: GER
Posts: 4,882
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, 19:23   #11
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 41
Posts: 24,012
I see that you already put it to good use mai
TCD is offline  
Old 21 July 2010, 19:33   #12
mai
Registered User
 
Join Date: Feb 2008
Location: GER
Posts: 4,882
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, 19:35   #13
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 41
Posts: 24,012
It is for sure Nice work there Sting
TCD is offline  
Old 21 July 2010, 22:51   #14
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,239
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, 23:30   #15
Retro1234
Boo

Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 4,366
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 23:48.
Retro1234 is offline  
Old 22 July 2010, 10:43   #16
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,239
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, 102 views)
File Type: s CfsDecrypt.s (10.9 KB, 105 views)
StingRay is offline  
Old 22 July 2010, 18:19   #17
mai
Registered User
 
Join Date: Feb 2008
Location: GER
Posts: 4,882
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, 19:49   #18
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,239
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 24 July 2010, 00:45   #19
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,239
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, 116 views)
File Type: s CfsDecrypt.s (11.4 KB, 104 views)
StingRay is offline  
Old 24 July 2010, 01:05   #20
mai
Registered User
 
Join Date: Feb 2008
Location: GER
Posts: 4,882
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 12 06 February 2016 02:59
Slide show Pictures Question - IFF ILBM Peter support.Apps 20 04 December 2012 06:41
Optimising ILBM decode pmc Coders. Asm / Hardware 21 12 October 2011 21:24
IFF/ILBM structures .... freddix Coders. General 7 18 September 2006 10:54
ILBM files - different versions? TikTok Coders. General 2 07 March 2005 13: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 13:06.


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