Difference between revisions of "Unpacking/packing packs"
Line 5: | Line 5: | ||
It is a script parser that allows you to: Unpack/pack files, Convert Maya files to Game files, Create dds, font textures etc. | It is a script parser that allows you to: Unpack/pack files, Convert Maya files to Game files, Create dds, font textures etc. | ||
− | It has a very simple gui. | + | It has a very simple gui, because the scripts contain all relevant information. |
For now we will use it to unpack a pack file. | For now we will use it to unpack a pack file. | ||
Line 14: | Line 14: | ||
As you may have noticed the pack directory contains several pack files. | As you may have noticed the pack directory contains several pack files. | ||
− | Each pack file results in an story or fastsex element in the [[story menu]] and [[fastsex menu]]. | + | Each pack file results in either an story or fastsex element in the [[story menu]] and [[fastsex menu]]. |
We can also use pack directories. A pack directory is an unpacked pack file. It contains all the files from the pack file. | We can also use pack directories. A pack directory is an unpacked pack file. It contains all the files from the pack file. | ||
− | If a pack directory is placed in the ./pack location it works the same as a pack file. But now you can easily edit all files. | + | If a pack directory is placed in the ./pack location of XStoryPlayer it works the same as a pack file. But now you can easily edit all files. |
Line 25: | Line 25: | ||
1. Goto the ./filemaker directory and open the 'start.ini' file. The start.ini file contains the script code that is parsed when running the filemaker.exe | 1. Goto the ./filemaker directory and open the 'start.ini' file. The start.ini file contains the script code that is parsed when running the filemaker.exe | ||
− | 2. | + | 2. Uncomment the unpack script like this: |
+ | |||
+ | <syntaxhighlight lang="cpp"> | ||
+ | Pack pack1 | ||
+ | { | ||
+ | unpack = true; | ||
+ | |||
+ | file = "[RUNTIME]pack/pack_dungeon.bin"; | ||
+ | |||
+ | outpath = "[RUNTIME]pack/"; | ||
+ | } | ||
+ | </syntaxhighlight> |
Revision as of 12:34, 5 January 2015
Most modding can be done using the Filemaker.
It is a script parser that allows you to: Unpack/pack files, Convert Maya files to Game files, Create dds, font textures etc.
It has a very simple gui, because the scripts contain all relevant information.
For now we will use it to unpack a pack file.
Pack files
As you may have noticed the pack directory contains several pack files.
Each pack file results in either an story or fastsex element in the story menu and fastsex menu.
We can also use pack directories. A pack directory is an unpacked pack file. It contains all the files from the pack file.
If a pack directory is placed in the ./pack location of XStoryPlayer it works the same as a pack file. But now you can easily edit all files.
Unpacking
1. Goto the ./filemaker directory and open the 'start.ini' file. The start.ini file contains the script code that is parsed when running the filemaker.exe
2. Uncomment the unpack script like this:
Pack pack1 { unpack = true; file = "[RUNTIME]pack/pack_dungeon.bin"; outpath = "[RUNTIME]pack/"; }