(What is written below was with the help of Google Translate that I used to better express myself, giving a little fix on some words)
As I am learning (newbie), I may be completely wrong with what I am going to write now, but I still hope to try or see if it works.
I haven’t tested it yet but I would also like to share the idea, maybe you or someone else can and I don’t.
So … currently I would not have a complete solution on how to do this in QT, and would have to research more about this tool even though it seems a much easier solution, but with GCC and xxd I could already talk because I already have two (or at least i think).
First (i think its trash):
It’s easier, but I think it could go wrong and its a little bit non-sense and noob. (You can jump and read the second if u want, marked BOLD, but still interesting)
Using the Collada library as a PARSER itself and simply call the file in HEX Header and try to read from there.
In some engines for example some people usually just rename, change extension, change a part of HEX and obfuscate a part of a file to another random, so people who extract can not read the file directly by Blender or image reader. And people think it’s a new binary (or would we be creating one from Collada?)
Second: (Bingo?)
For example, not only knowing the name and how to call the file using the Collada library, but learning how it works in the extension (we can easily read a Collada file with Kate, for example), source code and using this understanding to try to understand in HEX. .
We would be doing the same process if we were to extract a 3D model from an AAA game, open the Collada with Bless (Hex Editor) or Radare2-Cutter (Radare2 GUI version) file and try to understand it from there and then PARSER it. archive.
It may seem complicated or costly performance, but the intention is to protect some important or SECRET file or character. Doing this and using imagemagick to convert image to header image would also include in the binary (more performance loss?), which would increase the size and weight of the game, using more RAM / VRAM and more CPU to open the game but protecting something important.
I don’t know if I’m thinking too high, but as programming 99.9% of things are possible, why not?
I’ll try,or i don’t know. LOL