[Deprecated] Building Sources (Linux, Windows, MacOS)
Posted: 30 Mar 2014, 12:47
This manual is deprecated!
Read actual manual on the PGE Wiki.
First of all, you will need to download all sources:
https://github.com/Wohlhabend-Networks/PlatGEnWohl
(use the link "Download Zip" for getting the sources from GitHub)
And to download the Configuration package which contains graphics, music and sounds:
http://wohlsoft.ru/docs/_configs/A2MBXT/Raocow_talkhaus_full.zip (also you can get another config pack here)
Note: Don't forget place configs, languages (after built *.qm files) and data (with included graphics and music) dirs with compiled executable file!
How to correctly place media and graphics files with application:
Read actual manual on the PGE Wiki.
First of all, you will need to download all sources:
https://github.com/Wohlhabend-Networks/PlatGEnWohl
(use the link "Download Zip" for getting the sources from GitHub)
- How to Download ZIP from GitHub

Code: Select all
git clone https://github.com/Wohlhabend-Networks/PlatGEnWohl.git
And to download the Configuration package which contains graphics, music and sounds:
http://wohlsoft.ru/docs/_configs/A2MBXT/Raocow_talkhaus_full.zip (also you can get another config pack here)
Note: Don't forget place configs, languages (after built *.qm files) and data (with included graphics and music) dirs with compiled executable file!
- Build on Linux

- Moved to the Wiki page
- Build on Windows

- Moved to the Wiki page
- Build on MacOS
- MANUAL DEPRECATED
You will need to first install the following developer tools:
- Homebrew
- qt >=5
- SDL2
- SDL2_mixer
Install Developer Tools
1. You must install Homebrew (go to this link, then copy and paste the script at the bottom of the page into Terminal):
http://brew.sh
2. Once installed, open a new window in Terminal, and type:Code: Select all
brew install qt5 sdl2 sdl2_mixer
3. Wait for the install to finish, it may take a little while.
Preparing for build
4. Next:- Extract the source code to a folder where you can find it easily, like your desktop,
- Extract the graphics from Raocow_talkhaus_full.zip into their proper folder too. (into /path/to/your/source/Content/configs)
You must have this tree:- configs/<ConfigPackDir>/data folder tree
- -configs/ConfigPackDir/data
--music
--sound
--graphics
----common
----characters
------mario
------peach
------luigi
------toad
------link
----level
------background
------background2
------block
------npc
------effect
----worldmap
------level
------player
------tiles
------scene
------tile
Build code:
5. In Terminal, navigate to the folder where you extracted the source code, or type "cd", press space, and then drag the folder with the code onto Terminal and hit enter.
6. Type "chmod u+x build.sh", and hit enter.
7. Type "./build.sh" and hit enter.
If everything is successfully built, you will see the file "pge_editor" in the bin folder. Exec this file for starting the editor.
Also you can build manually:Code: Select all
qmake
cd Editor
lrelease pge_editor.pro
cd ..
make
make install
And you can run pge_editor from a bin directory
Thanks to CaptainSwag101 for these instructions.
How to correctly place media and graphics files with application:
- Data structure
- pge_editor (or pge_editor.exe for Windows systems)
pge_editor.ini
configs/
----<ConfigPackDir>/First of all, you will need to download all sources:
https://github.com/Wohlhabend-Networks/PlatGEnWohl
(use the link "Download Zip" for getting the sources from GitHub)- How to Download ZIP from GitHub

Code: Select all
git clone https://github.com/Wohlhabend-Networks/PlatGEnWohl.git
And to download the Configuration package which contains graphics, music and sounds:
http://wohlsoft.ru/docs/_configs/A2MBXT/Raocow_talkhaus_full.zip (also you can get another config pack here)
Note: Don't forget place configs, languages (after built *.qm files) and data (with included graphics and music) dirs with compiled executable file!- Build on Linux

- Moved to the Wiki page
- Build on Windows

- Moved to the Wiki page
- Build on MacOS
- MANUAL DEPRECATED
You will need to first install the following developer tools:
- Homebrew
- qt >=5
- SDL2
- SDL2_mixer
Install Developer Tools
1. You must install Homebrew (go to this link, then copy and paste the script at the bottom of the page into Terminal):
http://brew.sh
2. Once installed, open a new window in Terminal, and type:Code: Select all
brew install qt5 sdl2 sdl2_mixer
3. Wait for the install to finish, it may take a little while.
Preparing for build
4. Next:- Extract the source code to a folder where you can find it easily, like your desktop,
- Extract the graphics from Raocow_talkhaus_full.zip into their proper folder too. (into /path/to/your/source/Content/configs)
You must have this tree:- configs/<ConfigPackDir>/data folder tree
- -configs/ConfigPackDir/data
--music
--sound
--graphics
----common
----characters
------mario
------peach
------luigi
------toad
------link
----level
------background
------background2
------block
------npc
------effect
----worldmap
------level
------player
------tiles
------scene
------tile
Build code:
5. In Terminal, navigate to the folder where you extracted the source code, or type "cd", press space, and then drag the folder with the code onto Terminal and hit enter.
6. Type "chmod u+x build.sh", and hit enter.
7. Type "./build.sh" and hit enter.
If everything is successfully built, you will see the file "pge_editor" in the bin folder. Exec this file for starting the editor.
Also you can build manually:Code: Select all
qmake
cd Editor
lrelease pge_editor.pro
cd ..
make
make install
And you can run pge_editor from a bin directory
Thanks to CaptainSwag101 for these instructions.
How to correctly place media and graphics files with application:- Data structure
- pge_editor (or pge_editor.exe for Windows systems)
pge_editor.ini
configs/
----<ConfigPackDir>/
--------/*.ini
--------data/
------------/*.png
------------/*.gif
------------graphics/
----------------/[graphics files tree]
------------music/
----------------/*.ogg,mp3,wav,etc...
------------sound/
----------------/*.ogg,wav
languages/
------/*.qm
------/*.png
--------data/
------------/*.png
------------/*.gif
------------graphics/
----------------/[graphics files tree]
------------music/
----------------/*.ogg,mp3,wav,etc...
------------sound/
----------------/*.ogg,wav
languages/
------/*.qm
------/*.png

