PiBoSo Official Forum

GP Bikes => Suggestions and wishlist => Topic started by: HornetMaX on April 07, 2017, 06:35:58 AM

Title: Very basic logging of GPB initialization steps
Post by: HornetMaX on April 07, 2017, 06:35:58 AM
@PiBoSo:

You may have read that some of us are experiencing problems with some recent tracks (Manu's Fuji, h106frp's Nordschleife, see links below).
These tracks are rather big in terms of (disk) size.

Would it be possible to have some very basic logging (by default or, eventually, optional) so that GPB writes out to a .log the various steps it runs through at startup and when going to track ?
That would at least allow to know roughly at which step GPB crashes in such cases (of course it won't help in crashes while on track).

Something like:
Starting up GPB
Loading init files ... done !
Loading basic assets ... done !
Initializing sound engine .... done !
Loading bike ... done !
Loading bike skin ... done !
Loading helmet ... done !
...

Going to track:
Loading track "Victoria" ...
Loading .map ... done !
Loading .trp ... done !


And so on.

http://forum.piboso.com/index.php?topic=4655.0 (http://forum.piboso.com/index.php?topic=4655.0)
http://forum.piboso.com/index.php?topic=4826.0 (http://forum.piboso.com/index.php?topic=4826.0)