Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

fbstj/dbpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A file for reading and writing DBPF files

DBPF(fd): takes a file and parses the first 96 bytes, checking to make sure it is a DBPF. if fd is a string, try and open(fd, 'rb') parse the index into self.records try to parse the directory record into self.records, setting the record.size field to the un

DBPF.records: retrieves the entirity of the index table from the file

DBPF.search(tgi): retreive a number of records that match the passed type/group/instance ID's

About

a library for reading/writing DatabasePackedFile's (used by Maxis/EA)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages