Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      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

TXD Workshop 3.4 BETA 2


[enforcA]
 Share

Recommended Posts

hi there and hi Delfi

 

i have something that might or might not be important but i wanted to let you know, you know that sometimes (or mostly always(?)) the game freezes when you edit a *.txd texture via TXD Workshop 3.4 BETA 2, ok? so i took a look with hex workshop on the edited and unedited *.txd file and there was one thing that was (always(?)) missing, the last lines of the code, i make an example:

 

original unedited Player/sneakerprowht.txd *.txd file:

 

goes from address 0x00000000 to 0x00004800

 

with TXD Workshop 3.4 BETA 2 edited Player/sneakerprowht.txd *.txd file:

 

goes only from address 0x00000000 to 0x000040A8

 

when testing it in-game the game will freeze

 

now i added the last missing lines to the edited *.txd file, tested it in-game and what happened? the game did run just perfect like it should, so i don't know but maybe it helps you with your great TXD Workshop tool

 

please reply on this so that i get feedback if it helped you

 

greetings from germany and sorry that i couldn't describe it better in english

Edited by [enforcA]
Link to comment
Share on other sites

Warlord2005

Nice find there it actualy works biggrin.gif

 

user posted image

Edited by Warlord2005
Link to comment
Share on other sites

hey can anyone point me in direction of the 3.4 beta 2

and do new textures work in game now?

Link to comment
Share on other sites

Warlord2005

 

Gtatools here u can get it but remember u cant replace every texture cuz its still unstable but it wont take that loong untill next version is out whit the help Delfi got from [enforcA]

Link to comment
Share on other sites

' date='Jun 18 2005, 15:24'] original unedited Player/sneakerprowht.txd *.txd file:

 

goes from address 0x00000000 to 0x00004800

 

with TXD Workshop 3.4 BETA 2 edited Player/sneakerprowht.txd *.txd file:

 

goes only from address 0x00000000 to 0x000040A8

i don't understand, are there missing bytes or size mismatch or something?

 

all saved files parse with steve's rw analyse just nicely

so they shouldn't have any bytes missing..

 

send me the original, edited and fixed version of file and i'll have a look.

 

Currently working on Top Down City Game, a classics top down game similar to GTA1 & GTA2: 

 

Thread Info: https://gtaforums.com/topic/911312-new-game-top-down-city/

Youtube channel: https://www.youtube.com/channel/UCxGfOh3ld7Xm-ic3KEMB6iA 

Discord: https://discord.gg/UXmDPzS - join #bridge channel 

Link to comment
Share on other sites

,Jun 18 2005, 15:24] original unedited Player/sneakerprowht.txd *.txd file:

 

goes from address 0x00000000 to 0x00004800

 

with TXD Workshop 3.4 BETA 2 edited Player/sneakerprowht.txd *.txd file:

 

goes only from address 0x00000000 to 0x000040A8

i don't understand, are there missing bytes or size mismatch or something?

 

all saved files parse with steve's rw analyse just nicely

so they shouldn't have any bytes missing..

 

send me the original, edited and fixed version of file and i'll have a look.

yes, there are missing bytes at the end of the (edited) txd file, it's just empty content that is missing, but in the past it showed that this empty part is important

 

by adding this part to the edited txd file (by using a hex editor) the game won't crush, the textures work perfect, just everything works fine..

 

some textures don't need to get fixed because they don't end with this empty part (for example: ..\models\txd\LOADSCS.txd) but most (or nearly all?) in-game textures do end with this empty part

 

but take a look at this for yourself, like you wanted it:

 

http://www.venylsrecords.com/private/gtasa/pc/txd.zip

 

the *.zip includes the unedited original of the txd, the edited txd and the fixed txd

 

the used *.bmp image (saved with photoshop)

 

and an example that shows that it worked just fine in-game

 

the txd i used as example was denimsgang.txd from player.img

 

..

 

so, i hope this helps you, and thanks for your feedback

Link to comment
Share on other sites

word it works. copy and paste the 00's at the end of the file.

 

user posted image

 

- MiLO83 ph34r.gif

 

Edit : Original file as saved in TXD Workshop didn't work.

Edited by MiLO83
Link to comment
Share on other sites

that is vierd, are you sure it is not the img editor's problem that cuts data away? which img editor did you use? it makes little sense that this would break it, maybe the img

editor doesn't correctly allocate padding data and contains garbage, can you edit, save

without fixing, import and then re-export this same txd from the img please?

 

it would clear things up better, i think it is img editor problem.

 

 

Currently working on Top Down City Game, a classics top down game similar to GTA1 & GTA2: 

 

Thread Info: https://gtaforums.com/topic/911312-new-game-top-down-city/

Youtube channel: https://www.youtube.com/channel/UCxGfOh3ld7Xm-ic3KEMB6iA 

Discord: https://discord.gg/UXmDPzS - join #bridge channel 

Link to comment
Share on other sites

 

that is vierd, are you sure it is not the img editor's problem that cuts data away? which img editor did you use? it makes little sense that this would break it, maybe the img

editor doesn't correctly allocate padding data and contains garbage, can you edit, save

without fixing, import and then re-export this same txd from the img please?

 

it would clear things up better, i think it is img editor problem.

ah .. you are right!!

 

i know the problem yet:

 

i tested it with both img editors (img tool and ultimate editor, both newest versions of it)

 

i did exactly what you said

 

here is what happened:

 

(side note: i did not manipulate the edited txd files with hex editor)

 

img tool:

 

- it exported the txd with empty ending (it had the correct size of the empty ending)

- i edited and saved the txd with txd workshop, it saved the txd without empty ending

- i imported it with img tool and exported the txd again, the txd got the needed empty ending (it had the correct size of the empty ending)

 

the img tool worked fine and the file size of the img file didn't change

 

ultimate editor:

 

- it exported the txd with empty ending (it had the correct size of the empty ending)

- i edited and saved the txd with txd workshop, it saved the txd without empty ending

- i imported it with ultimate editor and exported the txd again, the txd got an empty ending but the size of this empty ending was at least doubled (so the empty ending had an incorrect size), also i noticed that the ultimate editor needed much more time to re-export the edited txd

 

the ultimate editor didn't work fine, the file size of the img file increased from edit to edit, that's also the reason why my player.img file has now a size of over 120 mb

 

....

 

so the problem is or might be the ultimate editor, but i have to say something to this case, when i installed it, it asked me 2 times if i want to keep my *.dll file because the dll file that came with ultimate editor was "not newer" than the version i have already of this dll file, so i kept my newer dll file, all together it were 2 dll files that brought up this ("not newer... want to keep?..") message, maybe it has to do with this 2 dlls, i don't know, but i don't want to test it

 

also i am wondering why the img editors add those empty content to the txd file and not the txd editors?!? for me it would make more sense if the txd editors would write this empty end to the edited txd files, because if you extract an original txd file, it also has the empty content at the end

 

greetings from germany, i hope that my description is understandable^^

 

edit:

 

i also tested it in-game with both versions of an edited txd,

 

version 1 = edited txd saved with txd workshop

version 2 = edited txd saved with txd workshop and edited with hex workshop (by adding the empty content at the end of the file)

 

both versions just run perfect with "img tool v2", the img tool seems to have no problems with "if there is the empty content at the end of the txd or not", it just runs fine in-game, so it seems to me that there is no more need for editing the edited txd with the hex editor, if you use the "img tool v2"

 

thank you very much delfi for clearing this up

 

final test results:

 

- problem is caused by the "ultimate editor"

- if you use "img tool v2", you don't have to fix/edit the edited txd with hex workshop, you can, but you don't need to do this, both works with img tool

Edited by [enforcA]
Link to comment
Share on other sites

just as i expected, it was suspicious and vierd that adding useless data to the end

of file would make it work because it had made no sense, obviously ultimate editor

has a bug with file internal data alingment, the empty space after end of file comes

from img files where all data is aligned and padded to zeroes to every 2048 bytes.

 

report the bug to gta:UE people, they must fix it.

 

Currently working on Top Down City Game, a classics top down game similar to GTA1 & GTA2: 

 

Thread Info: https://gtaforums.com/topic/911312-new-game-top-down-city/

Youtube channel: https://www.youtube.com/channel/UCxGfOh3ld7Xm-ic3KEMB6iA 

Discord: https://discord.gg/UXmDPzS - join #bridge channel 

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.