ThirteenAG / WidescreenFixesPack

Plugins to make or improve widescreen resolutions support in games, add more features and fix bugs.
https://thirteenag.github.io/wfp
MIT License
2.3k stars 221 forks source link

StarWars: Elite Squadron #1601

Closed CristobalManga closed 2 months ago

CristobalManga commented 2 months ago

I wanted to ask a question. Do you charge for making any modifications?

The game I tried to modify is star wars elite squadron for PSP. This game has an alternative type of control, where we can move the camera with X square etc. The problem is that if you move the camera up or down. A few seconds pass and it auto-centers. That's ugly when playing from an emulator.

This is the example: https://youtu.be/H6GkgR7o0zQ?si=n3HU2U5rbGFUozp9

I would just like to know if it is possible and how much the price would be to know if it is within my means.

ThirteenAG commented 2 months ago

I wanted to ask a question. Do you charge for making any modifications?

I only accept donations.

The game I tried to modify is star wars elite squadron for PSP. This game has an alternative type of control, where we can move the camera with X square etc. The problem is that if you move the camera up or down. A few seconds pass and it auto-centers. That's ugly when playing from an emulator.

You can disable auto centering by noping 4 bytes at address 0x08A17C68(ULUS10390):

uintptr_t ptr_8A17C68 = pattern.get(0, "44 00 44 8E 03 00 05 24", -4);
MakeNOP(ptr_8A17C68);

I can't be 100% sure this is the correct patch, but this is the spot with the related code.

CristobalManga commented 2 months ago

I wanted to ask a question. Do you charge for making any modifications?

I only accept donations.

The game I tried to modify is star wars elite squadron for PSP. This game has an alternative type of control, where we can move the camera with X square etc. The problem is that if you move the camera up or down. A few seconds pass and it auto-centers. That's ugly when playing from an emulator.

You can disable auto centering by noping 4 bytes at address 0x08A17C68(ULUS10390):

uintptr_t ptr_8A17C68 = pattern.get(0, "44 00 44 8E 03 00 05 24", -4);
MakeNOP(ptr_8A17C68);

I can't be 100% sure this is the correct patch, but this is the spot with the related code.

It really worked, thank you very much. After so many years of searching and trying, I realized that I was not born to create codes. That's why I asked for help. I already made the donation through paypall.

The translated and usable code is: _C0 Disable Auto-center ControlAlternative _L 0x00217C68 0x00000000

It works on real PSP and PPSSPP