hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.43k stars 2.19k forks source link

Texture replacement #16028

Closed Nugss closed 1 year ago

Nugss commented 2 years ago

Game or games this happens in

ULUS10213 - The warriors or possibly the other games too

What area of the game / PPSSPP

So I try to replace the textures of clouds on The warriors using the PS2 textures that I dump using AETHERSX2 emu of the same game, when I launch the PPSSPP, the texture doesn't load as is and it shows like this

Screenshot_2022-09-16-02-11-44-26

And when I play for long enough it will load properly

Screenshot_2022-09-16-02-10-00-71 From this second pic, it's just a savestate that I save before. When the moment that the texture loads property I just savestate it, and when I loadstate it, it shows properly even without playing for long enough.

What should happen

I don't think what the problem is but it's either the emulator or the texture i use.

Probably its the texture I replace, because I using ps2 textures on peds and it works fine.

Here's the texture: ulap1 coneyclouds

What you think guys? If the texture is the problem, can you give me some advice?

Logs

No response

Platform

Android

Mobile phone model or graphics card

Oppo a3s

PPSSPP version affected

Latest

Last working version

None

Graphics backend (3D API)

Vulkan

Checklist

LunaMoo commented 2 years ago

If you need to "play long enough" for the replaced texture to appear it can mean two things:

Nugss commented 2 years ago

Thanks @LunaMoo. If my device is the problem maybe i should reduce the quality or resolution of the texture

IrfanH495 commented 2 years ago

I tried it too the result is transparent https://youtu.be/AKw73qSU3Y0

LunaMoo commented 2 years ago

@IrfanH495 Lol. You can't just expect to replace opaque texture with a transparent one without making the object transparent.

IrfanH495 commented 2 years ago

sorry if i ask too many questions. about this part I don't understand

Ignore the intro video textures.

099bf1c000000909 = 0993698000000909 = 09a47a0000000909 = 09ad024000000909 = Screenshot_20221002-010305_Chrome is it for video editing.? How to save it.? Can someone give me an example.?

unknownbrackets commented 2 years ago

If you explicitly set a hash to an empty string like that, it won't save it or try to replace it. It's just a way of skipping a texture.

-[Unknown]

IrfanH495 commented 2 years ago

@unknownbrackets thanks for explaining. I think it's to replace the edited mp4/pmf video, it was not. very cool if can change the video like changing the texture, can replace it with HD quality or add subtitles.

Nugss commented 2 years ago

@IrfanH495 Or you can modify the game instead, by replacing the pmsf using ps2 version of the game.

Nugss commented 2 years ago

@LunaMoo do have plugin or cheat that fix the cutscene of this game?

LunaMoo commented 2 years ago

I don't, however my custom builds do include a compat hack which restores old functionality for videos to make them run smooth in this game.

Nugss commented 2 years ago

-Off topic- Is it possible for this game to have "cheat device" similar to GTA VCS and LCS?

ghost commented 1 year ago

There's many improvements in texture replacement https://github.com/hrydgard/ppsspp/issues?q=label%3A%22Texture+replacement%22+is%3Aclosed How about this now?

IrfanH495 commented 1 year ago

in the latest version I can't save the texture if I delete the folder/file.png which is written in texture.ini

hrydgard commented 1 year ago

Oh, that might be an undesirable change in behavior, yeah. I'll get that fixed soon.

hrydgard commented 1 year ago

I'm going to close this issue because a number of problems have been fixed, and it's unclear what was going on here. Do re-open if the problem returns.

17182 is the new issue about saving.

rorowong888 commented 1 year ago

Hey, bro Since , most of the dumped texture from ps2 even both pcsx2 , Aethersx2 is transparents alpha level. So that you should recover to normal via some retouching software like ps gimp if thta is use for others emulator like ppsspp (But that would be find if use for ps2 emulator) See this tutorial...on 03:00 https://youtu.be/uCnrzV8ZL1w