| |
Oswald
Registered: Apr 2002 Posts: 5028 |
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 ?:) |
|
... 74 posts hidden. Click here to view all posts.... |
| |
Sparta
Registered: Feb 2017 Posts: 40 |
SPOT 1.3
+--------------+--------------+
| spot1.3+dali | spot1.2+dali |
+--------------+--------------+
| 7332 | 7349 | (Untitled/Floris)
| 5136 | 5155 | (Song of the Sunset/Mermaid)
| 5968 | 5986 | (Short Circuit/Karen Davies)
+--------------+--------------+ |
| |
Burglar
Registered: Dec 2004 Posts: 1047 |
png2prg 1.7 dev version
+---------+--------+----------+------------+--------+
| spot1.3 | p2p1.7 | p2p1.7bf | p2p1.7best | p2p1.6 |
+---------+--------+----------+------------+--------+
| 7332 | 7373 | 7325 | bf | 7546 | (Untitled/Floris)
| 5136 | 5246 | 5206 | 5194 | 5464 | (Song of the Sunset/Mermaid)
| 5968 | 5983 | 5988 | 5983 | 6155 | (Short Circuit/Karen Davies)
| 3618 | 3691 | 3591 | bf | 3830 | (Portait L+D/Sander)
| 5094 | 5125 | 5109 | bf | 5320 | (Weee/Mermaid)
| 7497 | 7505 | 7475 | bf | 7612 | (Deadlock/Robin Levy)
| 8068 | 8130 | 8107 | 8087 | 8227 | (Room with a view/Veto)
+---------+--------+----------+------------+--------+
- all resulting koalas are packed with dali
- p2p1.7: default png2prg result w/o options
- p2p1.7bf: -brute-force mode
- p2p1.7best: hand-picked -bitpair-colors
- p2p1.6: default png2prg 1.6 result w/o options
NB: the ones where I beat spot were hard to find ;) |
| |
Sparta
Registered: Feb 2017 Posts: 40 |
Nice Burglar! :) I am looking forward to finding out more about your -brute-force mode (and the hand-picked -bitpair-colors). |
| |
Burglar
Registered: Dec 2004 Posts: 1047 |
Quoting SpartaNice Burglar! :) I am looking forward to finding out more about your -brute-force mode (and the hand-picked -bitpair-colors).
cheers :) it's pretty simple:
- iterate over all combinations of the 8 most used colors
- use them as forced/preferred bitpair colors
- crunch with tscrunch
- sort by size
The hand-picking comes from tscrunch being optimized for speed, not size. dali will crunch some bpc combinations better than tscrunch crunches them, so shortest can mean some other combination for either cruncher.
In -verbose mode I print the 10 best combinations based on tscrunched size, so I just try a few of those.
bruteforce code is here: https://github.com/staD020/png2prg/blob/master/bruteforce.go |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 - Next |