ckanibal / libc4group
Library for reading/writing Clonk(tm) files
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/ckanibal/libc4group
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-12-30 14:50:52 UTC
README
A (hopefully) sophisticated approach to creating a full-featured php library to read/(write?) RedWolfDesign's Clonk(tm) files.
Examples
$missions = libc4group\C4Group::fromFile("files/Missions.c4f");
$img = $missions->get('Frontier.c4s')->getTitleImage();
$script = $missions->get('Rocks.c4s')->get('System.c4g')->get('BigRock.c');
$author = $missions->get('Low.c4s')->get('Bread.c4d')->getAuthor();