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)
Warning: It is recommended to use this addon with Blender 3.5 or newer. Using older Blender versions may cause difficult to troubleshoot problems during the installation step with
pip
, because the built-in python is unable to import packages from the user site directory. Newer Blender versions don't have this problem.
-
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. -
Open the Scripting tab
-
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.
-
Copy and paste the content of this file to the Blender scripting window.
-
Click the ▶ button.
-
You should see
Track resources
andCar resources
underFile > 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for speedtools-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66cd0bb2ca779b2da60410a71bd40f976c43eb63ab17387f44743109f123852b |
|
MD5 | 8d4d8fa425aa9687647b7e7b20d4cec1 |
|
BLAKE2b-256 | 9e47b624c2abcf6fdb6c5091c2f3a8b57127372c61131f8f7501c66f9d59bc98 |