First thing first: I'm not an English man... I think you know what that means =) (I do not know much English)
Intro:
For example in my project i have images.
These images have a .jpeg (or .png or .jpg) format. That is good, no really, but these format can read everybody, what i don't want to >=/
Question:
Can i convert these format to the something special, OR create a new format, but that can read by love.
If you don't understood the question, let me know. =)
My own format of files OR not
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- NotARaptor
- Citizen
- Posts: 59
- Joined: Thu Feb 22, 2018 3:15 pm
Re: My own format of files OR not
You want to use a custom image format, because you don't want other people to be able to read the image files?
It's not possible - no matter what you do, the code to load the images will be in Lua, so someone could read that and use it to load the files.
You could make it more difficult (but not impossible) for people to do... but why would you want to?
It's not possible - no matter what you do, the code to load the images will be in Lua, so someone could read that and use it to load the files.
You could make it more difficult (but not impossible) for people to do... but why would you want to?
Re: My own format of files OR not
I mean
I use image (paper with password on it). This image lie in (for example) gfx/paperpassword.png. But i want this
gfx/paperpassword.pic (where PIC can't read without special program) because i don't need to do the quest for got the password i'll just open folder and read the image(WOW read the image =))
I use image (paper with password on it). This image lie in (for example) gfx/paperpassword.png. But i want this
gfx/paperpassword.pic (where PIC can't read without special program) because i don't need to do the quest for got the password i'll just open folder and read the image(WOW read the image =))
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: My own format of files OR not
Even if you convert it to your own super special format, the code that converts it back into an image is STILL in your project, and the code itself isn't protected either; sooner or later, someone will have enough drive to go through your code, find the decoding function, decode your art, and release it because you chose to hide it.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
-
- Party member
- Posts: 107
- Joined: Wed Oct 15, 2014 5:00 pm
- Location: Yorkshire, England
Re: My own format of files OR not
I don't think obfuscation is his actual goal here, I think that the image in question contains an answer to a riddle or puzzle in the game which he is trying to hide from players so they must complete the challenge. I would build the image in code by drawing it to a canvas and display that so you don't actually have an image for them to look at, if they were still super keen however they could still check your code but if they are having to do that then your puzzle is too hard anyway.
Code: Select all
if not wearTheseGlasses() then
chewing_on_trashcan = true
end
Re: My own format of files OR not
Once you build your game the file will be hidden quite nicely.
Getting to it would already be a bit of work, and you're not going to be able to stop anybody who wants to find it with more hiding.
Getting to it would already be a bit of work, and you're not going to be able to stop anybody who wants to find it with more hiding.
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: My own format of files OR not
Oh, i misunderstood the intention.
I mean, yeah, you could totally use your own format, but ultimately it shouldn't matter too much.
I mean, yeah, you could totally use your own format, but ultimately it shouldn't matter too much.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: My own format of files OR not
Internet exists, anyone who beat the game once could just upload a playthrough, rendering your efforts pointless.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests