Okay, first install MMExtension and set it "D3D Device" to 1 in the registry for MM8 (HKEY_LOCAL_MACHINE\SOFTWARE\New World Computing\Might and Magic Day of the Destroyer\1.0).
Then save this script as Scripts\General\test.lua:
cthscr wrote: ↑10 Dec 2021, 05:20
Right now it is small - up to 300k. But I can easily increase it up to 4M.
Forgot to say I've added compression the day I asked about it. Of course, no LZMA, just ZLib that's already in the game. EnableLuaDataCompression(true) enables it.
I don't know if it could work after user find the item in Registry and change the value. mm8setup.exe has no option to switch to dedicated GPU, but sometimes a hidden option in GUI is still settable in Registry and can be effective. It's "D3D Device" in [HKEY_LOCAL_MACHINE\SOFTWARE\New Wo...
Hello, somewhere between fighting wasps in Alvar and then entering the dungeon with a thousand doors in Ironsand, I got a water breathing spell on my necromancer and vampire (not the rest of the party). The spell lasts for 279.429 days . You mean Water Walk? Send me the save game. Edit: I realise n...
The problem is, I don't think I know how to create a binary file using lua, and I'm unsure why a binary is preferable to a script. Like this: io.SaveString([[c:\file.dat]], s), where s is that binary string: s = mem.string(pl, pl['?size'], true) Then loading: s = io.LoadString([[c:\file.dat]]) Abou...
the only minor issue is that it seems like the fountains and shrines that have onetime bonuses do not work on repeat encounters after swapping out a character using my script. I think this issue should persist with NPCMercenaries script since new mercenaries are using the same player roster index, ...
I'm trying to create a way to export/import a party member to get around the 50 player limit by making MMExtension lua scripts in MM8 (specifically the World of Enroth MM 6,7,8 merge; community master branch). The problem is lloyd beacon images and also any MMExt scripts that may have some info sto...
Can a something.UI.txt file be created that achieves this without altering the original UI.txt? https://pastebin.com/P8dzyd2H [edit] Instead of "STAGE before DrawView" and "STAGE before DrawViewUI" it should be just "STAGE DrawView" and "STAGE DrawViewUI" res...
I do recall GrayFace releasing a text file based fix for this years ago already, it was called MerchAlvFix or something like this - I think this was in the early years of MMExtension actually. It's a very easy MapStats.txt fix. I don't even remember doing it, but I still have it: https://www.dropbo...
Another thing that would be nice is if the Merchant Guild in Ravenshore could be made to not respawn. Yes, that definitely needs fixing. MM6 never really needed long-term storage, though, since the seer was actually smart there and wouldn't give back quest items for quests you'd already completed a...
@everyone Since I'm gonna turn shops in 2 maps that didn't have them into actual new shops, new shop names and inventories would be needed. Would someone be willing to do them? The job is to open 2DEvents.txt from TCC with TxtEdit, look at high level Weapon Shop, Armor Shop, Magic Shop lines and cr...
"You were unable to pick the lock." The problem I have with this specific wording for the chests in the Warlord's Fortress is because that wording makes it sound like you can open these chests by finding a key for them. This is the only phrase that seemed fitting. I can change the phrase ...
Greyface's Lua scripts work with the GameParty structure in memory (not in the save game file). The structure is the same as in save game, you just need to subtract 0x908C70 (also accessed as Game.Party.ptr) from addresses. You can do something like this: for o, name in sortpairs(table.invert(struc...