123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|553|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> Data Inclusion

Mon, 10 Nov 2014, 18:21
dna
Can anyone point me a link that shows how to pack data inside of the executable application for use when the program is running?

-=-=-
DNA
Mon, 10 Nov 2014, 18:21
dna
I'm thinking of using the technique for the Maze game I'm about to embark upon. No Graphics inside the thing yet just the maze information.

-=-=-
DNA
Tue, 11 Nov 2014, 03:00
rockford
What are you coding in? Some tools, like BlitzMax allow you to incbin (IIRC) media.

How are you creating your data? If it's a level/maze editor then could you just hard code the data into the program? If it's randomized then just seed the value at the start of the code and the same maze will be generated each time, without the need for external data.

Why does it need to be included in the program? Are you worried that someone will hack into the data?
Tue, 11 Nov 2014, 06:11
steve_ancell
Kuron I can't see the question as I have that person blocked

I nenver knew that SoCoder had a block feature.
Tue, 11 Nov 2014, 06:35
steve_ancell
Kuron Jay rocks!

Yeah, I've been doing that a lot lately too, must be old age. LMAO!

|edit| Well, either that or maybe it's just a coder thing. |edit|