Code Monkey home page Code Monkey logo

zsxd's Introduction

Zelda: Mystery of Solarus XD Logo

Zelda: Mystery of Solarus XD

This package contains the data files of the game Zelda: Mystery of Solarus XD. This quest is a free, open-source game that works with Solarus, an open-source Zelda-like 2D game engine. To play this game, you need Solarus. We assume in this readme that Solarus is already installed.

See our development blog to get more information and documentation about Solarus and our games.

Table of Contents

1. Play directly

You need to specify to the solarus_run binary the path of the quest data files to use. The binary solarus_run accepts two forms of quest paths:

  • a directory having a subdirectory named data with all data inside,
  • a directory having a zip archive data.solarus with all data inside.

Thus, to run zsxd, if the current directory is the one that contains the data subdirectory (and this readme), you can type:

$ solarus_run .

Or without arguments, if Solarus was compiled with the default quest set to ".":

$ solarus_run

2. Install the quest

2.1. Default settings

If you want to install zsxd, cmake and zip are recommended. Just type:

$ cmake .
$ make

This generates the data.solarus archive that contains all data files of the quest. You can then install it with

$ make install

This installs the following files (assuming that the install directory is /usr/local):

  • the quest data archive (data.solarus) in /usr/local/share/solarus/zsxd/
  • a script called zsxd in /usr/local/bin/

The zsxd script launches solarus_run with the appropriate command-line argument to specify the quest path. This means that you can launch the zsxd quest with the command:

$ zsxd

which is equivalent to:

$ solarus_run /usr/local/share/solarus/zsxd

2.2. Change the install directory

You may want to install zsxd in another directory (e.g. so that no root access is necessary). You can specify this directory as a parameter of cmake:

$ cmake -D CMAKE_INSTALL_PREFIX=/home/your_directory .
$ make
$ make install

This installs the files described above, with the /usr/local prefix replaced by the one you specified. The script generated runs solarus_run with the appropriate quest path.

zsxd's People

Contributors

benobiwan avatar christopho avatar darknior avatar hasufell avatar is06 avatar jasperla avatar nicolastriplec avatar nmagre avatar oclero avatar renkineko avatar slepetit42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zsxd's Issues

Bad Translation.

Meanwile I'm with the translation of Zelda-xd2 to spanish, i look this translation for reference and i saw many errors on it. I would like to solve all the mistakes when i finish the Zelda-xd2 translation.

The heart meter does not work

In ZSXD 1.6, the heart meter does not work, it is always full even when you lose life. Maybe already fixed in 1.7.

Wrong font size in options pause submenu

(Despite havng tested the game prior to the 1.5 release, there is one visual bug i actually missed since I never changed the buttons)

In the options submenu, the font is displayed in a larger size than it should be and overlaps the other fields in the key mapping columns.

I already found the cause : in pause_option.lua, the font size parameter is neither retrieved from the sol.main.get_menu_font() return, nor applied to any of the text fields.

Unless it is volontary, this will be easy to fix

Failing to build

With all the makedepends installed, I'm getting a build error, and I don't know lua, so I'm not going to be much use in patching it. The error output is as follows

/home/halosghost/.build/solarus-git/src/solarus/src/Savegame.cpp: In member function ‘void Savegame::load()’:
/home/halosghost/.build/solarus-git/src/solarus/src/Savegame.cpp:210:22: error: ‘lua_setfenv’ was not declared in this scope
     lua_setfenv(l, -2);
                      ^
/home/halosghost/.build/solarus-git/src/solarus/src/Savegame.cpp: In static member function ‘static int Savegame::l_newindex(lua_State*)’:
/home/halosghost/.build/solarus-git/src/solarus/src/Savegame.cpp:261:54: error: ‘luaL_typerror’ was not declared in this scope
       luaL_typerror(l, 3, "string, number or boolean");
                                                      ^
make[2]: *** [CMakeFiles/solarus_static.dir/src/Savegame.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/solarus_static.dir/all] Error 2
make: *** [all] Error 2

Thoughts on how to fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.