MI-3: Image format converter and slideshow
Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
- lp
- Fuji Shaped Bastard
- Posts: 2550
- Joined: Wed Nov 12, 2003 11:09 pm
- Location: GFA Headquarters
- Contact:
Re: picture format converter
The requirements for zView are here: http://the.zorro.free.fr/zview.html
If you are referring to the last 248 bytes of an Art Director image file, I have no idea. zVeiw does not support color cycling, so the codec simply ignores it.
If you are referring to the last 248 bytes of an Art Director image file, I have no idea. zVeiw does not support color cycling, so the codec simply ignores it.
- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
Hi.rockyone wrote:Format I created for this game http://www.atari-forum.com/viewtopic.php?f=3&t=20361lp wrote:Can someone tell me what drawing program creates mi1, mi2, and mi3 files?
change the header of the current format. "$FFFF" serat:" $FFF0" or "$FFF1" or "$FFF2" according to the image resolution
This will support CONVERTER former Mi1 ( After leave )
would you like to share your picture format, then i could add it to my drawing / viewer program?
Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

- lp
- Fuji Shaped Bastard
- Posts: 2550
- Joined: Wed Nov 12, 2003 11:09 pm
- Location: GFA Headquarters
- Contact:
Re: picture format converter
Just download the Serpent disk image, the information needed to load the images is in the *.bas file and asm listing. I modified the assembler slightly to compile with PureC. 

- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
Hilp wrote:Just download the Serpent disk image, the information needed to load the images is in the *.bas file and asm listing. I modified the assembler slightly to compile with PureC.
and thx

but there are a couple of problems using the code,
first i would like to know if it is ok to add it to my program,
next i have not see any basic code the last 25 years, so i probably would need some time find out how it work,
also i don't know which basic program i need to use, and if i find out then i don't have the program.
i had a look in the Asm code, and all the comment was in France, which i don't understand any thing of.
so it would just be so much easier if he had the header and the format writing down.
then i should have no problem making my own loader / saver.
Last edited by FedePede04 on Sun Aug 09, 2015 11:01 pm, edited 1 time in total.
Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
btw i just found out that one of the medium sample picture you are using, is actual my graphic for YMT player



Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

- lp
- Fuji Shaped Bastard
- Posts: 2550
- Joined: Wed Nov 12, 2003 11:09 pm
- Location: GFA Headquarters
- Contact:
Re: picture format converter
I don't think he would of put all the sources on the disk image if it was not to be used.FedePede04 wrote: Hi
and thx
but there are a couple of problems using the code,
first i would like to know if it is ok to add it to my program,
next i have not see any basic code the last 25 years, so i probably would need some time find out how it work,
also i don't know which basic program i need to use, and if i find out then i don't have the program.
i had a look in the Asm code, and all the comment was in France, which i don't understand any thing of.
so it would just be so much easier if he had the header and the format writing down.
then i should have no problem making my own loader / saver.

I can tell you the header at least:
1 word -> resolution flag, $FFFF is older format I assume, $FFF0=low, $FFF1=medium, $FFF2=high
32 words -> 16 color palette in xbios(7) format
compressed image data follows, always starts at offset 34 (I used op_mi1_2.s to decode it)
With the resolution flag, I did this, so it would load all files:
Code: Select all
' read a word, call it id
if id=$FFFF
rez = last digit of the file extender
else
rez = id and $FF
endif
Re: picture format converter
for FedePede04
Mi1 English
:http://www.mirari.fr/gwwu
I still do not have to change the backup header ( $FFF0=low, $FFF1=medium, $FFF2=high )
Mi1 English

I still do not have to change the backup header ( $FFF0=low, $FFF1=medium, $FFF2=high )
Last edited by rockyone on Fri Aug 14, 2015 7:15 pm, edited 3 times in total.
Re: picture format converter
Me, which one?FedePede04 wrote:btw i just found out that one of the medium sample picture you are using, is actual my graphic for YMT player![]()
- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
thx again and thx for explain the headerlp wrote:I don't think he would of put all the sources on the disk image if it was not to be used.FedePede04 wrote: Hi
and thx
but there are a couple of problems using the code,
first i would like to know if it is ok to add it to my program,
next i have not see any basic code the last 25 years, so i probably would need some time find out how it work,
also i don't know which basic program i need to use, and if i find out then i don't have the program.
i had a look in the Asm code, and all the comment was in France, which i don't understand any thing of.
so it would just be so much easier if he had the header and the format writing down.
then i should have no problem making my own loader / saver.![]()
I can tell you the header at least:
1 word -> resolution flag, $FFFF is older format I assume, $FFF0=low, $FFF1=medium, $FFF2=high
32 words -> 16 color palette in xbios(7) format
compressed image data follows, always starts at offset 34 (I used op_mi1_2.s to decode it)
With the resolution flag, I did this, so it would load all files:I can't read any French and omikron looks rather weird to us GFA users, but I managed. What language are you using? If it's 'C' I can provide a PureC listing.Code: Select all
' read a word, call it id if id=$FFFF rez = last digit of the file extender else rez = id and $FF endif

in the beginning when i had my ST, i did use GFA, but i did not take long before i went over and use only ASM.
On the PC, i code in Pascals(Delphie) and Asm.
Last edited by FedePede04 on Mon Aug 10, 2015 4:37 am, edited 1 time in total.
Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
thx for the English version, i will try to add it to my programs. i just need to make a sprite Animate routine finish first.
the file is TEMP_FON.PC2 i made the graphic for a player that could play project-ymer score on the ST, but i stop after i had made the GUI, later on i reuse the GFX and the GUI to make my YMT-Player instead for.
http://demozoo.org/productions/136445/
the file is TEMP_FON.PC2 i made the graphic for a player that could play project-ymer score on the ST, but i stop after i had made the GUI, later on i reuse the GFX and the GUI to make my YMT-Player instead for.
http://demozoo.org/productions/136445/
Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

Re: picture format converter
bug
Last edited by rockyone on Mon Aug 10, 2015 9:26 am, edited 1 time in total.
Re: picture format converter
yes you can use the code in the time you want itFedePede04 wrote:
Hi
and thx
but there are a couple of problems using the code,
first i would like to know if it is ok to add it to my program,
next i have not see any basic code the last 25 years, so i probably would need some time find out how it work,
also i don't know which basic program i need to use, and if i find out then i don't have the program.
i had a look in the Asm code, and all the comment was in France, which i don't understand any thing of.
so it would just be so much easier if he had the header and the format writing down.
then i should have no problem making my own loader / saver.
I use
- Omikron v3.03, its compiler and sometimes the compiler to version 3.06. but he does not like the mix of graphics function omikron and direct GEM.
- Devpac 2 and 3 for the assembler
- Sometimes the GFA to watch sources
Omikron is available here http://www.mirari.fr/file/browse?f=578&u=506
YMT player, I had forgotten or had this image
- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
hi
thx lp and rockeyone, i have manage to add it for my viewer, now i just have to do save, and also add it for ST-Paint
thx lp and rockeyone, i have manage to add it for my viewer, now i just have to do save, and also add it for ST-Paint

You do not have the required permissions to view the files attached to this post.
Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

Re: picture format converter
Good.
This is an image of "Art Director".
It has a color cycle
I like the simplicity of construction of the color cycle Artdirector
8 color palettes, and a display time possible for differing color palettes.
This is the simplest and the first that I emulate
Tny are easy too, "neo" and "degas" after the holidays
I have not managed to create a picture with color rotation with "Néochrome" ca me may seem complicated without reading the doc
This is an image of "Art Director".
It has a color cycle
I like the simplicity of construction of the color cycle Artdirector
8 color palettes, and a display time possible for differing color palettes.
This is the simplest and the first that I emulate
Tny are easy too, "neo" and "degas" after the holidays
I have not managed to create a picture with color rotation with "Néochrome" ca me may seem complicated without reading the doc

- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
i have both done Neo and Degas color cycles, i will try and look in my code and describe here how it work,rockyone wrote:Good.
This is an image of "Art Director".
It has a color cycle
I like the simplicity of construction of the color cycle Artdirector
8 color palettes, and a display time possible for differing color palettes.
This is the simplest and the first that I emulate
Tny are easy too, "neo" and "degas" after the holidays
I have not managed to create a picture with color rotation with "Néochrome" ca me may seem complicated without reading the doc
as i remember Neo color cycles was not so hard, but Degas was a hard nut to cr..k

i am not home at the moment so it will probably first be tomorrow that i have the time to do it.
Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
Hi
I just had a look in my code and what a mess it is, so it will take a little longer before i can post my color cycle routine here.
just a Suggestion why don't you use the first byte in your header as a version no.
then it would much easier if you expand the header.
I just had a look in my code and what a mess it is, so it will take a little longer before i can post my color cycle routine here.
just a Suggestion why don't you use the first byte in your header as a version no.
then it would much easier if you expand the header.
Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

Re: picture format converter
[quotejust a Suggestion why don't you use the first byte in your header as a version no.
then it would much easier if you expand the header.][/quote]
I did not understand very well
my English is google translator
then it would much easier if you expand the header.][/quote]
I did not understand very well
my English is google translator

- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
I did not understand very wellrockyone wrote:[quotejust a Suggestion why don't you use the first byte in your header as a version no.
then it would much easier if you expand the header.]
my English is google translator

yes we have a problem, when English are not our native language. google translate is also my friend

ok i will try to explain it a little better, in honor of google translate.
let say that a couple a months from now you decide to have color cycle in your format.
then zView and my Viewer would not working with your pictures any more, because you have to change the header to have the color cycle informations. and if you again change your format to have a custom width / height, then you have to change the picture header again.
by adding a format byte, then we would know, if our viewer can show this picture or not,
so that the Viewer don't crash
Examples:
current format
byte 00 picture format : $ff current format
byte 01 picture resolutions : $00 - $02
word 02-33 palette functions : color values;
34 - Eof : Data array for picture
example 1:
byte 00 picture format : $fe format that allow color cycle
byte 01 picture resolutions : $00 - $02
word 02-33 palette functions : color values;
byte 34 : 4 highest bit color cycle present : lowest 4 bit cycling on - off
byte 35 : 4 highest bit left /begin color for color cycling : lowest 4 bit : Right / End cycling color.
byte 36 : Cycling direction : $00 Left color cycling : $01 Right color cycling
byte 37 : Color Cycling Speed
38 - Eof : Data array for picture
example 2:
byte 00 picture format : $fd format that allow color cycle - custom width / height
byte 01 picture resolutions : $00 - $02
word 02-33 palette functions : color values;
byte 34 : 4 highest bit color cycle present : lowest 4 bit cycling on - off
byte 35 : 4 highest bit left /begin color for color cycling : lowest 4 bit : Right / End cycling color.
byte 36 : Cycling direction : $00 Left color cycling : $01 Right color cycling
byte 37 : Color Cycling Speed
word 38 : Custom Width
word 40 : Custom Height
42 - Eof : Data array for picture
and so on

i hope that it will give you an idea of what i mean

Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

Re: picture format converter
oh yes, I will certainly change the size MI1:
-include The control word numbers to reduce unnecessary bytes.
-and certainly a color rotation.
But right now, I'm enjoying the little sunlight that it is in Normandy
-include The control word numbers to reduce unnecessary bytes.
-and certainly a color rotation.
But right now, I'm enjoying the little sunlight that it is in Normandy

Re: picture format converter
Code: Select all
FedePede04: btw i think that you can, run into problems converting Degas colors cycling picture, into Neo colors cycling picture.
Degas have 4 colors animators where Neo only have one.
But the images have a color cycle, the conversion is posible.
I played with Degas Elite, but my favorite remains Synthetic Art 3,.
For color ring, when we know, no need to Degas
He played well animation and compress the image without losing ..
http://www.mirari.fr/DWX0
in St-Paint it disappears, Colors sometimes

Last edited by rockyone on Fri Aug 21, 2015 4:56 pm, edited 1 time in total.
- FedePede04
- Atari God
- Posts: 1215
- Joined: Fri Feb 04, 2011 12:14 am
- Location: Denmark
- Contact:
Re: picture format converter
you had me scared for a momentrockyone wrote: in St-Paint it disappears, Colors sometimes

i just tested the same picture using Degas Elite, and it does the same thing

but i did found the problem, Number 2 right color animation is out of range, there is $0f in it.
"00001200 B1 00 00 00 00 01 00 02 00 03 00 00 00 0F 00 02 ±...............
Atari will rule the world, long after man has disappeared
sometime my English is a little weird, Google translate is my best friend
sometime my English is a little weird, Google translate is my best friend

Re: picture format converter
80010AAA0F0000F0000F0E3303E3033E0C6606C6066C0B8808B8088B0AAA0AAA0AAA me and degas eliteMe : He played well animation and compress the image without losing ..(Degas)
00010AAA0F0000F0000F00000000000000000000000000000000000000000000000000 ST_PAINT
no gain space ?
that's why I had changed the colors especially for ST_Paint

Last edited by rockyone on Thu Aug 20, 2015 10:55 pm, edited 1 time in total.
Re: picture format converter
it seems possible to make a color cycle DALÍ.
without documents, I do not know.
do you have information or pictures to give me ?
I would not be surprised that it is identical to "NEO"
color conversion cycle "TNY" and "Neo" to "Degas" finished
postscript: no new version of the current converter
without documents, I do not know.
do you have information or pictures to give me ?
I would not be surprised that it is identical to "NEO"
color conversion cycle "TNY" and "Neo" to "Degas" finished
postscript: no new version of the current converter
Re: picture format converter
Oh yes, I know why.FedePede04: Number 2 right color animation is out of range

I replace the image

Re: picture format converter
Code: Select all
FedePede04 wrote:
ok i will try to explain it a little better, in honor of google translate.
let say that a couple a months from now you decide to have color cycle in your format.
then zView and my Viewer would not working with your pictures any more, because you have to change the header to have the color cycle informations. and if you again change your format to have a custom width / height, then you have to change the picture header again.
by adding a format byte, then we would know, if our viewer can show this picture or not,
so that the Viewer don't crash
1 word header: $ffff reading always supported
becomes: $ffff to $ffb2
$0 to $2 for the resolution
$f to "$b : number of saved cycle. 0 to 4
........first color cycle (if used)
1 byte: color - identical Neo and Tny -
High 4 bits: color left
low 4 bits: color right
1 byte: direction and speed
High 4 bits: direction 0,1,2 - identical DEgas Elite
low 4 bits: speed 0 à 128 identical Degas Elite

........second color cycle (if used)
........third color cycle (if used)
........fourth color cycle (if used)
1 word number itération for use in slide shows identical Tny and Neo
Following are unchanged
* colors cycles are saved (on or off) only if the values are consistent
Custom width and height, what use?
Not taking into account thank you
Last edited by rockyone on Thu Sep 10, 2015 1:53 pm, edited 2 times in total.