Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texture replacement madness.
09-15-2015, 01:41 AM (This post was last modified: 05-19-2016 02:17 AM by YukiHerz.)
Post: #1
Information Texture replacement madness.
IMPORTANT

Consider everything in this thread deprecated, follow these links instead:
http://forums.ppsspp.org/showthread.php?tid=18963

https://github.com/hrydgard/ppsspp/pull/8715

Well, first off hi, my first post on these forums.

I've been using PPSSPP for a long time and after a series of events i am now able to replace textures in games (in D3D9 mode).

It started in an attempt to rip the Maps from Monster Hunter games, using Ninja Ripper, it worked flawlessly and i was able to obtain all the maps from F1, FU and P3rd, later i tried TexMod to modify textures and well, it worked, for a time, when it didn't work anymore i started messing with stuff to learn what was it that allowed TexMod to work, then i learned that the d3d9.dll file created by ninja ripper in the PPSSPP folder was necessary for TexMod.

So i went ahead and replaced textures, first with random online textures and later with PS2 equivalents of the same textures (also obtained with ninja ripper) and my own edits to those textures, like flipped colors and other basic stuff.

So the next thing i did was to use uMod instead, which is an updated version of TexMod, seemingly also relying on the dll created by ninja ripper, it also worked.

What's the true purpose of this thread?, well, motivate someone with the knowledge to implement this as a feature of the emulator instead, so it also works with OpenGL backend, of course i did search beforehand and i found words about this being feasible, but nothing concrete or recent, of course, it is understandable if people would rather work on stuff to polish the actual emulation.

I'd like to see other people experimenting with these programs and posting about the results, well, that's all i wanted to say. Tongue

How to achieve this:
1.-Download Ninja Ripper
2.-Download uMod 1.x
Optional.-Download Paint.Net and a plugin to flip/rotate rgb channels(Search for "Color Flip/Rotate plugin".
3.-Start PPSSPP and set it to D3D9 backend and close it after it restarts.
4.-Open Ninja Ripper, set it to D3D9 Wrapper mode(Below the Run button), set the target Exe to ppsspp.exe, Dir should be the directory where ppsspp is stored, then click run.
5.-After PPSSPP has started, close it and check if the folder for PPSSPP contains a file called d3d9.dll, if it does, continue to next step.
6.-Open uMod, go to Main-Start Game through uMod-Select the game to start and select the PPSSPP executable, after this it should start and the uMod windows will change.
7.-Back to the uMod windows, set buttons for back, save and next (i usually put them on VK_Left, Up and Right respectively), thick the save single texture box and set a save directory, now click update and go back to ppsspp, notice how now there's red text indicating what texture you selected, now go to a game and get to the part where the texture you wanna modify appears and browse the textures with the Back and Next buttons you set before, the selected texture will turn Green in the game, so keep browsing until that texture turns green and press the Save button you set before.
8.-Now go and modify the texture you saved, it is in DDS format, which Paint.Net can open.
9.-You'll notice the texture has wrong colors, as its RGB channels are inverted (BGR), you need to find a way to flip them, either with the plugin i mentioned before or another method you find online, if you found the plugin i mentioned it should show several squares which you can click, click on the lower left one, notice how below the squares there's text that says B^G^R^ or similar, and click ok.
10.-When you're done with editing the texture, run the color flip again and save it.
11.-Go back to uMod and run ppsspp again, then click open texture/package and select the texture you modified and press the Update button, go back into the game and into the part where the texture you modified appears and your modified texture should be there.
12.-For multiple textures, you can put them inside a Zip file and load that file with the open texture/package button.
Find all posts by this user
Quote this message in a reply
09-15-2015, 02:14 AM (This post was last modified: 09-15-2015 02:23 AM by GamerzHell9137.)
Post: #2
RE: Texture replacement madness.
Wait, you replaced textures? Damn, that's great! Would it be possible to edit it ourself and make like HD textures?
Hrydgard said he would implement the option to change the textures, just like Dolphin has the option to do it but when that's gonna happen i dunno.
Find all posts by this user
Quote this message in a reply
09-15-2015, 02:26 AM
Post: #3
RE: Texture replacement madness.
With both TexMod and uMod i was able to replace textures with higher resolution ones, they scaled properly, so yes, it would be possible.
Find all posts by this user
Quote this message in a reply
09-15-2015, 10:50 AM
Post: #4
RE: Texture replacement madness.
.... I could see PS3/PS4 level of texture coming ._.

Old laptop: Lenovo G458
AMD/ATI Radeon HD 7310 | [email protected] | APU E1-1200 Dual Core | 2.5 GB DDR3 400MHz | Windows 7 Home Premium 32-bit

New laptop: Lenovo ideapad 100
Nvidia Geforce 920M 2GB / Intel HD Graphics 5500 | [email protected] | Intel Core i3-5005U 2GB | 2GB DDR3 2000MHz | Window 10 Home 64-bit
Find all posts by this user
Quote this message in a reply
09-15-2015, 03:57 PM
Post: #5
RE: Texture replacement madness.
Lol, if computers are strong enough then probably, yeah Tongue.

Added a guide on how to do this.
Find all posts by this user
Quote this message in a reply
09-15-2015, 06:56 PM
Post: #6
RE: Texture replacement madness.
Interesting, thank you for the quick guide Smile

♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2
Find all posts by this user
Quote this message in a reply
09-16-2015, 04:08 PM
Post: #7
RE: Texture replacement madness.
Here's an example of higher resolution textures in use, in this case, i replaced the Rathalos' textures with ps2 counterparts.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
09-17-2015, 06:22 AM
Post: #8
RE: Texture replacement madness.
I hope they manage to implement this like Dolphin's texture replacer. Wanna do HD Danball Senki W
Find all posts by this user
Quote this message in a reply
10-16-2015, 05:04 PM
Post: #9
RE: Texture replacement madness.
Could you explain to me how you flip the colors with Gimp? I've tried the rotate color option many times and failed.
Find all posts by this user
Quote this message in a reply
10-16-2015, 06:12 PM
Post: #10
RE: Texture replacement madness.
(10-16-2015 05:04 PM)LinnersXWosers Wrote:  Could you explain to me how you flip the colors with Gimp? I've tried the rotate color option many times and failed.

on menu bar u have position named color

click it and from drop down menu check each option
and 1 option eventually will be solution for u

Try AntiMicro graphical program used to map keyboard keys and mouse controls to a gamepad/controller.
http://forums.ppsspp.org/showthread.php?tid=12513
or http://www.x360ce.com
Find all posts by this user
Quote this message in a reply
10-16-2015, 09:21 PM (This post was last modified: 10-17-2015 12:32 AM by IncognitoMan.)
Post: #11
RE: Texture replacement madness.
Hi,

I'm curious how you got this to work ( version of ppsspp/ninjaripper/umod? ) because I've been trying to get this to work and at step 6 it just keeps crashing the moment it tries to load ppsspp from umod...

This would really help with my own project as a means of quickly testing stuff out rather than rebuilding the image every time I want to check a texture...

Thanks

Edit: appears you need an older version of ninja ripper for this to work... got everything working now!
Find all posts by this user
Quote this message in a reply
10-17-2015, 12:58 AM
Post: #12
RE: Texture replacement madness.
So does it really replaces the texture inside the game (ISO)? Coz I tried to run PPSSPP without NinjaRipper and uMod and it looks like the edited texture didn't appear. So do I have to run uMod first to get the edited texture to appear?
Find all posts by this user
Quote this message in a reply
10-17-2015, 05:07 AM (This post was last modified: 10-17-2015 05:08 AM by ismhael.)
Post: #13
RE: Texture replacement madness.
Ok. I've been messing with GVGNP textures. Black Epyon! XD


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
10-20-2015, 07:11 PM
Post: #14
RE: Texture replacement madness.
(10-16-2015 06:12 PM)ZeroX4 Wrote:  
(10-16-2015 05:04 PM)LinnersXWosers Wrote:  Could you explain to me how you flip the colors with Gimp? I've tried the rotate color option many times and failed.

on menu bar u have position named color

click it and from drop down menu check each option
and 1 option eventually will be solution for u

Could you please be a bit more specific? no options under the color menu offer what you describe in GIMP. Paint.NEt will not load the plugins described in the OP for me. Only errors.

Perhaps provide a screenshot? thanks.
Find all posts by this user
Quote this message in a reply
10-20-2015, 10:51 PM
Post: #15
RE: Texture replacement madness.
(09-16-2015 04:08 PM)YukiHerz Wrote:  Here's an example of higher resolution textures in use, in this case, i replaced the Rathalos' textures with ps2 counterparts.
Can we get a before and after pic? In higher reso too.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: