![]() Print("mesh " str(cur),"special flag = " str(version),f.tellHex(),stride,vc,fic) Print("some fucking error happened in item ", cur, positions) #print("current end of header = ",f.tellHex(),"\t int after = ",hex(f.readInt())) #curfolder = "E:\\Escritorio\\silvia\\car_model\\sylvia old\\output\\skins\\team a\\"Ĭur_dds = curfolder "texture_" str(cur) ".dds" ![]() Positions = Ĭurfolder = "E:\\Escritorio\\silvia\\car_model\\sylvia old\\output\\textures\\cockpit\\" Tip 2: this doesn't work for tracks for tracks have massive sizes, before being able to process tracks there will be need a better split method or using pure python(I think MRP is not suited to work on such big files).įlag_array = public) the second function that is for the positions will print in console the positions of the meshes in the file and generate the geometry based on the API of MRP. Tip: there are 2 functions here I use to parse the file before I even can extract the geometry, one is to search for DDS textures and extract them to a "curfolder" that you will need to change it(works for car_template, cockpit_template and liveries once all unpacked from. ![]() (Just in case, I wont provide unpacked converted files in here.) ![]() Once you have the old depot, the files will unpack correctly for that version, although there are not special tools that are able to unpack it from the get go I was able to code in python a script for mrp that works more or less good, this is by no means a final script and only works under my control of variables, if anyone is savvy enough of python and thinks they can modify the code to make it work, be welcome. But, here the workaround for that, just go and grab the steam depot that is from 14 march 2017(google a bit and be careful of the tools you use, given r3e is free, i'd use another steam account to download the old depot for you cannot use the steam console anymore for that). ![]() public files, they still use lzma2 but has some extra parameters that introduces a jump on the files that basically if you don't account it for your verts/textures will get totally ducked up. So after a review of this game i came to some interesting conclusion, maybe not perfect but still could be a help for many.įirst of all the problem lies in the script for bms unpacking the. After 20 vertices everything goes bogus. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |