About
Docs
Files
Support
Index

Essentials
AutoDocs
Library functions
Cooperate
Process mastering
Debug
Own debugging kit
FGE
Smart modeid pick
Loader
Shared lib. loader
Macros
Helper macros
Structs
All the structures
Logs
Library changelogs
Tools
Progs baked inside

Tools
amiscreen0.3
ansifilter0.1
auto2guide0.1
ccfilter0.1
chipset0.1
cputype0.1
device640.1
dupfilter0.1
expandlogs0.1
findsm0.2
fmpp0.1
fsmount0.1
genanim0.3
gensymtab0.1
hashlab0.4
ktm0.6
linkpoint0.1
logo2ilbm0.1
lpradio0.1
lzwpack0.1
minism0.2
mkheader0.1
modeidctrl0.1
mss0.6
multisum0.3
newterm0.2
numconv0.1
palhack1.1
patmat0.1
pfr0.2
playamitape0.1
qdbflags0.1
qfill0.1
resmodinit0.2
sadctrl0.2
saveassign0.1
setanim0.2
systime0.1
tokendump0.1
uassign0.1
viewlogo0.1
waitback0.4
wrapmount0.1



G
E
N
A
N
I
M

genanim-0.3
------------

---

Wanna binary images?  Or even better,  wanna binary animations?  If so then
you are at the right address! With  'genanim'  these sort of  things are as
easy as saying: "Hey dude! I have got new animation dude!". OK, but what is
that binary graphics anyway? Hmm... it is exactly what it is, an executable
that  stores graphical data ;-) which can be  'LoadSeg()'ed  and after some
additional  processing  displayed. In  fact you do not  need to do anything
yourself since 'qdev'  function  'mem_loadpicture()' already  supports this
format!

---

NEWS:

   [19-Dec-2012]   0.3   * Main logo code references now headers instead of
                           doubling data.

   [29-Feb-2012]   0.2   * Data  organisation  has  changed. It is now much
                           simplier. Should stay this way.

---

NOTES:

[*]
Requires  68020(no FPU)+, OS2.04(theoretically)+,  64+ kilo of free memory.

[*]
If  you  need  to  duplicate N  frames in a row, then set desired number of
repetitions in the comment filed of that frame!

[*]
If you need to repeat distinct frame  then create a stub in a separate file
that references real frame. For example wanting to dupe 'frame001.h'  which
contains 'frame001'(symbol) you create  'frame001s.h'  and in that file you
put: '// struct Image frame001 = {};'. C++ style comment is necessary!

[*]
Use  'Personal Paint' to convert your image(s) to 'Intuition' image format.
In case of animations, please do not make it all by hand use ARexx scripts!
In  'misc/' directory you can find a script that will allow you to dump all
frames to separate files(pick  C header when saving,  pass 000 after object
name and dont forget to suffixize it with '.h').

[*]
Frame and cycle delays can be set in the binary with  'setanim' , so you do
not  need  to recompile each  time you require to adjust  "the right" frame
rate.

[*]
See  source code of this program for technical details. Especially read the
comment of it if you want to write your own loader.

---

HELP:

   > genanim ?

     BF=BATCHFILE/A,OF=OUTPUTFILE/A,FD=FRAMEDELAY/K,CD=CYCLEDELAY/K



   BF=BATCHFILE/A   -  File  that contains  all the  frames  in this  exact
                       order. Each file in new line.

   OF=OUTPUTFILE/A  -  Resulting C source code containing all stuff fetched
                       from the batch plus some control code.

   FD=FRAMEDELAY/K  -  Delay between  frames in micros. This can be ommited
                       so default value will be used.

   CD=CYCLEDELAY/K  -  Delay  after last frame. This can be ommited too, so
                       the delay will be of frame delay.

---

USAGE:

   ; See 'logos/' directory on how to prepare and stuff.

---
megacz
    














No more fear cus pure HTML is here!
Copyright (C) 2013-2014 by Burnt Chip Dominators