-
Notifications
You must be signed in to change notification settings - Fork 7
create 2-3 new Documents for VFS,VGZ,SEA documents #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 6 commits
a0a525e
010f16b
9751cb0
c384a3a
d67d2dd
728c126
36bc813
cdf50a7
b1ce920
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # CCSMB-X: Virtual File System Archive | ||
|
|
||
| *Author: walksanator (Walker Fowlkes)* | ||
|
|
||
| *Version: 1.0.* | ||
|
|
||
| *Last revised: 2023-01-DD* | ||
|
|
||
| ## Quick information | ||
|
|
||
| | Information | | | ||
| | ----------- | -----------------------------| | ||
| | Version | 1.0.9 | | ||
| | Author | walksanator (Walker Fowlkes) | | ||
| | Type | Virtual File System Archiv | | ||
| | MIME | `appilcation/vfs` | | ||
| | Extensions | `.vfs` | | ||
|
|
||
| ## Technical details | ||
|
|
||
| The VFS file format is a text-based format that represents folder(s) as a Lua table | ||
| where the keys of the table are used as file names and values are used for contents. | ||
| Directories in VFS are tables, whereas files have their contents embedded as strings. | ||
| VFS files should be read and written in binary mode as to prevent converting binary characters to `?`. | ||
| VFS archives do not store metadata, programs that need things like modification times will need to seek a alternative. | ||
|
|
||
| ## Examples included | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd recommend having the examples embedded inline with descriptions of what they do. This makes it easier to read quickly.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but it is a full program, or should i have the Examples section contains example functions for creating/extracting (the gen_disk and unpack_vfs functions) along wit a small text example
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You shouldn't be posting the full program here - put that on your own repo and link to it as an additional example. The examples here should be limited to single functions that demonstrate just one part at a time.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so should i embed the example functions i use to create/unpack the archive with comments
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, but try to make them as simple and easy to read as possible (e.g. assume the file's correct, no error checking).
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thats what they do allready
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i think it is better now |
||
|
|
||
| In the CCSMB-X folder there is a [example tool](./CCSMB-X/vfstool.lua) for creating and extracting archive | ||
| and a [example archive](./CCSMB-X/Example1.vfs) containg a _G dumper script in a folder named "empty" and it's output | ||
Uh oh!
There was an error while loading. Please reload this page.