PSXPREV – Playstation (PSX) File Previewer/Extractor
PsxPrev, a TMD/PMD/TIM PlayStation file scanner.
You'll need to run it:
An OpenGL 3.0 compatible video card
.NET Framework 4.5
Treat it as an experimental release and use this tool as your own risk!
(The tool can use a big ammount of memory to scan the files, so, be careful.)
PSXPrev folder [filter] [-tmd] [-pmd] [-tim] [-retim] [-tod] [-hmdmodels] [-log] [-noverbose]
- folder – folder where are the files to be scanned (recursively scan)
- filter – use this parameter to specify a filter of files to be scanned (eg: *.tod)
- tmd – add this parameter to scan for tmd models
- pmd – add this parameter to scan for pmd models
- tim – add this parameter to scan for tim textures
- retim – add this parameter to scan for resident evil specific tim textures
- tod – add this paramete rto scan for tod animations
- hmdmodels – add this parameter to scan for hmd models (wip)
- log – add this parameter to generate a scanning log text file
- noverbose – add this parameter to dont show log on the console window
A console window will appear, the application will scan each byte of the files inside the folder/filter you specified trying to find the files types you specified, so, it can take a bit of time for this process to end.
After the scan has been completed, a new window will open, with the tabs:
Models: This is where you see the models that has been found on the scan
Textures: This is where you see the textures that has been found on the scan
VRAM Preview: This is where you have a replica of PSX Video RAM, which consist of 32 256×256 textures. You can use these pages to compose the final textures applied to the models.
Animations: This is a working in progress panel where you have animation list and controls, and a field to assign a loded entity to the animation preview.
To Apply a Texture to a Model, first you have to look at the VRAM Page property of the Model you want to apply the Texture.After that have to draw the textures (at the VRAM Tab, called Draw to VRAM) on the desired VRAM Page (which is pre-defined in the Texture Properties area). After that, if you come back to the Model Tab, you may see your Model textured, if it has Uvs property enabled (True).
To Export a Model or Multiple Models, tick their checkboxes at the Model Tab, click at Export Selected button, select the desired Output Format and the Output Folder. (Textures and materials will be automatically exported)
To Export a Texture or Multiple Textures, select them at the Texture Tab, click at Export Selected button and select the desired Output Folder.
The two 3D exportable file formats has disadvantages, .OBJ files cannot have vertex color information, and .PLY files will group all the sub-models in one single model. I'm looking for a better format for the exporter. An experimental .OBJ exporter option with Vertex Color is available.
The tool will only find files that are explicitly conformant to
the file formats it's looking for. Any compressed file cannot be scanned.
License (BSD License 2.0):
Copyright (c) 2018, Ricardo Reis
All rights reserved.