Author Topic: [FF7] 24bits texture conversion - Image2Tex (2011-08-02)  (Read 37437 times)

pyrozen

  • Freak
  • *
  • Posts: 793
  • Karma: 0
  • Team Avalanche Member
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #50 on: 2009-10-20 00:11:53 »
Have you checked to make sure all the black is 0 for all three colors RGB instead of R=0 G=0 B=1 it needs to be R=0 G=0 B=0. Just a suggestion to why it ain't transparent cause it worked for me.

good post, that's a whole lot easier than custom indexing a palette. To bad you cant change it though, i prefer neon green for my transparencies.  Oh well...

lee

Costa07

  • Insane poster
  • *
  • Posts: 306
  • Karma: 0
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #51 on: 2009-10-20 00:12:20 »
Lol always the easiest solutions are over looked  :lol:

sl1982

  • Administrator
  • No life
  • *
  • Posts: 3678
  • Karma: 41
  • GUI Master :P
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #52 on: 2009-10-20 04:30:01 »
I'm not sure if this is a stupid question borde, but do the tex files contain all the different palletes that ff7 uses or does the game have them hardcoded? If they are in the tex file is there any way you can have your program output all different possible pallettes? It would be awesome if this is possible. It would save me trying to guess what the colors are in the game for multiple pallete files.

Borde

  • Freak
  • *
  • Posts: 898
  • Karma: 24
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #53 on: 2009-10-20 11:34:38 »
Well, the Tex files have only one pallete. My guess is the ff7 engine changes the colors when needed.

pyrozen

  • Freak
  • *
  • Posts: 793
  • Karma: 0
  • Team Avalanche Member
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #54 on: 2010-09-01 21:56:09 »
i know this is a blatant necro, but can we get this tool added to the wiki page please. Took me a bit of shifting through other threads before i found it.

lee

sl1982

  • Administrator
  • No life
  • *
  • Posts: 3678
  • Karma: 41
  • GUI Master :P
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #55 on: 2010-09-02 06:22:25 »
Yes this needs to be in the wiki, but how hard was it to find it? It is under tools, and there is only one page.

Giullio

  • Cool newbie
  • *
  • Posts: 66
  • Karma: 2
  • Where is the love?
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #56 on: 2010-12-06 23:02:06 »
Can someone tell me what i'm doing wrong? The size is not right... Please help? XD

Kyo13

  • Cool newbie
  • *
  • Posts: 78
  • Karma: 1
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #57 on: 2010-12-15 11:07:35 »
Wow I've didn't see that before. Was using 8Bits textures ! Just want to thanks Borde for that ! Another amazing tool :)

Borde

  • Freak
  • *
  • Posts: 898
  • Karma: 24
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #58 on: 2011-08-02 20:39:17 »
Hello everyone. I've uploaded a new version of this program. I just added support for batch processing (as requested by DLBP). Just press the "Mass process" button and select all the files you want to get converted. Works in both directions.

The Western Guy ...

  • Guest
Re: Image2Tex - 24bits textures for FF7
« Reply #59 on: 2012-01-21 19:48:28 »
The links are down, since the FBI sacked Megaupload.com. It might be convienient if you could re-upload the tool.

PitBrat

  • No life
  • *
  • Posts: 1388
  • Karma: 12
  • Change to feed the machine.
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #60 on: 2012-01-21 20:21:09 »
New links are available here:
    The Big List of FF7 Mods and Tools

The Western Guy ...

  • Guest
Re: Image2Tex - 24bits textures for FF7
« Reply #61 on: 2012-01-21 20:41:38 »
Sorry, but I didn't find neither "Borde" nor "Image2Tex" on the page, and carefully checking didn't lead to success either. :(

PitBrat

  • No life
  • *
  • Posts: 1388
  • Karma: 12
  • Change to feed the machine.
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #62 on: 2012-01-21 20:55:20 »

img2tex04_bin.7z                                Borde           Tool to convert textures                Qhimm FILE


The Western Guy ...

  • Guest
Re: Image2Tex - 24bits textures for FF7
« Reply #63 on: 2012-01-21 21:01:24 »
I am bloody stupid . :-[
Thanks anyway. ;)

whitERaven

  • Insane poster
  • *
  • Posts: 406
  • Karma: 2
  • when the Raven turns white..
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #64 on: 2012-08-13 08:45:57 »
Hello, That link from the big list is not working, are there other links to download image2tex? I tried rapidshare and mediafire but both links are broken. thanks a lot in advance!

PitBrat

  • No life
  • *
  • Posts: 1388
  • Karma: 12
  • Change to feed the machine.
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #65 on: 2012-08-13 15:00:48 »
Okay.  Rapidshare deletes files after a few days if no one is downloading them.
Here's a FileDen link:


img2tex04_bin.7z                                Borde           Tool to convert textures                Qhimm FILE


whitERaven

  • Insane poster
  • *
  • Posts: 406
  • Karma: 2
  • when the Raven turns white..
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #66 on: 2012-08-14 06:11:37 »
thanks a lot, I wanted to edit some textures of the AC barret, but BITURN wont extract the tex files.. I'll try this now, hope this works. Thanks again.

whitERaven

  • Insane poster
  • *
  • Posts: 406
  • Karma: 2
  • when the Raven turns white..
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #67 on: 2012-08-14 06:25:31 »
ok, please be kind to me, I'll be imposing on you guys again, I tried running the image2tex downloaded from the link given by Pitbrat, but it says "Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid" ,

 how do I fix this??

Agahnim

  • Fast newbie
  • *
  • Posts: 39
  • Karma: 3
  • fourgive mii four baud iinglisch :D
    • View Profile
    • Rom Dom Greece
Re: Image2Tex - 24bits textures for FF7
« Reply #68 on: 2013-04-20 13:25:59 »
hellow!

im using this program to convert ff7 tex files to bmp and then, bmp back to tex but i have a problem..

when i finish the convertion and pack the usfont_b_h.tex file back to the menu_us.lgp, the color isnt the same. it turns into gray (if i use software rendering mode) or light-blue (if i use direct3d hardware acceleration mode). here are the pics:





anyone to know how to solve this problem??

Agahnim

  • Fast newbie
  • *
  • Posts: 39
  • Karma: 3
  • fourgive mii four baud iinglisch :D
    • View Profile
    • Rom Dom Greece
Re: Image2Tex - 24bits textures for FF7
« Reply #69 on: 2013-04-21 14:11:09 »
ummm... anyone to know the solution?? ???

Kaldarasha

  • No life
  • *
  • Posts: 2270
  • Karma: 135
  • Prince of Model Editing
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #70 on: 2013-04-21 14:56:26 »
I guess you break the pallet information. Some textures does have different colors (the effect textures for example) and these are stored within the textures. There was a program called Omega which allows
you to extract the different pallets, too. But I believe there is currently no way to merge them back in the tex file. If it would go so easy like you intend to do it, we wouldn't need the mod path of Ali's driver.
 

Agahnim

  • Fast newbie
  • *
  • Posts: 39
  • Karma: 3
  • fourgive mii four baud iinglisch :D
    • View Profile
    • Rom Dom Greece
Re: Image2Tex - 24bits textures for FF7
« Reply #71 on: 2013-04-21 15:17:21 »
thanx a lot for answering :)

i don't know nothing about aali's driver.. please inform me about... show me the way :D

with that aali's driver can i import all the palettes back to tex??

Kaldarasha

  • No life
  • *
  • Posts: 2270
  • Karma: 135
  • Prince of Model Editing
    • View Profile
Re: Image2Tex - 24bits textures for FF7
« Reply #72 on: 2013-04-21 16:23:26 »
If you have the driver installed you will see a folder named 'mods' in your ff7 folder. Open it and create a new folder. Name it what ever you want. Now open the new folder and and create again a new one, this time name it 'Menu'. In this folder you have to put your modified fonts as PNG. To simulate the pallettes the filename need an addon '_00'. Example: 'usfont_a_h_00.png', 'usfont_a_h_02.png', and so on (the number for the fonts rises for some reason in two steps, the last is '_14') . Back to the FF7 folder you must open ff7opengl.cfg and search for the line 'mod_path ='. Now add the name of the first folder you create in the mod folder. Save it. Start the game and you should see your edited fonts...
If you haven't installed Aali's driver yet, you should look at this: Games Converter. It is important to use this converter or the New to Old patch for the re-release or Aalis driver wouldn't work.
At last if you don't want to recreate the font you should look for the Avalache GUI ( find here:The Big List of Mods) or if the converter works for you (not sure which language you have) I recommend the Menu Overhaul (now in the Reunion mod).
One last thing the colors for the fonts are:
_00 - grey
_02 - blue
_04 - red
_06 - purple
_08 - green
_10 - cyan
_12 - yellow
_14 - white
« Last Edit: 2013-04-21 16:27:07 by Kaldarasha »

Agahnim

  • Fast newbie
  • *
  • Posts: 39
  • Karma: 3
  • fourgive mii four baud iinglisch :D
    • View Profile
    • Rom Dom Greece
Re: Image2Tex - 24bits textures for FF7
« Reply #73 on: 2013-04-21 18:51:20 »
thanx a lot man:)

im happy to hear that. Finally, a way to alter the font!

maybe i will try this way temporary for start translating the game, but i want to found another way, to convert all the palettes into one .tex.

is it so hard to do this convertion?



EQ2Alyza

  • 7th Heaven Crew
  • Global moderator
  • No life
  • *
  • Posts: 2737
  • Karma: 189
  • Dilly-Dally Shilly-Shally
    • View Profile
    • EQ2Alyza - YouTube Channel
Img2Tex Download
« Reply #74 on: 2014-06-24 02:17:31 »
http://forums.qhimm.com/index.php?topic=8639.msg110974#msg110974

Does anyone have v 0.4 from the above thread? File name should be img2tex04_bin.7z.