Dll's, an endless resource

Posted by Evilish on Oct. 7, 2006, 4:10 a.m.

I had Dev-CPP open today working with getting a dll made for gamemaker, and suddenly I had a strange thought.

We all know dll's are great for processing, and they allow us to access the lower level parts of a computer. But what if we allowed a dll to handle our resources aswell, a basic dll could be used almost like a plugin or a patch.

This partially spans from me working around in GBA programming, where things like images, sounds, all those resources were actually written directly into the project, no external .bmp files or anything.(not to mention the confusing point that images were written 2 bytes at a time, the two bytes were backwards and the image was split into 8x8 parts)

So some basic GML scripts could define the basic 'Step' functions in a dll, extracting the resources from it's self, and handling extra pieces of code not originally written for the executable.

heh, safer(and faster) then that execute_file stuff… pfft, no one likes that. Aswell as .dll's are harder to decompile then GM6 executables(stares at Smarttart…)

Comments

Bex 18 years, 2 months ago

Nice font at the end of your blog!

Bex 18 years, 2 months ago

I want a dll!

paul23 18 years, 2 months ago

nie idea… But do you imagine how muh work it would be to create such a dll? - I won't be worth the time (I think).

Evilish 18 years, 2 months ago

The dll could simply be the processing part of GM, with external resources included(as strings that are outputted at runtime).

Not trying to say it's gonna be time wasting.. but having dll's that are created for individual games could sure make them more powerful.

And with the extension manager in GM7 it could become really useful

Bex 18 years, 2 months ago

I know it would be hard to make,but I wish I had one now!!!!!!

Polystyrene Man 18 years, 2 months ago

Quote:
Nice font at the end of your blog!
Wow…

Bryan 18 years, 2 months ago

Hm. I guess you are right. I doubt that Mark will do it.

poultry 18 years, 2 months ago

That is an image.

Amarin 18 years, 2 months ago

Dev-Cpp? Can you teach me how to use it with Irrlicht 1.0?

Evilish 18 years, 2 months ago

Dev-CPP has a manager for downloading engines/updates. If you check that then you'll find a Irrlicht download.

Alternatively, make sure all the #include files used for irrlicht are also in the Dev-CPP include folder… aswell as some other things, can't remember what needs to be moved.