forked from Orkin/roBrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for node-webkit and firefox os
Work in progress.
- Loading branch information
Showing
19 changed files
with
348 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ROConfig.saveFiles = false; | ||
ROConfig.skipIntro = true; | ||
ROConfig.grfList = 'DATA.INI'; | ||
ROConfig.servers = 'data/clientinfo.xml'; | ||
ROConfig.packetver = 20141223; | ||
ROConfig.packetKeys = true; | ||
|
||
// Add support for node.js + requirejs | ||
window.gui = require('nw.gui'); | ||
window.requireNode = window.require; | ||
delete window.require; | ||
|
||
window.requireNode.version = process.versions.node; | ||
delete process.versions.node; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>ROBrowser - Ragnarok Online in the Browser</title> | ||
<base href="../../"/> | ||
<style type="text/css"> | ||
body { overflow:hidden; } | ||
html, body { width:100%; height:100%; background-color:black; } | ||
</style> | ||
</head> | ||
<body> | ||
<script src="applications/settings.js"></script> | ||
<script src="applications/node-webkit/bootstrap.js"></script> | ||
<script data-main="src/App/Online" src="src/Vendors/require.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"version": "0.1", | ||
"name": "roBrowser", | ||
"description": "Ragnarok Online Custom Client", | ||
"launch_path": "/applications/window.html", | ||
"icons": { | ||
"16": "/applications/icon_16.png", | ||
"128": "/applications/icon_128.png" | ||
}, | ||
"developer": { | ||
"name": "Vincent Thibault", | ||
"url": "http://www.robrowser.com/" | ||
}, | ||
"permissions": { | ||
"tcp-socket":{} | ||
}, | ||
"orientation": ["landscape"], | ||
"type": "privileged" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "roBrowser", | ||
"main": "applications/node-webkit/window.html", | ||
"window": { | ||
"title": "Ragnarok Online", | ||
|
||
"width": 1024, | ||
"height": 768, | ||
|
||
"min_width": 1024, | ||
"max_width": 1024, | ||
|
||
"min_height": 768, | ||
"max_height": 768, | ||
|
||
"fullscreen": false, | ||
"frame": true, | ||
"icon": "applications/icon_128.png", | ||
"toolbar": true | ||
}, | ||
"chromium-args": "--enable-webgl --ignore-gpu-blacklist" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.