View unanswered posts | View active topics It is currently Tue Mar 19, 2024 5:57 am



Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
 How to uncomment start.ini (and how to start modding) 
Author Message
Rank 17
Rank 17
User avatar

Joined: Wed Apr 17, 2013 10:59 am
Posts: 509
Location: Cursed Pickle Jar
!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 18166 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;
}

_________________
Please follow me on Tumblr and Twitter.
XStoryPlayer discussion over at DigitalEro forums.
How to make easy MOD installers.
HOW TO START MODDING


Last edited by Pickled Cow on Mon Aug 17, 2015 5:52 pm, edited 12 times in total.



Wed Dec 10, 2014 6:51 am
Profile
Rank 11
Rank 11
User avatar

Joined: Sat Feb 09, 2013 3:24 am
Posts: 75
Location: Singapore
Awesome !!! Thanks Sir.

Should be made sticky this :D


Wed Dec 10, 2014 10:53 am
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Aug 23, 2014 12:47 am
Posts: 345
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?


Wed Dec 10, 2014 6:07 pm
Profile
Rank 16
Rank 16

Joined: Thu Feb 13, 2014 3:54 pm
Posts: 379
Location: United States
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).


Wed Dec 10, 2014 6:22 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Wed Apr 17, 2013 10:59 am
Posts: 509
Location: Cursed Pickle Jar
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 109159 times ]

_________________
Please follow me on Tumblr and Twitter.
XStoryPlayer discussion over at DigitalEro forums.
How to make easy MOD installers.
HOW TO START MODDING


Tue Dec 16, 2014 12:59 am
Profile
Rank 3
Rank 3

Joined: Mon Nov 18, 2013 4:44 pm
Posts: 8
A massive thank you for this :)


Thu Feb 12, 2015 1:43 am
Profile
Rank 12
Rank 12
User avatar

Joined: Tue Dec 31, 2013 1:46 am
Posts: 85
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??

_________________
We understand, RIP.


Thu Feb 12, 2015 11:15 am
Profile
Rank 13
Rank 13

Joined: Fri Jan 30, 2015 3:30 am
Posts: 106
Great post! Very helpful for the novice modder. I agree should be stickied.


Thu Feb 12, 2015 11:56 am
Profile
Rank 17
Rank 17
User avatar

Joined: Wed Apr 17, 2013 10:59 am
Posts: 509
Location: Cursed Pickle Jar
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.

_________________
Please follow me on Tumblr and Twitter.
XStoryPlayer discussion over at DigitalEro forums.
How to make easy MOD installers.
HOW TO START MODDING


Thu Feb 12, 2015 4:42 pm
Profile
Rank 12
Rank 12
User avatar

Joined: Tue Dec 31, 2013 1:46 am
Posts: 85
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.

_________________
We understand, RIP.


Thu Feb 12, 2015 5:24 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 19 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.