A visual editor for handling.cfg files from the classic GTA trilogy and Definitive Edition:
- GTA:III / GTA:III - Definitive Edition
- GTA:VC / GTA:VC - Definitive Edition
- GTA:SA / GTA:SA - Definitive Edition
- ๐ฎ Multi-Game Support: Edit handling files from GTA:III, GTA:VC, GTA:SA, and their Definitive Edition versions
- ๐ฆ Pak File Support: Directly open and edit handling.cfg files from Definitive Edition .pak archives
- ๐ Full Property Editor: Edit all vehicle handling properties with appropriate controls
- ๐ฏ Game-Aware UI: Shows only relevant fields for each game version
- ๐พ Safe Editing: Preserves original file structure, comments, and formatting
- ๐ Reset Support: Easily reset individual vehicles to original values
- โก Real-time Validation: Input validation based on official ranges
- ๐ Dark Theme: Professional dark UI with orange accent colors
- ๐ Tabbed Editing: Open multiple vehicles simultaneously for comparison
- ๐ Search: Filter vehicles by name in the sidebar
- ๐ Categorized List: Vehicles grouped by type (Cars, Bikes, Boats, Planes, etc.)
- ๐ Copy Values: Copy handling values from another vehicle in the same category
- ๐ Paste Config: Paste raw handling.cfg lines directly from mod readmes
- ๐จ Custom Title Bar: Modern borderless window with custom controls
- ๐ฌ Themed Dialogs: Custom styled confirmation and error dialogs
Ctrl+O- Open fileCtrl+S- Save file
The application features a modern dark interface with:
- Categorized vehicle sidebar with search
- Tabbed multi-vehicle editing
- Organized property sections (Physics, Transmission, Suspension, etc.)
- Game-specific field visibility
- Windows 10 or later
- .NET 8.0 Runtime
- Download the latest release ZIP from Releases
- Extract to any folder
- Run
GTAHandler.exe
# Clone the repository
git clone https://github.com/vaibhavpandeyvpz/gtahandler.git
cd gtahandler
# Build
dotnet build
# Run
dotnet runOr open GTAHandler.sln in Visual Studio 2022.
- Select Game: Choose the game version (GTA:III, GTA:VC, or GTA:SA) from the dropdown
- Open File: Click "Open" or press
Ctrl+Oto browse for a handling.cfg file or .pak file- For classic games: Select the
handling.cfgfile directly - For Definitive Edition: Select the
.pakfile (the app will extract and edit the handling.cfg inside)
- For classic games: Select the
- Select Vehicle: Click a vehicle from the categorized list on the left
- Edit Properties: Modify values in the property editor tabs
- Copy Values (Optional): Use "Copy From" to copy values from another vehicle
- Paste Config (Optional): Paste a raw handling line from a mod's readme
- Save: Click "Save" or press
Ctrl+Sto save changes- If opened from a .pak file, you can save as either .cfg or .pak format
The "Copy From" feature allows you to:
- Select another vehicle from the same category to copy all values
- Paste a raw handling.cfg line directly (useful for applying mod values from readmes)
- The vehicle ID/name is preserved, only the handling values are copied
- Mass: Vehicle weight in kilograms (1.0 - 50000.0)
- Turn Mass/Dimension X: SA: Rotational inertia | GTA3/VC: Vehicle width
- Drag Mult/Dimension Y: SA: Air resistance | GTA3/VC: Vehicle length
- X/Y/Z Offset: Centre of mass position (-10.0 to 10.0)
- Traction Multiplier: Overall grip level (0.5 - 2.0)
- Traction Loss: Grip reduction during acceleration/braking (0.0 - 1.0)
- Traction Bias: Front/rear grip balance (0.0 = rear, 1.0 = front)
- Number of Gears: Transmission gears (1-5)
- Max Velocity: Top speed in km/h (5.0 - 300.0)
- Engine Acceleration: Power output (0.1 - 50.0)
- Engine Inertia: Flywheel mass (SA only)
- Drive Type: F (Front), R (Rear), 4 (All-wheel)
- Engine Type: P (Petrol), D (Diesel), E (Electric)
- Brake Deceleration: Stopping power (0.1 - 10.0)
- Brake Bias: Front/rear brake balance (0.0 - 1.0)
- ABS: Anti-lock braking system (on/off)
- Force Level: Spring stiffness
- Damping Level: Shock absorber strength
- High Speed Damping: Damping at high speeds (SA only)
- Upper/Lower Limits: Suspension travel range
- Bias: Front/rear suspension balance
- Anti-Dive Multiplier: Prevents nose-dive under braking (VC/SA)
- Seat Offset: Driver position
- Collision Damage Multiplier: Damage sensitivity (0.2 - 5.0)
- Monetary Value: Vehicle price (1 - 100000)
- Model Flags: Vehicle model behavior flags (hex)
- Handling Flags: Handling behavior flags (hex)
- Front/Rear Lights: Light types (0-3)
- Anim Group: Vehicle animation group index
The application follows the MVVM (Model-View-ViewModel) pattern:
gtahandler/
โโโ Models/ # Data models (VehicleHandling, GameType, etc.)
โโโ ViewModels/ # View logic (MainViewModel)
โโโ Views/ # XAML UI (MainWindow, Dialogs)
โโโ Services/ # File parsing/writing
โโโ Converters/ # WPF value converters
โโโ App.xaml # Application resources & styles
โโโ *.png # Game logo assets
- WPF - Windows Presentation Foundation
- CommunityToolkit.Mvvm - MVVM framework
- FontAwesome.Sharp - Icon library
- Unpaker - Pak file reading/writing library
- Oodle.NET - Compression library for pak file support
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is provided for educational purposes under the MIT License.
GTA III, Vice City, San Andreas, and their Definitive Edition versions are trademarks of Rockstar Games. All game logos are property of their respective owners and are used for illustration purposes only.
Vaibhav Pandey (VPZ)
- Email: contact@vaibhavpandey.com
- GitHub: @vaibhavpandeyvpz
