Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Enigma Machine
   
Award
Favorite
Favorited
Unfavorite
Microcontrollers: Composite, Microcontroller
Tags: v1.5.7
File Size
Posted
Updated
28.809 KB
25 Jan, 2022 @ 10:11am
13 Aug, 2022 @ 2:06pm
4 Change Notes ( view )

Subscribe to download
Enigma Machine

Description
Based on the real Enigma Machine used by Germany in WW2. It has 11 code wheels, for 3 slots. It does not have the plug board. All controls are on screen.

Usable characters: A-Z, 0-9,"_", and "."

Maximum of 32 characters per message.

To Encode a message:
Type the message using the onscreen keyboard.
Set the code wheels, both witch wheel and position.
Press "Enc".
The second line is the encoded message.
The micro controller will output the current encoded message over composite.
Use the "Dsp" to change the screen to just the encoded text, intended for video transmit.

To Decode a message:
Either type the encoded message using the keyboard.
OR
Use "From Other" boolean input to input a composite signal.
Set the code wheels, both witch wheel and position.
Pres "Dec".
Second line is the decoded message.

Example: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2731455367

You may use this in uploaded creations, as long as there is a reference with a link.
12 Comments
Platratio34  [author] 13 Aug, 2022 @ 2:08pm 
I just uploaded the fixed version, sorry for the wait
BENZIN 2 Aug, 2022 @ 7:28am 
@Platratio34 alright thanks!
Platratio34  [author] 2 Aug, 2022 @ 4:54am 
Woops, I broke it, I am going to revert it, and fix it when I can. Fixed version won't come for about 2 weeks.
BENZIN 1 Aug, 2022 @ 3:19am 
@Platratio34 the example also just shows blank white screen now
BENZIN 31 Jul, 2022 @ 3:32pm 
@Platratio34 just checked the updated version, am I doing something wrong? It just displays plain white now
BENZIN 31 Jul, 2022 @ 3:24pm 
@Platratio34 thanks! great stuff
Platratio34  [author] 31 Jul, 2022 @ 1:52pm 
Regarding the wheels, they only change when you change them, and the positions change based on how many characters were encoded or decoded, witch is how the original worked. I have fixed the background issue for transmitting.
BENZIN 31 Jul, 2022 @ 8:57am 
plus, can you draw a black background? Transmitting the screen via video transmitter can only transmit the text and it is really hard to read on the receiving hand because the background has 0 alpha
BENZIN 31 Jul, 2022 @ 8:18am 
@Platratio34 this is great, I will publish a ship with the enigma machine on board very soon. However is there a way to alter the code so it doesnt randomize WHL and POS every time after transmitting?
Platratio34  [author] 1 Feb, 2022 @ 9:13pm 
I will look into an boolean out for transmit when it is finished encoding a message