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 Coding > Packing anno 2015
2015-12-22 08:24
Trap

Registered: Jul 2010
Posts: 222
Packing anno 2015

Hi guys,

It's been a few days since I wrote Sledgehammer 2 and I am pretty sure the scene has evolved somewhat since then. So, I wonder what's the latest and greatest in terms of packers? Specifically I am looking for a solution I can use to pack/unpack parts of memory. Not loading - just in-memory.

In this wonderful open-source world I think sharing is caring and there really is no reason to write a packer/depacker myself if somebody else already did :)

cheers and a merry Christmas!

Trap
 
... 5 posts hidden. Click here to view all posts....
 
2015-12-22 18:15
Burglar

Registered: Dec 2004
Posts: 1031
cresh's stuff seems quite useful, when you're making a onefiled demo. if your stuff is going to get bigger and you want to load stuff fast, check out Spindle 2.1, Bitfire 0.4 and Krill's Loader, repository version 146. crunching is built in in each.

when choosing crunchers, exomizer yields best result, but also depacks the slowest by far.

also, quite a lot of info in this thread: Release id #139503 : Spindle 2.0
2015-12-22 19:02
Trap

Registered: Jul 2010
Posts: 222
Yes, I'm already using Spindle - lightyears ahead of the competition. So easy to use, which is a good thing for an old confused man like me :)

Thanks for all your kind responses fellow 8-bit aficionados.

/Trap
2015-12-23 18:55
Bitbreaker

Registered: Oct 2002
Posts: 500
Spindle is already loading and on the fly depacking with lz in any case. But other depackers yield better results in size, not necessarily in speed however. Did i just state somewhen, that it is great to have loadraw with later depack capabilities? Didn't spindle have also the enhanced linking that allows to load data whenever possible beforehand by keeping track of the used memory?
2016-01-02 10:45
Martin Piper

Registered: Nov 2007
Posts: 634
Depends if you're after packers that are native only, or cross platform tools. I think someone posted a comparison table here recently?
2016-01-02 11:43
Oswald

Registered: Apr 2002
Posts: 5017
Trap, your best bet is depack WHILE loading, because it uses up the idle times in loading for maximum effect.
2016-01-02 12:39
Bitbreaker

Registered: Oct 2002
Posts: 500
exactly, roughly as a rule of thumb around a third faster, but depending on loader/depacker combo.
2016-01-02 13:31
ChristopherJam

Registered: Aug 2004
Posts: 1378
It really depends on your requirements. Single file demo compo and parallel depacking's not an option; same with pulling data off a cartridge.

Must admit though, even for a single file I could have done with Spindle's level of automation when I was putting Reutastic together; spent a while chasing a bug because I'd run some init code for the second page before I'd decrunched the data it required. (As it happens I used Nucrunch because I had the source to hand, but last time there was a comparison post it lagged a little behind the competition)
2016-01-09 18:29
Trap

Registered: Jul 2010
Posts: 222
Now I'm using the Exomizer in the plugin for KickAss. Works great.

However, when I crunch a section in memory. The crunched data is located at its destination address already. How can I decrunch data at a different destination address?
2016-01-09 19:10
TheRyk

Registered: Mar 2009
Posts: 2062
It's possible, for expample
exomizer sfx $XXXX foo-in.prg -o foo-out.prg -n -Di_load_addr=$YYYY


will decrunch your data to $YYYY which is also the address you jump to for decrunching. After decrunching it will jump to $XXXX

See here for more Info:
https://www.c64-wiki.de/index.php/Exomizer
German, but code is code and I guess you as a Dane will get the message :)
2016-01-09 20:44
Trap

Registered: Jul 2010
Posts: 222
Thanks Ryk. sfx was the wonderbutton I was looking for. I hadn't thought that I could just use the commandline cruncher to prepack the files :)
Previous - 1 | 2 - 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
rexbeng
Apollyon/ALD
Acidchild/Padua
Sentinel/Excess/TREX
Twilight/Excess/Arcade
Martin Piper
serato/Finnish Gold
Krill/Plush
Guests online: 123
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 Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

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