|
||
|
|||||||
| Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
Join Date: Aug 2009
Age: 34
Posts: 97
|
Is anyone having issue with the play window sticking at 640x480?
I updated and seems that the Window size can not change from 640 x 480 to 800 x 600... Last edited by AlphaDragon; 02-03-2010 at 05:46 AM. |
|
|
|
|
|
#8 (permalink) | |
|
Lurker
Join Date: Mar 2004
Posts: 15
|
Quote:
*Disclaimer, I'm no disassembly expert* ![]() ![]() Basically, the width and height are around the wrong way now, so the comparison is never equal, if it did 'PUSH ECX' at 0x00557FF4, it would work, I've changed it to PUSH ECX in memory and it sets the resolution correctly. |
|
|
|
|
|
|
#9 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 26
Posts: 4,890
|
Impressive, evilgoat-hybrid.
Too bad I don't have any build or disassembly tools installed in Windows.
__________________
Zippy, Razor Creator and RunUO Core Developer The RunUO Software Team "Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal." ~The Cryptonomicon |
|
|
|
|
|
#11 (permalink) |
|
Lurker
Join Date: May 2008
Age: 26
Posts: 1
|
Here is an easy way to do it, step by step:
1) Download Cheat Engine from: Cheat Engine 2) Install it and run it 3) Run Razor 4) IMPORTANT!!! As soon as the UO client starts, in the login screen, switch to Cheat Engine. 5) Click the upper left button to open a running program and choose "client.exe" and press Open. 6) Click "Add address manually" - In the Address field put: 00557FF4 - In the Description put whatever you want - In the Type select Byte - Pointer should be not selected 7) Click OK 8) Check the checkbox under "Frozen" column 9) Doubleclick the value under Value column, there should be a value 80 or 50 ( if in hexadecimal ). As soon as you double click the value you may edit it. If there was 50, put 51. If there was 80, put 81. 10) Enjoy your 800x600 client! ![]() |
|
|
|
|
|
#12 (permalink) |
|
Lurker
Join Date: Feb 2010
Posts: 3
|
Well the easiest way to get rid of the problem is to open the crypt.dll with a hex editor and manually change the je @1b3d into a fixed jmp
Search for "7416C70080020000" And replace it with "EB16C70080020000" Actually only the 7416 part is the jump if equal which jumps 16 bytes forward if the comparsion @1b30 is equal to 0x320 (800 decimal) The "C70080020000" part is only because it should make sure that you find the correct offset in the file (1B3D) If you changed the JE to a JMP correctly, you should also have no problems with the game window resizing bug after you apply a setting within the uo client anymore. |
|
|
|
|
|
#13 (permalink) | |
|
Lurker
Join Date: Mar 2004
Posts: 15
|
Quote:
Search for '817C240420030000' Change it to '817C240458020000' Then change the '7416' below it to '7E16'. 7E = JLE After options menu closes EAX=2, but when you goto the login screen, EAX = some memory address. |
|
|
|
|
|
|
#14 (permalink) | |
|
Lurker
Join Date: Feb 2010
Posts: 3
|
Quote:
|
|
|
|
|
|
|
#15 (permalink) | |
|
Lurker
Join Date: Mar 2004
Posts: 15
|
Quote:
'After options menu closes EAX=2, but when you goto the login screen, EAX = some memory address.' So after options, JLE is called, on logout EAX=some high number, so doesnt jump. |
|
|
|
|
|
|
#16 (permalink) | |
|
Lurker
Join Date: Feb 2010
Posts: 3
|
Quote:
I prefer some black rubbish around my log in box and a working options functionality without the client resizing down to 640x480 when I apply some settings or create new in game macros. But either way, you did some nice effort in finding the resolution function and thanks for the screenshots of the debugger since I don't have a dasm tool installed. EDIT: Nevermind... my hex editor didn't run in administrator mode and the changes weren't saved / I didn't get a failure message. Your fix works like you intended ![]() Changes to the forced game size in razor can now also be applied without logging out and and back in. You just need to hit apply in the in game options menu... That's some pretty nice bug fixing Another Edit: While the jle fix does work for the 7.0.5.0 client, it doesn't work for the old client because the change to '817C240458020000' switched the resolution check from 0x2003 (03 20 means 800 in decimal) to 0x5802 (02 58 means 600 in decimal) which causes the game window size to start with 640x480 because osi switched the order of the resolution like you've found out. To get the wanted game size resolution it's needed to hit "apply" in the ingame options every time uo is beeing restarted or live with some black rubbish around the log in box and use the jmp instead of jle. Last edited by DASavant; 02-09-2010 at 03:25 PM. |
|
|
|
|
|
|
#17 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 29
Posts: 6,076
|
Its been reported in more then 3 threads now. Zippy is gone, I'll tell Mark about it, but no promises.
__________________
Jeff Boulanger ConnectUO - Creator/Core Developer ConnectUO Swag/Merchandise Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
#18 (permalink) | |
|
Lurker
Join Date: Mar 2004
Posts: 15
|
Quote:
|
|
|
|
|
|
|
#19 (permalink) |
|
Lurker
Join Date: Feb 2010
Posts: 2
|
What about those of us who go above and beyond 800x600? I run at 1152x864. Oops was unchecked.
Never had a problem I could not figure out, but thank you, I registered now, and greetings from me. All fixed. Do I need to run cheat engine until Razor is updated? |
|
|
|
|
|
#20 (permalink) |
|
Newbie
Join Date: Feb 2005
Age: 32
Posts: 43
|
You'll prob want to at each startup ya, small hassle for a large screen. With cheat engine, you can save the changed value locations and give them an name so you have them at your hands at each startup. Simply apply the new values, then fire away.
|
|
|
|
|
|
#21 (permalink) | |
|
Lurker
Join Date: Feb 2010
Posts: 2
|
Quote:
I just cant put my finger on it though. |
|
|
|
|
|
|
#22 (permalink) |
|
Lurker
Join Date: Mar 2004
Posts: 15
|
Just to be clear though, the correct fix that Zippy/Mark should do...
![]() Razor overwrites the client's original function with that, if they do 'MOV EAX, [ESP+4]', before the push eax/etc (there is room for it), it'll correctly work on all clients, and the options bug will be gone. |
|
|
|
|
|
#24 (permalink) | |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 26
Posts: 4,890
|
Quote:
Thanks to Mark for Building, Testing, and Releasing. Thanks to my disassemblers in this thread for making this possible without having UO isntalled or a disassembler.... or even a windows VM. Some comments in the code indicated that it was supposed to have a mov eax, [esp+4] in there... I'm not sure why it ended up commented out. :-P
__________________
Zippy, Razor Creator and RunUO Core Developer The RunUO Software Team "Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal." ~The Cryptonomicon |
|
|
|
|
|
|
#25 (permalink) | |
|
Forum Novice
Join Date: Jan 2010
Location: In Gisela's Basement
Posts: 115
|
Quote:
I <3 Mark. and I <3 Zippy for just making razor when he was a Junior in high school. I'm a junior in high and well... let's just say I would rather die. :P |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|