Giter Site home page Giter Site logo

smoo.it's Issues

Add a map to show player positions

It would be nice if the players dialog would show the in-game map with the positions of the players.

The data is available via the JSON API and is already passed to the browser from https://api.smoo.it/ so the only thing missing is using that that data in the website software.

Leaflet is very likely the library to use. I already have experience from the Pine Interactive Map, and the prototype map from speyejack also uses Leaflet.

The main thing missing currently is the map graphics. For copyright reasons the maps from the game should not be used. Instead what is needed are royalty-free open maps, preferable as scalable vector graphics (SVG).

The in-game coordinates should not be calculated into map / image coordinates. Instead the Leaflet coordinate system should equal the in-game coordinate system. The map images need to be mapped/transformed to the in-game coordinate system.

Switch to Nuxt.js

Benefits:

  • Nicer URLs with paths
    • e.g. https://smoo.it/servers instead of https://smoo.it/#/servers
  • Pages pre-rendered to work without JavaScript (=> better SEO)
    • At least for the static content (texts) and non-interactive elements.

Update the ROM dumping FAQ

FAQ: How do I obtain a SMO ROM for emulators? was still written for the old nxdumptool version, that no longer works with newer Switch firmware versions. The nxdumptool rewrite has a different interface and the options are labeled differently. The FAQ therefore needs to be adjusted to the new version.

Code that needs to be changed:

smoo.it/src/views/faq.ts

Lines 160 to 216 in a8a06e2

{
id : 104,
question : '<b-icon icon="download"/> How do I obtain a SMO ROM for emulators?',
answer : `
<p>
The only <i>legal</i> way to obtain a ROM is by dumping it from your
<a-int name="faq" id="103">hacked Nintendo Switch</a-int>
onto the SD card.
</p>
<hr/>
<p>
The short version is that you download the latest
<a-ext href="https://github.com/DarkMatterCore/nxdumptool/releases">nxdumptool</a-ext>
<b-icon icon="info-circle-fill" id="faq-nxdumptool-keys"/>
<b-tooltip target="faq-nxdumptool-keys" triggers="hover">
Please keep in mind, that <code>nxdumptool</code> needs the
<a-int name="faq" id="103">console keys</a-int>
on the SD card in order to work.
</b-tooltip>
and put it onto your SD card. (If it isn't already there. Some guides include it by default.)
You then run it on the Nintendo Switch from the homebrew menu in the <code>title override mode</code>.
<b-icon icon="info-circle-fill" id="faq-override-mode"/>
<b-tooltip target="faq-override-mode" triggers="hover">
This means that you don't start the homebrew menu via the <code>Album</code>, but instead
you hold down <smoo-btn R/> while launching any game.
</b-tooltip>
</p>
<p>
Dump game from inserted gamecard:
<ul>
<li><code>Dump gamecard content</code></li>
<li><code>Nintendo Submission Package (NSP) dump</code></li>
<li><code>Split output dump (FAT32 support): Yes</code></li>
<li><code>Start NSP dump process</code></li>
</ul>
</p>
<p>
Dump installed game (eShop):
<ul>
<li><code>Dump installed SD card / eMMC content</code></li>
<li>Select SMO</li>
<li><code>Nintendo Submission Package (NSP) dump</code></li>
<li><code>Dump base application NSP</code></li>
<li><code>Split output dump (FAT32 support): Yes</code></li>
<li><code>Remove console specific data: Yes</code></li>
<li><code>Generate ticket-less dump: Yes</code></li>
<li><code>Start NSP dump process</code></li>
</ul>
</p>
<p>
The resulting ROM will be located on the SD card inside <code>/switch/nxdumptool/NSP/</code>.
Because the SMO game has a size of over 4 GB the dump will be splitted into two files.
On your computer (with a partition that isn't <code>FAT32</code>) you should merge the files together using the
<a-ext href="https://github.com/emiyl/nxDumpMerger/releases">nxDumpMerger</a-ext>.
</p>
`,
},

Troubleshooting section for common issues

This is different than the FAQ in that it focusses on common issues and bugs and how to fix them.
Based on things that have come up in the #help and #help2 channels on Discord.

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.