diff --git a/Setup-iiTweak.exe b/Setup-iiTweak.exe index 54cd356..a84cb8b 100644 Binary files a/Setup-iiTweak.exe and b/Setup-iiTweak.exe differ diff --git a/iiTweak/English/Setup.tra b/iiTweak/English/Setup.tra index 8928502..335c99e 100644 --- a/iiTweak/English/Setup.tra +++ b/iiTweak/English/Setup.tra @@ -18,7 +18,7 @@ @18 = ~Zero Weight Items~ @19 = ~Remove Cursed Item Flag (remove information string)~ @20 = ~Remove Cursed Item Flag (maintain information string)~ -@21 = ~CursedFlagGroup~ +@21 = ~Cursed Item Tweak~ @22 = ~Cursed item equipped~ @100 = ~View Readme~ diff --git a/iiTweak/Readme-iiTweak.txt b/iiTweak/Readme-iiTweak.txt index afe425b..513c631 100644 --- a/iiTweak/Readme-iiTweak.txt +++ b/iiTweak/Readme-iiTweak.txt @@ -1,4 +1,4 @@ -iiTweak 5.00 +iiTweak 6.00 ------------ +) Contents @@ -33,7 +33,7 @@ B) No Item Exclusion This component removes the restriction of wearing similar items (e.g. with this component it is possible to wear two Rings of Protection +1). C) Equal Starting Gold - This component gives all classes an equal chance of starting the game with the same amount of gold. The amount of gold given to the player is dictated bythe formula (5d4 +1) *10. + This component gives all classes an equal chance of starting the game with the same amount of gold. The amount of gold given to the player is dictated by the formula (5d4 +1) *10. D) Raise Dead cost This component alters the cost of the "Raise Dead" spell at Temples. The cost of raising someone is now 1000 * the dead characters level (e.g. 1000gp for a level 1 character and 40,000gp for a level 40 character). @@ -93,9 +93,11 @@ If you find any errors, please let me know immediately, specifying as much as yo +) Section 5. Version History ============================= -V5 [24/09/2006] +V5 [19/11/2006] - Added Zero Weight Items - Added Remove Cursed Item Flag + - Updated to WeiDU 197 + - Added filesize checking for 'Zero Weight Items' and 'No Item Stat Requirements' components +) Section 6. Thanks to diff --git a/iiTweak/iiTweak.tp2 b/iiTweak/iiTweak.tp2 index e3eff09..5f56213 100644 --- a/iiTweak/iiTweak.tp2 +++ b/iiTweak/iiTweak.tp2 @@ -241,14 +241,16 @@ BEGIN @15 // No Item Stat Requirements BEGIN @16 COPY_EXISTING_REGEXP GLOB ~.*\.itm~ ~override~ - WRITE_BYTE 0x24 0 // Level - WRITE_BYTE 0x26 0 // Strength - WRITE_BYTE 0x28 0 // Strength Bonus - WRITE_BYTE 0x2a 0 // Intelligence - WRITE_BYTE 0x2c 0 // Dexterity - WRITE_BYTE 0x2e 0 // Wisdom - WRITE_BYTE 0x30 0 // Constitution - WRITE_BYTE 0x32 0 // Charisma + PATCH_IF (SOURCE_SIZE > 0x71) THEN BEGIN // protects against invalid files + WRITE_BYTE 0x24 0 // Level + WRITE_BYTE 0x26 0 // Strength + WRITE_BYTE 0x28 0 // Strength Bonus + WRITE_BYTE 0x2a 0 // Intelligence + WRITE_BYTE 0x2c 0 // Dexterity + WRITE_BYTE 0x2e 0 // Wisdom + WRITE_BYTE 0x30 0 // Constitution + WRITE_BYTE 0x32 0 // Charisma + END BUT_ONLY_IF_IT_CHANGES // ------------------------------------------------------------------------------------------------------------------------ @@ -261,7 +263,9 @@ BEGIN @17 // Zero Weight Items BEGIN @18 COPY_EXISTING_REGEXP GLOB ~.*\.itm~ ~override~ - WRITE_LONG 0x4c 0 // Weight + PATCH_IF (SOURCE_SIZE > 0x71) THEN BEGIN // protects against invalid files + WRITE_LONG 0x4c 0 // Weight + END BUT_ONLY_IF_IT_CHANGES // ------------------------------------------------------------------------------------------------------------------------