From BlenderWiki

Jump to: navigation, search
Import TIM
Import PSone Texture Images .TIM.
UI location 3D View > Properties > TIM
Usage Import PSone Texture Images .TIM.
Version 1.0.0 Author(s) koil
Blender 2.66.1 License GPL
Category Import-Export Distribution Extern
Note(s) _


Executable information
File name Import_TIM.py
Current version download import_TIM.py
Python modules bpy, os
External Python Modules or dependencies _
Data _


Warning _
Links Import TIM
Known Issues _


import_TIM 1.0.0

This is a blender addon to import PSone Texture Images .TIM.

K TIM100.PNG


Download

Right click, save target as.

1.0.0: import_TIM.py


Setup

Install Addon

  • Download import_TIM.py then copy to scripts\addons\import_TIM.py

Enable Addon

  • Open blender.
  • Goto Editors > User Preferences > Addons
  • Look for "Import-Export: Import TIM"
  • Enable addon by checking the box at the far right.
  • Press "Save User Settings".
  • Close blender.

Disable Addon

  • Open blender.
  • Goto Editors: User Preferences: Addons
  • Look for "Import-Export: Import TIM"
  • Disable addon by dechecking the box at the far right.
  • Press "Save User Settings".
  • Close blender.


Info

Property: bpy.context.scene.TIM_filename="FILE.TIM"

Operator: bpy.ops.image.import_tim(TIM_file="FILE.TIM")


Theres a panel in 3D View Properties "TIM" to load files relative to the blender file.

Sub folders are accessed like so: "\\FOLDER\\FOLDER\\FILE.TIM".


TIM files are written to images as a generated PNG.


Details

4 bit, 8 bit, 16 bit, each have a Transparency bit.

This does have data, but i dont know whats its for.

ATM the Transparency bit is set to 1.0.

Might be an Alpha Mask.


I didnt run into any games with 24 bit images.


4 bit, 8 bit textures seem to support animation, by not being square.

These files are diplayed as one image like so: [1][2][3][4].


Files Tested

1.0.0

  • Final Fantasy VII\\BINS.TIM 8 bit: ok
  • Final Fantasy VII\\WARNING.TIM 16 bit: ok
  • SCED-01049\\BSLOGO.TIM 16 bit: ok
  • SCED-01049\\DISCLAIM.TIM 16 bit: ok
  • SCED-01049\\FUTICONS.TIM 8 bit: ok
  • SCED-01049\\NAMES.TIM 8 bit: ok
  • Space Invaders\\LOADING.TIM 16 bit: ok
  • Space Invaders\\ASSETS\\LEGALP.TIM 16 bit: ok
  • Space Invaders\\ASSETS\\RETURN.TIM 16 bit: ok
  • Space Invaders\\E01\\SIBF01A.TIM 8 bit: ok
  • Space Invaders\\E01\\SIBF01B.TIM 8 bit: ok
  • Space Invaders\\E01\\SIBF01C.TIM 8 bit: ok
  • Space Invaders\\E01\\SIBG01A.TIM 8 bit: ok
  • Space Invaders\\E02\\SIBG02A.TIM 8 bit: ok
  • Wipeout 2097\\TEXTURES\\WIPTITLE.TIM 16 bit: ok
  • Wipeout 2097\\TEXTURES\\WOSTART.TIM 8 bit: ok
  • Wipeout 2097\\TEXTURES\\STARTPAL.TIM 16 bit: ok
  • Wipeout 2097\\TEXTURES\\BUG.TIM 4 bit: ok
  • Wipeout 2097\\TEXTURES\\LUCKY.TIM 4 bit: ok
  • Wipeout 2097\\TEXTURES\\REVS.TIM 4 bit: ok
  • Wipeout 2097\\TEXTURES\\SCE_LOGO.TIM 16 bit: ok
  • Wipeout 2097\\TEXTURES\\SHADOW1.TIM 4 bit: ok


Versions

1.0.0

  • 4 bit: supported
  • 8 bit: supported
  • 16 bit: supported
  • 24 bit: not supported
  • others: not supported