Homebrew RELEASE Chiaki (PS5 & PS4 remote play) homebrew

User experience

  • good

    Votes: 21 65.6%
  • decent

    Votes: 8 25.0%
  • terrible

    Votes: 3 9.4%

  • Total voters
    32
  • Poll closed .

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
Some (very rare?) PS4 games also has different behavior based on where you press the touchpad button (each corner can be assigned to a different button event), while some game only has left side and right side differences.
4 buttons touchpad (corners) : Killzone: Shadow Fall
2 buttons touchpad (left/right) : Diablo 3, Star Ocean: Till The End Of Time,
1 button : most games!
of course some games also use the swipe/touch without pressing/movement effect (Dreams, Detroid, Risk of rain, etc. )

If you implement touchscreen, I suppose the "touch sensitive" without press could be the center of the switch screen, while each corner could be the button event with "touch" corner coordinate sent to the game?

edit:
I found this, here : http://gimx.fr/forum/viewtopic.php?t=2741
5lRAleU.jpg


showing it can detect 2 fingers, at different corners at the same time.
x- (left side), x+ (right side).
that picture's HID config seems to only have 2 sides triggers, not 4 corners triggers.
 
Last edited by Cyan,
  • Like
Reactions: H0neyBadger

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
holding R1 could do other things in the game you wouldn't want. event if it's holding minus first, it could be difficult to access quickly ingame.
If you can detect touch zone on the switch, it could act as buttons (4 touchpad button event actually).
the NDS and 3DS had lot of games using virtual buttons located on the touch screen to expand the available inputs.


The touch also detect if there are 1 or 2 fingers on the touchpad. (I don't know any game using two fingers, probably pinch and zoom out? if someone knows one it would be nice to help debug/test)
Assigning only one physical trigger (R1+minus) without touch info will not be working in all games.
 
Last edited by Cyan,

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
Can you do key combinations? For example, minus = touch press, hold R1 + minus = PS button?

yes it 's possible, but as Cyan says some key combination might be use by the game itself.
I'm not a big fan of key combination. (maybe - and + can be can be use together)

I personally never used the share button (except by accident).
for good design. the more a function is used, the easier its access should be.
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,880
Country
United Kingdom
From a quick look at the main chiaki repository source & issues, it doesn't look like chiaki supports detailed touchpad support in terms of touch location, swipes etc, so far - it just supports it as a plain button. This will work for a lot of games but obviously there's a few games that it's not gonna be able to support until that stuff is added.

I just sent you a pull request for touchscreen-as-touchpad-button support, works with The Last Of Us at least B-)
 

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
From a quick look at the main chiaki repository source & issues, it doesn't look like chiaki supports detailed touchpad support in terms of touch location, swipes etc, so far - it just supports it as a plain button. This will work for a lot of games but obviously there's a few games that it's not gonna be able to support until that stuff is added.

I just sent you a pull request for touchscreen-as-touchpad-button support, works with The Last Of Us at least B-)
I merged your changes on https://github.com/H0neyBadger/chiaki/releases/tag/v0.0.4-switch
thank you a lot for your contribution.
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,880
Country
United Kingdom
I merged your changes on https://github.com/H0neyBadger/chiaki/releases/tag/v0.0.4-switch
thank you a lot for your contribution.
You're very welcome, thanks for the quick merge & release!

Really appreciate this app, it's what I've been waiting for for ages. With overclock it seems really smooth & playable (haven't tried it for very long yet, but it's looking ready for more extensive gameplay tests). And now I can play TLOU, which is my priority, replaying to refresh myself before the sequel comes out B-)
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,880
Country
United Kingdom
BTW it would still be very feasible to use multiple zones on the Switch's touchscreen, so as well as emulating the touchpad button, you could have an area for the share button, and one to quit the app (or open the app's menu, once it has one). Not my priority, but I could look at it sometime if it was wanted.

Speaking of quitting the app, I thought maybe if it can detect when the stream ends (PS4 goes to sleep or turns off, or connection lost maybe), the app could quit.
 

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
BTW it would still be very feasible to use multiple zones on the Switch's touchscreen, so as well as emulating the touchpad button, you could have an area for the share button, and one to quit the app (or open the app's menu, once it has one). Not my priority, but I could look at it sometime if it was wanted.

Speaking of quitting the app, I thought maybe if it can detect when the stream ends (PS4 goes to sleep or turns off, or connection lost maybe), the app could quit.
any help is welcome. ultimately, I m not sure to have enough time to work on it.
So if someone appreciate this project, feel free to take the lead on it if you want to.

It's possible to add the wake up/turn on functions?
this feature exists but it's no longer working. feel free to push the issue on the upstream project. I keep an eye on it.
Do you know if the wakup call is available on the official sony remote play (I do not have windows at home to try)
 
  • Like
Reactions: TimeDevouncer

TimeDevouncer

Well-Known Member
Member
Joined
Jun 7, 2018
Messages
142
Trophies
0
Age
39
XP
1,088
Country
Spain
any help is welcome. ultimately, I m not sure to have enough time to work on it.
So if someone appreciate this project, feel free to take the lead on it if you want to.


this feature exists but it's no longer working. feel free to push the issue on the upstream project. I keep an eye on it.
Do you know if the wakup call is available on the official sony remote play (I do not have windows at home to try)

Yeah, i try the remote play with lineageos-switch and wake up works.

Thanks
 
  • Like
Reactions: H0neyBadger

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
what is the minimum overclock you can do to get rid of the graphical glitches?

I personally do not recommend oveclock.
Your nintendo switch is not designed to handle those frequencies.
You may damage your device !

I m actively investigating this problem.
I do not know yet when it will be solved.

sorry for not responding to your question.
Now, you have been warned, if you really want to proceed please check on page 3.
 

Djakku

Well-Known Member
Newcomer
Joined
May 9, 2019
Messages
96
Trophies
0
XP
1,175
Country
United Kingdom
Many thanks for this homebrew.

I struggled a bit in the beginning and had both crash and green screen on different occasions.

When the keyboard popped up I didn't realise that I had the put the pin code to add the device.
Once I passed that stage and the app successfully connect to the PS4. I quit then relaunch the app.
It crashed.
I looked at the config and then

removed the [PS4-XXX]
From the config file and I just have replaced it with my ps4 name [myps4name] in the config.

So there's was only one [PS4-xxx] config.

Would it be possible that you had the same issue @hippy dave ?

It works well at 720p but the is a noticable audio lag.
I have been playing persona 5 on 540p and so far it's working great.

I'm amazed that the hombrew works fine when launching from the album icon in switch but now that i have fixed the green screen / crash issue, i use the title redirect.
 
Last edited by Djakku,
  • Like
Reactions: Ty_ and H0neyBadger

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,880
Country
United Kingdom
I made a forwarder, just so I can have overclock set for this app every time without affecting other homebrew. Forwarders can apparently cause issues in some cases (eg I know there are potential problems with retroarch), so try at your own risk. If you have any issues while using it, see if you get them without using the forwarder before reporting.

e: it runs /switch/chiaki/chiaki.nro
 

Attachments

  • chiaki_fw_010beeb4b2c60000.nsp.zip
    706.9 KB · Views: 490

TimeDevouncer

Well-Known Member
Member
Joined
Jun 7, 2018
Messages
142
Trophies
0
Age
39
XP
1,088
Country
Spain
I made a forwarder, just so I can have overclock set for this app every time without affecting other homebrew. Forwarders can apparently cause issues in some cases (eg I know there are potential problems with retroarch), so try at your own risk. If you have any issues while using it, see if you get them without using the forwarder before reporting.

e: it runs /switch/chiaki/chiaki.nro
Thank you, runs perfectly. I played 1 hour to FFVIIR and no problem.
 

AD2076

Developer
Developer
Joined
Feb 19, 2019
Messages
174
Trophies
0
XP
1,186
Country
Italy
Last edited by AD2076,

H0neyBadger

Well-Known Member
OP
Newcomer
Joined
Oct 4, 2015
Messages
96
Trophies
0
XP
505
Country
France
emuMMC | HOS 9.2.0 | AMS 0.12.0
proper chiaki.config (checked many times)
switch crashes any time I start chiaki.
crash happens in bsdsockets-sysmodule
https://yls8.mtheall.com/ninupdates...-10&sys=hac&reg=G&soap=1&tid=0100000000000012


Code:
[PS4-AD2076]
host_ip = "192.168.178.22"
psn_online_id = "daigo_"
psn_account_id = "**********"
video_fps = 30
video_resolution = "720p"

Hello AD2076,
I used a non-standard socket config
https://github.com/H0neyBadger/chiaki/blob/switch-test/switch/src/main.cpp#L65
Chiaki lib relies on high rate UDP / threads communication.
so I had to customize it. (it took me a while to figure out the source of this problem)

I m amusing that you have no logs because of this issue ?

are you running it form Homebrew applet mode ?
 

AD2076

Developer
Developer
Joined
Feb 19, 2019
Messages
174
Trophies
0
XP
1,186
Country
Italy
No logs
I am not running from applet mode. In applet mode it fails on titleID 010000000000100D
Should I update HOS?
 
Last edited by AD2076,

Djakku

Well-Known Member
Newcomer
Joined
May 9, 2019
Messages
96
Trophies
0
XP
1,175
Country
United Kingdom
emuMMC | HOS 9.2.0 | AMS 0.12.0
proper chiaki.config (checked many times)
switch crashes any time I start chiaki.
crash happens in bsdsockets-sysmodule
https://yls8.mtheall.com/ninupdates...-10&sys=hac&reg=G&soap=1&tid=0100000000000012


Code:
[PS4-AD2076]
host_ip = "192.168.178.22"
psn_online_id = "daigo_"
psn_account_id = "**********"
video_fps = 30
video_resolution = "720p"


Shouldn't you either remove the line with psn_online_id or
psn_account_id

Depending on you ps4 firmware?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    The Real Jdbye @ The Real Jdbye: quite a tight bend on that 8pin->12pin adapter in my case, which is the worst case scenario, but...