SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [WIP] In-game naval Enigma M4 machine (https://www.subsim.com/radioroom/showthread.php?t=205112)

kevinsue 08-20-16 09:07 PM

http://i67.tinypic.com/e8748w.jpg

Got my head around the Enigma encryption/decryption part of this amazing mod, but I just can't seem to get the radio messages working. I'm on the second patrol which is North Western Approaches, heading toward AM6144 and the date is 27/11/1939.

I've tried editing the SilentHunter5\data\RadioMessages\English\1939\11\r adiomessages.txt as per the manual but have not received any of the encrypted messages. Could anyone point me in the right direction as to which files are the main ones that generate the relevant radio messages ingame. I know I must be doing something wrong...I just don't know what yet! :oops:

vdr1981 08-21-16 07:04 AM

Here's how it looks encrypted message from my previous screenshot in one of the campaign_radiomessages.txt files...

Code:

19400324        0001        19400331        2300        1        20        1        0        0        -1        all        BDU      0001/24/3    25||XNSL XDYX NQYT VIUY NVVL CJLE OIXT UBYU BUMT KPRF GKWG RUAG HBXQ TLDJ YSOR FRKP YFTQ NKKV WIWT SVFG EBRB EPYL NLDI XNSL XDYX
I hope this can help a bit Kevin...:hmm2:

vdr1981 08-21-16 10:36 AM

Just a quick question SkyBaron. Do you have any rough ETA of your update for the mod? :hmm2: I'm asking because I'm planing to upload new update for TWoS...

SkyBaron 08-21-16 12:24 PM

Quote:

Originally Posted by vdr1981 (Post 2428216)
Just a small example of in game codded message...(Just dont ask me about the content, I have forgot and still havent learn to use "Enigma" :D)

No need to ask about it. :) All the info you need is right here:

http://i1286.photobucket.com/albums/...psi471v1fp.png

Get the current month's substitution table:

http://i1286.photobucket.com/albums/...psk9fw643f.png

Making the four pairs substitutions:

http://i1286.photobucket.com/albums/...psezrur4e1.png

http://i1286.photobucket.com/albums/...ps5qerteiw.png


....you'll get the TWO indicator groups: (ignoring the first letter)

http://i1286.photobucket.com/albums/...ps8f7g4drb.png


Looking up the allocation number for the first indicator(3 letters) you'll get the Hydra cypher:

http://i1286.photobucket.com/albums/...psu4qkul9p.png

http://i1286.photobucket.com/albums/...ps1reamr38.png


Set up the machine for that cipher and date:

http://i1286.photobucket.com/albums/...psjqckdojs.png

http://i1286.photobucket.com/albums/...psuqzgevr1.png


...set the starting rotor positions(Grundstellung) for that date:

http://i1286.photobucket.com/albums/...psxhvdbr7g.png

type the second indicator to get the message key:

http://i1286.photobucket.com/albums/...pszjs5cnpz.png

set the starting rotor positions AGAIN with that key:

http://i1286.photobucket.com/albums/...psajzqqjzy.png


and proceed to decode the message. Ignore my spelling mistakes, and I don't think I decoded the whole thing but that's how it's done :up:

http://i1286.photobucket.com/albums/...psgiheruit.png


I understand this mod is not to everyone's taste, but it's not that hard once you get the hang of it. That's what you get in a hard core mod as this one! :salute:

I'll post an updated version(with year selection) sometime this week.

vdr1981 08-21-16 01:31 PM

Very nice! :up: I have just tried to decipher the very same message but I got bunch of nothing, leaving me wondering did I screwed up something during the encryption process.
I'm glad that you managed to decipher it correctly. Now I have to track down where I made a mistake during decripting...:)

EDIT:

Hm...I done everything the same like you did, but when I entered indicator (WMYI) my output was completely different. Well , repetitio est mater studiorum...:O:

SkyBaron 08-21-16 01:44 PM

Quote:

Originally Posted by vdr1981 (Post 2428509)
EDIT:

Hm...I done everything the same like you did, but when I entered indicator (WMYI) my output was completely different. Well , repetitio est mater studiorum...:O:


The encryption indicator (second one) should be VMYI
Save

vdr1981 08-21-16 01:46 PM

Quote:

Originally Posted by SkyBaron (Post 2428513)
The encryption indicator (second one) should be VMYI
Save

my mistake, it was vmyi...

SkyBaron 08-21-16 02:08 PM

Quote:

Originally Posted by vdr1981 (Post 2428514)
my mistake, it was vmyi...

Maybe you're making a mistake with the codewheels settings. Take a look at this video I made with an older (development version) of this mod, maybe it will help.

https://www.youtube.com/watch?v=I1A_dyGbfo0

vdr1981 08-21-16 03:29 PM

Quote:

Originally Posted by SkyBaron (Post 2428516)
Maybe you're making a mistake with the codewheels settings. Take a look at this video I made with an older (development version) of this mod, maybe it will help.

https://www.youtube.com/watch?v=I1A_dyGbfo0

I made it, thanks! :up:

Wheel slots were already filled up so that confused me a bit...Now it's OK.
It's amassing how deciphering process, although a bit slow, was actually very easy.

Once again, very, very good job SkyBaron! :up::up::up:

SkyBaron 08-21-16 06:39 PM

Quote:

Originally Posted by vdr1981 (Post 2428540)
I made it, thanks! :up:

Wheel slots were already filled up so that confused me a bit...Now it's OK.
It's amassing how deciphering process, although a bit slow, was actually very easy.

Once again, very, very good job SkyBaron! :up::up::up:

Good! Pg 8 in the manual talks about the default wheels sequence when you open the machine for the first time.
Save

cpt blueballs 08-22-16 05:35 AM

Hello my fellow captains!!

i have a little trouble whit the campaign_radiomessages text file i dont now how to get it to send the coded messages in game!!??

i understand how to code the messages and i now how to encrypt them whit the EME .

i have tested this
19400324 0001 19400331 2300 1 20 1 0 0 -1 all BDU 0001/24/3 25||XNSL XDYX NQYT VIUY NVVL CJLE OIXT UBYU BUMT KPRF GKWG RUAG HBXQ TLDJ YSOR FRKP YFTQ NKKV WIWT SVFG EBRB EPYL NLDI XNSL XDYX
but still don't get anything while in game?


if someone could explain it a little more detailed, ore better upload a file whit some coded messages a would appriciate it enormously!!:)

cant wait to get this to work its an awsome mod that makes this game even more the game that it could and should be..:)

kevinsue 08-22-16 06:25 AM

http://i68.tinypic.com/2ueim9s.jpg

I finally got my radio messages through! :D

***capt blueballs, make sure you have a TAB space between each of the fields until the main message body.

19391129 0001 19391129 2300 1 20 1 0 0 -1 all BDU 1145/26/11 15|ZTRD HWSV OGWI WXFK GBLU GPJP XBFZ KUAK YSFF POUR ZAHT YTAS EEEB ZTRD HWSV

SkyBaron 08-22-16 07:15 AM

Like kevinsue said, check for the tab delimiters. I'd suggest using Notepad++ or any other text editor that has the show tabs option.

cpt blueballs 08-23-16 02:11 AM

Yea that was it!! got it rolling now thank you very much Kevinsue and Skybaron much appreciated!!:)

kevinsue 08-24-16 08:20 PM

Quote:

Originally Posted by SkyBaron (Post 2428497)

I'll post an updated version(with year selection) sometime this week.

Save

Just wondering if the updated version was part of TWOS Update 16.1 or still in the pipeline?

SkyBaron 08-25-16 05:39 AM

Quote:

Originally Posted by kevinsue (Post 2429347)
Just wondering if the updated version was part of TWOS Update 16.1 or still in the pipeline?

All future Enigma versions will be released through TWoS updates. If you install Update 16 or above you won't need the old version that was on this thread.

Nicholas2 08-27-16 12:04 PM

Can someone explain to me how to use the Enigma, I tried reading the instructions but I kept getting confused and stuck. I can't figure out the bloody first step!

Aktungbby 08-27-16 12:32 PM

Welcome aboard!
 
Nicholas2!:Kaleun_Salute:
Quote:

I can't figure out the bloody first step!
Step one: B seated:D Step Two: 'bone up' :O:https://en.wikipedia.org/wiki/Cryptanalysis_of_the_Enigma http://uboat.net/technical/enigma.htm

Nicholas2 08-27-16 01:17 PM

My problem was trying to decriypt the beginning letters, my message came to me in 1939 September the 1st, here is it. 18GOOK SWRC NQQK NHYJ DFZZ NBVH NMOH PHDV OLOY OYFG XRFM GFWZ BBBAGSLA EWIS IPDB GOOK SWRC. Maybe one of you guys can help?

vdr1981 08-27-16 02:10 PM

Quote:

Originally Posted by Nicholas2 (Post 2429950)
My problem was trying to decriypt the beginning letters, my message came to me in 1939 September the 1st, here is it. 18GOOK SWRC NQQK NHYJ DFZZ NBVH NMOH PHDV OLOY OYFG XRFM GFWZ BBBAGSLA EWIS IPDB GOOK SWRC. Maybe one of you guys can help?

I had a similar problem , I guess...

Are you struggling to determent GO=?? OK=?? SW=?? RC=?? :hmm2:

Does this image ringing any bells? As you can see in this example GO=HF. This is just an example, it is not necesery that in your message GO is equal to HF...

https://s6.postimg.org/4i68oy4mp/Untitled.png


All times are GMT -5. The time now is 05:02 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.