Baby's first mod. Any experience appreciated.

Xenoverse 2 Mods Forums Xenoverse 2 Help Baby's first mod. Any experience appreciated.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #249401
    dielan
    Participant

    I’m a simple man. I want my female saiyan’s hair to change models when she transforms. Not too much to ask for, right? Well, I’ve never messed with this game’s files, ever – and all the tutorials on this stuff that I’ve seen make 0 sense to me and clear up nothing. I’m basically asking for someone patient willing to walk me through the process.

     

    Female saiyan hairstyle 16 is the one I wish to use for both ssj1&2, if that matters at all.

     

    I’ve watched tutorials on how to mod in general, and I’ve done all the file extracting and such but I still feel like I’ve done something wrong in the process, because of how utterly lost I get.

    #249403
    RazeDevastator
    Participant

    It is indeed a very simple request.

    It’s far too late at the moment, but if no one else replies with the answer, I’ll walk you through it tomorrow.

    Just make sure you’ve extracted the data.cpk, data0.cpk, data1.cpk, data2.cpk files so you can access all those folders.

    You will then need to download these files if you haven’t already:

    XV2 Patcher: https://mega.nz/#!Lh1BBKLR!8jtLlh9T8ArZmdENg3u1FjgbgPEklCB5Dfm6pjMgpmk

    Adobe Flex SDK 4.6 (needed for patcher): http://www.mediafire.com/file/kjb0ma3w5ycyqor/flex_sdk_4.6.zip

    32-Bit Java (needed for Adobe Flex): http://javadl.oracle.com/webapps/download/AutoDL?BundleId=225353_090f390dda5b47b9b721c7dfaa008135

    #249405
    atsuraelu
    Participant

    If you have already extracted your CPKs, get genser from here.
    Assuming a clean install, copy the HUF.bcs from [whereveryouextractedyourCPKs]\data\chara\HUF\ to [Xenoverse2directory]\data\chara\HUF\ (create the folder if necessary), then drag and drop the copied file onto genser.exe.
    If you already have mods that alter the HUF.bcs, directly drag and drop [Xenoverse2directory]\data\chara\HUF\HUF.bcs onto genser.exe.
    This should leave you with a new file called HUF.bcs.xml in the directory the bcs is in. You can then edit the XML in any text editor (I’d recommend Notepad++ though). Search for <PartSet idx=”297″> and replace that and the next partset (up to and including </PartSet>) with the following:

        <PartSet idx="297">
            <Part idx="0">
                <!--Face_base-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="1">
                <!--Face_forehead-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="2">
                <!--Face_eye-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="3">
                <!--Face_nose-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="4">
                <!--Face_ear-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="5">
                <!--Hair-->
                <MODEL value="297" />
                <MODEL2 value="297" />
                <TEXTURE value="2" />
                <U_10 value="0x0" />
                <U_18 value="0x0" />
                <U_1C value="0x0" />
                <U_20 value="0x0" />
                <F_24 value="0.0" />
                <F_28 value="0.0" />
                <U_2C value="0x0" />
                <U_30 value="0x0" />
                <NAME value="HUF" />
                <!--MODEL, EMM, EMB, EAN-->
                <FILES value="NULL, NULL, NULL, NULL" />
            </Part>
            <Part idx="6">
                <!--Bust-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="7">
                <!--Pants-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="8">
                <!--Rist-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="9">
                <!--Boots-->
                <!--This entry is empty.-->
            </Part>
        </PartSet>
        <PartSet idx="298">
            <Part idx="0">
                <!--Face_base-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="1">
                <!--Face_forehead-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="2">
                <!--Face_eye-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="3">
                <!--Face_nose-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="4">
                <!--Face_ear-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="5">
                <!--Hair-->
                <MODEL value="298" />
                <MODEL2 value="298" />
                <TEXTURE value="2" />
                <U_10 value="0x0" />
                <U_18 value="0x0" />
                <U_1C value="0x0" />
                <U_20 value="0x0" />
                <F_24 value="0.0" />
                <F_28 value="0.0" />
                <U_2C value="0x0" />
                <U_30 value="0x0" />
                <NAME value="HUF" />
                <!--MODEL, EMM, EMB, EAN-->
                <FILES value="NULL, NULL, NULL, NULL" />
            </Part>
            <Part idx="6">
                <!--Bust-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="7">
                <!--Pants-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="8">
                <!--Rist-->
                <!--This entry is empty.-->
            </Part>
            <Part idx="9">
                <!--Boots-->
                <!--This entry is empty.-->
            </Part>
        </PartSet>

    Now drag and drop HUF.bcs.xml onto genser.exe.
    Then copy all files of the hairstyle you want twice, replace HUF_016 with HUF_297 and HUF_298 in the filenames and put them into [Xenoverse2directory]\data\chara\HUF\.
    This way you could use any hair as replacements for either SSJ1 (HUF_297) or SSJ2 (HUF_298) seperately.

    #249445
    dielan
    Participant

    When I try to drag the copied HUF.bcs into the genser.exe, it says the following in the cmd prompt:

    Cannot create/write file”C:\Program Files (x86)\DRAGON BALL XENOVERSE 2\data\chara\HUF\HUF.bcs.xml”

    File save failed.

     

    Is there anywhere specific I need to put the genser.exe file, or something?

    #249450
    RazeDevastator
    Participant

    For genser.exe, I believe you just need to make sure that it’s in the same file directory as its “source” folder. If you have just genser.exe in a folder without that “source” folder in the same place, it probably won’t work.

    #249451
    dielan
    Participant

    Okay, so moving the bcs file into the same directory as the genser worked, and I edited the xml file, but now I can’t seem to run the genser with the xml, no matter where I put any of the files.

     

    It says the following when I try:

    virtual bool BcsFile::Compile(TiXmlDocument*, bool): set idx 0x12a was already previously defined for this object.

    Compilation of file “<the directory the genser and xml are>” failed.

    Load of file failed.

    #249521
    atsuraelu
    Participant

    That basically says that Partset 298 is defined twice (12a in hex is 298 in decimal). Delete the second <PartSet idx=”298″> entry (up to and including the </PartSet>) and you should be good to go.
    The first problem you described was probably just a windows permission problem.

    #249524
    dielan
    Participant

    It worked like a charm. Thank you all very much.

    #249525
    RazeDevastator
    Participant

    I’m happy to have contributed to about 15% of it. XD atsuraelu really knows his/her stuff. I agree that the Genser problem might be that you didn’t have Windows permissions to edit the files in your Program Files folder. Makes sense, but I’m glad you got it all resolved! 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.