bep713 / hc09-editor

7 stars 2 forks source link

Head Coach 09 Editor

An all purpose editor for NFL Head Coach 09.

Features

Download Instructions

Prereqs

  1. Make sure 7-zip is installed on your computer

Steps

  1. Download the latest release on GitHub
  2. Find the downloaded .7z file, right click and click 'Extract to HC09Editor/' or similar
  3. Open the extracted folder.
  4. Double click on HC09Editor.exe to open the app.

Usage Instructions

Changing User Controlled Teams

  1. Open your career file from the app's start page by clicking 'Load Career File'. You will want to open the USR-DATA file if using a PS3 or equivalent if on 360.

  2. Click on the Change Team menu option.

  3. Click on the team logo that you would like to control.

  4. Click on the Save Career menu option.

  5. Click on the Close File menu option.

  6. Re-load the file Head Coach 09 to see the change.

NOTE: The loading screen and initial team background will still have the old controlled team. That is fine, the stadium background will change before your next game.

You can be sure the change worked by looking at the top right to see your user controlled team's logo.

Modifying/Building the Source Code

Architecture

This application uses Deskgap - a lightweight alternative to Electron that is sadly no longer active. The idea is exactly the same - using Node.JS and front-end languages to create desktop applications.

This also uses a JS library that I created to read/edit/write DB files, named madden-file-tools.

The front-end (renderer) uses VueJS v3.

Deskgap Limitations

Deskgap Advantages

I love Electron, but the file size can be really annoying for simple apps (>100MB). Deskgap provides a lightweight alternative and this app comes to about 10MB in an archive.

Building the Code

  1. Run npm install on the root directory to install all dependencies.
  2. Run npm run start to start the app.

Modifying the Code

  1. Run npm run watch to tell webpack to watch for any changes.
  2. Any changes made will bundle to the dist folder (src/client/main/dist). This dist folder will be what is ultimately packaged into the application when releasing.

Releasing the App

Deskgap doesn't have a defined build/release process. I took the Deskgap demo app and copy/pasted my files to get it to work. Deskgap.exe will simply run whatever code is pasted into the app folder. From there I just used 7-zip to compress the files even further.