Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 21:27:13 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2   Go Down
  Print  
Author Topic: [Axiom] Pucrunch Decompression and tools -  (Read 1928 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Iambian
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 14:52:06
Date Registered: 04 September, 2008, 20:12:14
Location: Nowhere in particular
Posts: 636


Topic starter
Total Post Ratings: +167

View Profile
« on: 28 March, 2011, 18:20:55 »
+7

Just to say. I'm in love with the idea of using pucrunch for just about everything that could be compressed. Bitmaps, tilemaps, text, it mattered not. I use it for just about everything. After messing around with it in CaDan and E:SoR, and after writing the Athena installer, I figured I might as well write an Axiom to do the decompression as well.

So here we have it. Something that decompresses pucrunch-compressed data. Useful for large games with tons of data files.

Contains two versions of the pucrunch decompressor, one for use in RAM and one for use as a Flash Application (Axe will automatically select the correct version).

Contains tools that you can use on the PC side of things to compress and package what you want.

* DecompAx01.zip (124.54 KB - downloaded 107 times.)
Logged

A Cherry-Flavored Iambian draws near... what do you do? ...
Projects in my development environment:
Celtic 3 (83+) 95% (Hold) | CaDan (83+) 15% (Rst) | E:SoR (84+) 10% (Rst) | CaDanITE (83+) 4% (Hold) | FF:TIoC (83+) 2% (Data)
Ikkerens
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 10 April, 2013, 19:11:45
Date Registered: 12 June, 2010, 13:23:23
Location: Below a falling block.
Posts: 379


Total Post Ratings: +19

View Profile WWW
« Reply #1 on: 28 March, 2011, 18:37:11 »
0

I might be an enormous noob, but could you also provide a link to the compressor of Pucrunch (I have never heard of Pucrunch)
Cause this sounds quite interesting to me, but a link would be greatly appreciated Wink
Logged


Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...
Iambian
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 14:52:06
Date Registered: 04 September, 2008, 20:12:14
Location: Nowhere in particular
Posts: 636


Topic starter
Total Post Ratings: +167

View Profile
« Reply #2 on: 28 March, 2011, 18:40:34 »
0

I might be an enormous noob, but could you also provide a link to the compressor of Pucrunch (I have never heard of Pucrunch)
Cause this sounds quite interesting to me, but a link would be greatly appreciated Wink
It's in the archive.
DecompAx\pc\pucrunch.exe
Instructions are in the IgnoreMe.txt file.

Details regarding pucrunch can be found here: http://www.cs.tut.fi/~albert/Dev/pucrunch/
« Last Edit: 28 March, 2011, 18:41:19 by Iambian » Logged

A Cherry-Flavored Iambian draws near... what do you do? ...
Projects in my development environment:
Celtic 3 (83+) 95% (Hold) | CaDan (83+) 15% (Rst) | E:SoR (84+) 10% (Rst) | CaDanITE (83+) 4% (Hold) | FF:TIoC (83+) 2% (Data)
squidgetx
Food.
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 05:48:06
Date Registered: 30 May, 2010, 19:54:18
Location: eating somewhere
Posts: 1834


Total Post Ratings: +477

View Profile
« Reply #3 on: 28 March, 2011, 21:11:07 »
0

Nice, now I don't have to write my own routines for compression...

Just have to wait for Quigibo to reimplement big-endian nibble reads...
« Last Edit: 28 March, 2011, 21:11:21 by squidgetx » Logged

Read my webcomic! | My SoundCloud
Projects:

Check out the demo now!- Current progress: battle engine and stuff
Proud author of: Cuberunner | SpaceDash | The Psyche | XXEdit | AxeSynth | StickNinja | Gravity Guy | Embers:Phoenix | Zombie Gun
Axe: Need help optimizing?
User of Axe | zStart | TokenIDE | CalcGS | MirageOS
Fast Crash
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 September, 2012, 22:28:07
Date Registered: 18 December, 2010, 16:36:07
Location: France
Posts: 192


Total Post Ratings: +39

View Profile
« Reply #4 on: 28 March, 2011, 21:33:09 »
0

Could you put a way to compress with pucrunch in your Axiom ?
Logged
Iambian
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 14:52:06
Date Registered: 04 September, 2008, 20:12:14
Location: Nowhere in particular
Posts: 636


Topic starter
Total Post Ratings: +167

View Profile
« Reply #5 on: 28 March, 2011, 23:38:06 »
0

Quote from: pudecomp/ReadMe.txt
Q: When will you write a Pucrunch compression Axiom?
A: Short answer: I will not.
   Seriously. Decompression is worlds easier than compression. I'm *SO* not
   gonna write a compressor. And even if I do, it wouldn't do very well to
   make an Axiom out of it. In all seriousness, it would have to be a
   stand-alone utility. If you could just bone up on the theories used in
   the making of pucrunch (just Google that name), you'd find out all the
   information you could ever need. And once you find it out...
   You ought to understand why I don't want to write it...
   And DJ_O will be screaming at my as to why E:SoR isn't being updated.
It was already answered in the ReadME, but I understand the fact that many people might not even download the file and read it unless they're convinced that it's the right thing for them. Still, it was hard enough modifying the pucrunch decompresser to work as an Axiom. On the idea of compressors, there's probably a reason why the compressor is written in C (not assembly of any sort). If you could point me to a good C to Z80 cross-compiler, I might consider it only for writing a standalone compressor. If you tried to use it as an Axiom, I will guarantee you. The Axiom will end up eating more space than anything you could possibly code up.

Now... if I wanted a good exercise, I might just write a standalone compressor in Z80 ASM anyway. If DJ_O starts asking why E:SoR isn't getting anyone done, I'll start blaming everyone involved. Including the Nommer of Fishies.
Logged

A Cherry-Flavored Iambian draws near... what do you do? ...
Projects in my development environment:
Celtic 3 (83+) 95% (Hold) | CaDan (83+) 15% (Rst) | E:SoR (84+) 10% (Rst) | CaDanITE (83+) 4% (Hold) | FF:TIoC (83+) 2% (Data)
FinaleTI
Believe in the pony that believes in you!
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: 03 May, 2013, 16:35:01
Date Registered: 04 June, 2010, 00:34:27
Location: Alteria
Posts: 1818


Total Post Ratings: +118

View Profile WWW
« Reply #6 on: 28 March, 2011, 23:41:41 »
0

Quote from: pudecomp/ReadMe.txt
Q: When will you write a Pucrunch compression Axiom?
A: Short answer: I will not.
   Seriously. Decompression is worlds easier than compression. I'm *SO* not
   gonna write a compressor. And even if I do, it wouldn't do very well to
   make an Axiom out of it. In all seriousness, it would have to be a
   stand-alone utility. If you could just bone up on the theories used in
   the making of pucrunch (just Google that name), you'd find out all the
   information you could ever need. And once you find it out...
   You ought to understand why I don't want to write it...
   And DJ_O will be screaming at my as to why E:SoR isn't being updated.
It was already answered in the ReadME, but I understand the fact that many people might not even download the file and read it unless they're convinced that it's the right thing for them. Still, it was hard enough modifying the pucrunch decompresser to work as an Axiom. On the idea of compressors, there's probably a reason why the compressor is written in C (not assembly of any sort). If you could point me to a good C to Z80 cross-compiler, I might consider it only for writing a standalone compressor. If you tried to use it as an Axiom, I will guarantee you. The Axiom will end up eating more space than anything you could possibly code up.

Now... if I wanted a good exercise, I might just write a standalone compressor in Z80 ASM anyway. If DJ_O starts asking why E:SoR isn't getting anyone done, I'll start blaming everyone involved. Including the Nommer of Fishies.
Perhaps this could be a start? I think someone is using it over at Cemetech to make an OS for the 83+/84+ family...
« Last Edit: 28 March, 2011, 23:42:07 by FinaleTI » Logged





So, yeah, I have a blog now. Nothing special, just your average ghost town.

Spoiler for Projects:
Spoiler for Pokemon TI:
Map engine is going to be redone from scratch, since I was lacking in organization last time. With a project as big as Pokemon, planning and organization is key, so that will probably be the brunt of the work done on this project for the time being.

Spoiler for Nostalgia:
Being worked on. Nothing really new to put here, but it's being worked on.

Spoiler for Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack.

Spoiler for Nostalgia Origins: Sky's Story:
Currently on hold. I am unsure of whether this will remain DCS7 Hybrid BASIC or if it will use Batlib, Grammer or perhaps Axe.
This may see more progress once a demo of Nostalgia is released.
Quigibo
The Executioner
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 02:03:21
Date Registered: 22 January, 2010, 05:02:37
Location: Los Angeles
Posts: 2022


Total Post Ratings: +1019

View Profile
« Reply #7 on: 29 March, 2011, 00:23:47 »
0

Just have to wait for Quigibo to reimplement big-endian nibble reads...

This probably isn't going to be implemented as it was a mistake before.  If you want a big-endian read though, all you have to do is flip the last bit of the doubled pointer:


1
nib{P*2}
becomes:

1
nib{P*2 xor 1}
and the endianness should switch.
Logged

___Axe_Parser___
Today the calculator, tomorrow the world!
Compynerd255
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 29 April, 2013, 23:45:47
Date Registered: 18 December, 2010, 22:35:39
Location: Between chair and keyboard
Posts: 329


Total Post Ratings: +49

View Profile WWW
« Reply #8 on: 29 March, 2011, 00:31:12 »
0

I downloaded your Axiom and was looking at the ReadME for it, and I found that the program read from external files in archive. While it is still quite useful in this form, I have a feature request: could we read the compressed data inline so that we can package the whole program as a single file, under the 8811 byte limit? Thanks.
« Last Edit: 29 March, 2011, 00:32:55 by Compynerd255 » Logged

The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com


Geekboy1011
The Oneironaut
Support Staff
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 05:59:41
Date Registered: 11 June, 2009, 01:27:44
Location: Buried in cherry flavored source code
Posts: 1502


Total Post Ratings: +88

View Profile
« Reply #9 on: 29 March, 2011, 03:02:38 »
0

i feel like i will be (Ab)useing this in my correlation project...have to store that epic #omnimaga rpg text some how

that makes it a tibasic c3 axe correlation project now doesnt it....
* Geekboy1011 goes back to hunting threw the cherry realm for inspiration
Logged

Yumé - The Eternal Dreams(tsukasaZX's project): music making working on second piece
PROJECT:TiX - planning stages almost done few more things to think about then i start coding so coding should commence tommorow or the NULL of NULL yay
Project/Mod Cadan: CD  -   My (first?!?) mod of the cadan engine for a not so demoified version of the game : HOLD :Is here
Beta testing: -  Correlation: Wordwrap abuse IF Adventure style
leafy
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 02:05:15
Date Registered: 26 December, 2010, 05:27:03
Location: the ninth circle of hell
Posts: 1545


Total Post Ratings: +371

View Profile WWW
« Reply #10 on: 29 March, 2011, 04:01:07 »
0

Wow, CalcGS support? Man, this is awesome! I may just use this in Graviter Tongue
Logged

In-progress: Blastlabs, TMJO, qb?, VVVVVV?
Finished: Tag, Tap, MFQT, Nyan
Dead: Graviter
FloppusMaximus
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 09 May, 2013, 05:05:29
Date Registered: 03 October, 2010, 00:02:51
Posts: 286

Total Post Ratings: +52

View Profile
« Reply #11 on: 29 March, 2011, 05:29:21 »
0

Pucrunch is designed to be asymmetrical - the PC does the considerably-harder work of compressing the data so that the decompressor can be fairly simple.  If you want to both compress and decompress on the calculator, you should probably think about using a simpler and more symmetrical algorithm.
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #12 on: 29 March, 2011, 05:52:21 »
0

Nice stuff Iambian. :O
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Iambian
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 14:52:06
Date Registered: 04 September, 2008, 20:12:14
Location: Nowhere in particular
Posts: 636


Topic starter
Total Post Ratings: +167

View Profile
« Reply #13 on: 29 March, 2011, 17:35:36 »
0

I downloaded your Axiom and was looking at the ReadME for it, and I found that the program read from external files in archive. While it is still quite useful in this form, I have a feature request: could we read the compressed data inline so that we can package the whole program as a single file, under the 8811 byte limit? Thanks.
That's a pretty good suggestion. Funny thing is, that's the way the pucrunch decompressor was originally coded. I think it should be easy enough to add in. Just gotta find some time to do it.
Logged

A Cherry-Flavored Iambian draws near... what do you do? ...
Projects in my development environment:
Celtic 3 (83+) 95% (Hold) | CaDan (83+) 15% (Rst) | E:SoR (84+) 10% (Rst) | CaDanITE (83+) 4% (Hold) | FF:TIoC (83+) 2% (Data)
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 08:17:37
Date Registered: 15 August, 2010, 09:18:54
Posts: 3190


Total Post Ratings: +220

View Profile
« Reply #14 on: 29 March, 2011, 18:24:59 »
0

If DJ_O starts asking why E:SoR isn't getting anyone done, I'll start blaming everyone involved. Including the Nommer of Fishies.

shocked
* Qwerty.55 runs
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.399 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.