OpenDisks
This addon for OpenComputers significantly simplifies the process of adding new data disks to the game. The modification was created primarily for modpack developers who prefer not to include ready-made worlds in their builds.
Configuration file format disk.cfg
The configuration file uses the following simple format:
color=14
name=merp
isReadOnly=true
isCraftable=true
Configuration parameters:
- color - value from 0 to 15, corresponds to the standard Minecraft color scheme (default: 0)
- name - string that overrides the directory name (default uses the folder name)
- isReadOnly - true/false, if set to true, the disk becomes write-protected (default: true)
- isCraftable - true/false, when set to false, the disk cannot be obtained through the OpenComputers crafting system (default: true, useful for creating custom recipes with other mods)
Operation features
The mod uses the OpenComputers loot system, which currently does not place disks in chests but allows cycling through available disks using any loot and a wrench in the crafting grid. If you set the 'isCraftable' parameter to false, your disk will not appear in this mode.
All configuration parameters are optional - the system will use default values for any missing settings.
File structure
Any files and folders placed in the root directory will appear on the game disk. For example, if you have the path /mods/opendisks/lua/merp/dir1/somefile.lua, then in the game the disk will be named "merp" and contain a directory "dir1" with the file "somefile.lua" inside.