Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Quick question about attached media

Author
Message
GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 17th Aug 2007 21:53 Edited at: 17th Aug 2007 21:54
Is there a way to be able to use 3d models, music, sounds, etc. in your game without it being available for the public to see, take, change, etc.? For example, someone (with too much time on their hands ) could take a texture and re-draw it and change the game. I know there's a section of the project manager for media to include in exe, but I have a few questions:

In project settings, you must choose "EXE with attached media", correct?

Is it wise to check either "compress" or "encrypt" under that option?

How would I go about finding these files when I use load commands inside the program? (what path should I use)

ZOMG
culmor30
17
Years of Service
User Offline
Joined: 16th Jun 2007
Location: In my head.
Posted: 17th Aug 2007 21:57
Compress will compress the files contained in the EXE to make it a smaller filesize. Encrypt will encrypt them, to prevent what you're worried about; people changing files.

And you just load them normally. When you add the media and compile the EXE, they are all together. So, if you had a... wall texture, you would just normally {load image "wall_tex.bmp",1}.
GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 18th Aug 2007 06:22
I see, so it will make it so it's as if they were actually in the current folder anyways. Thank you.

ZOMG
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 18th Aug 2007 22:00
That's... scary. ENCRYPT!

(N-1)/n*100<n2/n-n/2+n/4*2+100
GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 20th Aug 2007 05:16
I see...well, I'm not putting credit card information in my media (lol ) so that wouldn't be so bad, I'll still encrypt them though. It'll also look better without all the resource files in the folder.

ZOMG
GatorHex
19
Years of Service
User Offline
Joined: 5th Apr 2005
Location: Gunchester, UK
Posted: 21st Aug 2007 06:17 Edited at: 21st Aug 2007 06:18
It's useless, everything is decrypted and uncompressed into the user/local/temp folder. It even strips out all the DLLs from the exe too!!

DinoHunter (still no nVidia compo voucher!), CPU/GPU Benchmark, DarkFish Encryption DLL, War MMOG (WIP), 3D Model Viewer
GMX
19
Years of Service
User Offline
Joined: 19th Sep 2005
Location: In front of my monitor
Posted: 23rd Aug 2007 05:42
...so essentially there's no way to keep your media hidden to all but your actual program?

ZOMG
culmor30
17
Years of Service
User Offline
Joined: 16th Jun 2007
Location: In my head.
Posted: 24th Aug 2007 03:54 Edited at: 24th Aug 2007 03:56
Don't think so, but honestly, before reading this thread, I didn't even know the temp folder existed. Who will?

EDIT: Ooh, is there a "set temp directory" or something that could be added to dbpro? Or is all this controlled by Windows? Because you could just set it to some obscure location nobody would know, and you're set.

Login to post a reply

Server time is: 2024-11-26 11:32:40
Your offset time is: 2024-11-26 11:32:40