Author Topic: Modding prerequisites (Visual Studio 2019)  (Read 6657 times)

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1720
    • View Profile
Modding prerequisites (Visual Studio 2019)
« on: April 30, 2018, 02:25:36 am »
You can develop mods by using Client or Server, but we suggest to use CryoFall Editor as it including both Client and Server in a single executable (and some other awesome developer features as well)!
If you own the game on Steam you can download CryoFall Editor from Steam.
(If you have an atomictorch.com account and own the game you can acquire the Steam key from My Games and Items page and then activate it in Steam and follow the link above to install CryoFall Editor from Steam)

  • Install Visual Studio 2019 (any edition, including free Community edition). Enable .NET desktop development, but before continuing installation, please ensure that you've checked ".NET Framework 4.7.2 targeting pack".
  • If you already have VS2019 installed, please launch Visual Studio Installer -> Modify -> Individual components—and ensure that ".NET Framework 4.7.2 targeting pack" is checked and installed.
  • Download and install CryoFall Modding SDK extension
  • Extract <game folder>/Core/Core.cpk archive file - you can do this by executing a CMD script located in the same folder. If you prefer to extract it manually (it's a simple Zip archive), please delete the original file after extraction and rename the extracted folder to "Core.cpk".

After that, you can open the game solution file with VS2019. It's located in <game folder>/Core/Core.cpk/.


A few important notes:
  • The CryoFall custom game engine (called Renkei) supports live reloading of C# & XAML code (as well as all the visual and audio assets) so it's not necessary to restart the game to observe the changes! Though if you feel necessary to force reload everything immediately you can press Ctrl+F5 shortcut.
  • XAML Designer is not supported (though it can work fine in most cases) and it's recommended to disable it (Visual Studio Options, XAML designer, uncheck "Enable XAML Designer").
  • If you want to debug your code with breakpoints, please go to Visual Studio Options, Debugging, uncheck "Require source files to exactly match the original version" (because the game includes C# compiler which performs some code-generation and so resulting C# files do not match the original C# files - but it's not a problem for step-by-step debugging as the C# code lines kept intact).

If you're intending to make just a customized game server (custom rates, etc) and don't want to produce any mods, please follow this guide (scroll to end).

Regards!
« Last Edit: September 15, 2020, 04:50:53 am by ai_enabled »

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1720
    • View Profile
Re: Modding prerequisites (Visual Studio 2017)
« Reply #1 on: April 09, 2019, 06:55:20 am »
The guide has been updated. Enjoy!

PnYMaT

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Modding prerequisites (Visual Studio 2019)
« Reply #2 on: August 14, 2020, 08:44:34 am »
Hi, you say :

...
If you have an atomictorch.com account and own the game you could download CryoFall Editor from My Games and Items page.
...

But i do not have download link for the editor in my Atomic Torch account (I buy the game some years ago)

Can you help me ?

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1720
    • View Profile
Re: Modding prerequisites (Visual Studio 2019)
« Reply #3 on: August 18, 2020, 08:03:21 pm »
@PnYMaT, sorry for the late reply. You can get the game Steam key from your account "my games and items" page and activate in Steam. Then you can install CryoFall Editor from Steam https://steamcommunity.com/app/829590/discussions/5/1812044473314225973/

PnYMaT

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Modding prerequisites (Visual Studio 2019)
« Reply #4 on: August 18, 2020, 11:13:21 pm »
@PnYMaT, sorry for the late reply. You can get the game Steam key from your account "my games and items" page and activate in Steam. Then you can install CryoFall Editor from Steam https://steamcommunity.com/app/829590/discussions/5/1812044473314225973/

Hi, i have the Steam key, but i boycott Steam for many reasons. I buy my games (when it is possible) directly on editor web site. First they (you) win more money (no commission to pay at Steam) and i avoid DRM.

If i lost internet, i can install my game and play it. With steam, i must have internet to install my games, i need internet to play my games, i dislike this.

It will wonderfull if you put back editor on Atomic Torch account, like the game itself.

Many thanks for reading me and understand my point of view:)

Ps: sorry for my english, i'am french ^^

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1720
    • View Profile
Re: Modding prerequisites (Visual Studio 2019)
« Reply #5 on: August 27, 2020, 06:44:56 am »
You can download CryoFall Editor now from this link https://atomictorch.com/Account/MyItems
However, it would be a problem for us to keep it updated to the latest version as it's not automated unlike Steam. Don't hesitate to remind us reuploading the latest version when necessary.

Regards!

PnYMaT

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Modding prerequisites (Visual Studio 2019)
« Reply #6 on: August 27, 2020, 07:57:47 am »
You can download CryoFall Editor now from this link https://atomictorch.com/Account/MyItems
However, it would be a problem for us to keep it updated to the latest version as it's not automated unlike Steam. Don't hesitate to remind us reuploading the latest version when necessary.

Regards!

Great ! many thanks for your understanding.