Skip to content
/ grey-hack Public

Scripts for the Grey Hack game. Also watch mode for Greybel.

Notifications You must be signed in to change notification settings

ftzi/grey-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grey Hack scripts - WIP

Personal scripts for the Grey Hack game. Still on early stage.

You might be particularly interested in:

  • The try function: https://github.com/ftzi/grey-hack/blob/main/root/try.src
  • The compiler. It compiles your entry file and its imported files automatically. Supports watch mode, execute after build, automated tests, and an importable function to make your programs self-compile with the latest source when executed.
  • Automatic upload of the changed source files to the game while you use your favorite IDE. See package.json and watch.ts. Note that by choice, I don't use Greybel's build system, only its raw upload.

Setup

  1. Install BepInEx 5.x.x: https://github.com/ayecue/greybel-vs#message-hook
  2. Clone this repo.
  3. Have node installed. Bun, as an alternative, didn't work here with Greybel.
  4. Run npm i

Development / Play

  1. Run the game.
  2. Run npm start. All the files will be uploaded to the game and also any changes done to them.

Game

  1. Run sudo -s and enter your password.
  2. Run build c.src /root to build the compilation tool.
  3. Run c to build all the source files in the current directory (/root) and their required libraries.
  4. Run setup home to secure your home computer and setup the auto-root Terminal on startup.

Info

  • You can run the program clean to remove all the source files and executables in /root and related subdirectories. Then you can run npm start in your real terminal to upload them again.

Tips

About

Scripts for the Grey Hack game. Also watch mode for Greybel.

Topics

Resources

Security policy

Stars

Watchers

Forks