xmoonproductions.org
https://www.xmoonproductions.org/

How to uncomment start.ini (and how to start modding)
https://www.xmoonproductions.org/viewtopic.php?f=27&t=3479
Page 1 of 2

Author:  Pickled Cow [ Wed Dec 10, 2014 6:51 am ]
Post subject:  How to uncomment start.ini (and how to start modding)

!IMPORTANT!
Mods made for version 3 will not work for version 3.5! Also make sure that you are installing new mods made for 3.5 to X Moon Productions\XStoryPlayer 3.5\.

Also, you are going to have to redo the whole "uncommenting the unpack function" thing again to install mods in 3.5. So yeah, get to it.

Method 1:
Just download this zip and extract it in the X Moon Productions\XStoryPlayer 3.5\filemaker folder. Click yes when asked to replace a file.
Attachment:
start.zip [952 Bytes]
Downloaded 18177 times


Method 2:
Open the start.ini file located in the X Moon Productions\XStoryPlayer 3.5\filemaker folder.
Delete the characters marked in bold red.

Quote:
//////////////////////////////////////////////////////
// Defines
//////////////////////////////////////////////////////


#define RUNTIME "../"
#define PACKPATH "pack/pack_dungeon/"


//////////////////////////////////////////////////////
// Unpack
//////////////////////////////////////////////////////


// Uncomment this to unpack a pack
/*Pack pack1
{
unpack = true;

file = "[RUNTIME]pack/pack_dungeon.bin";

outpath = "[RUNTIME]pack/";
}*/


//////////////////////////////////////////////////////
// Pack
//////////////////////////////////////////////////////


// Uncomment this to repack a pack
/*Pack pack
{
file = "[RUNTIME]pack/pack_dungeon2.bin";

zip = true;
path_full = true;

addpath = "[RUNTIME][PACKPATH]*.*";
}*/

----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------

Then following these teal instructions and you're good to go.

xpadmin wrote:
For modding best is to look into the filemaker folder of XStoryPlayer 3.0:

- Goto the filemaker folder
- In it you see a file called "start.ini". Uncomment the unpack command.

- Run filemaker.exe
- Now you see an unpacked directory in the pack directory of XStoryPlayer.

- When you run XStoryPlayer you will see two dungeon fast sex scenes (the bin and the unpacked one).
- You can change the files. Especially see the init files and textures/sounds etc...

I will make more info available on modding in the future.


Note that if you run the filemaker to unpack again,
it will erase any mods you have installed!
SO DON'T DELETE ANY IF THE MOD ZIPS AFTER INSTALLING THEM!

(Or side step this problem entirely by renaming the folder "pack_dungeon" to "pack_dungeon_1" or whatever.)

Now here is a simple mod for you to test your modding prowess!
Oh crap, wait, this doesn't work anymore, does it...

(Advanced)

I've been asked to include this code to this thread.
For creating scenes use the following in the start.ini
official example below
http://wiki.xmoonproductions.org/index. ... _new_scene

Code:
//////////////////////////////////////////////////////
// Defines
//////////////////////////////////////////////////////
 
#define SOURCES  "../pack/YourPack/sources/"
#define RUNTIME  "../pack/YourPack/"
 
//////////////////////////////////////////////////////
// Convert settings
//////////////////////////////////////////////////////
 
// Copy textures to runtime directory and create directory if it not exists
maya_auto_copy = COPY_DIR;
 
// Use compressed color textures
maya_auto_compress = COLOR;
 
//////////////////////////////////////////////////////
// Convert maya scene
//////////////////////////////////////////////////////
 
Maya scene
{
src_path = "[SOURCES]";
run_path = "[RUNTIME]";
in_file  = "[SOURCES]scenes/YourScene/scene.ma";
}
//////////////////////////////////////////////////////
// Compress textures
//////////////////////////////////////////////////////
 
Compgen compress0
{
  // Comment if you don't want to compress files everytime again
//compress = true;
}

Author:  phyros33 [ Wed Dec 10, 2014 10:53 am ]
Post subject:  Re: How to uncomment start.ini

Awesome !!! Thanks Sir.

Should be made sticky this :D

Author:  Nautica [ Wed Dec 10, 2014 6:07 pm ]
Post subject:  Re: How to uncomment start.ini

I don't have the game yet, but i want to learn as much as possible about modding it. For future reference, What does uncommenting start do?

Author:  TheMohawkNinja [ Wed Dec 10, 2014 6:22 pm ]
Post subject:  Re: How to uncomment start.ini

Nautica wrote:
I don't have the game yet, but i want to learn as much as possible about modding it. For future reference, What does uncommenting start do?


Comments are simply lines of text in a code that the computer ignores. They are designed so that you can write notes, or (in the case of start.ini) so you can have the computer ignore whole sections of code without having to delete and rewrite it.

In start.ini's case, the file contains the code for both packing and unpacking, so if you want to unpack a file, you have to comment out the packing code so that filemanager.exe only runs the unpacking code and ignores the packing code (and visa versa).

Author:  Pickled Cow [ Tue Dec 16, 2014 12:59 am ]
Post subject:  Re: How to uncomment start.ini (and how to start modding)

Just to point out, when you run filemaker.exe and it done unpacking, you want to hit "exit", and "Ok".

Hitting "Ok" will make start unpacking all over again.
Attachment:
filemaker.jpg
filemaker.jpg [ 180.26 KiB | Viewed 109310 times ]

Author:  effoff [ Thu Feb 12, 2015 1:43 am ]
Post subject:  Re: How to uncomment start.ini (and how to start modding)

A massive thank you for this :)

Author:  b00marrows [ Thu Feb 12, 2015 11:15 am ]
Post subject:  Re: How to uncomment start.ini (and how to start modding)

Bare with me i'm confused.
I have already unpacked using the filemaker. I did not change any .ini setting, it unpacked fine just by using the EXE after downloading...

what dose this do exatly??

Author:  aacewin [ Thu Feb 12, 2015 11:56 am ]
Post subject:  Re: How to uncomment start.ini (and how to start modding)

Great post! Very helpful for the novice modder. I agree should be stickied.

Author:  Pickled Cow [ Thu Feb 12, 2015 4:42 pm ]
Post subject:  Re: How to uncomment start.ini (and how to start modding)

b00marrows wrote:
Bare with me i'm confused.
I have already unpacked using the filemaker. I did not change any .ini setting, it unpacked fine just by using the EXE after downloading...

what dose this do exatly??


What exactly does Filemaker.exe do when you run it? Because it follows the instructions contained within start.ini. The instructions we want are the ones that commented out, the purpose of this thread is to inform you have to uncomment those instructions.

Running Filemaker.exe with these instructions uncommented should create a folder X Moon Productions\XStoryPlayer 3\pack out of the files packed into 200MB bin files, so that they may be modded.

Author:  b00marrows [ Thu Feb 12, 2015 5:24 pm ]
Post subject:  Re: How to uncomment start.ini (and how to start modding)

Pickled Cow wrote:
b00marrows wrote:
Bare with me i'm confused.
I have already unpacked using the filemaker. I did not change any .ini setting, it unpacked fine just by using the EXE after downloading...

what dose this do exatly??


What exactly does Filemaker.exe do when you run it? Because it follows the instructions contained within start.ini. The instructions we want are the ones that commented out, the purpose of this thread is to inform you have to uncomment those instructions.

Running Filemaker.exe with these instructions uncommented should create a folder X Moon Productions\XStoryPlayer 3\pack out of the files packed into 200MB bin files, so that they may be modded.


It did exactly that, extract's the pack files ready for modding. i did it to install some of the mod's...
IM so confused!

To explain my situation:
I did not have to do this, it worked out of the tin for me.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/