IFF TO SOURCE V0.1 © 1992 by Andre Bergmann What does it do? IFF TO SOURCE should do what it is called... It should convert your IFF pic/bitmap/shape to source code or RAW data. This is useful for displaying Gfx on your Screen without loading any picture and without writing ILBM decrunching routines. There' re two kinds of converting: 1. Source code - Make a special code for Ass, C, BlitzBasic2 or Basic 2. RAW data - Make a INCBIN/INLINE file for most coding language I hope it is useful for all coders in front of the screen and it' s bugfree... If it isn' t or you' ve got ideas to improve the program, please contact me. How does it work? Well, if you start IFF TO SOURCE, a window will be opened at the WB screen. It' ll have the fellowing functions: IFF File: - You can choose the IFF pic/bitmap/shape you want to convert. Either you can type the filename in the sting-gadget or you press the 'IFF File:' gadget or you can choose via filerequester. The file will directly checked if it is in the right format! Width: - Width of the choosen IFF file... You can' t edit! Height: - Height of the choosen IFF file... You can' t edit! Planes: - Depth of the choosen IFF file... You can' t edit! Source: - File to convert the IFF pic/bitmap/shape to... There are the same to possibilities to edit like 'IFF File:'. Take a look at 'Convert to:' how it works. Planes: and Words of Bitplane: - When IFF TO SOURCE convert a picture, you will see to bars, one for 'Planes:' and one for 'Words of Bitplane:'. At the len of the bars you can see how many time IFF TO SOURCE have done(have to do). Convert to: - At the cycle-gadget you can choose what kind of source you want to create. At the actual version there' re five kinds: Assembler source code - to the file you' ve choosen in 'Source:' using dc.w for $ hex words. C source code - to the file you' ve choosen in 'Source:' using UWORD for 0x hex words. BlitzBasic2 source code - to the file you' ve choosen in 'Source:' using Data.w for $ hex words. Basic source code - to the file you' ve choosen in 'Source:' using Data for $ hex words. If you choose RAW data, the file you want to create will get an appendix '.b'(for bitmap) or '.p'(for palette) RAW(SPLIT) will do the same as RAW data, but every bitplane code will saved separate. At the appendix '.b' will be append the number of the bitplan. So for four bitplanes there will be created four files: 'xy.b0', 'xy.b1', 'xy.b2' amd 'xy.b4'. Hope you understand... Convert: - Choose what you wanna convert to your source file. You could choose to convert the colourmap, the bitmaps or both. Go to do it!!! - Will start the converting progress... Status: - Will show you what IFF TO SOURCE currently is doing or when an error has been detected. Warum ist das doc in Englisch??? Weil ich noch keine Lust hatte alles ins Deutsche zu übersetzen... Naja, aber wer Fragen hat kann mich gerne Anrufen, vieleicht fällt auch jemanden ein, wie man mich Mutivieren könnte alles ins Deutsch zu übersetzen... Hinweis: Ich übernehme keine Garantie, daß das Programm so Arbeitet wie es soll! Für Schäden jeder Art ubernehme ich KEINE Verantwortung, die Benutzung ist also auf EIGENE Gefahr!!! So, wer was nicht verstanden hat, Fragen hat, Bugs entdeckt hat, Ideen für andere Programme hat, wer mir ein wenig Finanziel unter die Arme greifen möchte(könnte ich nicht schlecht gebrauchen, echt ehrlich) oder sich einfach nur bedanken möchte wende sich an folgene Adresse: Andre Bergmann Am Pannesbusch 39a 5600 Wuppertal 2 Im absoluten Notfall: 0202/702606 Alles klar, enjoy! Andre