Difference between revisions of "Compiling-Simple"

From RPC Test Wiki
Jump to: navigation, search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Project_Meteor_Setup|Return to Project Meteor Setup]]
 
== Compiling from source ==
 
== Compiling from source ==
  
Line 9: Line 10:
 
|-
 
|-
 
| Windows
 
| Windows
| Build Tools for Visual Studio 2017
+
| Build Tools for Visual Studio 2019
| [https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=15 Download]
+
| [https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16 Download]
 
|-
 
|-
 
| Linux/macOS
 
| Linux/macOS
Line 23: Line 24:
 
|-
 
|-
 
| NuGet 3.4 (or newer)
 
| NuGet 3.4 (or newer)
| style="background: green; color: white; text-align: center;" | Officially supported
 
|-
 
| NET Framework 4.5 Targeting Pack
 
 
| style="background: green; color: white; text-align: center;" | Officially supported
 
| style="background: green; color: white; text-align: center;" | Officially supported
 
|-
 
|-
Line 31: Line 29:
 
| style="background: green; color: white; text-align: center;" | Officially supported
 
| style="background: green; color: white; text-align: center;" | Officially supported
 
|-
 
|-
| NET Framework 4.6.2 Targeting Pack [https://www.microsoft.com/en-us/download/confirmation.aspx?id=53321 Download here if it isn't listed in the MSBuildTools installer]
 
| style="background: green; color: white; text-align: center;" | Officially supported
 
 
|}
 
|}
  
[[File:MSBuildTools2017.png|thumb|150px|Select the .Net Targetting packs required for FFXIV Classic]]
+
[[File:MSBuildTools2017.png|thumb|150px|Select the .Net Targetting packs required for Project Meteor]]
  
 
You will need the appropriate build tools for your operating system. Links have been provided. For Windows users using MSBuild, please refer to the picture compiler requirements and make sure that each of the targeting packs and NuGet are installed. As sample image of the installer has been provided.
 
You will need the appropriate build tools for your operating system. Links have been provided. For Windows users using MSBuild, please refer to the picture compiler requirements and make sure that each of the targeting packs and NuGet are installed. As sample image of the installer has been provided.
Line 45: Line 41:
 
===== Via Sourcetree =====
 
===== Via Sourcetree =====
 
: 1. Download and install SourceTree
 
: 1. Download and install SourceTree
: 2. [sourcetree://cloneRepo/https://bitbucket.org/Ioncannon/ffxiv-classic-server.git Clone in Sourcetree]
+
: 2. [https://bitbucket.org/Ioncannon/project-meteor-server.git Clone in Sourcetree]
 
: 3. Select folder to clone source code to
 
: 3. Select folder to clone source code to
  
Line 51: Line 47:
  
 
===== Manually via Bitbucket =====
 
===== Manually via Bitbucket =====
: 1. Go to the [https://bitbucket.org/Ioncannon/ffxiv-classic-server.git Server source code]
+
: 1. Go to the [https://bitbucket.org/Ioncannon/project-meteor-server.git Server source code]
 
: 2. Click the "Downloads" button on the sidebar
 
: 2. Click the "Downloads" button on the sidebar
 
: 3. Click the Branches button on the navigation bar
 
: 3. Click the Branches button on the navigation bar
: 4. Select your desired branch. (We recommend [https://bitbucket.org/Ioncannon/ffxiv-classic-server/get/master.zip Master])
+
: 4. Select your desired branch. (We recommend [https://bitbucket.org/Ioncannon/project-meteor-server/get/master.zip Master] for stability or [https://bitbucket.org/Ioncannon/project-meteor-server/get/develop.zip Develop] for the latest changes)
: 5. Extract to desired folder
+
: 5. Extract to the desired folder
  
 
==== Pre-Compilation Steps ====
 
==== Pre-Compilation Steps ====
 +
[[File:Explorer_2020-09-22_12-22-37.png|thumb|150px|Cakes files go directly into the source folder]]
 
: 1. Navigate to the location the game client has been installed to and copy the following file:
 
: 1. Navigate to the location the game client has been installed to and copy the following file:
 
:: '''<FINAL FANTASY XIV client install location>\client\script\rq9q1797qvs.san'''
 
:: '''<FINAL FANTASY XIV client install location>\client\script\rq9q1797qvs.san'''
 
: 2. Navigate to the location of the server source code and rename '''rq9q1797qvs.san''' to:
 
: 2. Navigate to the location of the server source code and rename '''rq9q1797qvs.san''' to:
:: '''<Classic Server source location>\data\staticactors.bin'''  
+
:: '''<Project Meteor Server source location>\data\staticactors.bin'''  
: 3. Download the Cake file for FFXIV Classic.
+
: 3. Download the Cake file for Project Meteor.
 
:: [https://wiki.ffxivrp.org/cake-tools.zip cake-tools.zip]
 
:: [https://wiki.ffxivrp.org/cake-tools.zip cake-tools.zip]
  
 
==== Building ====
 
==== Building ====
 
[[File:Cake.png|thumb|150px|Run build.cmd on windows or build.sh on Linux/macOS]]
 
[[File:Cake.png|thumb|150px|Run build.cmd on windows or build.sh on Linux/macOS]]
: 1. Extract the contents of cake-tools.zip into the <FFXIV Classic source location> folder.
+
: 1. Extract the contents of cake-tools.zip into the <Project Meteor source location> folder.
 
: 2. Windows: Double-click build.cmd Mac/Linux: Run build.sh from your terminal.
 
: 2. Windows: Double-click build.cmd Mac/Linux: Run build.sh from your terminal.
 +
 +
[[Project_Meteor_Setup|Return to Project Meteor Setup]]

Latest revision as of 03:54, 25 March 2021

Return to Project Meteor Setup

Compiling from source

Compiler Requirements

Compiler Requirements
Operating Sytem Tool
Windows Build Tools for Visual Studio 2019 Download
Linux/macOS Mono Download
Windows Compiler Requirements
Name Version
NuGet 3.4 (or newer) Officially supported
NET Framework 4.5.2 Targeting Pack Officially supported
Select the .Net Targetting packs required for Project Meteor

You will need the appropriate build tools for your operating system. Links have been provided. For Windows users using MSBuild, please refer to the picture compiler requirements and make sure that each of the targeting packs and NuGet are installed. As sample image of the installer has been provided.

Compiling

Getting the Source Code

Via Sourcetree
1. Download and install SourceTree
2. Clone in Sourcetree
3. Select folder to clone source code to
Clone in SoureTree
Manually via Bitbucket
1. Go to the Server source code
2. Click the "Downloads" button on the sidebar
3. Click the Branches button on the navigation bar
4. Select your desired branch. (We recommend Master for stability or Develop for the latest changes)
5. Extract to the desired folder

Pre-Compilation Steps

Cakes files go directly into the source folder
1. Navigate to the location the game client has been installed to and copy the following file:
<FINAL FANTASY XIV client install location>\client\script\rq9q1797qvs.san
2. Navigate to the location of the server source code and rename rq9q1797qvs.san to:
<Project Meteor Server source location>\data\staticactors.bin
3. Download the Cake file for Project Meteor.
cake-tools.zip

Building

Run build.cmd on windows or build.sh on Linux/macOS
1. Extract the contents of cake-tools.zip into the <Project Meteor source location> folder.
2. Windows: Double-click build.cmd Mac/Linux: Run build.sh from your terminal.

Return to Project Meteor Setup