PSXHAX.COM website and domain for sale. Contact Us with your offer!
Hubitat Driver for PS4 Power Status and Wake from Standby by Cometfish
We've covered PS4 Waker, PS4 Imagemap, PyWakePS4 on BT, an IPS PS4 Module and the PS4 Waker SmartThings App Device Handler with the latest addition by cometfish on Github featuring a Hubitat home automation platform driver for PS4 power status and wake from standby. 🏠 🤓

Download: hubitat_driver_ps4-master.zip / GIT

And from the README.md: PlayStation 4 driver

Hubitat Driver for detecting status of your PlayStation 4, and waking it up from standby.

Power status check
  1. Add ps4.groovy to your Hubitat as a new Driver (under Drivers Code)
  2. Add a new device for your PlayStation 4 to your Hubitat, set device Type to your User driver of 'PlayStation 4'
  3. Assign your PS4 a static IP, and enter the IP into the device's IP Address setting in Hubitat.
  4. Set the Poll Interval if you want the status to be refreshed every X minutes
  5. Pressing Refresh on the device in Hubitat should now load the current switch state (on/off).
Wake from Standby

To be able to wake the PS4 from standby mode, you need to get a User Credential from linking a device to your PlayStation.

The PlayStation verifies the wake request by the source device's MAC address, so you can only make this work by using your Hubitat's MAC address to make the initial device link.

We can't make the initial device link from the Hubitat, because it requires binding to a specific port for listening, so the workaround is to copy the Hubitat's MAC address and make the initial device link with PS4-Waker. Then any later requests from Hubitat will work...
PySnakeGame: Snake Game with PS4 Controller Python Script by Jaccon
Following the Snake RPi LED Mod and PyPS4Controller module, developer Jaccon of Jaccon.com.br shared a PySnakeGame Python script on Github for a Snake Game using the PS4 DualShock 4 (DS4) Controller geared towards those seeking to learn simple controller integration. 🐍

Download: PySnakeGame-master.zip / GIT

The script presents an interface for interacting with the PlayStation 4 Controller in Python. Simply plug a PS4 controller into your computer using USB and run the script.

From the README.md, to quote: PySnake Game

The PySnake Game is a very easy script with USB Controller Game to learn how to make a USB controller integration using Python.
DecryptedKernelLabelSyscalls Python Script for PS4 Scene Developers
As part of the OpenOrbis Project initiative to provide 100% free and open source development libraries / tools and following the GetEventHandlerNames.py script earlier this week, PlayStation 4 scene developer @KIWIDOGGIE (diwidog on Twitter) of KiwiDog.me updated his KiwiDoggie Productions Github repository with a DecryptedKernelLabelSyscalls Python Script (DecryptedKernelLabelSyscalls.py) that creates the necessary structures and labels all syscalls from a full PS4 kernel dump. :fire:

Download: DecryptedKernelLabelSyscalls.py / OrbisKernelSyscalls.java (Labels syscalls in kernel dumps/decrypted) / IDA-ConsoleHacking-Scripts-master.zip / GIT

From DecryptedKernelLabelSyscalls.py on Github:
Code:
#!/usr/bin/env python

#
# This script will create the needed structures, and label all syscalls from a FULL kernel dump
# OpenOrbis Project providing 100% free and open source development
# **** the pirates
#
# Created by: kiwidog (http://kiwidog.me)
# Started on: Febuary 14, 2019
#

def find_syscalls():
    """
    Automatically finds and labels all of the syscalls in a kernel dump
    :return: Nothing
    """
    # Get the sysent_t structure
    sysent_id = idaapi.get_struc_id("sysent_t")
    if sysent_id == idaapi.BADNODE:
        write_log("could not get the sysent_t structure.")
        return

    # Find the magic
    magic_offset = idaapi.find_binary(idc.MinEA(), idc.MaxEA(), "4F 52 42 49 53 20 6B 65 72 6E 65 6C 20 53 45 4C 46", 16...
Bloodborne PS4 Cut Content: The Blood Minister Unused Dialogue and More
Proceeding the Bloodborne Trainer, BBAnimConverter and his P.T. PS4 Unseen Content today PlayStation 4 video game hacker @manfightdragon shared on his YouTube Channel via Twitter some interesting Bloodborne PS4 Cut Content including The Blood Minister complete with the unused dialogue and character details! ✂️

Those interested can also check out his Patreon Page to support his findings, and from the Tweet below he states to quote:

A new Bloodborne cut content video! Did you know that the Blood Minister we see in the game's opening cinematic was once a much more significant character who had quite a lot to say, adding to the backstory? Come take a look! Full video here:

Bloodborne Cut Content - The Blood Minister - Unused Dialogue and Character

From the video's description: It's a bit hard to imagine how exactly this cut content was going to fit into the flow of Bloodborne considering how it all works, but still awesome to see an unused character get brought back to life to some degree, it's always nice to get more dialogue from the voice actors regardless of how it fits or doesn't fit into the game.

Bloodborne Mod - Control Enemies & Play As Bosses - Restored Debug Mode
PyPS4Controller Module: PS4 Controller Hooks via Python on Linux by ArturSpirin
Since we covered the PS4 Gentoo Linux Installation Guide, developer ArturSpirin shared pyPS4Controller on Github which is a light module designed to provide hooks for PlayStation 4 Controllers in homebrew development projects using Python with Raspberry Pi devices or on other Linux machines. 🐧

Download: pyPS4Controller (Latest Version) / pyPS4Controller-master.zip / GIT

From the README.md: pyPS4Controller

pyPS4Controller is a light module designed to provide hooks for PS4 Controller using Python on Linux.

Installation
Code:
sudo pip install pyPS4Controller
Usage
  1. First, you have to make sure you can connect your PS4 controller with ds4drv. You can do it 1 of 2 ways.
    • Manually by following this instructions
    • Automatically by running py3ps4c init (if you are using python3) or py2ps4c init (if you are using python2) in your terminal.
  2. (Optional) connect your controller directly to the computer's Bluetooth module. Once successful, disconnect the controller. If you don't do this, in the next step you may see this error: Unable to connect to detected device: Failed to set operational mode: [Errno 107] Transport endpoint is not connected
  3. Now start sudo ds4drv and press SHARE + PS4 button on your controller. If pairing fails, you want to try in again, it should eventually connect.
  4. Copy the code bellow to a file, say test.py
  5. Run it python test.py
  6. Use your controller.
  7. Adjust logic in the code and integrate it with your RC needs!
From pyPS4Controller.controller import Controller:
Code:
class MyController(Controller): # create a custom class for your controller and subclass Controller
"""
If we want to bind an action to the X button on the controller, we need to override its respective methods.

Some of the buttons have a binary On/Off state. For example the X, Circle, Square, and Triangle buttons.
When overriding their respective methods there are...
Back
Top