-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Heroes of Might and Magic IV #1144
base: master
Are you sure you want to change the base?
Conversation
Merged current master
Update the fork with changes from master fork.
Fork update
merge changes
Merging changes to the fork
Merging updates from master fork
Merging changes from master
Merge from master branch
Merge master fork
Updated the way virtual desktop plugin is used.
Merge master fork
Merge master fork
Can you translate this:
? |
Input/output error |
Most likely something is wrong with either the |
Just tried launching the setup.exe in vanilla wine. I got a error screen with three rectangular symbols (usually used when something dosen't recorgnize a character) followed by 9 "file not found" messages, each appearing after the previous one was closed. The file works fine in Windows 64bit so it's a Wine issue. |
By |
I think it's unrelated to phoenicis because I get errors when launching setup.exe file regardless. |
Added the rest of necessary files (self extracting archives, needed becuase Equilibris is chesksum-sensitive), code cleanup.
Tried my instalation disc in Lutris. Dosen't work there as well. Tried GOG installer and it works. But the default installation directory is different than installing from CD. |
@Zemogiter you've marked this as ready for review but the PR description says that nothing is working. What's the status of this PR? |
@plata op just updated |
Fixed typos, using consts instead of vars.
Applications/Games/Heroes of Might & Magic IV/Local (Gold Edition)/script.js
Outdated
Show resolved
Hide resolved
Applications/Games/Heroes of Might & Magic IV/Local (Gold Edition)/script.js
Outdated
Show resolved
Hide resolved
Applications/Games/Heroes of Might & Magic IV/Local (Gold Edition)/script.js
Outdated
Show resolved
Hide resolved
Applications/Games/Heroes of Might & Magic IV/Local (Gold Edition)/script.js
Outdated
Show resolved
Hide resolved
Applications/Games/Heroes of Might & Magic IV/Local (Gold Edition)/script.js
Outdated
Show resolved
Hide resolved
Applications/Games/Heroes of Might & Magic IV/Local (Gold Edition)/script.js
Outdated
Show resolved
Hide resolved
Corrected wizard usage, using new wine version calling
Applications/Games/Heroes of Might & Magic IV/Local (Gold Edition)/script.js
Outdated
Show resolved
Hide resolved
@Zemogiter how is the current state of this PR? Is it installable/runnable or is it still work in progress? |
@madoar For some reason the script ignores the |
You mean during shortcut creation? The reason is that the scripts/Engines/Wine/QuickScript/Installer Script/script.js Lines 84 to 100 in 0718546
Maybe you want to use the |
That is not possible because the game must be installed in order to run both |
@plata what do you think, should we swap |
I have something in the back of my head that we had a reason to do it like this. I cannot remember though. |
After the latest commit and swaping
|
.wineVersion(getLatestDevelopmentVersion) | ||
.executable("H4mod.exe") | ||
.postInstall((wine) => { | ||
const dataDirectory = wine.prefixDirectory() + "drive_c/" + wine.programFiles() + "Ubisoft/Heroes of Might & Magic IV - Złota Edycja/Data"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this folder really correct? Heroes of Might & Magic IV - Złota Edycja
looks to me like a localized (translated) string and nothing a publisher would normally use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a default install location of my cd disc. I've set it in GOG local installer and it is correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@madoar is correct. This will very likely not work in other countries. Maybe you can solve it with a regular expression. So: ls
for the "Ubisoft" folder and then find the "Heroes of Might & Magic IV" folder.
Could even be enough to use startsWith.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plata the "Ubisoft" part is only there when you install from the disc. GOG installer uses "GOG.com" instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we have different installers then?
Adding wine.wait() so user won't get two patch windows at the same time.
Description
When the wineprefix is created and just before the selected .exe file is launched, installation crashes with this error:
This error is caused by the setup.exe file in my cd disc being weird. Not corrupted because installation from it works in Windows. However I tried a local GOG installer and it works just fine.
The main objective is to get this game to work and install this mod:
https://equilibris.celestialheavens.com/eng/downloads.html
To fix game balance and bugs.
What works
Installation using GOG installation file and the game itself
What was not tested
Running the Equilibris mod due to the script searching for H4mod.exe file right after the game installation process ends. This file is created after the mod installation is finished.Fixed by #1170Now it's the
equi.aop
file download that crashes the script:Test
i7-7700K, GTX1080 ti
Ready for review
json-align
andeslint
run according to the documentation.