Jump to content

Photo

[fixed] Can't Patch Kitlist


15 replies to this topic

#1 Milamber

Milamber
  • Members
  • 8 posts

Posted 28 March 2006 - 07:15 PM

Installing the core component fails because divine remix is unable to patch the kitlist.2da. It works if I use the original 2da. So my question is what is wrong with my Kitlist.

2DA V1.0
*
ROWNAME ROWNAME LOWER MIXED HELP ABILITIES PROFICIENCY UNUSABLE CLASS
0 RESERVE * * * * * * *
1 BERSERKER 25179 25151 25201 CLABFI02 29 0x00000001 2
2 WIZARD_SLAYER 25180 25152 25203 CLABFI03 30 0x00000002 2
3 KENSAI 25181 25153 25204 CLABFI04 31 0x00000004 2
4 CAVALIER 25182 25154 25206 CLABPA02 32 0x00000008 6
5 INQUISITOR 25184 25155 25207 CLABPA03 33 0x00000010 6
6 UNDEAD_HUNTER 25185 25156 25208 CLABPA04 34 0x00000020 6
7 FERALAN 25186 25157 25209 CLABRN02 35 0x00008000 12
8 STALKER 25187 25158 25211 CLABRN03 36 0x00010000 12
9 BEASTMASTER 25188 25159 25212 CLABRN04 37 0x00020000 12
10 ASSASIN 25189 25160 25213 CLABTH02 38 0x00040000 4
11 BOUNTY_HUNTER 25190 25161 25215 CLABTH03 39 0x00080000 4
12 SWASHBUCKLER 25191 25162 25216 CLABTH04 40 0x00100000 4
13 BLADE 25192 25164 25217 CLABBA02 41 0x00200000 5
14 JESTER 25193 25165 25219 CLABBA03 42 0x00400000 5
15 SKALD 25194 25166 25220 CLABBA04 43 0x00800000 5
16 TOTEMIC_DRUID 25198 25171 25224 CLABDR02 44 0x08000000 11
17 SHAPESHIFTER 25199 25173 25225 CLABDR03 45 0x10000000 11
18 BEAST_FRIEND 25200 25174 25227 CLABDR04 46 0x20000000 11
19 TALOS 25195 25168 25221 CLABPR02 47 0x01000000 3
20 HELM 25196 25169 25222 CLABPR03 48 0x02000000 3
21 LATHANDER 25197 25170 25223 CLABPR04 49 0x04000000 3
22 ABJURER 597 502 9564 CLABMA02 21 0x00000040 1
23 CONJURER 2179 504 9565 CLABMA06 22 0x00000080 1
24 DIVINER 2846 2012 9566 CLABMA05 23 0x00000100 1
25 ENCHANTER 2861 2022 9567 CLABMA09 24 0x00000200 1
26 ILLUSIONIST 2862 12785 9568 CLABMA08 25 0x00000400 1
27 INVOKER 3015 12786 9569 CLABMA07 26 0x00000800 1
28 NECROMANCER 12744 12787 9570 CLABMA03 27 0x00001000 1
29 TRANSMUTER 12745 12788 9571 CLABMA04 28 0x00002000 1
30 WILDMAGE 54893 54894 54892 CLABMA01 52 0x80000000 1
31 BARBARIAN 45855 45859 45869 CLABFI05 51 0x40000000 2
32 MOON_KNIGHT 74780 74781 74782 CLABMKNT 53 0x00004000 6
33 PRIEST_OF_ILMATER 74783 17640 74784 CLABCLIL 54 0x00004000 3
34 CHARMING_ROGUE 74108 74109 74110 CLABCHRG 55 0x00004000 4
35 PRIEST_OF_SYLVANUS 74118 74119 78092 CLABSYPR 56 0x00004000 11
36 BARD_OF_MELODY 74302 74303 74304 CLABBA05 57 0x00004000 5
37 PRIEST_OF_TEMPUS 84667 77975 84668 CLABCLTM 58 0x40000000 3
38 FENCE 89431 89431 89432 CLABFNCE 59 0x00080000 4
39 FIREWALKER 116134 116135 116136 CLABFRWK 60 0x00004000 2
40 trueres 30530 30530 9561 CLABTH01 61 0x00004020 4
41 truequi 30530 30530 9561 CLABTH01 62 0x00004000 4
42 truequF 30530 30530 9561 CLABEMPT 63 0x00004000 4
43 assatF 30320 30320 30320 CLABEMPT 64 0x00004000 4
44 assatw 30320 30320 30320 CLABTEMP 65 0x00004000 4
45 bountF 25190 25161 25215 CLABEMPT 66 0x00004000 4
46 bountw 25190 25161 25215 CLABTH03 67 0x00004000 4
47 swashtF 25191 25162 25216 CLABEMPT 68 0x00100000 4
48 swashtw 25191 25162 25216 CLABTH04 69 0x00100000 4
49 bersetF 25179 25151 25201 CLABEMPT 70 0x00000001 2
50 bersetw 25179 25151 25201 CLABFI02 71 0x00000001 2
51 kensatF 25181 25153 25204 CLABEMPT 72 0x00000004 2
52 kensatw 25181 25153 25204 CLABFI04 73 0x00000004 2
53 talostF 25195 25168 25221 CLABEMPT 74 0x01000000 3
54 talostw 25195 25168 25221 CLABPR02 75 0x01000000 3
55 helmtF 25196 25169 25222 CLABEMPT 76 0x02000000 3
56 helmtw 25196 25169 25222 CLABPR03 77 0x02000000 3
57 lathtF 25197 25170 25223 CLABEMPT 78 0x04000000 3
58 lathtw 25197 25170 25223 CLABPR04 79 0x04000000 3
59 magetw 30497 30497 9563 CLABEMPT 80 0x00004000 1
60 bladetw 25192 25164 25217 CLABBLTW 81 0x00200000 5
61 shaptw 25199 25173 25225 CLABSHTW 82 0x10000000 11
62 shaptF 25199 25173 25225 CLABEMPT 83 0x10000000 11

P.S. i so desired I could email the original 2da which surely is easier to read.

#2 the bigg

the bigg

    The Avatar of F/Ts

  • Modders
  • 2337 posts
  • Gender:Male
  • Location:Modena (Italy)

Posted 29 March 2006 - 03:20 AM

You should install Refinements after Divine Remix, although I don't know if that is what causes the bug.
Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.

#3 Milamber

Milamber
  • Members
  • 8 posts

Posted 29 March 2006 - 05:39 AM

I changed the installation order and now it works fine.

It is strange though... well it doesn't really matter as long as it works. ;)

#4 Guest_Alfaran_*

Guest_Alfaran_*
  • Guests

Posted 29 March 2006 - 02:52 PM

I encountered same problem about Divine remix core component and solution (uninstalling refinements) worked OK
but now I get this bug
[/QUOTE]
[./override/ALIGNMNT.2da] loaded, 5975 bytes
ERROR: [ALIGNMNT.2da] -> [override/ALIGNMNT.2da] Patching Failed (COPY) (Invalid_argument(_))
Stopping installation because of error.

ERROR Installing [Druid Remix], rolling back to previous state
[QUOTE]
It is different 2da file, but it look like similar problem of a sort
(now I am just prosiding without druid remix? but may be it will be important for somebody)

#5 Milamber

Milamber
  • Members
  • 8 posts

Posted 02 April 2006 - 11:22 AM

An easy "solution" for the problem is to remove the tp2 part which modifies alignment.2da. The modifications can be made quite easily manually, as it just allows a wider number of alignments for druids.

#6 Guest_Erik_*

Guest_Erik_*
  • Guests

Posted 02 April 2006 - 12:45 PM

I encountered same problem about Divine remix core component and solution (uninstalling refinements) worked OK
but now I get this bug

[./override/ALIGNMNT.2da] loaded, 5975 bytes
ERROR: [ALIGNMNT.2da] -> [override/ALIGNMNT.2da] Patching Failed (COPY) (Invalid_argument(_))
Stopping installation because of error.

ERROR Installing [Druid Remix], rolling back to previous state

It is different 2da file, but it look like similar problem of a sort
(now I am just prosiding without druid remix? but may be it will be important for somebody)

<{POST_SNAPBACK}>


Quick and hopefully correct fix:

Open the setup-divineremix.tp2 file in a text editor.
At line 7431, change:

FOR (index = 2 ; index < 11 ; index = index + 2) BEGIN

to:

FOR (index = 2 ; index < 9 ; index = index + 2) BEGIN

... worked for me.

#7 Bursk

Bursk
  • Members
  • 425 posts
  • Location:Wales

Posted 16 April 2006 - 07:41 AM

Hey, Erik, that worked for me as well. I used be unable to install Druid Remix, but now all is well. index < 9 for teh win!

#8 Azazello

Azazello

    The Anti-Spammer

  • Modders
  • 557 posts
  • Gender:Male
  • Location:New York City (via Nairobi, Kenya {via Orlando [via ... 0_o] })

Posted 17 April 2006 - 02:51 PM

It did not work for me; neither did REM'ing out the code block that modifies ALIGNMNT.2da. :) I had to use the semi-official "Install Divine Mix first, then Refinements" solution.

I was getting an error something about "int_of_string". Didn't keep the debug log.

Edited by Azazello, 17 April 2006 - 02:52 PM.

Der Tag beginnt in der Mittel am Nacht, immer. -- Peter Wendl
================================================================
Community Contributions
Level 1 NPCs * gMinion: expanded TP2 for MegaInstalls * PSM (PSQM): expanded scripts for Melanthium * Weimer's-Tactics: revised TP2 for MegaInstalls * non-detectable Cloak of Non-Detection ?? * Shar Nadal (DSotSC-BGT) revision


#9 Andyr

Andyr

    HELLO EVERYBODY

  • Retired Gibberlings
  • 4534 posts
  • Gender:Male
  • Location:Oxford, UK

Posted 18 April 2006 - 04:21 AM

So you're saying The Bigg's advice worked, or did not work?
Since you're here, download G3 mods please...

Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"

The most reliable way to get hold of me is via email (button when viewing my profile).

#10 Azazello

Azazello

    The Anti-Spammer

  • Modders
  • 557 posts
  • Gender:Male
  • Location:New York City (via Nairobi, Kenya {via Orlando [via ... 0_o] })

Posted 18 April 2006 - 09:57 PM

So you're saying The Bigg's advice worked, or did not work?

It worked - I actually read this first before reading 'ggib eht' post above.

#11 Andyr

Andyr

    HELLO EVERYBODY

  • Retired Gibberlings
  • 4534 posts
  • Gender:Male
  • Location:Oxford, UK

Posted 19 April 2006 - 03:38 AM

Ah, glad it worked.
Since you're here, download G3 mods please...

Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"

The most reliable way to get hold of me is via email (button when viewing my profile).

#12 the bigg

the bigg

    The Avatar of F/Ts

  • Modders
  • 2337 posts
  • Gender:Male
  • Location:Modena (Italy)

Posted 27 April 2006 - 09:28 AM

Investigated the Refinements + DR problem as well. Due to some mysterious bug in Refinements (well, I wrote it, but...), a Ref install has a wrong kitlist file:

             ROWNAME     	 ROWNAME     	 LOWER       	 MIXED       	 HELP          ABILITIES   	 PROFICIENCY 	 UNUSABLE      CLASS
0           	 RESERVE     	 *           	 *           	 *           	 *           	 *           	 *           	 *
1           	 BERSERKER   	 25179       	 25151       	 25201       	 CLABFI02      29            0x00000001    2            

Notice the double ROWNAME at the beginning. Unfortunately, you can't simply REPLACE_TEXTUALLY, because, for some reason (bug/feature in Weimer code in SET_2DA_NOW, to be precise), there's an extraneous tab character in the file, which will be removed in 193 of WeiDU. For now, install Refs after DR.
Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.

#13 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Gibberling Poobah
  • 9751 posts
  • Gender:Not Telling

Posted 27 April 2006 - 10:07 AM

Is there a way to match tabs with current WeiDU regexps? This is an issue I've encountered in another context. Perhaps something similar to the \n chicanery?

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.


#14 the bigg

the bigg

    The Avatar of F/Ts

  • Modders
  • 2337 posts
  • Gender:Male
  • Location:Modena (Italy)

Posted 27 April 2006 - 10:11 AM

Theoretically you should be able to use \t to match tabs; however, it doesn't appear to work.

EDIT: use this workaround: http://dev.gibberlin...g_.5Cn_in_WeiDU. The ASCII code for \t is 09, so use
OUTER_INNER_PATCH ~1~ BEGIN
  WRITE_BYTE 1 0x09
  READ_ASCII 1 tab (1)  // 0x09, tab
END
BLA_BLA

REPLACE_TEXTUALLY ~ASD[%tab% ]*FOO~ ~NEW~

Edited by the bigg, 27 April 2006 - 10:15 AM.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.

#15 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Gibberling Poobah
  • 9751 posts
  • Gender:Not Telling

Posted 27 April 2006 - 10:52 AM

Excellent. </mr burns>

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users