Streaming YTYP files

Hey all! I recently converted a map mod (which due to certain reasons, i shall not link), that contained a few YTYP files.

The original mod is meant for single player, but once converted to FiveM, a lot of LOD issues appear. I figured it had something to do with the .ytyp files not being streamed correctly. What i’m doing right now is just dropping them in the stream folder together with the other files, with no declaration as a data type.

Some other tutorials from 2017 on the forums said that you should use two data-files. DLC_ITYP_REQUEST or PERMANENT_ITYP_FILE. I tried both, but still no success. I was wondering if they changed the methods of streaming ytyp files, as i’ve always dropped them into the stream folder and no problems at all. (Or it might just be the map mod i’m converting).

Any help is much appreciated!

1 Like

put ytyp in stream folder
in your manifest file:

data_file 'DLC_ITYP_REQUEST' 'stream/yourfile.ytyp'

this is how I do, I converted some maps from gta5mods this way, the old ones using json should be converted with an .exe

1 Like

This didn’t fix it unfortunatly.

Btw i think ytyp files needed to be added to the fxmanifest

From our resource we have found that only gabz mrpd was using the files {‘whatever.ytyp’} so I don’t think u have to add that

data_file 'DLC_ITYP_REQUEST' 'missionrowpdv2/v_kitch.ytyp'

files {'v_kitch.ytyp'}

Already tried that as well, still the same problem

try adding the following to your resource.lua or fxmanifest.lua:

this_is_a_map ‘yes’

(you might need to swap these things ’ ’ to normal ones if it doesnt work when you copy it)


Having a simular issue with not streaming. Could it be I have more then one thing?

One thing I would suggest is fixing your files table.

It should look like this

files {
‘prop_gta.ytyp’,
‘v_bush.ytyp’,
etc etc
}