Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
Rle.exe   [2006]

Release Date :
8 June 2006

Type :
Other Platform C64 Tool

Proper release: Broken

User rating:awaiting 8 votes (6 left)   See votestatistics

Credits :
Code .... WVL of Slash Design, Xenon

Download :

Look for downloads on external sites:
 Pokefinder.org


User Comment
Submitted by Count Zero on 2 June 2020
Yieks - nice find KnightRider.
Using this for a while now and also had an issue with the depacker somehow when initially implementing it.
User Comment
Submitted by Knight Rider on 31 May 2020
See GOOFS
User Comment
Submitted by Compyx on 16 March 2007
Why did you write this in 'C++'? Apart from bool (easily changed to int or typedef'ed), variable declarations/definitions halfway and the use of //-style comments, there's nothing C++ in it.
Also consider adding a '\n' to you printf's, otherwise you get lines like these:
usage : rle [infile] [outfile]compyx@athlonbox:~/downloads/sources$

Also some error-checking regarding fputc() and fgetc() would be nice, not to mention ferror() checking when feof() returns true.

I think that's enough criticism for now, sorry ;-)
User Comment
Submitted by Stainless Steel on 16 March 2007
great work. works like a charm!
User Comment
Submitted by WVL on 10 June 2006
mirage : i'll check tomorrow and if i find the same i will update the download links :)

update :

okies, so Mirage was correct and i made a small mistake in the packer. On top of that, I also made another mistake which sometimes caused the packer to encode 1 more byte (so the resulting file after depacking becomes 1 byte bigger).

I removed both these bugs, and on top of that added a postfilter that tries to optimize the data for a little bit more depacking speed (filter tries to minimize jumps from the 2 depack loops without adding bytes)..

have fun :)

note that I replaced all 3 download links! even the depacker has a little (one opcode : inx) change.
User Comment
Submitted by Mirage on 9 June 2006
Something goes wrong when it finds a controlbyte with value #$80 (not sure if the problem is with source.cpp or derle.txt)
Can you fix that please so i can continue using it? :)

Edit: fixed it myself...
in source.cpp this line:
while(samebytes < 128 && !(data[counter] == data[counter+1] && data[counter+1] == data[counter+2]) && counter < bytes)
128 should be 127
User Comment
Submitted by WVL on 7 June 2006
I needed something that could depack my data FAST, and this is it. Depacker source can be compiled with 64tass. (feel free to change things as you like, this is only example code!)

to make things a bit clearer :

- rle.exe is the (win32) command-line executable. You can pack files with "rle.exe infile outfile"

- derle.txt is an example sourcecode (in 64tass/tass.exe/turbo assembler format) to unpack the files again.

- source.cpp is the sourcecode of rle.exe
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries
· User Comments (7)
· Production Notes
Fun Stuff
· Goofs (1)
· Hidden Parts
· Trivia
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.238 sec.