Open FlavioMoretti opened 3 years ago
'put a .ymt file in a resource' seems extremely vague. Are you able to be more specific and provide an actual repro (and ensure this isn't user error?)
Sorry for the bad explaination. I've tested it a bit more and I have reproduction steps.
Instead of these manual steps can you actually just provide your resource?
O wait, the resource above now works. But when the downtown.ymt is also declared in as a file in the fxmanifest.lua then every scenario in the resource stops working. So I guess it is working as intended, but maybe it's possible to stop ymt files from stopping to work when declared as file in the fxmanifest.lua.
'declared as a file' with what kind of path?
When I put the 'code' below in my fxmanifest.lua the ymt's stop working. But when I only put the sp_manifest.ymt there it works. Even if I set the downtown.ymt as if it is in a path, but the path does not exists. It like overwrite the file with nothing and stops working.
files { 'sp_manifest.ymt', 'pillbox_hill.ymt', 'downtown.ymt', 'downtown_construction_site.ymt' }
Aha, that's probably rather another case of the file name sorting thing that's been going on for a very long time (which happens here as there's a downtown.ymt as well as a downtown_construction_site.ymt), at least that confirms this still occurs and needs figuring out.
Rather related to this breaking some internal binary search however and making the sp_manifest not exist. :P
Were you running the server on Windows or Linux?
When I put a .ymt file in a resource (it doesn't matter if it is in a stream folder or just in the same folder as the fxmanifest.lua) it seems like the standard scenario file is gone (like deletes and doesn't appear ingame anymore), because the scenario's that schould be in clean GTA V are gone and it doesn't stream the .ymt file that I put in the resource. I cannot find any change if I use data_file in fxmanifest.lua or not. The .ymt files are working correctly in GTA V Story mode.