Giter Site home page Giter Site logo

yams's Introduction

Randovania

Welcome to Randovania, a randomizer platform for a multitude of games.

New here or looking to install? Check our website.

Supported Games

  • Another Metroid 2 Remake
  • Cave Story
  • Metroid Dread
  • Metroid Prime
  • Metroid Prime 2: Echoes
  • Metroid: Samus Returns

Randovania can randomize many aspects of its supported games, all while still ensuring they're completable without using any glitches or exploits. Its features include:

  • Randomizing what can be found in each item location. Weapons, keys, and more can end up in completely new places.

  • Use Multiworld sessions to shuffle items between multiple separate games, alone or with friends. All Multiworld games are compatible with each other - mix and match as you like!

  • Randomize how areas connect to one another, or what resources are required to travel between areas. These options are highly customizable, letting you limit or unleash the chaos.

  • Randomize your starting equipment and location. Feeling brave? You can even shuffle items you normally start with.

Have fun and start randomizing!

Installation

In the releases page, we have zip files with everything ready to use. Just extract and run!

For Linux users, we recommend using our Flatpak instead.

Community

Join the Randovania Discord: https://discord.gg/M23gCxj6fw

Invite links for specific games' servers can be found in the #game-communities channel in our server.

Credits

GUI and logic written by Henrique Gemignani, with contributions by SpaghettiToastBook, gollop and many others.

BashPrime, Pwootage, and April Wade made https://randomizer.metroidprime.run/, from which the GUI was based.

Website created by Hugoshido and duncathan_salt. portfolYOU Jekyll theme by Youssef Raafat. Free for personal and commercial use under the MIT license.

Installer is powered by Advanced Installer, which has graciously provided us with an open source license.

Linux Flatpak build contributed by Ethan Lee.

Games

Metroid Prime

Metroid Prime 2: Echoes

  • Game patching written by Claris.
  • Room data initially collected by Claris, revamped by Dyceron.
  • Menu Mod created by Claris. For more information, see the Menu Mod README.
  • Converting Metroid Prime models by Migs.

Cave Story

Metroid Dread

Another Metroid 2 Remake

Metroid: Samus Returns

Auto Tracker

Primes

AM2R

Metroid: Samus Returns

  • Game theme assets were provided by Dyceron.

Multiworld

Server and logic written by Henrique "Darkszero" Gemignani.

Primes

Dolphin and Nintendont integrations written by Henrique "Darkszero" Gemignani. These were based on Dolphin Memory Engine and Pwootage's Nintendont fork, respectively. In-game message alert initially written by encounter.

Cave Story

Cave Story Doukutsu and CSE2 Tweaked integations written by duncathan_salt, periwinkle and ikuyo.

Metroid Dread

Integration written by Thanatos and Henrique "Darkszero" Gemignani. The "unplug" icon is by tezar tantular from Noun Project (licensed under CC BY 3.0).

Another Metroid 2 Remake

Integration written by Miepee. Offworld sprites are licensed under CC BY-SA 4.0 and are made by AbyssalCreature, ShirtyScarab554 and many others.

Metroid: Samus Returns

Integration written by Thanatos.

Developer Help

Dependencies

Setup

Getting started:

  1. Clone this repository. (downloading the zip is not supported and will not work)
  2. Open a terminal in the repository root
  3. Run the following file:
    1. Windows: tools/prepare_virtual_env.bat
    2. Linux/macOS: tools/prepare_virtual_env.sh
  4. You should see "Setup finished successfully." visible when the command finishes.
  5. For certain use cases, such as exporting games or running tests, additional setup is needed.

In order to start Randovania, open:

  1. Windows: tools/start_client.bat
  2. Linux/macOS: tools/start_client.sh

In order to update your repository:

  1. Update the git repository. (With git pull or anything else)
  2. Make sure that Randovania is closed.
  3. Re-run the steps from "Getting Started", starting at step 2.
    1. In case of unexpected errors, delete the venv in the root of the repository and start again.
  4. Open Randovania normally.

In order to be able to export games:

  1. Run both "Getting started" and "Start Randovania" steps.
  2. Activate the virtual env. Check start_client.bat/sh for details.
  3. Run python -m pip install -r requirements.txt.

In order to run the tests:

  1. Run both "Getting started" and "Start Randovania" steps.
  2. Activate the virtual env. Check start_client.bat/sh for details.
  3. Run python -m pip install -r requirements.txt.
  4. Run python -m pytest test.

In order to run the server:

  1. Run both "Getting started" and "Start Randovania" steps.
  2. Activate the virtual env. Check start_client.bat/sh for details.
  3. Run python -m pip install -r requirements.txt.
  4. Run python tools/prepare_dev_server_config.py once.
  5. If you wish to use any Discord functionality, you'll need to create an app in Discord and fill both ids in tools/dev-server-configuration.json.
  6. Run the server and client. You can this on
    1. Windows with tools/start_dev_server.bat for the server and tools/start_debug_client.bat for the client
    2. Linux/macOS with tools/start_dev_server.sh for the server and tools_start_debug_client.sh for client

This repository uses pre-commit. The hook is automatically configured with the prepare_virtual_env scripts.

Suggested IDE: PyCharm Community

Visual Studio Code

Clone this repository and open the folder in Visual Studio Code. It suggests several useful plugins for developing which you should download and install.

If your Python is setup properly, you can use the Create venv with all exporters task by pressing CTRL+SHIFT+P, type in Task, select Tasks: Run task and then select the task. It will create the venv with all the dependencies installed for you.

There is also a task defined to run all tests. To run individual tests you can utilise the Testing section of Visual Studio Code. You can simply run or debug a test there.

To start Randovania you can press CTRL+F5. If you only press F5, Randovania will start with a debugger. Be aware that starting with a debugger makes the application much slower.

Documentation

yams's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar henriquegemignani avatar jeffgainsngames avatar miepee avatar

Stargazers

 avatar

Watchers

 avatar

yams's Issues

Add HudMemo for labs blocks

For new players, display a Hudmemo to explain that these blocks disappear only when all DNA is connected.

Update schema.json and README

The README currently says

The API/Schema for the input json file will soon be documented.

Cross-referencing the schema.json and SeedObject it seems like the schema partially documents it but is missing some fields (at first glance, starting_items and pickups are missing documentation and pipes is not a field). This should be updated to be consistent, and the README should direct users to schema.json.

It looks like you could auto-generate a schema.json based on the SeedObject, based on this StackOverflow post. I'd also look into adding CI to ensure schema matches and see if there's a way to add property attributes for schema fields like description.

Add videos to logic DB

Placing doors on transitions issues

  • Place them on a different depth to be more in the background
  • try to detect cases with single tile length rooms
  • make special exception for lower door in water turbine station

Fix longer metroid fanfare songs

If the music for the metroid fanfares is too long (which can be achieved by custom music, or via music shuffle), then the music gets weirded out a bit and multiple songs play at the same time

Move Doors when shuffled over Research Site Hatches

This door is partially obscured by foreground tiles making it easy to misidentify in door lock rando. Removing the vertical rock tiles would make the texture more easily readable. I could see this especially being an issue for EMP doors.

image

Don't compare word hash in hash check

but if the word hash changes and the actual hash doesn't, compatibility hasn't broken
which could happen from as benign a change as adding new hash words

The word hash however should still be shown to the end user if they have a hash mismatch.

AM2R: implement colored log entries for hints

Planned by @Jesright73 to implement

Very much recommended to use https://yal.cc/r/gml/ for testing
Somewhat of a spec sheet:
text:
- default color is white
- text can change its color via `{COLOR}` where COLOR is one of the following text, with the GM color in brackets: white (c_white), yellow (c_yellow), red (c_red), pink (c_fuchsia), green (c_green), blue (c_blue), light_blue (c_aqua), dim_blue (c_navy). Every other text will get interpreted as white. A `{COLOR}` will not get printed, but will cause that all text *after* it gets the color changed. Encountering `{COLOR` without a closing bracket, should cause a crash. Encountering `COLOR}` without an opening bracket should get interpreted as normal text that should get printed.

Examples:
- `Foo blabla bl` -> all text is white
- `asdfasdf{red}ww` -> `asdfasdfww` gets printed, with asdfasdf being in white, and ww in red.
- `asdf{green` -> game will crash
- `{hey yall}scott here` -> `scott here` gets printed in white


somewhat of implementation, may be very shaky but is hopefully good enough ground work
- set text color to white
- while (not_end_of_text)
  - if spaces exist in text, grab everything until space. if no space exists, grab until End_of_String
  - if grabbed_text contains '{' , only grab until the start of '{'
  - if grabbed_text contains '#', only grab until start of '#'
  - if the very first character is '{' (may need to rewrite this a bit, due to above condition)
    - change color
  - else
    - get width of the grabbed text (string_width)
    - have enough space? -> draw
    - not enough space, but can this fit onto a line on its own? -> newline and draw text
    - not enough space and cant fit onto newline? -> ???
the end result code should cause log text to be backwards compatible to how it is currently being drawn (mostly in regards to when text gets split onto a new line. my previous attempts were not lmao) 

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.