Author Topic: [FF7/FF8/Squaresoft Games] texture conversion - Vincent Tim (1.1)  (Read 3221 times)

myst6re

  • Freak
  • *
  • Posts: 511
  • Karma: 56
  • Light King of the Savegame - Field Master
    • View Profile
    • WikiSquare
So like qt-lzs, I publish my own tool to work with tim and tex formats.

Download on SourceForge
Contribute on GitHub

The main purpose of this command-line tool is to export and reimport a texture image to be able to modify this texture with an image editor.
But it is also possible to convert tim <=> tex, and to search and extract tim files from a file.
« Last Edit: 2014-07-31 21:09:22 by myst6re »

Mcindus

  • Freak
  • *
  • Posts: 642
  • Karma: 111
  • Artist, Modder, Musician.
    • View Profile
So like qt-lzs, I publish my own tool to work with tim and tex formats.

Download on SourceForge
Contribute on GitHub

The main purpose of this command-line tool is to export and reimport a texture image to be able to modify this texture with an image editor.
But it is also possible to convert tim <=> tex, and to search and extract tim files from a file.

This is the tool I wish I had for the past year... lol  AMAZING.
If I'm going to extract a .tim or .tex from the .exe and try to re-insert it, am I going to have problems because the .exe wants to be exactly the same size?  I'm a nub and can barely wrap my head around command line, so forgive me if I sound ignorant.

myst6re

  • Freak
  • *
  • Posts: 511
  • Karma: 56
  • Light King of the Savegame - Field Master
    • View Profile
    • WikiSquare
If I'm going to extract a .tim or .tex from the .exe and try to re-insert it, am I going to have problems because the .exe wants to be exactly the same size?  I'm a nub and can barely wrap my head around command line, so forgive me if I sound ignorant.

You will probably have some problems if you insert larger data in an executable.

Sorry, but it seems that Vincent Tim 1.0 doesn't work correctly, here are the list of known bugs:
  • Alpha is not exported with the palette (already fixed for the next version)
  • Modified pngs are not imported correctly, especially if the palette in the 8-bit png was modified or removed by the image editor

It will be fixed soon.

myst6re

  • Freak
  • *
  • Posts: 511
  • Karma: 56
  • Light King of the Savegame - Field Master
    • View Profile
    • WikiSquare
So I have a beta version for the 1.1: Vincent Tim 1.1b
Now export/modify/import a tex file should work correctly.

A 8-bit PNG must remain a 8-bit PNG, with the same indexes, it does not work otherwise. It is possible to edit the palette by editing the *.palette.png file.

This is a beta, all ideas and suggestions are welcome :)
« Last Edit: 2014-07-31 21:10:07 by myst6re »

myst6re

  • Freak
  • *
  • Posts: 511
  • Karma: 56
  • Light King of the Savegame - Field Master
    • View Profile
    • WikiSquare

LeonhartGR

  • No life
  • *
  • Posts: 2306
  • Karma: 29
  • ~Whatever...~ Finally married to my "Rinoa"!
    • View Profile
    • LeonhartGR Productions
Please make a gui version when you have time. I'm having difficulty working with command line. Thanks!

Roden

  • Crazy poster
  • *
  • Posts: 128
  • Karma: 20
    • View Profile
Please make a gui version when you have time. I'm having difficulty working with command line. Thanks!
Seconded.. Yeah, it doesn't really work for me... Does anyone know how to use it? It converts the tim into PNGs well enough, but when I try to get the png back into the tim. All I can get out of it is "QImage::pixelIndex: Not applicable for 32-bpp images (no palette)" even though the palette is right there and I provided the argument..

C:\ff7\tim\font\a>tim --if png --of tim -p 0 --input-path-palette ff7.tim.palette.png ff7.tim.0.png test

All I want to do is insert a new tim for windows.bin - is there an easy tool out there for this?