thpsX

- => Create-A- => Topic started by: warpig on October 16, 2017, 07:30:03 pm

Title: creating custom images
Post by: warpig on October 16, 2017, 07:30:03 pm
how shall i approach this and what is the easiest method for someone using a mac. thanks!  ;) edit - must say i would like to create a custom logo for a shirt.
Title: Re: creating custom images
Post by: %.gone. on October 16, 2017, 07:35:42 pm
They're essentially direct draw surface images with a different header. Depending on what type of image you're going to edit, they'll also need to be swizzled. Decks must be swizzled.
There are tools for this. If you can create a targa image, index its color pallette, make it 32 bit again, save without RLE.
You should be able to use that image in defeat0rs tool.
Unfortunately defeat0rs tools are windows applications.
Title: Re: creating custom images
Post by: warpig on October 17, 2017, 11:30:14 am
Ive got wineapp which makes it possible to run windows programs on a mac. You know where i can get this defeat0r app? And what else would i be needing? Cheers!!
Title: Re: creating custom images
Post by: %.gone. on October 17, 2017, 11:40:41 am
http://thmods.com/mod_tools/
look for sources.zip file
inside there should be tools 'tga2img' and 'img2tga'
use any image editor to edit a converted tga from img or create your own tga image.
use tga2img to convert them for use in game.
Title: Re: creating custom images
Post by: warpig on October 18, 2017, 03:02:45 pm
just a question, i cant make the files on the folder tga2img work because those seem to be only the source code, im wondering if i need like an .exe file to run those.
Title: Re: creating custom images
Post by: %.gone. on October 19, 2017, 08:21:14 am
There should be a directory named defeat0r
Inside this directory are some container files
Look for the img2tga and tga2img for ug2 that doesn't have 'src' in the file name and it should have an exe inside.
Title: Re: creating custom images
Post by: warpig on October 19, 2017, 06:13:20 pm
great, but i get a .dat file am i supposed to change the extension to .img.xbx? thanks.
edit : managed to get the file as .xbx but its not replacing logos..
Title: Re: creating custom images
Post by: warpig on November 10, 2017, 04:24:40 pm
uhm, its been a while and i havent heard from you? im just going to try and re-do this process, but as far as ive gone with this, i never got a solid answer as to where i could get the "thug" or "thugpro" edition for the conversion of the images. cheers!
Title: Re: creating custom images
Post by: %.gone. on November 15, 2017, 08:23:12 pm
You need to be using the thug2 version of the tool for thugpro images.
It's in the sources directory labeled with *_ug2*.
You're asking specific help with doing this on a mac and as far as I can tell you're using the wrong tool but this very well could be something the system is doing to the extension.