Post by eternity on Nov 19, 2016 12:11:55 GMT
Download version 1.0 here.
XV2 Mods Installer is a program to install new character and skill mods (it may be expanded on the future).
XV2 Mods Installer comes with three programs inside: the package creator (character), the package creator (skill) and the package installer. The package creators can be used to create (and edit existing) packages. The installer will actually install the package in the game.
If you like my tools, you can support me at www.patreon.com/eternity_tools.
Requirements:
- XV2Patcher version 1.2 or later. (latest version can always be found here)
- Adobe Flex sdk 4.6. Get it from its official page. As of right now it appears to be unavailable. Alternate link (thanks to zitro )
Extract it somwhere in your system. Suggested location would be in C:\flex_sdk_4.6 (C or any other drive). (if you follow this advice, the installer will be able to locate it automatically).
- 32 bits version of java, even if you have a 64bits os (this is actually a requirement of flex sdk). Download here. Select the Windows offline version. And install it, don't forget about that.
- The directory where your game is installed must be writable, or otherwise you will need to run my program as Administrator. If you have an original game, 99% you have a writable install directory. Otherwise, you are on your own to fix any problem: reinstall the game to a writable location, fix the permissions, or always run my program as administrator. I won't give more support about this issue than what I've said. (anything related with this will be ignored).
Warnings:
- The "Internal" folder that comes with the two exes is not decoration. The program NEEDS IT.
- Put everything in folders with only ascii symbols. Avoid extracting the installer and the flex sdk on paths that have non-ascii characters.
- Whenever you install the first mod, if you had a custom CHARASELE.iggy, it will be wiped out.
If you have an original game, and you followed my advice of extracting the flex sdk to c:\flex_sdk_4.6, my program should be able to find out the requirements on its own and won't bother you. Otherwise, the program will prompt you to locate the file DBXV2.exe of the game, and the file mxmlc.exe from the flex sdk bin directory.
Advice: use the tools->associate x2m extension to register the extension with this program and the creator. After you do that, you will be able to install x2m mods with double click, and edit them with righ click->edit.
-------------
Information about the internals of the program. This program reads and writes data in the game directory.
For reading, this program acts as if it was the game running xv2patcher: it first tries to locate files in loose files, otherwise it search for them in the cpk's, by following the same cpk priority than the game.
For writing, the program always write to loose files, cpk's are never writed to.
Usually, the program grabs all data from game (like current cms, cus, etc). However, because my program is unable to process a compiled actionscript3, my program keeps the data of the current slots data in c:\users\[yourusername]\AppData\Roaming\XV2INS\CharaListV2.as
Any time a mod is added or removed, that file is compiled, and used to generate the new iggy.
---------------
Troubleshooting guide
Compiler errors
- Compiler failed. Ret = -1
You have done something odd like extracting the flex sdk at some odd place. Please, extract at C: or the root of any disc as the guide suggests, or at least a path with no white spaces inside, and not mixed with any other required tool (e.g. don't put flex sdk in same directory as installer!!!!)
- Compiler failed. Ret = 1
This error is usually caused by Java trying to allocate too much contigous memory (it is a 32 bit program, and regardless of your RAM, if it tries to allocate too much, it will fail).
The more likely reason for it is that you have a "_JAVA_OPTIONS" environment variable.
DELETE IT. Follow this video if you don't have any idea about how to remove an environment variable.
- Compiler failed. Ret = 2.
You didn't install the 32 bits version of Java as instructions were telling you.
- Compiler failed. Ret = 6.
This one can happen either because Java 32 is not installed, because you are missing Visual C++ 2010 redistributable or most of the times because the flex sdk is unable to locate the Java 32 installation. In the later case, it is not fault of user, but it isn't mine either, it is an error of either Oracle (for leaving invalid Java installs on registry), Adobe (for invalid Java installation detection), or a third party program (e.g. av blocking registry access to the flex sdk).
Whatever the fault is doesn't matter. Just follow these instructions to fix.
First of all, install Visual C++ 2010 redistributable (for x86, the 32 bits version!). Then retry install of mod. If you are given same error, then follow the instructions below:
Go to c:\Program Files(x86)\Java. You'll see a folder with the name "jre" and some numbers. Inside, you'll find two folders called "bin" and "lib". If there were several jre folder, pick any of them that have inside those two directories. Select them and "copy".
Now go to where you have flex sdk extracted, for example c:\flex_sdk_4.6. Make a folder called "jre". Paste inside the jre folder the "bin" and "lib" folders.
InstallXXX failed. update_mode=0
Most of times this happens because some manual modding/edit left a dead id in some system file (cso, psc, cus, aur, etc).
Fix: run the installer normally, go to Tools->Find dead id's. The program will scan system files for dead id's. Click Yes to rvery question to delete them. Retry the install of your mod now.
--------------
TODO LIST: program is still in WIP state, and is missing features. Some (but not all) things that will likely be added in the future:
- Custom skills and auras.
XV2 Mods Installer is a program to install new character and skill mods (it may be expanded on the future).
XV2 Mods Installer comes with three programs inside: the package creator (character), the package creator (skill) and the package installer. The package creators can be used to create (and edit existing) packages. The installer will actually install the package in the game.
If you like my tools, you can support me at www.patreon.com/eternity_tools.
Requirements:
- XV2Patcher version 1.2 or later. (latest version can always be found here)
- Adobe Flex sdk 4.6. Get it from its official page. As of right now it appears to be unavailable. Alternate link (thanks to zitro )
Extract it somwhere in your system. Suggested location would be in C:\flex_sdk_4.6 (C or any other drive). (if you follow this advice, the installer will be able to locate it automatically).
- 32 bits version of java, even if you have a 64bits os (this is actually a requirement of flex sdk). Download here. Select the Windows offline version. And install it, don't forget about that.
- The directory where your game is installed must be writable, or otherwise you will need to run my program as Administrator. If you have an original game, 99% you have a writable install directory. Otherwise, you are on your own to fix any problem: reinstall the game to a writable location, fix the permissions, or always run my program as administrator. I won't give more support about this issue than what I've said. (anything related with this will be ignored).
Warnings:
- The "Internal" folder that comes with the two exes is not decoration. The program NEEDS IT.
- Put everything in folders with only ascii symbols. Avoid extracting the installer and the flex sdk on paths that have non-ascii characters.
- Whenever you install the first mod, if you had a custom CHARASELE.iggy, it will be wiped out.
If you have an original game, and you followed my advice of extracting the flex sdk to c:\flex_sdk_4.6, my program should be able to find out the requirements on its own and won't bother you. Otherwise, the program will prompt you to locate the file DBXV2.exe of the game, and the file mxmlc.exe from the flex sdk bin directory.
Advice: use the tools->associate x2m extension to register the extension with this program and the creator. After you do that, you will be able to install x2m mods with double click, and edit them with righ click->edit.
-------------
Information about the internals of the program. This program reads and writes data in the game directory.
For reading, this program acts as if it was the game running xv2patcher: it first tries to locate files in loose files, otherwise it search for them in the cpk's, by following the same cpk priority than the game.
For writing, the program always write to loose files, cpk's are never writed to.
Usually, the program grabs all data from game (like current cms, cus, etc). However, because my program is unable to process a compiled actionscript3, my program keeps the data of the current slots data in c:\users\[yourusername]\AppData\Roaming\XV2INS\CharaListV2.as
Any time a mod is added or removed, that file is compiled, and used to generate the new iggy.
---------------
Troubleshooting guide
Compiler errors
- Compiler failed. Ret = -1
You have done something odd like extracting the flex sdk at some odd place. Please, extract at C: or the root of any disc as the guide suggests, or at least a path with no white spaces inside, and not mixed with any other required tool (e.g. don't put flex sdk in same directory as installer!!!!)
- Compiler failed. Ret = 1
This error is usually caused by Java trying to allocate too much contigous memory (it is a 32 bit program, and regardless of your RAM, if it tries to allocate too much, it will fail).
The more likely reason for it is that you have a "_JAVA_OPTIONS" environment variable.
DELETE IT. Follow this video if you don't have any idea about how to remove an environment variable.
- Compiler failed. Ret = 2.
You didn't install the 32 bits version of Java as instructions were telling you.
- Compiler failed. Ret = 6.
This one can happen either because Java 32 is not installed, because you are missing Visual C++ 2010 redistributable or most of the times because the flex sdk is unable to locate the Java 32 installation. In the later case, it is not fault of user, but it isn't mine either, it is an error of either Oracle (for leaving invalid Java installs on registry), Adobe (for invalid Java installation detection), or a third party program (e.g. av blocking registry access to the flex sdk).
Whatever the fault is doesn't matter. Just follow these instructions to fix.
First of all, install Visual C++ 2010 redistributable (for x86, the 32 bits version!). Then retry install of mod. If you are given same error, then follow the instructions below:
Go to c:\Program Files(x86)\Java. You'll see a folder with the name "jre" and some numbers. Inside, you'll find two folders called "bin" and "lib". If there were several jre folder, pick any of them that have inside those two directories. Select them and "copy".
Now go to where you have flex sdk extracted, for example c:\flex_sdk_4.6. Make a folder called "jre". Paste inside the jre folder the "bin" and "lib" folders.
InstallXXX failed. update_mode=0
Most of times this happens because some manual modding/edit left a dead id in some system file (cso, psc, cus, aur, etc).
Fix: run the installer normally, go to Tools->Find dead id's. The program will scan system files for dead id's. Click Yes to rvery question to delete them. Retry the install of your mod now.
--------------
TODO LIST: program is still in WIP state, and is missing features. Some (but not all) things that will likely be added in the future:
- Custom skills and auras.








?"
icon in the bottom right bar (may not be applicable if you're on Forums.net), or you can disable the welcome window and/or the icon by going to Plugins > Manage > Custom Mini-Profile Creator and changing the Show Help option.


