Skip to main content

NFS4 HS (PC) resource utilities

Project description

About

This project provides data extraction utilities for the following Need for Speed 4 HS asset files:

  • tracks
  • cars

Additionally, Blender addon is provided to directly import track and car data.

Setup (Blender addon version)

  1. Create new empty Blender project and save it

    Warning: Not saving the project may cause errors during import. The importer saves all texture images to <project-dir>/images directory.

  2. Open the Scripting tab

  3. Copy-paste the following two commands into the Blender console:

    import sys, subprocess
    subprocess.call([sys.executable, "-m", "pip", "install", "speedtools"])
    

    This command will install the speedtools package to your Blender Python installation.

    Note: Python installation that comes with Blender is completely separate from the global Python installation on your system. For this reason, it is necessary to use the Blender scripting console to install the package correctly.

  4. Copy and paste the content of this file to the Blender scripting window.

  5. Click the button.

  6. You should see Track resources and Car resources under File > Import.

Until I figure out a better way to install Blender addons, this must suffice.

Setup (command line version)

Install the package from PyPI:

pip install speedtools

Currently, the command line version does not provide any useful functionality.

Development dependencies

To develop the project the following dependencies must be installed on your system:

Make sure the binary directories are in your PATH.

Known issues and limitations

  • Tested only with PC tracks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

speedtools-0.3.0.tar.gz (34.7 kB view hashes)

Uploaded Source

Built Distribution

speedtools-0.3.0-py3-none-any.whl (46.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page