amiga.org
     
iconAll times are GMT -6. The time now is 08:26 PM. | Welcome to Forum, please register to access all of our features.

Amiga.org Amiga computer related discussion Amiga Software Issues and Discussion Graphics program (like PPaint) that can save HAM to .c or .h file?

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 01-18-2012, 04:59 PM   #1
bbond007
Defender of the Faith
Points: 10,496, Level: 68 Points: 10,496, Level: 68 Points: 10,496, Level: 68
Activity: 2% Activity: 2% Activity: 2%
 
bbond007's Avatar
 
Join Date: Mar 2009
Posts: 1,385
Default Graphics program (like PPaint) that can save HAM to .c or .h file?

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.
bbond007 is offline   Reply With Quote
Old 01-18-2012, 05:57 PM   #2
rednova
Cult Member
Points: 12,925, Level: 74 Points: 12,925, Level: 74 Points: 12,925, Level: 74
Activity: 30% Activity: 30% Activity: 30%
 
rednova's Avatar
 
Join Date: Mar 2007
Location: Georgia, USA
Posts: 597
Default Re: Graphics program (like PPaint) that can save HAM to .c or .h file?

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
__________________
-mobilis in mobile-
rednova is offline   Reply With Quote
Old 01-18-2012, 07:39 PM   #3
Bif
Too much caffeine
Points: 4,198, Level: 41 Points: 4,198, Level: 41 Points: 4,198, Level: 41
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Aug 2009
Location: BC, Canada
Posts: 113
Default Re: Graphics program (like PPaint) that can save HAM to .c or .h file?

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.
Bif is offline   Reply With Quote
Old 01-18-2012, 08:12 PM   #4
Thorham
Cult Member
Points: 5,793, Level: 49 Points: 5,793, Level: 49 Points: 5,793, Level: 49
Activity: 52% Activity: 52% Activity: 52%
 
Thorham's Avatar
 
Join Date: Oct 2009
Location: Nerd City, Nerderon
Posts: 888
Default Re: Graphics program (like PPaint) that can save HAM to .c or .h file?

Quote:
Originally Posted by rednova View Post
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.
Thorham is offline   Reply With Quote
Old 01-18-2012, 08:20 PM   #5
x303
Cult Member
Points: 11,999, Level: 71 Points: 11,999, Level: 71 Points: 11,999, Level: 71
Activity: 2% Activity: 2% Activity: 2%
 
x303's Avatar
 
Join Date: Feb 2002
Location: Amsterdam
Posts: 633
Lightbulb Re: Graphics program (like PPaint) that can save HAM to .c or .h file?

You might wanna try iff2c from aminet, if it's up again.
If you can't wait check out: http://ftp.back2roots.org/back2roots...s_1/iff2c/src/

x303 is offline   Reply With Quote
Old 01-18-2012, 09:02 PM   #6
bbond007
Defender of the Faith
Points: 10,496, Level: 68 Points: 10,496, Level: 68 Points: 10,496, Level: 68
Activity: 2% Activity: 2% Activity: 2%
 
bbond007's Avatar
 
Join Date: Mar 2009
Posts: 1,385
Default Re: Graphics program (like PPaint) that can save HAM to .c or .h file?

Quote:
Originally Posted by rednova View Post
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
bbond007 is offline   Reply With Quote
Old 01-18-2012, 09:11 PM   #7
bbond007
Defender of the Faith
Points: 10,496, Level: 68 Points: 10,496, Level: 68 Points: 10,496, Level: 68
Activity: 2% Activity: 2% Activity: 2%
 
bbond007's Avatar
 
Join Date: Mar 2009
Posts: 1,385
Default Re: Graphics program (like PPaint) that can save HAM to .c or .h file?

Quote:
Originally Posted by x303 View Post
You might wanna try iff2c from aminet, if it's up again.
If you can't wait check out: http://ftp.back2roots.org/back2roots...s_1/iff2c/src/

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
Attached Images
File Type: png BootLogo3.PNG (10.3 KB, 12 views)

Last edited by bbond007; 01-20-2012 at 10:39 PM..
bbond007 is offline   Reply With Quote
Old 01-20-2012, 11:03 PM   #8
bbond007
Defender of the Faith
Points: 10,496, Level: 68 Points: 10,496, Level: 68 Points: 10,496, Level: 68
Activity: 2% Activity: 2% Activity: 2%
 
bbond007's Avatar
 
Join Date: Mar 2009
Posts: 1,385
Default Re: Graphics program (like PPaint) that can save HAM to .c or .h file?

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
Attached Images
File Type: png BootLogo3.PNG (10.3 KB, 2 views)
Attached Files
File Type: zip BootPictureEHB.zip (57.3 KB, 1 views)
bbond007 is offline   Reply With Quote
Reply

Bookmarks

Tags
file , graphics , ham , ham save .c .h file , ppaint , program , save

Thread Tools
Display Modes

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