This is a fork of roBrowser tailored to my server and expanded with some features.
If you wish to discuss anything related to this project, or you want to join, contact us on Discord: https://discord.gg/8JdHwM4Kqm
For info on how to setup the client or anything else, please visit the https://www.robrowser.com/ site.
All credits to the original owners/creators.
To run roBrowser you will need a browser that supports WebGL and is OpenGL ES 2.0 compatible. We've tested the following browsers:
- Chrome
- FireFox
- Opera
- IE11
If you don't run roBrowser in a Chrome App, you will need a Java plugin installed instead.
-
Install and run an HTTP server on your PC/Device. Take note of the port you run the server on, this guide assumes you use port 8000.
-
Download roBrowser and extract the files to the folder that will be the root of your HTTP Server.
-
Open your browser and go to
http://TypeYourHTTPServerIPhere:8000/tools/build/index.html
- replace"TypeYourHTTPServerIPhere"
with the PC/Device HTTP Server address that is hosting the Ragna.roBrowser files you extracted. Here you will compile scripts to reduce loading times.3a. To get the client compiled for playing, click/tap Online then Thread and place the Online.js and ThreadEventHandler.js to the root of your Ragna.roBrowser folder.
3b. [Optional] Compile any of these; GRF Viewer, STR Viewer, Model Viewer, Map Viewer if you want to look through the game files.
-
[Convert DB] Go to
http://TypeYourHTTPServerIPhere:8000/tools/converter/index.html
to get custom content to roBrowser. -
Setup your client version: Copy your
.grf
andDATA.INI
(Note DATA.INI is case sensitive so make sure it's capitalized or edit the name in configs.php) to the /client/resources/ folder. Also double check that yourDATA.INI
file has all the.grf
files you intend to use.5a. Copy your BGM folder
mp3
's to the/client/BGM/
.5b. Copy your
data
folder contents to/client/data/
.5c. Copy your AI files to the
/AI/
folder then open each*.lua
file then find and replace:require "AI\\Const"
withdofile "./AI/Const.lua"
require "AI\\Util"
withdofile "./AI/Util.lua"
-
Create a new text file and name it
index.html
6a. Copy the following and paste it into your index html file. Edit your Game Server address, packet version and other settings:
function initialize() {
var ROConfig = {
target: document.getElementById("robrowser"),
type: ROBrowser.TYPE.FRAME,
application: ROBrowser.APP.ONLINE,
width: 800,
height: 600,
development: false,
servers: [{
display: "Demo Server",
desc: "roBrowser's demo server",
address: "127.0.0.1",
port: 6900,
version: 30,
langtype: 1,
packetver: 20120410,
packetKeys: false,
socketProxy: "ws://127.0.0.1:5999/",
adminList: [2000000]
}],
skipServerList: true,
skipIntro: false,
};
var RO = new ROBrowser(ROConfig);
RO.start();
}
window.addEventListener("load", initialize, false);
-
Install the websocket proxy on your Game Server and edit the parameter
socketProxy: "ws://127.0.0.1:5999/",
tosocketProxy: "ws://TypeYourHerculesOrRathenaServerHere:5999/",
in yourindex.html
.7a. Run websocket proxy:
wsproxy -a 127.0.0.1:6900,127.0.0.1:6121,127.0.0.1:5121
replace127.0.0.1
with your Game Server IP. -
Configure and customize roBrowser - documentation and some examples.
-
Go to
http://YourHTTPServerIP/index.html
and enjoy!
Checkout getting started guide
roBrowser is developed by a team located around the world. Check out the documentation and submit a pull request!
- Demo
- roBrowser website
- roBrowser forum
- IRC Channel: irc.rizon.net / Channel: #roBrowser