This commit is contained in:
恍兮惚兮 2024-05-06 23:30:27 +08:00
parent 5067397fc4
commit 6a43cd5b86
251 changed files with 241 additions and 332 deletions

View File

@ -25,6 +25,12 @@ set(texthook_src
hijackfuns.cc
veh_hook.cpp
)
add_library(pchhook pchhook.cpp)
target_precompile_headers(pchhook PUBLIC pchhook.h)
add_subdirectory(util)
add_subdirectory(engines)
@ -41,7 +47,7 @@ generate_product_version(
add_library(LunaHook MODULE ${texthook_src} resource.rc ${versioninfohook})
target_precompile_headers(LunaHook REUSE_FROM pch)
target_precompile_headers(LunaHook REUSE_FROM pchhook)
set_target_properties(LunaHook PROPERTIES OUTPUT_NAME "LunaHook${bitappendix}")

View File

@ -1,4 +1,3 @@
#include"engine.h"
class NoEngine:public ENGINE{
public:
bool attach_function(){

View File

@ -1,11 +1,3 @@
#include"embed_util.h"
#include"MinHook.h"
#include"stringutils.h"
#include"main.h"
#include"detours.h"
#include"hijackfuns.h"
#include"stringfilters.h"
#include"util.h"
DynamicShiftJISCodec *dynamiccodec=new DynamicShiftJISCodec(932);

View File

@ -1,6 +1,5 @@
#ifndef __LUNA_EMBED_ENGINE_H
#define __LUNA_EMBED_ENGINE_H
#include"dyncodec/dynsjiscodec.h"
extern EmbedSharedMem *embedsharedmem;
extern DynamicShiftJISCodec *dynamiccodec ;

View File

@ -1,14 +1,6 @@
#ifndef __LUNA_ENGINE_H
#define __LUNA_ENGINE_H
#include"stackoffset.hpp"
#include"stringutils.h"
#include"stringfilters.h"
#include "util/util.h"
#include "ithsys/ithsys.h"
#include"pchooks/pchooks.h"
#include "disasm/disasm.h"
#include"main.h"
extern WCHAR* processName, processPath[MAX_PATH],processName_lower[MAX_PATH]; // cached
extern uintptr_t processStartAddress, processStopAddress;

View File

@ -1,4 +1,4 @@
#include"engine.h"
class _5pb:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class AB2Try:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class ACTGS:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class AGS:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class AIL2:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class AOS:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class AXL:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Abalone:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Abel:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class AdobeAir:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class AdobeFlash10:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Ages3ResT:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Aksys:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Alice:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Anex86:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Anim:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Anisetta:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class ApricoT:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Artemis:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Atelier:public ENGINE{
public:

View File

@ -1,5 +1,4 @@
#include"BGI.h"
#include"embed_util.h"
/********************************************************************************************
BGI hook:
Usually game folder contains BGI.*. After first run BGI.gdb appears.

View File

@ -1,4 +1,4 @@
#include"engine.h"
class BGI:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class BKEngine:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Bishop:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Bootup:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Bruns:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class C4:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class CMVS:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Candy:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class CaramelBox:public ENGINE{
public:

View File

@ -1,6 +1,4 @@
#include"CatSystem.h"
#include"embed_util.h"
#include"dyncodec/dynsjis.h"
// jichi 5/10/2014
// See also: http://bbs.sumisora.org/read.php?tid=11044704&fpage=2
//

View File

@ -1,4 +1,4 @@
#include"engine.h"
class CatSystem:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Ciel:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Circus1:public ENGINE{
public:

View File

@ -1,5 +1,4 @@
#include"Circus2.h"
#include"embed_util.h"
namespace{
bool filter(void* data, size_t* len, HookParam* hp){
if (strstr((char*)data,"@i")||strstr((char*)data,"@y"))return false;

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Circus2:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class CodeX:public ENGINE{
public:

View File

@ -1,5 +1,4 @@
#include"Cotopha.h"
#include"embed_util.h"
#define s2_mov_ecx_edi 0xcf8b
namespace { // unnamed

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Cotopha:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Debonosu:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Diskdream:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class DxLib:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class EME:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Eagls:public ENGINE{
public:

View File

@ -174,7 +174,6 @@ namespace{
return false;
}
}
#include"embed_util.h"
namespace { // unnamed
namespace ScenarioHook {
namespace Private {

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Elf:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class EntisGLS:public ENGINE{
public:

View File

@ -1,5 +1,4 @@
#include"Escude.h"
#include"embed_util.h"
/** jichi 7/23/2015 Escude
* Sample game: Re;Lord <EFBFBD><EFBFBD><EFBFBD><EFBFBD> * See: http://capita.tistory.com/m/post/210
*

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Escude:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Eushully:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Exp:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine32/FVP.h"
#include"FVP.h"
namespace { // unnamed
namespace ScenarioHook {

View File

@ -1,4 +1,4 @@
#include"engine.h"
class FVP:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class FocasLens:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Footy2:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
//https://vndb.org/v760
//魔界天使ジブリール
/*

View File

@ -1,4 +1,4 @@
#include"engine.h"
class GASTRO:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class GSX:public ENGINE{
public:

View File

@ -312,7 +312,6 @@ bool InsertGXPHook()
ok = InsertGXP2Hook() || ok;
return ok;
}
#include"util/textunion.h"
namespace { // unnamed
ULONG moduleBaseAddress_; // saved only for debugging purposes

View File

@ -1,4 +1,4 @@
#include"engine.h"
class GXP:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class GameMaker:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Giga:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class HXP:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class HorkEye:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class IGScript:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Interheart:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Interlude:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class IronGameSystem:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Jellyfish:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Jisatu101:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class KISS:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class KiriKiri:public ENGINE{
public:

View File

@ -1,7 +1,4 @@
#include"LCScript.h"
#include"embed_util.h"
#include"dyncodec/dynsjis.h"
#include"detours.h"
namespace { // unnamed
namespace ScenarioHook {
namespace Private {

View File

@ -1,4 +1,4 @@
#include"engine.h"
#define LCSE_0 "[0]" // pseudo separator
#define LCSE_0W L"[0]" // pseudo separator

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Leaf:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Lightvn:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Live:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class LovaGame:public ENGINE{
public:
LovaGame(){

View File

@ -1,5 +1,4 @@
#include"LunaSoft.h"
#include"embed_util.h"
/** jichi 12/27/2014 LunaSoft
* Sample game: [141226] [LunaSoft] -- /hsn8@46C5EF
*

View File

@ -1,4 +1,4 @@
#include"engine.h"
class LunaSoft:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class MBLMED:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Majiro:public ENGINE{
public:

View File

@ -1,5 +1,4 @@
#include"Malie.h"
#include"embed_util.h"
namespace { // unnamed Malie
/********************************************************************************************
Malie hook:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Malie:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class MarineHeart:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Mink:public ENGINE{
public:

View File

@ -1,5 +1,4 @@
#include"Minori.h"
#include"util/textunion.h"
bool Minori1EngFilter(LPVOID data, size_t* size, HookParam*)

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Minori:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class NNNConfig:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class NeXAS:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Nekopack:public ENGINE{
public:

View File

@ -1,5 +1,4 @@
#include"Nexton.h"
#include"embed_util.h"
/**
* jichi 9/5/2013: NEXTON games with aInfo.db
* Sample games:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Nexton:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Nijyuei:public ENGINE{
public:

View File

@ -1,4 +1,4 @@
#include"engine.h"
class Nitroplus:public ENGINE{
public:

Some files were not shown because too many files have changed in this diff Show More