From Riivolution
Jump to: navigation, search

RiiFS is a simple custom network protocol used by Riivolution to allow a computer to act like a disk filesystem. This allows for both public streamable releases as well as private testing of modifications without needing to restart the game.

RiiFS C++ Server

Native RiiFS server that will run on various platforms (Windows, Mac OS X, and Linux).

Download v1.03

Readme

RiiFS C++ Server June 22, 2010

Usage: riifs <path-to-root> <port>

  • path is optional, defaults to current directory
  • port is optional, defaults to 1137

The root given to the server is the root of the filesystem, and it's treated no differently than an SD card. Think about what that means:

  • You can copy the contents of a Riivolution-ready SD card into a folder and point the server there, and it will work.
  • Path names like external="/" will actually point to the root path the server is started with.

Changelog

v1.03

June 22, 2010

  • Initial release

RiiFS C# Server

Download v1.03

Readme

RiiFS C# Server June 22, 2010

Requires Microsoft .NET 2.0 or Mono to run.

Usage: riifs.exe [OPTIONS] <path-to-root> <port>

  • path is optional, defaults to current directory
  • port is optional, defaults to 1137
  • The -r option may be used to specify read-only mode

The root given to the server is the root of the filesystem, and it's treated no differently than an SD card. Think about what that means:

  • You can copy the contents of a Riivolution-ready SD card into a folder and point the server there, and it will work.
  • Path names like external="/" will actually point to the root path the server is started with.

Changelog

v1.03

June 22, 2010

  • Support for Riivolution v1.03
  • Major source refactoring
  • Added broadcast connection mode

v1.02

March 28, 2010

  • Support for Riivolution v1.02
  • Cleanup and file read fixes
  • Better logging format

v1.01

March 23, 2010

  • Initial release

Example XML

Riivolution will automatically connect to a RiiFS server on a local LAN at startup.

However, to get Riivolution to connect to a specific or external server it needs to have an XML file on the SD card in the Wii tell it to do so. Like so:

   <wiidisc version="1">
       <!-- id is optional, omit it in order to make Riivolution connect to the server regardless of the game inserted in the drive. -->
       <id game="SMN" />
       
       <!-- address may be an IP address or a hostname/domain. -->
       <network protocol="riifs" address="192.168.0.2" port="1137" />
   </wiidisc>