How would I edit the game files so when you start the game it's using by default the param -direct?
I know Plugy got's such an option, but I don't wanna use it since it's confilicting with some of mymod files.
So if Plugy can do it, there must be some way it's achieved by editing the game files, either.
Thanks in advance
[1.10] Allways -direct Param
Moderators: Nefarius, Havvoric
Re: [1.10] Allways -direct Param
D2SE has this function too
you can force -direct or -txt in the D2SE_setup.ini
you can force -direct or -txt in the D2SE_setup.ini
I need more Dropbox space, pls register using this referal link, so you and me get 250mb more space:
http://db.tt/sbpJWYD1
http://db.tt/sbpJWYD1
Re: [1.10] Allways -direct Param
Using Plugy, or this - doesn't make difference.
I wanna do t by editing the game's dll's if it's possible.
I wanna do t by editing the game's dll's if it's possible.
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: [1.10] Allways -direct Param
to do this (without altering game.exe), you need to make fog.#10117 always return TRUE (note: this makes the game check the HDD for all mpq's).
then you need to make storm.#263 always set the global to true:
then you need to make storm.#263 always set the global to true:
Code: Select all
Storm.#263 6FFC7040 8B4424 04 MOV EAX,DWORD PTR SS:[ESP+4]
6FFC7044 A3 58A2FE6F MOV DWORD PTR DS:[6FFEA258],EAX
6FFC7049 B8 01000000 MOV EAX,1
6FFC704E C2 0400 RETN 4
Code: Select all
Storm.#263 6FFC7040 B8 01000000 MOV EAX,1
6FFC7045 A3 58A2FE6F MOV DWORD PTR DS:[6FFEA258],EAX
6FFC704A C2 0400 RETN 4
6FFC704D 90 NOP
6FFC704E 90 NOP
6FFC704F 90 NOP
6FFC7050 90 NOP
it won't, all this editi does is for the mpq's to be loaded from the HDDLurix" wrote:Using Plugy, or this - doesn't make difference.
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal