crwn1337 / wine_injector Goto Github PK
View Code? Open in Web Editor NEWan injector that works with wine
an injector that works with wine
Hello! I've been trying to use wine_injector, and I've stumbled across an issue which has prevented me from injecting DLLs into a process, CreateRemoteThread seems to reliably fail every time I try to use it, This is how I am launching wine_injector
WINEDEBUG=-all LANG=ja_JP.utf8 wine ../../wine_injector/wine_injector.exe /home/wearr/Documents/Coding/wine_injector/inject.dll /home/wearr/Documents/Coding/touhou_6_reverse_engineering/game/th06.exe
and here is the example DLL I am using.
#include <windows.h>
BOOL APIENTRY DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
MessageBoxA(NULL, "Hello From The Injected DLL", "Injected !", MB_OK | MB_ICONINFORMATION);
break;
case DLL_THREAD_ATTACH:
MessageBoxA(NULL, "Hello From The Injected DLL", "Injected !", MB_OK | MB_ICONINFORMATION);
break;
case DLL_THREAD_DETACH:
MessageBoxA(NULL, "Hello Again From The Injected DLL", "Injected !", MB_OK | MB_ICONINFORMATION);
break;
case DLL_PROCESS_DETACH:
MessageBoxA(NULL, "Hello Again From The Injected DLL", "Injected !", MB_OK | MB_ICONINFORMATION);
break;
}
return TRUE;
}
Thank you for reading! The DLL seems valid, and the games are obviously running in the same wineprefix, so I'm not sure why it's failing.
i won't say the name of the game since they are really active on tracing back modders.
i'm attempting to inject a dll i got from https://github.com/kindawindytoday/Minty-Releases
i use this command and wait for the game to start to press enter:
c:\Program Files\------ --------\G------ ------- game>wine_injector.exe minty.dll G----------ct.exe
but i get this backtrace.txt
i have also opened an issue on their discord but... yeah they are slow
https://discord.gg/kindawindytoday
https://discord.com/channels/1062311282558107719/1211357806389760030
thanks for the program, if you need any info i can provide them
i get this error after trying cmake --build .
every other step worked completely fine.
gmake[2]: x86_64-w64-mingw32-gcc: No such file or directory
gmake[2]: *** [CMakeFiles/wine_injector.dir/build.make:76: CMakeFiles/wine_injector.dir/main.c.o] Error 127
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/wine_injector.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.