Jump to content


Photo

Extract Kit


  • Please log in to reply
8 replies to this topic

#1 weimer

weimer
  • Member
  • 1569 posts

Posted 07 May 2003 - 03:47 PM

A Kit Extraction feature is now available. This was roughly five time more annoying to code up than I thought it would be, so everyone who asked for it just ran out of "weidu feature credit" and is in fact somewhat in the hole.

The general plan is

weidu --extract-kits 1 --textout MyKitmod.tp2 --out kitmod

All kits with ids >= 1 will be extracted. Required resources will be put in the kitmod directory. Grep through MyKitmod.tp2 and look for FIXME, which indicates areas where WeiDU could not find the required information. Presumably you would want to fix those by hand.

I'm sure that there will be "two or three" bugs in this vastly annoying feature, so let me know here if you find some. :-)

[ As an aside, it seems that WeiDU features these days divide evenly between "features that are easy to implement but that you should not use" and "features that are difficult to implement but that should be used." ]

#2 Bhasbuto

Bhasbuto
  • Member
  • 6 posts

Posted 07 May 2003 - 04:32 PM

Have I said how grateful am I? Then, I say it again: LOTS OF THANKS TO YOU!!!!!!!!!!  :) :) :)

#3 -jcompton-

-jcompton-
  • Guest

Posted 07 May 2003 - 06:11 PM

A Kit Extraction feature is now available. This was roughly five time more annoying to code up than I thought it would be, so everyone who asked for it just ran out of "weidu feature credit" and is in fact somewhat in the hole.

Um. I would like to disclaim that I was only reminding you of the feature request from others. Although I am clearly the deepest in the hole for my career, I'd hate to shovel that extra load of dirt on. :)

#4 japheth

japheth

    Codewalker

  • Member
  • 317 posts

Posted 07 May 2003 - 06:24 PM

I'm just glad that my features are "easy" to implement.

Although I do admit I pushed for the ADD_KIT way back. ^_^
Check out BG1Tutu.

#5 weimer

weimer
  • Member
  • 1569 posts

Posted 07 May 2003 - 07:22 PM

:-) OK, I didn't mean to sound like I was fishing for praise or attacking Jason.

B, don't thank me until it works. JC, don't worry -- you have a separate ledger. J, you admit it? You're going down! Kidding.

In general, features along the lines of "I'd like more ways to end a chain!" or "can we assign to variables?" are easy to deal with. Features like --traify, --forceify, --extract-kits, --make-biff, --automate: those tend to be very annoying. I personally don't care about them, I tend not to truly understand why people want them, most of them are designed to kludge problems that I would rather design away from the onset, and they all tend to involve a lot of picayune details.

#6 -jcompton-

-jcompton-
  • Guest

Posted 07 May 2003 - 07:56 PM

JC, don't worry -- you have a separate ledger.

Yes, I know. :) I'll update my tutorials sometime soon, really.

Features like --traify, --forceify, --extract-kits, --make-biff, --automate: those tend to be very annoying. I personally don't care about them, I tend not to truly understand why people want them, most of them are designed to kludge problems that I would rather design away from the onset, and they all tend to involve a lot of picayune details.


Well, things like --automate, --extract-kits and --traify were in part developed for the (hopefully) one-time purpose of breaking non-WeiDU (or clumsily-designed WeiDU) mods out of their former state.

HOWEVER, it does turn out that in a lot of cases designing your TP2/D to be hard-coded and then traifying it is actually quicker than building the .tra as you go. It's come in handy for the flirt packs, where I sometimes have dialogue that's either repeated, or sometimes KINDA similar but not really, so keeping track of which one was which and what needs to be changed and what needs to be kept the same is a pain. So I develop the base .d hard-coded, then traify it.

So I'm saying that --traify is actually a time-saver in the long run, not just for fixing horrifyingly bad Kelsey-SOA code.

#7 Immortality

Immortality

    Love Boat Captain

  • Member
  • 1616 posts

Posted 08 May 2003 - 01:59 AM

You all can blame myself, Mho and Bhas. And thanx Jason for adding "pls add Kit Extractor!!!!!!" emails to Wes' mailbox, we really appreciate it, and in the end, all that harassment worked like a charm :D :D :P
CLAN DLAN, your friendly neighborhood spanish community. Woo!

I am a retired translator. If you need my assistance, or need somebody to translate something for you, you can send me a PM. I don't check SHS regularly. Thanks!! : D

#8 Dyara

Dyara
  • Member
  • 262 posts

Posted 08 May 2003 - 04:14 AM

Thanks, Wes :)

We will definitely use this feature for RtW :). We have only one kit to extract but even then it might save a lot of time (mostly because none of us has experience in both kits and WeiDU) but perhaps not that much as you spend on developing the feature.

#9 Mhoram

Mhoram

    Dlan´s Great Inquisitor

  • Member
  • 34 posts

Posted 08 May 2003 - 05:31 AM

All people in Clan DLAN love Wes, Wes is the best, all glory to Wes. :D :D .

You all can blame myself, Mho and Bhas


Can I really do that?? :P.

Altough, I think we have ask you a lot of features with no special importance in WeiDU mods, like make-tlk or traify-tlk, but when translating Mods, and converting it to WeiDU format ... well, probably without this features we coldn´t translate some very big. I really think this features make WeiDU the best tool for modders. A lot of work, we know, but .... You are Wes, the allpowered God of Dlan´s peopleĦĦĦĦĦĦĦĦ

:D :D :D :D :D :D :D :D :D :D :D