Giter Club home page Giter Club logo

chpatri's Introduction

NOTE: This tool is design for Cxbx-Reloaded developers to troubleshoot, add, and validate OOVPA signatures.

CHPATRI

  • Convert
  • HLE Cache File
  • Plus
  • Asm Section
  • To
  • Reverse Engineer
  • Informative Asm File

Feature

  • Input 4 to 6 arguments manually.
  • CHPATRI.ini file as global in same directory with CHPATRI.exe file.
  • Drag and drop custom ini file on CHPATRI.exe file executable.

How to Use it

To use it, you will need to input within range of 4 to 6 arguments in your command prompt (cmd.exe) in order to process conversion correctly. Or use your own ini file to automate process your request. See "Automate Process" to find out how.

CHPATRI.exe <Section's Virtual Address> <Section's Size of Raw> <HLE Cache file name (Input)> <Section Asm file (Input)> [HLE Cache file name (Output, optional)] [Section Asm file (Output, optional)]

For example with Cel Damage title:

CHPATRI.exe 0024CF80 0001FF4C 93bf5881.ini DSOUND.txt rangeDetect.txt DSOUND.asm

Automate Process

There are up to 6 arguments can be used. Create a global CHPATRI.ini file in same directory CHPATRI.exe executable is in. Then add all or a few of these variables from below in CHPATRI.ini file.

  • arg1= Virtual Address
  • arg2= Size of Raw
  • arg3= HLE Cache ini file (Input)
  • arg4= Library section txt file (Input)
  • arg5= HLE Cache ini file (Output, optional)
  • arg6= Library section txt file (Output, optional)

Plus you can also use custom ini file for drag and drop onto CHPATRI.exe file. Be aware of custom ini will overwrite global settings.

NOTE: arg3 to arg6 does not require any quotes.

Steps to take

NOTE: Does not necessarily follow in that order.

  1. Download alugi's quickbms tool and xbe_dump.bms files. Run it to extract all sections into raw section files in a separate folder.
  2. Next, you will need to dump xbe information from Cxbx(-R)'s, tool in order to obtain Virtual Address and Size of Raw values from specific section.
  3. Run the title in Cxbx(-R) to generate HLE Cache file.
  4. Run Cheat Engine tool and open any raw section file you chose for Virtual Address and Size of Raw values to be use.
    1. Click on Memory View button.
    2. Click on File-->Save disassemble output" from dropdown menu.
    3. From input should be 0 and To input should be exactly the same as Size of Raw value.
    4. Then click "Save" (Please make sure you save it with an extension at the end.)
  5. Now you can use CHPATRI tool, see "How to Use it" instruction above.
  6. Finally, open generated section file and start reverse engineer of what's missing and/or verify if location is correct.

chpatri's People

Contributors

radwolfie avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chpatri's Issues

Make Self Processing Ability Support

Use arguments in ini file within same directory where application is executed in. Doing this way will allow us to run the application without the need to re-input every time or use interactive mode too.

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.