OpenBSD Handbook

    Theme
    • Part I. Install & Configure
      • Introduction to OpenBSD
      • Installing OpenBSD
      • The X Window System
      • Networking on OpenBSD
      • System Configuration
      • OpenBSD Basics
      • Managing Software: Packages and Ports
    • Part II. Daily Operations
      • OpenBSD Desktop Environments
      • Multimedia
      • Printing
      • Linux Compatibility
      • Windows Compatibility
      • Games
    • Part III. System Administration
      • Virtualization
      • Storage and File Systems
      • Updating and Upgrading
      • Localization
      • The OpenBSD Boot Process
      • Security
    • Part IV. Networking & Daemons
      • Services
        • Database
          • MariaDB
          • PostgreSQL
          • Redis
          • memcached
        • Directory
          • YP (NIS)
          • LDAP
        • File
          • NFS
          • Samba
        • FTP Services
          • ftpd
          • ProFTPD
          • vsftpd
          • Pure-FTPd
          • TFTP
        • Mail
          • OpenSMTPD Mail Server
          • Dovecot IMAP and POP3 Server
          • Postfix
          • Exim
          • Rspamd
        • Name
          • Unbound DNS Resolver
          • NSD Authoritative DNS Server
          • BIND DNS Server
        • Networking
          • OpenBGPD
          • rad
          • DHCP on OpenBSD
          • slaacd
        • Web
          • Apache HTTP Server
          • nginx Web Server
          • OpenBSD httpd Web Server
          • relayd Reverse Proxy
        • Logging
          • syslogd
        • Monitoring
          • SNMP
        • Remote Access
          • Audit OpenSSH
          • OpenSSH Server
        • File Synchronization
          • rsync
        • Messaging
          • RabbitMQ Message Broker
        • Time
          • NTP Time Synchronization
      • PF
        • pfctl cheat sheet
        • PF Anchors
        • PF Filter Rules
        • PF Forwarding
        • PF Lists and Macros
        • PF Load Balancing
        • PF Logging
        • PF NAT
        • PF Options
        • PF Policies
        • PF Shortcuts
        • PF Tables
      • Advanced Networking
        • High Availability and State Replication
        • Multi-WAN and Policy-Based Routing
        • VPN and Cryptographic Tunneling
        • Classic and Lightweight Tunnels
        • IPv6 at Scale
        • QoS and Traffic Shaping
        • MPLS and Label Distribution
        • Network Services at Scale
        • Virtualization and Host Networking
        • Large-Scale L2 and L3 Design
        • Telemetry, Logging, and Flow Export
        • Hardening and Operational Safety
        • Reference Architectures
        • Troubleshooting Playbooks
      • Serial Communication
    • Part V. Miscellaneous
      • Virtualization Cheat Sheet
      • OpenBSD Cheatsheet
      • How-to Guides
        • Complete the First 30 Minutes After Installation
        • Check Hardware Compatibility Before Installing
        • Bootstrap Wi-Fi Firmware Without Ethernet
        • Set Up OpenBSD as a Laptop or Workstation
        • Configure Laptop Power Management
        • Run OpenBSD as a Virtual Machine Guest
        • Install OpenBSD on a VPS or Cloud Server
        • Install OpenBSD with Full-Disk Encryption
        • Troubleshoot Web Browsers on OpenBSD
        • Create an Administrator Account with doas and SSH Keys
        • Establish a Conservative Security Baseline
        • Manage OpenBSD with Ansible
        • Recover Access and Reset the Root Password
        • Collect OpenBSD Diagnostic Evidence
        • Configure Secure Remote Access with OpenSSH
        • Set Up WordPress on OpenBSD
        • Build Third-Party Software from Ports
        • Use FIDO Security Keys with OpenSSH
        • Build OpenBSD from Source
        • Configure Wi-Fi Roaming and Wired Failover
        • Dual-Boot OpenBSD on a UEFI System
        • Troubleshoot PF, NAT, and Routing
        • Automate OpenBSD Installation with Autoinstall and PXE
        • Route Multiple VLANs with PF
        • Configure a Road-Warrior WireGuard VPN
        • Troubleshoot Package Installation and Update Failures
        • Route IPv6 Networks without NAT
        • Schedule Recurring Maintenance
        • Plan a Docker Workload Migration to OpenBSD
        • Build a Mail Server with OpenSMTPD, Dovecot, and Rspamd
        • Build a Simple Router and Firewall
        • Monitor an OpenBSD System
        • Back Up and Restore an OpenBSD System
        • Configure softraid RAID1
        • Recover an OpenBSD System That Does Not Boot
        • Install Z shell (zsh)
      • OpenBSD for Linux Users
      • OpenBSD for FreeBSD Users
      • OpenBSD for macOS Users
    • OpenBSD FAQ
    • OpenBSD Architectures
      • OpenBSD Package Search

        zelda3-0.3p1

        Package search / Categories / Current snapshot
        โ† Back to search
        OpenBSD branch
        OpenBSD 8.0 releaseCurrent snapshot

        Current snapshot ยท amd64

        reimplementation of Zelda - A Link to the Past

        Project homepage: https://github.com/snesrev/zelda3/

        Description

        This is a reverse-engineered clone of Zelda 3 - A Link to the Past. It's around 70-80kLOC of C code, and reimplements all parts of the original game. The game is playable from start to end. A bunch of features have been added that are not supported by the original game. Some of them are: - Support for pixel shaders. - Support for enhanced aspect ratios of 16:9 or 16:10. - Higher quality world map. - Support for MSU audio tracks. - Secondary item slot on button X (Hold X in inventory to select). - Switching current item with L/R keys. - Alternative sprites for the game's protagonist. This game requires proprietary assets to run, which can be installed using the games/zelda3-data port.

        Package information

        Ports path
        games/zelda3
        Package architecture
        amd64
        Maintainer
        Stefan Sperling <stsp@openbsd.org>
        Categories
        games
        Available flavors
        None listed

        Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.

        Direct dependencies

        Library

        • devel/sdl2

        Build

        • devel/gmake
        OpenBSD README

        This README contains unresolved ports variables; replace them before using its commands.

        +-------------------------------------------------------------------------------
        | Running zelda3 on OpenBSD
        +-------------------------------------------------------------------------------
        
        Official documentation
        ======================
        
        See the project wiki at https://github.com/snesrev/zelda3/wiki/
        
        Usage
        =====
        
        This game requires proprietary assets to run, which can be installed
        using the games/zelda3-data port.
        
        Because this game reads and creates files in the current working
        directory it is recommended to start the game inside a dedicated
        directory: mkdir ~/zelda3; cd ~/zelda3; zelda3
        
        The game creates a 'saves' directory in the current working directory
        where save states are stored.
        
        The game reads the configuration file zelda3.ini, which must be placed
        in the current working directory where the game is started. An example
        can be found at ${LOCALBASE}/share/examples/zelda3/zelda3.ini.
        All optional features which enhance or change the original gameplay
        experience must be manually enabled in zelda3.ini.
        
        Sound
        =====
        
        Sound is disabled by default and can be enabled in zelda3.ini.
        The example zelda3.ini file provided by the package enables sound.
        
        Controls
        ========
        
        Keyboard Control Button Mapping
        -------------------------------
        
        The default mapping of joypad buttons to keyboard keys is as follows:
        
        | Button | Key         |
        | ------ | ----------- |
        | Up     | Up arrow    |
        | Down   | Down arrow  |
        | Left   | Left arrow  |
        | Right  | Right arrow |
        | Start  | Enter       |
        | Select | Right shift | (example zelda3.ini overrides this, see below)
        | A      | X           |
        | B      | Z           |
        | X      | S           |
        | Y      | A           |
        | L      | C           |
        | R      | V           |
        +--------+-------------+
        
        Keys can be reconfigured in zelda3.ini.
        
        Because the 'Right shift' key did not work during initial play-testing
        on OpenBSD, the example zelda3.ini provided in the package uses the
        following keys for the Select button instead:
        
        | Keyboard | Key |
        | -------- | --- |
        | QWERTY   |  /  |
        | QWERTZ   |  -  |
        | AZERTY   |  !  |
        +----------+-----+
        
        Additionally, the following commands are available:
        
        | Key          | Action
        | ------------ | -------------------------------------------
        | Tab          | Turbo mode
        | W            | Fill health/magic
        | Shift+W      | Fill rupees/bombs/arrows
        | Ctrl+E       | Reset
        | P            | Pause (with dim)
        | Shift+P      | Pause (without dim)
        | Ctrl+Up      | Increase window size
        | Ctrl+Down    | Decrease window size
        | T            | Toggle replay turbo mode
        | O            | Set dungeon key to 1
        | K            | Clear all input history from the joypad log
        | L            | Stop replaying a shapshot
        | R            | Toggle between fast and slow renderer
        | F            | Display renderer performance
        | F1-F10       | Load snapshot
        | Alt+Enter    | Toggle Fullscreen
        | Shift+F1-F10 | Save snapshot
        | Ctrl+F1-F10  | Replay the snapshot
        | 1-9          | run a dungeons playthrough snapshots
        | Ctrl+1-9     | run a dungeons playthrough in turbo mode
        + ------------ + -------------------------------------------
        
        In-game button assignment
        -------------------------
        
        Up/Down/Left/Right: Move the protaginist or move the select cursor in menus.
        Start:              Open the inventory menu.
        Select:             Open the save menu.
        A:                  Action button (talk, lift, push or pull things)
        B:                  Sword attack (hold and release for a charged attack).
        Y:                  Use inventory item assigned to button Y.
        X:                  View the map.
        L/R:                Switch current item.
        
        There is a secondary item slot on button X (Hold X in inventory to select).
        
        Alternative Sprites
        ===================
        
        The games/zelda3-sprites port provides alternative sprites for the
        game's protaginist. These can be used by setting the LinkGraphics
        opion in zelda3.ini.
        

        Package guides

        • Installing and updating packages

        Package details as JSON

        Report a bug