Functions for Virtual Files

It would be cool, if every Library for SDL had virtual Functions. With virtual Functions i mean
Functions that load Pictures, Wave Files … from memory, instead of loading them from Disk.
Lets go into the past :=)
At the time MIDAS was the Nr. 1 SoundSystem, the most demopeople said:
“MIDAS is cool but, i have to save Modules as normal “.MOD” Files and so
everybody can rip them.Even if i encode them, at the End i have to decode them to a TEMP-
Directory before using them.”

I thought that was what SDL_rwops was supposed to do… (???) It
looks like SDL_Mixer already supports it, too!–

Olivier A. Dagenais - Software Architect and Developer

“Torsten Giebl” wrote in message
news:9b76lq$e67$1 at ftp.lokigames.com

It would be cool, if every Library for SDL had virtual Functions.
With virtual Functions i mean
Functions that load Pictures, Wave Files … from memory, instead of
loading them from Disk.
Lets go into the past :=)
At the time MIDAS was the Nr. 1 SoundSystem, the most demopeople
said:
“MIDAS is cool but, i have to save Modules as normal “.MOD” Files
and so
everybody can rip them.Even if i encode them, at the End i have to
decode them to a TEMP-
Directory before using them.”

Torsten Giebl wrote:

It would be cool, if every Library for SDL had virtual Functions. With virtual Functions i mean
Functions that load Pictures, Wave Files … from memory, instead of loading them from Disk.
Lets go into the past :=)

that’s a quest for an extensible stream/filesystem api.
simply implement an ramfs backend where you register your memory chunks
as inodes
and then simply access them from your VFS …

please have a look at :

these libs provide an very clean stream/vfs api. (not SDL specific)

they also provide an refcount memory manager with finalizers (soon
garbage collection also coming)
and an very easy to use build enviroment (no more autoconf)

~-n–


Enrico Weigelt
meTUX IT Services

www: www.metux.de
email: @Enrico_Weigelt
phone: +49 36207 51833
cellphone: +49 174 7066481