-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZeldaOcarinaofTime.txt
48 lines (41 loc) · 2.84 KB
/
ZeldaOcarinaofTime.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
The Legend of Zelda: Ocarina of Time (1998)
Ship of Harkinian
- download Ship of Harkinian (https://github.com/HarbourMasters/Shipwright) (https://www.shipofharkinian.com/)
+ nightly builds (https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-windows.zip)
- download Zelda OOT Debug ROM (7zip required to extract)
- place ROM in folder with soh.exe
- launch soh.exe
- generate OTR files, Click Yes
- use ROM placed in directory, Click Yes
- Dont extract another ROM, Click No
Visual Studio
- download git (winget install --id Git.Git -e --source winget) (https://www.git-scm.com/download/win)
- download python 3 (https://www.python.org/downloads/windows/)
- download cmake (https://cmake.org/download/)
- download Visual Studio (https://visualstudio.microsoft.com/downloads/)
- install and checkmark Desktop development with C++ and C++ CMake tools for Windows
- restart, then open Visual Studio installer again
- download preview build, checkmark Desktop development with C++ and C++ CMake tools for Windows
- restart
- skip account sign up
- Development settings: Visual C++
- Choose your color theme: Dark
- launch Visual Studio (C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\devenv.exe)
- launch cmd
- cd %USERPROFILE%\Downloads
- git clone --recursive https://github.com/HarbourMasters/Shipwright/
- remove "-DNDEBUG" from lines 56, 57, and 58 in CMakeLists.txt file
- add "-march=native -msahf -O3 -pipe -fno-plt -fno-common -fipa-pta -falign-functions=32 -fdevirtualize-at-ltrans -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -fexcess-precision=fast -flto=auto" to lines 56, 57, and 58 in CMakeLists.txt file
- add these strings underneath
set(CMAKE_C_FLAGS "-march=native -msahf -O3 -pipe -fno-plt -fno-common -fipa-pta -falign-functions=32 -fdevirtualize-at-ltrans -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -fexcess-precision=fast -flto=auto")
set(CMAKE_CXX_FLAGS "-march=native -msahf -O3 -pipe -fno-plt -fno-common -fipa-pta -falign-functions=32 -fdevirtualize-at-ltrans -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -fexcess-precision=fast -flto=auto")
set(CMAKE_OBJCXX_FLAGS "-march=native -msahf -O3 -pipe -fno-plt -fno-common -fipa-pta -falign-functions=32 -fdevirtualize-at-ltrans -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -fexcess-precision=fast -flto=auto")
- download Zelda OOT Debug ROM (7zip required to extract)
- place ROM in Shipwright\OTRExporter directory
- open powershell
- cd %USERPROFILE%\Downloads\Shipwright
- & 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 17 2022" -A x64
- & 'C:\Program Files\CMake\bin\cmake.exe' --build .\build\x64 --target ExtractAssets
- & 'C:\Program Files\CMake\bin\cmake.exe' --build .\build\x64
- soh.exe is in "%USERPROFILE%\Downloads\Shipwright\x64\Debug" directory
F1 for options menu