I've already done the ffmpeg frame trick. Busy trying to find a program that will make the FRAMES into an FLI file.
Be interesting to see how well it's encodes as a FLI.
(I've been busy brushing up on C in prepartion for writing FLIPLAY
Bad Apple as FLI (Autodesk Animator) file.
- ahenry3068
- Posts: 1195
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Bad Apple
I am interested to see how well it Plays as an FLI with optimized code.
It would be almost double the resolution of your code
: )
Really what I'm going for is a general purpose FLI player.
But your Apple.PRG gives me a really good baseline
for what I might accomplish.
It would be almost double the resolution of your code
![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Really what I'm going for is a general purpose FLI player.
But your Apple.PRG gives me a really good baseline
for what I might accomplish.
- ahenry3068
- Posts: 1195
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Bad Apple
The FLI specification can only encode only Changes between frames.
While observing Badapple I think that can work greatly to the advantage of
a FLI player. I still haven't got code to encode it.
I have a copy of Autodesk Animator, but it won't run on DOS BOX.
I recently acquired a system I'm going to install FREEDOS on but I
got the system sans HDD. I've ordered a New(OLD STOCK) 360 gb
IDE HDD for it. and 1 additional GB of RAM (its currently 512 mb)
(The computer I got is a 3.2 ghz P4 (single core) it was on the cusp of
SATA and IDE.... It has IDE. It also take DDR Ram (not DDR2,DDR3 or DDR4)
(the RAM is a pity as I have 8gb of DDR4 sitting in a drawer unused)
ffmpeg got the frames out quite well, but I need to turn them into a FLI
While observing Badapple I think that can work greatly to the advantage of
a FLI player. I still haven't got code to encode it.
I have a copy of Autodesk Animator, but it won't run on DOS BOX.
I recently acquired a system I'm going to install FREEDOS on but I
got the system sans HDD. I've ordered a New(OLD STOCK) 360 gb
IDE HDD for it. and 1 additional GB of RAM (its currently 512 mb)
(The computer I got is a 3.2 ghz P4 (single core) it was on the cusp of
SATA and IDE.... It has IDE. It also take DDR Ram (not DDR2,DDR3 or DDR4)
(the RAM is a pity as I have 8gb of DDR4 sitting in a drawer unused)
ffmpeg got the frames out quite well, but I need to turn them into a FLI
- ahenry3068
- Posts: 1195
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Bad Apple
Well I have an extremely contrived solution until I get the Hard Drive for the Old P4 I picked up and see
if I can get autodesk animator running under FreeDOS. I'm waiting for a USB Floppy to make the disk.imgs
for Autodesk Animator, Then the P4 has an A: drive (hope it works)..
For now I've got an Atari ST program that transforms a list of GIF'S into an FLI and I've install hatari on linux
just to run it... I can't believe I haven't found another tool in windows or linux to generate FLI files
though VLC plays them just fine.
AND I got ffmpeg to output a directory full on PNG's but when I tried GIF it went and generated an animated GIF..
Hope I don't have to convert >3000 png files to GIF one by one.
if I can get autodesk animator running under FreeDOS. I'm waiting for a USB Floppy to make the disk.imgs
for Autodesk Animator, Then the P4 has an A: drive (hope it works)..
For now I've got an Atari ST program that transforms a list of GIF'S into an FLI and I've install hatari on linux
just to run it... I can't believe I haven't found another tool in windows or linux to generate FLI files
though VLC plays them just fine.
AND I got ffmpeg to output a directory full on PNG's but when I tried GIF it went and generated an animated GIF..
Hope I don't have to convert >3000 png files to GIF one by one.
- desertfish
- Posts: 1123
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Re: Bad Apple
if ffmpeg insists on making a movie from your separate frame files, consider using something like "convert" from the ImageMagick tools instead.
- ahenry3068
- Posts: 1195
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Bad Apple
I found a tool called xnconvert that does the job ok..
The Atari gif2fli program I haven't got to work properly yet. Guess
I'm going to have to wait, until I get all the stuff I still need to make 3.5 floppy disks and get my
FreeDOS system complete. I've got a copy of Autodesk Animator, just can't install
it yet.
The Atari gif2fli program I haven't got to work properly yet. Guess
I'm going to have to wait, until I get all the stuff I still need to make 3.5 floppy disks and get my
FreeDOS system complete. I've got a copy of Autodesk Animator, just can't install
it yet.
- ahenry3068
- Posts: 1195
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Bad Apple
When I do get the FLI player written I've got to have a BadApple.FLI
![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- ahenry3068
- Posts: 1195
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Bad Apple
In my research I did stumble onto a source code archive for an Old Unix/Linux fli player called xanim.
Nobody seems to have a current binary archive. And make fails on the source code. (Looking for an Xos.h
that I can't seem to find even though I did install the X headers it asked for. Probably a versioning problem,
the code is quite old.) It's not a complete bust though. It has a fli.h & fli.c file that are probably
80% of what I need to start this project on CC65
CORRECTION TO MY EARLIER POST. THEIR ARE BINARY DEBS OF XANIM BUT NONE FOR X64
Nobody seems to have a current binary archive. And make fails on the source code. (Looking for an Xos.h
that I can't seem to find even though I did install the X headers it asked for. Probably a versioning problem,
the code is quite old.) It's not a complete bust though. It has a fli.h & fli.c file that are probably
80% of what I need to start this project on CC65
CORRECTION TO MY EARLIER POST. THEIR ARE BINARY DEBS OF XANIM BUT NONE FOR X64
Last edited by ahenry3068 on Sun Jul 09, 2023 2:10 pm, edited 1 time in total.
- ahenry3068
- Posts: 1195
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Bad Apple
Did an experiment. Found the full badapple on Youtube and extracted a .WAV file using ffmpeg.
Loaded two instances of the emulator. Copied the .WAV file to the STREAM-WAV directory.
Loaded APPLE.PRG in the other instance. Did my best to start both at the same time.
The timing is actually good. Ended within .5 seconds of each other.
Loaded two instances of the emulator. Copied the .WAV file to the STREAM-WAV directory.
Loaded APPLE.PRG in the other instance. Did my best to start both at the same time.
The timing is actually good. Ended within .5 seconds of each other.
- ahenry3068
- Posts: 1195
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Bad Apple
I did make the promise to finish all my desired features in LIFE.BAS
& HANGMAN.BAS before I start the FLI Player project.
Made good progress on LIFE.BAS today.
& HANGMAN.BAS before I start the FLI Player project.
Made good progress on LIFE.BAS today.