1
0
mirror of https://github.com/blawar/ooot.git synced 2024-07-02 09:03:36 +00:00
ooot/README.md

143 lines
6.3 KiB
Markdown
Raw Normal View History

2022-02-19 19:08:54 +00:00
[![Windows Build](https://github.com/blawar/ooot/actions/workflows/msbuild.yml/badge.svg)](https://github.com/blawar/ooot/actions/workflows/msbuild.yml)
2021-12-27 19:23:03 +00:00
# Open Ocarina - The Master Port
2021-12-27 19:23:03 +00:00
**Note: This repository does not include any of the assets necessary to build the ROM. A prior copy of the game is required to extract the needed assets.**
2022-02-10 20:00:53 +00:00
**Note: Be sure to use ``git clone --recursive https://github.com/blawar/ooot.git`` when cloning the repo for the submodules.**
2022-02-02 17:09:07 +00:00
**Discord:** <https://discord.com/invite/8tktBEhbZm>
2022-03-30 02:52:12 +00:00
MattsCreative has a great video tutorial on how to compile this project here: <https://youtu.be/swv1Tv-kjsU>
## Features
- 60 FPS support (experimental) (defaults to original 20 FPS)
- Ability to load high resolution GLideN64 texture packs such as [oot-reloaded](https://evilgames.eu/texture-packs/oot-reloaded.htm).
- The ability to assign equipment (boots, tunic, etc) to C-Buttons.
- The ability to assign equipment (boots, tunic, etc) to keyboard keys and gamepad buttons.
- Using B/Attack to execute the currently equiped C-Button equipment in first person mode (so you can fire the hookshot with either the C-Button or B).
- Gryo aiming.
- Keyboard and mouse aiming support.
- Fast text option (hold B during dialog).
- Fast forward gameplay keybind.
- Multilanguage supported (F9 to toggle). Currently supports English, German and French (more languages on the way!).
- Pause menu keyboard/gamepad rebind screen.
- Ability to disable the Owl prompts in config.json
- Cheats in config.json
- Ability to invert gryo, mouse, left stick, and right stick in config.json
2022-02-10 20:00:53 +00:00
## Contributers
2022-03-02 07:43:45 +00:00
The current main contributers of this project are [blawar](https://github.com/blawar) and [DaMarkov](https://github.com/damarkov)
2022-02-10 20:00:53 +00:00
2022-03-23 22:34:23 +00:00
## Required Programs For Compiling Windows
[Python 3.10](https://www.python.org/downloads/) **Add to path during the install**
[Git](https://git-scm.com/) **Choose x64 Build and Use the git bash to clone the repo and to run setup.py**
[Visual Studio Community 2022](https://visualstudio.microsoft.com/vs/community/) **During setup click C++ development**
## Installation
### Windows
**Visual Studio 2019+ is the only currently supported build environment, and only the 32-bit X86/WIN32 build**
2021-12-27 19:23:03 +00:00
You must use the ZAPD that is included with this repository, and not the main branch as it is modified.
2022-02-18 00:50:02 +00:00
### PAL 1.0 RETAIL ROM
2022-03-23 22:34:23 +00:00
If you are using the EUR PAL 1.0 retail rom,
2022-03-25 17:30:24 +00:00
**make Sure baserom_original.z64 or baserom_original.n64 is inside
\ooot\roms\PAL_1.0\ If it's not the correct "hash_md5": ["c02c1d79679f7ceb9a3bde55fff8aa13"] it won't extract the assets and continue.**
2022-03-23 22:34:23 +00:00
Open Git Bash Type ``git clone --recursive https://github.com/blawar/ooot.git`` let it run.
After it's done type cd ooot and if you have the rom placed in the location above
Run this command next to extract the assets from the rom (baserom_original.z64 must exist in the directory)
2022-02-18 00:50:02 +00:00
```
setup.py -b PAL_1.0
```
### EUR Masterquest Debug ROM
2022-03-23 22:34:23 +00:00
If you are using the EUR Master Quest Debug rom.
**make Sure baserom_original.z64 or baserom_original.n64 is inside
\ooot\roms\EUR_MQD\ If it's not the correct "hash_md5": ["f0b7f35375f9cc8ca1b2d59d78e35405", "8ca71e87de4ce5e9f6ec916202a623e9", "f751d1a097764e2337b1ac9ba1e27699"], it won't extract the assets and continue.**
2022-02-18 00:50:02 +00:00
2022-03-23 22:34:23 +00:00
Open Git Bash Type ``git clone --recursive https://github.com/blawar/ooot.git`` let it run.
After it's done type cd ooot and if you have the rom placed in the location above
Run this command next to extract the assets from the rom (baserom_original.z64 must exist in the directory)
```
2022-02-18 00:50:02 +00:00
setup.py -b EUR_MQD
```
Open OOT.sln, you will find this in \ooot\vs make sure **Debug - Win32** or **Release - Win32** is selected, then hit build.
2022-03-23 22:34:23 +00:00
Once the build completes, press F5 to start it if you are testing code but if you are compiling to play right click oot on the side and click build.
2021-12-27 19:23:03 +00:00
### macOS
2021-12-27 19:23:03 +00:00
Not currently supported, however a makefile and porting of GLideN64 would allow this and a PR is welcome.
2021-12-27 19:23:03 +00:00
### Linux (Native or under WSL / VM)
Linux does not currently work. The below steps are for development purposes.
```
Debian/Ubuntu
sudo apt install gcc-multilib g++-multilib
sudo apt install libsdl2-dev
2022-03-24 00:46:26 +00:00
sudo apt install libpng-dev
sudo apt install python3
sudo apt install python3-pip
sudo apt install meson
Arch Linux
2022-03-23 23:11:29 +00:00
edit /etc/pacman.conf annd go to the bottom uncomment multilib so remove the # do not touch testing.
sudo pacman -S gcc lib32-gcc-libs
sudo pacman -S sdl2 lib32-sdl2
sudo pacman -S meson
sudo pacman -S python-pip
sudo pacman -S libpng
Fedora Linux
sudo dnf in gcc
sudo dnf in sdl2-devel
sudo dnf in meson
sudo dnf in python3-pip
sudo dnf in libpng
setup.py -b EUR_MQD
meson setup linux
cd linux
ninja
```
2021-12-27 19:23:03 +00:00
## Contributing
2021-12-27 19:23:03 +00:00
All contributions are welcome. This is a group effort, and even small contributions can make a difference.
Some tasks also don't require much knowledge to get started. The best contribution that can be made, is playing the game and reporting bugs by opening a github issue on this repository. Code contributions, as well as porting changes from the [upstream repo](https://github.com/zeldaret/oot) are greatly appreciated.
2022-02-02 17:09:07 +00:00
Most discussions happen on our [Discord Server](https://discord.com/invite/8tktBEhbZm), where you are welcome to ask if you need help getting started, or if you have any questions regarding this project and other decompilation projects.
2021-12-27 19:23:03 +00:00
## License
2022-03-25 16:23:42 +00:00
Only commits *after* Dec 27, 2021 [a862411](https://github.com/blawar/ooot/commit/a862411f00c536770850f2c4e9e9b2edfea8947b) are covered under this GPL v2 license, as the original [upstream repo](https://github.com/zeldaret/oot/) unfortunately did not have a license and can not be relicensed retroactively.
2021-12-27 19:23:03 +00:00
This software is licensed under the terms of the GPLv2, with exemptions noted below:
2020-04-17 22:05:21 +00:00
2022-02-02 00:50:05 +00:00
[Nintendo](https://github.com/Nintendo) is exempt from GPLv2 licensing and may (at its option) instead license any source code authored for this project under the MIT license.
2020-04-17 22:05:21 +00:00
2022-03-25 16:23:42 +00:00
[Ship of Harkinian](https://github.com/HarbourMasters/Shipwright) is exempt from GPLv2 for the ZAPD XML files and the below commit hashes and may instead license those files/changes under the MIT license as long as they properly credit the contributors of those files in their primary readme.
[52011c3d](https://github.com/blawar/ooot/commit/52011c3d38464a75461c9eb09bf6cb86b4c171b3)
[55765bca](https://github.com/blawar/ooot/commit/55765bca971154215348ae3eb533b0902af24d66)