hiding .x files

Started by
10 comments, last by zoomcrypt 22 years, 3 months ago

Are you trying to stop them
1. changing the .x files with their own
2. protecting the .x files from being used


1. if your just trying to stop ordinary users then
pak method will mostly work....add an MD5/SHA1 hash
to the end of each file in the pak..to make it a bit more
difficult.

2. You could also encrypt each file with a private key,
and change your loader code to decrypt each file with a public
key.

They would then have to disassemble your code to get your models as they load into the application.

Cheers
Jaltz


Advertisement
There are a number of ways to ensure protection. First, use binary storage format. Second, use bzip format (check the docs). Don''t forget you can create your own templates in .X, so just convert from the current mesh templates into your own. Use a custom loader to load the new data.

Jim

This topic is closed to new replies.

Advertisement