Other sitesPhantasia GameBlitzkriegWoW RP ProfilerRage of Mages

HomeAbout the GameHistory
ArticlesCheatsEncyclopedia


Phantasia.nl - Rage of Mages 2

Editor HelpPicturesFiles
Hat ServersLinksForum

Menu  Register  Login

Topic: Hex Workshop, and the world.res file


Navigation: Forums \ Rage of Mages 2


Author: Stone (Stone_FVS3 [at] live [dot] com)
Date: 14-Jul-10, 03:44:31
okay thanks. im moving on to the other items now, wish me luck
 
Author: NOVA (KINGKOTA666 [at] HOTMAIL [dot] COM)
Date: 13-Jul-10, 19:05:06
If the values already there for 50,000 gp for the fireball spell book are: 50 C3 then the numbers are in LITTLE-ENDIEN (meaning the least significant digits are listed first). If so, then any numbers which require more than 2 byte pairs must extend to the RIGHT of the existing numbers. For example, with the fireball spell book pricing you had:

00 50 C3 00 00 50,000 gp

You will want to replace that with:

00 A0 86 01 00 100,000 gp


If you wanted that to be 30 million gold cost then you replace that with:

00 80 C3 C9 01

Notice that I had to go into 4 byte pairs now, but the number still STARTS from the same position in the file because this is the lowest significant digit for the number no matter how big or small the number might be.

-NOVA
 
Author: Stone (Stone_FVS3 [at] live [dot] com)
Date: 13-Jul-10, 05:55:39
sry 4 the double post. I was in the process of figuring all teh changes for the price of spells and when i got to Fireball the price is 50,000gp. I want it to be 100,000gp now the code at 50,000 is (50 C3) and at 100,000 it is (A0 86 01) now the Ao 86 replace the 50 C3 but will adding the 01 mess up the game? or will adding it in place of the adjacent 00 work?
 
Author: Stone (Stone_FVS3 [at] live [dot] com)
Date: 13-Jul-10, 05:55:16
sry 4 the double post. I was in the process of figuring all teh changes for the price of spells and when i got to Fireball the price is 50,000gp. I want it to be 100,000gp now the code at 50,000 is (50 C3) and at 100,000 it is (A0 86 01) now the Ao 86 replace the 50 C3 but will adding the 01 mess up the game? or will adding it in place of the adjacent 00 work?
 
Author: Stone (Stone_FVS3 [at] live [dot] com)
Date: 13-Jul-10, 00:40:42
SO i found it and changed it from C0 C6 2D to 80 8D 5B. then went into the game and checked it, and it worked. the data is listed in big-endien. so If i wanted could i change what monsters dropped from the world res or is that randomly generated?
 
Author: NOVA (KINGKOTA666 [at] HOTMAIL [dot] COM)
Date: 12-Jul-10, 20:37:38
I'm nowhere near my notes (which are at home) so forgive me if my memory is fuzzy on this.

The world.res file consists of about 7 or 8 major sections of data. Each section begins with an ASCII listing of all sub-headings which is essentially a format for the information which follows in that section. For instance, in the ITEMS section you will find a template listing each piece of data that exists for a complete item entry. By using that template, you can get pretty close to the right location in the file for where the COST is located because the cost numbers will be just so many spaces past the NAME of each item. Now that you are looking it about the right spot, you can further pinpoint the exact spot by working backward from the known current cost. Perhaps a generic example would help:

Let's say you wish to change the cost of a book of Teleport spell (which is normally 3 million gold). Use the scientific calculator which came with your WINDOWS Operating System

- enter in 3,000,000
- hit the HEX button

Displayed now should be 2DC6C0

Now comes the part I don't remember. I can't recall if the world.res file has it's data listed in little-endien or big-endien byte pair ordering format. Since I can't remember, I'll list it both ways and you can see for yourself which format is there.

Look for the HEX number near where you think the COST should be:

2D C6 C0
- OR -
C0 C6 2D

Now, you simply replace that with whatever you want the new cost to be. Be VERY careful NOT to insert or delete data, you are REPLACING. If you
do move any data, the ROM2 game will not be able to make sense of the world.res file anymore because it is serching a specific location in that file for the necessary info.


So let's say you wanted Teleport Book to really cost 6,000,000 gold. Replace with:

5B 8D 80
- OR -
80 8D 5B

(again depending upon byte pair ordering used in the world.res file which I cannot remember right now).


Hopefully this cryptic answer helps. I'd give a more specific response if I had access to my notes or could remember the specific details better.

Good luck.

-NOVA
 
Author: Stone (Stone_FVS3 [at] live [dot] com)
Date: 12-Jul-10, 19:54:01
I have downloade Hex Workshop, with the intent of changing certain aspects of my world.res file I want to make the items in the game more expensive, and such but I find that I have no Idea what to do, so I will of course be experimenting with the numbers, but I would like it if someone would shed some light on how to find the right HEX decimal to change so it will be the price and not the damage or something.

-Stone
 
^top