@@ -12,27 +12,27 @@ The project's main branch currently isn't in a production-ready state (it's brok |
| 12 |
The only requirements to build hUGETracker are a recent version of [Lazarus](https://www.lazarus-ide.org/) for your platform. |
12 |
The only requirements to build hUGETracker are a recent version of [Lazarus](https://www.lazarus-ide.org/) for your platform. |
| 13 |
If you plan on building for other platforms than your own, you'll need the FPC crosscompilers for those platforms. (I recommend using [FPCUpDeluxe](https://github.com/LongDirtyAnimAlf/fpcupdeluxe) but honestly you probably don't need to do this) |
13 |
If you plan on building for other platforms than your own, you'll need the FPC crosscompilers for those platforms. (I recommend using [FPCUpDeluxe](https://github.com/LongDirtyAnimAlf/fpcupdeluxe) but honestly you probably don't need to do this) |
| 14 |
|
14 |
|
| 15 |
``` |
15 |
```bat |
| 16 |
# Download this repo |
16 |
:: Download this repo |
| 17 |
git clone --recursive https://github.com/SuperDisk/hUGETracker |
17 |
git clone --recursive https://github.com/SuperDisk/hUGETracker |
| 18 |
|
18 |
|
| 19 |
# Go into the project directory |
19 |
:: Go into the project directory |
| 20 |
cd hUGETracker |
20 |
cd hUGETracker |
| 21 |
|
21 |
|
| 22 |
# Let Lazarus know about the dependencies that HT uses |
22 |
:: Let Lazarus know about the dependencies that HT uses |
| 23 |
lazbuild --add-package-link rackctls/RackCtlsPkg.lpk |
23 |
lazbuild --add-package-link rackctls/RackCtlsPkg.lpk |
| 24 |
lazbuild --add-package-link bgrabitmap/bgrabitmap/bgrabitmappack.lpk |
24 |
lazbuild --add-package-link bgrabitmap/bgrabitmap/bgrabitmappack.lpk |
| 25 |
|
25 |
|
| 26 |
# At this point if you want to develop HT, then open GBEmu.lpi in Lazarus, make sure you're in the |
26 |
:: At this point if you want to develop HT, then open GBEmu.lpi in Lazarus, make sure you're in the |
| 27 |
# Development build mode, and everything should build correctly. However, in order to allow for concurrent |
27 |
:: Development build mode, and everything should build correctly. However, in order to allow for concurrent |
| 28 |
# development on the tracker (this repo) and the sound driver (https://github.com/SuperDisk/hUGEDriver), |
28 |
:: development on the tracker (this repo) and the sound driver (https://github.com/SuperDisk/hUGEDriver), |
| 29 |
# the hUGEDriver folder is not copied to the output directory, and you're expected to symlink it there yourself; |
29 |
:: the hUGEDriver folder is not copied to the output directory, and you're expected to symlink it there yourself; |
| 30 |
# Pick one of the following: |
30 |
:: Pick one of the following: |
| 31 |
|
31 |
|
| 32 |
mklink/J lib\Development\x86_64-win64\hUGEDriver hUGEDriver |
32 |
mklink/J lib\Development\x86_64-win64\hUGEDriver hUGEDriver |
| 33 |
ln -s hUGEDriver lib/Development/x86_64-linux/hUGEDriver |
33 |
ln -s hUGEDriver lib/Development/x86_64-linux/hUGEDriver |
| 34 |
|
34 |
|
| 35 |
# If you just want to build a release for whatever platform you have, pick one of the following: |
35 |
:: If you just want to build a release for whatever platform you have, pick one of the following: |
| 36 |
|
36 |
|
| 37 |
lazbuild GBEmu.lpi --build-mode="Production Windows" |
37 |
lazbuild GBEmu.lpi --build-mode="Production Windows" |
| 38 |
lazbuild GBEmu.lpi --build-mode="Production Mac" |
38 |
lazbuild GBEmu.lpi --build-mode="Production Mac" |