diff --git a/CMakeLists.txt b/CMakeLists.txt index ba1de9c..12bfcee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") @@ -19,20 +19,20 @@ 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" @@ -40,7 +40,7 @@ target_include_directories(ACRogueLangPatcher PRIVATE "${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) diff --git a/README.md b/README.md index c911e79..d89cefb 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.