Skip to content

Commit

Permalink
It's not only language patcher, so, rename it is
Browse files Browse the repository at this point in the history
  • Loading branch information
playday3008 committed May 3, 2024
1 parent d0ceb4b commit 9d36907
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.20)

project(ACRogueLangPatcher C CXX)
project(ACRoguePatcher C CXX)

set(SRC_DIR "${PROJECT_SOURCE_DIR}/src")

Expand All @@ -19,28 +19,28 @@ file(GLOB_RECURSE SRC_MAIN
"${SRC_DIR}/**.def"
)

add_library(ACRogueLangPatcher MODULE "${SRC_MAIN}")
add_library(ACRoguePatcher MODULE "${SRC_MAIN}")

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set_property(TARGET ACRogueLangPatcher PROPERTY CXX_STANDARD 23)
set_property(TARGET ACRogueLangPatcher PROPERTY CXX_STANDARD_REQUIRED ON)
set_property(TARGET ACRogueLangPatcher PROPERTY CXX_EXTENSIONS OFF)
set_property(TARGET ACRoguePatcher PROPERTY CXX_STANDARD 23)
set_property(TARGET ACRoguePatcher PROPERTY CXX_STANDARD_REQUIRED ON)
set_property(TARGET ACRoguePatcher PROPERTY CXX_EXTENSIONS OFF)

if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
target_compile_options(ACRogueLangPatcher PRIVATE "-masm=intel")
target_compile_options(ACRoguePatcher PRIVATE "-masm=intel")
endif()

source_group(TREE ${SRC_DIR} PREFIX "src" FILES ${SRC_MAIN})

target_include_directories(ACRogueLangPatcher PRIVATE
target_include_directories(ACRoguePatcher PRIVATE
"${SRC_DIR}"
"${injector_SOURCE_DIR}/safetyhook"
"${injector_SOURCE_DIR}/include"
"${hooking_SOURCE_DIR}"
"${mini_SOURCE_DIR}/src"
)

target_link_libraries(ACRogueLangPatcher PRIVATE injector hooking)
target_link_libraries(ACRoguePatcher PRIVATE injector hooking)

# Generate a JSON compilation database
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# AC Rogue Language Patcher
# AC Rogue Patch

## Description / Theory

### tl;dr

Patch for the AC: Rogue to force change the language of the game.
Patch for the AC: Rogue to force change the language of the game, and remove black bars on non 16:9 resolutions.

### Theory

Expand Down Expand Up @@ -68,7 +68,7 @@ As we can see, game can report 6 different game ids, but probably you only own o
## Usage / Installation
Just take `ACRogueLangPatcher.dll`, rename it to `version.dll`, then copy it and `patch_config.ini` to the game directory. Change `Region` field in the `patch_config.ini` to the desired region.
Just take `ACRoguePatcher.dll`, rename it to `version.dll`, then copy it and `patch_config.ini` to the game directory. Change `Region` field in the `patch_config.ini` to the desired region.
Also you can use `loc-lang-gen.exe`, to enable/disable particular localization. Just load `localization.lang` change stuff and save it.
Expand Down

0 comments on commit 9d36907

Please sign in to comment.