Repository navigation
v0.6.0
Refactoring in the age of Classes
Finally got a release out in under a year!
Some big changes in this one
Mostly standardising
Laying the groundwork for future improvements
This release corresponds to bsp-tool==0.6.0 on PyPI
Changelog
New
archivescdrom.Isoion_storm.Dation_storm.Paknexon.PakFile(formerlybranches.nexon.pakfile.PakFile)pkware.Zip(formerlybranches.valve.source.PakFile)ritual.Sinsega.GDRomtroika.Vpk
ArchiveClassfilesystem utility methods.is_dir("folder").is_file("filename").list_dir("folder").path_exists("filename").tree(folder="./")
DiscClassspec for disc images which may contain filesystemsalcohol.Mdsgolden_hawk.Cuemame.Chdpadus.Cdisega.Gdi
- added
physics.AABB.as_model()
Changed
- Moved
branches.basetocore - Moved
archivesout ofextensions - Moved
lightmapsout ofextensions - Moved
extensions.geometrytoscene- accessed via
developer.format(e.g.scene.pixar.Usd) - exposing all
SceneDescriptionsat top level (e.g.scene.Obj)
- accessed via
ArchiveClasses are now initialised with@classmethods.from_archive("filename", archive).from_bytes(b"bytes").from_file("filename").from_stream(open(stream))
BspClasses are now initialised with@classmethods.from_archive(branch, "filepath", archive).from_bytes(branch, "filepath", b"bytes").from_file(branch, "filepath").from_stream(branch, "filepath", open(stream))