GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lndpj/termpod: Terminal Reality POD{1,2,3,4,5,6}/EPD file format archive C++ library

BranchesTags
Open more actions menu

Latest commit

 

History

48 Commits
48 Commits

Folders and files

NameName
Last commit message
Last commit date
cmake
cmake
 
 
examples/podorgana
examples/podorgana
 
 
external
external
 
 
include/termpod
include/termpod
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
termpod.pc.in
termpod.pc.in
 
 

Repository files navigation

termpod

Single-header C++ library for CRC-32/MPEG-2 checksummed POD{1,2,3,4,5,6}/EPD Exteneded Payable on Death archive file formats used in Terminal Reality game engines

Dependencies

Included as submodule:

  • libzippp
  • crcle

Status

DONE

  • identified POD checksum ranges
  • podorgana example to list and extract checksummed POD3 file contents

TODO

  • clean up library interface and add other POD formats
  • identify extra_header uint32_t field and its use
  • identify dependency data structure of length 264
  • implement compression used in POD4/5
  • add pod.ini support
  • update termpod Wiki

Build & Run

cmake . --install-prefix=/usr && make install
podorgana [-a] [-x] world.pod

[NFO] Wed Apr 10 21:56:31 2024 checksum   offset          size name

[ENT] Sat Aug  3 20:24:24 2002 697DCAE2 00000120           480 DATA/HEINRICH.SLT
[ENT] Tue May 28 21:10:32 2002 26FF5785 00000300           480 DATA/MASTER_SOLDIER.SLT
[ENT] Thu Jun 27 17:25:20 2002 CF1B24FF 000004E0          2528 DATA/SVETLANA.SLT
[ENT] Thu Jul  4 16:27:30 2002 79B89A95 00000EC0           486 DATA/TWIN.SLT
[ENT] Thu Aug 22 01:44:32 2002 E6346ACD 000010A6           180 MODELS/BUTCHERESS.JUG
[ENT] Thu Aug 22 01:48:52 2002 7D90C6A6 0000115A           182 MODELS/MENTOR.JUG
[ENT] Tue Aug 27 00:04:48 2002 AE4800DF 00001210          4052 MODELS/RAYNE.JUG
[ENT] Thu Aug  1 00:29:10 2002 397BA6B2 000021E4          1121 MODELS/TWIN.JUG
[ENT] Wed Dec 11 16:25:22 2002 EA38594D 00002645       1228347 WORLD/AR_GH_SUBBAY.MSN
[ENT] Wed Dec 11 16:27:24 2002 78B77CD1 0012E480         37883 WORLD/AR_GH_SUBBAY.SCB

[HDR] Wed Apr 10 21:56:31 2024 FA924A77 00000000           288 POD3 Missions and scripts  
[FLE] Wed Apr 10 21:56:31 2024 70F4A969 00000000       1869532 world.pod
[CNT] Wed Apr 10 21:56:31 2024 FFFFFFFF FFFFFFFF            10 0 1901

Usage

#include <termpod/pod.hpp>

int main(int argc, char** argv)
{
	/* parse none file arguments */
	tr::pod::parse_args(argc, argv);
	/* for every file argument */
	while(optind < argc)
	{
		/* create and initialize pod file structure */
		tr::pod::file src(argv[optind++]);
		/* extract pod file struct */
		if(tr::pod::extract)
			for(size_t i = 0; i < src.entries.size(); i++)
				src[i].extract();
	}
	exit(EXIT_SUCCESS);
}

References

Related Software

About

Terminal Reality POD{1,2,3,4,5,6}/EPD file format archive C++ library

Topics

epdgame-archivespod-formatpod1pod2pod3pod4pod5pod6terminal-reality

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.