Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. News
      2. Red Dead Online
      3. The Armadillo Inn
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Site Suggestions

cj2000

R* texture converter

Recommended Posts

cj2000

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.

Share this post


Link to post
Share on other sites
deltaCJ

I'm desperately waiting for .pvr :D

Share this post


Link to post
Share on other sites
guard3

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

Share this post


Link to post
Share on other sites
Ash_735

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

Share this post


Link to post
Share on other sites
deltaCJ

@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

Share this post


Link to post
Share on other sites
cj2000

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.

Share this post


Link to post
Share on other sites
MAJEST1C_R3

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

Share this post


Link to post
Share on other sites
The Hero

Yes. check the colt or golfclub txds.

Share this post


Link to post
Share on other sites
cj2000

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.

Share this post


Link to post
Share on other sites
The Hero

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

Share this post


Link to post
Share on other sites
cj2000

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.

Share this post


Link to post
Share on other sites
George Costanza

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

Share this post


Link to post
Share on other sites
cj2000

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?

Share this post


Link to post
Share on other sites
George Costanza

Sometimes yes, sometimes no

Β 

also it crashes sometimes on exact files like
ammo_scatter.nft

Barr01_Switch.nft

Share this post


Link to post
Share on other sites
cj2000

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?

Share this post


Link to post
Share on other sites
George Costanza

Um, it just straight crashes or
HTHkorD.png

Share this post


Link to post
Share on other sites
cj2000
Posted (edited)

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

Share this post


Link to post
Share on other sites
George Costanza

Yes and yes

Share this post


Link to post
Share on other sites
cj2000

Yes and yes

Have you tried to convert only the other files?

Share this post


Link to post
Share on other sites
George Costanza

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

Share this post


Link to post
Share on other sites
cj2000

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.

Share this post


Link to post
Share on other sites
George Costanza

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.

Share this post


Link to post
Share on other sites
cj2000
Posted (edited)

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

Share this post


Link to post
Share on other sites
George Costanza
Posted (edited)

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

Share this post


Link to post
Share on other sites
cj2000
Posted (edited)

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

Share this post


Link to post
Share on other sites
Silent

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

Share this post


Link to post
Share on other sites
George Costanza
Posted (edited)

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

Share this post


Link to post
Share on other sites
cj2000
Posted (edited)

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

Share this post


Link to post
Share on other sites
cj2000

"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.

Share this post


Link to post
Share on other sites
cj2000

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

Edited by cj2000

Share this post


Link to post
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

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

×

Important Information

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