absolllute / Mega-Hack-Pro-Future

Mega Hack Pro Suggestion & Issue Tracker
41 stars 5 forks source link

Mega Hack v7 Linux Does Not Work #184

Open Felting opened 2 years ago

Felting commented 2 years ago

I install mega hack v7 using this method: https://www.youtube.com/watch?v=PNa9MBS7CTU And when I press tab nothing happens. It worked with mega hack v6 though.

RoootTheFox commented 2 years ago

then going into ~/.local/share/Steam/steamapps/compatdata/(what ever number is bigger or where ever you can find the Septima folder in)/pfx/drive_c/users/steamuser/AppData/Local/Septima and copying the contents to ~/.local/share/Steam/steamapps/compatdata/322170/pfx/drive_c/users/steamuser/AppData/Local/Septima/

this step is not needed, since the number for the compatdata folder is always 322170, so you would essentially copy files from a folder into the exact same folder.

OakleyCord commented 2 years ago

this step is not needed, since the number for the compatdata folder is always 322170, so you would essentially copy files from a folder into the exact same folder.

i forgot to mention i am running megahack installer by adding it as a "non-steam game" so i am copying the Septima folder from the c drive that megahack used

so I am using the compatdata from megahack

yavko commented 2 years ago

Okay. But what is Septima?

it contains the login info for megahack, without it you will receive the "not logged in" error

ah

RoootTheFox commented 2 years ago

this step is not needed, since the number for the compatdata folder is always 322170, so you would essentially copy files from a folder into the exact same folder.

i forgot to mention i am running megahack installer by adding it as a "non-steam game" so i am copying the Septima folder from the c drive that megahack used

so I am using the compatdata from megahack

Oh that makes sense. I'll probably work on implementing the WINEDLLOVERRIDES into my MegaHack installer script sometime in the future once I figure out how to modify steam launch arguments for Geometry Dash through a bash script.

Brian3647 commented 2 years ago

this step is not needed, since the number for the compatdata folder is always 322170, so you would essentially copy files from a folder into the exact same folder.

i forgot to mention i am running megahack installer by adding it as a "non-steam game" so i am copying the Septima folder from the c drive that megahack used

so I am using the compatdata from megahack

I did this whole process, and now my ~/.steam/steam/steamapps/compatdata/322170/pfx/drive_c/users/steamuser/AppData/Local/Septima folder has the files I believe are for authenticating (image) and yet when opening the game it says I'm not logged in. image

Brian3647 commented 2 years ago

Found a better way. It works.

OakleyCord commented 2 years ago

I did this whole process, and now my ~/.steam/steam/steamapps/compatdata/322170/pfx/drive_c/users/steamuser/AppData/Local/Septima folder has the files I believe are for authenticating (image) and yet when opening the game it says I'm not logged in.

Huh strange same issue is happening on my steam deck, I'll try to figure it out later

strawbberrys commented 1 year ago

I got it to work quite easily. First install protontricks (winetricks fork for steam) and run protontricks --gui. After that select Geometry Dash and click OK on "Select the default wine prefix". Next click "Run explorer" and press OK, then navigate to the megahack installer executable and run it. Then it's just as simple as navigating to the Geometry Dash install folder (will be in whichever drive you installed the game in or in the Z:/ drive in a path such as /home/[username]/.local/share/Steam/steamapps/common) and selecting GeometryDash.exe for the install path, then clicking install. Finally, right click on Geometry Dash in your steam library, click on properties, and add WINEDLLOVERRIDES="Xinput9_1_0=n,b" %command% to your launch options or it will not work. Done.

echolessowl commented 1 year ago

I got it to work quite easily. First install protontricks (winetricks fork for steam) and run protontricks --gui. After that select Geometry Dash and click OK on "Select the default wine prefix". Next click "Run explorer" and press OK, then navigate to the megahack installer executable and run it. Then it's just as simple as navigating to the Geometry Dash install folder (will be somewhere in the Z:/ drive in a path such as /home/[username]/.local/share/Steam/steamapps/common) and selecting GeometryDash.exe for the install path, then clicking install. Finally, right click on Geometry Dash in your steam library, click on properties, and add WINEDLLOVERRIDES="Xinput9_1_0=n,b" %command% to your launch options or it will not work. Done.

This works very well, thanks for sharing. Took a bit to load the game for the first time after installing but it's running smoothly now

Brittank88 commented 1 year ago

@all-contributors please add @strawbberrys for tutorial, userTesting, platform.

allcontributors[bot] commented 1 year ago

@Brittank88

I've put up a pull request to add @strawbberrys! :tada:

Brittank88 commented 1 year ago

@all-contributors please add @OakleyCord for tutorial, userTesting, platform.

allcontributors[bot] commented 1 year ago

@Brittank88

I've put up a pull request to add @OakleyCord! :tada:

NativeStickVastness commented 1 year ago

I'm running the game with XInput9_1_0.dll overridden, but I have one issue: when the player interacts with moving objects, it will often eject my player, causing death. The best example is in Future Funk (44062068), where the platform with the text "Clutterfunk" is slightly moving, and while the player is sliding across it, it'll get launched down to the ground and the player dies at frame 218. When Mega Hack is uninstalled or disabled (by not setting the WINEDLLOVERRIDES environment variable), there's no issue, it only happens with Mega Hack. I couldn't find anything about this issue online, so it might be specific to Linux?

RoootTheFox commented 1 year ago

@NativeStickVastness This does NOT sound linux-specific at all, are you using FPS bypass?

cursefroge commented 1 year ago

should this be closed? legacy loader option exists now

coffee243454 commented 10 months ago

Adding to this, Mega Hack V8 works perfectly on linux after renaming the exe, installing and adding WINEDLLOVERRIDES="Xinput9_1_0=n,b" %command% to the launch options.

skysthelimitt commented 10 months ago

not sure why, none of these tutorials would work for me for installing v8 (couldnt access any folders that started with .) heres what i did to install v8: go to the files for gd (/home/{user}/.steam/debian-installation/steamapps/common/Geometry Dash for me) copy everything then go to the emulated C drive that steam makes (/home/{user}/.steam/debian-installation/steamapps/compatdata/322170/pfx/drive_c for me) and make a new folder, and just paste the contents into there use protontricks, select gd, select "Select the default wineprefix", select "Run explorer", navigate to the folder where you have mega hack installer, run it, go to the folder you created previously and select GeometryDash.exe, install after it installs, you copy the contents of that folder and go to your local install of gd and replace the files with the new files

idk if any of that made sense

Fxzzi commented 10 months ago

https://www.youtube.com/watch?v=pY2V5hKIqD4

Video for those who need guidance

strawbberrys commented 10 months ago

I've found another method which is (probably) even easier. All you have to do is add PROTON_REMOTE_DEBUG_CMD="/absolute/path/to/MegaHackInstaller.exe" to the steam launch options, then launch the game. This will open the installer with the game, and you can use it as normal from there. Just make sure to close Geometry Dash before you install. And of course after installation you can remove it from your launch options.

ex: WINEDLLOVERRIDES="XInput9_1_0=n,b" PROTON_REMOTE_DEBUG_CMD="/home/strawberrys/Downloads/MegaHackInstaller/MegaHackInstaller.exe" %command%

fluffeon commented 3 months ago

Obsolete. Using Mega Hack v8 on Geode is the way to go.

If you've installed Geode on Linux, just run Mega Hack v8 installer on Wine without any DLL overrides or arguments (that is by literally double-clicking the installer in your file manager of choice), login, select GD directory and install. Then if you launch the game it will prompt you to insert your username and password again, do so and boom, you have MHv8 installed. Worked for me on Gentoo Linux.

It's that much easier now.

RoootTheFox commented 3 months ago

fwiw, megahack on geode can now be installed from the index (theres a megahack installer mod by absolute)