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.

DarkBASIC Discussion / How do I protect My Media?

Author
Message
Mason
21
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 27th Oct 2004 15:45
I'm currently working on a project with a lot of .3ds media. Is there any possible way to compact the data so no one can edit/steal the objects i've made but DBC will still be able to read and use the media in the file. For instance, Say I have 15 .3ds files for my first level and I want all 15 objects to combine into one file called level1. Then DBC can read all 15 objects inside my 1 file as if they were all there unaltered. If anyone can help me it would be greatly appreciated.

<-Mason->

-D-B-G- (Dark Basic Gamers)
Antdizzle
21
Years of Service
User Offline
Joined: 6th Mar 2004
Location: Las Vegas
Posted: 27th Oct 2004 16:54
Yes, instead of using make exe you can use make final. Most of your media should be included inside of the exe file. Make sure you test it though because sometimes it doesn't work correctly.
Mason
21
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 28th Oct 2004 08:11
I've tried that, but for some reason it doesnt include all of the media, so when i run the program where the media isn't present, the program crashes . Thats why I want to combine all the files into a few files.

<-Mason->

-D-B-G- (Dark Basic Gamers)
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 28th Oct 2004 08:19
Have a look at write fileblock and read fileblock, they'll allow you to easily store everything in 1 file.

AMD Athlon XP2800+
GeForce FX5200 128MB
1.25GB DDR 333MHz RAM
Mason
21
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 28th Oct 2004 12:14
Aha! Thank you. That was exactly what I was looking for! Not to confusing either. Thanks a lot Kentaree.

<-Mason->

-D-B-G- (Dark Basic Gamers)
Indian Homie G
21
Years of Service
User Offline
Joined: 23rd Jan 2004
Location: San Jose, CA
Posted: 28th Oct 2004 13:52
Haha thanks also Kentaree

AMD Athlon XP 3000+, S3 Deltachrome s8, 512 PC3200 RAM, 160 GB HD

Login to post a reply

Server time is: 2025-05-24 12:24:09
Your offset time is: 2025-05-24 12:24:09