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