May 11, 20251 yr I wondered if anyone knew how to decrypt car models from Assetto Corsa. They come in kn5 format, and I have not found a way to decrypt them. Thanks. Edited May 11, 20251 yr by Luciddvfx added thanks
May 11, 20251 yr Supporter Did you try it from aluigi? # Assetto Corsa (script 0.1.2) # script for QuickBMS http://quickbms.aluigi.org idstring "sc6969" get VER long if VER >= 6 get DUMMY long endif get FILES long for i = 0 < FILES get DUMMY long get NAMESZ long getdstring NAME NAMESZ get SIZE long savepos OFFSET log NAME OFFSET SIZE math OFFSET += SIZE goto OFFSET next i get SIZE asize math SIZE -= OFFSET log "" OFFSET SIZE
May 11, 20251 yr Author No, I haven't. Ill try it now, thanks! Edited May 11, 20251 yr by Luciddvfx thanks
June 14, 20251 yr On 5/11/2025 at 6:26 PM, Luciddvfx said: No, I haven't. Ill try it now, thanks! Did it work and if so, how did you view/export the models from the .dat file that quickbms produces?
July 3, 20251 yr On 5/11/2025 at 9:21 AM, Rabatini said: Did you try it from aluigi? # Assetto Corsa (script 0.1.2) # script for QuickBMS http://quickbms.aluigi.org idstring "sc6969" get VER long if VER >= 6 get DUMMY long endif get FILES long for i = 0 < FILES get DUMMY long get NAMESZ long getdstring NAME NAMESZ get SIZE long savepos OFFSET log NAME OFFSET SIZE math OFFSET += SIZE goto OFFSET next i get SIZE asize math SIZE -= OFFSET log "" OFFSET SIZE dms
July 28, 2025Jul 28 On 5/12/2025 at 12:21 AM, Rabatini said: Did you try it from aluigi? # Assetto Corsa (script 0.1.2) # script for QuickBMS http://quickbms.aluigi.org idstring "sc6969" get VER long if VER >= 6 get DUMMY long endif get FILES long for i = 0 < FILES get DUMMY long get NAMESZ long getdstring NAME NAMESZ get SIZE long savepos OFFSET log NAME OFFSET SIZE math OFFSET += SIZE goto OFFSET next i get SIZE asize math SIZE -= OFFSET log "" OFFSET SIZE Can I ask you about the method to decrypt .kn5 files?
July 28, 2025Jul 28 On 5/12/2025 at 12:21 AM, Rabatini said: Did you try it from aluigi? # Assetto Corsa (script 0.1.2) # script for QuickBMS http://quickbms.aluigi.org idstring "sc6969" get VER long if VER >= 6 get DUMMY long endif get FILES long for i = 0 < FILES get DUMMY long get NAMESZ long getdstring NAME NAMESZ get SIZE long savepos OFFSET log NAME OFFSET SIZE math OFFSET += SIZE goto OFFSET next i get SIZE asize math SIZE -= OFFSET log "" OFFSET SIZE After using this code, i obtained a bunch of texture files and a .dat file. What should i do next
July 28, 2025Jul 28 Localization 1 hour ago, stpdft said: After using this code, i obtained a bunch of texture files and a .dat file. What should i do next Did you maybe.. I dont know try looking at the .dat file in HxD? or atleast sharing it Edited July 28, 2025Jul 28 by marty
July 28, 2025Jul 28 Supporter 10 hours ago, stpdft said: After using this code, i obtained a bunch of texture files and a .dat file. What should i do next Depends on your knowledge. If you are familiar with hex2obj for example you could get this from a .dat file (Ferrari F1 SF-24 as an example): (cockpit) But you would need to gather all single parts to one model. -------------------------------- The easier way is using Chipicao's Kn5_converter (found the link searching in the Xentax archives of this forum for 'kn5'). It creates .fbx (or .obj) directly from the .kn5 file. Edited July 28, 2025Jul 28 by shak-otay
July 29, 2025Jul 29 11 hours ago, shak-otay said: 取决于你的知识。例如,如果您熟悉 hex2obj,您可以从 .dat 文件(以法拉利 F1 SF-24 为例)获取此文件: (驾驶舱) 但是您需要将所有单个部件收集到一个模型中。 -------------------------------- 更简单的方法是使用 Chipicao 的Kn5_converter(在本论坛的 Xentax 档案中找到了搜索“kn5”的链接)。 它直接从 .kn5 文件创建 .fbx(或 .obj)。 11 hours ago, shak-otay said: 取决于你的知识。例如,如果您熟悉 hex2obj,您可以从 .dat 文件(以法拉利 F1 SF-24 为例)获取此文件: (驾驶舱) 但是您需要将所有单个部件收集到一个模型中。 -------------------------------- 更简单的方法是使用 Chipicao 的Kn5_converter(在本论坛的 Xentax 档案中找到了搜索“kn5”的链接)。 它直接从 .kn5 文件创建 .fbx(或 .obj)。 Thank you so much! I will do my best to learn and use it. I have another question: all the texture files I extracted are unopenable. Will this issue be resolved after using your method?
July 29, 2025Jul 29 Supporter 1 hour ago, stpdft said: Thank you so much! I will do my best to learn and use it. Good to hear. Quote I have another question: all the texture files I extracted are unopenable. Will this issue be resolved after using your method? It's not my method, kn5_converter is Chipicao's tool (from former Xentax). And from what I see the dds files created by the bms script from Aluigi and those created by kn5_converter are identical and openable. Edited July 29, 2025Jul 29 by shak-otay
October 6, 2025Oct 6 @shak-otay Can you please share Chipicao's kn5 tools with me? I cannot find them anywhere.
October 6, 2025Oct 6 Supporter (just my old plugin that was made from example files of another theme) fmt_kn5.py *(don't support encryption)
Create an account or sign in to comment