利用者:Koilz/13.04.15 Import TIM

提供: wiki
< 利用者:Koilz
2018年6月29日 (金) 05:53時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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