Skip to content
/ rsc-c Public
forked from 2003scape/rsc-c

runescape classic client ported to C

License

Notifications You must be signed in to change notification settings

Hubcapp/rsc-c

 
 

Repository files navigation

rsc-c

portable runescape classic client ported to C. supports 204 and 177 (for openrsc support) client revisions.

QR code for 3DS install:

controls (wii):

  • d-pad to control camera
  • B for right click
  • A for left click
  • - to toggle on-screen keyboard
  • B for backspace whilst keyboard is open
  • + to press enter key
  • 1 to toggle F1/interlace mode

a USB keyboard and mouse can also be used.

controls (3ds):

  • d-pad/circle pad to control camera
  • touch screen for mouse input
  • hold L whilst tapping touch screen for right click
  • tap R to toggle top screen zoom
  • hold L whilst using d-pad or analogue stick to pan top screen zoom
  • start to toggle on-screen keyboard
  • select to toggle F1/interlace mode

build (linux)

install libsdl2-dev.

$ make
$ ./mudclient

distribute with ./cache directory.

build (windows)

$ make -f Makefile.windows
$ wine mudclient.exe

distribute with ./SDL2.dll and ./cache directory.

build (web)

install and activate emscripten emsdk.

$ make -f Makefile.emscripten
$ python3 -m http.server 1337 # @ http://localhost:1337/mudclient.html

host mudclient.{html,data,js,wasm} and ./cache/ directory.

build (wii)

install wii-dev package in devkitPro, and optionally clone rgb-to-yuv2 to re-build the _yuv .c files in ./src/wii/ from the PNGs in ./wii.

use dolphin-emu to test locally. enable LLE sound for sound-effects support. on real hardware you can also use a USB keyboard and mouse.

see ./build-wii.sh for building for Wii.

build (3ds)

install 3ds-dev package in devkitPro, and optionally bannertool and makerom to build an installable .cia file. use citra to test locally.

see ./build-3ds.sh for building for 3DS.

usage

arguments:

  • [members]
    • pass any value other than "members" to load a free to play configuration
  • [ip address]
    • an IPv4 address where the RSC177/204 compatible server is hosted
  • [port]
    • network port number (e.g. 43594)
  • [RSA exponent]
  • [RSA modulus]

for the desktop version, these are passed as command-line arguments. on the web they're passed in the URL hash separated by commas (http://localhost:1337/mudclient.html#free,127.0.0.1).

libraries used

license

Copyright 2022 2003Scape Team

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

runescape classic client ported to C

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.4%
  • M4 0.2%
  • Objective-C 0.1%
  • CMake 0.1%
  • JavaScript 0.1%
  • Makefile 0.1%