I found what I was looking for in a video gameplay. I wasted time looking for this. Too bad I thought I would finish the mod today and upload it now we will have to wait longer and I don't know how long lol
I think I will release it in 2 more days. Editing for all languages has cosumed more time. Some details are probably missing that I will correct in subsequent updates.
I found the textures for the yellow texts in the pause menu.
The command that worked was this:
DoaTool.exe ngpcUnpack ../databin _outData/ / 1 9 (I have no idea what is / 1 9 lol)
After editing the textures in Photoshop, I replaced the original ones in the file through hex editing. Then, I patched the databin using doatool, and it worked successfully.
I have found more than 800 new files containing DDS textures.
ChatGPT made tools for me to extract the textures and put them back together.
I have to extract file for file and classify them into folders to be able to identify them better later.
Then it I will be replacing the palettes after editing them in Photoshop.
This is going to take a long time, it's not like doing it with Special K where you just had to dump the texture and edit in Photoshop for it to load automatically. But it is the way to no longer depend on Special K.
I'm almost done extracting the more than 800 texture container files. Soon I will be able to start editing the palettes for the textures. It will probably take me a few days or a week.
On the other hand, I wanted to ask you if maybe you could do some things with Cheat Engine for NGS1 for the Black mod. I would like a few things like starting Master Ninja with Lunar and Nunchaku, restoring Ryu's dodge roll, restoring the grab distance of bosses like Murai. I don't know if it would be possible to skip the fight against Doku in Chapter 2 and have the NGB cinematic played instead. I'm not saying to change everything and make it equal to NGB but some things like the ones I said.
I would also need some NG2 screenshots to be able to edit the palettes. For example for the Settings menu when you press the Back (select) button. My PC does not have the power to emulate NG2.
Is it possible to scale the HUD due to the nature of it being very low resolution and no way of actually changing the Master Ninja once it unlocks since it's impossible to upscale it? I was just thinking since repositioning is possible, it might be possible to scale it to half the size or something of the likes.
Even better if that's possible. Man, Sigma 2 has came a long way now. The original HUD is so crap that i made one in 15 minutes after buying the game lmao. Still in the top downloads for some reason. A HQ version would be nice when all comes together with your Black .dll and exiting the game directly from NM Plugin, he is working on that too.
haha yeah it would be great the UI is quite low quality! Oh wow lol!! Seems they mixed vita data with PS3 (sprites being 30fps) and you can unlock the bow touch screen icon in the MC lol!
I used to have a lot of addresses related to the HUD but they're all scattered across hundreds of CT files lol :(
ninja gaiden sigma2.exe+1907540 this one you can adjust the length of the HP bar (a lot of data around this area relates to rendering so lots of fun stuff you can do here haha). Scarf physic is close by: ninja gaiden sigma2.exe+190758C haha
I can replace menu textures without injecting using Special K. With ChatGPT's help, I've found and extracted 90% of the textures. However, I'm struggling to find the rest, even after checking with a hex editor and texture viewer in all game files. The missing textures are for text in the pause menu ('weapon,' 'projectiles,' 'items,' 'scrolls'), vertical text, and some other elements I can't remember right now. I replace the textures manually with the hexadecimal editor one by one after editing them.
Most textures, around 99%, are in black and white and use color palette files that can have up to 256 colors, sometimes just 4. The tricky part is figuring out how the alpha channel in the textures works with these palettes when replacing them. On the bright side, it's not too hard to tweak the palettes to change colors from blue to red, although it can be a bit time-consuming.
I think the result would be a somewhat better menu than the one "El Come Testiculos" made in its mod. Although of course, it won't look as good as the NG2 menu.
I still can't find the files for the yellow texts.
And this is what the menu looks like after injecting the missing textures with Special K after editing them.
I am simulating what is shown as if the textures were already replaced in the databin file. I mean, I'm still using Special K. I think that some other texture on the menu should still be seen in yellow without special K.
I have only tried HxD editor and a texture finder tool (TextureFinder). Are you referring to doing it through Cheat Engine? I know very little about how to use Cheat Engine.
This is the list of files (without extension) I found that have textures:
also if you download S2 PS3 iso and unpack the psarc file, you'll get all the game files but they'll have the correct name assigned to them along with the folder.
I downloaded the PS3 version and the files with missing textures for MASTER COLLECTION are in:
"...PS3_GAME\USRDIR\databin\sprite\pausemenu"
I found. The textures are files with ".ltf" extension. but these do not have a "header" which in MASTER COLLECTION is "DDS |". I can see them with Texture Finder but looking with HxD I found that the PS3 files inside do not match the PC files. I tried to look for strings of bytes of textures that I have already extracted from PC in the PS3 files with the extension ".ltf" but they almost don't match. Therefore I would say that they are not the same files as those on PC.
On the other hand, I tried to search for bytes of a texture that is missing in the PC files (which I dumped with Special K) and I was able to watch it in Cheat Engine's Memory Viewer. I don't know how to continue now. Can I find out which file contains the texture by looking in Cheat Engine?
NOTE: before looking in Memory Viewer of Cheat engine I disabled Special K and the dbghelp.dll file of mods loader to avoid any type of interference.
Maybe you can do something. This is the texture (this is the color palette of weapons, projectiles, items, scrolls sprite texts) that is missing in the PC files (which I extracted with Special K) and that can be seen in the Cheat Engine memory.
The textures dumped with Special K are identical to the ones I extracted from the game files from databin.
PS: I suspect that perhaps DoaTool tool is skipping the missing files when it unpacks the databin files. Since I have searched almost in all the game files one by one with HxD and Texture Finder. unsuccessfully.
Did you modify the switch for tianmuxia tool so that it unpacks all the files? By default (unless it was changed) it won't unpack all the files unless you change the parameters in the .bat file.
If you still can't find the files, you can write a script against the function call that's writing the data/accessing in memory and overwrite it with your modified data. That should work too!
Disable special k and see what's writing to the memory address, if you go through the functions, registers, you can find out where it's pulling the data from.
37 comments
There’ll be no hospital, then. I’ll tell the children.” – Architect
I need an screenshot of the Game Settings menu, the purple one from NG2 vanilla so I can continue editing the S2 menu. Can someone supply it to me?
PLace right here. I don't use discord and other crap
Thanks lol
Some screens:
The command that worked was this:
DoaTool.exe ngpcUnpack ../databin _outData/ / 1 9 (I have no idea what is / 1 9 lol)
After editing the textures in Photoshop, I replaced the original ones in the file through hex editing. Then, I patched the databin using
doatool, and it worked successfully.
Now, there's a lengthy task ahead.
ChatGPT made tools for me to extract the textures and put them back together.
I have to extract file for file and classify them into folders to be able to identify them better later.
Then it I will be replacing the palettes after editing them in Photoshop.
This is going to take a long time, it's not like doing it with Special K where you just had to dump the texture and edit in Photoshop for it to load automatically. But it is the way to no longer depend on Special K.
On the other hand, I wanted to ask you if maybe you could do some things with Cheat Engine for NGS1 for the Black mod. I would like a few things like starting Master Ninja with Lunar and Nunchaku, restoring Ryu's dodge roll, restoring the grab distance of bosses like Murai. I don't know if it would be possible to skip the fight against Doku in Chapter 2 and have the NGB cinematic played instead. I'm not saying to change everything and make it equal to NGB but some things like the ones I said.
I would also need some NG2 screenshots to be able to edit the palettes. For example for the Settings menu when you press the Back (select) button. My PC does not have the power to emulate NG2.
Maybe after I'm.done that
I used to have a lot of addresses related to the HUD but they're all scattered across hundreds of CT files lol :(
ninja gaiden sigma2.exe+1907540 this one you can adjust the length of the HP bar (a lot of data around this area relates to rendering so lots of fun stuff you can do here haha). Scarf physic is close by: ninja gaiden sigma2.exe+190758C haha
Might be able to with this? https://github.com/SpecialKO/SpecialK
Most textures, around 99%, are in black and white and use color palette files that can have up to 256 colors, sometimes just 4. The tricky part is figuring out how the alpha channel in the textures works with these palettes when replacing them. On the bright side, it's not too hard to tweak the palettes to change colors from blue to red, although it can be a bit time-consuming.
I think the result would be a somewhat better menu than the one "El Come Testiculos" made in its mod. Although of course, it won't look as good as the NG2 menu.
I still can't find the files for the yellow texts.
And this is what the menu looks like after injecting the missing textures with Special K after editing them.
I am simulating what is shown as if the textures were already replaced in the databin file. I mean, I'm still using Special K. I think that some other texture on the menu should still be seen in yellow without special K.
This is the list of files (without extension) I found that have textures:
05074
05096
05098
05100
05366
05438
05460
05484
05650
05674
05960
05964
06187
06189
06387
06388
06389
06390
06391
06401
06402
06409
06410
06413
06414
06417
06418
06421
06422
06446
06460
06546
06586
"...PS3_GAME\USRDIR\databin\sprite\pausemenu"
I found. The textures are files with ".ltf" extension. but these do not have a "header" which in MASTER COLLECTION is "DDS |". I can see them with Texture Finder but looking with HxD I found that the PS3 files inside do not match the PC files. I tried to look for strings of bytes of textures that I have already extracted from PC in the PS3 files with the extension ".ltf" but they almost don't match. Therefore I would say that they are not the same files as those on PC.
On the other hand, I tried to search for bytes of a texture that is missing in the PC files (which I dumped with Special K) and I was able to watch it in Cheat Engine's Memory Viewer. I don't know how to continue now. Can I find out which file contains the texture by looking in Cheat Engine?
NOTE: before looking in Memory Viewer of Cheat engine I disabled Special K and the dbghelp.dll file of mods loader to avoid any type of interference.
Maybe you can do something. This is the texture (this is the color palette of weapons, projectiles, items, scrolls sprite texts) that is missing in the PC files (which I extracted with Special K) and that can be seen in the Cheat Engine memory.
The textures dumped with Special K are identical to the ones I extracted from the game files from databin.
PS: I suspect that perhaps DoaTool tool is skipping the missing files when it unpacks the databin files. Since I have searched almost in all the game files one by one with HxD and Texture Finder. unsuccessfully.
If you still can't find the files, you can write a script against the function call that's writing the data/accessing in memory and overwrite it with your modified data. That should work too!
Disable special k and see what's writing to the memory address, if you go through the functions, registers, you can find out where it's pulling the data from.