Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Pixeling > koala otpimizing
2007-03-08 02:41
Oswald

Registered: Apr 2002
Posts: 5017
koala otpimizing

Hi Everyone,

I know there's a c64 tool out there that helps with optimizing koala pictures for packing, but no idea what it is called. Anyone knows?:) Timanthes would do the job for me aswell with its nibble swapper tool, but is there a way to load/save a native c64 koala format picture with it ? *.prg doesnt works, what format does it expect to be .prg anyway ?:)
 
... 64 posts hidden. Click here to view all posts....
 
2024-04-06 10:00
Oswald

Registered: Apr 2002
Posts: 5017
I'm coming here for the 4th time, checked CJ's release also a few times, am I the only one not finding the info on what is the compression scheme in there ? :)
2024-04-06 10:31
ChristopherJam

Registered: Aug 2004
Posts: 1378
I just left a comment on the release with a rough outline.
2024-04-06 13:14
Fungus

Registered: Sep 2002
Posts: 616
Quote: Quoting Sparta
SPOT doesn’t change the cleanliness of the koala and outputs standard koala but it can also create other formats such as the combined color RAM nibbles if that fits one’s needs better. :)

Yea, just tested myself as well and indeed, I was just hoping combined nibbles would be the main reason why I'm trailing behind :)

Quoting Fungus
pico 1.3+dali = 5980

Fungus Handiwork Wins! \o/


Actually that one was S!R handywork.
2024-04-06 13:19
ChristopherJam

Registered: Aug 2004
Posts: 1378
Quote:
the second best option after putting a FungusS!R in every home
2024-04-08 10:09
Oswald

Registered: Apr 2002
Posts: 5017
Quote: I just left a comment on the release with a rough outline.

thanks:)
2024-04-08 18:19
Sparta

Registered: Feb 2017
Posts: 38
SPOT 1.3 WIP + Dali:
Untitled/Floris:            7343
Song of the Sunset/Mermaid: 5145
Short Circuit/Karen Davies: 5974

The total gain is 28 bytes. Not a lot, but at least it beats S!R's handywork. ;P
2024-04-09 15:19
ThunderBlade

Registered: Jan 2002
Posts: 75
Can you add some info on what SPOT actually does to achieve its great results? Or is there a general article about C64 multicolor optimizing?
2024-04-09 21:34
Fungus

Registered: Sep 2002
Posts: 616
I don't know of any article, but my work flow is to remove unused bits and colors. Then sort most used colors into the color memory and then try to get the rest of the colors into the other map and then fill the unused with colors to create the longest runs I can.

It might be better to optimize for the longest bitpair runs, but I don't know how you would go about such a thing because of how the bitmap is laid out, perhaps that is what cjam is doing.

People often forget to and the color memory with #$0f.
2024-04-10 05:51
Sparta

Registered: Feb 2017
Posts: 38
Assuming that people typically use LZ-based compression (except CJam, of course), Koala optimization boils down to the bin packing problem. SPOT rearranges the colors using something that is probably best described as a best-fit-decreasing algorithm. I have a few more optimization steps but as it turns out they still need some fine tuning as they only work in select cases. E.g. I got Mermaid’s pic down to 5137 bytes with Dali but the other two got worse.
2024-04-10 11:53
Fungus

Registered: Sep 2002
Posts: 616
I suppose you could do some kind of statistical analysis of equal sequences over equal bytes of a given length and try to optimize for that. I would think repeating bytes of 8 would give better results than runs in the color map, if that's possible to do.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Mike
Acidchild/Padua
Mason/Unicess
Didi/Laxity
kbs/Pht/Lxt
chesser/Nigaz
Xiny6581/Dees Produc..
Marco/DDM
syntaxerror
TheEnemy/TREX/THD
Guests online: 152
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 S!R  (9.9)
3 Antitrack  (9.8)
4 Mr Zero Page  (9.8)
5 OTD  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.049 sec.