PiBoSo Official Forum

GP Bikes => Support => Topic started by: Nihil on January 15, 2022, 03:08:33 PM

Title: Debug and crash logs
Post by: Nihil on January 15, 2022, 03:08:33 PM
Hi, is there a way to create a log file for post-crash debugging?

I'm trying to use a very old bike mod - SV650 minitwin, but GPB keeps crashing a few seconds after I go to track or click bike settings in testing session.

I have tyres installed, and tried modding bike cfg to use a different set of tyres, so I don't think that's it.

Comparing the cfg files to newer bikes it looks some settings are missing on the old mod.
I'd love to fix it, but would be best if I had a log file telling me what's the reason for the crash...

Thanks!

Title: Re: Debug and crash logs
Post by: Nihil on January 16, 2022, 09:10:09 PM
For the record - the problem with the SV650 was in geometry (.geom) file -
Changed `chain_pitch` from `0.2` to `0.02` and it works.
Might fix other bikes in that mod release as well.

But debug message would have been nice. had to go file by file tweaking settings.


edit: some sv650 settings still off, engine lacks power, can't even get to second gear. more tweaking required.
But at least GBP is not crashing anymore!
Title: Re: Debug and crash logs
Post by: matty0l215 on January 16, 2022, 10:50:20 PM
Yeh, that bike was meant to be dead....

Title: Re: Debug and crash logs
Post by: Nihil on January 17, 2022, 03:01:06 AM
I must fix it! used to race minitwins for a couple of seasons, I just have to throw it around Brands and Snet :)