Total War: SHOGUN 2

Total War: SHOGUN 2

Ultimate Expanded Field Command V1.5
 This topic has been pinned, so it's probably important
Turn based crashes
Unfortunately I've experienced this issue in the times I have tried playing this mod and submods (only mods I'm using). After 10 turns or so, it occurs and stops my playthrough in its tracks.

Does anyone know a solution or fixes I can try? Those 10 turns are really fun while they last lol, but this is a frustrating issue.

Not criticizing Lenny. This issue is inconsistent affecting only a subset of players. It's just a case of CA no longer supporting the game.
< >
Showing 1-15 of 18 comments
i've been playing sado island gaming for one week every night and it's still stable, i just don't use submods.
Last edited by seashell; 6 Jul @ 2:18pm
also a recently new patch breaks saves
Lenny_Froggins  [developer] 6 Jul @ 5:37pm 
@Frostyboiis copy paste all your figuring things out in this thread please!
Oops didnt see me get tagged. Ill copy paste all my stuff:

Seeing some people having trouble with installing the mod/ updating it. Had the game crash when resubing so to fix had to do some things after ressubing:
>Delete everything in AppData/Roaming/TheCreativeAssembly/Shogun2.
Deleting the TheCreativeAssembly/Launcher file inside the TheCreativeAssembly also has an upside of possibly fixing the launcher should you have any issues with it (gets redownloaded when booting up shogun 2, at the cost of losing load order. easily fixed by reordering mods)
>Boot up Shogun2 as usual, brings you to the mod menu, order as needed.
>Check the settings when in game. Best to verify if things like video memory (via the game settings) or unit counts (via custom battles menu) are fixed. If not, may be issue with core game, manually delete all files, uninstall via steam, then reinstall.
>If video memory doesnt work, update preferences.text.script in scripts file as needed.

Game runs flawlessly once you get all these checked
notes:
>If you've downloaded radious, darthmod, or any other large scale overhauls (or even just any other mod like cheat mods under LordHendra), chances are they've left loose data or something (I'm not actually sure, but my first few times having this mod was right after playing Darthmod, and this mod didn't work until i fresh installed and deleted any left over files manually). To be safe, delete all the shogun 2 files manually and then uninstall via steam. Unsubscribe from other mods if ever. For whatever reason, the Darthmod and LordHendra stats lingered in my games until i did this.
>Every crash I had happened with performance issues of my device, may or may not be applicable to everyone else, but check if your device can even run the game. Go to preferences.text.script in the scripts folder (the one I'm pretty sure you're meant to delete to resolve bugs) and ensure thread count matches and you've unlocked video memory.
To add to the preferences.text.script editing:
ctrl+F to find the variables.

at default it will set " gfx_video_memory 0; "
change it to " gfx_video_memory -2000; "
at default its set " number_of_threads 0; " or something like that
change the 0 to reflect the cores your device has. It can be seen in task manager (ctrl alt delete) and going to performance next to "cores: ". Mine is a mid laptop so it had 6. If you have more, there may be a point wherein having too much looses you performance. Most guides say 8. FPS drops always correlated with crashes for me.

Hope this helps someone.
more notes:
When I say Video Memory not working, i mean the number in the settings dont quite reflect your actual video memory. setting gfx_video_memory to -2000 fixes this by making the game's use of video memory uncapped. TW games have an issue with detecting video memory properly, at least for "older" (?) titles.
Raising/Setting threads to match cores afaik (im not a computer scientist, this is just from understanding guides on tweaking Shogun2) makes the game able to run the different processes inside Shogun2 more fluidly and without crashing out. Less stress on a single core, able to multitask within the game, especially with the amount of clans, entities, armies, etc. Unless you're running other intensive programs alongside Shogun2, this should be fine.
geist 13 Jul @ 11:48am 
Thanks everyone, I tried the suggestions and preference edits and did another run.

@FrostyBoiis

For my case, I think I isolated it. I made a sea trade deal so encountered nearby clans along the route. End turn - crash, and the same trying to reload.

I think this is what happened on my last attempt too.

I turned AI moves off, no luck.

Next time I attempt I'll try a different clan instead of Tokugawa
Last edited by geist; 14 Jul @ 12:42pm
@geist yeah, the amount of clans (and by extension the amount of entities they create) causes the game to struggle with computing for them all constantly. It's pretty much an issue that was present with expanded japan and its many iterations. If there's too many clans present by late game, their doomstacks will crash your game if your device isnt the best (i.e, whatever Lenny_Froggin's gaming rig is). Playing as clans central to Japan means discovering more clans, and therfore requiring your game to render them all. While there's a unit cap for ground troops, naval units doesn't have the same restrictions (especially with sandbox, ai spams ships and dont bother to merge them).
geist 15 Jul @ 6:47am 
@FrosyBoiis would you mind if I reach out to you? Definitely think it's something not agreeing the expanded clans mod. If I fix my issue, I will post the results here.
@geist if you find anything at all, that'd be great. Im always finding ways to optimize my game with this mod. My suspects for crashes from this mod is always:

-Device specs (cant be helped. tracking so many actions and numbers will hurt any pc unless they're high end)

-AI navy behavior (They REFUSE to merge. I really hope something can be done about that, but with how the mod is effectively just a spreadsheet edit I'm not too sure how it can be fixed)
-AI Army behavior (Same problem as navy, albeit lessened due to unit cap.)

-Portugal. They way they handle their units is suspect in my games, especially in sandbox mode. Overly dominant auto resolve makes me think their stats are handled weirdly by the game.

-Money computation (for whatever reason, the local school building chain introduced by the mod makes my game worse. It may be coincidental, but it might also be because it's computed wrong OR it cant handle the percentage increases in income over time. It seems like compounding interest or whatever, I never build them in case they're the problem. the 0.2+ to Yari morale is also very weird to me, maybe decimal is too hard on the game computation?

I really hope @Lenny_Froggins can look at some of these at least. The last one is more so just my paranoia with decimals and percentages being used (and exploited) in games so it might be a false flag, but the navy one definitely occurs, with navy units for whatever reason camping a single port with a bazillion fleets (of 1 kobaya/ bune each) of a clan that neither trades nor is at war with anyone. Maybe a change in values to incentivize ai into making stronger fleet ships, instead of spamming stinky trade ships, kobaya and medium bune? Maybe make fleets actually really expensive considering the irl costs of creating a ship that transports armies? I'm not a programmer or even know the workings of Shogun 2, just a guy that plays with optimization.
Some notes on weirder optimizations (not necessarily related to @geist's issues:

-I'm on a ♥♥♥♥♥♥ laptop (I'm a lowly peasant with a hand-me-down laptop). Keeping it plugged in is necessary for me to play the game. for whatever reason, the game crashes if I don't.
-There's a difference between me turning my A/C on and off. My device's FPS is tied with my room's temperature. Learnt it the hard way with one of my legendary campaigns crash-corrupted.
atp I should bring out incense and pray to the machine god. fml.
-Setting my shadows to low but smoothing the shadows seems to be a way to make my graphics acceptable. No large changes in fps for me (but then again, my room was cold. Maybe cooling is all I need? I need an ice pack. I will play around with that).
Last edited by FrostyBoiis; 15 Jul @ 8:56am
Flag mod stopped the crashes on my end btw, I can run other mods mainly shogun 2 hd/improved armour visuals and less uniform colours. No crashes so far.

#1 Weather
#2 Ships
#3 1.5x unit size
#4 Improved Armour Visuals
#5 Shogun 2 HD
#6 Less Uniform Colours
#7 UEFC
#8 Unofficial Shogun 2 patch

Previous mods causing crashes were the flags and guaranteed majors
ichihime 19 Jul @ 12:23am 
i have a crash during turn-based clan, happen around 30 turns in my otomo clan
My mod list
Shogun 2 HD
Extend map pool
Fourstirder (people, agent, promo, retainer 2)
lenny weather
1.5 unit size
UEFC
unofficial Shogun 2 patch lite
Last edited by ichihime; 19 Jul @ 12:24am
@ichihime Ive tested it thoroughly, the lite version doesn't work 100% well with this mod. Use the original (though albeit outdated) unofficial patch. In my tests crashes do infact happen from turns 21-40 (40 being an extreme end, obtained with playing only UEFC, 1.5x units, and lite).

Also, can you clarify what the extended map pool is? If its extended japan, UEFC has it built in. Most likely duplication of data is causing your crashes if such is the case. Same is said for I believe retainers, agent, and promotion ( i could be wrong, but i think the retainers at least are already part of the mod).
< >
Showing 1-15 of 18 comments
Per page: 1530 50