gdnative plugin for libarchive in pure C
- Version: 0.0.1
- Platforms: linux
- Dependencies: libarchive 3.3.3+
git clone https://github.com/hurikhan/gdArchive.git
git submodule init
git submodule update
scons platform=linux
get_version() # Returns the current version of gdArchive as a string (e.g. "gdarchive 0.0.1")
get_info() # Returns the current used libarchive version and compression libs as a dictionary
open(filename) # Opens an archive as readonly. Returns true on success
close() # Closes an already opened archive. Returns true on success
list() # Returns an array of the archive entries
extract() # Extracts the whole archive in the current directory
extract(path) # Extracts the whole archive in the specified path
var archive = preload("res://addons/gdarchive/gdarchive.gdns").new()
print(archive.get_version())
print(archive.get_info())
archive.open("user://downloads/lutris/quake-shareware.tar.gz")
var files = archive.list()
archive.close()
for f in files:
print(f)
- Supported platforms: linux
- List files in archive
- Extract files from archive
- UTF-8 support
- Complete manual invoked tests/ for the current API
- Builtin libarchive sources + scons workflow
- Create Docker-Container for libgdarchive.so + libarchive.so compilation
- Nativescript 1.1 support
- Supported platforms: linux, windows
- Support for zstd compression
- Invoke test/test.py with scons
- Define final API (Version 1.0.0)