Skip to content

v0.6.0

Choose a tag to compare

@snake-biscuits snake-biscuits released this 15 May 13:16
· 50 commits to master since this release

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

  • archives
    • cdrom.Iso
    • ion_storm.Dat
    • ion_storm.Pak
    • nexon.PakFile (formerly branches.nexon.pakfile.PakFile)
    • pkware.Zip (formerly branches.valve.source.PakFile)
    • ritual.Sin
    • sega.GDRom
    • troika.Vpk
  • ArchiveClass filesystem utility methods
    • .is_dir("folder")
    • .is_file("filename")
    • .list_dir("folder")
    • .path_exists("filename")
    • .tree(folder="./")
  • DiscClass spec for disc images which may contain filesystems
    • alcohol.Mds
    • golden_hawk.Cue
    • mame.Chd
    • padus.Cdi
    • sega.Gdi
  • added physics.AABB.as_model()

Changed

  • Moved branches.base to core
  • Moved archives out of extensions
  • Moved lightmaps out of extensions
  • Moved extensions.geometry to scene
    • accessed via developer.format (e.g. scene.pixar.Usd)
    • exposing all SceneDescriptions at top level (e.g. scene.Obj)
  • 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))