Comments (16)
I don't have a Windows machine at the moment, maybe someone else would be able to produce a video walkthrough.
Assuming no familiarity with the tooling (I'm going to assume you can git clone, otherwise just download the repo from https://github.com/snesrev/zelda3/archive/refs/heads/master.zip), I think the complete process is as follows:
Python Setup
- Download latest version of Python 3 from https://www.python.org/downloads/windows/
- Run Python 3 installer.
- Open a Command prompt and verify the commands
python
andpip
works. AND verifypython --version
returns a number starting with 3. - If they do not, you may need to manually update your environment's
PATH
. Check out this video. - Once
pip
is working, runpip install pillow pyyaml
- Open a python interactive window (run
python
) and verify these packages are installed. - run
import PIL
for Pillow - run
import yaml
for pyyaml. edit: I initially wrote 'pyyaml' here. this is wrong, the module itself isyaml
in code, but the package name ispyyaml
.
Resource generation and compilation
Follow the instructions at the beginning Compiling, which involves putting the ROM inside the repository. If you did the first section right, you can run those commands without problems.
Visual Studio
This is where I'm not entirely sure about the setup. But I believe you can install VS Community Edition from here. Once you've run through the installer, just open Zelda3.sln
(NOT the vcxproj file) and Build the project.
from zelda3.
What platform are you on? Have you looked at the Compiling section of the README?
from zelda3.
WINDOWS 11.
from zelda3.
Thank You mate. I am noob at this. This was really Helpful :)
from zelda3.
Can this be put in the wiki?
from zelda3.
I'm having problems with extracting and compiling the resources. It's saying my hash is wrong, but when I check the hash it is correct (66871d66be19ad2c34c927d6b14cd8eb6fc3181965b6e517cb361f7316009cfb). It keeps giving me some random hash that has nothing to do with the file I have (2a033aba8182e539103010b7b70dfa961d1fd07285386949638b39a7806004aa).
from zelda3.
Which script is failing, extract or compile? Can you paste the commands you're running and the output?
from zelda3.
Which script is failing, extract or compile? Can you paste the commands you're running and the output?
I deleted everything the scripts created and now I get this outupt:
PS C:\zelda3-master\tables> python3 extract_resources.py
PS C:\zelda3-master\tables> python3 compile_resources.py
Traceback (most recent call last):
File "C:\zelda3-master\tables\compile_resources.py", line 64, in
ROM = util.LoadedRom(sys.argv[1])
IndexError: list index out of range
from zelda3.
I fixed this in #34, you can either redownload the repo and start over or you can run tell the script specifically the ROM path. Assuming you just copied it in there already, try
C:\zelda3-master\tables> python3 extract_resources.py zelda3.sfc
C:\zelda3-master\tables> python3 compile_resources.py zelda3.sfc
from zelda3.
I fixed this in #34, you can either redownload the repo and start over or you can run tell the script specifically the ROM path. Assuming you just copied it in there already, try
C:\zelda3-master\tables> python3 extract_resources.py zelda3.sfc C:\zelda3-master\tables> python3 compile_resources.py zelda3.sfc
I redownloaded the zip and it worked first try. Thank you for your help and your time! :)
from zelda3.
Anyone has a video tutorial or guide so I can follow it?
from zelda3.
Thanks for putting that together. FYI though, python3 is still a valid command in many cases, including Windows and macOS, but I certainly wish we could all eliminate Py2 faster. I think that change was made pretty recently and we can fix that up to make it more clear.
from zelda3.
from zelda3.
if needed i can do a pro edited video that video was done all in a single go. so if it's needed let me know.
from zelda3.
I thought it was pretty good, no need to put in more effort if it's a hassle. if you get around to it, my only thoughts:
- it probably wouldn't hurt to mention that the Visual Studio project automatically installs SDL through NuGet (this might
be helpful context so that people know to use Package Restore when seeing SDL errors, but NuGet works pretty well on the first build, or better than it used to...). honestly you could just throw this in the descrption, maybe it will help someone. - probably can cut the current video about halfway, shorter videos will help users not run away or lose attention.
@LumenHeart feel free to check out the instructions and/or video in this thread, and update us if you're still having issues.
from zelda3.
Is the documentation satisfactory now? Reopen if not.
from zelda3.
Related Issues (20)
- A proper widescreen Ui layout HOT 1
- Zelda (G) Rom HOT 3
- Link's shadow is missing when using the magic cape in widescreen modes
- Can't throw boomerang diagonally south when Y is bound to certain Keypad keys HOT 2
- Error/warning while building in VS HOT 3
- Error while building with MSYS2 on Windows HOT 2
- Error while running python scripts HOT 1
- Super Bomb not working HOT 1
- Audio regression, sound effects get quieter near right screen edge
- MSYS build depends on libwinpthread-1.dll HOT 19
- Bug with Master Sword! HOT 6
- Good Bee sale bug
- Certain sprites aren't rendered in the extended view (bombs and its explosion for example)
- Shader error: Unknown key HOT 1
- 32-bit builds are broken on MSYS2 HOT 7
- Possible audio issues with replay HOT 3
- TCC build crash when carrying items for an unusually long time
- Possibility for Gamecube/Wii Port?
- [FR] Lower OpenGL version requeriments so shaders can be used on the Raspberry Pi HOT 11
- compile for snes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zelda3.