Starship/README.md

94 lines
5.1 KiB
Markdown
Raw Normal View History

2024-11-24 21:27:59 +03:00
[comment]: <> (Todo: Make Light Mode Image)
[comment]: <> (Todo: Make Dark Mode Image)
2024-01-09 02:57:46 +03:00
2024-11-24 21:27:59 +03:00
# Starship
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
## Discord
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
Official Discord: https://discord.com/invite/shipofharkinian
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
If you're having any trouble after reading through this `README`, feel free ask for help in the Starship Support text channels. Please keep in mind that we do not condone piracy.
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
# Quick Start
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
Starship does not include any copyrighted assets. You are required to provide a supported copy of the game.
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
### 1. Verify your ROM dump
2024-12-23 01:20:25 +03:00
The supported ROM is the USA 1.1 Rev A version. You can verify you have dumped a supported copy of the game by using the SHA-1 File Checksum Online at https://www.romhacking.net/hash/. The hash for a US 1.1 ROM is SHA-1: 09F0D105F476B00EFA5303A3EBC42E60A7753B7A.
### 2. Verify your ROM is in .z64 format
Your ROM needs to be in .z64 format. If it's in .n64 format, use the following to convert it to a .z64: https://hack64.net/tools/swapper.php
2024-01-01 23:29:08 +03:00
2024-12-22 21:46:34 +03:00
### 2. Download Starship from [Releases](https://github.com/HarbourMasters/Starship/releases)
2023-10-07 18:39:22 +03:00
### 3. Generating the OTR from the ROM
2024-11-24 21:27:59 +03:00
#### Windows
* Extract every file from the zip into a folder of your choosing.
* Copy your ROM to the root of the folder you extracted the zip to.
* Run "generate_otr.bat"
2023-10-07 18:39:22 +03:00
#### MacOS
* Extract every file from the zip into a folder of your choosing.
* Copy your ROM to the root of the folder you extracted the zip to.
* Run "generate_otr.sh"
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
### 4. Play!
2024-12-23 00:34:45 +03:00
* Launch `Starship.exe`
2024-11-24 21:27:59 +03:00
Congratulations, you are now sailing with Starship! Have fun!
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
# Configuration
2024-11-24 21:27:59 +03:00
### Default keyboard configuration
| N64 | A | B | Z | Start | Analog stick | C buttons | D-Pad |
| - | - | - | - | - | - | - | - |
| Keyboard | X | C | Z | Space | WASD | Arrow keys | TFGH |
2024-11-24 21:27:59 +03:00
### Other shortcuts
| Keys | Action |
| - | - |
| F1 | Toggle menubar |
| F11 | Fullscreen |
| Tab | Toggle Alternate assets |
| Ctrl+R | Reset |
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
### Graphics Backends
Currently, there are three rendering APIs supported: DirectX11 (Windows), OpenGL (all platforms), and Metal (macOS). You can change which API to use in the `Settings` menu of the menubar, which requires a restart. If you're having an issue with crashing, you can change the API in the `starship.cfg.json` file by finding the line `"Backend":{`... and changing the `id` value to `3` and set the `Name` to `OpenGL`. `DirectX 11` with id `2` is the default on Windows. `Metal` with id `4` is the default on macOS.
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
# Custom Assets
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
Custom assets are packed in `.o2r` or `.otr` files. To use custom assets, place them in the `mods` folder.
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
If you're interested in creating and/or packing your own custom asset `.o2r`/`.otr` files, check out the following tools:
* [**retro - OTR and O2R generator**](https://github.com/HarbourMasters64/retro)
2024-12-23 00:34:45 +03:00
* [**fast64 - Blender plugin (Note that SF64 is not supported at this time)**](https://github.com/HarbourMasters/fast64)
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
# Development
### Building
2023-10-07 18:39:22 +03:00
2024-12-22 21:46:34 +03:00
If you want to manually compile Starship, please consult the [building instructions](https://github.com/HarbourMasters/Starship/blob/main/docs/BUILDING.md).
2023-10-07 18:39:22 +03:00
2024-11-24 21:27:59 +03:00
<a href="https://github.com/Kenix3/libultraship/">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./docs/poweredbylus.darkmode.png">
<img alt="Powered by libultraship" src="./docs/poweredbylus.lightmode.png">
</picture>
</a>
2024-12-24 05:14:14 +03:00
# Special Thanks:
* [ZeldaRET](https://github.com/zeldaret) : for teaching me the fundamental knowledge of N64 decompilation.
* [Decompals](https://github.com/decompals) : for helping in the initial disassembly and decompilation of the game.
* [HM64 Team](https://github.com/harbourMasters) : for creating Libultraship and helping with various issues.
* [DarioSamo](https://github.com/DarioSamo) : for providing important fixes to the renderer and information about the inner workings of the game graphics system.
* [garrettjoecox](https://github.com/garrettjoecox) : for contributing with interpolation fixes to this port.
* [inspectredc](https://github.com/inspectredc) : for contributing to the [SF64 decompilation project](https://github.com/sonicdcer/sf64).
* [Lywx](https://github.com/KiritoDv) : for co-developing this port as a lead and creating [Torch](https://github.com/HarbourMasters/Torch) asset extraction system.
* [m4xw](https://github.com/m4xw) : for helping with audio issues in this port.
* [Malkierian](https://github.com/Malkierian) : for contributing with important fixes to this port.
* [petrie911](https://github.com/petrie911) : for contributing to the [SF64 decompilation project](https://github.com/sonicdcer/sf64) as a lead.
* [Ryan-Myers](https://github.com/Ryan-Myers) : for contributing to the [SF64 decompilation project](https://github.com/sonicdcer/sf64).
* [Thar0](https://github.com/Thar0) : for contributing with an improved Starfield that can be interpolated to any framerate.
* [TheBoy181](https://github.com/TheBoy181) : for contributing to this project with various widescreen enhancements such as level floors, an extended Starfield among other things.
* [Wiseguy](https://github.com/Mr-Wiseguy) : for providing important information about the inner workings of the N64 platform, as well as helping with the decompilation process.