E2150 - Modding Overview: Difference between revisions

From InsideEARTH
Content added Content deleted
(Created page with "To Modify Earth 2150, you first need to understand the key files of the game and the limitations that are currently enforced upon the community due to the lack of game source...")
 
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
To Modify Earth 2150, you first need to understand the key files of the game and the limitations that are currently enforced upon the community due to the lack of game source code.
To modify Earth 2150, you first need to understand the key components of the game and the limitations that are currently enforced upon the community due to the lack of available game source code.


The core is as follows:


* '''Engine'''
** The Engine is fully contained with in the game executible, for which the Source Code was lost.
* '''Game Parameters'''
** The core configuration of the game (outside of the engine) is done in the paramenters file. The Parameters (or "par" file for short) is named aptly "Earth2150.par".
* '''Programming Language'''
** EarthC (or MoonC) is the main programming language of the game, full guides for this can be [[E2150 - EarthC Documentation|read here]].
* '''Tools'''
** SDK Tools
*** To obatin access to the SDK Tools (EarthC (& MoonC), WDCreator & LangC), you will need to purcahse the "[https://store.steampowered.com/app/986230/Earth_2150__Digital_Deluxe_Content/ Earth 2150 - Deluxe Edition]"''
** Community Tools
*** In the above repository, you will find a colmintation of community delveloped tools to assit with the ecxxtraction, editing and re-packaging of the requireed game files.


The core components are as follows:
In addition to the above, the following information shouls be understood;


'''Engine'''
* Any and all modified files should be compiled into a single ".WD" file, that is then placed into a "CustomWDFiles" folder that resides in the Game Directoy Root, or within the existing "WDFiles" folderm, however the later is not recomended.

NAME.WD
* The Engine is fully contained within the game executable, for which the Source Code was lost.
├───Interface

├───Language
'''Game Parameters'''
│ Credits.txt
* The core configuration of the game (outside of the engine) is done in the parameters file.
│ Language.lan
* This file contains all information on definitions, buildings, units, weapons, and much more.
* The parameters (or "par" file for short) is named aptly "Earth2150.par".
├───Meshes
'''Programming Language'''
* EarthC (or MoonC) is the main programming language for the game.
├───Parameters
* This is used to create Campaigns, Gametypes, Unit & AI Scripts.
│ EARTH2150.par
* Full guides for this can be found [[E2150_-_Earth-C_Documentation|here]] & [[E2150_-_Moon-C_Documentation|here]].
│ gamescripts.txt
'''Tools'''
│ objdef.txt
* SDK Tools
** To obtain access to the SDK Tools (EarthC (& MoonC), WDCreator & LangC), you will need to purchase the "[https://store.steampowered.com/app/986230/Earth_2150__Digital_Deluxe_Content/ Earth 2150 - Deluxe Edition]"
├───Scripts
* Community Tools
│ ├───GameTypes
** In this [https://github.com/InsideEarth2150/Programming/tree/main/Tools repository], you will find a combination of community developed tools to assist with the extraction, editing and re-packaging of the required game files.
│ │ └───Single
├───Language
│ └───Units
├───Misc
└───Textures
├───Textures
└───WDFiles



In addition to the above, the following information should be understood;
* The Game Folder Structure is as follows;
<~/GAMEROOT>
├───CustomWDFiles
│ *.wd
├───Levels
│ <MAP NAME>.lnd
│ <MAP NAME>.mis
├───Modules
├───Music
│ *.MP2
├───Players
│ ├───<PLAYERNAME>.S&N
│ │ ******.sav
│ │ UserInfo.dat
│ ├───<PLAYERNAME>.ED
│ │ ******.sav
│ │ UserInfo.dat
│ ├───<PLAYERNAME>.UCS
│ │ ******.sav
│ │ UserInfo.dat
│ ├───<PLAYERNAME>.LC
│ │ ******.sav
│ │ UserInfo.dat
│ └───Editor
│ UserInfo.dat
├───Video
│ *.wd1
└───WDFiles
*.wd



* Any and all modified files should be compiled into a single ".WD" file, that is then placed into a "CustomWDFiles" folder that resides in the Game Directory Root, or within the existing "WDFiles" folder, however the later is not recommended.
~\GAMEROOT\CustomWDFiles\<FILENAME>.WD
├───Interface
│ *.tex
├───Language
│ Credits.txt
│ Language.lan
├───Meshes
│ *.msh
├───Parameters
│ EARTH2150.par
│ gamescripts.txt
│ objdef.txt
├───Scripts
│ ├───AIPlayers
│ │
│ ├───Campaigns
│ │ ├───ED
│ │ │ └───Missions
│ │ │ *.ecoMP
│ │ │
│ │ ├───LC
│ │ │ └───Missions
│ │ │ *.ecoMP
│ │ │
│ │ └───UCS
│ │ └───Missions
│ │ *.ecoMP
│ │
│ ├───GameTypes
│ │ └───Single
│ │
│ └───Units
│ └───AI
└───Textures

Latest revision as of 13:51, 9 February 2024

To modify Earth 2150, you first need to understand the key components of the game and the limitations that are currently enforced upon the community due to the lack of available game source code.


The core components are as follows:

Engine

  • The Engine is fully contained within the game executable, for which the Source Code was lost.

Game Parameters

  • The core configuration of the game (outside of the engine) is done in the parameters file.
  • This file contains all information on definitions, buildings, units, weapons, and much more.
  • The parameters (or "par" file for short) is named aptly "Earth2150.par".

Programming Language

  • EarthC (or MoonC) is the main programming language for the game.
  • This is used to create Campaigns, Gametypes, Unit & AI Scripts.
  • Full guides for this can be found here & here.

Tools

  • SDK Tools
  • Community Tools
    • In this repository, you will find a combination of community developed tools to assist with the extraction, editing and re-packaging of the required game files.
   ├───Language
   ├───Misc
   ├───Textures
   └───WDFiles


In addition to the above, the following information should be understood;

  • The Game Folder Structure is as follows;
<~/GAMEROOT>
   ├───CustomWDFiles
   │       *.wd
   │ 
   ├───Levels
   │       <MAP NAME>.lnd
   │       <MAP NAME>.mis 
   │ 
   ├───Modules
   │ 
   ├───Music
   │       *.MP2
   │ 
   ├───Players
   │   ├───<PLAYERNAME>.S&N
   │   │   ******.sav
   │   │   UserInfo.dat
   │   ├───<PLAYERNAME>.ED
   │   │   ******.sav
   │   │   UserInfo.dat
   │   ├───<PLAYERNAME>.UCS
   │   │   ******.sav
   │   │   UserInfo.dat
   │   ├───<PLAYERNAME>.LC
   │   │   ******.sav
   │   │   UserInfo.dat
   │   └───Editor
   │       UserInfo.dat
   │      
   ├───Video
   │       *.wd1
   └───WDFiles
           *.wd


  • Any and all modified files should be compiled into a single ".WD" file, that is then placed into a "CustomWDFiles" folder that resides in the Game Directory Root, or within the existing "WDFiles" folder, however the later is not recommended.
~\GAMEROOT\CustomWDFiles\<FILENAME>.WD
   ├───Interface
   │       *.tex
   │       
   ├───Language
   │       Credits.txt
   │       Language.lan
   │
   ├───Meshes
   │       *.msh
   │
   ├───Parameters
   │       EARTH2150.par
   │       gamescripts.txt
   │       objdef.txt
   │
   ├───Scripts
   │   ├───AIPlayers
   │   │
   │   ├───Campaigns
   │   │   ├───ED
   │   │   │   └───Missions
   │   │   │           *.ecoMP
   │   │   │
   │   │   ├───LC
   │   │   │   └───Missions
   │   │   │           *.ecoMP
   │   │   │
   │   │   └───UCS
   │   │       └───Missions
   │   │               *.ecoMP
   │   │
   │   ├───GameTypes
   │   │   └───Single
   │   │
   │   └───Units
   │       └───AI
   │   
   └───Textures