It still takes around 5 minutes to finish a turn on 1600 B.C. and Large map size. Does this mod supposed to work with others AI mods like Artificial Unintelligence?(My PC is well above game requirements + SSD)
it will always work with Artificial Unintelligence Lite. not sure about full-fat Artificial Unintelligence. i play on the largest possible map size with a fairly old processor (i5-7400), but I'm not running heavy enhancement mods -- just moonJIT and light tweaks.
I mean the mod does work even with Artificial Unintelligence. There is just no significant difference, with or without it, it still takes 5 minutes to end a turn. Is this how its supposed to work? What difference should you expect from this mod?
I might actually give this a try at some later point, but I'd greatly appreciate a more detailed explanation regarding the way this actually speeds up turn processing. Specifically addressing the fact that, as far as I'm aware, most, if not all of the Lua code is actually used either in map generation or user interface, but there's little to no game logic or AI decision-making involved.
I suppose there are some interface and Lua state updates during the AI turn processing, but is that truly all it takes to get a drastic speed increase?
i don't actually understand how any of the game works, but i did notice that this specific JIT makes pretty much everything faster (especially when running heavy mods like Gaia's Sapiens). civilization v was architected when pretty much all software was moving from single thread to multi-thread in the early dual-core era, the Lua dll it originally shipped with dated to 2006(!).
Thank you. I find Civ V AI turns to be too slow even in early games, this does make it faster. I tried it at the very first turn of the game. Without this mod, my turn would take roughly 6-7 seconds. With this mod on, it's only 2-3 seconds. I know I only tested it at the very first turn, but it works nonetheless. Thank you.
Edit: No issues found on gameplay. turns are significantly faster than without the mod. Highly recommended.
Thanks for providing this so long after Civs 5's release. A great game has gotten possibly its most significant upgrade in years (at least!). Have yet to get to end of a game with this installed (sorry, I won't keep playing without coal - or w/out oil or aluminum later on - to test a mod!) where the time to process the others' turns gets ridiculous, but I have seen what seems to be a nice speed-up in the beginning and mid-game. And this is done without any 'glitches' in-game that I have seen. One thing has popped up though - and it may not be your mod, may be a conflict with another mod(s) in use ("Convenient Start" and "The Welsh Civilization", both from the steam Civs page) or simply coincidence. When loading a saved game (using the above mentioned mod with yours) the game would simply shut down at about the time you'd expect the save to finish loading. This happened twice, but I got around it by loading the game after navigating further thru the menu through the "Mods" option (as opposed to simply clicking on 'single player" and loading) and then loading the save, when it loaded correctly. I hope that made sense... But overall, a nice QoL mod. Easy to install, no negative performance hit and does what is promised! That is about all you can ask for in a mod... KUDOS!
I've noticed (now that I'm like, 52 installed mods in and counting) that sometimes quick loading sometimes results in a crash. I think it comes from where the core executable is expecting the Lua interpreter to discard scripts.
LuaJIT doesn't discard the scripts, though, it keeps them compiled and in resident memory. The game core executable goes "hol' up, what in the heckle? this is funny business, ain't going any further."
hence the crash.
there really isn't a way to work around it without building a hook in the civilization core dll, which might conflict with other big mods. =(
14 comments
Maybe contribute the changes to the VP project or something?
I suppose there are some interface and Lua state updates during the AI turn processing, but is that truly all it takes to get a drastic speed increase?
Edit: No issues found on gameplay. turns are significantly faster than without the mod. Highly recommended.
Have yet to get to end of a game with this installed (sorry, I won't keep playing without coal - or w/out oil or aluminum later on - to test a mod!) where the time to process the others' turns gets ridiculous, but I have seen what seems to be a nice speed-up in the beginning and mid-game. And this is done without any 'glitches' in-game that I have seen.
One thing has popped up though - and it may not be your mod, may be a conflict with another mod(s) in use ("Convenient Start" and "The Welsh Civilization", both from the steam Civs page) or simply coincidence. When loading a saved game (using the above mentioned mod with yours) the game would simply shut down at about the time you'd expect the save to finish loading. This happened twice, but I got around it by loading the game after navigating further thru the menu through the "Mods" option (as opposed to simply clicking on 'single player" and loading) and then loading the save, when it loaded correctly. I hope that made sense...
But overall, a nice QoL mod. Easy to install, no negative performance hit and does what is promised! That is about all you can ask for in a mod... KUDOS!
I've noticed (now that I'm like, 52 installed mods in and counting) that sometimes quick loading sometimes results in a crash. I think it comes from where the core executable is expecting the Lua interpreter to discard scripts.
LuaJIT doesn't discard the scripts, though, it keeps them compiled and in resident memory. The game core executable goes "hol' up, what in the heckle? this is funny business, ain't going any further."
hence the crash.
there really isn't a way to work around it without building a hook in the civilization core dll, which might conflict with other big mods. =(
I see no one so far has ever thanked you for this incredible mod. Let me be the first.
Outstanding work, thank you.
the credit belongs entirely to the MoonJIT and LuaJIT teams, i'm just the dumbass who compiled it into an easy-to-use form. =)
glad that civilization v is still getting lots of love in 2021. hope it proves very useful!