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: Mouse scrolling issue


Navigation: Forums \ Rage of Mages 2


Author: romdood (snitelgood [at] yahoo [dot] com)
Date: 22-Feb-13, 00:50:45
Anyway, thanks for all the explanations, much appreciated. The process is annoying to say the least, but I'm sure that my problem is that I've not patched the game before hex editing it.
 
Author: romdood (snitelgood [at] yahoo [dot] com)
Date: 22-Feb-13, 00:48:22
I got that, but I'm not sure I did it right. What I did was:
1) view every code on 1 single line;
2) starting from the code you posted earlier, I've changed EVERY line accordingly
3) game now crashes constantly when trying to create a map.
4) uninstalled, installed again, and started the game from the Autoplay CD, on a 1024x768 resolution. The mouse scrolling speed is still very fast, but much more playable. I'm thinking that with a higher resolution, I would not have this problem...

Anyway, i couldn't patch the game to 1.10 or any other version, cause any patches I've downloaded said that they can't find the game. And since there is no autopatcher on this site... I dunno what else I could do. it's playable now, but still frustrating.
 
Author: NOVA (KINGKOTA666 [at] HOTMAIL [dot] COM)
Date: 21-Feb-13, 22:23:08
I meant to finish that last post with the following, but I hit send prematurely. So let me try ending it properly this time.



You are diplaying the entire rom2.exe program code which is in reality one continuous stream of hex pairs from beginning to end. In your case, you have your hex editor set to display the file as 32 hex pairs on each row. So once your editor reaches the 33rd hex pair, it wraps to the 2nd row and continues...and so on until it reaches the end of the rom2.exe program.

I hope that's clearer this time around.


-NOVA
 
Author: NOVA (KINGKOTA666 [at] HOTMAIL [dot] COM)
Date: 21-Feb-13, 22:14:33
Perhaps my post was unclear. Let me try again.

First, you are not searching for just a single (or even two) hex string of "FF 32" and replacing it with anything. Instead, you are changing ALL of the data that is listed in the entire patch info that I posted.

As I tried to indicate in my post, each row contains three pieces of vital information: the offset location, what you will find at that offset NOW and what you must change it to be.

Perhaps a literal example will make this clearer. The first four lines of the patch info I posted for rom2.exe are:

000064F6: 8B FF
000064F7: 8D 15
000064F8: 0C A8
000064F9: FD C0
....

This means at offset 64F6 you will find 8B in your unmodified rom2.exe file. You must replace that 8B and instead make it FF

Next line: at offset 64F7 you will find 8D You must change that to 15

Next line: at offset 64F8 you will find 0C You must change that to A8

Next line: at 64F9 you will find FD You must change that to C0


And so on, keep going all the way through the WHOLE list of edits. You must make the precise edits listed EXCEPT two lines you have latitude to vary the value you enter. These are the two highlighted lines.

0000650D: FF 32 ;;; HERE IS INTERVAL

and

000067D0: 82 32 ;;; HERE IS INTERVAL


For these two offsets, you are setting the value in milliseconds that your screen scrolling will delay. 32 in hex code translates to 50 in the decimal numbering system (so that's 50 milliseconds delay in screen scrolling). If your scroll speed is still too fast with "32", you simply re-edit those two lines using an even bigger number (in hex of course). For a 100 millisecond delay you would use 64 (because 64 in hex translates to 100 in decimal).


What you are in fact doing with all this editing is literally reprogramming ROM2. You are replacing the original machine code instructions and substituting new ones. That is literally what this patch is doing.


Regarding use of your hex editor:

Looking at your screen shot, you have your hex editor set to display 32 offsets per row. I think this hex edit process will be much clearer (at least your first time around) and make more sense to you if you change your editor to display a single offset per row (ie. a one hex pair wide column). When you do that, every single offset will explicitly appear in the left-most column display because each row will be a single offset. As you currently have it dsplayed, think of it as word-wrapping in a text editor. You are diplaying one endless stream of hex pairs. In your case, you are displaying 32 pairs on each row.

I hope that's clearer this time around.

-NOVA
 
Author: romdood (snitelgood [at] yahoo [dot] com)
Date: 21-Feb-13, 20:00:56
Ok, so used Hex Workshop to edit each of those lines starting from line 0000650D upto 000067D0 or whatever it was, and manually changed each line to correspond to that interval. I noticed some line were left unaltered... anyway, after doing that, the executable file crashes every time I try to go into a map. I've not patched the game, it's installed in its original version, and I can't find any patches online... so... I don't get it, I can only hex edit the patched exe or what? :(
 
Author: romdood (snitelgood [at] yahoo [dot] com)
Date: 21-Feb-13, 19:17:03
Unfortunately, the Hex code I get in rom2.exe is much different, so I have no idea where to change the milisecond scroll value, the hex strings FF 32 and 82 32 appear more than once...
Here is a screenshot (and therefore, my dilemma :D) :
http://img703.imageshack.us/img703/7771/rom2exe.jpg
 
Author: NOVA (KINGKOTA666 [at] HOTMAIL [dot] COM)
Date: 21-Feb-13, 15:03:47
Ok, Vladimir's web site is still down (sadly).

So here is how you manually hex edit your game to "fix" the fast scrolling speed using that information I posted earlier (a snapshot from Vladimir's web site):

Think of each row posted as three pieces of information:

1. the offset address

2. what you will find at that offset address

3. what you change it to


If it helps you visually, change your hex editor display so that it shows the offsets one byte pair per row and then the offsets in your hex editor will exactly match what you see here. In reality, the machine code is one seamless and endless hex string. Your hex editor simply allows you to display this string word-wrap fashion with as many offsets per row as you wish. Ultimately, it's still the same end-to-end single stream. The offsets are simply the distance from the file beginning (thus the term offset).

I hope that helps.
NOVA
 
Author: romdood (snitelgood [at] yahoo [dot] com)
Date: 20-Feb-13, 13:29:52
Just got ROM2 installed again and of course, I've ran into the mouse scrolling too fast issue. What I get is that you have to HEX edit the exe file. I've downloaded a free Hex editor and looked for those particular strings, but they look nowhere near the same, they look more like boxes each with 2 number in them, and the FF 32 and the 82 32 sequences appear more than one time... So... my question is, how do you fix this file again? Or better yet, does anyone have a better Hex Editor suggestion? Really wanna play it again :)
 
Author: Jack (gamemaster3000_65 [at] hotmail [dot] com)
Date: 09-Feb-13, 00:44:00
Thanks Nova! That worked perfectly.
I didn't know they controlled scroll speeds by setting a delay on touching the edge of the screen. That's pretty nifty.
 
Author: NOVA (KINGKOTA666 [at] HOTMAIL [dot] COM)
Date: 07-Feb-13, 07:20:14
Well, until Vladimir get's his Unix server working again, I did find a snapshot of his article concerning the scrolling speed. It lists the hex edit info you need to patch your rom2.exe or allods2.exe files in order to fix the scrolling speed. Perhaps that will help you patch your game. It's very long, so forgive me. I'll duplicate the info below as best I can. I hope the formatting does not get borked by pasting it to this forum thread.



Fix of too fast scrolling

Author: Vladimir Chebotarev aka ex-lend
Categories: RoM 2, Patches

Marked place is value of scrolling interval (32h == 50), in milliseconds. Set greater value for slower scrolling.

Patch for allods2.exe

allods2.exe
000064F6: 8B FF
000064F7: 8D 15
000064F8: 0C B0
000064F9: FD C0
000064FA: FF 6D
000064FB: FF 00
000064FC: 8B BA
000064FD: 51 7C
000064FE: 5C 84
000064FF: 8B 5F
00006500: 85 00
00006501: 0C 8B
00006502: FD 8D
00006503: FF 0C
00006504: FF FD
00006505: 03 FF
00006506: 50 FF
00006507: 78 2B
00006508: 8B 02
00006509: 8D 89
0000650A: 0C 42
0000650B: FD 04
0000650C: FF 3D
0000650D: FF 32 ;;; HERE IS INTERVAL
0000650E: 89 00
0000650F: 51 00
00006510: 5C 00
00006511: 8B 72
00006512: 95 25
00006513: 0C 8B
00006514: FD 51
00006515: FF 78
00006516: FF 0B
00006517: 8B 51
00006518: 42 7C
00006519: 60 85
0000651A: 8B D2
0000651B: 8D 74
0000651C: 0C 09
0000651D: FD BA
0000651E: FF 7C
0000651F: FF 84
00006520: 03 5F
00006521: 41 00
00006522: 7C 90
00006523: 8B 90
00006524: 95 01
00006525: 0C 02
00006526: FD 8B
00006527: FF 51
00006528: FF 5C
00006529: 89 03
0000652A: 42 51
0000652B: 60 78
0000652C: 8B 89
0000652D: 85 51
0000652E: 0C 5C
0000652F: FD 8B
00006530: FF 41
00006531: FF 60
00006532: 8B 03
00006533: 8D 41
00006534: 0C 7C
00006535: FD 89
00006536: FF 41
00006537: FF 60
00006539: 50 51
000067B8: 85 8D
000067BE: 88 81
000067C4: 8D 85
000067C9: 8B BA
000067CA: 95 80
000067CB: 0C 84
000067CC: FD 5F
000067CD: FF 00
000067CE: FF 83
000067CF: 8B 3A
000067D0: 82 32 ;;; HERE IS INTERVAL
000067D1: E4 0F
000067D2: 00 82
000067D3: 00 04
000067D4: 00 01
000067D5: 8B 00
000067D6: 8D 00
000067D7: 0C 90
000067D8: FD 90
000067D9: FF 90
000067DA: FF 90
000067DB: 03 8B
000067DC: 41 81
000067DD: 78 E4
000067DE: 8B 00
000067DF: 95 00
000067E0: 0C 00
000067E1: FD 03
000067E2: FF 41
000067E3: FF 78
000067E5: 82 81



Patch for rom2.exe

rom2.exe
000064F6: 8B FF
000064F7: 8D 15
000064F8: 0C A8
000064F9: FD C0
000064FA: FF 6D
000064FB: FF 00
000064FC: 8B BA
000064FD: 51 7C
000064FE: 5C 84
000064FF: 8B 5F
00006500: 85 00
00006501: 0C 8B
00006502: FD 8D
00006503: FF 0C
00006504: FF FD
00006505: 03 FF
00006506: 50 FF
00006507: 78 2B
00006508: 8B 02
00006509: 8D 89
0000650A: 0C 42
0000650B: FD 04
0000650C: FF 3D
0000650D: FF 32 ;;; HERE IS INTERVAL
0000650E: 89 00
0000650F: 51 00
00006510: 5C 00
00006511: 8B 72
00006512: 95 25
00006513: 0C 8B
00006514: FD 51
00006515: FF 78
00006516: FF 0B
00006517: 8B 51
00006518: 42 7C
00006519: 60 85
0000651A: 8B D2
0000651B: 8D 74
0000651C: 0C 09
0000651D: FD BA
0000651E: FF 7C
0000651F: FF 84
00006520: 03 5F
00006521: 41 00
00006522: 7C 90
00006523: 8B 90
00006524: 95 01
00006525: 0C 02
00006526: FD 8B
00006527: FF 51
00006528: FF 5C
00006529: 89 03
0000652A: 42 51
0000652B: 60 78
0000652C: 8B 89
0000652D: 85 51
0000652E: 0C 5C
0000652F: FD 8B
00006530: FF 41
00006531: FF 60
00006532: 8B 03
00006533: 8D 41
00006534: 0C 7C
00006535: FD 89
00006536: FF 41
00006537: FF 60
00006539: 50 51
000067B8: 85 8D
000067BE: 88 81
000067C4: 8D 85
000067C9: 8B BA
000067CA: 95 80
000067CB: 0C 84
000067CC: FD 5F
000067CD: FF 00
000067CE: FF 83
000067CF: 8B 3A
000067D0: 82 32 ;;; HERE IS INTERVAL
000067D1: E4 0F
000067D2: 00 82
000067D3: 00 04
000067D4: 00 01
000067D5: 8B 00
000067D6: 8D 00
000067D7: 0C 90
000067D8: FD 90
000067D9: FF 90
000067DA: FF 90
000067DB: 03 8B
000067DC: 41 81
000067DD: 78 E4
000067DE: 8B 00
000067DF: 95 00
000067E0: 0C 00
000067E1: FD 03
000067E2: FF 41
000067E3: FF 78
000067E5: 82 81
 
Author: Jack (gamemaster3000_65 [at] hotmail [dot] com)
Date: 06-Feb-13, 21:03:14
Well, that wasn't any more useful than http://allods.homeunix.org... I was kinda looking for a site that actually worked. I already found one that doesn't.
 
Author: Shilov (xkonst [at] e1 [dot] ru)
Date: 04-Feb-13, 20:51:50
www.allods2.eu
 
Author: Jack (gamemaster3000_65 [at] hotmail [dot] com)
Date: 27-Jan-13, 19:29:56
I looked at the other places that fix this issue and they all point to http://allods.homeunix.org.
However, everytime I try to open it to get the fix, it doesn't work. I'm thinking the site was taken down? Is there anyway to still get the scroll fix. Thanks!
 
^top