Code Monkey home page Code Monkey logo

wine_injector's People

Contributors

casept avatar crwn1337 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wine_injector's Issues

CreateRemoteThread failed, DLL failing to inject into game executable at last possible moment.

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.

error when injecting modding dll inside a known chinese gacha game

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

failed on last step

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.