Giter VIP home page Giter VIP logo

gtautil's People

Contributors

indilo53 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gtautil's Issues

Naming is being ordered incorrect.

So after hours of thinking, I did something wrong I figured out that the way the names are sorted and then complied is wrong.
The program is ordering them like this: https://media.discordapp.net/attachments/571850097260888075/593145245059776512/unknown.png
Instead of this:
https://media.discordapp.net/attachments/571850097260888075/593145310575067140/unknown.png
Which is why the models to numbers are mismatched

NOTE: I know the program I am using in the pictures is not this but I am just using it to show you what it is doing. I know this due to checking the output of GTAutil vs. the program about renaming, the first picture is what GTAUTIL is doing rn.

FiveM: Resource Deletes Native Hats & Matching wrong .ydd file with .ytd

BUG 1: Resource Deletes All Native Hats That Aren't In mp_m_freemode_01 DLC

Essentially what happens is after I start streaming all my addon-clothes, all of them work perfectly fine and reserved slots are working correctly too, however what happens is that 90% of all native in-game hats that should be there from complete beggining are missing (all hats that should be there after the reserved spaces end). Once I try to put them on, nothing happens, just like if you try to select reserved slot (no hat).

The reason why I know that addon streaming is causing it, is because if I try to go in the server without starting the resource for addon clothing, all the previously missing hats are there.

BUG 2: Mathing Wrong .ydd with .ytd

After some further testing and trying, I also found out that once I go above number 10 in .ydd files, and try to compile entire thing for FiveM, the gtautil software start putting wrong .ydd files wrong textures.
For Example:

In source folder I have:

0/0.ytd, 1.ytd, 2.ytd
0.ydd
. . .
9/0.ytd (Folder with files)
10/0.ytd, 1.ytd (Folder with files)
9.ydd
10.ydd

Once I compile this, it starts putting all the .ydd files from number 1 till the very last one with wrong .ytd textures. I haven't found any pattern yet on how it choses, however not one model has the correct texture (Example: 9.ydd is matched with textures from folder 3, 2.ydd is matched with folder 8, etc...).

UPDATE:
Second bug with matching wrong .ydd files occured because I was on the wrong version of gtautil. I was using 2.2.2.0, while the newest version with fix was 2.2.2.5.

However now I'm experiencing a new bug (Honestly, can't they just leave me alone already xD), where my ped's hair is literally sticking out of the hat.
20190708104205_1

INFO:

GTAUTIL Version: 2.2.2.5
Windows Version (not sure if it's relavante): Windows 10

Illegal Characters error with over 27 ytd's

D:\CMGFiveM\WiP17\Harrods>gtautil genpeddefs --input project --output build --reserve 200 --reserveprops 200 --fivem
Loading cache
Loading DLC list
Loading file tree
project\mp_m_freemode_01

Unhandled Exception: System.ArgumentException: Illegal characters in path.
at System.IO.LongPathHelper.Normalize(String path, UInt32 maxPathLength, Boolean checkInvalidCharacters, Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at GTAUtil.Program.GenPedDefs_CreateComponentFiles_FiveM(GenPedDefsOptions opts, String targetFileName, KeyValuePair2 entry, Int32 textureCount) at GTAUtil.Program.<>c__DisplayClass27_0.<HandleGenPedDefsOptions>b__0(GenPedDefsOptions opts, GenericOptions gOpts) at GTAUtil.CommandLine.Parse[T](String[] args, Action2 callback)
at GTAUtil.Program.Main(String[] args)

Getting that error when importing over 27 ytd's, figured it out because 26 is fine then add one more and you get this error. Also tried different 27th ytd's and same issue.

Problem

In powershell I get an error:
gta : The term 'gta' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s
pelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • gta util find --position 441,-983,30
  •   + CategoryInfo          : ObjectNotFound: (gta:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

Error in RPF7 file entry

Whenever I try and archive a file these messages come up and do not allow me to archive or fix them.
Screenshot_1

GTAUtil wont start/crash

When I try to start GTAUtil.exe it automatically crashes... help cuz I just payed for Patreon and I don't want my money go for stupid s'''t

[Issue] Add-On hats clip with hair styles

image

The Util gets everything streamed properly but add-on hats are clipping through hair styles.

I have tried setting reserve slots to various numbers (0, 1, and 100) and nothing seems to resolve the issue.
In fact, when I tried setting it to 100 it made all my hair styles disappear.

Has anyone resolved this or figured out a solution?

crash on started fivem in local after generate

[Window Title]
Erreur FiveM_b2189_GTAProcess.exe+5BEFD9

[Main Instruction]
FiveM has encountered an error

[Content]
<> Pool Full, Size == 75500 (you need to raise <> PoolSize in common/data/gameconfig.xml)

Fix feet to high-heeled shoes

Hi, I had some models of women's high-heeled shoes on my server as a replacement for other shoes, and now I'm using gtautil to turn them into an add-on, but when they are added to the game the foot stays on the floor, without inclination.
feet_0

Someone said to me: change set the last number under hash_07AE529D to 1

But there are many hashes here, I tried to isolate by creating an export containing "feets" but I still couldn't identify the differences between them and other parts of clothes.

Any help about this?

Tks

Original hats/helmets dissapeard

Hey all, since I added some clothing with gtautil, all my hats/helmets from gta passed slot 16 disapered, I reserved 200 so in all slots after 200 I have the rest of the vanilla stuff but for helmets its empty. What could be the issue ?

[FiveM] Addon vehicles .yft and .ytd files corrupted "address is neither virtual nor physical"

So, hi.
I used this tool to auto generate resources for FiveM server from GTA V .rpf files like addon cars.
When I extracted addon car's "dlc.rpf" archive via this tool and make FiveM car resource from those files, car crashes client when spawned, giving this error.

image
error

In contrast that doesn't happened when I used OpenIV to extract car archive and make resource in this same way. So I decided to see what's different between these files. I picked first two files, one from OpenIV extraction and second from GTAUtil extraction and compare them in HxD, so I can see differences between them.
And this is what I saw at first pair of files ( car.yft ):
f8t yft
And second pair of files: ( car.ytd ):
f8t ytd

In each of these pair fourth byte is corrupted. GTAUtil pass there 7, when desired is 37.
When I changed this single byte in each of files in stream folder, everything works as well and car is loading correctly.

Clothing file only putting some of my clothes in game, not all.

I’m having an issue for example I have 270 ydd for jbib, after I run the Cmd I put it in the game and my jbib only allows me to go to 87 then the regular gta clothes start popping up. I’ve changed the reserved props and components in the cmd to 300, I’ve also changed the json to match what I needed and it’s still not working. Any help?

Multiple Questions

I want to create ped definition files for mp freemode including ymt. I have done everything how it is described but my fivem resource is empty.
If i get it to work, will the default clothes be overritten by my custom clothes or are they addon clothes?

Issues with size and positioning of some clothing and ped after adding clothing/prop slots

Following the guide at this url:

https://forum.fivem.net/t/how-to-streaming-addon-clothes-and-ped-props-for-mp-freemode-models/458854

After doing this there are issues with sizing, positioning, and ped positioning for some of the items in question. There is obviously some part of the original game files that are not being shifted up when the build process adds new slots or that guide has missed something, or maybe Fivem just cannot stream that portion of the data.

This is particularly noticeable on women's shoes, but I am sure affects more than just that.

Inssus about the mp_f_freemode_01.override

we have set

"accs": {
"start": 56,
"end": 56
},

but he start always @ 22 how can we passe thet 56 the names im right with the right number its look like he ignor mp_f_freemode_01.override.json

Remove reserved slots added to fivem

I used GTAUltis and I might say is awesome but now I have a problem. It added 200 reserved slots for more clothes I belive. However it did shift many other clothes to display after the 200 empty slots so now I have some until 16 then its all blank and starts again at 200. If there was a way to remove this or at least make it right it would be awesome.

Reserved slots issue

Hi :)

How do I make it so that it appends the slots rather than prepends the DLC items?

Right now I want to add slots to the end of the selection rather than after a certain slot.

I've noticed there is an overrides JSON so would it be as simple as editing that and then renumbering the stream files?

Gtautil application

i can add clothes sometimes then my stream file deleted inside the folder and none of my files transfer to fivem ready

Docs Need To Include Limitations

I am trying to troubleshoot why most of the models in my clothing pack aren't showing up, and I am getting various errors that aren't explained in any of the docs. So far:

Not technically a limitation, but: the project folder needs to be in the same folder as GTAUtil for the example commands to work.

GTAV can only handle 127 items of clothing in a single #mt file, so you have to break up the ydd files into batches of that or less for things to work.

Also, each ydd can only have 26 or fewer ytd files associated with it. Any more, and you must copy the ydd to a new number to make room.

Are there more? I will edit as I troubleshoot.

Skin color not updated

When I pass the ydd and ytd inside gtautil, the skin is not updated anymore with the right colors. Is there anything to do for this?

image

Thanks

Shirt Accessories Bugging My Shirts.

I'm not 100% if this is a issue caused by gtautil but it only started happening since I've been using util, everything imports fine and correctly but for some reason the shirt accessories keep are making my shirts, sometimes shoes (depending on how for the little box that normally stay in the middle of your chest goes around my peds body) but mainly my shirts, if anyone knows a fix to this it would be much appreciated

image

How to extract update.rpf and recreate ?

Hi,
I have tried to unpack update.rpf file and just repack update.rpf for test. But my game crash when I use new update.rpf file.
I used these 3 steps
gtautil extractarchive --input update.rpf --output update

gtautil createarchive --input update --output updatenew --name update

gtautil fixarchive --input updatenew\update.rpf --recursive

It's create update.rpf file but game crash if I use that rpf

How can I do that please?

"Error in RPF7 file entry." for update.rpf

I get an error when I use gtautil to extract the update.rpf archive from the update folder.
Some files get extracted an then this exception is thrown.

Unhandled Exception: System.Exception: Error in RPF7 file entry.
   bei RageLib.GTA5.Archives.RageArchiveBinaryFile7.Read(DataReader reader)
   bei RageLib.GTA5.Archives.RageArchive7.ReadHeader(Byte[] aesKey, Byte[] ngKey)
   bei RageLib.GTA5.ArchiveWrappers.RageArchiveWrapper7.Open(Stream stream, String fileName, Boolean leaveOpen)
   bei GTAUtil.Program.<>c__DisplayClass6_0.<HandleExtractArchiveOptions>b__1(String fullFileName, IArchiveFile file, RageArchiveEncryption7 encryption)
   bei RageLib.GTA5.Utilities.ArchiveUtilities.ForEachFile(String fullPathName, IArchiveDirectory directory, RageArchiveEncryption7 encryption, ProcessFileDelegate processDelegate, ErrorDelegate errorDelegate)
   bei RageLib.GTA5.Utilities.ArchiveUtilities.ForEachFile(String fullPathName, IArchiveDirectory directory, RageArchiveEncryption7 encryption, ProcessFileDelegate processDelegate, ErrorDelegate errorDelegate)
   bei RageLib.GTA5.Utilities.ArchiveUtilities.ForEachFile(String fullPathName, IArchiveDirectory directory, RageArchiveEncryption7 encryption, ProcessFileDelegate processDelegate, ErrorDelegate errorDelegate)
   bei RageLib.GTA5.Utilities.ArchiveUtilities.ForEachFile(String fullPathName, IArchiveDirectory directory, RageArchiveEncryption7 encryption, ProcessFileDelegate processDelegate, ErrorDelegate errorDelegate)
   bei RageLib.GTA5.Utilities.ArchiveUtilities.ForEachFile(String fullPathName, IArchiveDirectory directory, RageArchiveEncryption7 encryption, ProcessFileDelegate processDelegate, ErrorDelegate errorDelegate)
   bei RageLib.GTA5.Utilities.ArchiveUtilities.ForEachFile(String fullPathName, IArchiveDirectory directory, RageArchiveEncryption7 encryption, ProcessFileDelegate processDelegate, ErrorDelegate errorDelegate)
   bei RageLib.GTA5.Utilities.ArchiveUtilities.ForEachFile(String fullPathName, IArchiveDirectory directory, RageArchiveEncryption7 encryption, ProcessFileDelegate processDelegate, ErrorDelegate errorDelegate)
   bei GTAUtil.Program.<>c.<HandleExtractArchiveOptions>b__6_0(ExtractArchiveOptions opts, GenericOptions gOpts)
   bei GTAUtil.CommandLine.Parse[T](String[] args, Action`2 callback)
   bei GTAUtil.Program.HandleExtractArchiveOptions(String[] args)
   bei GTAUtil.Program.Main(String[] args)

help please

so i followed a video on streaming the custom content to my fivem server and everything to go fine untill i put in the gtautil genpeddefs --input ClothingFiles --output CustomClothing --reserve 200 --reserveprops 200 --fivem then it comes up with this in the cmd Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'ClothingFiles\mp_f_freemode_01\components\hair\1\0.ytd'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at GTAUtil.Program.GenPedDefs_CreateComponentFiles_FiveM(GenPedDefsOptions opts, String targetFileName, KeyValuePair2 entry, Int32 textureCount) at GTAUtil.Program.<>c__DisplayClass27_0.<HandleGenPedDefsOptions>b__0(GenPedDefsOptions opts, GenericOptions gOpts) at GTAUtil.CommandLine.Parse[T](String[] args, Action2 callback)
at GTAUtil.Program.Main(String[] args)
please help im so confused

The clothes don't show up properly.

Hello, I created a pack of clothes for FiveM using gtautil, but if someone puts on clothes with a number greater than 127, nobody except him can see the clothes correctly. Instead you can see various other models of GTA V clothes.

I tried to change reserved slots in this order: 200, 400, 1000, 0. But it didn't work either.

Screenshots

Clothe with number 128

image

I'm invisible because of character editor script
image


Clothe with number 127

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.