Jump to content

Search the Community

Showing results for tags 'deflate'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Hello guys, I would like to release LibDeflate-MTA, a pure Lua compressor and decompressor for Multi Theft Auto with high compression ratio using DEFLATE/zlib format. It is based on the initial LibDeflate project found here and has been adjusted to be used in MTA. This library can be used on both server and client to compress and/or decompress files. Comes with two test files for each side to quickly test. Two exported functions are provided, return true or false on completion: compress(input_file, output_file) decompress(input_file, output_file) Limitations: This is purely lua, compression and decompression will be much slower than C/C++ counterpart. The compression and decompression depends on clients hardware alot! Don't expect to handle tens or hundreds of megabytes of data, the library runtime will be aborted by MTA at some point. During testing, compressing a 6 MB file seemed fine, trying 10 MB failed due to infinite running script. Download: here
×
×
  • Create New...