You’ll get a zip file with a folder called “lib” and a file called greenworks.js. Put both of them on your project’s main folder. The JS file is the same regardless of which zip you downloaded, so you only need one copy if you downloaded multiple zips.

Next, download the version of the Steamworks SDK that your greenworks lib was compiled for (the greenworks download page should say what version it is. For greenworks 0.10, the best Steamworks SDK version is 1.40). You can find it for download on the steamworks site, if you log in with your steam account there.

On the steamworks SDK files, there will be a folder called redistributable_bin. Open it and copy the steam_api.dll file. Paste it inside the lib folder that you put on your project on the previous step.

With the newer versions of greenworks, there are several files that you have to copy and some that you have to rename, like this (you can ignore any OS/CPU you don’t care about):

Next, go to RPG Maker MV and deploy your game to any folder you want.

Go to the deployed folder and make sure that the lib folder and greenworks.js file are inside the www folder. Outside the www folder, delete everything except for the package.json file. We will replace those deleted files by a newer version of nw.js later.

Now create a file called steam_appid.txt on the same folder of the deleted files and put your game’s appid inside of it. You can find this ID on the Steamworks page (it usually ends with a zero). This file is only needed for testing purposes, when you send your game to steam’s servers, you don’t need to include it.

Finally, you’ll need to download nw.js. Once again, check the greenworks page to determine which version you should download (For greenworks 0.10, it is nw.js version 0.22.3). There are two different builds to choose from: Normal and SDK. In the SDK build, you can press the F12 key to open the console (good for testing). In the normal build, there’s no way to open the console (better for a final release). Place all of the nw.js files where you removed the old files earlier.

Everything should be ready now. Run the nw file and your steam status should indicate that you’re running your game. If it is, then everything is working.

最新文章

  1. java中的访问修饰符
  2. IOS - 真机测试
  3. swift学习笔记之-错误处理
  4. MFC 中控件的启用与禁用
  5. js按钮点击展开收起
  6. zznu 1068: 进制转换
  7. jquery 的缺点
  8. jQuery回到顶部插件jQuery GoUp
  9. 一位月薪1.2w的北漂程序员真实生活!
  10. UI自动化(十四)yaml配置文件
  11. 【18/12/31】hashcat源码粗读 --- sha256部分
  12. T-SQL :编程理论 (一)
  13. mysql索引技巧
  14. linux环境,通过rpm删除mysql包,报错:error reading information on service mysqld: Invalid argument
  15. PHP之PSR
  16. Maven的国内镜像(解决jar下载过慢)
  17. AD用户登录验证,遍历OU(LDAP)
  18. Nio中文API
  19. 【BZOJ5251】【八省联考2018】劈配(网络流,二分答案)
  20. 导出文件名带时间信息的dmp文件

热门文章

  1. Boost 常用的库
  2. python实现斐波那契数列
  3. 【Python基础】random 的高级玩法
  4. django时间的时区问题(转)
  5. iptables编写规则
  6. thinkphp无法安装提示修改mysql配置
  7. ntldr is missing
  8. vue中filter的用法
  9. [QGLViewer]鼠标取点后回调
  10. nginx_tcp模块集成到openresty(安装ngx_tcp_lua_module模块)