
Monk fists
#1
-Feanor-
Posted 03 April 2004 - 06:39 AM
#2
Posted 03 April 2004 - 06:56 AM

#3
Posted 03 April 2004 - 01:28 PM
On a related note I was browsing the exe the other day and found a section that looked as if it controlled the monk fist progression.
#4
Posted 03 April 2004 - 01:43 PM
mfist1-8.itm.
The great wolf Fenrir gapes ever at the dwelling of the gods.
#5
-icelus-
Posted 03 April 2004 - 02:01 PM
Heh... casual reading?On a related note I was browsing the exe the other day

#6
Posted 03 April 2004 - 02:04 PM
Nah, it can't be casual reading coz you can't read it on the lav. Unless you took your laptop into the lav with you...Heh... casual reading?On a related note I was browsing the exe the other day
![]()

#7
Posted 03 April 2004 - 02:07 PM
Not recently no.Nah, it can't be casual reading coz you can't read it on the lav. Unless you took your laptop into the lav with you...

#8
-icelus-
Posted 03 April 2004 - 02:12 PM
#9
Posted 03 April 2004 - 02:36 PM
It is all a matter of knowing where in the exe the thing want to change is controlled. If you happened to know the location of a hardcoded strref you could use SAY on it. The problem is finding stuff. To find the monk fist I opened up the exe in hex workshop and searched for 'MFIST'. Handily only one section of the exe contains MFIST entries and the level connection is pretty obvious.
Japhath patches bgmain in Tutu to change the starting movies and starting xp.
I'm sure igi might know a little more about this stuff.
#10
Posted 03 April 2004 - 03:19 PM
Hmm? Starting movies don't need any EXE patching, do they?Japhath patches bgmain in Tutu to change the starting movies and starting xp.
And I indulged in a bit along with Avenger way back when I was working on BG2 Stripdowns (please, don't ask...it's an embarassment; I was young and innocent). Simple stuff like changing the ToB starting area.
I strongly recommend that anyone who suspects there may be a hardcoded table of anything at all check the EXE for it. You never know what useful results will pop up.
#11
Posted 03 April 2004 - 03:27 PM
let patch_bgmain () = log_and_print "Patching BGMain and backing it up...\n"; begin let buff = load_file "BGMain.exe" in let oc = open_out_bin "bg1tutu/backup/bgmain.exe" in output_string oc buff; close_out oc; let size = file_size "BGMain.exe" in (match size with | 7417902 (* Patched SoA BGMain.exe *) -> if file_size ((config.source_path) ^ "/movies/moviecd1.bif") > 0 then String.blit "_INTRO" 0 buff 0x6ddc1c 6; (* Starting movie *) write_short buff 0x6ddc22 0; (* Change the remaining bytes to 0 *) write_int buff 0x658970 1; (* Set XP to 1 *) let oc = open_out_bin "BGMain.exe" in output_string oc buff; close_out oc | 7839790 (* Patched ToB BGMain.exe v24698 *) -> if file_size ((config.source_path) ^ "/movies/moviecd1.bif") > 0 then String.blit "_INTRO" 0 buff 0x742b70 6; (* Starting movie *) write_short buff 0x742b76 0; (* Change the remaining bytes to 0 *) write_int buff 0x6B7258 1; (* Set XP to 1 *) let oc = open_out_bin "BGMain.exe" in output_string oc buff; close_out oc | 7843886 (* Patched ToB BGMain.exe v24699 *) -> write_int buff 0x6B6270 1; (* Set XP to 1 *) let oc = open_out_bin "BGMain.exe" in output_string oc buff; close_out oc | _ -> log_and_print "Unknown version of BGMain.exe, skipping XP patch & movie renaming\n" ); endIWG2 would have no reason to patch BGMain at all.
#12
Posted 03 April 2004 - 06:20 PM
Does it? I remember the entire plot being ruined for my wife when the BG2 opening movie started playing when we fired up Tutu for the first time. IIRC it was v4...Japhath patches bgmain in Tutu to change the starting movies and starting xp.
I was considering changing this for the Tutu Tweak Pack using a cheesy workaround--just swap the opening movie in the BIFF. Probably as stable as EXE patching.

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods
The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.
#13
Posted 03 April 2004 - 07:52 PM

The great wolf Fenrir gapes ever at the dwelling of the gods.
#14
Posted 04 April 2004 - 12:47 AM
