-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
52 lines (37 loc) · 1.96 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
TetriNET X Modern - New GNU Tetrinet Server
This project is an update of the classic tetrinetx - GNU TetriNET Server -
to be supported by new linux distributions and C compiler versions.
This project started with the tetrinetx version 1.13.16 without qirc,
because the objective is to advance with the tetrinet server implementetion,
without interest in IRC Server or spectator features.
View the CHANGELOG file to follow what was done.
This code was built using Ubuntu and it was developed using Visual Studio
Code running in Windows 10, integrated with WSL (Windows Subsystem for
Linux) to compile and run the code in the native environment.
Problems or suggestions about this project?
Open a New Issue in Github:
https://github.com/agcorreatech/tetrinetx-modern/issues
This job is in progress and it is beign done by
Alexandro Corrêa <alex.linux@gmail.com> from Brazil.
___________________________________________________________________________
How to compile the project
If you want to run the Tetrinet Server, you don't need to compile the code,
just use the binary file located in "bin" folder.
But if you want to compile your own code or make your own changes, follow
the steps described above to setup the environment to compile:
1. Install Microsoft Visual Studio Code and clone the project (git clone)
2. Open Power Shell and execute: wsl --install -d ubuntu
3. Install Visual Studio Code Remote Development Extension Pack:
https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack
4. Open a Terminal in Vscode or a Windows Command Pronpt and execute:
4.1 wls
4.2 sudo apt-get update
4.3 sudo apt-get upgrade
4.4 sudo apt-get install bash
4.5 sudo apt-get install gcc
Now the environment is prepared to compile the project. Execute the commands:
1. cd src
2. sed -i -e 's/\r$//' compile.linux
3. ./compile.linux
[Linux] Compiling TetriNET X Modern Server [../bin/tetrix-modern.linux]
Well Done!