Difference between revisions of "Preparing for modding"

From XStoryPlayer Wiki
Jump to: navigation, search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
In this tutorial you will make the necessary preparations to start modding.
  
1. First of all you need to get access to XStoryPlayer 3 (or higher). More information on that can be [http://www.xmoonproductions.org/viewtopic.php?f=33&t=3459 found here].
+
==Steps==
 
+
<ol>
 
+
<li>First of all you need to get access to XStoryPlayer 3 (or higher). More information on that can be [http://www.xmoonproductions.org/viewtopic.php?f=33&t=3459 found here].</li>
2. It is assumed that you are familiar with playing XStoryPlayer and you know what e.g. the '[[Story menu]]' and '[[Fast Sex menu]]' are.
+
<li>It is assumed that you are familiar with playing XStoryPlayer and you know what e.g. the '[[Story menu]]' and '[[Fastsex menu]]' are.</li>
 
+
<li>After installing XStoryPlayer you will find (among others) the following files in the [[install directory]]:
 
+
3. After installing XStoryPlayer you will find (among others) the following files in the [[install directory]]:
+
  
 
* [[settings.ini]]
 
* [[settings.ini]]
* filemaker/
+
* [[filemaker]]/
* pack/
+
* [[unpacking/packing packs|pack]]/
 
* testini/
 
* testini/
 
* save/
 
* save/
 
+
</li>
 
+
<li>Make a '''backup copy''' of your ./save directory and then '''delete your save files'''.<br>
4. Make backup copy of your save directory and then delete your save files.
+
This is '''very important''' because the save files will also contain code and it can create issues when doing the modding tutorials.<br>
Because you will be using unencrypted save files when modding your current ones cannot be used.
+
Also you will be using '''unencrypted''' save files from now on, so your current save files cannot be used.<br>
 
+
'''Do not save''' during the modding tutorials because this can create issues.
 
+
</li>
5.Open [[settings.ini]] and make the following changes:
+
<li>Open [[settings.ini]] and make the following changes:
 
+
 
+
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
 
+
start_mode  = FAST;    // Start directly in fastsex mode, skipping the splash screen and menu
start_mode  = MAIN;    // Start in menu
+
 
debug_sys  = BASIC;  // Use basic debugging
 
debug_sys  = BASIC;  // Use basic debugging
debug_brain = ENABLED; // Trace brain events to trace.txt
+
debug_brain = ENABLED; // Trace brain events to 'trace.txt' file
 
save_key    = "";      // Do not encrypt save files
 
save_key    = "";      // Do not encrypt save files
 
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
</li>
 +
<li>Make sure you have the latest patch installed. Open the account-manager and check if the patch status says 'Installed'.</li>
 +
<li>Download the '[[Tutorial resource pack]]' using the account manager. It contains all the files used in the tutorials.</li>
 +
<li>Now you are ready to start [[unpacking/packing packs]]</li>
 +
</ol>

Latest revision as of 13:15, 9 January 2015

In this tutorial you will make the necessary preparations to start modding.

Steps

  1. First of all you need to get access to XStoryPlayer 3 (or higher). More information on that can be found here.
  2. It is assumed that you are familiar with playing XStoryPlayer and you know what e.g. the 'Story menu' and 'Fastsex menu' are.
  3. After installing XStoryPlayer you will find (among others) the following files in the install directory:
  4. Make a backup copy of your ./save directory and then delete your save files.
    This is very important because the save files will also contain code and it can create issues when doing the modding tutorials.
    Also you will be using unencrypted save files from now on, so your current save files cannot be used.
    Do not save during the modding tutorials because this can create issues.
  5. Open settings.ini and make the following changes:
    start_mode  = FAST;    // Start directly in fastsex mode, skipping the splash screen and menu
    debug_sys   = BASIC;   // Use basic debugging
    debug_brain = ENABLED; // Trace brain events to 'trace.txt' file
    save_key    = "";      // Do not encrypt save files
  6. Make sure you have the latest patch installed. Open the account-manager and check if the patch status says 'Installed'.
  7. Download the 'Tutorial resource pack' using the account manager. It contains all the files used in the tutorials.
  8. Now you are ready to start unpacking/packing packs