Open mrgharabaghi opened 3 months ago
why do you need it?
I want to control over the assets that are loaded to my server from the GTA V official assets.
what is the use case?
are bin files even related to what is being loaded in the game? isnt it info for the server so it can validate your code without game
what is the use case?
One of them is related to GTA V
latest update (version 3258
).
If I able to modify data files, I able to load the new vehicles that are added to version 3258
.
are bin files even related to what is being loaded in the game? isnt it info for the server so it can validate your code without game
Yes. For example, if you remove vehmodels.bin
, you can't spawn GTA V
's vanilla vehicles.
/car adder
[Error] Failed to create vehicle: 3078201489 is not a proper model hash
One of them is related to GTA V latest update (version 3258). If I able to modify data files, I able to load the new vehicles that are added to version 3258
if alt:V would support new gta version then you could spawn these vehicles even without .bin using createVehicle native or LocalVehicle class
.bin is data for server to validate what you are doing, it doesnt mean these vehicles are not available in the game
if alt:V would support new gta version then you could spawn these vehicles even without .bin using createVehicle native
and you can add any vehicle yourself via modding https://docs.altv.mp/gta/articles/tutorials/stream_vehicles.html
- well new vehicles won'be available and changing .bin files won't help you with it
Are you sure about that? 100%?
yes
.bin files do not contain vehicle models, textures, etc.
Why aren't the bin
files open sourced yet?
Is there something security related about it that shouldn't be made public?
no idea
And another issue with bin
files is that if you use dlcWhitelist
in server.toml
like this:
dlcWhitelist = [
'mpbeach'
]
You are still able to spawn caracara2
on server side without any error.
After creating this model, car object will added to server objects, but it doesn't appeared on client side.
caracara2
added in vinewood
DLC.
you can create new bug issue for that if it doesnt exists already
- it won't be synced
- well new vehicles won'be available and changing .bin files won't help you with it
2021-2022 some community/mod members provided .bin files for new gta updates and then you could spawn the new vehicles if you used the new files (if they were not updated on the cdn), so it has something to do with spawning new vehicles except it has changed since then.
Example 1 - c00kie provides files Example 2 (actual question on spawning vehicle)
Example 2 is German, so you would need to use a translator.
yes vehmodels.bin allows you to create vehicle on server if model presents in vehmodels.bin
but if vehicle model does not exists in the game it will only be created on server but not in game, thats what happens here: https://github.com/altmp/altv-issues/issues/2294#issuecomment-2198412388
and same will happen if you will add new vehicle model to vehmodels.bin but dont add it to the game
Yea, I think that is what he meant, or I miss understood it (with spawning new vehicles after update was pushed by alt:V)
so this feature request doesnt make sense to me
why would you modify vehmodels.bin if you dont have model in game?
it should be handled by alt:V for you
The only reason could be so he can update it himself instead of waiting for the official files, but yeah, it is not 'public' for a reason, I guess.
The only reason could be so he can update it himself
what do you mean by that? how he would adapt alt:V to new game version himself?
The only reason could be so he can update it himself
what do you mean by that? how he would adapt alt:V to new game version himself?
No, if alt:V has been updated to the new GTA version and the date files have not been updated
they are always updated after gta update
you don't need to do it yourself
changing format to something more open like json can also cause false bug reports, questions, misunderstandings as it is happening now xd
This is not a question. https://github.com/altmp/altv-issues/issues/2294#event-13342554131
Like other docs, we can provide essential information about data files, and convert them to json
for people.
i agree about docs, but still don't see any usecase for human readable format, that's why i marked it as "question"
Description of the problem
At this time, we have no control over
bin
files indata
folder. Let us to control loading GTA V assets indata
folder.pedmodels.bin
vehmodels.bin
vehmods.bin
weaponmodels.bin
Desired solution for the problem
No response
Alternatives you considered
Another option for that is convert
bin
files tojson
.Additional context
2295