Skip to content

Rust-written CLI archiver and un-archiver for the LucasArts GOB file format.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

CubesAndCubes/gob-archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gob-archive

Rust-written CLI archiver and un-archiver for the LucasArts GOB archive format.

This program depends on the gob-rs GOB parsing library.

It's tested to be able to unpack GOB files of (but is likely not limited to):

  • Indiana Jones and the Infernal Machine
  • Star Wars Jedi Knight: Dark Forces II

Installation

See releases or build the program yourself via cargo:

cargo install gob_archive

Usage

Syntax

gob_archive [mode] [source] [destination?]
  • mode
    • x => Archive extraction mode.
    • extract => Archive extraction mode (verbose status output).
    • c => Archive creation mode.
    • create => Archive creation mode (verbose status output).
  • source Source archive or directory for extraction or creation respectively.
  • destination (optional) Destination directory or file for extraction or creation respectively.

Extraction

Will extract contents of CD1.GOB to /path/to/CD1 (directory will be created if non-existent):

gob_archive x /path/to/CD1.GOB

Will extract contents of CD1.GOB to /path/to/destination/ (directory will be created if non-existent):

gob_archive x /path/to/CD1.GOB /path/to/destination/

Creation

Will archive and write contents of CD1 to path/to/CD1.GOB (file will be created if non-existent):

gob_archive c /path/to/CD1

Will archive and write contents of CD1 to path/to/destination.GOB (file will be created if non-existent):

gob_archive c /path/to/CD1 /path/to/destination.GOB

License

This software is dual-licensed under the MIT license and Apache License, Version 2.0.