Page 1 of 1

usecode bug fixes...

Posted: Fri Mar 07, 2003 2:44 am
by gruck
Has the Exult team ever considered creating a page full of the various usecode bug fixes made by the team and other members. Maybe actually include the download for usecode function 0495, to make it easy for other people to download and compile with the new usecode.
Would give me a place to put that liqueur fix too...

Or would this constitute too much of a legal risk for the team?

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 4:34 am
by artaxerxes
isn't this absolutely hilarious! I've actually made a page yesterday holding EXACTLY this information in the CVS tree.

Update your tree and look at docs/usecode_bugs.txt

Artaxerxes

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 8:15 am
by gruck
I read that page... so thats what got me thininking..

I thought it would be swell if the actual compiled .wuc file was available to download, along with a text fle explaining all changes made. This would make it really easy for anyone to share their usecode edtted bug fixes. Avoids the trouble of decompiling, editting, then compiling them again and in ensures that you don't muck up the editting process. And since the files are so small they'd be a quick and easy download and with an included text file a person can see exactly what changes were made.

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 8:17 am
by gruck
oh yeah, on a side note, whats the command to actually save the files when you decompile with wud.exe I've forgotten how to save and I can't seem to find that info anywhere in the Exult CVS. I get a readout but I want to save as an independent file.

I mean, the Exult CVS is huge, its hard to find anything despite how well its organized.

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 8:21 am
by wjp
Just redirect it into a file using >

wud [whatever options you need] > filename

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 8:44 am
by gruck
The fact that you need to use the ">" should really be included in the wud.exe instructions when you just run wud by itself.

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 8:53 am
by wjp
Why? This is just DOS syntax. wud has nothing to do with it.

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 8:56 am
by gruck
O.K. I hate to keep spamming your message board, but irc.openprojects.net seems to be down right now.

When I type,
"wud 04fa.uco 04fa.uc"

I get a full readout of the decompiled usecode, when I type,

"wud 04fa.uco > 04fa.uc"

the 04fa.uc file generated is always just a header file, 81 bytes.

I'm sure its something simple, but I'm not a programmer of any sorts.

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 9:00 am
by wjp
It's irc.freenode.net now. (they changed their name)


wud also needs a function number argument, IIRC, or -a for 'all functions'.

So:

wud 04fa.uco -a > 04fa.uc


The reason 'wud 04fa.uco 04fa.uc' works is probably because it's interpreting 04fa.uc as the number 04fa.

Re: usecode bug fixes...

Posted: Fri Mar 07, 2003 9:04 am
by gruck
o.k. thanks.