Go to file
RyzenDew d9c19b5345
Merge pull request #330 from xoascf/es-translation-eduardo_a2j
Added full Spanish translation (by eduardo_a2j)
2023-04-21 22:53:30 -03:00
.github Changed workflow file so that the build action also runs for commits/PRs on the `dev` branch. (#229) 2022-03-27 19:56:10 -04:00
AziAudio@19d57db382 updated azi 2022-03-25 02:10:31 -04:00
GLideN64@a50281d820 more linux fixes 2022-05-03 11:44:26 -04:00
external fixed json button mapping loader 2022-02-17 09:12:25 -05:00
include Update message_data_es-SV.h 2023-04-21 20:49:05 -05:00
roms more linux fixes 2022-05-03 11:44:26 -04:00
src force 20fps in the crawl tunnel 2022-05-15 20:25:03 -04:00
subprojects Improve linux compilation support (GLideN64) (#315) 2022-05-02 10:50:25 -04:00
tools Fix ucode naming and remove data that is no longer extracted 2022-04-14 14:37:33 -05:00
vs refactored gamestate 2022-04-13 17:00:45 -04:00
.clang-format formatting 2022-04-13 17:00:41 -04:00
.gitattributes First proper commit. 2020-03-17 00:31:30 -04:00
.gitignore more high framerate fixes 2022-04-13 17:00:36 -04:00
.gitmodules audio partially working 2022-03-01 14:19:45 -05:00
LICENSE port merge 1 2022-01-31 19:05:17 -05:00
Makefile libultra files and directories restructure (#1038) 2021-11-30 19:08:57 -05:00
README.md updating read me 2022-05-26 07:25:54 -03:00
fixle.sh Setup formatting with clang-format and clang-tidy 2020-03-22 20:18:10 +01:00
format.sh formatting 2022-04-13 17:00:41 -04:00
meson.build more linux fixes 2022-05-03 11:44:26 -04:00
meson_options.txt added meson files 2022-04-03 18:18:14 -04:00
setup.py fixed some fps options (30, 40, 60, 120, and 240) (still buggy) 2022-04-13 17:00:47 -04:00
x86-arch-gnu added meson files 2022-04-03 18:18:14 -04:00
x86-debian-gnu added meson files 2022-04-03 18:18:14 -04:00
x86-fedora-gnu added meson files 2022-04-03 18:18:14 -04:00
x86-linux-gnu more linux fixes 2022-05-03 11:44:26 -04:00
x86-windows-gnu added meson files 2022-04-03 18:18:14 -04:00

README.md

Windows Build

Open Ocarina - The Master Port

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.

Note: Be sure to use git clone --recursive https://github.com/blawar/ooot.git when cloning the repo for the submodules.

Discord: https://discord.com/invite/8tktBEhbZm

How to Acquire the ROM needed

You must get that on your own and please do not ask for that in the discord due to discord's TOS.

PAL 1.0 MD5

9526b263b60577d8ed22fb7a33c2facd

EUR MQD MD5

f0b7f35375f9cc8ca1b2d59d78e35405

MattsCreative has a great videos and tutorial on how to compile this project Below:

How to use OOT Builder

FAQ

FAQ Click here for more infomation on the Project!

Features

  • 20, 30, 60, and 120 FPS support (experimental) (defaults to original bug free 20 FPS)
  • Right joystick free camera control (can be disabled)
  • Ability to load high resolution GLideN64 texture packs such as oot-reloaded.
  • 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.
  • Controller rumble support.
  • 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

Contributers

The current main contributers of this project are blawar and DaMarkov

How to Acquire the ROM needed

You must get that on your own and please do not ask for that in the discord due to discord's TOS.

Windows and Required Programs

Step one install all required Programs below

Python 3.10 Add to path during the install

68747470733a2f2f692e696d6775722e636f6d2f4544326c5139512e706e67

Git Choose x64 Build and Use the git bash to clone the repo and to run setup.py

Visual Studio Community 2022 During setup click C++ development vcc

Visual Studio 2019+ is the only currently supported build environment, and only the 32-bit X86/WIN32 build

You must use the ZAPD that is included with this repository, and not the main branch as it is modified.

Step 2 Follow what is below!

PAL 1.0 RETAIL ROM

If you are using the EUR PAL 1.0 retail rom,

make sure baserom_original.z64 or baserom_original.n64 is inside the correct folder as shown below: \ooot\roms\PAL_1.0\

rom pal

iF the roms hash is not correct it won't extract the assets and continue. "hash_md5": ["c02c1d79679f7ceb9a3bde55fff8aa13"]

Open git Bash or command prompt and type: git clone --recursive https://github.com/blawar/ooot.git

git clone

after it's done type cd ooot

cd ooot

run this command next to extract the assets from the rom. (baserom_original.z64 must exist in the directory \ooot\roms\PAL_1.0\)

pal

python setup.py -b PAL_1.0

EUR Masterquest Debug ROM

if you are using the EUR Master Quest Debug rom.

make sure baserom_original.z64 or baserom_original.n64 is inside the correct folder as shown below: \ooot\roms\EUR_MQD\

rom mq

if the roms hash is not correct it won't extract the assets and continue. "hash_md5": ["f0b7f35375f9cc8ca1b2d59d78e35405", "8ca71e87de4ce5e9f6ec916202a623e9"

Open git Bash or command prompt and type:

git clone --recursive https://github.com/blawar/ooot.git

git clone

after it's done type cd ooot

cd ooot

run this command next to extract the assets from the rom. (baserom_original.z64 must exist in the directory \ooot\roms\EUR_MQD\)

mq

python setup.py -b EUR_MQD

Open OOT.sln, you will find this in \ooot\vs sln

make sure Debug - Win32** or **Release - Win32 is selected, then hit build.

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.

How to Enable 60FPS

git checkout dev

git pull origin dev

git submodule update --init --recursive

python setup.py -b PAL_1.0

And compile as normal! when in game press F7 to go back to 20FPS and F8 to go up to 30FPs 60FPs and 120FPS!

How to update local repo

open git bash type:

cd ooot

git pull

python setup.py -b PAL_1.0

python setup.py -b EUR_MQD

and Open OOT.sln, you will find this in \ooot\vs make sure Debug - Win32** or **Release - Win32 is selected, then hit build.

release debug

macOS

Not currently supported, however a makefile and porting of GLideN64 would allow this and a PR is welcome.

Linux (Native or under WSL / VM)

Linux does not currently work. The below steps are for development purposes.

Debian/Ubuntu

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install gcc-multilib g++-multilib
sudo apt install libsdl2-dev
sudo apt install libsdl2-dev:i386
sudo apt install libpng-dev
sudo apt install libfreetype6-dev
sudo apt install libfreetype6-dev:i386
sudo apt install python3
sudo apt install python3-pip
sudo apt install meson

Arch Linux

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
sudo dnf in g++

setup.py -b EUR_MQD
meson setup linux --cross-file x86-linux-gnu
cd linux
ninja

Contributing

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 are greatly appreciated.

Most discussions happen on our Discord Server, 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.

License

Only commits after Dec 27, 2021 a862411 are covered under this GPL v2 license, as the original upstream repo unfortunately did not have a license and can not be relicensed retroactively.

This software is licensed under the terms of the GPLv2, with exemptions noted below:

Nintendo is exempt from GPLv2 licensing and may (at its option) instead license any source code authored for this project under the MIT license.

Ship of Harkinian 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 55765bca

Special Thanks

  • damarkov: Programming
  • frizzle101101: Free Camera and high framerate fixes
  • lehpumeh: Endless Testing
  • mattscreative: Videos, Tutorials, and Wiki