The fuse database editor is included with BitBurner so you can change fuse layouts and defaults if you want to.
It is found in the Tools->Settings dialog. In the Program Options tab, turn on Show Fuse Database. Another tab will appear containing the database editor.
Changes to the database are persistent, one does not need to save out an edited database unless it is to be transferred to another copy of BitBurner or to keep a backup against further changes. The original default database can always be restored from the file menu on the properties toolbar.
The database combines devices(chips) with the same fuse/lockbit layout and defaults into a single entry with multiple names(aliases). Entries can be added, deleted or copied by using the properties toolbar.
Each device contains the fuses and lockbits as registers. Registers contain bitfields for each fuse or lock or set of options in an enum(enumeration). Simple bitfields correspond with checkbox options in the fuse calculator. Enums can set multiple bits in registers and contain a description of each option. These correspond with the drop-down comboboxes in the fuse calculator.
Enum names in the bitfields and the name of the enum do not have to match but probably should.
Mask values are the bit masks corresponding to the alteration of the register value itself. Simple (single bit) options would use round binary values (1,2,4,8..) to define the bit of interest. Enum values define all bits of interest in the bitfield mask and bit combinations corresponding to each option in each enum mask.
Common operations:
To extract a single device from a device group, use the copy button while the group is selected to copy the whole group. Remove the device's name from the original's list of names. Rename the copy to only contain the single device. Edit the copy as desired.
It is probably easier to make and edit a copy a similar device than creating one from scratch.
New devices and missing fuse registers can be added by selecting the device or fuse group and using the add button. All details on bitfields and enums from the appropriate datasheet need to be filled in.
Last edit: Nick Metcalfe 2013-11-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The fuse database editor is included with BitBurner so you can change fuse layouts and defaults if you want to.
It is found in the Tools->Settings dialog. In the Program Options tab, turn on Show Fuse Database. Another tab will appear containing the database editor.
Changes to the database are persistent, one does not need to save out an edited database unless it is to be transferred to another copy of BitBurner or to keep a backup against further changes. The original default database can always be restored from the file menu on the properties toolbar.
The database combines devices(chips) with the same fuse/lockbit layout and defaults into a single entry with multiple names(aliases). Entries can be added, deleted or copied by using the properties toolbar.
Each device contains the fuses and lockbits as registers. Registers contain bitfields for each fuse or lock or set of options in an enum(enumeration). Simple bitfields correspond with checkbox options in the fuse calculator. Enums can set multiple bits in registers and contain a description of each option. These correspond with the drop-down comboboxes in the fuse calculator.
Enum names in the bitfields and the name of the enum do not have to match but probably should.
Mask values are the bit masks corresponding to the alteration of the register value itself. Simple (single bit) options would use round binary values (1,2,4,8..) to define the bit of interest. Enum values define all bits of interest in the bitfield mask and bit combinations corresponding to each option in each enum mask.
Common operations:
To extract a single device from a device group, use the copy button while the group is selected to copy the whole group. Remove the device's name from the original's list of names. Rename the copy to only contain the single device. Edit the copy as desired.
It is probably easier to make and edit a copy a similar device than creating one from scratch.
New devices and missing fuse registers can be added by selecting the device or fuse group and using the add button. All details on bitfields and enums from the appropriate datasheet need to be filled in.
Last edit: Nick Metcalfe 2013-11-07