All addresses for v83 resolution change

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 58
  1. #16
    Enthusiast Hoxia is offline
    MemberRank
    Feb 2016 Join Date
    30Posts

    Re: All addresses for v83 resolution change

    Is it possible to separate login section and in-game section(800x600 in login section and 1920x1080 in in-game section)?

  2. #17
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by Hoxia View Post
    Is it possible to separate login section and in-game section(800x600 in login section and 1920x1080 in in-game section)?
    Quote Originally Posted by Eric View Post
    Why not start with the two most important ones? Unless you have figured out how to backport adjustable resolutions from DX9, you need to initialize the Gr2D interface to your new resolution so that the backbuffer is properly updated.
    To answer your question though: yes, I've done this for Phoenix and uwu. Basically everything stays default 800x600, but when you enter in-game it re-adjusts and re-calculates all offsets and dimensions to your custom resolution. Then, when you go back to the login screen (or even the Cash Shop), it will re-adjust back to 800x600.

    However, there's two important things to note with this: First, you cannot do this with a localhost. It is required to have a DLL for your client if you want to make this possible. Second, and most importantly, v89+ clients have updated Gr2D support and you can just call the same functions that v95 does (this is what Croosade does and what I do with uwu, for example). Buuuut, if you're using a pre-v89 client, then you have to backport Gr2D resolution adjusting functions in order for it to work (this is what I do with Phoenix).

  3. #18
    Enthusiast Hoxia is offline
    MemberRank
    Feb 2016 Join Date
    30Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by Eric View Post
    To answer your question though: yes, I've done this for Phoenix and uwu. Basically everything stays default 800x600, but when you enter in-game it re-adjusts and re-calculates all offsets and dimensions to your custom resolution. Then, when you go back to the login screen (or even the Cash Shop), it will re-adjust back to 800x600.

    However, there's two important things to note with this: First, you cannot do this with a localhost. It is required to have a DLL for your client if you want to make this possible. Second, and most importantly, v89+ clients have updated Gr2D support and you can just call the same functions that v95 does (this is what Croosade does and what I do with uwu, for example). Buuuut, if you're using a pre-v89 client, then you have to backport Gr2D resolution adjusting functions in order for it to work (this is what I do with Phoenix).
    Should I call CWvsContext::SetScreenResolution to re-adjust client's resolution?

  4. #19
    Proficient Member Mr mr is offline
    MemberRank
    Mar 2013 Join Date
    167Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by Eric View Post
    To answer your question though: yes, I've done this for Phoenix and uwu. Basically everything stays default 800x600, but when you enter in-game it re-adjusts and re-calculates all offsets and dimensions to your custom resolution. Then, when you go back to the login screen (or even the Cash Shop), it will re-adjust back to 800x600.

    However, there's two important things to note with this: First, you cannot do this with a localhost. It is required to have a DLL for your client if you want to make this possible. Second, and most importantly, v89+ clients have updated Gr2D support and you can just call the same functions that v95 does (this is what Croosade does and what I do with uwu, for example). Buuuut, if you're using a pre-v89 client, then you have to backport Gr2D resolution adjusting functions in order for it to work (this is what I do with Phoenix).
    It would be very nice if you could teach us how to do it with v83

  5. #20
    Enthusiast EdoTense is offline
    MemberRank
    May 2019 Join Date
    26Posts

    Re: All addresses for v83 resolution change

    if i understand, we need change this 2 adress with dll for your values of 800 x 600 if click cs button. Correct @Erick?

    0x009F7B1D + 1 = screenHeight
    0x009F7B23 + 1 = screenWidth

  6. #21
    Member Feras is offline
    MemberRank
    Jan 2019 Join Date
    50Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by Hoxia View Post
    Should I call CWvsContext::SetScreenResolution to re-adjust client's resolution?
    That function doesn't exist in older versions (since old versions don't have multiple resolutions lol) but yeah that's what the higher version clients use to change resolutions. As Eric said, you'd need to mess with the Gr2D methods and do all the necessary resolution changes (relocating UI, map rendering stuff, etc) while the game is running - in other words, you need to write your own version of CWvsContext::SetScreenResolution compatible with your version (along with all the functions called inside it). Definitely more complicated than the current resolution edits that were released, but I did it for v83 and Eric did it for a couple other versions so it's definitely possible.

  7. #22
    Enthusiast Hoxia is offline
    MemberRank
    Feb 2016 Join Date
    30Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by Feras View Post
    That function doesn't exist in older versions (since old versions don't have multiple resolutions lol) but yeah that's what the higher version clients use to change resolutions. As Eric said, you'd need to mess with the Gr2D methods and do all the necessary resolution changes (relocating UI, map rendering stuff, etc) while the game is running - in other words, you need to write your own version of CWvsContext::SetScreenResolution compatible with your version (along with all the functions called inside it). Definitely more complicated than the current resolution edits that were released, but I did it for v83 and Eric did it for a couple other versions so it's definitely possible.
    Thanks! and how can I adjust position of the cashshop preview window?
    I think it should be at CWvsPhysicalSpace2D::Load

  8. #23
    Member Feras is offline
    MemberRank
    Jan 2019 Join Date
    50Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by Hoxia View Post
    Thanks! and how can I adjust position of the cashshop preview window?
    I think it should be at CWvsPhysicalSpace2D::Load
    IIRC all cash shop stuff was createwnd, createlayer, etc... the same sort of stuff you'd use to edit other parts of the game for res. I don't have it documented since I use 800x600 for cash shop but it definitely wasn't "CWvsPhysicalSpace2D::Load" since that's used for loading normal maps as well (it loads footholds mainly).

  9. #24
    Enthusiast eren123 is offline
    MemberRank
    Sep 2013 Join Date
    39Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by Eric View Post
    Why not start with the two most important ones? Unless you have figured out how to backport adjustable resolutions from DX9, you need to initialize the Gr2D interface to your new resolution so that the backbuffer is properly updated.
    Code:
    // CWvsApp::InitializeGr2D
    0x009F7B1D + 1 = screenHeight
    0x009F7B23 + 1 = screenWidth
    I still wish to keep these things private, so I will only note one last thing -- this is missing a memory allocation fix for generating application screenshots. This one I noticed was also missing in MapleMS as well (probably others too), so when you try to generate a screenshot it does nothing.
    Code:
    // CScreenShot::SaveFullScreenToJpg
    0x00744DA6 + 1 = 4 * screenWidth * screenHeight


    Update the two addresses I posted above to your new screen dimensions and your client will then open in those dimensions. Feel free to also use the additional address to fix a screenshot saving memory allocation problem.
    Much appreciated for your sharing !

  10. #25
    Anime Network NTV is offline
    MemberRank
    Sep 2008 Join Date
    /home/nyaatvLocation
    1,854Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by EdoTense View Post
    I meke I did everything and changed all addresses except these :
    0x008D1790 + 2 = 1u
    0x0089B636 + 2 = 1u
    0x00592A06 + 1 = 1u
    0x0062121E + 1 = 1u
    0x0089B636 + 2 = 1u
    0x00A5FC2B = 5u
    What would "U" be?
    My client stayed like this:
    https://imgbbb.com/image/fpgTG
    https://imgbbb.com/image/fp9J2

    the window was the same size. Attributes have moved but window has not increased
    Sorry for the bump guys I have the same issue can anyone dumb this down for me? I'm very new to address changing also have no idea how to write a dll, I just simply edited the addresses from ollydbg

    However the whole 1u 2u 5u doesn't make sense to me as well so I skipped those addresses, I'm guessing that's why?

  11. #26
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by NTV View Post
    Sorry for the bump guys I have the same issue can anyone dumb this down for me? I'm very new to address changing also have no idea how to write a dll, I just simply edited the addresses from ollydbg

    However the whole 1u 2u 5u doesn't make sense to me as well so I skipped those addresses, I'm guessing that's why?
    You should read my reply to that post. Also, for those unaware, the "u" simply defines the value as "unsigned". This doesn't mean anything here though, you can just change them to 1 in olly (I highly suggest using a DLL however).

  12. #27
    Kaotic Owner resinate is offline
    MemberRank
    Oct 2005 Join Date
    no mans landLocation
    2,376Posts

    Re: All addresses for v83 resolution change

    any luck with boss HP bars at all? and maybe a way to lower the bar under the server MSG bar?

  13. #28
    Account Upgraded | Title Enabled! Angxl is offline
    MemberRank
    Sep 2016 Join Date
    United StatesLocation
    217Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by resinate View Post
    any luck with boss HP bars at all? and maybe a way to lower the bar under the server MSG bar?
    What do you mean with the bar under the server message bar?

  14. #29
    Master of lurking Kimberly is offline
    ModeratorRank
    Jul 2012 Join Date
    The NetherlandsLocation
    1,092Posts

    Re: All addresses for v83 resolution change

    Quote Originally Posted by Angxl View Post
    What do you mean with the bar under the server message bar?
    I highly assume right now the boss bars (such as zakum/horntail) overlap on top of the server announcement message at the top of the screen and he wants to change that

  15. #30
    Kaotic Owner resinate is offline
    MemberRank
    Oct 2005 Join Date
    no mans landLocation
    2,376Posts

    Re: All addresses for v83 resolution change

    yes and maybe even change player stat window to be alot wider lol u cant even see stats fully lol

    - - - Updated - - -

    yea thats what im asking about, also im trying to make stat windows alot wider i found this so far tho

    main stat window:
    175x347
    2ndary stat window:
    177x200

    thats all i got tho



Page 2 of 4 FirstFirst 1234 LastLast

Advertisement