English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.Other (http://eab.abime.net/forumdisplay.php?f=74)
-   -   ILBM picture (http://eab.abime.net/showthread.php?t=53937)

mai 20 July 2010 23:05

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.

Steve 20 July 2010 23:27

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.

thomas 20 July 2010 23:27

Quote:

my picture viewer dont recognize this pictures
Try another viewer.

Don_Adan 21 July 2010 13:44

Try to use Deluxe Paint 4.

StingRay 21 July 2010 14:16

No normal IFF viewer in the world will display these pictures since the BODY chunk has been crypted!

Big-Byte 21 July 2010 14:24

Quote:

Originally Posted by StingRay (Post 686142)
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) ;)

StingRay 21 July 2010 14:27

Yes, most probably. :) The 'SIFR' chunk contains the decryption info.

StingRay 21 July 2010 14:58

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 21 July 2010 15:49

2 Attachment(s)
Oh well, I hacked the decrypter anyway for all you perverts. :D There is almost no error checking but it works with all CFS pictures I tested it with. Decrypter (CFSDecrypt.68k)+source attached.

mai 21 July 2010 18:52

Quote:

Originally Posted by StingRay (Post 686156)
Oh well, I hacked the decrypter anyway for all you perverts. :D 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.:great
I think some other titles by "Artworx" used this decryption too, for example "Strip Poker".

TCD 21 July 2010 19:23

I see that you already put it to good use mai ;)

mai 21 July 2010 19:33

Quote:

Originally Posted by TheCyberDruid (Post 686216)
I see that you already put it to good use mai ;)

Its much better to have the complete opponents there.:)

TCD 21 July 2010 19:35

It is for sure :) Nice work there Sting :great

StingRay 21 July 2010 22:51

Quote:

Originally Posted by mai (Post 686214)
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. :)

Retro1234 21 July 2010 23:30

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.

StingRay 22 July 2010 10:43

2 Attachment(s)
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.

mai 22 July 2010 18:19

Quote:

Originally Posted by StingRay (Post 686351)
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,:confusedplease help.

StingRay 22 July 2010 19:49

Quote:

Originally Posted by mai (Post 686502)
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,:confusedplease 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 24 July 2010 00:45

2 Attachment(s)
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

mai 24 July 2010 01:05

Quote:

Originally Posted by StingRay (Post 686879)
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 :greatwith "Strip Poker" game.
I will check, if it works with "Strip Poker+" and various datadisks.


All times are GMT +2. The time now is 11:10.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.

Page generated in 0.04625 seconds with 11 queries