Skip to content

Commit

Permalink
Update readme:
Browse files Browse the repository at this point in the history
  • Loading branch information
LiEnby committed Jun 21, 2023
2 parents 796422d + e31f328 commit 578ebbd
Show file tree
Hide file tree
Showing 17 changed files with 1,394 additions and 1,389 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.suprx
*.skprx
kern/build/*
user/build/*
*.suprx
*.skprx
kern/build/*
user/build/*
133 changes: 69 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,69 @@
# NoPspEmuDrm:

A plugin to bypass all PSPEmu DRM Checks,
so you can play digital PSP or PS1 game backups; or of course- games you legitimately own but on another PSN Account

Defintely do not use this for piracy that would be bad mmkay?

Okay, now that message to keep the lawyers happy is out of the way --

Features:

- Play any PSP, PSX, NeoGeo, PC Engine or TurboGrafix16 contents without a license
-- Directly from the livearea, as if you got it from the PlayStation Store, no Adrenaline.

- Use any PSP DLC Content (EDATs) without a license

- Use PocketStation functionality with PSX games that support it.
note: requires "PocketStation App" to be installed.

- Start PspEmu content without NpDrm activation


# Installation:
The plugin consists of two parts; a kernel plugin and a user plugin;
both need to be installed for it to work correctly;

the config.txt entries you need are:

```
*KERNEL
ur0:/tai/NoPspEmuDrm_kern.skprx
*ALL
ur0:/tai/NoPspEmuDrm_user.suprx
```

# Installation of PSP Games:
Copy digital EBOOT.PBP to PSP/GAME folder to ux0:/pspemu/PSP/GAME

( if you use pkgj version v0.55 you need to add `install_psp_as_pbp 1` to the config.txt )
( if you use nps browser with PKG2ZIP v2.3 or older; you need to add `-p` argument to the pkg2zip parameters )

--
Currently, neither VitaShell or PKGJ support "Promoting" PSP games
However i have a fork of VitaShell that adds this in:
https://github.com/KuromeSan/VitaShell/releases
and on the main screen click triangle, press "refresh livearea"

--
I also got background downloading working; using our original bgdl proof of concept;
https://github.com/KuromeSan/bgdl_nopspemudrm_poc
So PKGJ support for it should be availible soon


# Credits:

Li - Main dev; wrote all plugin code (except crypto/), Being transgender

Hykem - kirk_engine, used to "emulate" alot of the KIRK security co-processor functions from the PSP.

SquallATF - Wrote alot of the Chovy-Sign2/PspCrypto code that this is heavily based on; Also helped with EDAT.

TheFlow - Original NoNpDrm code- NoPspEmuDrm_kern is fork of NoNpDrm.
and for the original Adrenaline v3.00, which i think i copied like 1 function from
which was for reading/writing to PspEmu memory,
# NoPspEmuDrm:

A plugin to bypass all PSPEmu DRM Checks,
so you can play digital PSP or PS1 game backups; or of course- games you legitimately own but on another PSN Account

Defintely do not use this for piracy that would be bad mmkay?

Okay, now that message to keep the lawyers happy is out of the way --

Features:

- Play any PSP, PSX, NeoGeo, PC Engine or TurboGrafix16 contents without a license
-- Directly from the livearea, as if you got it from the PlayStation Store, no Adrenaline.

- Use any PSP DLC Content (EDATs) without a license

- Use PocketStation functionality with PSX games that support it.
note: requires "PocketStation App" to be installed.

- Start PspEmu content without NpDrm activation


# Installation:
The plugin consists of two parts; a kernel plugin and a user plugin;
both need to be installed for it to work correctly;

the config.txt entries you need are:

```
*KERNEL
ur0:/tai/NoPspEmuDrm_kern.skprx
*ALL
ur0:/tai/NoPspEmuDrm_user.suprx
```

# Installation of PSP Games:
Copy digital EBOOT.PBP to PSP/GAME folder to ux0:/pspemu/PSP/GAME

( if you use pkgj version v0.55 you need to add `install_psp_as_pbp 1` to the config.txt )
( if you use nps browser with PKG2ZIP v2.3 or older; you need to add `-p` argument to the pkg2zip parameters )

--
Currently, neither VitaShell or PKGJ support "Promoting" PSP games

However i have a fork of VitaShell that adds this in:

https://github.com/KuromeSan/VitaShell/releases

and on the main screen click triangle, press "refresh livearea"

--
I also got background downloading working; using our original bgdl proof of concept;

https://github.com/KuromeSan/bgdl_nopspemudrm_poc

So PKGJ support for it should be availible soon


# Credits:

Li - Main dev; wrote all plugin code (except crypto/), Being transgender

Hykem - kirk_engine, used to "emulate" alot of the KIRK security co-processor functions from the PSP.

SquallATF - Wrote alot of the Chovy-Sign2/PspCrypto code that this is heavily based on; Also helped with EDAT.

TheFlow - Original NoNpDrm code- NoPspEmuDrm_kern is fork of NoNpDrm.
and for the original Adrenaline v3.00, which i think i copied like 1 function from
which was for reading/writing to PspEmu memory,
56 changes: 28 additions & 28 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
#!/bin/bash

cd user
mkdir build
cd build
cmake .. && make

retVal=$?
if [ $retVal -ne 0 ]; then
echo "Build Failed.";
exit;
fi;

cd ../..
cd kern
mkdir build
cd build
cmake .. && make

retVal=$?
if [ $retVal -ne 0 ]; then
echo "Build Failed.";
exit;
fi;

cd ../..

mv user/build/NoPspEmuDrm_user.suprx ./NoPspEmuDrm_user.suprx
#!/bin/bash

cd user
mkdir build
cd build
cmake .. && make

retVal=$?
if [ $retVal -ne 0 ]; then
echo "Build Failed.";
exit;
fi;

cd ../..
cd kern
mkdir build
cd build
cmake .. && make

retVal=$?
if [ $retVal -ne 0 ]; then
echo "Build Failed.";
exit;
fi;

cd ../..

mv user/build/NoPspEmuDrm_user.suprx ./NoPspEmuDrm_user.suprx
mv kern/build/NoPspEmuDrm_kern.skprx ./NoPspEmuDrm_kern.skprx
116 changes: 58 additions & 58 deletions user/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
cmake_minimum_required(VERSION 2.8)

if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if(DEFINED ENV{VITASDK})
set(CMAKE_TOOLCHAIN_FILE "$ENV{VITASDK}/share/vita.toolchain.cmake" CACHE PATH "toolchain file")
else()
message(FATAL_ERROR "Please define VITASDK to point to your SDK path!")
endif()
endif()

project(NoPspEmuDrm_user)
include("${VITASDK}/share/vita.cmake" REQUIRED)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-q -O3 -std=gnu99")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-rtti -fno-exceptions")


add_executable(NoPspEmuDrm_user
crypto/aes.c
crypto/amctrl.c
crypto/bn.c
crypto/ec.c
crypto/kirk_engine.c
crypto/sha1.c

PspEmu.c
SceShell.c

PspNpDrm.c
Crypto.c
Io.c
Pbp.c
Main.c
)

target_link_libraries(NoPspEmuDrm_user
taiHEN_stub
SceLibKernel_stub
SceCompat_stub
SceLibc_stub_weak
SceNpDrm_stub
SceRegistryMgr_stub
SceAppMgr_stub
SceDisplay_stub
SceIofilemgr_stub
SceKernelModulemgr_stub
SceRtc_stub
SceVshBridge_stub
)



set_target_properties(NoPspEmuDrm_user
PROPERTIES LINK_FLAGS "-nostdlib"
)

vita_create_self(NoPspEmuDrm_user.suprx NoPspEmuDrm_user CONFIG exports.yml UNSAFE)
vita_create_stubs(stubs NoPspEmuDrm_user ${CMAKE_SOURCE_DIR}/exports.yml)
cmake_minimum_required(VERSION 2.8)

if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if(DEFINED ENV{VITASDK})
set(CMAKE_TOOLCHAIN_FILE "$ENV{VITASDK}/share/vita.toolchain.cmake" CACHE PATH "toolchain file")
else()
message(FATAL_ERROR "Please define VITASDK to point to your SDK path!")
endif()
endif()

project(NoPspEmuDrm_user)
include("${VITASDK}/share/vita.cmake" REQUIRED)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-q -O3 -std=gnu99")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-rtti -fno-exceptions")


add_executable(NoPspEmuDrm_user
crypto/aes.c
crypto/amctrl.c
crypto/bn.c
crypto/ec.c
crypto/kirk_engine.c
crypto/sha1.c

PspEmu.c
SceShell.c

PspNpDrm.c
Crypto.c
Io.c
Pbp.c
Main.c
)

target_link_libraries(NoPspEmuDrm_user
taiHEN_stub
SceLibKernel_stub
SceCompat_stub
SceLibc_stub_weak
SceNpDrm_stub
SceRegistryMgr_stub
SceAppMgr_stub
SceDisplay_stub
SceIofilemgr_stub
SceKernelModulemgr_stub
SceRtc_stub
SceVshBridge_stub
)



set_target_properties(NoPspEmuDrm_user
PROPERTIES LINK_FLAGS "-nostdlib"
)

vita_create_self(NoPspEmuDrm_user.suprx NoPspEmuDrm_user CONFIG exports.yml UNSAFE)
vita_create_stubs(stubs NoPspEmuDrm_user ${CMAKE_SOURCE_DIR}/exports.yml)
Loading

0 comments on commit 578ebbd

Please sign in to comment.