2
0
mirror of https://github.com/dpethes/rerogue.git synced 2025-06-07 18:58:32 +02:00
dpethes 1aff4888ab model viewer: load models directly from DAT file
Displays a filelist with hob files, use it to select a mesh. Also, hob and hmt
parsers now load data directly from memory streams.
2017-02-02 02:05:33 +01:00
2015-01-25 17:03:47 +01:00
2015-03-07 19:49:46 +01:00
2016-04-14 21:07:39 +02:00
2017-01-30 20:14:01 +01:00
2016-04-14 21:10:13 +02:00

rerogue

Tools to extract data from Star Wars: Rogue Squadron 3D. Unpackers:

  • DAT repacker - unpacks DAT archive or packs files from folder structure to DAT archive.

Parsers, exporters:

  • Hmp2obj - creates wavefront OBJ files from .hmp and corresponding .tex + .text files.
  • Image exporter - exports some images to pnm/pgm/tga files (according to their internal format).
  • HOB parser - parses mesh data files.
  • HMT parser - parses material data files and exports stored textures.
  • HMT compiler - builds custom material data files.

Viewers:

  • HOB viewer - utilizes HOB & HMT parsers to view 3d objects used in game. Uses OpenGL and SDL for display & input handling.
  • Terrain viewer - displays any .hmp heightmap level as points. Uses OpenGL and SDL for display & input handling.

Compilation

Use recent Lazarus (1.2.x) with Freepascal (2.6.x) to compile. Viewers need SDL 1.2 and OpenGL 1.x support to work. I tested 32bit versions only, 64bit will most probably work as well.

TODO

  • hmt parser: decode all image subtypes
  • hmt compiler: needs some usable interface
  • hob parser: parse more header fields
  • bundle repack: pack bundle.00x archives
Description
Tools to extract data from Star Wars: Rogue Squadron 3D
Readme 465 KiB
Languages
Pascal 99.5%
Python 0.5%