-
Notifications
You must be signed in to change notification settings - Fork 225
Misc – KN5 Encryption
If you would want to protect your models from being edited or stolen, with Custom Shaders Patch, there is an option allowing you to encrypt them. Of course, it’s not going to work with original AC, in fact, it’ll look quite strange in it. Like so:
This is in fact how encrypted model is stored and how any unpackers would extract it. I believe there is little point in trying to fix such model by hand. Oh, and textures are encrypted too.
There are two possible models for encrypter to work in: first simply encrypts model with your own key, but second also includes checksum of data.acd
in encryption process as well. This way, if somebody would decide to “fix” physics by editing data, model would stop decrypting properly.
Whole process is very simple: just drag’n’drop KN5 to encrypt on EXE-file, and new encrypted file will be saved next to original KN5 (this way, the tool won’t overwrite any important files). After that, replace original model with encrypted one manually, but don’t forget to backup original model, as there are no specialized decryptors available yet.
Please keep in mind that for now, even Content Manager can’t decrypt models, so showroom won’t be available. Possibly, later on, it’ll be able to decrypt some models, but not all of them.
-
First of all, I’d like to ask, think twice before encrypting your models. For example, looking closer into how other people’s cars are made helped me a lot to learn how to do it. And there might nothing wrong if somebody would tune some car for their own personal use. But, of course, there are some people out there who like to mess up with models and re-release them as their own, for some strange reason concentrating on some specific type of cars. If you think your model might attract those people, encryption is completely justified, of course;
-
If you want to add an option for people to create skins without risking to have your model compatible with CM, one way for that might be to create LOD B and don’t encrypt it. You can also add new
[LOD_HR]
section inlods.ini
with decrypted model of lower resolution: AC would ignore it, but CM would load it as default model. It’s not going to look great with encrypted textures anyway, so, if needed, let me know and I’ll prepare a tool which won’t encrypt textures. Or, prepare different KN5 with lower resolution textures forLOD_HR
; -
Encrypted model might take less disk space comparing to original: it’s normal as encrypter also applies lossless compression for textures to save disk space and speed up loading;
-
Don’t share your special tools: they have your own key in them, so if leaked, they can make decryption of your models easier;
-
Prepare previews before encrypting model: again, CM doesn’t know how to decrypt those;
-
As I’m not an expert in field by any means, and it’s a cheap and dirty solution, so I can’t guarantee models at all that won’t get hacked. So far, I haven’t heard of any models being decrypted, but the whole thing is quite new.
If you have any questions or suggestions, please feel free to add a new issue.
- Enabling Extended Physics
- Aerodynamics
- Body Flex
- Custom Suspension Joints
- Driver Weight Shift for Karts
- Extra Turbo Options
- More Clutch Damage
- New Inputs for Dynamic Controllers
- Physics Scripts
- Setup Items Driven By Controllers
- Suspension
- Cosmic Suspension
- Tyre Types
- Enabling Extended Physics
- General Options
- Custom Raycasting
- Collision Parameters
- Dynamic Physics Objects
- Geometric colliders
- Surface Tweaks
- Extra FX Flags
- Extra FX Emissive
- Mesh Adjustments
- Model Replacements
- Shader Replacements
- Scene Queries
- UV2
- General Options
- Analog Instruments
- Animations
- Digital Instruments
- Emissive Objects
- Extra Switches
- Inputs
- LED panels
- Multichannel Emissives
- Vintage Tachometers
- Audio
- Brake Disc FX
- Deforming Bonnets
- Driver Model
- Exhaust Smoke
- Exhaust Flames
- Extra Lights
- Fake Shadows FX
- Local Cubemaps
- Mesh Splitting
- Miscellaneous Options
- Neck FX
- Node Adjustments
- Smart Mirror
- Sparks
- Tyres FX
- Visually Adjustable Wings
- Wheels
- Wobbly Bits
- Wobbly Wipers