Page 1 of 3 123 LastLast
Results 1 to 20 of 47

Thread: Some findings about model's level of detail

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Some findings about model's level of detail

    Following memory address are from v1.8.0 Build 8891.481024

    [Rome2.dll+1FCAB04]=A [A+715B4]=B
    Normally B is zero, meaning that all model's LoD change with respect to their distance from camera.
    By changing B to certain value N, all model would be forced to use its Nth level of model regardless of its distance from camera.
    For example, setting B to 1 can force all model to be their level-1 model(the best), 2 to level-2 model(2nd best), etc.
    Maybe those panoramic pictures from CA are taken with B set as 1, I guess?

    Unit detail setting determines several range value about soldier model, but those value are also used for other purpose.
    [Rome2.dll+1E374F8]=C
    C is zero by default. Changing C to 1 would enable a group of range value about soldier model, regardless of unit detail setting.
    Some value from that group are as follows:
    [Rome2.dll+1E3A398]=100 (3D infantry model range)
    [Rome2.dll+1E38440]=150 (3D cavalry model range)
    [Rome2.dll+1E36CA8]=250 (3D elephant model range)
    [Rome2.dll+1E38808]=75 (better 3D elephant model range)
    (NOTE: If setting B to 1 and C remains 0, all range value about soldier model would become 10000.)

    Setting both B&C as 1 can make all objects their best model and soldier model within range being the best.
    You can also adjust those soldier model range so that fps don't drop too much.

  2. #2
    Inevitability won
    Patrician Citizen

    Join Date
    Mar 2010
    Posts
    9,594

    Default Re: Some findings about model's level of detail

    Do you have an example image? I'm tempted to try this just to see the effect.

  3. #3
    SenseiJT92's Avatar Semisalis
    Join Date
    Jun 2011
    Location
    Merseyside, United Kingdom
    Posts
    491

    Default Re: Some findings about model's level of detail

    I will test this, my rig could handle such extremities, however which file/fields do I edit?

  4. #4

    Default Re: Some findings about model's level of detail

    Quote Originally Posted by Death from Anon View Post
    I will test this, my rig could handle such extremities, however which file/fields do I edit?
    Those are memory address. After Rome 2 has been started, you can edit value in those address using any memory editting tool such as CheatEngine.

    As much as I'd like to post images, for some reason I can't upload attachment file at the moment. I will keep trying.

  5. #5

    Default Re: Some findings about model's level of detail

    Seems like I can only upload attachment using basic uploader. But anyway, I took two pictures from the seige of Capua.
    First image is default, and second image is with all model forced to be level-1(the best).
    Attached Thumbnails Attached Thumbnails 5.jpg   6.jpg  

  6. #6
    SenseiJT92's Avatar Semisalis
    Join Date
    Jun 2011
    Location
    Merseyside, United Kingdom
    Posts
    491

    Default Re: Some findings about model's level of detail

    Quote Originally Posted by ysl View Post
    Seems like I can only upload attachment using basic uploader. But anyway, I took two pictures from the seige of Capua.
    First image is default, and second image is with all model forced to be level-1(the best).
    Yes my friend! That looks brilliant..! You can certainly tell the change in detail... unfortunately though the trees look worse in the second photo, did you change the values right?

    I'll get on mine now! :3

  7. #7
    GussieFinkNottle's Avatar Domesticus
    Join Date
    Jun 2013
    Location
    Britain
    Posts
    2,239

    Default Re: Some findings about model's level of detail

    Quote Originally Posted by ysl View Post
    Seems like I can only upload attachment using basic uploader. But anyway, I took two pictures from the seige of Capua.
    First image is default, and second image is with all model forced to be level-1(the best).
    Any pics of troops at a distance?
    How was your lag?
    A home without books is a body without soul - Marcus Tullius Cicero

    If you rep me, please leave your name. Thx

  8. #8
    SenseiJT92's Avatar Semisalis
    Join Date
    Jun 2011
    Location
    Merseyside, United Kingdom
    Posts
    491

    Default Re: Some findings about model's level of detail

    I have the program + the .dll file open but I'm struggling to see the codes you mentioned? i.e. [Rome2.dll+1FCAB04] etc...

  9. #9

    Default Re: Some findings about model's level of detail

    Quote Originally Posted by Death from Anon View Post
    I have the program + the .dll file open but I'm struggling to see the codes you mentioned? i.e. [Rome2.dll+1FCAB04] etc...
    Let me put this in detail:
    1.run the game
    2.go back to desktop and run any memory edit tool. I will use CheatEngine here as an example.
    3.use the tool to select&attach to the process of Rome2.exe
    4.find the memory address of module Rome2.dll. I suggest using "add address manually" and input "rome2.dll" in address box.
    5.add 1FCAB04 to that address, get the 4-byte data stored there.
    6.use the aquired data as a memory address and add 715B4 to it. That is where B is stored.

  10. #10

    Default Re: Some findings about model's level of detail

    They look different but i wouldn't say one looks better then the other.

    And the second one definitely doesnt look worth -20 fps better.
    ----------------------
    Shameless DarthMod Fanatic

  11. #11
    SenseiJT92's Avatar Semisalis
    Join Date
    Jun 2011
    Location
    Merseyside, United Kingdom
    Posts
    491

    Default Re: Some findings about model's level of detail



    Okay sometimes I am unable to load the .dll file due to this error message? Any idea? Is it possible you could make a tutorial on how to run the program with this game and which values edit which? I've never used a program of this nature but I am willing to learn so that I can post some epic screenshots

  12. #12
    Inevitability won
    Patrician Citizen

    Join Date
    Mar 2010
    Posts
    9,594

    Default Re: Some findings about model's level of detail

    Hm, it halved your FPS, interesting. The difference in quality is definitely noticeable. However I feel this would only be worthwhile to perform on the soldiers.

  13. #13

    Default Re: Some findings about model's level of detail

    Just took some screenshots on soldiers. To be honest, I can't say it brings major improvement on graphics...
    (pics with lower fps are of the best quality soldier model)
    Attached Thumbnails Attached Thumbnails 10.jpg   9.jpg   8.jpg   7.jpg  

  14. #14
    Inevitability won
    Patrician Citizen

    Join Date
    Mar 2010
    Posts
    9,594

    Default Re: Some findings about model's level of detail

    Rome2.dll + 1FCAB04 always equals zero. It's never an address for me.

    Are you sure you've given us the right address? Are you using an illegal copy or anything like that?

  15. #15

    Default Re: Some findings about model's level of detail

    Quote Originally Posted by .Mitch. View Post
    Rome2.dll + 1FCAB04 always equals zero. It's never an address for me.

    Are you sure you've given us the right address? Are you using an illegal copy or anything like that?
    All address are obtained from version 1.8.0 Build 8891.481024, and different version will almost surely have different address.
    If you have updated your game to patch 8.1, then I am afraid that is the reason. In this case, you can locate the address storing B through the following way.

    Change the unit detail setting and search for its corresponding value. (low=0, medium=1, high=2, very high=3, ultra=4, extreme=5)
    You may end up with several result address, but only one of them is real. Try editting the value in each of them and the real one shows actual change in the graphic setting manu.
    Subtract that address by 4Ch and that's where B is stroed.

  16. #16
    Inevitability won
    Patrician Citizen

    Join Date
    Mar 2010
    Posts
    9,594

    Default Re: Some findings about model's level of detail

    Quote Originally Posted by ysl View Post
    Subtract that address by 4Ch and that's where B is stroed.
    Subtract by 4Ch? I don't think that's even possible you can't have h in a hex number.

  17. #17

    Default Re: Some findings about model's level of detail

    Quote Originally Posted by .Mitch. View Post
    Subtract by 4Ch? I don't think that's even possible you can't have h in a hex number.
    I am sorry for this misleading expression. I meant to say "subtract by 4C", and the following h is to emphasize that it is hex number.
    I am no expert of these stuff and have no idea what is academically correct.

  18. #18

    Default Re: Some findings about model's level of detail

    Quote Originally Posted by ysl View Post
    you can locate the address storing B through the following wayÖ

    Change the unit detail setting and search for its corresponding value. (low=0, medium=1, high=2, very high=3, ultra=4, extreme=5)
    You may end up with several result address, but only one of them is real. Try editting the value in each of them and the real one shows actual change in the graphic setting manu.
    Subtract that address by 4Ch and that's where B is stroed.
    I managed to change the unit detail following the instructions above for the current version. Unfortunately, using 1 for the highest LOD for all units, creates severe performance issues, even on my machine with a 7700K@5Ghz and 1080Ti in SLI.
    @1080p FPS gets lower than 20FPS, lol. It seems to be a single core CPU/memory bottleneck related to shadow calculation. When setting the shadows to Low, performance improves considerably.
    More useful would probably be to find a way to prevent the sprite LOD and leaving the higher LODs on auto-mode.
    Last edited by A Barbarian; November 15, 2017 at 01:50 PM.

  19. #19
    Dynamo11's Avatar Domesticus
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,209

    Default Re: Some findings about model's level of detail

    Well this does indeed explain how CA could get those gorgeous panoramic shots. Set model to the highest, script a battle and camera views, record the battle and speed it up to 24FPS and then select the best screenies


  20. #20
    Biarchus
    Join Date
    Dec 2012
    Location
    Denmark
    Posts
    641

    Default Re: Some findings about model's level of detail

    Nice find!

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •