Registriert: Di Jul 01, 2003 18:59 Beiträge: 887 Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
you can use it for storing game data files. Or when developed further as an database storage.
the advantage is that it is dynamic so data within files within the vfs can be changed without rewriting the entire file inside it or even needing to rewrite the complete archive file.
i will write documentation when it reaches beta.
my mean usage for it will be for the 3d adventure studio editor i am writing.
Registriert: Do Sep 02, 2004 19:42 Beiträge: 4158
Programmiersprache: FreePascal, C++
Sounds interesting... I also tried to build such a thing but I gave up... Did you think about some capabilities to easily patch these files, so you could just do a diff of two files which can be used to change the older one file to the newer one without having to send single files or the whole archive (I hope, this was understandable)?
greetings Lord Horazont
_________________ If you find any deadlinks, please send me a notification – Wenn du tote Links findest, sende mir eine Benachrichtigung. current projects: ManiacLab; aioxmpp zombofant network • my photostream „Writing code is like writing poetry“ - source unknown
„Give a man a fish, and you feed him for a day. Teach a man to fish and you feed him for a lifetime. “ ~ A Chinese Proverb
Registriert: Di Mai 18, 2004 16:45 Beiträge: 2621 Wohnort: Berlin
Programmiersprache: Go, C/C++
I also wrote a VFS in X-Dream but it found no usage on later work.
In this VFS i used a new Streamclass and implemented different Protocols like HTTP, ZIP Archvie, Local FileSystem and other stuff.
The biggest problem was the generic data access and the string to locate the data.
I choosed the good old URI RFC and pointer to solve the problems.
An advantage of an own streaming class is the managment, you can use a invisible Factory which allow hashing, caching, version control, patch control and so on.
possible name:
Yet Another Virtual Filesystem
_________________ "Wer die Freiheit aufgibt um Sicherheit zu gewinnen, der wird am Ende beides verlieren" Benjamin Franklin
Registriert: Di Jul 01, 2003 18:59 Beiträge: 887 Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
Hmm i dislike product named yet another ... but thanks for the suggestion.
I updated the project posting with some example usage code and i uploaded alpha8.
I did not write it to support patching support with diff. You can always test if the archive is patcheable. At least it is a binary file. But if the file is written to by an end user it most likely changed from the version you made the patch. So it would not work.
But it is easy to change individual files. Just write the new content over the old one inside the vfs. Easier then patching in my opinion.
Registriert: Di Jul 01, 2003 18:59 Beiträge: 887 Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
Ehhh
If you mean t1 test1 etc. They were there because i was live writing a new page template capeable of showing the posts of a categorie. It is all back to normal.
Now i can show the the bugs that are send in per 5 bugs on a page.
Mitglieder in diesem Forum: 0 Mitglieder und 14 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.