NikkiCRMP Posted May 12, 2019 Share Posted May 12, 2019 Hello, I come from a relatively small SAMP-based multiplayer. I'm looking for a way to either import modified TGA textures to existing TXD dictionary or create a new TXD dictionary using my modified textures. I'm trying to automate this process. I extract TXDs with fastman92 IMG Console, export textures with the CLI of TXD Workshop and modify them with ImangeMagick. Is there a command line tool for importing textures into TXD? TXD Workshop has a /build option, but it has a DFF involved, so that throws me off a bit. Any help would be appreciated. Thank you Link to comment Share on other sites More sharing options...
guard3 Posted May 12, 2019 Share Posted May 12, 2019 You shouldn't use TXD Workshop. Use Magic.TXD. I don't think it has a commandline option, but it has mass extract/build support. If you're editing DXT compressed textures and don't want any quality loss, you have the option to export to Renderware chunks (rwtex files), convert the ones you want to edit to any image format you want, and mass build will do its job Link to comment Share on other sites More sharing options...
Ash_735 Posted May 12, 2019 Share Posted May 12, 2019 Yeah I can't echo this enough, use Magic.TXD, TXDWorkshop is incredibly outdated and broken and over time corrupts TXD files causing issues in game, to cover what you're after you could use Magic.TXD Builder to mass convert the TGA files into a TXD and then arrange them after that. Link to comment Share on other sites More sharing options...
NikkiCRMP Posted May 15, 2019 Author Share Posted May 15, 2019 On 5/12/2019 at 3:54 PM, Ash_735 said: Yeah I can't echo this enough, use Magic.TXD, TXDWorkshop is incredibly outdated and broken and over time corrupts TXD files causing issues in game, to cover what you're after you could use Magic.TXD Builder to mass convert the TGA files into a TXD and then arrange them after that. Magic.TXD doesn't have any documented command line interface. It is crucial for me, since I'm automating certain processes. Obviously, there is a source code for Magic.TXD, I could write my own CLI for it, but I am a but... well... too dumb for that. Link to comment Share on other sites More sharing options...
Ash_735 Posted May 15, 2019 Share Posted May 15, 2019 2 hours ago, NikkiCRMP said: Magic.TXD doesn't have any documented command line interface. It is crucial for me, since I'm automating certain processes. Obviously, there is a source code for Magic.TXD, I could write my own CLI for it, but I am a but... well... too dumb for that. Once you have all the tga files dumped into the correct folders then it's literally a one click process. Link to comment Share on other sites More sharing options...
NikkiCRMP Posted May 15, 2019 Author Share Posted May 15, 2019 9 hours ago, Ash_735 said: Once you have all the tga files dumped into the correct folders then it's literally a one click process. All TGA files of several hundred TXDs? I'm editing a bunch of them. Link to comment Share on other sites More sharing options...
guard3 Posted May 16, 2019 Share Posted May 16, 2019 Yes. If you have a bunch of folders with images inside, magic.txd batch builder will create a txd for each folder automatically. Link to comment Share on other sites More sharing options...