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

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

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

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

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. 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. News

    2. Forum Support

    3. Site Suggestions

The_GTA

[REL/OpenSrc] Magic.TXD

Recommended Posts

j7n

If I take a transparent texture with fine lines, such as a wire mesh fence, and generate mip-map for it, the smaller mips are very faint and the fence fades into invisible a short distance from the camera. While driving I don't see the fence until up close, just the frames. The fade and suppression of aliasing are nice. What is the explanation and workarounds for that? I suspect it has to do with gamma and the alpha channel being black.

DXT5 or RGBA don't make a noticeable difference.

 

Edited by j7n

Share this post


Link to post
Share on other sites
guard3

If it has fine lines, I don’t see any reason to use mipmaps, since when you scale that particular image down, detail loss and extra transparency is inevitable

Share this post


Link to post
Share on other sites
j7n

The expectation was for the fence to lose detail and turn into a grey wall (like the roof of Cranberry station) that reveals its structure as I get closer. But I see it doesn't work that way, and lightly opaque areas are not rendered at all.

 

One more question. Are there known issues with replacing a DXT1 texture with a BGRA 888 one (directly upconverted in Manipulate)? They do show up fine and have good color resolution in distance, but I am getting freezes and crashes occasionally since I did that and approach the objects. I only replaced a few and the memory use shouldn't increase much at a given time.
 

Share this post


Link to post
Share on other sites
j7n

I solved the problems by identifying images I had accidentally included with "damaged" mipmaps (they cause freeze and are worse than "zero-sized"), and using the gamma adjustment in Nvidia Texture Tools in Photoshop.

A gamma slider would be a good addition to this program. Perhaps one slider for color and another one for alpha (even if it is not technically correct to have it, it can help making distant objects visible).

Nvidia Texture Tools seems to be only good for images that have a generous bleed of the texture into the invisible area, otherwise the dowsampling mixes in color from the invisible pixels (black or white), and there is no way to mark alpha as premultiplied in the export and it gets applied twice.

Share this post


Link to post
Share on other sites
Jamasen

I would not have been able to make my mod without this tool.

I can't thank you enough!

Share this post


Link to post
Share on other sites
djdarko

Thank you! I thought I was going nutz trying to figure out why some images were corrupt after exporting from TXD Workshop!

Share this post


Link to post
Share on other sites
cj2000
4 hours ago, BillyBadass said:

Thank you! I thought I was going nutz trying to figure out why some images were corrupt after exporting from TXD Workshop!

Yes TXD Workshop had that strange bugs and the developer of TXD Workshop have never fixed them, think this is the main reason Magic TXD is so popular now.

Share this post


Link to post
Share on other sites
6Four9

[ASK] is there a feature to correct DFF's texture and TXD's texture like TXDWorkshop has (dff check) ?

just wondering if i didnt check all the tool bar carefuly.

Share this post


Link to post
Share on other sites
gts.
27 minutes ago, 6Four9 said:

[ASK] is there a feature to correct DFF's texture and TXD's texture like TXDWorkshop has (dff check) ?

just wondering if i didnt check all the tool bar carefuly.

No.

Share this post


Link to post
Share on other sites
Maxwell_Edison

Any possibility we can get a mass import tool rather than just export?  I wanted to modify a lot of images and add them all back in.  Kinda difficult to do that in it's current state.

Share this post


Link to post
Share on other sites
Inadequate
6 hours ago, Maxwell_Edison said:

Any possibility we can get a mass import tool rather than just export?  I wanted to modify a lot of images and add them all back in.  Kinda difficult to do that in it's current state.

Use Magic.TXD Builder for that task.

Share this post


Link to post
Share on other sites
Maxwell_Edison
On 4/22/2019 at 5:39 PM, Inadequate said:

Use Magic.TXD Builder for that task.

This is not at all what I want.  I have an existing TXD and I want to modify many textures than import them all to said TXD.  This over-writes the entire TXD.  

 

If i say take out half the images in a txd, and modify them, I can't figure out how to put them back into the TXD.  Using that builder simply deletes everything except what i'm over-writing, its annoying, and also seems limited in many other ways.   

Share this post


Link to post
Share on other sites
Blackbird88
Posted (edited)
57 minutes ago, Maxwell_Edison said:

This is not at all what I want.  I have an existing TXD and I want to modify many textures than import them all to said TXD.  This over-writes the entire TXD.  

 

If i say take out half the images in a txd, and modify them, I can't figure out how to put them back into the TXD.  Using that builder simply deletes everything except what i'm over-writing, its annoying, and also seems limited in many other ways.   

Then extract everything and overwrite that with your changes and build new TXD?

Edited by Blackbird88

Share this post


Link to post
Share on other sites
Maxwell_Edison
On 4/28/2019 at 3:20 PM, Blackbird88 said:

Then extract everything and overwrite that with your changes and build new TXD?

 

Except then all the settings aren't there.  As in, the compression levels and such.  If I have say 100 images in a TXD I now have to manually re-set their compression level and such.  

 

This program just seems kinda ill-conceived when it takes considerably more time just to add more than one image.  Even if you use the replace button it over-writes the previous settings the image had so replacing textures is just such a pain in the ass even for one, I do not get it.

Sorry, I was talking about the original txd* tool.  Yeah I guess that could work with this builder-thing, but it's still stupid I have to download a seperate tool to do a single simple task any other tool would probably have by default

Share this post


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

Dude, it can, that's what the rwtex format is, extract all textures as that and it's a perfect copy of the image Inc its mipmaps, compression settings, etc. 

 

Then once they're exported you can highlight whatever ones you want right click, BUILD TXD. 

 

Edit: @Maxwell_Edison

Edited by Ash_735

Share this post


Link to post
Share on other sites
Maxwell_Edison
9 hours ago, Ash_735 said:

Dude, it can, that's what the rwtex format is, extract all textures as that and it's a perfect copy of the image Inc its mipmaps, compression settings, etc. 

 

Then once they're exported you can highlight whatever ones you want right click, BUILD TXD. 

 

Edit: @Maxwell_Edison

Can programs like photoshop /open/ rwtex?  Because if not, then that's pretty damn useless.  A file I can extract, and build into a perfect replica of the .txd I had!  Woohoo.  Now, if I want to modify a bunch of textures and not have to spend a ton of time putting each one individually back in, I'm still screwed in that exact same way.  :) 

Share this post


Link to post
Share on other sites
cj2000
Posted (edited)
On 4/28/2019 at 8:22 PM, Maxwell_Edison said:

This is not at all what I want.  I have an existing TXD and I want to modify many textures than import them all to said TXD.  This over-writes the entire TXD.  

 

If i say take out half the images in a txd, and modify them, I can't figure out how to put them back into the TXD.  Using that builder simply deletes everything except what i'm over-writing, its annoying, and also seems limited in many other ways.   

Posibly this small tool, I wrote could help you. The tool was writen exactly for that purpose.

Edited by cj2000

Share this post


Link to post
Share on other sites
Ash_735
Posted (edited)
2 hours ago, Maxwell_Edison said:

Can programs like photoshop /open/ rwtex?  Because if not, then that's pretty damn useless.  A file I can extract, and build into a perfect replica of the .txd I had!  Woohoo.  Now, if I want to modify a bunch of textures and not have to spend a ton of time putting each one individually back in, I'm still screwed in that exact same way.  :) 

Then use DDS and the builder! Have the builder on one side to create a dummy TXD of your edited textures, then you can export those as rwtex and merge with the rest. You're trying to overcomplicate things here man :p

 

Edit: and just to confirm, the builder will ignore any options ticked if you use DDS files as it will pack with whatever compression/format you export those as, and yes DDS is a format that can be exported from most image editors. 

 

You literally have complete control of formats when using both tools. 

Edited by Ash_735

Share this post


Link to post
Share on other sites
2017bizarresummer

I have a problem, whenever I want to open Magic.TXD (through a .txd file or by the executable) the process gets stuck from like a minute and later stops, so the program isn't opening. Anybody knows how to fix this?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


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