Edited by Almateria, 18 April 2013 - 08:20 AM.
#41
Posted 18 April 2013 - 08:20 AM
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)
#42
Posted 19 April 2013 - 01:55 AM
-Y-
'Go for the optics, Chiktikka. GO FOR THE OPTICS!!' - Tali vas Neema
DLTCEP Tutorials Update Page
DLTCEP Tutorials Main Page
Yovaneth's AI Scripts for BG1, BG2-SoA and IWD1
Fishing for Trouble - a quest mod for Shadows of Amn
#43
Posted 03 May 2013 - 04:18 PM
I uploaded a new version. New stuff:
- Deril isn't supposed to die so fast on the first meeting
- He's got a new shiny horn
- Also I guess you don't need the fixpack anymore
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)
#44 -PutridWalker-
Posted 04 May 2013 - 03:17 AM
Nice to see new versions being made of this
Has anyone tried this in a BWP environment yet? Does it work well?
#45
Posted 04 May 2013 - 05:03 AM
Nice to see new versions being made of this
Has anyone tried this in a BWP environment yet? Does it work well?
It installs just fine in BWP expert install, topic here. I haven't played it though.
CHARNAMEs excellent adventures in the world of BWP expert-install here
Thanks to Leonardo Watson for making this possible
#46
Posted 08 May 2013 - 10:29 PM
Hey, I have the BG2 Fixpack installed, but I'm getting an error trying to install the first component of this mod. Something about missing area something or other. Any idea what could be causing this?
Edit: Checked again: specifically something about an illegal 6-byte write to ar2700. my gut says, Ascension issue?
Edited by weewuh, 09 May 2013 - 02:05 AM.
#47
Posted 09 May 2013 - 08:23 AM
Almateria, stuff like this is a super-bad idea:
COPY_EXISTING ~worldmap.wmp~ ~override~ WRITE_ASCII ~41452~ ~ar2700~ WRITE_ASCII ~41668~ ~ar2700~ WRITE_LONG ~41492~ 50 WRITE_LONG ~41708~ 50
You can't rely on stuff outside the file header to be static like that. If mod X was installed before your mod and added one or more WMP areas, all your offsets would be off by an unknown amount. Likewise, if something was removed, you could end up writing out-of-bounds. Best case scenario would be that the installation failed with an error, but your mod could just as well end up silently corrupting whatever file it was writing to.
You need to read the foo offset and foo count (areas and links in this case) and navigate the file structure that way. The length of foo is always the same (but bar could obviously have a different length) and can be looked up in the IESDP or calculated with the help of NI. You can use static offsets within the file header (the very first part of the file).
#48
Posted 10 May 2013 - 10:32 AM
You need to read the foo offset and foo count (areas and links in this case) and navigate the file structure that way. The length of foo is always the same (but bar could obviously have a different length) and can be looked up in the IESDP or calculated with the help of NI. You can use static offsets within the file header (the very first part of the file).
idgi
Seriously I only have the faintest idea of what you said.
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)
#49
Posted 10 May 2013 - 01:12 PM
idgiWell, simply put, you need something like this:
Seriously I only have the faintest idea of what you said.
OUTER_SET area_length = 0xf0 OUTER_SET link_length = 0xd8 OUTER_SPRINT encounter_area ar2700 OUTER_SET encounter_probability = 50 COPY_EXISTING worldmap.wmp override READ_LONG 0x30 area_count READ_LONG 0x34 area_offset READ_LONG 0x38 link_offset READ_LONG 0x3c link_count FOR (i = 0; i < area_count; ++i) BEGIN current_area_offset = area_offset + i * area_length READ_ASCII current_area_offset area_name PATCH_IF "%area_name%" STRING_EQUAL_CASE ar1800 BEGIN PATCH_FOR_EACH node IN 0 3 2 1 BEGIN // 0 is North, 1 is West, etc. READ_LONG current_area_offset + 0x50 + node * 0x8 link_index READ_LONG current_area_offset + 0x54 + node * 0x8 link_count FOR (j = 0; j < link_count; ++j) BEGIN current_link_offset = link_offset + (link_index + j) * link_length WRITE_ASCIIE current_link_offset + 0x2c "%encounter_area%" #8 WRITE_LONG current_link_offset + 0x54 encounter_probability END END i = area_count // we're done END END BUT_ONLY(Assuming you want to add the encounter to all links from ar1800.)
#50
Posted 10 May 2013 - 04:24 PM
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)
#51
Posted 11 May 2013 - 02:38 PM
Okay Wisp I used your code and I think it works. I did the same for the ToB random encounter because why not. Thanks!
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)
#52
Posted 21 June 2013 - 03:34 PM
Did some bug fixing this time.
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)
#53
Posted 27 September 2013 - 08:22 PM
Line 1480 in setup-arestorationp.tp2:
ACTION_IF (~%LANGUAGE%~ STRING_COMPARE_CASE ~Polski~) THEN BEGIN
should either be:
ACTION_IF (~%LANGUAGE%~ STRING_EQUAL_CASE ~Polski~) THEN BEGIN
OR
ACTION_IF (~%LANGUAGE%~ STRING_COMPARE_CASE ~Polski~ = 0) THEN BEGIN
... because
Cryptic weidu operators FTW!
"I am the smiley addict, yellow and round, this is my grin when I'm usually around .
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"
BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST
GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod
#54
Posted 29 September 2013 - 04:50 PM
When you save Viconia, one of her captors called "Fanatic" has a wrong voice for moral failure. He screams "ah, i have failed him!" in a woman's voice.
Also, yeah, Reliev speaks a few phrases in Polish, happened to me as well.
#55
Posted 29 September 2013 - 06:37 PM
Lines 692 and 697 in the TP2 should be exchanged to fix the cultist sex change on damage and morale failure
"I am the smiley addict, yellow and round, this is my grin when I'm usually around .
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"
BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST
GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod
#56
Posted 10 October 2013 - 03:33 PM
I fixed those things. Sorry for being super late but I had pretty much no access to a computer lately
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)
#57
Posted 10 October 2013 - 05:08 PM
v3.4 seems to have an extra undocumented component that's missing the component name (@1000 is missing from setup.tra)
"I am the smiley addict, yellow and round, this is my grin when I'm usually around .
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"
BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST
GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod
#58
Posted 10 October 2013 - 05:43 PM
No it doesn't, shush!!!!!!!!!!!
(It was the first half of some code I was working on a few months ago, it was supposed to incorporate the ruined Saradush icon)
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)
#59
Posted 11 October 2013 - 08:47 AM
But thing is... you haven't commented out this WIP component so the installation fails before it even starts
"I am the smiley addict, yellow and round, this is my grin when I'm usually around .
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"
BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST
GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod
#60
Posted 11 October 2013 - 09:03 AM
It's not in the public version anymore anyway so what's the big deal
Actual stuff: Almateria's Restoration Project | Icewind Dale 2 Fixpack + Restorations
Skips: Hell Recollection | Fake Import Mod
Assorted tweaks from when I was 14: Alma Tweaks (macOS)