<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.frozenbyte.com/index.php?action=history&amp;feed=atom&amp;title=Switching_editor_environments</id>
	<title>Switching editor environments - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.frozenbyte.com/index.php?action=history&amp;feed=atom&amp;title=Switching_editor_environments"/>
	<link rel="alternate" type="text/html" href="https://wiki.frozenbyte.com/index.php?title=Switching_editor_environments&amp;action=history"/>
	<updated>2026-05-16T14:01:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.frozenbyte.com/index.php?title=Switching_editor_environments&amp;diff=275&amp;oldid=prev</id>
		<title>AnteroFB: Created page with &quot;You may have had several ideas of MODs at the same times, and can&#039;t actually work on each of them because either your scripts cancel each others out, or you are asked to inclu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.frozenbyte.com/index.php?title=Switching_editor_environments&amp;diff=275&amp;oldid=prev"/>
		<updated>2018-06-15T08:12:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;You may have had several ideas of MODs at the same times, and can&amp;#039;t actually work on each of them because either your scripts cancel each others out, or you are asked to inclu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;You may have had several ideas of MODs at the same times, and can&amp;#039;t actually work on each of them because either your scripts cancel each others out, or you are asked to include unwanted files into a MOD when exporting it.&lt;br /&gt;
&lt;br /&gt;
So you would like to have something like &amp;quot;several editors at the same time&amp;quot; so you can build and maintain your MODs. This page aims at showing you how.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If you are only editing levels, and not resources or scripts, you don&amp;#039;t need this page and can continue doing what you were doing before.&lt;br /&gt;
&lt;br /&gt;
== Option 1 : several installs ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pros:&amp;#039;&amp;#039;&amp;#039; It&amp;#039;s easy to set up, easy to understand. Great for inexperienced users :)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Cons:&amp;#039;&amp;#039;&amp;#039; Not so clean. Takes up a lot of space because of duplicate files&lt;br /&gt;
&lt;br /&gt;
The idea here is to install the editor several times, and simply switch between installations in order to get the version where the MOD you&amp;#039;re working on is. When you install the editor, in the main folder &amp;#039;&amp;#039;...\Steam\steamapps\common\Trine 3\&amp;#039;&amp;#039; you will see a new file called &amp;#039;&amp;#039;editor_path.txt&amp;#039;&amp;#039;, that contains the absolute path on your system where the editor was installed.&lt;br /&gt;
&lt;br /&gt;
If you remove this file, for example by renaming it &amp;#039;&amp;#039;editor_path_number1.txt&amp;#039;&amp;#039; the next time you try to launch the editor you will be asked to install again somewhere else. You now have two installed editors and simply by switching the content of the file &amp;#039;&amp;#039;editor_path.txt&amp;#039;&amp;#039; you can switch between them.&lt;br /&gt;
&lt;br /&gt;
== Option 2 : Git repository ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Cons:&amp;#039;&amp;#039;&amp;#039; For advanced users only. I&amp;#039;m assuming you already know what git is and the basics of how to use it.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pros:&amp;#039;&amp;#039;&amp;#039; Less space, cleaner, easier to maintain. Besides, all the cool kids are doing it.&lt;br /&gt;
&lt;br /&gt;
The goal here is to initialize a git repository where the editor files are, so that you can use a master branch as a blank clean version and branch the git tree for each MOD you will make. Plus all the advantages of working with git, but that&amp;#039;s up to you.&lt;br /&gt;
&lt;br /&gt;
Start by installing the editor, and &amp;#039;&amp;#039;cd&amp;#039;&amp;#039; your way to the &amp;#039;&amp;#039;data&amp;#039;&amp;#039; folder of the editor path. Then initialize a repository.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd path_to_editor/data&lt;br /&gt;
git init&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; I&amp;#039;m using [https://git-scm.com/ git-bash for Windows] in order to have a linux-like console. There are other softwares out there that do this.&lt;br /&gt;
&lt;br /&gt;
Now you &amp;#039;&amp;#039;&amp;#039;could&amp;#039;&amp;#039;&amp;#039; just add the entire folder, but git doesn&amp;#039;t handle shortcuts and symlinks very well, so you will have to manually add the right folders.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git add binds locale mission root script&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Congrats, your git repository is set up! Look at how easy it was! Now a quick overview of what you can do:&lt;br /&gt;
&lt;br /&gt;
* Create a new branch from master for each of your MODs&lt;br /&gt;
* When a new editor update comes out, install it on master and then rebase your MOD on it to keep it updated&lt;br /&gt;
* Commit your changes so you can revert them when you make mistakes (basic version control, actually)&lt;br /&gt;
* Push your MOD to a remote Github or Bitbucket repository so you can share it with the community!&lt;br /&gt;
&lt;br /&gt;
A suggestion for a &amp;#039;&amp;#039;.gitignore&amp;#039;&amp;#039; (will be updated in the future):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
audio&lt;br /&gt;
category&lt;br /&gt;
gui&lt;br /&gt;
launcher&lt;br /&gt;
null&lt;br /&gt;
version&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:LeonardA-L|LeonardA-L]] ([[User talk:LeonardA-L|talk]]) 18:01, 30 June 2015 (UTC)&lt;/div&gt;</summary>
		<author><name>AnteroFB</name></author>
	</entry>
</feed>