Skip to content

Small script to install mega hack v6 on Linux without doing a backflip, contains all convenient commands in one place to make it run

License

Notifications You must be signed in to change notification settings

fluffeon/mega-hack-linux-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mega Hack Linux installer

Small script to make it easier to set up Mega Hack on Linux. ChatGPT helped on this.

Things you'll need

  • Mega Hack v6 (V7 currently does not work in Linux as far as I know)
  • The script
  • At least 90 IQ

How to do it

  1. Clone this repository
  2. Locate your Steam folder. This can be done easily by opening Steam, right click on Geometry Dash, then hover on Manage and finally click Browse local files. Then once your file manager opens you can take note on where steam is located. In my case it is on ~/.local/share/Steam/
  3. While on the same folder, browse through Steam/steamapps/compatdata/322170/pfx/drive_c and copy your extracted Mega Hack v6 installation into it. Rename it so it doesn't have any spaces, it MUST NOT have spaces (for example I renamed the mega hack folder to "V6" and put it on the root of the C drive, so it ends up being "drive_c/V6/MegaHackPro.exe")
  4. Set the script as executable and run mh-linux-autoinstaller.sh.
  5. Go through each input accordingly

How to do it (manual script, outdated... use the automated one)

  1. Copy the repo and download the script
  2. Open it in your text editor to edit the command parameters. Inside you'll find comments reffering to each directory necessary to make it work.
  3. Locate your Steam folder. This can be done easily by opening Steam, right click on Geometry Dash, then hover on Manage and finally click Browse local files. Then once your file manager opens you can take note on where steam is located. In my case it is on ~/.local/share/Steam/
  4. Edit all instances of (PATH OF YOUR STEAM INSTALLATION) with the path that Steam is in. (if it's on your .local directory then you MUST type it as /home/[your user]/.local/share/Steam/)
  5. While on the same folder, browse through Steam/steamapps/compatdata/322170/pfx/drive_c and copy your extracted Mega Hack v6 installation into it. Rename it so it doesn't have any spaces, it MUST NOT have spaces (for example I renamed the mega hack folder to "V6")
  6. Edit (ADDRESS OF THE MEGA HACK INSTALL) to where you put the install folder within drive_c. (for example: run ./drive_c/V6/MegaHackPro.exe with "V6" being the mega hack install folder))
  7. Finally, browse Steam/steamapps/common and look for your preffered Proton version (Proton 3.7, Proton - Experimental, etc. You can use spaces on this one.) and input the name of the version in (YOUR PROTON VERSION) (for reference, in my case it would be '/home/flookerton/Steam/steamapps/common/Proton - Experimental/proton'
  8. Set the script as executable by inputing the following command: chmod +x mega-hack.sh and run it.
  9. If you did everything correctly, the Mega Hack V6 prompt should appear as it does on Windows.
  10. Log into your purchased Mega Hack account as usual.
  11. Under the "Geometry Dash Folder" box, you must look for the full location of the game. Since we already know the game path from Step 3, you can browse to it (for example for me its on Z:/home/flookerton/.local/share/Steam/steamapps/common/Geometry Dash/GeometryDash.exe, but it will be different on your end)
  12. Install, close and open Geometry Dash. If everything goes well, the game will launch and you can press TAB to use the menu.
  13. Enjoy :3

Known issues

  • Arch Linux-specific: for some reason the executable requires Vulkan to run, and I got stuck trying to run the installer. Turns out my computer does not support Vulkan and it was freaking out. To fix it, install the proper Vulkan driver and remove any unnecessary ones. If your computer does not have Vulkan, you can install a software raster for it (but it must be 32-bit). For example, I did "pacman -S lib32-vulkan-swrast" and that got the installer to run finally. However, keep in mind that this is an AUR package and you'll have to compile it yourself or use the Chaotic-AUR to get it.
  • For some reason, Mega Hack installer won't open even if you input everything correctly. This is due to how the script parses backspaces, for now just try to be perfect and don't backspace at all

About

Small script to install mega hack v6 on Linux without doing a backflip, contains all convenient commands in one place to make it run

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages