__MIchaelBluth__ Posted August 7 Posted August 7 (edited) Hi! Trying to extract a usable model out of a KN5 file but having issues. I am using this script - https://github.com/Hypurrnating/KN5-Converter but the resulting geo is completely broken. https://imgur.com/ZVm1Z4H I tried finding Chipicao's Kn5_converter referenced on another thread here but can't seem to locate it. Any help will be appreciated! Edited August 7 by __MIchaelBluth__ bad imgur link
Engineers shak-otay Posted August 7 Engineers Posted August 7 1 hour ago, __MIchaelBluth__ said: I tried finding Chipicao's Kn5_converter referenced on another thread here but can't seem to locate it. It's the same as kn5conv.exe from the Hypurrnating zip except for the "modified date" which is May 31th, 2015 originally. (Hypurrnating uses it without crediting Chipicao, btw.)
__MIchaelBluth__ Posted August 7 Author Posted August 7 Quote Ah alright. Any idea whats happening to the model in the screenshot? I tried quickBMS but it gives me a .dat file which I have no idea what to do with.
Engineers shak-otay Posted August 7 Engineers Posted August 7 Looks funny - I have no idea what Hypurrnating means exactly by "wraps around" Chipicao's exe. Usually you drag&drop a kn5 file onto the original kn5conv.exe to get the model and textures extracted. (get the model from the .dat file)
__MIchaelBluth__ Posted August 7 Author Posted August 7 (edited) Yea I found the kn5conv.exe and did the drag and rop btu it gave the same funny model output. AC content manager has an option to generate LODs but it needs PolygonCruncher.exe which I can't find either lol Even tried KunosSDK but same issue. Edited August 7 by __MIchaelBluth__
Engineers shak-otay Posted August 8 Engineers Posted August 8 To understand the problem you'll need to check the .dat file.
__MIchaelBluth__ Posted August 8 Author Posted August 8 You mean check in the hex2obj or just a normal hex editor?
Engineers shak-otay Posted August 8 Engineers Posted August 8 In hex2obj. (But you always need a hexeditor for analysing because I didn't implement such a feature so far.)
__MIchaelBluth__ Posted August 8 Author Posted August 8 gotcha! :D I tried but its faarr too technical for me :(
Engineers shak-otay Posted August 8 Engineers Posted August 8 If you uploaded the .dat file I could check it.
__MIchaelBluth__ Posted August 9 Author Posted August 9 Oh thats very kind of you! I will figure out a way to upload it anonymously and DM you the link here. I mean technically I am not allowed to split open the kn5 anyways, right?. But the mod is free on the modders website so maybe its technically ok.
Engineers shak-otay Posted August 9 Engineers Posted August 9 6 hours ago, __MIchaelBluth__ said: I mean technically I am not allowed to split open the kn5 anyways, right?. A single sample (or a handful) for research should not be a problem (how should research be done without them?)
__MIchaelBluth__ Posted August 9 Author Posted August 9 Tried DM-ing you but it says you can't receive messages here is the .dat file from QuickBMS - https://upload.disroot.org/r/QAx37GAF#hIw9hPJVGXI3NixPuFB58TeeA7ULlCAWXQBhytANKbQ= Lemme know if you need the source kn5 file. thanks again for looking into it!
Engineers shak-otay Posted August 9 Engineers Posted August 9 (edited) Thanks. There seems to be a problem: other than for the Ferrari, where the point cloud is very clear it isn't with your example which results in an ugly mesh. Atm I have no idea how to fix it: edit: well, WHAT have they done to the mesh? Did they insert superfluous vertices or did they modify some? Edited August 9 by shak-otay
__MIchaelBluth__ Posted August 9 Author Posted August 9 (edited) Yea this ugly mesh is what I keep getting. Some really crazy method of obfuscation. I guess this is one of those ones that don't get converted :p EDIT: Absolute no idea what they have done. I have never seen anything like this for Assetto Corsa before. Edited August 9 by __MIchaelBluth__
Engineers shak-otay Posted August 9 Engineers Posted August 9 (edited) On PC you could try a 3D ripper. edit: haha, I found an insane video of a guy named ys_giant who explains a decryption method using an usb stick, beans and a washing machine. Hahaha. One comment was: Quote Cheers mate moms crying her washing machines full of beans Edited August 9 by shak-otay
__MIchaelBluth__ Posted August 10 Author Posted August 10 (edited) 7 hours ago, shak-otay said: On PC you could try a 3D ripper. The one for Sketchfab? I've heard mixed reviews about it. Will try to run it on my spare laptop in case it messes things up. 7 hours ago, shak-otay said: edit: haha, I found an insane video of a guy named ys_giant who explains a decryption method using an usb stick, beans and a washing machine. Hahaha. lol omg! I just need to buy some beans now :D Will definitely check out the video! Just saw the video. It was thoroughly entertaining hahaha Also saw someone recommending Ninja Ripper on reddit. Might just try it. Its like $8 on patreon. Saw another video on YouTube and it suggests that this crazy polygon structure is set to LOD0 which is was the softwares are displaying by default. The actual car is in LOD1. But the crazy part is that I can see the car perfectly fine in Content Manager showroom. But there is no LOD slider there. Edited August 10 by __MIchaelBluth__
Engineers shak-otay Posted August 10 Engineers Posted August 10 Well, finally, from what I read: it's Assetto Corsa modders who encrypt their models to prevent bad guys from stealing/selling their work. (So my motivation to understand encryption/decryption is rather low.)
__MIchaelBluth__ Posted August 10 Author Posted August 10 8 hours ago, shak-otay said: Well, finally, from what I read: it's Assetto Corsa modders who encrypt their models to prevent bad guys from stealing/selling their work. (So my motivation to understand encryption/decryption is rather low.) oh if its from the modders side then yea I guess its a good thing to protect ones work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now