Giter Club home page Giter Club logo

crc2005-tools's Introduction

CRC 2005 Tools

This is a collection of tools for Cross Racing Championship 2005. Currently, this repository only contains tools required to edit shaders.

Requirements

  • ishdtool requires Python 3.x.
  • crc2005cmd relies on game's executable to pack/unpack LZW archives. Currently, only v1.2.4 (Build 907) is supported. Moreover, Ultimate ASI Loader (included in the archive) is required to load the plugin.

Tools included

CRC2005Cmd

This ASI plugin for the game adds several commandline arguments to the game, effectively turning it into a CLI tool. Run the game with a --cmd argument followed by tool parameters to run the game in tool mode.

Supported features:

  • Decompressing LZW files (shader.dat) - -u input_file [-o output_file]
  • Compressing LZW files (shader.dat) - -p input_file [-o output_file]

DISCLAIMER: This plugin only works with a v1.2.4 (Build 907) version! This means it will not work with a Steam version. If you need this tool and you need it to work with that version, send an issue so I know at least somebody cares!

ISHD Tool

This script allows unpacking a ISHD shader archive to separate shader sources, as well as packing it back.

Supported features:

  • Unpacking ISHD archive to a directory - -u input_file [output_dir]
  • Packing a directory into an ISHD archive - -p input_dir [output_file]

Modifying shaders

Combining both steps allows to freely edit any shader file in game, originally packed in a shader.dat archive. Both unpacking and packing are two step processes - first, a LZW file needs to be decompressed, then a resulting ISHD archive needs to be unpacked to text files.

Example

Assuming ishdtool.py is placed in game directory and CRC2005Cmd is installed correctly, use the following commands to extract all shaders to system\shaders directory:

crc.exe --cmd -u system\shader.dat -o system\shader.ishd
python ishdtool.py -u system\shader.ishd system\shaders

After you're done editing shaders, use the following commands to pack them back:

python ishdtool.py -p system\shaders system\shader.ishd
crc.exe --cmd -p system\shader.ishd -o system\shader.dat

crc2005-tools's People

Contributors

cookieplmonster avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

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.