Skip to content

Function Overview and Usage

james edited this page Jan 2, 2017 · 5 revisions

Displaying a Flipnote

todo

Adding Stars

todo

Posting a Comment

The comment drawing interface can be called using a special URL on either a ugomenu (.ugo) page, or a HTML page via a meta-tag button.

The recommended method is to call the comment interface with a URL that ends with the extension .reply. Below is a HTML example, however the same URL will also work on an ugomenu:

<html>
  <head>
    <!-- the comment will be posted to http://ds.example.com/ds/v2-us/post/comment.reply -->
    <meta name="commentbutton" content="http://ds.example.com/ds/v2-us/post/comment.reply">
  </head>
  <body>
    <!-- body content -->
  </body>
</html>

When the comment is submitted, a POST request will be made to the URL specified. The body of the request contains the comment in the form of a one-page .ppm file.

Method #2 is to use the internal ugomemo://drawface URL to call the comment drawing interface. This is not advised, as we have not found a way to tell it where to POST the comment .ppm file. It posts to /ds/v2-xx/my/face (where xx = us, eu, or jp depending on the console's region).

TODO: POST request response

Posting a Flipnote

The Flipnote posting interface can be called in almost the same way as the comment drawing interface documented above. The only differences are that the URLs should end with .post rather than .reply.

For the sake of completeness, here's a HTML example:

<html>
  <head>
    <!-- the comment will be posted to http://ds.example.com/ds/v2-us/post/flipnote.post -->
    <meta name="postherebutton" content="http://ds.example.com/ds/v2-us/post/flipnote.post">
  </head>
  <body>
    <!-- body content -->
  </body>
</html>

When the comment is submitted, a POST request will be made to the URL specified. The body of the request contains the Flipnote .ppm file.

Alternatively, the internal ugomemo://postmenu URL can be used to call the Flipnote posting interface. It posts to /ds/v2-xx/movie/filename.ppm (where xx = us, eu, or jp depending on the console's region, and filename is the Flipnote's filename).

TODO: POST request response

Command Search

The command search interface can be called with the ugomemo://command URL from either a ugomenu (.ugo) page, or a HTML page via a meta-tag button.

HTML example (we're using postherebutton since there's no real meta-tag button for command search, it still works though!)

<html>
  <head>
    <meta name="postherebutton" content="ugomemo://command">
  </head>
  <body>
    <!-- body content -->
  </body>
</html>

When the command code is submitted, a GET request is sent to to /ds/v2-xx/jump?command=code (where xx = us, eu, or jp depending on the console's region, and code is the command code sequence).

The command code sequence uses the characters A, B, X, Y, L, R, N, S, W and E. N, S, W and E are d-pad up, down, left and right respectively, and the others... should be pretty obvious. :P

TODO: GET request response

Keyboard Input

todo

Sending Mail

todo

Clone this wiki locally