Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.
/ pynwn Public archive

python library for Neverwinter Nights(:EE) file formats and objects

License

Notifications You must be signed in to change notification settings

jd28-archive/pynwn

Repository files navigation

License: MIT ci CodeQL

pynwn

pynwn is now a wrapper (or will be) around rollnw. Older versions can be found on master-obsolete and develop-obsolete. Getting CI going, first.. then the rest.

import pynwn

pynwn.kernel.start()
mod = pynwn.kernel.load_module("mymodule.mod")
for area in mod:
    # Do neat things

Status

formats

  • Image
  • Ini
  • Nss
  • NssLexer
  • NssParser
  • TwoDA

i18n

  • Language
  • LocString
  • Tlk
  • conversion - unneeded, Python strings are already utf8

kernel

  • Config
  • Kernel
  • Objects
  • Resources
  • Strings

objects

  • Area
  • Creature
  • Dialog
  • Door
  • Encounter
  • Faction
  • Item
  • Journal
  • Module
  • ObjectBase
  • Palette
  • Placeable
  • Sound
  • Store
  • Trigger
  • Waypoint

components

  • Appearance
  • CombatInfo
  • Common
  • CreatureStats
  • Equips
  • Inventory
  • LevelStats
  • LocalData
  • Location
  • Lock
  • Saves
  • SpellBook
  • Trap

resources

  • Bif - unexposed
  • Container
  • Directory
  • Erf
  • Key
  • NWSync
  • Resource
  • ResourceDescriptor
  • ResourceType
  • Resref
  • Zip

serialization

  • Archives
  • GffInputArchive
  • GffOutputArchive
  • Serialization
  • gff_common

util

  • ByteArray
  • Tokenizer - unneeded
  • base64 - unneeded
  • compression
  • enum_flags - unneeded
  • game_install
  • macros - unneeded
  • platform
  • scope_exit - unneeded
  • string - unneeded
  • templates - unneeded