NFS GINTool
NFS GINTOOL
This tools allows for GIN files to be encoded in a more convenient and fast way. No HEX editing needed anymore.
Encoding process
- Using the REV tool, map the RPM values and note down minimum and maximun IDX and RPM values, export grains
- Using the gintool, navigate to the wav file that you're about to convert to gin, input your min and max IDX and RPM values
- Optionally you can select custom grain and export paths. By default, grain path is a directory in the same folder as WAV that's named as it, but without its extension, and the GIN export path in the same location as WAV
- Press "Encode GIN" and wait for the process to complete, and you're done!
Installation
- Gintool 1.3 requires JRE or JDK 11 or higher, any version lower than 1.3 requires JRE or JDK 8 with JavaFX included. You can download and install it here: JDK FX 8 JRE 11
- Gintool also requires FFMPEG to be in the same location as gintool. Download it here. Essential build is enough. Unzip the ffmpeg.exe into gintool's location
- (NO LONGER REQUIRED VERSION IN 1.3) gin_encode and gin2 require Visual C++ Redistributable for Visual Studio 2015 and Universal C Runtime (Universal CRT) (Debug version) to be installed. They are included with Visual Studio. After that, you can copy vcruntime140d.dll and ucrtbased.dll into tool's folder.
FAQ
- Q: How do I launch gintool?
- A: Via launchGIN.bat. If you launch it directly via .jar file, your mileage may vary
- Q: Is REV stage necessary?
- A: Yes. This tool is just to simplify the process of already existing encoding procedure. It's described here
Changelog
- 1.0: Initial release
- 1.1: UI Logic fixes
- 1.2: Added ability to encode deceleration GIN's, major performance improvements
- 1.2.1: Added failsaves for gin_encode and gin2
- 1.3: Major code refactoring. Fields now support decimals. Tool now uses/requires JDK/JRE 11 to be installed, potential accuracy improvements by porting algorithm of gin2.exe to java code, which also removes the requirement of gin2.exe, vcruntime140d.dll and ucrtbased.dll altogether
- 1.3.1: Small UI changes, improved .ini logic, algorithmic number of threads calculation
- 1.3.2: More UI changes, new fields for NFS Carbon and .ini stores more data
- 1.3.3: UI changes, multilanguage support, rewritten "Launch TMXTool" logic. Be sure to have tmxtool.jar and launchTMX.bat at the same location as GINTool
Known issues
- (NO LONGER AN ISSUE VERSION IN 1.3) gin_encode and gin2.exe require Visual C++ Redistributable for Visual Studio 2015 and Universal C Runtime (Universal CRT) to be installed. If they are not installed, you might get issues with encoding process.
Credits
- Azul for their JDK project
- id-daemon for original GIN encoders
- gyan.dev for providing FFMPEG build
- V12Style for the tutorial that the tool was based on
Source code available here
If you want to contribute to the project (add a translation, etc.), don't hesitate to make pull requests. Example messages file can be seen here
Comments
switchuwu (May 15, 2022 @ 16:27)
i tried it with a different wav and it worked fine idk what was the problemswitchuwu (May 15, 2022 @ 16:13)
when i make a gin and then decode it the sound is all messed upif i import it into a game the game just dies
Blazar (March 27, 2022 @ 08:34)
@TheUnpunished I installed all the programs needed to run gintool and it gives me a strange error where it says it encodes the grains but fails to fix the gin table. Is there any way to get around it? And I've noticed an error where gin2.exe doesn't run and gives the following error:The application was unable to start correctly (0x000007b).
OverevGaming (March 26, 2022 @ 06:20)
ah so it seems that both the gintool program has to be in the same partition as the wav and grain filesOverevGaming (March 26, 2022 @ 06:17)
I get a completely different problem from everyone else :phttps://imgur.com/Ba4TsFY
and yeah,, it does not appear i also tried changing the export location to a different partition.
Download
c9ee05-gintool.zip (Size: 2.08KB) Latest Version
3df3c8-gintool.zip (Size: 1.89KB) Old Version
b6bad0-gintool.zip (Size: 1.89KB) Old Version
2e3d89-gintool.zip (Size: 1.85KB) Old Version
eb30b1-gintool.zip (Size: 1.79KB) Old Version
36621d-gintool.zip (Size: 1.75KB) Old Version
a6a78c-gintool.zip (Size: 1.61KB) Old Version
01f06f-gintool.zip (Size: 1.34KB) Old Version
50199d-gintool_1.2.zip (Size: 1.34KB) Old Version
4614b6-gintool_1.2.zip (Size: 1.36KB) Old Version
25ef2c-gintool_1.2.zip (Size: 1.29KB) Old Version
78ac2a-gintool.zip (Size: 1.24KB) Old Version
7826c3-gintool.zip (Size: 1.21KB) Old Version
8e09b6-gintool.zip (Size: 1.28KB) Old Version