Skip to content

Settings

Dziezyk, Peter edited this page Sep 3, 2025 · 85 revisions

dnaspider.exe Settings

Use <se> to show current settings.

LCTRL+S inside EditorSe to push settings to the program.

C:\dna\se.txt

ShowSettings: 1
ShowIntro: 0
ShowStrand: 0
ClearStrandKey: 123
MultiStrand: 1
ShowMultiStrandElapsedOnly: 0
OutsTemplate:
OutTabs: 1
Settings: C:\dna\se.txt
Database: C:\dna\db.txt
DbMultiLineDelimiter: \n
ReplacerDb: C:\dna\db.txt
CtrlKey: 163 9
LSHIFT+CtrlKey: 0
CloseCtrlMode: 1
RSHIFT+CtrlKey_Toggle: 0
CtrlScanOnlyMode: 0
RSHIFT+LSHIFT_Only: 0
StrandLengthMode: 2
RepeatKey: 19
PauseKey: 123
RgbScaleLayout: 2.5
Frequency: 128
Ignore_0-9: 0
Kb_Key_0: 0
Kb_Key_1: 1
Kb_Key_2: 2
Kb_Key_3: 3
Kb_Key_4: 4
Kb_Key_5: 5
Kb_Key_6: 6
Kb_Key_7: 7
Kb_Key_8: 8
Kb_Key_9: 9
Ignore_A-Z: 0
Kb_Key_A: a
Kb_Key_B: b
Kb_Key_C: c
Kb_Key_D: d
Kb_Key_E: e
Kb_Key_F: f
Kb_Key_G: g
Kb_Key_H: h
Kb_Key_I: i
Kb_Key_J: j
Kb_Key_K: k
Kb_Key_L: l
Kb_Key_M: m
Kb_Key_N: n
Kb_Key_O: o
Kb_Key_P: p
Kb_Key_Q: >q '<bs>
Kb_Key_R: r
Kb_Key_S: s
Kb_Key_T: t
Kb_Key_U: u
Kb_Key_V: v
Kb_Key_W: w
Kb_Key_X: x
Kb_Key_Y: y
Kb_Key_Z: z
Ignore_Arrows: 1
Kb_Key_Left: L
Kb_Key_Up: U
Kb_Key_Right: R
Kb_Key_Down: D
Kb_Key_Backslash:
Kb_Key_Caps:
Kb_Key_Comma: >, '<bs>
Kb_Key_Delete:
Kb_Key_End:
Kb_Key_Enter:
Kb_Key_Equal:
Kb_Key_Esc:
Ignore_F1-F12: 0
Kb_Key_F1:
Kb_Key_F2: >
Kb_Key_F3:
Kb_Key_F4:
Kb_Key_F5:
Kb_Key_F6:
Kb_Key_F7:
Kb_Key_F8:
Kb_Key_F9:
Kb_Key_F10:
Kb_Key_F11:
Kb_Key_F12:
Kb_Key_Print_Screen:
Kb_Key_Forwardslash:
Kb_Key_Grave_Accent:
Kb_Key_Home:
Kb_Key_Insert:
Kb_Key_Left_Alt:
Kb_Key_Left_Bracket:
Kb_Key_Left_Ctrl:
Kb_Key_Left_Shift:
Kb_Key_Menu:
Kb_Key_Minus:
Ignore_NumPad: 1
Kb_Key_Numpad_0:
Kb_Key_Numpad_1:
Kb_Key_Numpad_2:
Kb_Key_Numpad_3:
Kb_Key_Numpad_4:
Kb_Key_Numpad_5:
Kb_Key_Numpad_6:
Kb_Key_Numpad_7:
Kb_Key_Numpad_8:
Kb_Key_Numpad_9:
Kb_Key_Numlock:
Kb_Key_Numpad_Divide:
Kb_Key_Numpad_Multiply:
Kb_Key_Numpad_Minus:
Kb_Key_Numpad_Add:
Kb_Key_Numpad_Period:
Kb_Key_Numpad_Enter:
Kb_Key_Period:
Kb_Key_PgDn:
Kb_Key_PgUp:
Kb_Key_Quote:
Kb_Key_Right_Alt:
Kb_Key_Right_Bracket:
Kb_Key_Right_Ctrl:
Kb_Key_Right_Shift:
Kb_Key_Semicolon:
Kb_Key_Space:
Kb_Key_Tab:
StartHidden: 0
SlightPauseInBetweenConnects: 0
CommaSleep: 128
AutoBs_RepeatKey: 0
SeHotReload_CtrlS: 1
Assume: 1
Unicode: 1
Editor: Visual Studio Code
Editor1: Notepad
EditorDb: db.txt - Visual Studio Code
EditorSe: se.txt - Visual Studio Code
Loop_Insert_Text:
NoEscapeOrPause: 0
io:
AutoBs_io: 1
ManualRepeat: 0
Exit_EscX: 1

Explained

Setting Value Description db.txt se.txt
ShowSettings: 1 Show current settings (c:/dna/se.txt) s <se>
ShowIntro: 0 Show beginner intro text when program starts.
ShowStrand: 0 Show ⌨ input strand.
ClearStrandKey: 19 PAUSE_BREAK: Clear strand
MultiStrand: 1 Run multiple input strands CloseCtrlMode: 1
ShowMultiStrandElapsedOnly: 1 Show multi strand output elapsed only message

e.g., <t->(420ms elapsed)
MultiStrand: 1
ShowMultiStrandElapsedOnly: 1
ShowStrand: 0
OutsTemplate: \R\7strand:\t\t\G Template text before ⌨ input strand.
OutTabs: 1 Show \t in output messages.
Database: C:\dna\db.txt Db.txt location, extension.
Use <db: c:\dna\database.txt> to switch
DbMultiLineDelimiter: °

1st char only. If \ then delimiter: \n
Db.txt multi-line mode

Ignore new-line and tab (\n, \t) characters

Note: If using {replacer}, wrap °var° with delimiter
°<test0->
0

°<test1->
{test}

°test1°            
DbMultiLineDelimiter: °
Unicode: 1
                                                
Settings: C:\dna\se.txt Settings
Use <se: c:\dna\settings.txt> to switch
ReplacerDb: C:\dna\r.txt Use <R: c:\dna\???.txt> to switch replacer database

Use {} to scan <r:>

<test-><r: C:\dna\db.txt>{test:}<cb:{test:}>
test:1
ReplacerDb: C:\dna\db.txt
CtrlKey: 163 1 Press CtrlKey to Toggle <.
LEFT_SHIFT+CtrlKey: strand: <
LSHIFT+CtrlKey: 9 Toggle or clear < LSHIFT+CtrlKey: 1
Increase for more time
0 for off
CloseCtrlMode: 1 CtrlKey or COMMA+ESC to manually scan c:/dna/db.txt.
RSHIFT+CtrlKey_Toggle: 9 Use RSHIFT+CtrlKey to toggle CloseCtrlMode RSHIFT+CtrlKey_Toggle: 9
Increase for more time
0 for off
CtrlScanOnlyMode: 1 If set to 1, Ignore input strand unless CtrlKey is pressed first.
RSHIFT+LSHIFT_Only: 2 Hold RSHIFT, press LSHIFT, release RSHIFT for < (RSHIFT+LSHIFT_Only: 2). Use RSHIFT+LSHIFT_Only: 1 for no < option or use L+ESC to toggle (0)

Press again to clear or type T, SPACEBAR to run
<t >1 RSHIFT+LSHIFT_Only: 2
CtrlKey: 32
io:
Hold RSHIFT, press LSHIFT, press CtrlKey, release RSHIFT to toggle CtrlScanOnlyMode & CloseCtrlMode t^1
StrandLengthMode: 1 0 for off.

Increase for more length.
test
Press TRCTRL to run
StrandLengthMode 2
RSHIFT+LSHIFT_Only 0
CtrlKey 163 9
CtrlScanOnlyMode 0
RepeatKey: 145 Press RepeatKey or EQUAL+ESC to repeat.
145: SCROLL_LOCK key.
PauseKey: 123 Press F12 to Pause/Resume.
123: F12 key.
NoEscapeOrPause: 0
RgbScaleLayout: 1.00 Setting for <rgb:>
Frequency: 160 Input frequency
Ignore_0-9: 1 Ignore 0-9 input
Ignore_A-Z: 1 Ignore A-Z input
Ignore_Arrows: 1 Ignore LEFT UP RIGHT DOWN input
Ignore_F1-F12: 1 Ignore F1-F12 input
Kb_Key_Equal: = Set input strand.

Ignore Kb_Key if no value.
<=>1
StartHidden: 0 Hide dnaspider.exe on start.

H+ESC (toggle)
SlightPauseInBetweenConnects: 1 150ms pause.
AutoBs_RepeatKey: 0 If AutoBs_RepeatKey: 1, auto press BACKSPACE once right after RepeatKey is pressed.
CommaSleep: 150 <,> 150ms sleep.
SeHotReload_CtrlS: 1 Auto reload se.txt if in se.txt and pressed LEFT_CTRL+S.

Note: The window title must read se.txt - Visual Studio Code or se - Visual Studio Code for LEFT_CTRL+S. Or use <se> option.
Assume: 1 Assume error free code in db.txt.
Unicode: 1 If false, output ASCII text only
Editor: Visual Studio Code Press LCTRL+S in se.txt or db.txt to push settings. SeHotReload_CtrlS: 1
SeDbClearStrand_CtrlS: 1
EditorDb: db.txt - Visual Studio Code Press LCTRL+S in EditorDb: or EditorSe:. SeHotReload_CtrlS: 1
SeDbClearStrand_CtrlS: 1
EditorSe: se.txt - Visual Studio Code
Loop_Insert_Text: ,1,1000,- Added to <rgb:> or <app:> after pressing R+ESC or A+ESC in db.txt. E.g., <app:Calculator,1,1000,-> or <app:Calculator,>
NoEscapeOrPause: 1 No ESCAPE and PAUSE_BREAK
io: * <test*>1 io: *
AutoBs_io: 1
ManualRepeat: 1 Enable to use <repeat> ManualRepeat: 1
Exit_EscX: 1 Press X+ESC to exit.

Note

For Kb_Key_???'s, there is the second slot for codes that will run after an input.
Limit this to only <'s by using the ' option: Kb_Key_G g '<bs>🔥.
Setting Kb_Key_??? to > will make the key act as a > and run your code. Kb_Key_Q > '<bs>.
Setting it to Kb_Key_Q >q '<bs>, or Kb_Key_Comma >, '<bs> lets you press the key twice for < and once more for >. If the second value is there, it will signal a Backspace.
(Press three times or more option) Kb_Key_Comma >,, '<bs>

To reset se.txt and db.txt, delete c:/dna folder then restart dnaspider.exe.

Press LEFT_CTRL+S inside se.txt - Visual Studio Code to push settings to dnaspider.exe.

To setup SeHotReload_CtrlS: 1, enable show file name extensions:
WIN+E CTRL+F1 View Tab [✔] File name extensions.

Clone this wiki locally