Quantcast

Jump to content

» «
Photo

[REL/OpenSrc] Magic.TXD

309 replies to this topic
Ash_735
  • Ash_735

  • Members
  • Joined: 15 Nov 2005
  • None
  • Best Newsletter 2017 [GTAF Weekly]
    Contribution Award [GTAF Weekly]
    Contribution Award [Mods]
    Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#301

Posted 17 November 2017 - 12:12 PM

It's a good thing you uploaded examples, it's normally just header differences between games, yes Magic.TXD can read other games but it needs to know what to look for in the header. What game is this by the way?

RacingFreak
  • RacingFreak

    Grand Theft Auto III Beta

  • Members
  • Joined: 26 Apr 2011
  • Taiwan

#302

Posted 17 November 2017 - 12:42 PM Edited by RacingFreak, 17 November 2017 - 12:44 PM.

The game is AirBlade.

 

Strange, MagicTXD should perform unswizzling, like it does for GTA PS2 textures.

 

In the case of this game it does, but not for all textures. I sent samples of ones that Magic.TXD fail to unswizzle.

PS
Link updated to include another 512x256 sample.


The Hero
  • The Hero

    Into TheGame!!!

  • Feroci
  • Joined: 25 Jan 2005
  • Germany
  • Best Total Overhaul 2017 Contribution [GTA: Underground]
    Most Helpful Modding 2016 [Honorable Mention]
    Best Script or Plugin 2016 [SkyGfx]
    Contribution Award [Mods]

#303

Posted 17 November 2017 - 03:25 PM Edited by The Hero, 17 November 2017 - 03:25 PM.

The thing is that the version of these TXDs ist the same as the ones from III, i.e. 3.1.0. So magic.txd actually *should* have no problem reading them. Unfortunately the actual 3.1.0 code is rather hard to reverse and slightly differs from later versions (3.5 is a lot easier to reverse because there is a build for x86). But PS2 rasters are pretty hard to understand so it's no wonder we need some more research :)

ghostandme
  • ghostandme

    Player Hater

  • Members
  • Joined: 19 Oct 2017
  • Vietnam

#304

Posted 24 November 2017 - 03:54 PM Edited by ghostandme, 24 November 2017 - 04:13 PM.

I used mode "mass conversion" and tick "compress textures"
file "vehicles.txd" of gta san
after that I couldn't load "new game" and "save game"
the game loads half, then the error message "has stopped working"
game works well if I don't tick "compress textures" in "mass conversion" mode
bonus: "player.img" file too

DK22Pac
  • DK22Pac

  • Feroci
  • Joined: 12 Apr 2009
  • Ukraine
  • Best WIP Mod 2014 [Grand Theft Auto 3D Contribution]
    Contribution Award [Mods]
    Helpfulness Award [Mods]

#305

Posted 24 November 2017 - 06:15 PM

I used mode "mass conversion" and tick "compress textures"
file "vehicles.txd" of gta san
after that I couldn't load "new game" and "save game"
the game loads half, then the error message "has stopped working"
game works well if I don't tick "compress textures" in "mass conversion" mode
bonus: "player.img" file too

In GTA San Andreas, some textures are used to generate new textures, by performing a pixel-by-pixel copying. This copying algorythm works only for 32-bit uncompressed RGBA textures.
This applies to player.img textures and grunge texture in vehicle.txd.
  • Ash_735 and ghostandme like this

Ash_735
  • Ash_735

  • Members
  • Joined: 15 Nov 2005
  • None
  • Best Newsletter 2017 [GTAF Weekly]
    Contribution Award [GTAF Weekly]
    Contribution Award [Mods]
    Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#306

Posted 24 November 2017 - 06:38 PM

Good rule of thumb, if something was left as uncompressed by default, leave it uncompressed.
  • ghostandme likes this

ghostandme
  • ghostandme

    Player Hater

  • Members
  • Joined: 19 Oct 2017
  • Vietnam

#307

Posted 28 November 2017 - 02:06 PM Edited by ghostandme, 28 November 2017 - 03:29 PM.

In GTA San Andreas, some textures are used to generate new textures, by performing a pixel-by-pixel copying. This copying algorythm works only for 32-bit uncompressed RGBA textures.
This applies to player.img textures and grunge texture in vehicle.txd.

Which file should be compressed and not compressed on GTA3?

https://youtu.be/wZyCQGPHg6w?t=1m41s

generic

gta3.img

misc.txd

particle.txd


theundeadsoldier
  • theundeadsoldier

    I love gta and bully nothing else to say

  • Members
  • Joined: 04 Jun 2017
  • Argentina

#308

Posted 4 days ago

nice tool it's very useful

 

a little request if you can make it possible.

 

can you add support for the bully schoolarship edition wii .txd files? 

 

here's a file of the bully from wii version http://www.mediafire...PRH3_Justin.txd


cj2000
  • cj2000

    Homie

  • Members
  • Joined: 17 Jun 2008
  • None
  • Best Total Overhaul 2017 [GTA: Underground]
    Best Conversion 2016 [GTA: Underground]

#309

Posted 3 days ago

nice tool it's very useful

 

a little request if you can make it possible.

 

can you add support for the bully schoolarship edition wii .txd files? 

 

here's a file of the bully from wii version http://www.mediafire...PRH3_Justin.txd

The format seems to be similar to Manhunt 2 or Stories Formats, but using big endian. Exept the txd ending it seems to have nothing comon with RW txd format.


theundeadsoldier
  • theundeadsoldier

    I love gta and bully nothing else to say

  • Members
  • Joined: 04 Jun 2017
  • Argentina

#310

Posted 20 hours ago

 

nice tool it's very useful

 

a little request if you can make it possible.

 

can you add support for the bully schoolarship edition wii .txd files? 

 

here's a file of the bully from wii version http://www.mediafire...PRH3_Justin.txd

The format seems to be similar to Manhunt 2 or Stories Formats, but using big endian. Exept the txd ending it seems to have nothing comon with RW txd format.

 

I guess so, a well known youtuber related to bully deadpool also told me the txd of wii bully were Big endian I just hope THE_GTA can make them supported in magictxd because im working in a project related to wii bully and i only can get the textures with dumping them with dolphin and some times it's impossible to find or know which texture belong to the model you want to add them





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users