Recommended Posts

tpcview


View and export Odyssey Engine proprietary texture formats.

A lightweight, somewhat quick viewer for textures in TPC format, or the proprietary header DDS format used in Aurora and its descendants.

Also provides a capability to export to TGA, which is useful when you find images that won't convert via any other tool.

The viewer aspect is a bit of an afterthought, as for the longest time this was just where I tested my TPC=>TGA conversion code. However, over time, I found myself wanting a simple viewer that could preview a lot of images at once, so this happened.

The application is cross-platform, available for macOS and Windows.

The app is written in javascript, built on Electron using three.js.

============================================================

How do I set it up?
Windows: Download the '-installer' file, unzip the 7z package, run tgaview Setup <version>.exe

Mac: unzip the package, move tpcview.app to /Applications, run it
* This is not a signed application, so you have to do whatever is required to run non-MAS applications on your MacOS version.

The application provides file associations for TPC & DDS files. Hopefully the DDS association will not override any you may already have for non-proprietary DDS files.

============================================================

How do I use it?

Viewing

Drag files in. They should show up. The files you drag in fill the window in a list that generally resembles the file input order. They all show at once, so there's a moderate memory requirement around loading many files at once. For example, loading the 5210 TPC files from TSL takes 2.25G memory on my machine, your mileage will vary.

Mouse over images to get info about them in the window's title bar. Click images to toggle scaling the image to fit the window and viewing the information about them in the info panel at the bottom of the window.

Double click the background of the window to clear all loaded images.

Exporting

Use modifier keys while dragging in order to get Export as TGA functionality. A description of the export activity you are requesting shows up in the info panel at the bottom while you are dragging. Export will occur while the file is being loaded. You cannot export already open images without dragging them in again.

Files are exported into same directory as original TPC files being dragged, THEY WILL OVERWRITE EXISTING TGA FILES WITHOUT WARNING.

When a TPC file is exported to TGA, a TXI file will also be generated if the original TPC file contained such information.

When adding alpha blending value to TXI output, only non-1.0 values will be added (as 1.0 is considered default).

============================================================

Features

  • View TPC format 32bpp, 24bpp, and 8bpp compressed and uncompressed images
  • View Aurora proprietary DDS format 32bpp and 24bpp compressed images
  • Export to TGA
  • Export TXI files containing the texture extension information from TPC files
  • Export all detail levels (mipmaps) present in original image file (can help debugging image compressors)
  • Add an alpha blending value from the TPC header into exported TXI file outputs, i.e. '# alphablending 0.67'
  • File association for TPC and DDS formats with provided file type icons

 

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.