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.
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
.
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)
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/
.
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!
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.
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.
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! 😄
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