Page 1 of 4

[RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Fri Apr 26, 2019 11:49 am
by Rinnegatamante
remaPSV v.1.1

remaPSV is a remap plugin (which takes the name from the glorious remaPSP included in cwCheat for PSP) allowing you to remap every single button of your PSVita and to map touch and reartouch zones to extra buttons (especially useful if you use a grip on your Vita).

How to install

- Add remaPSV.suprx into your taiHen config file (under *ALL or whatever game you want to use it).
- Add ioplus.skprx into your taiHen config file (under *KERNEL)
- To bring the config menu, press START + Square in game.

Notes

- For implementation simplicity, if a single Touch zone is remapped to a physical button, the touch panel will stop to work as meant originally (meaning the game won't receive touch inputs but instead only emulated physical buttons inputs.
- The same applies to Rear zones.

Config files structure

Config files are saved in ux0:data/remaPSV.
They consist in files named as TITLEID.bin of 24 bytes.
Each byte is related to a remap for a single button following this scheme:

Code: Select all

static char* str_btns[BUTTONS_NUM] = {
	"Cross", "Circle", "Triangle", "Square",
	"Start", "Select", "L Trigger (L2)", "R Trigger (R2)",
	"Up", "Right", "Left", "Down", "L1", "R1", "L3", "R3",
	"Touch (TL)", "Touch (TR)", "Touch (BL)", "Touch (BR)",
	"Rear (TL)", "Rear (TR)", "Rear (BL)", "Rear (BR)"
};
This means that if on byte 0 we put 5, we'll have Cross button (0) being remapped to Select (5).
For touch zones, they're all defaulted to 16 (Touch (TL)). Values higher than 16 do not exist (to make touch act as normal, just put all touch values to 16, same for rear).

Credits
- Dmaskell92 for testing the plugin.
- All my Patroners for their awesome support:
- nobodywasishere
- RaveHeart
- Tain Sueiras
- 2Mourty
- Andyways
- ArkaniteOnVita
- Artūrs Lubāns
- BOBdotEXE
- ckPRO
- Count Duckula
- Daniel
- Eduardo Minguez
- Elwood Blues
- Gelson Silva
- Igor Kovacs Biscaia
- Jared Breland
- Lars Zondervan
- Mored1984
- gnmmarechal
- Oleg Des
- Pirloui
- rsn8887
- Samuel Batista
- styroteqe
- suLac4ever
- T33Hud
- Troy Murray
- Yakara Network
- PSX-Place.com

Links

Download: http://vitadb.rinnegatamante.it/#/info/474
Sourcecode: https://github.com/Rinnegatamante/remaPSV

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Mon Apr 29, 2019 9:03 pm
by Yoti
Volume buttons support?

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Mon Apr 29, 2019 10:22 pm
by Rinnegatamante
Yoti wrote:
Mon Apr 29, 2019 9:03 pm
Volume buttons support?
Volume buttons require Shell priveleges, they're not interceptable by normal apps.

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Thu May 02, 2019 1:32 pm
by psvpwner
Nice plugin, thanks a lot for making this!!

Anyway, "R Trigger (L2)" shouldn't it be R2?

Also, I'm gonna assume it's not possible to create individual files for individual games running in Adrenaline, even if they have their own bubbles? The bubbles have their own ID but maybe that's no longer present when the game is running, to distinguish them?

It would be great, because the custom mapping I set up for GTA Vice City Stories (with remastered plugin) conflicts with PS1 games run through Adrenaline, since they both use the PSPEmu's Title ID, NPXS10028

Alternatively, maybe the Bubble Booter could hotswap the ux0:data/remaPSV/NPXS10028.bin file on the fly as a bubble is booted?

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Thu May 02, 2019 10:13 pm
by dmaskell92
Adrenaline already has full remaping in the stock settings. This plugin is for PS Vita games and homebrew that don't have this option already built in.

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Thu May 02, 2019 11:41 pm
by psvpwner
dmaskell92 wrote:
Thu May 02, 2019 10:13 pm
Adrenaline already has full remaping in the stock settings. This plugin is for PS Vita games and homebrew that don't have this option already built in.
As far as I can see, it's possible for PS1 but the options for PSP are very limited. I can only remap the right analogue stick and assign the four corners of the touch screen (front, not back), which is not very helpful since I want to use the L2/R2 buttons (the upper half of the back touch) on my L2/R2 grip for PSP games, and sometimes remap other buttons as well. With remaPSV, I can.

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Fri May 03, 2019 12:36 pm
by dmaskell92
You're right, I must play a lot of PS1 games, I didn't notice the official PSP mapping was so limited.

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Sat May 04, 2019 5:16 am
by Lemonov
Hello, I have a bit of a problem.
When I press the d-pad to choose from the menu, it starts to jump around randomly, so I can't actually change anything and I'm only left to close the game to quit the menu. How to fix this?
And also, can you please add swipe support? I want to bind swipes to a button, if it is possible.
Thanks in advance!

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Sat May 04, 2019 7:55 am
by Rinnegatamante
Lemonov wrote:
Sat May 04, 2019 5:16 am
Hello, I have a bit of a problem.
When I press the d-pad to choose from the menu, it starts to jump around randomly, so I can't actually change anything and I'm only left to close the game to quit the menu. How to fix this?
And also, can you please add swipe support? I want to bind swipes to a button, if it is possible.
Thanks in advance!
The jumping around may be caused by how the game handles inputs. I'll try to fix it in an update since i've already got some reports of games having this issue. For the moment you can use the config menu in a game that doesn't have this issue and then rename the config file to make it work on a game having this issue.

Re: [RELEASE] remaPSV - Remap plugin for PSVITA

Posted: Mon May 06, 2019 5:40 am
by Lemonov
OK. The game is Project Diva f, if it helps at all.