Ideas/Suggestions: Directories

Directories
Alphadon
June 21, 2016, 9:51 a.m.

Directories have been a feature I've wanted since I first examined my in-game host's filesystem. At first, it was just because I wanted more realism, but now there's something more. Directories are an important element of game complexity. After all, how many programs have you seen that are made up of just one .exe? Not only that, they will allow for operating systems in which the kernel is just one component. Thus, I humbly request that the devs either give us directories or give us the tools to implement them ourselves.


Directories
kveroneau(Game Creator)
June 26, 2016, 6:04 p.m.

This feature has been brought up before, as having directories does make a lot of sense. I originally opt'd for the flat filesystem due to the simplicity to implement and manage.

I mentioned to another beta tester that I was debating hotly on the API for file system access. During the beta, there might be a testing phase where a block-level API will be available. This will enable the creation of completely custom file systems, with and without directories, or no file system at all.

https://pineight.com/ds/block/

Essentially the running KERNEL reads and writes RAW bytes to/from the disk and memory. Programs would use an API the kernel provides to read/write files, so the RAW bytes portion is entirely abstracted.

This will also make the game more realistic, as you can literally create Norton Utilities type programs where you can explore the RAW sectors of the disk, and see deleted files, or hide code on disk without a file attached to it.

Look forward to this during the closed beta, as this cannot be tested/implemented afterwards.


Directories
Alphadon
July 7, 2016, 7:04 a.m.

Um, actually, that beta tester was me.


Directories
ccatlett2000
Aug. 12, 2016, 1:23 p.m.

@kveroneau So how will the game know what to load for the kernel if disk access is going to be raw bytes?


Directories
kveroneau(Game Creator)
Aug. 12, 2016, 2:47 p.m.

It will function like how it does in the real world, the VM will load in the first 256 or 512 bytes from disk, the master boot record. :)