Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devilutionx fix #48

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c3c1b3b
Add Homebrew and ux0:data migration support
SonicMastr Apr 15, 2021
deb5e9b
Add Homebrew and ux0:data migration support
SonicMastr Apr 15, 2021
0c6c566
Update Wiki links
SonicMastr Apr 15, 2021
2aa7198
Update README
SonicMastr Apr 15, 2021
9f17fda
Make the README more 'readable'. Maybe. Who knows
SonicMastr Apr 15, 2021
cc699e6
Update README.md
SonicMastr Apr 15, 2021
d8283ec
Update README.md
SonicMastr Apr 15, 2021
7772f78
Fixed Unsafe Homebrew not working (GTA SA Fix)
SonicMastr Apr 16, 2021
9cf7103
Merge branch 'master' of https://github.com/SonicMastr/rePatch-reLoaded
SonicMastr Apr 16, 2021
b9aa7d5
Update Versioning
SonicMastr Apr 16, 2021
492ed1b
Improve Unsafe Homebrew detection / ur0 support
SonicMastr Apr 17, 2021
3568bb1
This is going to kill me if I don't fix it
SonicMastr Apr 17, 2021
3e57a45
Yeah. I hate Spaces
SonicMastr Apr 17, 2021
177b03c
3.55-3.73 support
Yoti Apr 20, 2021
bfa36fd
Fixed Directory Stat Support
SonicMastr May 17, 2021
d9c9897
Merge pull request #1 from Yoti/master
SonicMastr May 18, 2021
ffb5d6b
Set default offset to 3.68 firmware
SonicMastr May 18, 2021
58b8150
Revert That. I'm dumb
SonicMastr May 18, 2021
c38fc95
Fix Homebrew Resulting in a complete System Reboot
SonicMastr May 24, 2021
a9fa064
Merge branch 'master' of https://github.com/SonicMastr/rePatch-reLoaded
SonicMastr May 24, 2021
2954101
Version 2.0 (Add back Game Cart support)
SonicMastr May 12, 2023
7e6af38
Fix Writing Saves to the Old Location
SonicMastr Apr 24, 2024
70e87de
Update Version
SonicMastr Apr 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ modules.order
Module.symvers
Mkfile.old
dkms.conf
/build
/.vscode
46 changes: 27 additions & 19 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.19)

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()
set(CMAKE_TOOLCHAIN_FILE "$ENV{SCE_PSP2_SDK_DIR}/host_tools/build/cmake/psp2-snc-toolchain.cmake")

project(repatch)
include("$ENV{VITASDK}/share/vita.cmake" REQUIRED)
project(repatch_ex)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-q -Wall -O3 -std=gnu99")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -nostdlib")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-rtti -fno-exceptions")
include(VitaDevelopmentSuite)
enable_language(EMD)
set(CMAKE_C_STANDARD 99)

add_compile_options(
-Xdiag=0 -Xquit=2
)

add_link_options(
--prx-no-runtime-support
--strip-unused-data
--strip-duplicates
--strip-report=strip-report.txt
)

include_directories(
${VDSUITE_KERNEL_INCLUDE_DIRECTORIES}
${PSP2_SNC_STANDARD_INCLUDE_DIRECTORIES}
)

link_directories(
${CMAKE_CURRENT_BINARY_DIR}
${VDSUITE_LIBRARY_DIRECTORIES}
)

add_executable(${PROJECT_NAME}
add_library(${PROJECT_NAME} MODULE
repatch.c
repatch_ex.emd
)

target_link_libraries(${PROJECT_NAME}
Expand All @@ -34,7 +44,5 @@ target_link_libraries(${PROJECT_NAME}
SceSysrootForKernel_stub
SceSblACMgrForDriver_stub
)
vita_create_self(${PROJECT_NAME}.skprx ${PROJECT_NAME}
UNSAFE
CONFIG ${CMAKE_SOURCE_DIR}/exports.yml
)

VDSuiteSignElf(${PROJECT_NAME}.skprx ${PROJECT_NAME} COMPRESS ON STRIP ON)
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# rePatch reDux0:
# rePatch reLoaded:

### Modification of rePatch that adds Homebrew app0: and ux0:/data migration to other partitions, allowing you to play games with data on different storage.


### ioplus may be required


This plugin serves as a substitute for the patch folder when an existing update is present on official cartridges or other encrypted formats. It also has the benefit of loading decrypted content on 3.60+.

**To clarify: this plugin works on 3.60-3.68 on NoNpDrm, official cartridges, and officially downloaded games.**

Note: Be wary of using a Vitamin dumped(or similar) eboot, it will be affected by save issues.

## INSTALL INSTRUCTIONS: https://github.com/dots-tb/rePatch-reDux0/wiki/
**For DLC examples check out: https://github.com/dots-tb/rePatch-reDux0/wiki/DLC-Examples**
### INSTALL INSTRUCTIONS: https://github.com/dots-tb/rePatch-reDux0/wiki/
### For DLC examples check out: https://github.com/dots-tb/rePatch-reDux0/wiki/DLC-Examples
### For the new ux0:data migration examples check : https://github.com/SonicMastr/rePatch-reLoaded/wiki

## More in-depth information on modding by Radziu: https://github.com/TheRadziu/NoNpDRM-modding/wiki
This includes newly added DLC and traditional modding.
Expand All @@ -18,6 +25,8 @@ This includes newly added DLC and traditional modding.
Eboot.bin patching added based off: https://github.com/GabyPCgeeK/rePatch

Developed by @dots_tb & @CelesteBlue123 SilicaAndPina
Homebrew Support and Data patches by @BigBlackOniiSan

https://twitter.com/CelesteBlue123
https://twitter.com/dots_tb
https://twitter.com/BigBlackOniiSan
Loading