Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

R* texture converter


cj2000
 Share

Recommended Posts

Since MagicTXD is focused on txd format only and no other GTA related texture formats are suported, I decided to make converters for those formats. The first converter is for Bully nft format and can be downloaded here.

Link to comment
Share on other sites

  • 2 weeks later...

.PVR is PowerVR format. Download official PowerVR tools and voilà

Link to comment
Share on other sites

Or use Magic.TXD and grab the iOS version of LCS, since you can import those into Magic.TXD.

Link to comment
Share on other sites

@Ash_735 I tried using Magic.TXD, and I have the IOS version, and it wont open.

 

Just gives me an error D:

Edited by deltaCJ
Link to comment
Share on other sites

I'm desperately waiting for .pvr :D

At the moment Stories chk format is a problem I am worcking at, to be more precise swizzled 32 bit textures used by LCS is a real problem.

  • Like 3
Link to comment
Share on other sites

hmm, are 32bpp textures exist in Stories CHK at all? Never noticed ones before.

Like The Hero said there for example colt45.chk and golfclub.chk, but existance of 32 bit textures is not a problem, the problem is that they are swizzled, and there are no unswizzling algorithms known for such textures.

Link to comment
Share on other sites

magic.txd handles them fine. So technically you have code for it.

 

Thats true, but unfortunatelly finding that unswizzling algorithm inside magic.txd code is a huge problem.

Link to comment
Share on other sites

  • 3 weeks later...
Igor Bogdanoff

crashes when converting over 70 files. (and i need to convert like 4500 :D)

Link to comment
Share on other sites

crashes when converting over 70 files. (and i need to convert like 4500 :D)

Can you explain more precise that crash? Is there some error mesage?
Link to comment
Share on other sites

Igor Bogdanoff

Sometimes yes, sometimes no

 

also it crashes sometimes on exact files like
ammo_scatter.nft

Barr01_Switch.nft

Link to comment
Share on other sites

Sometimes yes, sometimes no

 

also it crashes sometimes on exact files like

ammo_scatter.nft

Barr01_Switch.nft

Could you also post some of the error mesages?

Link to comment
Share on other sites

Igor Bogdanoff

Um, it just straight crashes or
HTHkorD.png

Link to comment
Share on other sites

Um, it just straight crashes or

HTHkorD.png

OK, thanks. That "Neotpovida" means not responding in your language, right?

All nft files are from PC, right?

Edited by cj2000
Link to comment
Share on other sites

Igor Bogdanoff

Yes and yes

Link to comment
Share on other sites

Yes and yes

Have you tried to convert only the other files?

Link to comment
Share on other sites

Igor Bogdanoff

Well yes, but it would get stuck again, only few files later.

Link to comment
Share on other sites

Well yes, but it would get stuck again, only few files later.

Strange, I took a look at that 2 files and the problem with ammo_scatter.nft should be fixed soon, but Barr01_Switch.nft seems to be corrupted, it lets nifscope also crash.

  • Like 1
Link to comment
Share on other sites

Igor Bogdanoff

Maybe there is memory leak, or more files has same corruption, so when you fix one bug (like ignore the corrupt files somehow), it could fix for more files.

Link to comment
Share on other sites

Maybe there is memory leak, or more files has same corruption, so when you fix one bug (like ignore the corrupt files somehow), it could fix for more files.

Seems you are right about memory leak. The first file (ammo_scatter.nft) can now be converted without problem, but the other one is corrupted in many places, so don´t see any way to convert it. Your buggreport was really helpfull.

The improoved version can be downloaded here.

Edited by cj2000
  • Like 1
Link to comment
Share on other sites

Igor Bogdanoff

Nice. It works now! (but gui freezes after few files, but the conversion continues, maybe ability to use command prompt?)

Also the hosting server is pretty bad, slow, have to wait long and fill in captcha. The Hero could host it on his.
edit:
"difuse only" option should skip these purple textures, if i get it right
vLKJpdM.png

seems like it's not working with some txds like the one I posted (g_mip_trees)

Edited by Tomasak
Link to comment
Share on other sites

Command prompt is a bad idea, as it would crash while handling so many files. The solution is multithreding, but this is something problematic with C++. The GUI API has multithreading suport, so the tool could work even faster on multicore PCs, as more then 1 file could be converted at the same time.

Edited by cj2000
Link to comment
Share on other sites

Command prompt is a bad idea, as it would crash while handling so many files. The solution is multithreding, but this is something problematic with C++. The GUI API has multithreading suport, so the tool could work even faster on multicore PCs, as more then 1 file could be converted at the same time.

literally what

Link to comment
Share on other sites

Igor Bogdanoff

with cmd support you could batch conversion. like i do with The Hero's convdff.

for %i in (*.dff*) do convdff %i %i.new

(this will convert all files one by one)

Edited by Tomasak
Link to comment
Share on other sites

with cmd support you could batch conversion. like i do with The Hero's convdff.

for %i in (*.dff*) do convdff %i %i.new
(this will convert all files one by one)

But for avarage user it's still complikated.

Edited by cj2000
Link to comment
Share on other sites

"difuse only" option should skip these purple textures, if i get it right

vLKJpdM.png

 

seems like it's not working with some txds like the one I posted (g_mip_trees)

Yes such files are problematic with "difuse only" option. If the option is activated the tool ignores all textures which names ends with _char where char!='d', so all texturenames ending with _s or _n are ignored.

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

And here the tool converting Manhunt 2 tex files to txd.

Edited by cj2000
  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.