How to integrate Steam SDK in VN Maker?

Koko413

Caster
Member
Joined
Nov 23, 2017
Messages
5
Reaction score
0
First Language
Chinese
Primarily Uses
Other
I'm thinking of using VN Maker to make my next visual novel game that will be released on Steam.

Could someone give me some tips about how to integrate Steam SDK in VN Maker? I have my own AppID.

Thanks!
 

Warpmind

Twisted Genius
Veteran
Joined
Mar 13, 2012
Messages
936
Reaction score
578
First Language
Norwegian
Primarily Uses
Ooooh, this should work with MV, too, shouldn't it?
 

Koko413

Caster
Member
Joined
Nov 23, 2017
Messages
5
Reaction score
0
First Language
Chinese
Primarily Uses
Other
I hope NV Maker can be built-in support for the Steam SDK.

The current version has a lot of bugs, support for the Steam is not friendly enough. I hope at least to have the support for Steam 's overlay.

I am very optimistic about the NV Maker, but it is not worth its price now. Does the official plan to support the Steam SDK? I've recommended NV Maker to some visual novel authors who have no programming foundation.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
I hope NV Maker can be built-in support for the Steam SDK.

The current version has a lot of bugs, support for the Steam is not friendly enough. I hope at least to have the support for Steam 's overlay.

I am very optimistic about the NV Maker, but it is not worth its price now. Does the official plan to support the Steam SDK? I've recommended NV Maker to some visual novel authors who have no programming foundation.
Steam SDK is its own thing and has its own contract and license. I highly doubt we can support officially as built-in (if you saw another game engine that does it by default, please point it to me since I'm curious how they handled licensing).
 

Koko413

Caster
Member
Joined
Nov 23, 2017
Messages
5
Reaction score
0
First Language
Chinese
Primarily Uses
Other
Steam SDK is its own thing and has its own contract and license. I highly doubt we can support officially as built-in (if you saw another game engine that does it by default, please point it to me since I'm curious how they handled licensing).
UE4, Gamemaker Studio 2 .

The case of Gamemaker Studio 2 is more suitable as a reference object.
http://docs2.yoyogames.com/

It only needs the user to point to the folder where the Steam SDK is located to achieve the Shift + Tab to call Steam Overlay.
Just like this:


Steam SDK is its own thing and has its own contract and license. I highly doubt we can support officially as built-in (if you saw another game engine that does it by default, please point it to me since I'm curious how they handled licensing).
I tried with greenworks and had a problem.

“require is not a function.”

Does VN Maker has an integration environment for node.js? I dont know much about node.js.
 
Last edited by a moderator:

Koko413

Caster
Member
Joined
Nov 23, 2017
Messages
5
Reaction score
0
First Language
Chinese
Primarily Uses
Other
Hi Koko413, how did you try it?
Hi Kentou,

"If you want to add an external library, just navigate to your project folder and create a new folder "lib" there and put all your external libraries there. All external libraries are automatically included before the actual game scripts. "

So I navigated to my project folder and released the greenworks' files in it.

Then, hmmmm let's me show you what I tried:

Created a new folder“lib”, released what we need.

At the end, I opened the Game.html, and added scripts that from greenworks' Quick Guide like this:

greenworks' Quick Guide :
https://github.com/greenheartgames/greenworks/blob/master/docs/quick-start-nwjs.md

I opened my project by VN Maker and got this:


I found I didn't install node.js and install it then tried again, same result..

Does VN Maker has an integration environment for node.js? I think it does not matter whether I have node.js environment local.

Sorry for Non-English interface and my bad English, I hope I made it clear :)
 
Last edited:

Kentou

Admin
Admin
Joined
Jan 20, 2014
Messages
246
Reaction score
62
Does VN Maker has an integration environment for node.js? I think it does not matter whether I have node.js environment local.
VN Maker as well as the Games both are based on NW.js which is based on Node.js and Chromium.

var greenworks = (require||requireNode)("./greenworks")

I didn't test this out yet, but it should work this way. If it doesn't work for you I will give you more help :)
 

Koko413

Caster
Member
Joined
Nov 23, 2017
Messages
5
Reaction score
0
First Language
Chinese
Primarily Uses
Other
VN Maker as well as the Games both are based on NW.js which is based on Node.js and Chromium.

var greenworks = (require||requireNode)("./greenworks")

I didn't test this out yet, but it should work this way. If it doesn't work for you I will give you more help :)
Still not working...

 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
556
Reaction score
794
First Language
English
Primarily Uses
RMMV
It's not going to work in the HTML it's only going to work directly in the game editor to use require in scripts / extensions.

This is because html is generally in the browser.
 

Dr.Yami

。◕‿◕。
Developer
Joined
Mar 5, 2012
Messages
1,003
Reaction score
757
First Language
Vietnamese
Primarily Uses
Other
Can you try using require in a game script instead of Game.html? When saving the project, the engine will override the HTML file.
External libraries can be loaded follows the document in Help > Script & Plugin Reference > Script Documentation > External Libraries
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
What is NW JS version of VN Maker so I know which version of Greenworks I'll use?
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
I can't get my Test achievement to unlock.

I have

var greenworks = (require||requireNode)("./greenworks")

In scripts.

And use this script command in game

greenworks.activateAchievement(Test)

But it doesn't unlock. Should I add Greenworks.js contents into Scripts too?
 

Kentou

Admin
Admin
Joined
Jan 20, 2014
Messages
246
Reaction score
62
Hi, if you can execute that script without any error message on Console it means that everything is there. I think you have to initialize greenworks first before you can call any other Steam API functions. I think there is an init function or something, you can take a look at the greenworks documentation.
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
It claims to me that greenworks node isn't in the lib folder even though I do have it in both data lib and also on root game folder in lib.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,015
Members
137,563
Latest member
MinyakaAeon
Top