Closed hellotinh03 closed 10 months ago
If you're using GD 2.202, which is the current latest version, v8 doesn't support that one yet, so you'll have to wait for absolute to update MegaHack.
(That error usually occurs when your MegaHack version is incompatible with your GD version)
You're gonna need to wait for megahack to support the latest GD bugfix update, once they do try running the script again
What GD version are you using?
- What MegaHack version are you using?
If you're using GD 2.202, which is the current latest version, v8 doesn't support that one yet, so you'll have to wait for absolute to update MegaHack.
(That error usually occurs when your MegaHack version is incompatible with your GD version)
I got that problem since 2.2 (the first release) but I thought it was probably some small bug that'll get fix later on
That mv
error should from what I remember not happen, might be the v6 libcurl method being broken in the script with newer MegaHack versions (I didn't test that method as much, since its more recommended to use the XInput9_1_0.dll
method anyways. Can you try that method and report back?
That
mv
error should from what I remember not happen, might be the v6 libcurl method being broken in the script with newer MegaHack versions (I didn't test that method as much, since its more recommended to use theXInput9_1_0.dll
method anyways. Can you try that method and report back?
The "Wrong DLL present" error and the mv
error are now gone but MH still isn't installed. Nothing stands out in the terminal log.
MegaHack Installer for Linux
(info) Please enter the path to your MegaHack .zip file
(info) (most terminals support drag and drop)
> MegaHackInstaller.zip
Finding your steam path ...
(info) Steam PID: 2018
Is this your Steam path?: /home/cretzen/.steam/debian-installation
[Y/n] :y
(info) Using Steam path: /home/cretzen/.steam/debian-installation
(success) Proton directory found: /home/cretzen/.steam/debian-installation/steamapps/common/Proton - Experimental
(info) Using Proton: /home/cretzen/.steam/debian-installation/steamapps/common/Proton - Experimental
(info) Extracting MegaHack Patcher ...
(info) /home/cretzen/Downloads/MegaHackInstaller.zip
Archive: /home/cretzen/Downloads/MegaHackInstaller.zip
creating: /tmp/megahack/MegaHackInstaller/
creating: /tmp/megahack/MegaHackInstaller/bearer/
inflating: /tmp/megahack/MegaHackInstaller/bearer/qgenericbearer.dll
inflating: /tmp/megahack/MegaHackInstaller/D3Dcompiler_47.dll
inflating: /tmp/megahack/MegaHackInstaller/EULA.txt
creating: /tmp/megahack/MegaHackInstaller/iconengines/
inflating: /tmp/megahack/MegaHackInstaller/iconengines/qsvgicon.dll
creating: /tmp/megahack/MegaHackInstaller/imageformats/
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qgif.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qicns.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qico.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qjpeg.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qsvg.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qtga.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qtiff.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qwbmp.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qwebp.dll
inflating: /tmp/megahack/MegaHackInstaller/INSTALL HELP.txt
inflating: /tmp/megahack/MegaHackInstaller/libcrypto-1_1.dll
inflating: /tmp/megahack/MegaHackInstaller/libEGL.dll
inflating: /tmp/megahack/MegaHackInstaller/libGLESv2.dll
inflating: /tmp/megahack/MegaHackInstaller/libssl-1_1.dll
creating: /tmp/megahack/MegaHackInstaller/licenses/
inflating: /tmp/megahack/MegaHackInstaller/licenses/base64.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/detours.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/fontstash.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/gd.h.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/glew.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/json.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/minhook.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/openssl.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/qt.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/qt_3rd_party.txt
inflating: /tmp/megahack/MegaHackInstaller/MegaHackInstaller.exe
inflating: /tmp/megahack/MegaHackInstaller/opengl32sw.dll
creating: /tmp/megahack/MegaHackInstaller/platforms/
inflating: /tmp/megahack/MegaHackInstaller/platforms/qwindows.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Core.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Gui.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Network.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Svg.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Widgets.dll
creating: /tmp/megahack/MegaHackInstaller/styles/
inflating: /tmp/megahack/MegaHackInstaller/styles/qwindowsvistastyle.dll
creating: /tmp/megahack/MegaHackInstaller/translations/
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ar.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_bg.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ca.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_cs.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_da.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_de.qm
extracting: /tmp/megahack/MegaHackInstaller/translations/qt_en.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_es.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_fi.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_fr.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_gd.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_he.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_hu.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_it.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ja.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ko.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_lv.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_pl.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ru.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_sk.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_tr.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_uk.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_zh_TW.qm
(success) Extracted MegaHack
(info) Directory: /tmp/megahack/MegaHackInstaller
(info) Installer Executable: MegaHackInstaller.exe
(info) - Starting installation process -
(info) Starting MegaHack installer ...
(info) To install, press CTRL+V when you are in the exe selection window and click "Open"
(info) Path to GD exe: Z:/home/cretzen/.steam/debian-installation/steamapps/common/Geometry Dash/GeometryDash.exe
(success) Copied path to clipboard!
(warn) If you want to install MegaHack v7, you will either have to
(warn) use MHv6's libcurl.dll OR add 'WINEDLLOVERRIDES="Xinput9_1_0=n,b" %command%'
(warn) to Geometry Dash's start options in Steam OR MEGAHACK WON'T WORK!
(warn) Do you wan't to use v6's libcurl.dll method?
[Y/n] :n
esync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
EnableNonClientDpiScaling() failed for HWND 0x2007c (120) (Call not implemented.
)
EnableNonClientDpiScaling() failed for HWND 0x1009a (120) (Call not implemented.
)
"<html><head/><body><p>Press <span style=\" font-weight:800;\">TAB</span> in-gam
e to use Mega Hack!</p></body></html>" "Octavus"
EnableNonClientDpiScaling() failed for HWND 0x200a8 (120) (Call not implemented.
)
QPixmap::fromWinHICON(), failed to GetIconInfo() (Invalid cursor handle.)
QPixmap::fromWinHICON(), failed to GetIconInfo() (Invalid cursor handle.)
EnableNonClientDpiScaling() failed for HWND 0x100b8 (120) (Call not implemented.
)
(info) Cleaning up ...
(success) If you followed the steps in the installer, MegaHack Pro should now be installed!
Have fun!
@hellotinh03 did you set your Geometry Dash launch arguments to WINEDLLOVERRIDES="Xinput9_1_0=n,b" %command%
?
@hellotinh03 Megahack now supports the 2.201 update try running the script now
@hellotinh03 did you set your Geometry Dash launch arguments to
WINEDLLOVERRIDES="Xinput9_1_0=n,b" %command%
?
Yes
@hellotinh03 Megahack now supports the 2.201 update try running the script now
The problem still remains, neither v6 libcurl
nor Xinput9_1_0.dll
method works. But I noticed that "installing" MegaHack does not do anything to the game files (nothing added, nothing changed). Maybe it's some kind of permission issue?
I'm not very familiar with shell scripts, so can I ask for a manual step-by-step way of the script? I'll try to go through everything to see where the issue lies.
Did you select the correct GD executable in the installer? If it didn't touch your game files that usually means you selected the wrong folder.
You can set the DEBUG
environment variable to 1
, which will show a bit of extra output that might be helpful.
Can you run the script with DEBUG=1
set and post the output here so I can help troubleshoot?
Did you select the correct GD executable in the installer? If it didn't touch your game files that usually means you selected the wrong folder.
That probably is the cause, since I can't manually type in the path like in the v7 installer, not sure if Absolute disabled that or it was just some wine issue there. The file selector won't show any dot folders (the .steam one in this case), so that didn't help either.
You can set the
DEBUG
environment variable to1
, which will show a bit of extra output that might be helpful. Can you run the script withDEBUG=1
set and post the output here so I can help troubleshoot?MegaHack Installer for Linux (info) Debug logging enabled!
(info) Please enter the path to your MegaHack .zip file (info) (most terminals support drag and drop)
MegaHackInstaller.zip
Finding your steam path ... (info) Steam PID: 2113 Is this your Steam path?: /home/cretzen/.steam/debian-installation
[Y/n] :y
(info) Using Steam path: /home/cretzen/.steam/debian-installation
(success) Proton directory found: /home/cretzen/.steam/debian-installation/steamapps/common/Proton - Experimental
(info) Using Proton: /home/cretzen/.steam/debian-installation/steamapps/common/Proton - Experimental
(info) Extracting MegaHack Patcher ...
(info) /home/cretzen/Downloads/MegaHackInstaller.zip
Archive: /home/cretzen/Downloads/MegaHackInstaller.zip
creating: /tmp/megahack/MegaHackInstaller/
creating: /tmp/megahack/MegaHackInstaller/bearer/
inflating: /tmp/megahack/MegaHackInstaller/bearer/qgenericbearer.dll
inflating: /tmp/megahack/MegaHackInstaller/D3Dcompiler_47.dll
inflating: /tmp/megahack/MegaHackInstaller/EULA.txt
creating: /tmp/megahack/MegaHackInstaller/iconengines/
inflating: /tmp/megahack/MegaHackInstaller/iconengines/qsvgicon.dll
creating: /tmp/megahack/MegaHackInstaller/imageformats/
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qgif.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qicns.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qico.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qjpeg.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qsvg.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qtga.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qtiff.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qwbmp.dll
inflating: /tmp/megahack/MegaHackInstaller/imageformats/qwebp.dll
inflating: /tmp/megahack/MegaHackInstaller/INSTALL HELP.txt
inflating: /tmp/megahack/MegaHackInstaller/libcrypto-1_1.dll
inflating: /tmp/megahack/MegaHackInstaller/libEGL.dll
inflating: /tmp/megahack/MegaHackInstaller/libGLESv2.dll
inflating: /tmp/megahack/MegaHackInstaller/libssl-1_1.dll
creating: /tmp/megahack/MegaHackInstaller/licenses/
inflating: /tmp/megahack/MegaHackInstaller/licenses/base64.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/detours.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/fontstash.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/gd.h.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/glew.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/json.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/minhook.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/openssl.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/qt.txt
inflating: /tmp/megahack/MegaHackInstaller/licenses/qt_3rd_party.txt
inflating: /tmp/megahack/MegaHackInstaller/MegaHackInstaller.exe
inflating: /tmp/megahack/MegaHackInstaller/opengl32sw.dll
creating: /tmp/megahack/MegaHackInstaller/platforms/
inflating: /tmp/megahack/MegaHackInstaller/platforms/qwindows.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Core.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Gui.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Network.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Svg.dll
inflating: /tmp/megahack/MegaHackInstaller/Qt5Widgets.dll
creating: /tmp/megahack/MegaHackInstaller/styles/
inflating: /tmp/megahack/MegaHackInstaller/styles/qwindowsvistastyle.dll
creating: /tmp/megahack/MegaHackInstaller/translations/
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ar.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_bg.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ca.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_cs.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_da.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_de.qm
extracting: /tmp/megahack/MegaHackInstaller/translations/qt_en.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_es.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_fi.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_fr.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_gd.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_he.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_hu.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_it.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ja.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ko.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_lv.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_pl.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_ru.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_sk.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_tr.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_uk.qm
inflating: /tmp/megahack/MegaHackInstaller/translations/qt_zh_TW.qm
-- contents of /tmp/megahack --
MegaHackInstaller
MegaHack Directory: /tmp/megahack/MegaHackInstaller -- Contents -- bearer D3Dcompiler_47.dll EULA.txt iconengines imageformats INSTALL HELP.txt libcrypto-1_1.dll libEGL.dll libGLESv2.dll libssl-1_1.dll licenses MegaHackInstaller.exe opengl32sw.dll platforms Qt5Core.dll Qt5Gui.dll Qt5Network.dll Qt5Svg.dll Qt5Widgets.dll styles translations
(success) Extracted MegaHack (info) Directory: /tmp/megahack/MegaHackInstaller (info) Installer Executable: MegaHackInstaller.exe
(info) - Starting installation process - cd /home/cretzen/.steam/debian-installation/steamapps/compatdata/322170/pfx (info) Starting MegaHack installer ...
(info) To install, press CTRL+V when you are in the exe selection window and click "Open" (info) Path to GD exe: Z:/home/cretzen/.steam/debian-installation/steamapps/common/Geometry Dash/GeometryDash.exe (success) Copied path to clipboard!
(warn) If you want to install MegaHack v7, you will either have to (warn) use MHv6's libcurl.dll OR add 'WINEDLLOVERRIDES="Xinput9_1_0=n,b" %command%' (warn) to Geometry Dash's start options in Steam OR MEGAHACK WON'T WORK! (warn) Do you wan't to use v6's libcurl.dll method? [Y/n] :n Starting MegaHack: STEAM_COMPAT_DATA_PATH="/home/cretzen/.steam/debian-installation/steamapps/compatdata/322170" WINEPREFIX="/home/cretzen/.steam/debian-installation/steamapps/compatdata/322170/pfx" "/home/cretzen/.steam/debian-installation/steamapps/common/Proton - Experimental/proton" runinprefix "/tmp/megahack/MegaHackInstaller/MegaHackInstaller.exe" esync: up and running. wine: RLIMIT_NICE is <= 20, unable to use setpriority safely EnableNonClientDpiScaling() failed for HWND 0x2007c (120) (Call not implemented. ) EnableNonClientDpiScaling() failed for HWND 0x1009a (120) (Call not implemented. ) "
Press <span style=\" font-weight:800;\">TAB in-gam e to use Mega Hack!
" "Octavus" EnableNonClientDpiScaling() failed for HWND 0x200a8 (120) (Call not implemented. ) QPixmap::fromWinHICON(), failed to GetIconInfo() (Invalid cursor handle.) QPixmap::fromWinHICON(), failed to GetIconInfo() (Invalid cursor handle.) EnableNonClientDpiScaling() failed for HWND 0x100be (120) (Call not implemented. )(info) Cleaning up ...
(success) If you followed the steps in the installer, MegaHack Pro should now be installed! Have fun!
can you try pasting the path into the file selection dialog (not the main window)?
can you try pasting the path into the file selection dialog (not the main window)?
It doesn't let me paste or type anything inside, as I mentioned earlier.
That probably is the cause, since I can't manually type in the path like in the v7 installer, not sure if Absolute disabled that or it was just some wine issue there.
Is there any way to bypass this?
The bottom bar in the "Find Geometry Dash" window should let you type
The bottom bar in the "Find Geometry Dash" window should let you type
I tried tho
@hellotinh03 replace the slashes with backslashes. i'll fix that soon, iirc that bug got in the script when i made the logging changes recently, because i forgot to re-add a pipe to sed
that did the replacing automatically for testing something, apologies for the inconvenience.
try again with the latest issue, and feel free to reopen the issue if you still have errors or need help.
replace the slashes with backslashes.
That did the trick! Thank you so much for your help. I should've thought of it much sooner though. 😅
MH installer shows the "Mega Hack installed successfully" box, but the game launches with this error, and no sign of MH running: GD runs fine after that.
Here's the terminal logs:
The line
mv: cannot stat 'hackproldr.dll': No such file or directory
stands out to me, it might be the cause idk.