Hi there,
I am writing a script to generate a mod archive from a car folder. It's quite easy to create the good folder structure and zip the car folder inside. But the main advantage of doing it is to also archive other files needed by the car: fonts, driver models, ...
I don't know how to identify them automatically by reading the car mod files. But I know it's possible because you can see it through Content Manager. Does someone have any idea how it's done ? I have searched the name of the font inside the car files I didn't find anything.
More generally, I am interested in how I can find the files needed for a mod (track or car) which our not in the track or car folder.
I have already taken into account these files
For tracks :
- content/tracks/track_id/
- extension/config/tracks/track_id.ini
- extension/config/tracks/track_id.ini.blm
- I am not sure if I should also include extension/config/tracks/loaded/track_id.ini, what do you think ?
- anything else ? maybe backgrounds ?
For cars :
- content/tracks/car_id/
- extension/config/cars/car_id.ini
- fonts ?
- driver models ?
My script is written with the Python language and it works already for track mods. I would be happy to share it with the community. It's already on github (but I prefer to not give the address as it's still under development as you can see).
Thank you for your help
I am writing a script to generate a mod archive from a car folder. It's quite easy to create the good folder structure and zip the car folder inside. But the main advantage of doing it is to also archive other files needed by the car: fonts, driver models, ...
I don't know how to identify them automatically by reading the car mod files. But I know it's possible because you can see it through Content Manager. Does someone have any idea how it's done ? I have searched the name of the font inside the car files I didn't find anything.
More generally, I am interested in how I can find the files needed for a mod (track or car) which our not in the track or car folder.
I have already taken into account these files
For tracks :
- content/tracks/track_id/
- extension/config/tracks/track_id.ini
- extension/config/tracks/track_id.ini.blm
- I am not sure if I should also include extension/config/tracks/loaded/track_id.ini, what do you think ?
- anything else ? maybe backgrounds ?
For cars :
- content/tracks/car_id/
- extension/config/cars/car_id.ini
- fonts ?
- driver models ?
My script is written with the Python language and it works already for track mods. I would be happy to share it with the community. It's already on github (but I prefer to not give the address as it's still under development as you can see).
Thank you for your help