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: 223
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: 1101
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: 223
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: 508
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: 722
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: 5094
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: 508
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: 1409
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: 223
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: 2244
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: 223
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
algorithm
CopAss/Leader
Mr. Commodore/UCF/Un..
Bitbreaker/Performers
csabanw
Chesser/Blazon
Sychamis
Isildur/Samar
Holy Moses/Role
Guests online: 116
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

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