Typical issues with FiveM (in my opinion)


Hello, I’m experienced modder, for sure with FiveM. In my account it is over two years work. I would like to raise a few issues but first if it is possible. I need help with streaming vehicle.meta from server side. I read so many topics and did tries a lot of ways. It is terrible!

I want to edit some values for vanilla vehicles (not add-on). After a lot of tries it seems we can’t stream vehicles.meta for vanilla car models. It works for add-on vehicles only.

So why i want to edit vanilla vehicles? It will be easier to add new vehicle as add-on version without collision code with existing vehicles in game.

Answer is simple. I want to add these vehicles into traffic but add-on vehicles don’t spawn on traffic, just vanilla vehicles can be. I replaced over 300 vehicles in my server because add-on version can’t spawn on traffic.

After all i hoped that in the future CitizenFX Collective release this opportunity streaming code for vanilla vehicles from server side. I’m waiting over one year and still it is impossible.

In addition this applies to other files, like carcols.meta caravations.meta gameconfig.meta visualsettings.dat
weather files like: w_clouds.xml or w_rain.xml
And scenarios (biggest pain), files like: downtown.ymt paleto_bay.ymt or vinewood.ymt

Of course for files listed above is possible to works with FiveM but from client side only ;(

For these who don’t know where to paste some files into client side

gameconfig.xml - FiveM.app\citizen\common\data
visualsettings.dat - FiveM.app\citizen\common\data
vehicles.meta - FiveM.app\citizen\common\data\levels\gta5
dispatch.meta (it pain) - FiveM.app\citizen\common\data
popcycle.dat (possible from server-side) - FiveM.app\citizen\common\data\levels\gta5
explosion.ymt - FiveM.app\citizen\platform\data\metadata
vehiclemodelsets.meta - FiveM.app\citizen\common\data\ai
weather.xml - FiveM.app\citizen\common\data\levels\gta5
carcols.ymt - FiveM\FiveM.app\citizen\platform\data
vfxvehicleinfo.ymt - FiveM.app\citizen\platform\data\effects

fx effect files like ‘firefx.dat’ or ‘decals.dat’ (possible from server-side) - FiveM.app\citizen\common\data\effects

weather files like ‘w_foggy.xml’ or ‘timecycle_mods_1’ - FiveM.app\citizen\common\data\timecycle

weather effects files like ‘blizzard_emitter_mist’ - FiveM.app\citizen\common\data\levels\gta5\weather

scenario files like ‘sandy_shores.ymt’ - FiveM.app\citizen\platform\levels\gta5\scenario

texture files like ‘water.ytd’ ‘skydome.ytd’ or ‘graphics.ytd’ (some textures are imposible streaming from server-side i have no idea what is happening!) - FiveM.app\citizen\platform\textures

topic that raises thread about dispatch.meta Stream Dispatch.meta
topic that raises thread about scenario files - Streaming / overriding scenario ymt

Another problem is limit, currently we can stream 16MB only. Topic that raises this thread - Increase yft / ytd stream limit to at least 40Mb
There is no point in writing more about this limit. there are enough complaints in the topic above.

And the last thread. Disappearing of textures. You can read more in my topic - [How to] fix disappearing of textures (partly)

My goal is very hard, otherwise is hardcore. I want to create very realistic traffic in my server. To better understand i will share for you one of seventeen table in excel which I and my friend creating for themselves to know what we changed in our server. Basically it is Database.
This is link: https://docs.google.com/spreadsheets/d/1RT1vSG-st6VTpg-YkKu3NB3AHpv5geu8UedUCraVpqk/edit?usp=sharing

Later i will share some screenshots from my server how traffic looks currently.

What do you think about all of this?
Share your opinion and what is your issues with FiveM?

Thanks you for read!
Regards, Ordenko



I actually went ahead and wrote a guide to overcome this earlier last year. Instead of compressing the textures, they can be split and the quality kept :slight_smile: [How-to] Split Vehicle YTD Files to Avoid 16Mb Stream Limit

1 Like


… load a custom popgroups?



And this only happens because even 16 MB compressed is already too big. You seem to want to have cake and eat it at the same time…



Do you ever tried add add-on vehicle models into popgroups.ymt ? Please don’t insult my knowledge about popgroups.ymt
It’s not working for add-on, just default vehicle models can be spawned ;(

If FiveM team did there any technical changes. I’m so sorry, last time i tested this about 2-3 months ago.

Look at my code in popgroups.ymt
link: https://pastebin.com/SaSvu48B

If i add “add-on” vehicle models into popgroups.ymt traffic doesn’t spawn ;/



Additionally i made another topic about spawning add-on vehicle models by popgroups.ymt
I wrote there that i solved this.
link: [SOLVED] Different traffic to Serverside - popgroups.ymt

Unfortunately entering “restart resource_name” command in server console is ineffective because after a few minutes traffic is broken and server could be crashed.



I could have expected that strange answer pff… Sorry man but this way is wrong. I know some information about network because i’m student IT. You have to know that streaming files over 16MB can be increase for client though. So the limit could be increased for the client not for server because it could be overloaded. I really understand your way of thinking.

but but… If any player will want have the same files in server ? ^^ How they are supposed to download the same content if we will install mods into client side, hmm

Regards, Ordenko



Since you’re experienced modder, make the necessary changes and create a PR for them. Everyone will benefit from it.



Hey, my friend very nice tutorial. I did similar way for some textures like ‘vehshare.ytd’ but [.yft] files is still impossible to split or downgrade yes?
And what about [.awc] files. I mean sounds files like ‘collision.awc’ or ‘weapons.awc’. Do you know how to split this? :slight_smile:

Thanks for your answer!
Regards, Ordenko



I’m not programmer yet. In the future, for sure but not at this moment. Don’t mock of me dude. When i wanted to write this topic, I knew that there would be such answers as always.



Maybe you should first reconsider your attitude towards the elements then, don’t you think? You dismiss their reasoning with you being “experienced modder” and “student IT” - as if that completely nullifies their reasoning.

You’ve made your bed, now lie on it… :roll_eyes:



It’s your interpret of my sentences. My english is still weak. However i don’t dismiss their reasoning. I just want understand the “limits” and want get any normal answer. Why it is so and not otherwise. That’s all.

Very sad is your thinking. You do not look further at what they can achieve. Only criticism!

Regards, Ordenko



And that isn’t dismissing it?

I mean, I’m all for if possible - the server being able to change the streaming limit. But I also wholeheartedly understand them setting a limit - if people were allowed to increase it, they’d break shit and come here and start complaining.

You have to kind of look at it from their perspective as well. If it’s stable keeping it at 16MB I agree it should be kept that way. After all, 16MB should be more than plenty to play around with.



Dude…Did you even try the same stuff to work in client/serverside like author of this post did? Anyone can judge for talking too much about things you don’t actually show. These issues raised in this topic are worth to be heard by anyone using FiveM. I’m also having similar problems and still looking for server-side support for them. I’m sure there are a lot of people who would like to have possibility to stream for example add-on sounds and many more. And well… Your arguments quoted from the author are quite bad you know. Cause if for example i was music producer it doesn’t mean i worked with biggest names in the industry. Now you get the point?



I’m glad we are understanding. Maybe a little bit I exaggerated in this sentence and it could were sounded like that.



And again: the 16mb limit of every file streamed. FiveM should give atleast opportunity for the people who really know what they are doing, since they take all responsibilities for such actions. There are plenty of ways how to warn players who join their server (for example: server name, social media etc.). Of course it’s normal that some random newbie will compain and spam topics with simple “how to add car model to server” and so on. There comes FiveM Wiki which has all the informations contained in the full database. But not all informations are clarified that’s why topics like this one should never be deleted even if someone give proper answer. That’s what forums are for. The issue about 16mb limit would not be important, if it was only for .ytd files. The real problem is that quite big amount of mods on the internet exceed this limit. For example .yft files attached from authors (how to fix that? you need to contact every author of this mod to make him change it in 3d software). Next one: maps (this is definitely too big size for FiveM rotfl). Third example: limit size for sounds streamed from server. It takes few seconds to show you some links from gta5-mods. Let’s say I want to have new weapons sounds (then again weapons.awc from authors have too big size). I don’t even want to think about adding my custom music to my server. You know…forcing people to have everything in client causes situations that they do something wrong and blame it doesn’t work. Did you think about that? :slight_smile:



They’re not obligated to do anything just because you, or anyone else think that they “should” do so.

It’s their modification, they spent a bunch of time and resources developing this mod for you to use for free. They’re fully within their rights to decide on what the limit should be.

Maybe people shouldn’t expect to change the entire game and have it all streamed via the server? How is this concept so incredibly hard to understand?

Then you might as well create an entire fucking total conversion mod and build your own MP framework around that yourself?

They make this mod, they set these boundaries for it to remain stable and them not to be bombared with idiotic requests to fix shit that the end-users themselves broke in the first place.

Now the question is; did you think about that? Evidently not.



+ this ‘limit’ is a R* limit, not FiveM-specific at all, RSC7 files registered outside of RPFs can’t be over 0xFFFFFF bytes.



Great to finally see an informative comment but just one little question. Why nobody mentioned it in the topics like this? Increase yft / ytd stream limit to at least 40Mb Where were all moderators for such a long time? Do you know how many people could have stuggled with stream limit for over 2 years?



Thanks you @platinum for worth post. It is really interesting information for me!

I’m sure it helps me understand the “limits” and i think that i have to get more knowledge about RSC7 files.

Have a nice day
Regards, Ordenko