E2150 - MooS v2.2: Difference between revisions
m
Syntax highlighting
(Added extra info to base64, updated devel info, included GitHub link) |
m (Syntax highlighting) |
||
Line 2:
To some the name "moos" will probably say something else, for everyone else here a short description: "moos is a small program that makes it possible to chat on EarthNet without starting the game."
'''moos.ini''' (''Example Config'')
<syntaxhighlight lang="ini">
languagefile=C:\\Program Files (x86)\\moos21\\english.ini
* [accounts]▼
* [accounts/<Base64 username>]▼
* server=moos.insideearth.info▼
* chatcolor=▼
* [server/moos.insideearth.info]▼
* port=12100▼
* [layout]▼
* maximized=0▼
* x=231▼
* y=212▼
* width=720▼
* height=480▼
</syntaxhighlight>
See [https://github.com/surrim/moos21/blob/1030d9bb56a5fce7614389ea7bf24d3da0f0e9ce/src/tools.cpp#L93 Base64] and [https://github.com/surrim/moos21/blob/1030d9bb56a5fce7614389ea7bf24d3da0f0e9ce/src/tools.cpp#L95 Base64 encrypted] in the source code, as it is a slightly different Base64 ("/" is "-"), shuffled for encryption.
As long as the user name doesn't contain a "-" you can decode it on Linux:
<syntaxhighlight lang="bash">
$ echo "c3VycmltQG1vb3M\=" | base64 -d
surrim@moos
</syntaxhighlight>
'''Source''':
|