Mac, Linux & Raspberry Pi Tutorials This will be a guide on how to install all the software needed to run Pokemon Online from the source, allowing you to make local changes for either your own use or for help in advancing the simulator. Prep work First, you'll need to make some downloads. Qt 5.0.2: http://download.qt.io/archive/qt/5.0/5.0.2/qt-windows-opensource-5.0.2-mingw47_32-x86-offline.exe (650 MB, it will take some time to download. I suggest starting it now. Also, you cannot use a newer version of Qt otherwise things will not work correctly.) GitHub for Windows: https://windows.github.com/ (661 KB) Second, you'll need to have a github account and a fork of the main repo. If you do not have one, then go make one: https://github.com/ If you do, or after you make one, head over to https://github.com/po-devs/pokemon-online and click the button that says "Fork" in the upper right corner. Spoiler: Fork Button Third, you need a folder you can easily access or remember that has NO SPACES IN THE NAME. Make sure to name it something that you'll know what it is. I personally just put it in Documents with the name "POServer", but this part is up to you. Just remember where you save it because you'll need to access it very shortly. Setting up GitHub Open the GitHubSetup.exe that you downloaded and proceed to install it. It will download some additional files (45 MB) required for the program to run. Two icons will appear, probably on your desktop, called "GitHub" and "GitShell". There will also be an entry in your Start Menu to launch the programs (Folder named "GitHub, Inc"), so you're welcome to delete the icons if you prefer to have a clean desktop. Spoiler: Icons The main client should also launch. Spoiler: Login Screen Type your log in information, then use the pre-filled values for the next screen (Configure), and if anything pops up for "Repositories" just click "Skip" for now. Spoiler: Client Window Click the "+" button in the upper left of the client and select "Clone" in the new window that pops up. Select "pokemon-online" and then "Clone pokemon-online" at the bottom. Spoiler: Clone It will prompt you to select a location to clone in. Locate the folder you made in the previous section and press OK. It will then download all the files from the repo onto your computer. This process can take some time to complete fully. When it is complete, click the button in the top right for "Sync" and it will ensure your local copy matches the remote copy. Spoiler: Example of window (Optional) Personally, I prefer using Git Bash for my Shell handler. For the most part you won't be using it, but if you run into issues and do end up needing it, its a lot easier to ask for help if everyone uses the same handler. By default, GitHub uses PowerShell. In order to change it, click the Gear shaped icon in the top right and select "Options". Select "Git Bash" from the right hand list and then "Save." Setting up Qt Hopefully by now Qt is done downloading, otherwise you'll need to wait for that to finish. Open it up and proceed to install. The installer is pre-loaded with all the default values you need. Blindly agree to the terms & conditions without reading them to continue the install... or read them, I don't care. After it finishes installing it will show the completed screen. Uncheck the "ReadMe" (or don't, if you enjoy reading!) but leave "Launch Qt Creator" checked. Spoiler: Finished Setup When Qt Creator launches, go to to "File" and select "Open File or Project" (or Ctrl+O). Navigate to the folder you created at the start and open the folder that says "pokemon-online" in that folder should be a file called "PokemonOnline.pro". This is your project file, so select that to open. A configuration screen will pop up. The default values are fine once again. If it isn't broke, make a bunch of changes to it so that it breaks really bad don't fix it! Spoiler: Example Config Screen This is what your screen should look similar to Spoiler: Main Qt Window You'll need to change a few settings in order to be successful, so click the icon that looks like a computer monitor with the word "Debug" and then in the new window that pops up, change it to "Release". The reason for this is that Debug doesn't always work correctly on Windows. Once that is changed, click the icon that looks like a folder with the word "Projects". In Build steps for qmake click details and add Code (text): CONFIG+="po_all" You can also type "-j" in the Make Argument box. It's supposed to speed up build time but no one on the internet can come to a consensus on what to do with this box. Spoiler: Project Config Running Click the icon that looks like a piece of paper with the word "Edit" to go back to the main section. Your two main things you'll be running are "Server" and "Teambuilder" (Client). You can right click the section and select "Run" and the respective clients will open after a bit of building time. "BattleServer" is another one you could frequently run, but that automatically starts up when you run "Server" anyway. Keeping up to date [Coming soon] Editing files [Coming soon]
Sorry just noticed this. Typically those errors are ignorable and wouldn't cause the build to fail. Was it just taking a long time and you cancelled it? Or did it fail to build on its own? If its the former, I can help you with building parts individually. If its the latter, there's usually a red circle with an exclamation mark letting you know of the fatal error that prevent it from finishing.
After all the compiling QT Creator does it lastly says "Unable to find Pokemon-debug-.exe. It does not exist"
Qt creator always stops responding permanently upon loading the cloned project in POServer folder on Windows 10. Any way around this that doesn't involve changing operating system or completely redoing PO in an updated Qt version?
Can you try to switch the build from Debug to Release in the bottom left when you try to load the project? It should take a few seconds until Qt stops responding, so there should be enough time to swap. It will crash right after that, but after restarting Qt and reloading the project it should work fine (at least it does for me)
Turns out that the exact opposite of what you said worked for me. It loaded fine as Debug build, but crashed any time I tried to change it to Release. Got it working last night and did some testing for Fuzzy :P
Keeping up to date is simply using github. Editing files it pretty self explanatory in qt for most file types.