Jump to content

Bullet Girl Phantasia mods?


Recommended Posts

Tutorial for replacing textures

00-0.jpg.a1f2da7ad9e6fe24ecf26d3e2c1453d8.jpg

 

EDIT: There is newer and better tutorial.

 

Spoiler

 

### Requirements

 

 - texconv & texdiag: https://github.com/microsoft/DirectXTex/releases

 - SpecialK: https://github.com/Kaldaien/SpecialK/releases/tag/sk_0_10_2

 - have knowledge on how to unpack and repack cpk files.

 - have good paint software, and hex editor.

 

### Step 0. Before We Start

 

Select the Cardigan costume, Simple Bra (White), and Simple Panties (White).

We're going to replace their textures.

00-1.jpg.a78c0217f79795fc3d0805f537d1d889.jpg

 

### Step 1. Dump Textures

 

Install SpecialK (this tutorial uses ver. 0.10.2.1).

After you have started injecting (press the button below), run the game.

01-sk.jpg.00ce93a6cc5f1e85a513d3da48bdd69e.jpg

 

Press BACK+START buttons on your X-Input controller, and you'll see SpecialK window on the game screen.

Press "Render Mod Tools", search textures you want to edit, then press "Dump Texture to Disk".

02-0.jpg.5c41fc83b1a1df5f2e3b41a98bbc36e9.jpg

 

We use the following textures in this tutorial.

02-1.jpg.49a6a00b28cea51544611b7b20c3612d.jpg

 

You can find the dumped textures stored in the following folder:
    C:\Users\USERNAME\Documents\My Mods\SpecialK\Profiles\Bullet Girls Phantasia\SK_Res\dump\textures\game.exe\

 

These textures use modern format (BC5/BC7), so we can't open them in traditional image viewer.

Therefore, let's convert DDS files to PNG.

 


> texconv -ft PNG -f RGBA *.dds

Now you have these files:

02-2.jpg.5f285bc61ad45e7024cc870a5ecd7848.jpg

Don't remove original DDS files, because we'll use them later.

 

### Step 2. Edit Textures

 

Now let's copy PNG files into another folder for editing, then open and edit them in your favorite paint software like Photoshop.

 

Editing examples:

03-edit1.jpg.2d30e83ae529fcacc0f3122cb575eadc.jpg

 

03-edit2.jpg.5c415ed467fae70efc3321b12c09ed9c.jpg

 

### Step 3. Create New Modded DDS Files

 

We need to create new DDS files that have exactly the same format as original DDS files.

So let's run texdiag command to get original texture information.


> texdiag info Compressed_*.dds

Output Example:
    Compressed_20A99052.dds
            width = 1024
           height = 1024
            depth = 1
        mipLevels = 6
        arraySize = 1
           format = BC7_UNORM
        dimension = 2D
       alpha mode = Unknown
           images = 6
       pixel size = 1365 (KB)

See the "mipLevels" and "format" values.

 

Now we can start creating DDS files, using texconv command for each image!


(Example)
 > texconv -ft DDS -m 6 -f BC7_UNORM -y INPUT_FILE1.png
 > texconv -ft DDS -m 11 -f BC7_UNORM -y INPUT_FILE2.png
 > texconv -ft DDS -m 11 -f BC5_UNORM -y INPUT_FILE3.png

Make sure that you specified the same mipLevels (-m) and format (-f) for each file.

 

Now you should have modded files like this:

04.jpg.1d753e942a4bb710ca13dd24a2b0633b.jpg

 

### Final Step: Write DDS Data into aif/asf Files

 

In this tutorial, we're going to replace these 9 files:

  - GRP_2_BIN.cpk / pant01_smpl_01_[A,B,C]_alc.aif (contains a texture of Simple Panties)
  - GRP_2_BIN.cpk / bras01_smpl_01_[A,B,C]_alc.aif (contains a texture of Simple Bra)
  - GRP_2_BIN.cpk / CST02_CRDG_[A,B,C]_01.asf (contains body textures and mesh of Cardigan Costume)

 

(Note: A,B,C means the boobs size variations. In this tutorial, we use the same texture among A,B,C.)

 

Open each aif/asf file in your favorite hex editor.

Search original DDS data block in aif/asf files, then replace the block with new modded data.

 

More detailed steps:

(1) In orignal DDS file, look at starting data block, skipping the first 148 bytes (BC7) / 128 bytes (BC5) header.

05-1.jpg.45a942073ed3eb65ee2a5cec07f40cb7.jpg

 

(2) In aif/asf file, search the same data. This is where we place new data.

05-2.jpg.d7b6b121b52c7156f678974c19f8d46f.jpg

 

(3) In modded DDS file, copy modded data to clipboard.

05-3.jpg.e6750d6985aad41b46bbcf3f6a80066f.jpg

 

(4) In aif/asf file, paste it. Done!

05-fin.jpg.3d7ab59d5ce221b59601f6c20ea5821b.jpg

 

That's all.
Let's cook cpk file and run the game, enjoy.

 

 

Link to comment
On 1/18/2020 at 2:26 AM, kaz_69 said:

This mod is to remove underwear in changing room. I won't upload GRP_2_BIN.cpk. It's 3.5gb and too big to upload.

 

You'll be needing CRI File System Tools. Make sure to backup GRP_2_BIN.cpk

 

1.) Download and extract the mod

2.) Open CriPackedFileMaker. On right side click the diamond icon that open the cpk. diamond.JPG.23e0441b5c5971e21838b1b506debfa5.JPG

3.) Select Steam\steamapps\common\Bullet Girls Phantasia\cpk\GRP_2_BIN.cpk or wherever you put the GRP_2_BIN.cpk then Extract to new folder. It's beside Open CPK. extract.JPG.32bb01339e3362cfc7e234890e45a4d3.JPG 

4.) Paste the mod inside the folder that GRP_2_BIN extracted.

5.) Open the CpkFileBuilder then press Insert or go to Edit then Add Files.

6.) Select Local Files. Select all the files GRP_2_BIN extracted including the mod then Add Files.

7.) Press F5 then follow the options i selected then Clean Build. Rename it to GRP_2_BIN.cpk and paste it Bullet Girl Phantasia\cpk. It's optional to check Tries force compression. It's about 8gb without compression.

Settings.JPG.229809c0b87ca1a6b651a58ee37f2c70.JPG

 

 

 

 

 

 

 

 

 

8.) Finally you can choose the Striped Panties (Aqua) and Striped Bra (Aqua) to remove the underwear.961237194_SelectUnderwear.png.70f103a09c8d9b7f5986664c21983257.png

 

 

 

Remove Underwear mod.zip 24.6 kB · 303 downloads

After playing with this for a few hours, I've noticed it doesn't seem to work all the time. It will always show up in the changing room and the character select screen before missions. But sometimes when I get into a mission their underwear will be back on. I can't tell if it only happens to certain characters, but it happens often.

Link to comment

Thank you for the detailed explanation!

Bras and pants were edited as per the turoria!

 

However, skin editing do'nt work

(Dose not load the editied skin texture, remains censored)

 

-GRP_2_BIN.cpk / CST02_CRDG_[A,B,C]_01.asf(contains tectures and mesh of Cardigan Costume)

 

How is the binary edited during the above work?

(Is only [Compressed_FD84C396.DDS] edited?)

 

Link to comment

Please someone share the nude texture, I'll upload the entire GRP_2_BIN.cpk on Mega once the mod is complete, but I need the texture first.
If you share the modded aif file is better, I'll make the cpk quickly and upload on mega right now

Link to comment
6 hours ago, alduin2000 said:

Please someone share the nude texture, I'll upload the entire GRP_2_BIN.cpk on Mega once the mod is complete, but I need the texture first.
If you share the modded aif file is better, I'll make the cpk quickly and upload on mega right now

seconded, my F5 key can't take much more of this abuse.

Link to comment
On 1/18/2020 at 8:26 AM, kaz_69 said:

This mod is to remove underwear in changing room. I won't upload GRP_2_BIN.cpk. It's 3.5gb and too big to upload.

 

You'll be needing CRI File System Tools. Make sure to backup GRP_2_BIN.cpk

 

1.) Download and extract the mod

2.) Open CriPackedFileMaker. On right side click the diamond icon that open the cpk. diamond.JPG.23e0441b5c5971e21838b1b506debfa5.JPG

3.) Select Steam\steamapps\common\Bullet Girls Phantasia\cpk\GRP_2_BIN.cpk or wherever you put the GRP_2_BIN.cpk then Extract to new folder. It's beside Open CPK. extract.JPG.32bb01339e3362cfc7e234890e45a4d3.JPG 

4.) Paste the mod inside the folder that GRP_2_BIN extracted.

5.) Open the CpkFileBuilder then press Insert or go to Edit then Add Files.

6.) Select Local Files. Select all the files GRP_2_BIN extracted including the mod then Add Files.

7.) Press F5 then follow the options i selected then Clean Build. Rename it to GRP_2_BIN.cpk and paste it Bullet Girl Phantasia\cpk. It's optional to check Tries force compression. It's about 8gb without compression.

Settings.JPG.229809c0b87ca1a6b651a58ee37f2c70.JPG

 

 

 

 

 

 

 

 

 

8.) Finally you can choose the Striped Panties (Aqua) and Striped Bra (Aqua) to remove the underwear.961237194_SelectUnderwear.png.70f103a09c8d9b7f5986664c21983257.png

 

 

 

Remove Underwear mod.zip 24.6 kB · 470 downloads

Something I saw was in the story mode drilling for Silvia, Aya was in the "gallery" (aka one of the 3 girls around the main girl) and her panties were back to normal stripped panties model while the bra kept as a bandage, once I tested on the menu drilling it was working though so I don't know whats up with that, minor thing thought I would mention though.

Link to comment
21 hours ago, alduin2000 said:

Please someone share the nude texture, I'll upload the entire GRP_2_BIN.cpk on Mega once the mod is complete, but I need the texture first.
If you share the modded aif file is better, I'll make the cpk quickly and upload on mega right now

Can't wait for this my man, i'm a total potato when in comes to editing T.T

Link to comment
20 minutes ago, KamiKaze234 said:

Can't wait for this my man, i'm a total potato when in comes to editing T.T

I can edit, but I'm not good to draw nipples and bajina, so this is why I need a texture already edited professionally.

 

About bajina, I prefer virgin shaved, so share this please, not hairy

Link to comment

Here is a useful tip for modders, about data structure.

simple pseudo code:
{
    char blockName[4];  // flipped string
    int blockSize;  // counts from start of this block
    int _zero;  // skip
    int childOffset;  // counts from start of this block
}

 

01-fix.jpg.017b91f743dc2f86d59c9571321f4e89.jpg

For example, above data means:

"AMF" block at 390h, blockSize=5557B0h, childOffset=0h
"head" block at 3A0h, blockSize=40h, childOffset=40h
    "buff" block at 3E0h, blockSize=40h, childOffset=40h
        "addr" block at 420h, blockSize=60h, childOffset=60h
            ...

With this understood, you can continue further research as follows.

02.jpg.080108033e6cae844d356e433763a87b.jpg

 

03.jpg.e4b3b4f2824fd7c3cda832d209a02710.jpg

 

Link to comment

Good luck using special K if any poor soul has had to use a cracked copy of the game. The Special K dev basically has DRM built in due to some people trolling him in the past -_-

 

P.S If anyone needs assistance with texture creation/editing I have experience with hentai art. If you can supply the textures in a usable format for GIMP I can get them edited and sent back.

 

One other thing. Are there 3 main body types? A B and C for breast size? If so I can edit them to have their own unique features for the nipples and vagina such as color and size.

Link to comment
On 1/20/2020 at 2:17 PM, nepfunboy321 said:

CST03 texture is replaced.
Textures are still bad, but
Please try if you like

 

 

I mistakenly replaced the C type texture Fixed

@Suzutsuki

Thanks for using, I noticed a mistake

 

CST03_asf.7z 35.1 MB · 31 downloads

When I extract I get .asf files and I'm not sure what to do with them.  There are none to replace and I don't want to blindly throw them into a folder (cpk)

Are these files used in a step from 1 of the 2 great guides and work that people have posted? 

On 1/17/2020 at 11:26 PM, kaz_69 said:

This mod is to remove underwear in changing room. I won't upload GRP_2_BIN.cpk. It's 3.5gb and too big to upload.

 

You'll be needing CRI File System Tools. Make sure to backup GRP_2_BIN.cpk

 

1.) Download and extract the mod

2.) Open CriPackedFileMaker. On right side click the diamond icon that open the cpk. diamond.JPG.23e0441b5c5971e21838b1b506debfa5.JPG

3.) Select Steam\steamapps\common\Bullet Girls Phantasia\cpk\GRP_2_BIN.cpk or wherever you put the GRP_2_BIN.cpk then Extract to new folder. It's beside Open CPK. extract.JPG.32bb01339e3362cfc7e234890e45a4d3.JPG 

4.) Paste the mod inside the folder that GRP_2_BIN extracted.

5.) Open the CpkFileBuilder then press Insert or go to Edit then Add Files.

6.) Select Local Files. Select all the files GRP_2_BIN extracted including the mod then Add Files.

7.) Press F5 then follow the options i selected then Clean Build. Rename it to GRP_2_BIN.cpk and paste it Bullet Girl Phantasia\cpk. It's optional to check Tries force compression. It's about 8gb without compression.

Settings.JPG.229809c0b87ca1a6b651a58ee37f2c70.JPG

 

 

 

 

 

 

 

 

 

8.) Finally you can choose the Striped Panties (Aqua) and Striped Bra (Aqua) to remove the underwear.961237194_SelectUnderwear.png.70f103a09c8d9b7f5986664c21983257.png

 

 

 

Remove Underwear mod.zip 24.6 kB · 570 downloads

Wanted to make short but I can't.

Like I don't see where I could shove a .asf file in this one.  And the 2nd guide is beyond what I'm willing to do atm, but any info is greatly appreciated.

Link to comment
21 minutes ago, 4Je2uS0 said:

When I extract I get .asf files and I'm not sure what to do with them.  There are none to replace and I don't want to blindly throw them into a folder (cpk)

Are these files used in a step from 1 of the 2 great guides and work that people have posted? 

Wanted to make short but I can't.

Like I don't see where I could shove a .asf file in this one.  And the 2nd guide is beyond what I'm willing to do atm, but any info is greatly appreciated.


From what I can tell you only get .dds files if the textures have been dumped using special K otherwise you'll simply get .asf if the .cpk has been unpacked directly. Does that make sense?

Link to comment

Someone please could upload the entire patched file with nude texture applied for commodity of us?.

 

I will suppose modders are aware about they can use any dedicated tool to build a patch of small megabytes/required size instead of uploading the entire file of 3 gb...

 

One user in his comment already said he is not going to upload the entire modified file because it is big... dude, just use a diff patch generator like for example HDiffPAtch:

 

https://github.com/sisong/HDiffPatch/releases/latest

 

It's very easy to consume.

 

Thanks in advance everyone.

Link to comment
51 minutes ago, fealow said:


From what I can tell you only get .dds files if the textures have been dumped using special K otherwise you'll simply get .asf if the .cpk has been unpacked directly. Does that make sense?

Thank you, after reading it a few times it does make sense.  Although I was hoping to forego Special K as it's probably a bit to technical for me atm and I have a pirate copy so apparently that will not run for me.  But thanks again for the reply, I will wait patiently for someone else's hard work.  I might try and dabble a bit if I get desperate!   Cheers!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use