Widescreen mod

Code:
@GyMuMaya_0041E4F2:                          ;<= Procedure Start

        PUSH EBP                             ; coooooool
        MOV EBP,ESP
        SUB ESP,02Ch
        MOV DWORD PTR SS:[EBP-02Ch],ECX
        MOV DWORD PTR SS:[EBP-4],0100h
        MOV DWORD PTR SS:[EBP-014h],020h
        FLD DWORD PTR DS:[08DDFB8h]
        FMUL DWORD PTR DS:[0949D48h]
        CALL @GyMuMaya_0089C4DC              ;<= Jump/Call Address Not Resolved
        MOV DWORD PTR SS:[EBP-010h],EAX
        FLD DWORD PTR DS:[08DDFB4h]
        FMUL DWORD PTR DS:[0949D4Ch]
        CALL @GyMuMaya_0089C4DC              ;<= Jump/Call Address Not Resolved
        MOV DWORD PTR SS:[EBP-0Ch],EAX
        MOV EAX,DWORD PTR SS:[EBP-010h]
        IMUL EAX,EAX,018h
        ADD EAX,01Fh
        AND AL,0E0h
        SAR EAX,3
        MOV DWORD PTR SS:[EBP-018h],EAX
        PUSH 07532h
        MOV ECX,GyMuMaya_091F3780
        CALL @GyMuMaya_0042AA30              ;<= Jump/Call Address Not Resolved
        MOV DWORD PTR SS:[EBP-8],EAX
        MOV DWORD PTR SS:[EBP-01Ch],0
        JMP @GyMuMaya_0041E566

@GyMuMaya_0041E55D:

        MOV ECX,DWORD PTR SS:[EBP-01Ch]
        ADD ECX,1
        MOV DWORD PTR SS:[EBP-01Ch],ECX

@GyMuMaya_0041E566:

        MOV EDX,DWORD PTR SS:[EBP-01Ch]
        CMP EDX,DWORD PTR SS:[EBP+010h]
        JGE @GyMuMaya_0041E615
        MOV EAX,DWORD PTR SS:[EBP-01Ch]
        IMUL EAX,DWORD PTR SS:[EBP-018h]
        ADD EAX,DWORD PTR SS:[EBP+8]
        MOV DWORD PTR SS:[EBP-020h],EAX
        MOV ECX,DWORD PTR SS:[EBP-01Ch]
        SHL ECX,8
        SHL ECX,2
        MOV DWORD PTR SS:[EBP-028h],ECX
        MOV DWORD PTR SS:[EBP-024h],0
        JMP @GyMuMaya_0041E59D

@GyMuMaya_0041E594:

        MOV EDX,DWORD PTR SS:[EBP-024h]
        ADD EDX,1
        MOV DWORD PTR SS:[EBP-024h],EDX

@GyMuMaya_0041E59D:

        MOV EAX,DWORD PTR SS:[EBP-024h]
        CMP EAX,DWORD PTR SS:[EBP+0Ch]
        JGE @GyMuMaya_0041E610
        MOV ECX,DWORD PTR SS:[EBP-018h]
        IMUL ECX,DWORD PTR SS:[EBP-0Ch]
        CMP DWORD PTR SS:[EBP-020h],ECX
        JG @GyMuMaya_0041E5BA
        CMP DWORD PTR SS:[EBP-028h],08000h
        JLE @GyMuMaya_0041E5BC

@GyMuMaya_0041E5BA:

        JMP @GyMuMaya_0041E615

@GyMuMaya_0041E5BC:

        MOV EDX,DWORD PTR SS:[EBP-02Ch]
        MOV EAX,DWORD PTR DS:[EDX+0Ch]
        MOV ECX,DWORD PTR SS:[EBP-020h]
        XOR EDX,EDX
        MOV DL,BYTE PTR DS:[EAX+ECX]
        CMP EDX,0FFh
        JNZ @GyMuMaya_0041E5E9
        MOV EAX,DWORD PTR SS:[EBP-8]
        MOV ECX,DWORD PTR DS:[EAX+0112h]
        MOV EDX,DWORD PTR SS:[EBP-028h]
        MOV EAX,DWORD PTR SS:[EBP-02Ch]
        MOV EAX,DWORD PTR DS:[EAX+010h]
        MOV DWORD PTR DS:[ECX+EDX],EAX
        JMP @GyMuMaya_0041E5FC

@GyMuMaya_0041E5E9:

        MOV ECX,DWORD PTR SS:[EBP-8]
        MOV EDX,DWORD PTR DS:[ECX+0112h]
        MOV EAX,DWORD PTR SS:[EBP-028h]
        MOV DWORD PTR DS:[EDX+EAX],0

@GyMuMaya_0041E5FC:

        MOV ECX,DWORD PTR SS:[EBP-020h]
        ADD ECX,3
        MOV DWORD PTR SS:[EBP-020h],ECX
        MOV EDX,DWORD PTR SS:[EBP-028h]
        ADD EDX,4
        MOV DWORD PTR SS:[EBP-028h],EDX
        JMP @GyMuMaya_0041E594

@GyMuMaya_0041E610:

        JMP @GyMuMaya_0041E55D

@GyMuMaya_0041E615:

        MOV ESP,EBP
        POP EBP
        RETN 0Ch                             ;<= Procedure End

this function
Code:
CALL @GyMuMaya_0089C4DC

Here is render x,y float for screen! have fun with ^^
found it on main.exe version 1.7.24.0 dunno i think its Season5 episode 4:wink:
 
@mauka:

This codes are complete??? is just put in my MAIN.EXE with the corrects jumps?? and wath you wana say with "Jump/Call Address Not Resolved", is missing somethink ??
 
Okey, if its truly wide then do in - game prtsc and showme the image made by main.exe (in - game folder one)
^^

You mean something like this?

cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums
 
Last edited:
Its streched window..

Dude, your eyes are stretched. :lol:

The only thing there is not in widescreen it's the "interface" where you can see the mana, life, skills, etc, party dialog, trade dialog, etc.

Everything else is drawing at the correct size.

[]'s
 
Last edited:
Oh thats interesting.. I dont remember the last time i played mu on full screen.. i didnt think anyone did anymore.. ooh well good guide. :)
 
Hi navossoc,
How to do that? For me I can play my Season 5 & Season 6 in full wide-screen in my notebook but it is just stretch screen. And I can play full screen in 21' wide screen but it have a low resolution I mean not sharp.
 
Last edited:
Nice, but i cant get up what are you trying to do with that?
Code:
[...a few lines below...]
seg000:004B956D                 call    ds:CreateFontA  ; ---> gotcha
why you don't continue it?
replace with ? remove... ? ...

can anyone help me with fixing that main?
i find the offsets but im stuck on `CreateFontA`

Here it is:
Code:
004D461E  |. FF15 54307800             CALL NEAR DWORD PTR DS:[<&advapi32.RegCloseKey>]             ; \RegCloseKey
004D4624  |. 8B15 F81B8405             MOV EDX,DWORD PTR DS:[5841BF8]
004D462A  |. 8995 C8FCFFFF             MOV DWORD PTR SS:[EBP-338],EDX
004D4630  |. 83BD C8FCFFFF 04          CMP DWORD PTR SS:[EBP-338],4
004D4637  |. 77 79                     JA SHORT main.004D46B2
004D4639  |. 8B85 C8FCFFFF             MOV EAX,DWORD PTR SS:[EBP-338]
004D463F  |. FF2485 0C474D00           JMP NEAR DWORD PTR DS:[EAX*4+4D470C]
004D4646  |> C705 AC557B00 80020000    MOV DWORD PTR DS:[7B55AC],280
004D4650  |. C705 B0557B00 E0010000    MOV DWORD PTR DS:[7B55B0],1E0
004D465A  |. EB 56                     JMP SHORT main.004D46B2
004D465C  |> C705 AC557B00 20030000    MOV DWORD PTR DS:[7B55AC],320
004D4666  |. C705 B0557B00 58020000    MOV DWORD PTR DS:[7B55B0],258
004D4670  |. EB 40                     JMP SHORT main.004D46B2
004D4672  |> C705 AC557B00 00040000    MOV DWORD PTR DS:[7B55AC],400
004D467C  |. C705 B0557B00 00030000    MOV DWORD PTR DS:[7B55B0],300
004D4686  |. EB 2A                     JMP SHORT main.004D46B2
004D4688  |> C705 AC557B00 00050000    MOV DWORD PTR DS:[7B55AC],500
004D4692  |. C705 B0557B00 00040000    MOV DWORD PTR DS:[7B55B0],400
004D469C  |. EB 14                     JMP SHORT main.004D46B2
004D469E  |> C705 AC557B00 40060000    MOV DWORD PTR DS:[7B55AC],640
004D46A8  |. C705 B0557B00 B0040000    MOV DWORD PTR DS:[7B55B0],4B0


004D5798   . FF15 30357800    CALL NEAR DWORD PTR DS:[<&user32.UpdateWindow>]   ; \UpdateWindow

004D58CC   . FF15 84307800    CALL NEAR DWORD PTR DS:[<&gdi32.CreateFontA>]                ; \CreateFontA


640 = 1600
384 = 900

004D5837   > 81BD 18F1FFFF 00050000    CMP DWORD PTR SS:[EBP-EE8],500 => 640h
 
Hi, i'm new here.
I no understand good how make it... please need help! I want made wide my main of 0.99b version. Just 1366x768 is ok. Here the steps i follow: Open OllyDbg, i draft the main.exe to the windows of this, right click - view - and select the module called main. now right click - search for all referenced text strings. And a search manually, but i no found nothing for change the resolution :(
Too i follow the this tutorial: http://forum.ragezone.com/f196/widescreen-0-65-97d-696600/ but i continue without find it!

Please anybody tell me how is step by step, or anybody very nice to make the widescreen main?
Here the main with the all dll files in the client folder. No is my server, but i'd like play with widescreen resolution, long time ago

very much thanks! and sorry my english :$ xd
 
Last edited:
Truly Widescreen with 3D Camera DLL Project

Full wide render: 100%
Font fix: 100%
M Key Fix: 100%
3D Camera: 100%
Read config from registry: 0%
Valley of Loren render: 100%

cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


Valley of Loren full render:
cosoraro - Widescreen mod - RaGEZONE Forums


If you're interested with the project and have more ideias/fixes, please send me private message.

This project will be open source (will be shared after finish the code).

Thanks.
 
Last edited:
How about 1280x800 or 1280x720 reseolutions ? What should i do to set up one of those resolutions ?
It is possible setup any resolution if you correctly enlarge the render area. I'm working on that and probably will release an opensource solution, but it seems that nobody care about it... :(:

You can see my working project here: (Watch in full HD 1080p)
 
Truly Widescreen with 3D Camera DLL Project

Full wide render: 100%
Font fix: 100%
M Key Fix: 100%
3D Camera: 100%
Read config from registry: 0%
Valley of Loren render: 100%

cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


cosoraro - Widescreen mod - RaGEZONE Forums


Valley of Loren full render:
cosoraro - Widescreen mod - RaGEZONE Forums


If you're interested with the project and have more ideias/fixes, please send me private message.

This project will be open source (will be shared after finish the code).

Thanks.

wow really nice man. nice work!
I'd like test it, or anyway know the approximate release date. Im really interested in this project but i no have much knowledge of software programming.
You are the only one i see working to get widescreen resolution in mu online!
Greetings! I wait news xD
 
It is possible setup any resolution if you correctly enlarge the render area. I'm working on that and probably will release an opensource solution, but it seems that nobody care about it... :(:

You can see my working project here: (Watch in full HD 1080p)

Yo! Young! Hope u are still working on that :D
 
Back