============================================================================
                           Castle of the Winds
                                Hex Cheat
                              Version 1.41b
============================================================================
Hello everyone! This FAQ is the first I made, and it's not really my best
work. But it was in sore need of a facelift and minor revisions (namely
contact information), so here you go.

This FAQ contains the hex values for various character data in the save
files for Castle of the Winds. This should work for both the shareware
(episode 1) and the commercial/abandonware (episode 2).
============================================================================
What's New:

v1.41 - Minor modification to ensure attributes update correctly.
v1.40 - Removed e-mail contact information. To contact me about this FAQ,
 please visit my website and click on "Feedback" to see what my current
 e-mail address is. Hopefully, using this method, I no longer have to
 update this FAQ every time a mail server stops offering services or I
 switch ISPs.

============================================================================
One item of important note is availability permissions. I now only allow my
FAQs to be used on www.gamefaqs.com. See below for details.

Also important is that I removed a lot of data that involves how to actually
hex-edit has been removed. My early attempt at instruction were rather poor,
and I don't feel like writing an updated version.

DO NOT ASK ME TO HEX EDIT ANY FILES FOR YOU! I will not do so. Similarly,
DO NOT ASK ME TO SEND YOU CASTLE OF THE WINDS! I kept getting people asking
me for the full version, and that's a big no-no. Castle of the Winds is
commercial software. Because it's no longer supported, and is old, it can
possibly be considered Abandonware. You might be able to find an Abandon-
ware archive somewhere on the web, but don't ask me to help you. You're on
your own.

Please do not contact me unless it specifically deals with my FAQ.
============================================================================
How to Use This Guide:

This guide is formatted for 76-character lines. A maximised Notepad in
640 x 480 resolution should display it properly.
============================================================================
Availability on the Web:

This guide may be used freely on the following web site(s):

www.gamefaqs.com

This guide may not be used on ANY other web site, and I will probably not
grant permission to allow it to be done. Why? Because if I update it, I
don't want to have to search out every single old copy of it to fix it. That
wastes my time. Any other site that does have it is probably using an old
and outdated copy.
============================================================================
Legal Crap:

Simply put, you may not use, publish, edit, alter, or publish any edits or
alterations in any format, for profit or non-profit purposes, without my
written permission. This guide is freeware, and no part of it may be used in
any formats (written or electronic) in any media that requires a purchase,
even if you gain no profit from that purchase. In laymen's terms...don't try
and copy my work, then try and sell it, claiming it as your own.

Also, I take no responsibility for any damage done to you, your machine,
your goldfish, your dog, your sanity, your home life, your social life,
your sex life...you get the point. Use At Your Own Risk. ©2002 Wyrenth.
============================================================================
And now, on with the show!

The first thing you're going to need is a hex editing program. I use a
program called AXE, but you're free to use whatever you like. You may also
want to use the Advanced properties of Windows Calculator for converting
decimal values to hex and vice versa.

It's also reccomended you back up your .cwg file before you edit it, in case
you make a mistake.

Before I go on, I should point out that there is a Shareware program for DOS
called UGE (Universal Game Editor) that does an excellent job, with the
correct plug-in, in editing your save files. That more or less makes this
FAQ obsolete. Still, in case you can't find it, that's what my FAQ is for.

You can find the Castle of the Winds UGE Module at the following site:

http://personal.tmlp.com/overkill/uge/uge.htm  -- as of April 2002.

Please note that this is not the author of UGE, so be sure not to bug them
with questions. It's an old page (circa 1998) so it's entirely likely that
the author's e-mail is sorely outdated anyway. Oh, and don't ask me how to
use UGE either.
----------------------------------------------------------------------------
- Memory Locations -

Below are the locations for the various stats in the game.


[Description] [Location]  [Multiplier]
Current HP   - 0094 0095 - x1 x256
Maximum HP   - 0096 0097 - x1 x256
Current Mana - 0098 0099 - x1 x256
Maximum Mana - 009A 009B - x1 x256

This essentially allows a maximum HP/MP of 65535.
----------------------------------------------------------------------------
[Description] [Location]  [Multiplier]
Blue STR     - 0080      - x1
Blue INT     - 0081      - x1
Blue CON     - 0082      - x1
Blue DEX     - 0083      - x1
Green STR    - 0084      - x1
Green INT    - 0085      - x1
Green CON    - 0086      - x1
Green DEX    - 0087      - x1

This allows for a maximum of 255 for any stat. However, values above 100
do not seem to be calculated. Thus it is best if you max these values at
100 (Hex: 64) instead.

HOWEVER, your attributes may not update other affected ones (such as
Strength affecting your ability to carry, Constitution affecting HP, etc)
unless they are updated with an enchanted item. For this reason, you should
limit your maximum attribute to 99 (Hex: 63). In this manner, you can force
an update by equipping an enchanted item of relevant effect.
----------------------------------------------------------------------------
[Description] [Location]            [Multiplier]
Experience   - 009E 009F 00A0 00A1 - x1 x256 x65536 x16777216
            - 00A2 00A3 00A4 00A5 - x1 x256 x65536 x16777216

This allows for a maximum of ... well, a LOT of Experience. IT IS IMPORTANT
THAT BOTH VALUES BE SET TO THE SAME AMOUNT FOR THIS TO WORK! Also, it is
reccomended that you set it to about 10 experience LESS than what you need
to go up a level. Otherwise, you may not be able to learn a new spell.
----------------------------------------------------------------------------
[Description] [Location]  [Multiplier]
Armor Class  - 00A6 00A7 - x1 x256

This allows for a maximum of 65535. Normally, when you have no armor on,
your AC is 0. However, if you set this value manually, then remove your
armor, your 'naked' armor class will not be 0. The game subtracts the
value of the armor from your current AC value rather than re-calculate it.
In this effect, you can raise your 'naked' armor class. Re-equipping armor
afterwards adds instead of recalculates, so it won't reset the value.
----------------------------------------------------------------------------
MONEY MONEY MONEY!

What would a cheat sheet be without the value for money?

Unfortunately, the game changes where your money is located every time you
save the game. This will guide you toward finding the value you need to
edit so you can be Fabulously Wealthy. It's a little more complex, though.

First, the value in memory is the amount of coins in your Purse. Note, the
value in memory IS NOT THE AMOUNT OF COPPER LISTED IN YOUR CHARACTER SHEET!
The game adds up all of your coin when it displays it in the character
sheet. Use the value in your PURSE, which can be found in the Items screen.

There are four kinds of coins (Copper, Silver, Gold, and Platinum) plus one
coin "type" in memory that signifies the amount of money in the bank. Each
coin type has four bytes that signify how many coins of that type you have.

You can right click your Purse to see how much of each coin you posess. Use
the Copper listed there as a search reference, convert that to hexadecimal,
and run a search for that value in the hex editor.

Note, you may run into more than one occurance of that value. If this
happens, you'll have to try each one until you find the correct value. You
can do this by altering the save, remembering what the old value was (you
can always write it down on a scrap paper), re-loading your save in the
game, and seeing if the edit worked. If there are just too many values for
you to search through, try altering the amount of Copper you have.

Be careful not to add too many coins unless you are near a bank. Remember,
coins in your purse add to your encumbrance, and if you add too many, you'll
end up with 0% Speed!

Once you have found the location for Copper, you can easilly find the
location for Silver, Gold, and Bank with the chart below.

For convienence, this chart lists 16 bytes to a row. There are 18 bytes
between coin types. CC=Copper, SS=Silver, GG=Gold, PP=Platinum, BB=Bank.
The "--" mark indicates the value does not effect money (and it is not
reccomended that you alter them).

CC CC CC CC -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- SS SS SS SS -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- GG GG GG GG
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- PP PP PP PP -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- BB BB
BB BB

Coin:  x1 x256 x65536 x16777216

Here's the exchange rate if you want a certain amount.
10 Copper   = 1 Silver
100 Copper  = 1 Gold
1000 Copper = 1 Platinum

Special thanks to Pazsint for having the locations on her page so I didn't
have to count them in my hex editor. :) Unfortunately, Pazsint's page is
no longer on the web, so that resource is no longer available.
============================================================================
Finishing notes

Okay, really, this is the last, final, I'm-not-updating-this-anymore version
of this FAQ! I've removed my e-mail from this FAQ to prevent spambots and
people with the Klez Virus (or similar viruses) from sending me garbage.

If you want to contact me, you will have to go to my website and click on
"Feedback" to see what my e-mail address is. Make sure you can view .gif
images in your browser, since it's not plain text. The only time I should
ever have to update this FAQ again is if V3 domain hosting goes under.

Feel free to contact me if you find inaccuracies or mistakes, but please do
not contact me asking to hex-edit a saved game, or tell you how to hex edit,
or ask me to send you the commercial version even though you can't find it
anywhere.

Wyrenth
============================================================================
Version History

04/09/2017 v1.41b 11.2 KB - Site no longer active. Cleaned up document.
04/17/2003 v1.40  10.7 KB - Removed e-mail contact information--use website.
08/01/2002 v1.30  10.5 KB - Updated contact information
04/04/2002 v1.20  10.5 KB - Complete re-write.
03/07/1999 v1.10  11.9 KB - Revision, changed money FAQ, added UGE info.
??/??/???? v1.00  ??.? KB - Initial Release
============================================================================