From 779691b61a8baf5d15e77a85353934f206f7258f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Thu, 25 Apr 2024 00:01:45 +0800 Subject: [PATCH] issues/19 --- .github/ISSUE_TEMPLATE/01_game_request.yaml | 2 +- LunaHook/engine32/solfasys.h | 33 +++++++++++++++++++-- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01_game_request.yaml b/.github/ISSUE_TEMPLATE/01_game_request.yaml index bce141d..fd3b783 100644 --- a/.github/ISSUE_TEMPLATE/01_game_request.yaml +++ b/.github/ISSUE_TEMPLATE/01_game_request.yaml @@ -9,7 +9,7 @@ labels: enhancement body: - type: input attributes: - label: vndb id + label: vndb link/id - type: textarea attributes: label: Game resource 游戏资源 diff --git a/LunaHook/engine32/solfasys.h b/LunaHook/engine32/solfasys.h index 46ac1e5..1f42dae 100644 --- a/LunaHook/engine32/solfasys.h +++ b/LunaHook/engine32/solfasys.h @@ -25,12 +25,41 @@ } } */ + +//https://vndb.org/v5175 +//ななちゃんといっしょ + +/* +{ + BLOCK "StringFileInfo" + { + BLOCK "041104b0" + { + VALUE "Comments", "Solfa Standard Novel System(Based on STUDIO SELDOM Adventure System Version 5.20/(c)AKIYAMA Kouhei)" + VALUE "CompanyName", "sol-fa-soft" + VALUE "FileDescription", "solfasys" + VALUE "FileVersion", "1, 0, 0, 0" + VALUE "InternalName", "solfasys" + VALUE "LegalCopyright", "sol-fa-soft" + VALUE "OriginalFilename", "solfasys.exe" + VALUE "ProductName", "solfasys" + VALUE "ProductVersion", "1, 0, 0, 0" + } + } + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x411, 1200 + } +} +*/ class solfasys:public ENGINE{ public: solfasys(){ - check_by=CHECK_BY::RESOURCE_STR; - check_by_target=L"Solfa Novel System"; + check_by=CHECK_BY::CUSTOM; + check_by_target=[](){ + return Util::SearchResourceString(L"Solfa Novel System")||Util::SearchResourceString(L"Solfa Standard Novel System"); + }; is_engine_certain=false; }; bool attach_function();