Join also our Discord channel! Click here.

Spike Chunsoft Games Scripts/Tools + Research

Post questions about game models here, or help out others!
andy97
beginner
Posts: 26
Joined: Sun Apr 28, 2019 1:15 pm
Has thanked: 5 times
Been thanked: 17 times

Spike Chunsoft Games Scripts/Tools + Research

Post by andy97 » Tue Mar 10, 2020 10:05 am

---‐----------------------------------------------------------------
UPDATE: A NOESIS SCRIPT TO LOAD BOTH MESHES + TEXTURES - HERE
---‐----------------------------------------------------------------


This is a thread for some lastest Spike Chunsoft games as well as my scripts + tools based on what I've researched. And my apologies to all who have been waiting for this so long. I haven't been available for ages.

-------PREVIEW--------
Images:
Image

Videos:
One Punch Man: AHNK
One Piece Burning Blood


-------INSTRUCTIONS--------
Extract files:
- Use QuickBMS and cmp_scz to decompressed the original files (npk, npki, npkv)
- Rename files to their original name (including extension)

Open models in Noesis
- Put fmt_SpikeGames_npk.py to ../Noesis/python/plugins
- Navigate to the location of files, and open .npk file

Get 2nd model
- Drag & drop .npk file to NPKCutter.exe
- The extracted .npk file (xxx_2nd_model.npk) are ready to open
Note: If nothing happened, it doesn't have 2nd model

Extract textures
- Drag & drop .npk file to NPKVExtractor.exe
- Choose a platform (texture swizzle)
- The textures will be extracted

Extract textures for 2nd model:
- Do Get 2nd model first
- After "x_2ndmodel" files appear, do Extract textures and it will also generate "x_2ndmodel.npkv" if other "x_2ndmodel" files exists
- Drag & drop "x_2ndmodel.npk"
Note: Those steps are dumb due to my laziness, sorry for that :D

Note: Make sure that all required file with the corresponding name are in the same folder with .npk file

-------GAMES--------
- One Punch Man: A Hero Nobody Knows (PS4)
- One Piece Burning Blood (PC)(PSP) - (Not sure if it works with all models)
- J-Stars Victory VS+ (PS3) - (Code refactoring - Nearly done)
- Dangaronpa V3 (WIP)

-------KNOWN ISSUES--------
- There might be some versions of the game on different platforms that I haven't tested
- PS3 Swizzle in NPKVExtract.exe is yet functional
- No textures/materials supported as it's kinda difficult to make them correspond to the submeshes
- NPKVExtract is not able to extract textures of 2nd model yet. (Solved)
- The script works with skeletal model only

-------CREDITS--------
Special thanks to:
- Aluigi for QuickBMS script.
- Chroxx, episoder, shakotay2, Turk645, and BigChillGhost for their useful help and references for reading & parsing data.
- Josune Kitsune for his detailed structure of the file done by his research.
- Demonslayerx8, JosuneKitsune, and the others to test and help me improve the script.

-------UPDATES--------
-(Fix) 10/03/2020
-(Fix) 11/03/2020

P/s: Feel free to report any issues/problems with error image or help me improve the scripts. This is my first time uploading scripts/tools, please forgive me for any inconvenience and enjoy.
You do not have the required permissions to view the files attached to this post.
Last edited by andy97 on Sat Mar 14, 2020 11:58 pm, edited 14 times in total.

Eag1e
beginner
Posts: 20
Joined: Sun Mar 17, 2019 4:48 am
Has thanked: 10 times
Been thanked: 1 time

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by Eag1e » Tue Mar 10, 2020 12:16 pm

Thank you very much for sharing this tool :D
I assume this uses the PS4 files?

andy97
beginner
Posts: 26
Joined: Sun Apr 28, 2019 1:15 pm
Has thanked: 5 times
Been thanked: 17 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by andy97 » Tue Mar 10, 2020 12:34 pm

Eag1e wrote:
Tue Mar 10, 2020 12:16 pm
I assume this uses the PS4 files?
Yes, check the Games section, I did mention the platform of games on that list.

P/s: Updated the script!

demonslayerx8
veteran
Posts: 83
Joined: Mon Jul 06, 2015 12:48 am
Has thanked: 19 times
Been thanked: 13 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by demonslayerx8 » Tue Mar 10, 2020 1:01 pm

Helped Hiroshi (andy) with all the One Punch Man model tests, along with testing updated scripts. Pretty much most of the models will now work, the NPKV tool he made will have to be updated to work with 2nd models tho, which he'll do later.
Chars with 2nd model
Image
Image

Accessory
Image

Item
Image

I'd help with J-Stars Victory VS+, but I don't have the files for that game.

andy97
beginner
Posts: 26
Joined: Sun Apr 28, 2019 1:15 pm
Has thanked: 5 times
Been thanked: 17 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by andy97 » Wed Mar 11, 2020 1:43 am

UPDATE!
Now the bones and their name will correspond to the correct side of submesh (xxx_L will be on the left side, and xxx_R will be on the right side)

Thanks to JosuneKitsune for that.

UPDATE #2:
Now using local space instead of world space since it had many issues about the positions

Thanks to Demonslayerx8 and his friend.

UPDATE #3:
Added a script for PSP files for anyone who is interested.
Last edited by andy97 on Wed Mar 11, 2020 1:55 pm, edited 1 time in total.

Eag1e
beginner
Posts: 20
Joined: Sun Mar 17, 2019 4:48 am
Has thanked: 10 times
Been thanked: 1 time

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by Eag1e » Wed Mar 11, 2020 8:08 am

Thanks for all the updates, appreciate it! :D

andy97
beginner
Posts: 26
Joined: Sun Apr 28, 2019 1:15 pm
Has thanked: 5 times
Been thanked: 17 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by andy97 » Wed Mar 11, 2020 2:42 pm

UPDATE:
- Outputs of NPKCutter are better than the older one.
- Able to get textures of 2nd models now ( with many dumb steps)
- Add a mini tool for renaming the decompressed files, just drag & drop
- (Quick fix) Fix NPKVExtractor to get the correct "xxx_k.bmp" textures

andy97
beginner
Posts: 26
Joined: Sun Apr 28, 2019 1:15 pm
Has thanked: 5 times
Been thanked: 17 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by andy97 » Thu Mar 12, 2020 3:02 am

#UPDATE:
Since the external programs are confusing, I'm working on my Noesis script to make it handle both textures and 2nd model in .npk.
Works well with both OPBB and OPM at the moment (can import meshes, textures, skeletons), and it's still in development.

Some previews:

Saitama - chr000.npk - OPM

Image

Bentham - character_031.npk

Image

ChaoticFusion40
beginner
Posts: 24
Joined: Sat Jun 01, 2019 8:42 am
Has thanked: 4 times
Been thanked: 3 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by ChaoticFusion40 » Thu Mar 12, 2020 4:14 am

if anyone wants to create a script to convert these to gxt or png here are all the model files for reference.

https://drive.google.com/file/d/1qvSRBS ... sp=sharing

demonslayerx8
veteran
Posts: 83
Joined: Mon Jul 06, 2015 12:48 am
Has thanked: 19 times
Been thanked: 13 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by demonslayerx8 » Thu Mar 12, 2020 7:55 am

ChaoticFusion40 wrote:
Thu Mar 12, 2020 4:14 am
if anyone wants to create a script to convert these to gxt or png here are all the model files for reference.

https://drive.google.com/file/d/1qvSRBS ... sp=sharing
What game is that from?

edit:
oh OPBB [PSP]

anyways, helped with figuring the textures for J-Stars
Image
15 - DXT1
17 - DXT5
19 - unsure??

just unsure about the normal maps.... which is 19, but any texture format just breaks it besides DXT5 :thinking:
Image
Last edited by demonslayerx8 on Thu Mar 12, 2020 12:12 pm, edited 1 time in total.

ChaoticFusion40
beginner
Posts: 24
Joined: Sat Jun 01, 2019 8:42 am
Has thanked: 4 times
Been thanked: 3 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by ChaoticFusion40 » Thu Mar 12, 2020 12:11 pm

One Piece Burning Blood.

JosouKitsune
advanced
Posts: 48
Joined: Mon Jun 26, 2017 2:01 am
Has thanked: 22 times
Been thanked: 29 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by JosouKitsune » Sat Mar 14, 2020 9:38 pm

I was doing my own script for Spike Chunsoft's fighting games that use the .npk format (OPBB/OPM), it extracted the textures and meshes in one go, but I was missing the bones and weights, so when Hiroshi released this I adapted a portion of his code into mine. So with his permission I'm posting my script to extract textures, models, bones, weights and Form Changes. Thanks Hiroshi without your code this wouldn't be possible.

The script supports OPBB PC and OPM PS4 .npk files, you need to have the uncompressed .npk, .npki and .npkv files in the same folder for this to work.
Image

Image

Image

---------------------------------------------------UPDATE---------------------------------------------------

Added support for characters with more than 2 forms

Image

Image

Image

---------------------------------------------------UPDATE---------------------------------------------------

Fixed some UVs issues

Image
You do not have the required permissions to view the files attached to this post.
Last edited by JosouKitsune on Tue Apr 07, 2020 7:20 am, edited 2 times in total.

Jaw
n00b
Posts: 10
Joined: Wed Jan 11, 2017 9:00 pm
Has thanked: 7 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by Jaw » Mon Mar 16, 2020 5:21 pm

Damn, pretty amazing progress.
Last edited by Jaw on Mon Mar 16, 2020 8:56 pm, edited 1 time in total.

Jaw
n00b
Posts: 10
Joined: Wed Jan 11, 2017 9:00 pm
Has thanked: 7 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by Jaw » Mon Mar 16, 2020 8:46 pm

I was trying your noesis plugin on the OPM .npk files. First difference is that the headers read as "$CMP" instead of "npak", so the script wont even start. After changing this stuff on line 12 there is another error while reading the vertex data, shown in the screenshot. All the files are in the same folder. I'll keep trying for a bit.

Update: I am a moron, my files were still compressed!

Tips for decompressing with quickbms and the cmp_scz.bms script:
There will be duplicate .dat files, choose [r] (rename) as the desired action for all
then batch renaming everything
chr0000_model.npa -> chr0000_model.npk
chr0000_model.dat -> chr0000_model.npki
and the bms autorenamed chr0000_model_00000001.dat -> chr0000_model.npkv

JosouKitsune
advanced
Posts: 48
Joined: Mon Jun 26, 2017 2:01 am
Has thanked: 22 times
Been thanked: 29 times

Re: Spike Chunsoft Games Scripts/Tools + Research

Post by JosouKitsune » Wed Mar 18, 2020 2:42 am

I've updated the script to handle characters with more than 2 forms viewtopic.php?f=16&t=21863#p160926

Post Reply