Help - Search - Members - Calendar
Full Version: Get a List out of Weidu?
The Black Wyrm's Lair - Forums > Mod development resources & discussion > Modder's Workshop
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
CODE
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
No worries, thanks.

The guys helped me out here : http://forums.gibberlings3.net/index.php?showtopic=9576
devSin
I saw that. I was still first. :D
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.