Get a List out of Weidu?

Started by Rabain, February 22, 2007, 04:33:23 PM

Previous topic - Next topic

Rabain

This might be a bit cheeky but can someone tell me and provide code if possible how to get weidu to generate a list with the following criteria.

ItemResRef----ItemName(0x000c)----DescriptionBamResRef (0x0058)

Is this even possible or if somebody already has this would you please send a copy my way?

devSin

COPY_EXISTING_REGEXP GLOB "^.+\.ITM$" "override"
PATCH_IF (SOURCE_SIZE > 0x72) BEGIN
  READ_STRREF 0xc name
  READ_ASCII 0x58 bam
  PATCH_PRINT "%SOURCE_RES%----%name%----%bam%"
END
BUT_ONLY_IF_IT_CHANGES
In Mac OS X, I'd simply redirect output to a file (weidu list.tp2 > ~/Desktop/list.txt); for Windows, you may just have to copy from the DOS terminal (assuming it allows copy/paste). Note that if the identified name isn't set, WeiDU will print <Invalid StrRef -1>, and nothing will display for %bam% if the BAM isn't assigned (i.e., there is no description BAM set).

Rabain

#2
No worries, thanks.

The guys helped me out here : http://forums.gibberlings3.net/index.php?showtopic=9576

devSin


Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name:
Email:
Shortcuts: ALT+S post or ALT+P preview