-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Course generation takes 10 times longer on new version #3457
Comments
I have not noticed any difference, but I don't have those XXXXL fields. |
Everything is the same. |
But this one is not on the 100+ HA field I hope... |
@Martin-L45 don't think it is on your end. Does the field have islands? Can you try with island bypass off? |
That's our island detection. |
I´ll try with island bypass off |
Without islands it only took about a minute |
Thanks, confirmed bug. |
May I also add that with the current version of Courseplay loading into a Save Game on a 4X or larger map takes an incredibly long amount of time now, and going into the game menu and performing a save takes an incredibly long amount of time also. Never happened on Version v7.4.1.3 at all. However since 7.4.2.0 this issue has appeared. |
Thats too less informations. |
I changed the serialization of courses to XML to a more readable and straightforward format with no obscure encoding, it is certainly chattier than the old format but was hoping it is still fast enough. Do you have a savegame I can look at? With a publicly available map? |
I can provide my save file definitely and also a link to the map I'm playing on. I wondered if the increased loading and saving time was caused by using two root crop harvesters (Only 4 meters working width) and a huge field, because in the map view there is a hell of a lot of courseplay stuff going on in that field. I'm not saying I set the course up optimally for the field, and didn't know the above about deactivating the Island Bypass bit, so maybe the course being loaded upon game start and each time the game is saved is a bit excessive. |
Island bypass should only matter when you generate. Would be great if we could compare apples to apples, if you now have two 40 km long courses you did not have with 7.4.1.3, that may skew the results a bit... |
I tried the last commit. (I hope that is ok) Now it does not detect the islands. |
Sure, thanks for testing, I did not have a chance yet to test on a map with a real island. Will look into it. |
I don't have any saved courses on game since updating Courseplay to current version. I deleted all old 7.4.1.3 as wondered if too much old info was causing the game to take so long to load and save. I now have literally just the one course created and saved on the map and it's still causing the game to load and save slow. If I disable Courseplay in the mod menu before loading, the loading and saving goes back to normal pretty much. The map I'm playing on is Flatout Farm and can be downloaded from Author's Google Drive Link: https://drive.google.com/file/d/1OaMceN3iVUpeNYSfsorqND8uR-aEH6e9/view My save game: Harvesters I'm using on the Course are from the Giants ModHub https://www.farming-simulator.com/mod.php?lang=en&country=us&mod_id=253608&title=fs2022 |
I tried your last commit. Perfect course generation. Only about 2 minutes. Detects the island with no issues. |
Thanks, warnings are normal, removed some forgotten debug messages too. |
There is always a limit :) |
very true. |
I am playing on a custom 4xmap with very large fields 100+ Hectares. I have never had issues generating a course on this map.
When using the new version it takes about 10 times longer to generate a course approx. 47minutes.
Is this a bug or do you believe it is on my end?
the Version 7420 i am using is the main after issue #3399
logV7420.txt
logV7421.txt
The text was updated successfully, but these errors were encountered: