Jump to content

8 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Hello :)

I'm new to SC4 modding and I was wondering if there was a performance difference between the classic overwriting of an exemplar, and the exemplar patching of an exemplar ?
My exemple: I've got 30 custom building exemplars that overwrite Maxis files, would the performance (be it at launching the game, loading the city, or running the simulation) be any better, even fractionally, if all those were exemplar patching ?

Also does running Startup Performance Optimization DLL come into this ? Like maybe reduce the performance difference between 'old schoo'l overwrite and exemplar patching ?

Thanks in advance. (I hope I posted this at the right place, I did my best to find the most relevant forum, plus a few searches)

  • Like 1

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
2 minutes ago, Lokiness said:

(I hope I posted this at the right place, I did my best to find the most relevant forum, plus a few searches)

( It certainly looks like a good spot to me. *:ohyes: )

And while I don't know the answer to your primary questions, I'll follow along so I can learn too.

  • Like 1

Chance favors the prepared mind. ― Louis Pasteur  
Remember, a few hours of trial and error can save you several minutes of looking at the README. -- I Am Devloper (on Twitter)

Clickable ---> The Best of Cori's Posts  (scroll down a wee bit there)    Something fun: MySimtropolis - Invitation to become a SimCity 4 MySim

Are you new here? Check out the Introduction and Guide to Simtropolis.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
1 hour ago, Lokiness said:

Hello :)

I'm new to SC4 modding and I was wondering if there was a performance difference between the classic overwriting of an exemplar, and the exemplar patching of an exemplar ?
My exemple: I've got 30 custom building exemplars that overwrite Maxis files, would the performance (be it at launching the game, loading the city, or running the simulation) be any better, even fractionally, if all those were exemplar patching ?

Also does running Startup Performance Optimization DLL come into this ? Like maybe reduce the performance difference between 'old schoo'l overwrite and exemplar patching ?

Thanks in advance. (I hope I posted this at the right place, I did my best to find the most relevant forum, plus a few searches)

Startup Performance Optimization DLL optimizes the game's loading phase, but the performance boost depends heavily on the computer's performance and the number of mods.

There isn't really any difference between Exemplar Patch and the classic override in terms of loading times, but Exemplar Patch is definitely recommended because it avoids directly modifying the original exemplars, which can trigger issues like the Phantom Slider Bug or other game bugs, especially when it comes to Maxis buildings, which are too problematic.

  • Like 2

Federal Republic of SiculiaFederal Republic of Sonora

   Ain Member  Wiki

NAM Team - Co-developer of Pedestian Revolution Mod - Railway Department (Hybrid Railway | HRW Expert) - MTA Member - BAT Creator

Ulisse Wolf YouTube Channel - Ulisse Wolf Mastodon Profile

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    39 minutes ago, Ulisse Wolf said:

    There isn't really any difference between Exemplar Patch and the classic override in terms of loading times, but Exemplar Patch is definitely recommended because it avoids directly modifying the original exemplars, which can trigger issues like the Phantom Slider Bug or other game bugs, especially when it comes to Maxis buildings, which are too problematic.

    Thank you for your elaborate answer.

    So by using Exemplar patching we can change maintenance costs without causing any Panthom Slider Bug ? Did I get that right ?

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     
    2 hours ago, Ulisse Wolf said:

    There isn't really any difference between Exemplar Patch and the classic override in terms of loading times, but Exemplar Patch is definitely recommended because it avoids directly modifying the original exemplars, which can trigger issues like the Phantom Slider Bug or other game bugs, especially when it comes to Maxis buildings, which are too problematic.

    18 minutes ago, Lokiness said:

    So by using Exemplar patching we can change maintenance costs without causing any Panthom Slider Bug ? Did I get that right ?

    No, the Phantom Slider bug will occur regardless of the method used to patch the exemplar.

    4 hours ago, Lokiness said:

    I was wondering if there was a performance difference between the classic overwriting of an exemplar, and the exemplar patching of an exemplar ?  My exemple: I've got 30 custom building exemplars that overwrite Maxis files, would the performance (be it at launching the game, loading the city, or running the simulation) be any better, even fractionally, if all those were exemplar patching ?

    I don't think so. The performance difference between overrides and exemplar patching would likely be insignificant when compared to things like the overall disk I/O that comes with loading a city. The main advantage of exemplar patching is improved compatibility with content that has numerous mods overriding the same exemplar, but you still could have compatibility issues depending on the properties being modified.

    4 hours ago, Lokiness said:

    Also does running Startup Performance Optimization DLL come into this ? Like maybe reduce the performance difference between 'old schoo'l overwrite and exemplar patching ?

    It would not make any difference. But that DLL is required when using sc4pac due to fixing other limitations the game has with very long file paths.

    • Thanks 1

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Damn ! I'm getting all the SC4 modding MVPs at once :)

    28 minutes ago, Null 45 said:

    No, the Phantom Slider bug will occur regardless of the method used to patch the exemplar.

    Alright, so the best way to make such changes Phantom Slider Bug proof is actually to make a clone of the building with a different Instance ID, and remove the old one from the building menus (like CoriBoom did for the Crime and Police Station Fixes for ModPacc Zero) correct ?

    Quote

    I don't think so. The performance difference between overrides and exemplar patching would likely be insignificant when compared to things like the overall disk I/O that comes with loading a city. The main advantage of exemplar patching is improved compatibility with content that has numerous mods overriding the same exemplar, but you still could have compatibility issues depending on the properties being modified.

    I suspected that if there was indeed a performance difference it would be minimal, thanks for confirming it, and making the uses and strong points of Exemplar Patching clearer to me !

    32 minutes ago, Null 45 said:

    It would not make any difference. But that DLL is required when using sc4pac due to fixing other limitations the game has with very long file paths.

    I see. Yes, I'm still going to run it no matter what, it's probably one of the most important mods in my modlist, I wholeheartedly thank you for creating this masterpiece while you're here.

    • Like 1

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     
    1 hour ago, Lokiness said:

    and making the uses and strong points of Exemplar Patching clearer to me !

    Credit for creating the exemplar patching system goes to @memo, who originally created it for their sub menu DLL. I wrote the resource loading hooks support DLL that feature relies on, and ported memo's exemplar patching code over to it to allow exemplar patching to be used independently of sub menus.

    Because exemplar patching allows individual exemplar properties to be overridden, it has been used to create various 'universal' mods, Universal Sea Level ModColossus Addon Mod - Universal Commercial CAP Fix, etc. Plus other things like fixing a Maxis I-R bug without editing SimCity_1.dat and Building Style packs for use with the More Building Style DLL.

    • Like 1

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    1 hour ago, Null 45 said:

    Credit for creating the exemplar patching system goes to @memo

    I was referring to the Startup Performance Optimization DLL here.

    Thank for you for sharing all those, I'm already running the Commercial Cap Fix and I-R, haven't looked back since.

    • Like 1

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account


    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections