Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texture Replacement
05-30-2016, 12:02 PM
Post: #16
RE: Texture Replacement coming?
@komiks0916 or you could just read the mentioned:
(05-30-2016 01:02 AM)[Unknown] Wrote:  (...)
I'm planning to add a way to map just the data hash (or maybe clut + data hash) to a file...
(...)
and you would know that [Unknown] planned to add feature that would deal with textures moving around without being changed ~ so you might as well wait for it and then I guess you will be able to replace all those lines with just:
Code:
71d9fdb149ebf5ec = YellowLife.png
under "[datahashes]" or whatever the new feature ends up being called.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
05-30-2016, 11:24 PM
Post: #17
RE: Texture Replacement coming?
(05-30-2016 12:02 PM)LunaMoo Wrote:  @komiks0916 or you could just read the mentioned:
(05-30-2016 01:02 AM)[Unknown] Wrote:  (...)
I'm planning to add a way to map just the data hash (or maybe clut + data hash) to a file...
(...)
and you would know that [Unknown] planned to add feature that would deal with textures moving around without being changed ~ so you might as well wait for it and then I guess you will be able to replace all those lines with just:
Code:
71d9fdb149ebf5ec = YellowLife.png
under "[datahashes]" or whatever the new feature ends up being called.

oh yes.. yes.. i mean for the meantime, i really need to name them one by one, until [Unknown] has the new way to make it work.. Big Grin
thanks for the response.. Smile
Find all posts by this user
Quote this message in a reply
05-31-2016, 04:55 AM
Post: #18
RE: Texture Replacement coming?
Decided to implement using zeros under [hashes]. More information here:

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

-[Unknown]
Find all posts by this user
Quote this message in a reply
05-31-2016, 05:19 PM
Post: #19
RE: Texture Replacement coming?
Nice! the wildcards work as expected, i'm still running around different parts of the game to see if there's any issues, but i haven't found any.

PS2 Anteka:
[Image: DhNZJQQm.png]

PSP Anteka:
[Image: uAKF5Cwm.png]

Thanks for your work!
Find all posts by this user
Quote this message in a reply
06-01-2016, 05:06 AM
Post: #20
RE: Texture Replacement
(05-31-2016 04:55 AM)[Unknown] Wrote:  Decided to implement using zeros under [hashes]. More information here:

-[Unknown]

thanks for these.. it now works great! Big Grin
Find all posts by this user
Quote this message in a reply
06-02-2016, 04:44 AM
Post: #21
RE: Texture Replacement
thanks @[Unknown] for the ppsspp improvements on textures..

here's the final output of what i did on my tekken 6..
my Tekken Hybrid Project..



Find all posts by this user
Quote this message in a reply
06-02-2016, 05:57 PM
Post: #22
RE: Texture Replacement
So this replaces texture for games? I'd love to see SFA3 MAX get treatment.
Find all posts by this user
Quote this message in a reply
06-02-2016, 07:42 PM
Post: #23
RE: Texture Replacement
So we can remaster our own games? Cool!! Smile

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
Quote this message in a reply
06-03-2016, 11:36 PM (This post was last modified: 06-04-2016 12:14 AM by Lunos.)
Post: #24
RE: Texture Replacement
(05-06-2016 01:33 AM)LunaMoo Wrote:  Actually it's not coming ~ it's already implemented in any version following that merge thanks to [Unknown].

Doesn't really have any ui, but it's pretty easy to use, just edit ppsspp.ini and set:
SaveNewTextures = True
to dump textures into \memstick\PSP\TEXTURES\gameID\new\, then put textures you edit into \memstick\PSP\TEXTURES\gameID\ and set:
ReplaceTextures = True
to have them replaced in game.
There's also optional textures.ini file you can create in \memstick\PSP\TEXTURES\gameID\ which can be used to set different filenames or limit the size of texture, but it's completely optional, you can check it's syntax in the original pull request.

It can use texture scaling(when dumping), should be affected by texture cache settings when replacing and that's pretty much it. If you're on git, you might subscribe to this issue if you're interested about future updates to this feature since it might get more stuff someday.

Thank you for posting the steps, really appreciated <3

(05-06-2016 11:43 PM)[Unknown] Wrote:  On this note, I wrote a quick little utility to run the texture scaler on images outside PPSSPP. It pulls in all of PPSSPP to do the threading and etc. all the same way.

Basically, this allows you to use a different scaler, or different scaling factor, on different images.

Unfortunately, because I just pulled in all of PPSSPP's code for its scaler, the exe is kinda big. It could be made smaller by cherry picking out what's needed or refactoring some dependencies (unfortunate that the linker didn't do this for me.)

http://forums.ppsspp.org/uploads/xbrz-cli-64.7z

Run without args for basic help.

-[Unknown]

Would be better if the exported files doesn't had that "~" in the end but instead, got exported to a X folder (For example, the folder "Out" which is automatically made in C:\Users\USER\Desktop\xbrz-cli-64 once the process begins)

Tried it with Dissidia 012 and it makes a hella huge difference in the Menus, icons and such. Can't say too much about the characters since I didn't noticed a difference. (But it did work tho, from 256x256 or so to 768x768 or so per texture of Cloud & Lightning)

Thank you so much for making such a simple tool, it's awesome <3

EDIT:
I got why I didn't noticed any difference now, characters modified textures aren't applying.
Grabbed the 10 textures of Zidane, made a single texture and C&P'ed it in the 10 files through Paint and it doesn't work, Zidanne is looking as in the default game.
Weird enough, I feel like the menus, icons and those modified textures are actually working x.x ...
Find all posts by this user
Quote this message in a reply
06-03-2016, 11:44 PM
Post: #25
RE: Texture Replacement
Oh, ~ is a common convention for a backup. It renames the old file to whatever.png~ just in case it crashes or something while saving whatever.png. Could probably add a flag to suppress...

-[Unknown]
Find all posts by this user
Quote this message in a reply
06-04-2016, 09:05 PM (This post was last modified: 06-04-2016 09:13 PM by Vitkarus.)
Post: #26
RE: Texture Replacement
Trying to retexture Unite with textures from Skyrim Nexus, for the first time, I think, result is good, but i chouse the view, where old textures and seams are not apear.

Original:
   

Retexture (also with ReShade):
   

And when texture is dumbing, it's sometimes generate dublicates, also next locations, how i understand, can't use modded textures, and it's necessary to change textures for each location separately.

But nonetheless, that's really great work! Maybe it will bring new life into old games.

And sorry for my english...
Find all posts by this user
Quote this message in a reply
06-04-2016, 09:53 PM
Post: #27
RE: Texture Replacement
This is how i do it:
Code:
#Snowy Mountains
000000009e02f00c0663beed = Snowy Mountains/Snow1.png
000000008c93015676c84131 = Snowy Mountains/Snow1.png
00000000c0cda96ff4c44c0c = Snowy Mountains/Snow2.png
000000000df8982946ceab0f = Snowy Mountains/IcyRock1.png
000000001685815d61aee177 = Snowy Mountains/IcyRock1.png
00000000a02b402288d32b24 = Snowy Mountains/IcyRock1.png
000000001941aa2d58279c8d = Snowy Mountains/IcyRock2.png
00000000ac1ae9b3c950a67a = Snowy Mountains/IcyRock2.png
00000000e9ed8f673069d361 = Snowy Mountains/IcyRock3.png
00000000a02b402288d32b24 = Snowy Mountains/Rock1.png
00000000b430fbc809563218 = Snowy Mountains/Rock2.png
00000000d25c63ca97704999 = Snowy Mountains/Ice1.png
0000000017c32022e5fc967d = Snowy Mountains/Ice1.png
0000000035498fd4ba7a738b = Snowy Mountains/Ice2.png
000000002be1656f4554e400 = Snowy Mountains/Gathering1.png
00000000131dfacfa7df9afb = Snowy Mountains/Gathering2.png
000000001630168fcd3ac841 = Snowy Mountains/Grass1.png
00000000878238d3bcbd3517 = Snowy Mountains/Grass1.png
000000001910aff5c89a3d7d = Snowy Mountains/Grass2.png
000000006982310c0ae1bbaa = Snowy Mountains/Grass3.png
000000004fbec55bff94328b = Snowy Mountains/Grass4.png
000000007ddd823b6dd8b4fb = Snowy Mountains/Grass5.png
00000000f101b8ad24dfe769 = Snowy Mountains/Grass6.png
000000000e111e5463bda1c3 = Snowy Mountains/Grass7.png
0000000071497f7fe9f73e7b = Snowy Mountains/Grass8.png
00000000c5fc7c767382ed86 = Snowy Mountains/Grass9.png
Just check textures that are the same and point them to the same replacement.
Find all posts by this user
Quote this message in a reply
06-04-2016, 10:01 PM
Post: #28
RE: Texture Replacement
Im waiting for this feature to be easier to use XD
(Im bad with complex stuff, my brain shut off completely)

Old laptop: Lenovo G458
AMD/ATI Radeon HD 7310 | 1366x768@60Hz | 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 | 1366x768@60Hz | 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
06-05-2016, 05:56 AM
Post: #29
RE: Texture Replacement
Hello i'm new here. This is my problem in ppsspp.ini file, i cant see the SaveNewTexture or ReplaceTextures words Sad adv thanks for replies Smile)
Find all posts by this user
Quote this message in a reply
06-05-2016, 05:59 AM
Post: #30
RE: Texture Replacement
Make sure you're using the latest git build from here:

http://buildbot.orphis.net/ppsspp/

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: