mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-25 20:54:15 +08:00
issues/30
This commit is contained in:
parent
d6fafd58fe
commit
17d0a7a84c
@ -4,7 +4,7 @@ if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
|
|||||||
set(enginepath "engine64")
|
set(enginepath "engine64")
|
||||||
set(collector "enginecollection64.cpp")
|
set(collector "enginecollection64.cpp")
|
||||||
else()
|
else()
|
||||||
set(enginessrc CisLugI tamasoft FrontWing solfasys Diskdream splushwave ransel akatombo GASTRO GSX Aksys ScrPlayer SYSD KISS IGScript Jellyfish BKEngine Overflow SRPGStudio Suika2 FVP LCScript Ohgetsu RPGMakerRGSS3 ONScripterru OVERDRIVE HXP Palette Purple Ruf RUNE Tarte Tomato Sakuradog Troy VitaminSoft Unknown TSSystem Xbangbang Anisetta Nijyuei Interheart LovaGame Giga Jisatu101 lua51 EntisGLS Ciel ACTGS TerraLunar PPSSPP jukujojidai PCSX2 VanillawareGC cef V8 mono pchooks PONScripter Bishop sakanagl Renpy Lightvn KiriKiri SideB BGI Bootup morning shyakunage Regista NNNConfig Eushully Majiro littlecheese Elf Silkys CMVS Wolf Circus1 Circus2 Cotopha Artemis CatSystem Atelier Tenco QLIE Pal AIL2 NeXAS LunaSoft Unicorn Rejet Interlude AdobeAir Retouch Malie Live Nexton Lucifen Waffle TinkerBell SystemAoi Yuris Nitroplus2 Bruns EME RRE Candy Speed ApricoT Triangle AB2Try MBLMED GameMaker DxLib CodeX Minori Sprite RpgmXP Eagls Debonosu C4 WillPlus Tanuki GXP AOS Mink YukaSystem2 sakusesu Exp Syuntada Pensil Anim hibiki Nitroplus Reallive Siglus Taskforce2 RUGP IronGameSystem Anex86 ShinyDaysGame MarineHeart ShinaRio CaramelBox UnisonShift Escude Ryokucha Alice Footy2 utawarerumono System4x Abalone Abel 5pb HorkEye XUSE Leaf Nekopack AXL AGS AdobeFlash10 FocasLens Tamamo Ages3ResT)
|
set(enginessrc mirage CisLugI tamasoft FrontWing solfasys Diskdream splushwave ransel akatombo GASTRO GSX Aksys ScrPlayer SYSD KISS IGScript Jellyfish BKEngine Overflow SRPGStudio Suika2 FVP LCScript Ohgetsu RPGMakerRGSS3 ONScripterru OVERDRIVE HXP Palette Purple Ruf RUNE Tarte Tomato Sakuradog Troy VitaminSoft Unknown TSSystem Xbangbang Anisetta Nijyuei Interheart LovaGame Giga Jisatu101 lua51 EntisGLS Ciel ACTGS TerraLunar PPSSPP jukujojidai PCSX2 VanillawareGC cef V8 mono pchooks PONScripter Bishop sakanagl Renpy Lightvn KiriKiri SideB BGI Bootup morning shyakunage Regista NNNConfig Eushully Majiro littlecheese Elf Silkys CMVS Wolf Circus1 Circus2 Cotopha Artemis CatSystem Atelier Tenco QLIE Pal AIL2 NeXAS LunaSoft Unicorn Rejet Interlude AdobeAir Retouch Malie Live Nexton Lucifen Waffle TinkerBell SystemAoi Yuris Nitroplus2 Bruns EME RRE Candy Speed ApricoT Triangle AB2Try MBLMED GameMaker DxLib CodeX Minori Sprite RpgmXP Eagls Debonosu C4 WillPlus Tanuki GXP AOS Mink YukaSystem2 sakusesu Exp Syuntada Pensil Anim hibiki Nitroplus Reallive Siglus Taskforce2 RUGP IronGameSystem Anex86 ShinyDaysGame MarineHeart ShinaRio CaramelBox UnisonShift Escude Ryokucha Alice Footy2 utawarerumono System4x Abalone Abel 5pb HorkEye XUSE Leaf Nekopack AXL AGS AdobeFlash10 FocasLens Tamamo Ages3ResT)
|
||||||
set(enginepath "engine32")
|
set(enginepath "engine32")
|
||||||
set(collector "enginecollection32.cpp")
|
set(collector "enginecollection32.cpp")
|
||||||
endif()
|
endif()
|
||||||
|
12
LunaHook/engine32/mirage.cpp
Normal file
12
LunaHook/engine32/mirage.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#include"mirage.h"
|
||||||
|
|
||||||
|
bool mirage::attach_function() {
|
||||||
|
//[031219][mirage] そこに海があって
|
||||||
|
ULONG addr = MemDbg::findCallerAddress((DWORD)TextOutA,0x90909090,processStartAddress,processStopAddress);
|
||||||
|
if (!addr) return false;
|
||||||
|
HookParam hp;
|
||||||
|
hp.address = addr+4;
|
||||||
|
hp.offset=get_stack(1);
|
||||||
|
hp.type = DATA_INDIRECT|USING_CHAR;
|
||||||
|
return NewHook(hp, "mirage");
|
||||||
|
}
|
17
LunaHook/engine32/mirage.h
Normal file
17
LunaHook/engine32/mirage.h
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
|
||||||
|
class mirage : public ENGINE
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
mirage()
|
||||||
|
{
|
||||||
|
|
||||||
|
check_by = CHECK_BY::FILE_ALL;
|
||||||
|
check_by_target = check_by_list{L"anim/anm.pk", L"misc/*.pk",// bg.pk,script.pk,chr.pk,thumb.pk,se.pk,grp.pk,system.px,eff.pk
|
||||||
|
L"movie/*.mj",
|
||||||
|
L"sound/*.pk",//env.pk,music.pk
|
||||||
|
L"voice/voice.pk"
|
||||||
|
};
|
||||||
|
};
|
||||||
|
bool attach_function();
|
||||||
|
};
|
@ -14,6 +14,7 @@
|
|||||||
#include"engine32/FrontWing.h"
|
#include"engine32/FrontWing.h"
|
||||||
#include"engine32/GSX.h"
|
#include"engine32/GSX.h"
|
||||||
#include"engine32/pchooks.h"
|
#include"engine32/pchooks.h"
|
||||||
|
#include"engine32/mirage.h"
|
||||||
#include"engine32/Sprite.h"
|
#include"engine32/Sprite.h"
|
||||||
#include"engine32/PONScripter.h"
|
#include"engine32/PONScripter.h"
|
||||||
#include"engine32/Ruf.h"
|
#include"engine32/Ruf.h"
|
||||||
@ -324,7 +325,8 @@ std::vector<ENGINE*> check_engines(){
|
|||||||
new solfasys,
|
new solfasys,
|
||||||
new FrontWing,
|
new FrontWing,
|
||||||
new tamasoft,
|
new tamasoft,
|
||||||
new CisLugI
|
new CisLugI,
|
||||||
|
new mirage
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user