Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user lotus_skylight ! (Registered 2024-09-25) You are not logged in - nap
CSDb User Forums


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

Registered: Apr 2002
Posts: 5076
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 ?:)
 
... 80 posts hidden. Click here to view all posts....
 
2024-07-13 12:41
Burglar

Registered: Dec 2004
Posts: 1069
I just released png2prg 1.8, now includes -brute-force mode to often beat SPOT 1.3 in pack ratio :)
+---------+--------+----------+------------+--------+
| spot1.3 | p2p1.8 | p2p1.8bf | p2p1.8best | p2p1.6 |
+---------+--------+----------+------------+--------+
|    7332 |   7372 |     7332 |       7324 |   7546 | Untitled/Floris
|    5136 |   5190 |     5149 |         bf |   5464 | Song of the Sunset/Mermaid
|    5968 |   5998 |     5963 |         bf |   6155 | Short Circuit/Karen Davies
|    3618 |   3647 |     3616 |       3589 |   3830 | Portrait L+D/Sander
|    5094 |   5080 |     5083 |       5078 |   5320 | Weee/Mermaid
|    7497 |   7471 |     7458 |         bf |   7612 | Deadlock/Robin Levy
|    8068 |   8097 |     8046 |       8038 |   8227 | Room with a view/Veto
|    7445 |   7490 |     7432 |         bf |   7582 | Vangelis/Talent
|    6759 |   6739 |     6737 |         bf |   6963 | Temple of Tears/Hend
|    7859 |   7848 |     7839 |       7821 |   7998 | Thanos/JonEgg
|    4859 |   4849 |     4782 |         bf |   4983 | Solar-Sonar/Leon
|    5640 |   5671 |     5613 |         bf |   5869 | Cisco Heat/Alan Grier
|    6243 |   6286 |     6228 |         bf |   6430 | Daylight/Sulevi
|    2850 |   2884 |     2848 |         bf |   3092 | Yie Ar Kung Fu/Steve Wahid
|    6727 |   6721 |     6730 |       6711 |   6901 | Lee/The Sarge
|    7837 |   7828 |     7798 |         bf |   7960 | Parrot/Mirage
|    4559 |   4536 |     4494 |         bf |   4821 | Dragon's Lair
|    4275 |   4324 |     4292 |       4284 |   4519 | Scorpion/SIR'88
|    5562 |   5558 |     5506 |         bf |   5668 | Hatching/Joe
+---------+--------+----------+------------+--------+
|  113328 | 113589 |   112946 |     112853 | 116940 | Total
+---------+--------+----------+------------+--------+

- all resulting koalas are packed with dali
- p2p1.8: default png2prg result w/o options
- p2p1.8bf: -brute-force mode
- p2p1.8best: hand-picked -bitpair-colors, or bruteforced with -npcc and/or -nbc flags
- p2p1.6: default png2prg 1.6 result w/o options
2024-07-14 23:26
Sparta

Registered: Feb 2017
Posts: 42
Nice improvements Burglar! :)

SPOT 1.4 WIP with the same 19 pics and dali: 112867 bytes

No brute force or hand picking ;)
2024-07-15 02:33
Fungus

Registered: Sep 2002
Posts: 668
Hey Sparta can you change .scr to .scn because it's a reserved filename in windows.

Burg can you add a split output mode for bitmaps, both MCM and HIRES.

Thank you both, saving me countless hours of manual optimization.
2024-07-15 20:38
Burglar

Registered: Dec 2004
Posts: 1069
Quoting Fungus
Burg can you add a split output mode for bitmaps, both MCM and HIRES.
I'm not sure I want to support alternate outputs. especially when its a oneliner in a normal shell:
dd skip=2 count=8000 if=foo.prg of=foo.bin bs=1
dd skip=8002 count=1000 if=foo.prg of=foo.scn bs=1
dd skip=9002 count=1000 if=foo.prg of=foo.col bs=1
2024-07-15 20:41
Burglar

Registered: Dec 2004
Posts: 1069
Quoting Sparta
SPOT 1.4 WIP with the same 19 pics and dali: 112867 bytes
damn, but dont worry, I still have some tricks up my sleeve :)

looking forward to running a new benchmark myself :)
2024-07-15 22:49
Fungus

Registered: Sep 2002
Posts: 668
I dealt with it in 64tass, still koala format is not very useful :)
2024-07-16 11:53
Jetboy

Registered: Jul 2006
Posts: 269
Quote: I dealt with it in 64tass, still koala format is not very useful :)

I find it useful enough :) But seriously, how is koala format not useful for you?
2024-07-16 15:01
Fungus

Registered: Sep 2002
Posts: 668
Waste of memory to have to move things around into usable locations.
2024-07-17 01:47
Raistlin

Registered: Mar 2007
Posts: 625
Quote: Waste of memory to have to move things around into usable locations.

When the Koala data is linked, it should be done in 2 or more chunks so that this moving/copying data isn’t needed.
2024-07-17 03:08
Fungus

Registered: Sep 2002
Posts: 668
Yeah I tend to put the color map at $0800, the color memory at $0c00, the bitmap at $2000 and the code at $1000 so all I have to copy is the color memory and the maximum space is available for linking after it.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 - 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
CA$H/TRiAD
Fungus/Nostalgia
Airwolf/F4CG
Peiselulli/tRSi
psenough
Exploding Fi../Techn..
Guests online: 138
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Morph  (9.5)
8 Dawnfall V1.1  (9.5)
9 Onscreen 5k  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.2)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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