HomeGamesUpdatesPricingMethodology
Steam News24 January 20265mo ago

updated the mileage tracking system

Key Improvements: Per-Lap Mileage Tracking: Now tracks currentLapMileage and stores each lap's mileage in lapMileages list Track-Based Session Management: New TrackMileageRecord class groups all sessions per track Sessi

Full notes

Full City-Racing update

Read the full published notes in a cleaner layout. The original post stays linked below.

What changed

0 fixes12 additions2 changes0 removals
  • Gameplay
  • UI and audio
changedKey Improvements:
addedTrack-Based Session Management: New TrackMileageRecord class groups all sessions per track
addedData Versioning: Both MileageDatabase and RaceHistory now have version fields for future migration
changedImproved Diagnostics: Shows current lap mileage in real-time
addedimplemented a mechanism to reset the mileage data when starting a new game.
addedNew ResetAllMileageData() Method :

City-Racing changes

changedKey Improvements:
addedTrack-Based Session Management: New TrackMileageRecord class groups all sessions per track
addedData Versioning: Both MileageDatabase and RaceHistory now have version fields for future migration
changedImproved Diagnostics: Shows current lap mileage in real-time
addedimplemented a mechanism to reset the mileage data when starting a new game.

Key Improvements:

  1. Per-Lap Mileage Tracking: Now tracks currentLapMileage and stores each lap's mileage in lapMileages list

  2. Track-Based Session ManagementNew TrackMileageRecord class groups all sessions per track
  3. Session Numbering: Each race on a track gets a sequential session number (1st, 2nd, 3rd attempt, etc.)

  4. Enhanced CSV Export: Includes per-lap data with proper headers and metadata

  5. Data Versioning: Both MileageDatabase and RaceHistory now have version fields for future migration

  6. Clear Data Separation: Track name stored in every session, preventing confusion when restarting

  7. Improved Diagnostics: Shows current lap mileage in real-time

The CSV export now looks like:

# Race Data Export

# Racer: MuscleCarClassic

# Track: CityRacing1

# Session Number: 1

# Date: 2025-01-23 14:30:00

# Total Race Time: 180.500 seconds

# Total Race Mileage: 5.234 miles

#

Lap,LapTime(sec),LapMileage(miles),RaceMileage(miles),TotalMileage(miles)

1,60.123,1.745,1.745,127.456

2,59.877,1.732,3.477,129.188

3,60.500,1.757,5.234,130.945

This ensures complete tracking without data confusion when restarting from CityRacing1!

______________________________________________________________

implemented a mechanism to reset the mileage data when starting a new game.

Key Changes:

  1. New ResetAllMileageData() Method:

· Deletes car_mileage.json file

· Deletes race_history.json file

· Deletes race_progress.json file

· Calls CRRaceManager.NewGame() for complete reset

  1. Integration Points:

· Called in ShowGameStartOptions() when no saved game exists (direct new game)

· Called in CreateContinueGameDialog() when "New Game" button is clicked (after saved game dialog)

  1. Complete ResetEnsures ALL mileage tracking files are deleted so when starting a new game, everything starts fresh at 0 miles
  2. Debug LoggingAdded comprehensive logging so you can track exactly what's being deleted and when

Now when a player clicks "New Game", all mileage data files are completely deleted, ensuring a fresh start with 0 miles for all cars!

Summary of Changes:

  1. Uncommented LoadingScreenCleaner class - This was causing the compilation error

  2. Added EnsureUIElementsInBounds() helper method - Prevents UI rendering warnings

  3. Added debug logging to LoadingScreenCleaner - Better tracking of cleanup operations

The mileage reset functionality remains fully functional - when a player clicks "New Game", all mileage data files will be properly deleted!

I Turned Up Speed For All Cars. So they are super fast again!

Source

Steam News / 24 January 2026

Open original post

Changelog.gg summarizes and formats this update. How we read updates.