Skip to content

Commit d6dac64

Browse files
committed
CRLF
1 parent dab91ad commit d6dac64

15 files changed

+1218
-1218
lines changed

README.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
# Arduino-Source
2-
3-
This is the source code for all the main Arduino programs.
4-
5-
[<img src="https://canary.discordapp.com/api/guilds/695809740428673034/widget.png?style=banner2">](https://discord.gg/cQ4gWxN)
6-
7-
8-
# Licensing:
9-
- Unless otherwise specified, all source code in this repository is under the MIT license.
10-
- Some files may be under other (compatible) licenses.
11-
- All precompiled binaries and object files are free for non-commercial use only. For all other uses, please contact the Pokémon Automation server admins.
12-
13-
# Dependencies:
14-
15-
| **Dependency** | **License** |
16-
| --- | --- |
17-
| Qt5 and Qt6 | LGPLv3 |
18-
| [QDarkStyleSheet](https://github.com/ColinDuquesnoy/QDarkStyleSheet) | MIT |
19-
| [Qt Wav Reader](https://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimedia/spectrum/app/wavfile.cpp?h=5.15) | BSD |
20-
| [nlohmann json](https://github.com/nlohmann/json) | MIT |
21-
| [Sleepy Discord](https://github.com/yourWaifu/sleepy-discord) | MIT |
22-
| [D++](https://github.com/brainboxdotcc/DPP) | Apache 2.0 |
23-
| [LUFA](https://github.com/abcminiuser/lufa) | MIT |
24-
| [Tesseract](https://github.com/tesseract-ocr/tesseract) | Apache 2.0 |
25-
| [Tesseract for Windows](https://github.com/peirick/Tesseract-OCR_for_Windows) | Apache 2.0 |
26-
| [OpenCV](https://github.com/opencv/opencv) | Apache 2.0 |
27-
| [ONNX](https://github.com/microsoft/onnxruntime) | MIT |
28-
29-
Vanilla GPL is disallowed, though LGPL is allowed. This is for the following reasons:
30-
1. A tiny portion of the project is not open-sourced. (mostly related to telemetry and internal research experiments)
31-
2. We reserve right to re-license the project in ways that do not abide by the copy-left requirement of GPL.
1+
# Arduino-Source
2+
3+
This is the source code for all the main Arduino programs.
4+
5+
[<img src="https://canary.discordapp.com/api/guilds/695809740428673034/widget.png?style=banner2">](https://discord.gg/cQ4gWxN)
6+
7+
8+
# Licensing:
9+
- Unless otherwise specified, all source code in this repository is under the MIT license.
10+
- Some files may be under other (compatible) licenses.
11+
- All precompiled binaries and object files are free for non-commercial use only. For all other uses, please contact the Pokémon Automation server admins.
12+
13+
# Dependencies:
14+
15+
| **Dependency** | **License** |
16+
| --- | --- |
17+
| Qt5 and Qt6 | LGPLv3 |
18+
| [QDarkStyleSheet](https://github.com/ColinDuquesnoy/QDarkStyleSheet) | MIT |
19+
| [Qt Wav Reader](https://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimedia/spectrum/app/wavfile.cpp?h=5.15) | BSD |
20+
| [nlohmann json](https://github.com/nlohmann/json) | MIT |
21+
| [Sleepy Discord](https://github.com/yourWaifu/sleepy-discord) | MIT |
22+
| [D++](https://github.com/brainboxdotcc/DPP) | Apache 2.0 |
23+
| [LUFA](https://github.com/abcminiuser/lufa) | MIT |
24+
| [Tesseract](https://github.com/tesseract-ocr/tesseract) | Apache 2.0 |
25+
| [Tesseract for Windows](https://github.com/peirick/Tesseract-OCR_for_Windows) | Apache 2.0 |
26+
| [OpenCV](https://github.com/opencv/opencv) | Apache 2.0 |
27+
| [ONNX](https://github.com/microsoft/onnxruntime) | MIT |
28+
29+
Vanilla GPL is disallowed, though LGPL is allowed. This is for the following reasons:
30+
1. A tiny portion of the project is not open-sourced. (mostly related to telemetry and internal research experiments)
31+
2. We reserve right to re-license the project in ways that do not abide by the copy-left requirement of GPL.
Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
1-
# How to Build (Qt 6.8.2) - Ubuntu 24.04
2-
3-
Note that our Ubuntu setup does not work. The video display flickers to the point of being unusable.
4-
5-
## Build Tools:
6-
7-
Install the following packages:
8-
9-
```
10-
sudo apt install cmake
11-
sudo apt install libglx-dev libgl1-mesa-dev
12-
sudo apt install libopencv-dev
13-
```
14-
15-
16-
## Install Qt 6.8.2:
17-
18-
1. Download the online installer from here: https://www.qt.io/download-qt-installer
19-
2. Select custom install settings.
20-
3. Select the following options:
21-
- Qt 6.8.2
22-
- MSVC 2022 64-bit
23-
- Sources
24-
- Additional Libraries
25-
- Qt Image Formats
26-
- Qt Multimedia
27-
- Qt Serial Port
28-
- Qt Debug Information Files
29-
30-
![](Images/Windows-Install-Qt6.7.3-Custom.png)
31-
![](Images/Windows-Install-Qt6.8.2-Components.png)
32-
33-
## Setup:
34-
35-
1. Clone this repo.
36-
2. Clone the [Packages Repo](https://github.com/PokemonAutomation/Packages).
37-
3. In the `Packages` repo, copy the `SerialPrograms/Resources` folder into the root of the `Arduino-Source` repo.
38-
39-
![](Images/Directory.png)
40-
41-
4. Open Qt Creator.
42-
5. Click on `File` -> `Open File or Project`.
43-
6. Navigate to `SerialPrograms` and select `CMakeLists.txt`.
44-
7. Enable parallel build: Build & Run -> Build Steps -> Build -> Details -> CMake arguments: `-j16` (the # of cores you have)
45-
8. At the bottom left corner, click on the little monitor and select `Release with Debug Information`.
46-
9. Still in the bottom left corner, click the upper green arrow to compile and launch the program.
47-
48-
<hr>
49-
50-
**Discord Server:**
51-
52-
53-
[<img src="https://canary.discordapp.com/api/guilds/695809740428673034/widget.png?style=banner2">](https://discord.gg/cQ4gWxN)
54-
1+
# How to Build (Qt 6.8.2) - Ubuntu 24.04
2+
3+
Note that our Ubuntu setup does not work. The video display flickers to the point of being unusable.
4+
5+
## Build Tools:
6+
7+
Install the following packages:
8+
9+
```
10+
sudo apt install cmake
11+
sudo apt install libglx-dev libgl1-mesa-dev
12+
sudo apt install libopencv-dev
13+
```
14+
15+
16+
## Install Qt 6.8.2:
17+
18+
1. Download the online installer from here: https://www.qt.io/download-qt-installer
19+
2. Select custom install settings.
20+
3. Select the following options:
21+
- Qt 6.8.2
22+
- MSVC 2022 64-bit
23+
- Sources
24+
- Additional Libraries
25+
- Qt Image Formats
26+
- Qt Multimedia
27+
- Qt Serial Port
28+
- Qt Debug Information Files
29+
30+
![](Images/Windows-Install-Qt6.7.3-Custom.png)
31+
![](Images/Windows-Install-Qt6.8.2-Components.png)
32+
33+
## Setup:
34+
35+
1. Clone this repo.
36+
2. Clone the [Packages Repo](https://github.com/PokemonAutomation/Packages).
37+
3. In the `Packages` repo, copy the `SerialPrograms/Resources` folder into the root of the `Arduino-Source` repo.
38+
39+
![](Images/Directory.png)
40+
41+
4. Open Qt Creator.
42+
5. Click on `File` -> `Open File or Project`.
43+
6. Navigate to `SerialPrograms` and select `CMakeLists.txt`.
44+
7. Enable parallel build: Build & Run -> Build Steps -> Build -> Details -> CMake arguments: `-j16` (the # of cores you have)
45+
8. At the bottom left corner, click on the little monitor and select `Release with Debug Information`.
46+
9. Still in the bottom left corner, click the upper green arrow to compile and launch the program.
47+
48+
<hr>
49+
50+
**Discord Server:**
51+
52+
53+
[<img src="https://canary.discordapp.com/api/guilds/695809740428673034/widget.png?style=banner2">](https://discord.gg/cQ4gWxN)
54+
Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
1-
# How to Build (Qt 5.12) - Windows
2-
3-
## Build Tools:
4-
5-
1. Install Visual Studio 2019:
6-
1. [Download Page](https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes)
7-
2. Make sure you select the C++ development tools.
8-
2. Install Windows Development SDK:
9-
1. [Download Page](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/)
10-
3. Install CMake:
11-
1. [Download Page](https://cmake.org/download/)
12-
2. When prompted select, "Add CMake to the system PATH for all users".
13-
4. Install Qt 5.12.12:
14-
1. [Download the offline installer.](https://www.qt.io/offline-installers) [Direct Download Link](https://download.qt.io/official_releases/qt/5.12/5.12.12/qt-opensource-windows-x86-5.12.12.exe)
15-
2. Disconnect from the internet. This is needed to keep it from forcing you to create an account.
16-
3. Run the installer.
17-
4. When prompted for components, select all of the following:
18-
- Qt 5.12.12
19-
- MSVC 2017 32-bit
20-
- MSVC 2017 64-bit
21-
- MinGW 7.3.0 32-bit
22-
- MinGW 7.3.0 64-bit
23-
- Developer and Designer Tools
24-
- Qt Creator 5.0.2 CDB Debugger Support
25-
- MinGW 7.3.0 32-bit
26-
- MinGW 7.3.0 64-bit
27-
28-
![](Images/Windows-Install-Qt.png)
29-
30-
## Setup:
31-
32-
1. Clone this repo.
33-
2. Clone the [Packages Repo](https://github.com/PokemonAutomation/Packages).
34-
3. In the `Packages` repo, copy the `SerialPrograms/Resources` folder into the root of the `Arduino-Source` repo.
35-
36-
![](Images/Directory.png)
37-
38-
4. Open Qt Creator.
39-
5. Click on `Projects` -> `Open`.
40-
6. Navigate to [`SerialPrograms`](./) and select `CMakeLists.txt`.
41-
7. It will then ask you to configure the project. Select `Desktop Qt 5.12.12 MSVC2017 64bit`*.
42-
8. At the bottom left corner, click on the little monitor and select `Release with Debug Information`.
43-
9. Open up the file `CMakeLists.txt`. Change `QT_MAJOR` to `5`.![](Images/QT_MAJOR-6.png)
44-
10. Click the upper green arrow** to compile and launch the program.
45-
46-
![](Images/Windows-Configuration.png)
47-
48-
49-
*Even though it says "MSVC2017", it will be using your MSVC 2019 installation instead.
50-
51-
**Note that you will not be able to feasibly run with a debugger attached. This is because Qt Creator places a breakpoint on every single thrown exception and this application heavily uses exceptions even for non-error situations. So the debugger will break on literally everything. If you know how to disable break on exceptions, please let us know.
52-
53-
54-
<hr>
55-
56-
**Discord Server:**
57-
58-
59-
[<img src="https://canary.discordapp.com/api/guilds/695809740428673034/widget.png?style=banner2">](https://discord.gg/cQ4gWxN)
60-
1+
# How to Build (Qt 5.12) - Windows
2+
3+
## Build Tools:
4+
5+
1. Install Visual Studio 2019:
6+
1. [Download Page](https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes)
7+
2. Make sure you select the C++ development tools.
8+
2. Install Windows Development SDK:
9+
1. [Download Page](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/)
10+
3. Install CMake:
11+
1. [Download Page](https://cmake.org/download/)
12+
2. When prompted select, "Add CMake to the system PATH for all users".
13+
4. Install Qt 5.12.12:
14+
1. [Download the offline installer.](https://www.qt.io/offline-installers) [Direct Download Link](https://download.qt.io/official_releases/qt/5.12/5.12.12/qt-opensource-windows-x86-5.12.12.exe)
15+
2. Disconnect from the internet. This is needed to keep it from forcing you to create an account.
16+
3. Run the installer.
17+
4. When prompted for components, select all of the following:
18+
- Qt 5.12.12
19+
- MSVC 2017 32-bit
20+
- MSVC 2017 64-bit
21+
- MinGW 7.3.0 32-bit
22+
- MinGW 7.3.0 64-bit
23+
- Developer and Designer Tools
24+
- Qt Creator 5.0.2 CDB Debugger Support
25+
- MinGW 7.3.0 32-bit
26+
- MinGW 7.3.0 64-bit
27+
28+
![](Images/Windows-Install-Qt.png)
29+
30+
## Setup:
31+
32+
1. Clone this repo.
33+
2. Clone the [Packages Repo](https://github.com/PokemonAutomation/Packages).
34+
3. In the `Packages` repo, copy the `SerialPrograms/Resources` folder into the root of the `Arduino-Source` repo.
35+
36+
![](Images/Directory.png)
37+
38+
4. Open Qt Creator.
39+
5. Click on `Projects` -> `Open`.
40+
6. Navigate to [`SerialPrograms`](./) and select `CMakeLists.txt`.
41+
7. It will then ask you to configure the project. Select `Desktop Qt 5.12.12 MSVC2017 64bit`*.
42+
8. At the bottom left corner, click on the little monitor and select `Release with Debug Information`.
43+
9. Open up the file `CMakeLists.txt`. Change `QT_MAJOR` to `5`.![](Images/QT_MAJOR-6.png)
44+
10. Click the upper green arrow** to compile and launch the program.
45+
46+
![](Images/Windows-Configuration.png)
47+
48+
49+
*Even though it says "MSVC2017", it will be using your MSVC 2019 installation instead.
50+
51+
**Note that you will not be able to feasibly run with a debugger attached. This is because Qt Creator places a breakpoint on every single thrown exception and this application heavily uses exceptions even for non-error situations. So the debugger will break on literally everything. If you know how to disable break on exceptions, please let us know.
52+
53+
54+
<hr>
55+
56+
**Discord Server:**
57+
58+
59+
[<img src="https://canary.discordapp.com/api/guilds/695809740428673034/widget.png?style=banner2">](https://discord.gg/cQ4gWxN)
60+

0 commit comments

Comments
 (0)