Skip to content

Instantly share code, notes, and snippets.

@Hazsi
Last active April 26, 2024 11:34
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hazsi/2448016c5d561a556661d9af0a82fa20 to your computer and use it in GitHub Desktop.
Save Hazsi/2448016c5d561a556661d9af0a82fa20 to your computer and use it in GitHub Desktop.
Guide to using Vape V4 on Linux/macOS under Wine.

Hello there! 👋

Despite the fact that many people on the forums have said it isn't possible, using the latest version of Vape V4 on Linux via Wine is very much possible, and I was able to do it in under an hour of trial and error. I'm using Pop OS, but you can likely get it to work with any version of Linux (and potentially macOS, although I haven't tried).

Of course, this is obviously not supported. If this doesn't work for you, I can try my best to help, but obviously Manthe/Vape support will not help you at all. Please do not bother them with this. Some features may be broken; I'm personally struggling to get profile saving to work correctly (I'm not sure why)

If you're looking for a crack or anything like that, you won't find that here. You obviously need to own Vape for this to work.

1. Installing Wine.

First things first, you need to install Wine. If you don't know, Wine is a free and open source program that attempts to allow Windows software to run on UNIX like operating systems (Linux, macOS, BSD, etc).

Install Wine via your distributions package manager - mine is apt-get, but I'm assuming you'll know how to use yours.

# apt-get:
$ sudo apt-get install wine

# pacman:
$ sudo pacman -S wine

# brew (macOS):
$ brew tap homebrew/cask-versions
$ brew install --cask --no-quarantine wine-stable

Before going any further, we need to set up Wine to "emulate" Windows 10, not XP, by running winecfg.

You should see a window like this - select Windows 10 and close winecfg.

2. Installing a Windows JRE.

In order for the Vape launcher to detect Minecraft and be able to correctly attach to it and load its DLL/classes, we need to be running Minecraft itself via Wine. Before we can do this however, we need to have a Windows JRE installed.

I wasn't able to get the official JRE working, but had success using the Azul JRE (used by Lunar Client). I want to use Minecraft 1.8, so I will use Java 8. If you're trying to play on a newer version of Minecraft, you'll need a newer JRE.

Head on over to the Azul JRE download page. Scroll down and select your Java version (Java 8 if you want to only play Minecraft 1.7 or 1.8, this is also what I'm covering here). Select Windows as your operating system, x86 64-bit as your architecture, and JDK as your package. Make sure you download the zip, as I wasn't able to get the installer to run under Wine.

Where exactly we extract the JRE to doesn't matter, as we'll select it manually later. However, it needs to be in Wine's virtual C drive. Wine stores its virtual C drive at ~/.wine/drive_c. Let's make a Java directory in Program Files.

$ mkdir -p ~/.wine/drive_c/Program\ Files/Java

Now, we can extract our JRE and move it into our Wine's Java directory. The name of the file you downloaded might not be the same as mine, depending on region and your Java version. You should be able to simple start typing "zulu" and press tab. Replace all instances of my file name with your version.

$ cd ~/Downloads
$ unzip zulu8.68.0.21-ca-jre8.0.362-win_x64.zip
$ mv ./zulu8.68.0.21-ca-jre8.0.362-win_x64/ ~/.wine/drive_c/Program\ Files/Java/zulu8.68.0.21-ca-jre8.0.362-win_x64/

Assuming this all went to plan, we should now be able to test our new Java installation:

$ cd ~/.wine/drive_c/Program\ Files/Java/zulu8.68.0.21-ca-jre8.0.362-win_x64/
$ cd bin
$ wine ./javaw.exe -version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Zulu 8.68.0.21-CA-win64) (build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Zulu 8.68.0.21-CA-win64) (build 25.362-b09, mixed mode)

3. Installing Minecraft

We now have a working installation of Wine, and a Windows Java environment to run Minecraft under. Now, we just need to install Minecraft!

I'm going to be using MultiMC for this guide, as I wasn't able to get the official Minecraft launcher to run under Wine. I was able to get Lunar Client installed, but couldn't consistently get it running (I suspect Electron has some issues under Wine). If anyone reading this is able to get Lunar working, please let me know and I'll update the guide!

Head on over to the MultiMC website, scroll down to the Download & Installation section, and click on the Windows download button.

Unlike our JRE, we don't need to move this anywhere special. Simply extract it, and we can set it up with Wine.

$ cd ~/Downloads
$ extract mmc-develop-win32.zip
$ cd ./MultiMC
$ wine ./MultiMC.exe

After selecting your language, you'll be faced with a screen asking you to select a Java installation to run Minecraft under. We'll need to select our Azul installation from the last step, which probably won't be automatically detected. Click on browse, and we can navigate to where we extracted our JRE to. Select javaw.exe in the bin directory, like so:

Click on Open, and Next. Click on Finish, and you should be greeted with MultiMC's main screen. Congratulations! We now have a Minecraft launcher running under Wine! While this might not seem remarkable, remember that this is a native Windows program running under your UNIX-like OS!

Select the version you want to use (1.8.9 for this tutorial, remember that newer versions of Minecraft won't work with the JRE we're using!). Now, double click the Minecraft installation. After downloading the game, Minecraft should now open! Congratulations!

Remember, this is a separate installation of Minecraft. You'll need to set up your settings/keybindings again, and copy your resource packs and saves over. If you are unfamiliar with MultiMC, your.minecraft folder (and thus resource packs, saves, etc.) will be located at ~/Downloads/MultiMC/instances/1.8.9/.minecraft/.

3.1. Adding Optifine to Minecraft (optional)

In order to add Optifine to your Minecraft installation, run your new installation once normally first. Then, go to the Optifine Download page, click Show all versions, and download Minecraft 1.8.9 (or whatever Minecraft version you are using). Alternatively, you can access it directly here.

Let's run the Optifine JAR. We don't need to use our special Wine JRE for this, you can use whatever JRE you have installed.

$ cd ~/Downloads
$ java -jar OptiFine_1.8.9_HD_U_M5.jar 

Once the Optifine launcher opens, click on extract. Extract to your Downloads, or wherever you want. You can delete it after.

Now, go back into MultiMC. Right click on your installation from before and click on Edit Instance. Click on Version on the left, and then Add to Minecraft.jar. Navigate to the Optifine JAR we extracted. Make sure you select the jar ending in _MOD, NOT the original Optifine JAR you downloaded.

Launch Minecraft, and you should now have Optifine installed!

4. Preparing Vape

Before injecting Vape, we'll need to set our HWID. Head on over to the Vape HWID page, and download the exe. Run it using wine, just like we've done with every exe so far:

$ cd ~/Downloads
$ wine ./hwid.exe

This window should pop up, and your HWID should be copied. Just in case it doesn't copy, the title of the window displays your HWID as well.

From my testing, the HWID under Wine is always 0, but I haven't tested under macOS. Regardless, don't be alarmed by this. Go back to the HWID page, and paste in your newly created HWID.

Now, we're ready to go ​download Vape V4​​​. Just like before, we'll run it under Wine.

$ cd ~/Downloads
$ mv aNFvhZ9Ka1.exe VapeV4.exe # Whatever your Vape download was called
$ wine ./VapeV4.exe

If you are still having issues with crashing, try messing around with video settings and memory allocation. I've found more consistent results without mipmapping or VSync, as well as allocating a full 8GB to Minecraft in MultiMC.

NOTE TO I3WM USERS: If your Minecraft has no title (note how all the screenshots in this section have the ugly border!) you WILL CRASH ON INJECTION! This took me ages to figure out. Toggle F11 on and off (maybe repeatedly!), and you should manage to get these borders. This seems to be an i3/Wine bug. If you don't use i3, you should be able to ignore this.

5. Conclusion

That's it! When I first wanted to do this myself, I saw many people on the forums try to ask for help doing this, only to be told that it's impossible. As a few people were smart enough to point out, the Vape V4 launcher is protected using Themida, which is designed to make debugging/tampering with the injection process harder. People are falsely under the impression that Themida makes this process more difficult, or attempts to block Vape from running under a VM, which is false. The ability to do this isn't a security issues on Vape's end, and this isn't anything secret that I'm sharing.

image

Like I mentioned at the start, this is a janky process, and you may experience random crashes and issues while using Vape. However,on my own testing, I have been able to enable Blatant Mode and use all modules without crashing. This is perfectly safe, and you will not get your Vape account in trouble, nor is it any less safe on Hypixel or whatever you play on. (Be safe like always :P)

Let me know what you think! I hope this was able to help some of you!

Have a great day! 😄

@Trapczan
Copy link

wine64 ./javaw.exe -version
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
wine: failed to open "./javaw.exe": c0000135

@Trapczan
Copy link

Unhandled exception: page fault on read access to 0x0000000000000020 in 64-bit code (0x000001400244d2).
Register dump:
rip:00000001400244d2 rsp:000000000233fde0 rbp:0000000000000000 eflags:00000247 ( - -- I Z- -P-C)
rax:0000000000000000 rbx:0000000000000001 rcx:0000000000000000 rdx:000000014003f488
rsi:0000000000000000 rdi:0000000000000000 r8:0000000000000000 r9:000000000233fda0 r10:0000000000340330
r11:0000000000000000 r12:0000000000000000 r13:0000000000000000 r14:0000000000000000 r15:0000000000000000
Stack dump:
0x0000000233fde0: 0000000000000000 0000000000000000
0x0000000233fdf0: 0000000000000005 0000000000000005
0x0000000233fe00: 0000000000374dd0 000000014001a4ee
0x0000000233fe10: 0000000000000000 0000000000000000
0x0000000233fe20: 0000000000000000 0000000000000000
0x0000000233fe30: 0000000000000000 000000007b627fe9
0x0000000233fe40: 0000000000000000 0000000000000000
0x0000000233fe50: 0000000000000000 0000000000000000
0x0000000233fe60: 0000000000000000 000000017005d668
0x0000000233fe70: 0000000000000000 0000000000000000
0x0000000233fe80: 0000000000000000 0000000000000000
0x0000000233fe90: 0000000000000000 0000000000000000
Backtrace:
=>0 0x000001400244d2 in javaw (+0x244d2) (0000000000000000)
1 0x0000014001a4ee in javaw (+0x1a4ee) (0000000000000000)
2 0x0000007b627fe9 in kernel32 (+0x27fe9) (0000000000000000)
3 0x0000017005d668 in ntdll (+0x5d668) (0000000000000000)
0x000001400244d2 javaw+0x244d2: movq 0x00000000000020(%rax),%rcx
Modules:
Module Address Debug info Name (48 modules)
ELF 0000000000001000-0000000000005000 Deferred
PE 00000000000e3000-00000000000e8000 Deferred libwine.1.0.dylib
PE 0000000008000000-0000000008871000 Deferred jvm
ELF 0000000068900000-00000000689b1000 Deferred ntdll.so
PE 0000000068a54000-0000000068a60000 Deferred libbrotlidec.1.0.9.dylib
PE 0000000068a7c000-0000000068a90000 Deferred libz.1.2.13.dylib
PE 000000006aa00000-000000006aa15000 Deferred libbz2.1.0.8.dylib
PE 000000006aa33000-000000006aa55000 Deferred libbrotlicommon.1.0.9.dylib
PE 000000006aa8a000-000000006aab6000 Deferred libpng16.16.dylib
ELF 000000006ab3a000-000000006acc8000 Deferred win32u.so
ELF 000000006af93000-000000006af98000 Deferred dnsapi.so
PE 000000006afa6000-000000006b04d000 Deferred libfreetype.6.dylib
ELF 000000006ce5d000-000000006ce63000 Deferred ws2_32.so
ELF 000000006ceb5000-000000006cf36000 Deferred winemac.so
PE 000000007b000000-000000007b298000 Deferred kernelbase
PE 000000007b600000-000000007b65d000 Export kernel32
PE 000000007d400000-000000007d405000 Deferred wine64-preloader
PE 0000000140000000-0000000140051000 Export javaw
PE 0000000170000000-00000001700a1000 Export ntdll
PE 00000001d8c90000-00000001d8cd3000 Deferred advapi32
PE 00000001eaf60000-00000001eaf8b000 Deferred sechost
PE 0000000201210000-0000000201243000 Deferred winemac
PE 000000020b860000-000000020b985000 Deferred ole32
PE 00000002169d0000-0000000216b7c000 Deferred user32
PE 0000000228280000-000000022831b000 Deferred msvcrt
PE 000000025dc30000-000000025dc3e000 Deferred version
PE 00000002605d0000-00000002605e5000 Deferred vcruntime140
PE 0000000267930000-000000026793b000 Deferred psapi
PE 000000026c190000-000000026c19c000 Deferred nsi
PE 000000026c230000-000000026c267000 Deferred uxtheme
PE 00000002945e0000-00000002946a4000 Deferred winmm
PE 0000000296590000-00000002965a7000 Deferred dnsapi
PE 00000002bb0a0000-00000002bb120000 Deferred gdi32
PE 00000002c73a0000-00000002c73d9000 Deferred win32u
PE 00000002c7470000-00000002c7580000 Deferred ucrtbase
PE 00000002c85a0000-00000002c85b1000 Deferred wsock32
PE 00000002fb3c0000-00000002fb509000 Deferred comctl32
PE 00000002fba30000-00000002fba57000 Deferred concrt140
PE 000000031bef0000-000000031bf8b000 Deferred msvcp140
PE 000000031c5d0000-000000031c62d000 Deferred combase
PE 0000000351a60000-0000000351a80000 Deferred msacm32
PE 0000000368420000-00000003684ab000 Deferred rpcrt4
PE 0000000370f70000-0000000370f98000 Deferred ws2_32
PE 0000000393730000-000000039374a000 Deferred imm32
PE 00000003982d0000-0000000398306000 Deferred iphlpapi
PE 00007ff817117000-00007ff817153000 Deferred libsystem_kernel.dylib
PE 00007ff817151000-00007ff81715d000 Deferred libsystem_pthread.dylib
PE 00007ff817181000-00007ff81718d000 Deferred libsystem_platform.dylib
Threads:
process tid prio name (all IDs are in hex)
00000020 (D) C:\Program Files\Java\zulu8.70.0.23-ca-jre8.0.372-win_x64\bin\javaw.exe
00000024 0
00000100 0 <==
0000010c 0
00000038 services.exe
0000003c 0
00000040 0 wine_rpcrt4_server
0000004c 0 wine_rpcrt4_io
00000050 0 wine_threadpool_worker
00000070 0 wine_rpcrt4_io
000000a8 0 wine_rpcrt4_io
000000ac 0 wine_threadpool_worker
000000c4 0 wine_rpcrt4_io
000000dc 0 wine_rpcrt4_io
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0 wine_sechost_service
0000005c 0
00000060 0
00000064 0
000000d0 0
00000068 winedevice.exe
0000006c 0
0000007c 0
00000080 0 wine_sechost_service
00000084 0
00000088 0
0000008c 0
00000090 0
00000074 explorer.exe
00000078 0
00000094 0
000000a0 0 wine_rpcrt4_server
00000098 plugplay.exe
0000009c 0
000000b0 0
000000b4 0 wine_sechost_service
000000b8 0 wine_rpcrt4_server
000000bc svchost.exe
000000c0 0
000000c8 0
000000cc 0 wine_sechost_service
000000d4 rpcss.exe
000000d8 0
000000e0 0
000000e4 0 wine_sechost_service
000000e8 0 wine_rpcrt4_server
000000ec 0 wine_rpcrt4_server
000000f0 0 wine_rpcrt4_io
000000f4 0 wine_threadpool_worker
000000f8 conhost.exe
000000fc 0
System information:
Wine build: wine-8.0.1
Platform: x86_64
Version: Windows 10
Host system: Darwin
Host version: 22.4.0

@Trapczan
Copy link

how to solve it?

@ArisuSuzushima
Copy link

Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x0000017002c733).
Register dump:
 rip:000000017002c733 rsp:000000000021fc68 rbp:0000000000000000 eflags:00010212 (  R- --  I   -A- - )
 rax:0000000000000001 rbx:0000000067ff0000 rcx:0000000000000000 rdx:0000000000000000
 rsi:0000000067ff0000 rdi:0000000000000000  r8:0000000000000000  r9:0000000000001000 r10:00007ffc2c237170
 r11:ffff6804b55eddbc r12:0000000067ff0000 r13:0000000000000000 r14:0000000000000000 r15:0000000000000000
Stack dump:
0x0000000021fc68:  0000000000000000 0000000000000000
0x0000000021fc78:  0000000000000000 0000000000000000
0x0000000021fc88:  0000000000000000 0000000000000000
0x0000000021fc98:  0000000000000000 0000000000000000
0x0000000021fca8:  0000000000000000 0000000000000000
0x0000000021fcb8:  0000000000000000 0000000000000000
0x0000000021fcc8:  0000000000000000 0000000000000000
0x0000000021fcd8:  0000000000000000 0000000000000000
0x0000000021fce8:  0000000000000000 0000000000000000
0x0000000021fcf8:  0000000000000000 0000000000000000
0x0000000021fd08:  0000000000000000 0000000067ff0000
0x0000000021fd18:  0000000067ff0000 0000000000000000
Backtrace:
=>0 0x0000017002c733 in ntdll (+0x2c733) (0000000000000000)
  1 0x00000178014fe1 in kernel32 (+0x14fe1) (0000000000000000)
  2 0x00000140002684 in vape (+0x2684) (0000000000000000)
  3 0x0000017000e284 in ntdll (+0xe284) (0000000000000000)
  4 0x00000170063be3 in ntdll (+0x63be3) (0000000000000000)
  5 0x00000140002935 in vape (+0x2935) (0000000000000000)
0x0000017002c733 ntdll+0x2c733: movaps %xmm6, 0x90(%rsp)
Modules:
Module	Address					Debug info	Name (66 modules)
PE	000000007a800000-000000007a909000	Deferred        opengl32
ELF	000000007d000000-000000007d005000	Deferred        <wine-loader>
PE	0000000140000000-0000000141314000	Export          vape
PE	0000000170000000-00000001700a4000	Export          ntdll
PE	0000000174000000-000000017429b000	Deferred        kernelbase
PE	0000000178000000-000000017805e000	Export          kernel32
PE	00000001d0e20000-00000001d0f58000	Deferred        oleaut32
PE	00000001d8c90000-00000001d8cd3000	Deferred        advapi32
PE	00000001eaf60000-00000001eaf8a000	Deferred        sechost
PE	00000001efe00000-00000001efe4e000	Deferred        winhttp
PE	000000020b860000-000000020b981000	Deferred        ole32
PE	00000002169d0000-0000000216b7b000	Deferred        user32
PE	0000000228280000-000000022831c000	Deferred        msvcrt
PE	000000023bc00000-000000023c524000	Deferred        shell32
PE	000000025dc30000-000000025dc3e000	Deferred        version
PE	000000026c190000-000000026c19c000	Deferred        nsi
PE	0000000296590000-00000002965a7000	Deferred        dnsapi
PE	00000002a2380000-00000002a23db000	Deferred        shlwapi
PE	00000002bb0a0000-00000002bb122000	Deferred        gdi32
PE	00000002bde30000-00000002bde4a000	Deferred        shcore
PE	00000002c73a0000-00000002c73d8000	Deferred        win32u
PE	00000002c7470000-00000002c7538000	Deferred        ucrtbase
PE	00000002eb680000-00000002eb6a8000	Deferred        jsproxy
PE	00000002ee630000-00000002ee648000	Deferred        bcrypt
PE	00000002ef230000-00000002ef23e000	Deferred        dwmapi
PE	000000031c5d0000-000000031c62c000	Deferred        combase
PE	0000000368420000-00000003684ab000	Deferred        rpcrt4
PE	0000000370f70000-0000000370f98000	Deferred        ws2_32
PE	0000000393730000-000000039374f000	Deferred        imm32
PE	00000003982d0000-0000000398307000	Deferred        iphlpapi
ELF	00007f463a974000-00007f463a979000	Deferred        libpthread.so.0
ELF	00007f463a979000-00007f463a984000	Deferred        libffi.so.8
ELF	00007f463a984000-00007f463aa27000	Deferred        libgmp.so.10
ELF	00007f463aa27000-00007f463aa70000	Deferred        libhogweed.so.6
ELF	00007f463aa70000-00007f463aac8000	Deferred        libnettle.so.8
ELF	00007f463aac8000-00007f463aadf000	Deferred        libtasn1.so.6
ELF	00007f463aadf000-00007f463ac99000	Deferred        libunistring.so.5
ELF	00007f463ac99000-00007f463acbb000	Deferred        libidn2.so.0
ELF	00007f463acbb000-00007f463ad8e000	Deferred        libzstd.so.1
ELF	00007f463ad8e000-00007f463ae32000	Deferred        libbrotlienc.so.1
ELF	00007f463ae32000-00007f463af65000	Deferred        libp11-kit.so.0
ELF	00007f463af65000-00007f463b163000	Deferred        libgnutls.so.30
ELF	00007f463b179000-00007f463b18b000	Deferred        libresolv.so.2
ELF	00007f463b18b000-00007f463b190000	Deferred        dnsapi.so
ELF	00007f463b190000-00007f463b2c5000	Deferred        opengl32.so
ELF	00007f463b53f000-00007f463b56a000	Deferred        libexpat.so.1
ELF	00007f463b56a000-00007f463b5b9000	Deferred        libfontconfig.so.1
ELF	00007f463b5b9000-00007f463b654000	Deferred        libpcre2-8.so.0
ELF	00007f463b654000-00007f463b677000	Deferred        libbrotlicommon.so.1
ELF	00007f463b677000-00007f463b69a000	Deferred        libgraphite2.so.3
ELF	00007f463b69a000-00007f463b7e4000	Deferred        libglib-2.0.so.0
ELF	00007f463b7e4000-00007f463b7f2000	Deferred        libbrotlidec.so.1
ELF	00007f463b7f2000-00007f463b8ee000	Deferred        libharfbuzz.so.0
ELF	00007f463b8ee000-00007f463b927000	Deferred        libpng16.so.16
ELF	00007f463b927000-00007f463b93a000	Deferred        libbz2.so.1.0
ELF	00007f463b93a000-00007f463b954000	Deferred        libz.so.1
ELF	00007f463b954000-00007f463ba41000	Deferred        libm.so.6
ELF	00007f463ba41000-00007f463bc00000	Deferred        win32u.so
ELF	00007f463c5ef000-00007f463c5fa000	Deferred        bcrypt.so
ELF	00007f463c5fa000-00007f463c6d7000	Deferred        libfreetype.so.6
ELF	00007f463c6d7000-00007f463c70a000	Deferred        liblzma.so.5
ELF	00007f463c70a000-00007f463c723000	Deferred        libunwind.so.8
ELF	00007f463c723000-00007f463c7ec000	Dwarf           ntdll.so
ELF	00007f463c9df000-00007f463c9e4000	Deferred        libdl.so.2
ELF	00007f463c9e4000-00007f463c9eb000	Deferred        ws2_32.so
ELF	00007f463ca08000-00007f463ca3d000	Deferred        ld-linux-x86-64.so.2
Threads:
process  tid      prio    name (all IDs are in hex)
00000020 (D) Z:\home\nagato\vape.exe
	00000024    0 <== 
	00000110    0     
00000038 services.exe
	0000003c    0     
	00000040    0     wine_rpcrt4_server
	0000004c    0     wine_rpcrt4_io
	00000050    0     wine_threadpool_worker
	00000070    0     wine_rpcrt4_io
	000000a0    0     wine_rpcrt4_io
	000000b8    0     wine_rpcrt4_io
	000000c8    0     
	000000e0    0     wine_rpcrt4_io
	000000e4    0     wine_threadpool_worker
00000044 winedevice.exe
	00000048    0     
	00000054    0     
	00000058    0     wine_sechost_service
	0000005c    0     
	00000060    0     
	00000064    0     
	000000c4    0     
00000068 winedevice.exe
	0000006c    0     
	00000074    0     
	00000078    0     wine_sechost_service
	0000007c    0     
	00000088    0     
	0000008c    0     
	00000098    0     
	0000009c    0     
00000080 explorer.exe
	00000084    0     
	000000cc    0     
	000000d0    0     wine_rpcrt4_server
00000090 plugplay.exe
	00000094    0     
	000000a4    0     
	000000a8    0     wine_sechost_service
	000000ac    0     wine_rpcrt4_server
000000b0 svchost.exe
	000000b4    0     
	000000bc    0     
	000000c0    0     wine_sechost_service
000000d8 rpcss.exe
	000000dc    0     
	000000e8    0     
	000000ec    0     wine_sechost_service
	000000f0    0     wine_rpcrt4_server
	000000f4    0     wine_rpcrt4_server
	000000f8    0     wine_rpcrt4_io
	000000fc    0     wine_threadpool_worker
00000100 conhost.exe
	00000104    0     
System information:
    Wine build: wine-8.9
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 6.3.5-arch1-1

the problem occurs with the "movaps %xmm6, 0x90(%rsp)"
i suspect that it might be due to Wine not correctly implementing certain win32api, leading to xmm6 or rsp register values being treated as memory addresses, resulting in a page fault.
I'm unsure about the specific reason behind xmm6 register having a value of "0xffffffffffffffff," and further investigation is needed.

@a7md8762
Copy link

just use weave to inject hacks

@Euro-pol
Copy link

ty hazsi

@LzIP251
Copy link

LzIP251 commented Jul 9, 2023

btw, wine is not an emulator

@Appolon24800
Copy link

Work on Vapelite / other clients ?

@jamesb06
Copy link

I've got an issue where vape isn't detecting minecraft running, I am using lunar client for linux and I have tried normal minecraft launcher for linux neither work, I run ubuntu. using openjdk and openjsk for java. If imma be honest I'm completely new to linux so any solutions for this would be great. to summarise just need to know why vape v4 isnt detecting my minecraft running

@Euro-pol
Copy link

@jamesb06 u need mc running on wine for vape to detect it

@Zemethepadawod
Copy link

@Hazsi everytime i run wine64 ./javaw.exe -version it opens an application thats says this:
image
Yes, i have tried clicking allow in security, ive done all the tips ive seen in here. If you know a way on how to fix this, please reply to me or send me a message on discord: morphskeen

@Zemethepadawod
Copy link

@Hazsi everytime i run wine64 ./javaw.exe -version it opens an application thats says this: image Yes, i have tried clicking allow in security, ive done all the tips ive seen in here. If you know a way on how to fix this, please reply to me or send me a message on discord: morphskeen

heres the code that shows in terminal after i execute the command: https://pastebin.com/1R9Uqxii
and heres the code that shows up when i click show details: https://pastebin.com/MExyxzf7

@Zemethepadawod
Copy link

@Hazsi everytime i run wine64 ./javaw.exe -version it opens an application thats says this: image Yes, i have tried clicking allow in security, ive done all the tips ive seen in here. If you know a way on how to fix this, please reply to me or send me a message on discord: morphskeen

heres the code that shows in terminal after i execute the command: https://pastebin.com/1R9Uqxii and heres the code that shows up when i click show details: https://pastebin.com/MExyxzf7

@Hazsi @Hazsi

@Zemethepadawod
Copy link

hazsi i see you online please help me

@Zemethepadawod
Copy link

wait does the thing say active when someone speaks in this

@Zemethepadawod
Copy link

oh my god it does im so stupid

@RjManhas
Copy link

RjManhas commented Dec 4, 2023

hey can you add me on discord im having a issue
ragewire

@Euro-pol
Copy link

Euro-pol commented Dec 5, 2023

just comment the issue

@linthuriya
Copy link

@Hazsi How do i fix
image

@linthuriya
Copy link

@SylveonBottle
Copy link

SylveonBottle commented Jan 25, 2024

Minecraft loads, vape always fails to launch no matter what visual settings in Minecraft I use. Using Mac Monterey.

Screen Shot 2024-01-25 at 5 38 07 PM

@auvio323
Copy link

auvio323 commented Feb 25, 2024

Minecraft loads, vape always fails to launch no matter what visual settings in Minecraft I use. Using Mac Monterey.
Screen Shot 2024-01-25 at 5 38 07 PM

I have the same error as you on Arch Linux, tried using wine stable and wine-tkg-staging-fsync-git, both got the same error. Openlogic JRE 8 installs without a hitch and java works, MultiMC runs fine, Minecraft launches, the HWID program launches, but the VapeV4.exe does not, and gives that error. Has a Vape update broken compatibility with wine ?

@SylveonBottle
Copy link

SylveonBottle commented Feb 25, 2024

I have the same error as you on Arch Linux, tried using wine stable and wine-tkg-staging-fsync-git, both got the same error. Openlogic JRE 8 installs without a hitch and java works, MultiMC runs fine, Minecraft launches, the HWID program launches, but the VapeV4.exe does not, and gives that error. Has a Vape update broken compatibility with wine ?

The only thing that I know of is that vape now caches files to improve launch speed.
I just ended up bootcamping windows 10 onto my machine. However, vape took such a hit on performance that you’re probably better just using Ravenb+ on Mac.

If you want, I can share a custom performance mod pack that focuses entirely on maximizing performance on low end computers. With lunar client and every visual hud disabled, every mod disabled, I got about ~120 fps in a super flat. With the most popular FPS pack on modrinth I got ~180. My own pack got 250+ I was able to consistently get around 40–60 FPS playing hypixel, so vape’s features made it worth running windows to me. I can’t imagine speedbridging with only 40 fps.

@auvio323
Copy link

I have the same error as you on Arch Linux, tried using wine stable and wine-tkg-staging-fsync-git, both got the same error. Openlogic JRE 8 installs without a hitch and java works, MultiMC runs fine, Minecraft launches, the HWID program launches, but the VapeV4.exe does not, and gives that error. Has a Vape update broken compatibility with wine ?

The only thing that I know of is that vape now caches files to improve launch speed. I just ended up bootcamping windows 10 onto my machine. However, vape took such a hit on performance that you’re probably better just using Ravenb+ on Mac.

If you want, I can share a custom performance mod pack that focuses entirely on maximizing performance on low end computers. With lunar client and every visual hud disabled, every mod disabled, I got about ~120 fps in a super flat. With the most popular FPS pack on modrinth I got ~180. My own pack got 250+ I was able to consistently get around 40–60 FPS playing hypixel, so vape’s features made it worth running windows to me. I can’t imagine speedbridging with only 40 fps.

I don't have performance issues on my hardware.

I mainly use Linux based OS on my computers, and I have a Windows PC with Sunshine that I use whenever I need to run Windows specific apps, I generally don't use Windows specific apps but whenever I do it's usually games and thats why I use that PC. However, when using Mysterium Dark VPN on Windows, it for some reason blocks the LAN on my default gateway, and I can't really fix this since Windows doesn't have any way to do so- it has to be implemented by the VPN application. I use the LAN to stream the computer over the network to my computer seamlessly via the Moonlight client on my Linux PC which connects to Sunshine on my windows PC, that way I can run it headless. Since this VPN (I want to use to evade ban in Minecraft servers since Mysterium dark gives cheap resedential IPS) blocks Lan, I can't access my PC over the network and thus I can't use VapeV4, unless I plug a physical HDMI cable, which is the sloppy solution I am using currently.

If it worked via Wine, it would make it way easier since it would be smoother, I wouldn't have to remote to that PC, and use Mysterium dark. I have gotten several heavily windows dependent apps running on Linux through wine with configuration, I just don't know what broke VapeV4 in the first place. I also don't know what dependencies it needs either. If someone knows what changed in VapeV4 that caused it not to work, there could be a solution. But VapeV4 was never supposed to support Linux as it was clearly stated that it was Windows only, so I'm not blaming them, although it would be nice if there was a solution.

@nobleststriver
Copy link

Would this work on Steam Deck with Lunar Client?

@shard77
Copy link

shard77 commented Apr 2, 2024

Did someone manage to get that working using wine-ge inside lutris? Would love to hear about someone actually having this working.
@iFlxy is this working on your side? I've tried using wine-ge and lutris-ge, both crash at injection.

@b2nzy
Copy link

b2nzy commented Apr 19, 2024

Did someone manage to get that working using wine-ge inside lutris? Would love to hear about someone actually having this working. @iFlxy is this working on your side? I've tried using wine-ge and lutris-ge, both crash at injection.

Not yet, seems. can't load a class in stage 11

Exception in thread "" java.lang.NoClassDefFoundError: cpw/mods/modlauncher/TransformingClassLoader Caused by: java.lang.ClassNotFoundException: cpw.mods.modlauncher.TransformingClassLoader at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)

@shard77
Copy link

shard77 commented Apr 20, 2024

Did someone manage to get that working using wine-ge inside lutris? Would love to hear about someone actually having this working. @iFlxy is this working on your side? I've tried using wine-ge and lutris-ge, both crash at injection.

Not yet, seems. can't load a class in stage 11

Exception in thread "" java.lang.NoClassDefFoundError: cpw/mods/modlauncher/TransformingClassLoader Caused by: java.lang.ClassNotFoundException: cpw.mods.modlauncher.TransformingClassLoader at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)

Yep. I get the same error.

@yangbaoqi1
Copy link

Did someone manage to get that working using wine-ge inside lutris? Would love to hear about someone actually having this working. @iFlxy is this working on your side? I've tried using wine-ge and lutris-ge, both crash at injection.

Not yet, seems. can't load a class in stage 11
Exception in thread "" java.lang.NoClassDefFoundError: cpw/mods/modlauncher/TransformingClassLoader Caused by: java.lang.ClassNotFoundException: cpw.mods.modlauncher.TransformingClassLoader at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)

Yep. I get the same error.

i also get this error on mac ventura with crossover 24 pls help me qwq

@yangbaoqi1
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment