Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: bbond007 on January 18, 2012, 11:59:37 PM

Title: Graphics program (like PPaint) that can save HAM to .c or .h file?
Post by: bbond007 on January 18, 2012, 11:59:37 PM
I have been using this BootImage program on my A1200 and Minimig 1.1 for a while and have grown tired of the image.

I know there are other programs yo do the same thing but I like this because, its self-contained, can be run before setpatch or anything else (the OCS version anyway) and it has the source.

http://aminet.net/package/util/boot/BootPicture

I'm really not crazy about the ones it came with, and I'd rather not have interlace anymore and not happy with the resolution(hi-res). (this is my first attempt at Amiga c btw) Anyway, I modified the program to work in EHB mode and I'm already happy with the results, but I'd like to do a 4096 color amiga checkmark.

The issue is that PPaint is not just compatible with HAM mode.

Probably don't care about HAM8 for now, just HAM6. I think if I used AGA modes it would have to run after setpatch.

There might be something like that on Aminet, but it seems like the search database is down.

Any Ideas?

Thanks.
Title: Re: Graphics program (like PPaint) that can save HAM to .c or .h file?
Post by: rednova on January 19, 2012, 12:57:08 AM
I believe ImageFX can convert to and from, any amiga image format.
If I am not mistaken, there is a free version of imageFX that came as coverdisks, and should be able to work.

rednova
Title: Re: Graphics program (like PPaint) that can save HAM to .c or .h file?
Post by: Bif on January 19, 2012, 02:39:50 AM
Usually you would use a separate program to convert any binary file into a .H/.C that could be included as a resource in your source code. Google stuff like "bin2h" to get an idea. I don't know of Amiga versions of things like that in particular but I would be surprised if there wasn't some utility like that out there, they are quite easy to write if not.
Title: Re: Graphics program (like PPaint) that can save HAM to .c or .h file?
Post by: Thorham on January 19, 2012, 03:12:19 AM
Quote from: rednova;676490
I believe ImageFX can convert to and from, any amiga image format.
If I am not mistaken, there is a free version of imageFX that came as coverdisks, and should be able to work.

rednova
Or you can get it from the EAB file server because it's no longer sold.
Title: Re: Graphics program (like PPaint) that can save HAM to .c or .h file?
Post by: x303 on January 19, 2012, 03:20:31 AM
You might wanna try iff2c from aminet, if it's up again.
If you can't wait check out: http://ftp.back2roots.org/back2roots/cds/xetec/fish_n_more_vol1/fish/graphics/utilities_1/iff2c/src/

:afro:
Title: Re: Graphics program (like PPaint) that can save HAM to .c or .h file?
Post by: bbond007 on January 19, 2012, 04:02:25 AM
Quote from: rednova;676490
I believe ImageFX can convert to and from, any amiga image format.
If I am not mistaken, there is a free version of imageFX that came as coverdisks, and should be able to work.

rednova


I'll get ImageFX and see if that can improve my process in some way. If anything I can see if i get better results with it than HamLab+ as far as converting images to HAM.

Hopefully it runs on my Minimig. Been trying do it all on that :)

Thanks
Title: Re: Graphics program (like PPaint) that can save HAM to .c or .h file?
Post by: bbond007 on January 19, 2012, 04:11:37 AM
Quote from: x303;676497
You might wanna try iff2c from aminet, if it's up again.
If you can't wait check out: http://ftp.back2roots.org/back2roots/cds/xetec/fish_n_more_vol1/fish/graphics/utilities_1/iff2c/src/

:afro:


Oh, that looks like what I need :)

This is how the results look in EHB. I'll see if HAM does better.

The stock program came built for the following:

   Amiga Technology logo over some clouds.
   knockoff of the windows 3.1 boot screen.
   MacOS boot screen.


Thanks
Title: Re: Graphics program (like PPaint) that can save HAM to .c or .h file?
Post by: bbond007 on January 21, 2012, 06:03:16 AM
I just can't seem to get HAM mode to work. I'm not sure what I'm doing wrong. It seems like my base 16 color palette is wrong.

I even tried loading the HAM iff into DpaintV, saving the pallette and loading that into PPaint and saving out a dummy .c file to get the color map. Still did not work.

I decided to stick with EHB for now and add a boing ball animation.

If anyone wants to try the program simply copy it to c: and add c:BootPicture to s:startup-sequence as the first line. I even run it before BlizKick.

if you run it outside of the boot process you can close it with amiga-m as it detects when its not foreground and exits.

http://aminet.net/package/util/boot/BootPicture   <- original program with docs

nate