Results 1 to 4 of 4

Thread: modsyn's data compression script

  
  1. #1
    modsyn is offline -Hacks Guru
    Join Date
    Aug 2005
    Location
    Shinigami Kurosaki Ichigo!
    Posts
    2,475
    Rep Power
    17

    Default

    ok, so i got your attention. but it's not a fake topic. i wrote a basic
    data compression script that uses Huffman's algorithm in LUA.

    it's not super-speedy or super-great compression, but it works for
    large text files and bitmaps especially. also, wav files can be compressed
    quite a bit, so if you have a game that will be using wavs you can distribute
    them compressed, then uncompress them at load time for a level or
    something. anyway, enough teasing... here's the link:
    http://www.cs.ulm.edu/~jself/jmenc/L...f/lua-huff.rar

    enjoy the spoils of my weekend.

    jMEnc Guide, jMEnc2 page - by the way, you smell nice

  2. #2
    illfoundedmind is offline -Hacks Enthusiast
    Join Date
    Nov 2005
    Location
    WTF~~~~~~~~~~> Rank: %NULL
    Posts
    389
    Rep Power
    14

    Default

    Phenomenal appication, worth looking into all :mrgreen: .
    july 19

  3. #3
    modsyn is offline -Hacks Guru
    Join Date
    Aug 2005
    Location
    Shinigami Kurosaki Ichigo!
    Posts
    2,475
    Rep Power
    17

    Default

    ok, i got it deflating from a table. check the original posted location and
    see the script 'table_huff.lua' for an example of how to use that method.
    jMEnc Guide, jMEnc2 page - by the way, you smell nice

  4. #4
    illfoundedmind is offline -Hacks Enthusiast
    Join Date
    Nov 2005
    Location
    WTF~~~~~~~~~~> Rank: %NULL
    Posts
    389
    Rep Power
    14

    Default

    ha I have the last word :E
    july 19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •