Jump to content
Alfred The Baker

Game Speed and Framerate Separation and Other Oddities.

Recommended Posts

Hello, in my exploration of old versions of the game for both nostalgia and trying to find some things out, ive found numerous things. Battle music in Skirmish sometimes working  , different worker behaviours, different AI behaviours and how they functino [as well as their stone cheat] GAME SPEED NOT BEING TIED TO FPS, slower game speed overall, different lighting settings and i guess shaders overall that affect insides of the buildings [and it not just being textures] and even building pricing.

One oddity i found is that if you copy gamerules.dat from 1.0 to 1.5 old AI functions will come back, they will have gong and rats as well as crime [but you cannot see if their buildings have gone bad in 1.5] and will do odd things like build stables but not use Knights, as well as them not being able to immedietly errect Stone walls, which is really fun to see AI use these things, granted it requires editing the castles since all of them had Courthouses removed, but almost all AI except Olaf use all forms of civilian buildings.

However other things are far more interesting and i have sadly not figured it out. Lighting inside of the buildings i don't know what i need to change, and i sadly cannot just copy over original files, and going trough 1 by 1 shader to see how to make the game look similar is a difficult task. Fog too i really don't know how to enable it, and its bloody annoying Firefly removed it.

Also stone structures not costing my entire stone economy is really nice, even Hunters being useful and delivering, honestly even more food than other buildings is great. Also the ability to build stockpile near ANYTHING is a very good feature that seems to have been taken out the very next patch 1.1 which is annoying.

And then there is game speed. I was honestly quite shocked when i booted up 1.0 and saw that game speed is actually not locked to framerate. You can lower the speed as low as 10 and still run a, high framerate for however Stronghold 2 engine allows. The downside is that general game speed is different, 50 is not same across the games. 90 is quite fast and its faster than the normal 50 in the game now but i do not know what the exact numbers between each other are. Either way i find it baffling that Firefly chose to do this, as i feel this works far better than what we have currently. Its hard to say when this change occured. I remember 1.4 having framerate lock, but i could only test 1.2 as i could not use the 1.3 patch and i lost my original 1.4 CD, and in true Firefly fashion you cannot access the original SH2 and Legends on Steam. But i have a feeling as the balance changes have happened in 1.3, that so did the gamespeed and framerate change happen as well. I also worry this is buried in the EXE or the DLL files unlike visuals or some mechanical things.

No idea about music tho, i once installed the game and Battle music in Kingmaker worked, but now it stopped again so i really have no clue.

Now wether i COMPLETELY think 1.0 is better played than 1.5 is different. AI is more agressive but it also sometimes struggles with armies and in general game is less stable than now. But current Steam release has oddities and i would like to somehow be able to make 1.5 have things 1.0 have.

Share this post


Link to post
Share on other sites

Hi, that is all very interesting what you have found.

As far as I know, the AI can be reinstated the civilian services, if you add these buildings to the template. Looks like gamerules.dat governs how the AI builds and maybe even what troops they use, so that's why replacing this works.

If I remember correctly, the CD version has the original release notes and changelogs in a Word document that details everything. For example, fire ballistae used to autoshoot until 1.3.1, while torture devices also didn't give honor until a point.

Are there other notable differences regarding the AI armies and castles, or are these more or less unchanged?

Share this post


Link to post
Share on other sites

Is there any community made program to see what files like gamerules.dat do? 
Somehow I need to monitor what exactly Stronghold2.exe and its other files are doing

Share this post


Link to post
Share on other sites

To my knowledge, there are no community utilities like that.

Secondly, your question is too generic. SH2 / Legends has active logic bundled in its .exe game binary and assorted .dll files. Input files (like gamerules.dat) have no active logic, they are consumed by the game during its lifetime.

From the ground up you have no other choice, but to reverse engineer the game binaries and see for yourself. Ghidra can be used to conduct analysis and restore some of the C++ code in pseudo-format, if you are tech savvy. Cheat Engine may be useful for active memory monitoring.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Topics

    • Multiplayer Game Stronghold 3

      Hello everyone, I would like to start here a new topic about playing a Stronghold 3 multiplayer game. I very much like this game, and try to contact people through Steam, and now currently here as well. Please let me know here, or on Steam. My name on Steam is Hollokiraly. Best regards. 

      in Stronghold 3

    • Economic Game: Calanais

      Hey folks, I've just completed the stand-alone economic mission, Calanais! It's something of a grind - you cannot grow or buy food apart from hops and ale, and there are no trees. You are constantly assailed by bandits. Your only economic recourse is to sell stone, keep your peasants drunk and religious, and tax them. The aim is to gain (and maintain for a period) a large population (118 at normal difficulty). The early stages of the game in particular are tricky. The bandits will

      in Stronghold 1

    • Stronghold 2 Manager is here! Possible to play MP game with bots

      I have good news! :) One of the original fans of the mod sent the installation file. :) This is where you can download it from, but be aware, it is likely that your antivirus will detect it as a troyan. I believe that this is nothing harmful, and I will try it later. Right now I don't have the other PC of mine here, but I will have it tomorrow, so I will try it then.   Another issue is that they said it works with 1.3.1 version, so I am unsure whether this is going to with 1.4.1 version, but we

      in Stronghold 2

    • Internal Game Modification & Format Deciphering (Support/Discussion)

      Hello all, Stronghold 2 is definitely an aged game, but has a flare to it I haven't been able to shake since I first played it around 2005-2006. However, after starting it back up again recently in the past month I thought it was time to dig deeper into what makes this game work and how we can get more out of it. First, my background is a back-end low-level (closer to machine language than languages like Python - I work with C++ and such) programmer. I love binary data (especially binary files)

      in Stronghold 2

    • Alternate Transylvania? (and other alternate campaign maps?)

      Ok so I am playing the evil campaign; I made it to Transylvania and I put it on Easy mode: (the one to the left?). Now I have looked at a few strategy guides; even videos that show it played out but, I am seeing something much different then what the videos show. In this level there are 3 castles 2 North and 1 South. It is suggested that I take the one that is South. In the video it shows a mounted catapult and a decent number of archers in the south castle. But when I play: I see no catapult, t

      in Stronghold Legends

×
×
  • Create New...