Coder Social home page Coder Social logo

smmest3r / duplicatedtuningidfinder Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 29 KB

Duplicated tuning kit ID finder for FiveM.

Home Page: https://mest3rdevelopment.com/

License: GNU General Public License v3.0

Python 100.00%
carcols cfx fivem gta-5 gtav meta

duplicatedtuningidfinder's Introduction

Car Mod Kit and Handling ID Rebuilder

This script is designed for game modders and enthusiasts working with vehicle modifications in gaming environments. It provides an all-in-one solution to manage, update, and ensure the uniqueness of IDs in carcols.meta, vehicles.meta, and handling.meta files within a specified directory. Additionally, it generates a detailed summary of modifications, including model names and duplicate handling names.

Features

  • Sequential ID Updates: Automatically updates <id value="..."> and <kitName> tags in carcols.meta, as well as <handlingName> in handling.meta, starting from a base ID of 2000.
  • Model Name Inclusion: Extracts and includes <modelName> from vehicles.meta in the output summary.
  • Duplicate Handling Detection: Identifies and lists duplicate handling names within handling.meta files.
  • Comprehensive Summary: Outputs a car_mods_summary.json file, detailing the processed vehicles, their new IDs, model names, and any duplicate handling entries.

Usage

  1. Environment Setup: Ensure you have Python 3 installed on your system.
  2. Download: Clone or download this script to your local machine.
  3. Execution: Run the script via a command-line interface. On Windows, PowerShell or CMD can be used; on Linux or macOS, use the Terminal.
  4. Directory Selection: When prompted, select the directory containing your .meta files. Windows users will see a graphical folder selection dialog, while users on other operating systems will input the directory path manually.
  5. Review Summary: After the script completes, examine the car_mods_summary.json file in the script's directory for a detailed summary of all changes and noted duplicates.

Output Details

The car_mods_summary.json includes:

  • Count: The total number of processed car mod kits.
  • Cars: Detailed entries for each vehicle, including file paths, original and new IDs, model names, and updated kit names.
  • HandlingDuplicates: A list of duplicate handling names found, along with their file paths.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for full details.

Acknowledgments

This project is a fork and extension of the "Duplicated tuning kit ID finder" originally created by SM mest3r. The foundation provided by this tool has been instrumental in developing further functionalities.

A heartfelt thank you to SM mest3r for the initial creation and to the open-source community for ongoing support and contributions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.