Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Demonheart Hunters Joiplay Error

A topic by Mr47-91 created Dec 04, 2021 Views: 1,007 Replies: 7
Viewing posts 1 to 2

First I would like to say that I loved the first demonheart I played it on Android and since demonheart Hunters don't have an Android version yet (hopefully soon) I tried to use joiplay with the demo before I bought the full version but this error came up 

Can you help


Developer

Hello,

I had to google what Joiplay is, and found this:


The line it crashed on is something not found in all RPG Maker games, it's rather an "uncommon Node.js function."

If you are able to open the file located in www/js/plugins named LAMB_Title.js, you could comment out that one function, to instead of
require("nw.gui").App.clearCache();
make it:
/*require("nw.gui").App.clearCache();*/
that error should be resolved, but I don't know if it will run into any other errors.


Sorry to bother you with this again but I tried what you said and and I got this error message 


Developer

Maybe try this. In LAMB_Steam.js replace
LAMB.Steam.enabled = true;
with
LAMB.Steam.enabled = false;

I did like you said and I got past that error but as I feared there is another  

I don't know why there are so many

other games I tried with Joiplay either they work or don't

Again I'm really sorry to keep bothering you like this but I really can't do it myself

Developer

This game uses a lot of custom plugins for its user interface etc, to bypass some of RPG Maker's default menus and behaviors.

For that error, you could edit this function in LAMB_Resolution.js, but it's getting complicated.

LAMB.Resolution.getRealScreenResolution = function () { nw.Screen.Init(); var screen = nw.Screen.screens[0]; var scale = screen.scaleFactor; var w = Math.round(scale * screen.bounds.width); var h = Math.round(scale * screen.bounds.height); return { width: w, height: h};

};
Replace with:

LAMB.Resolution.getRealScreenResolution = function () { return { width: 800, height: 600};

};

And instead of 800 and 600 put the resolution of your screen.
But now that I think about it, it's possible the whole interface will be broken because it was made for PC resolutions.

I did like you said without changing the resolution and it finally worked


The intro was slow and laggy and at the first choice for the background I had this error


But I fixed it with reference to the first error

I opened the file rpg_objects.js

And changed the line from

eval(script);

to

/*eval(script);*/

After that I was able to complete the background choices and actually get into the game and play for a minute which was somewhat smooth hopefully the rest of the game will not have any more issues

Now I would like to say a couple of things

1) thank you so much for all the help you've given me

2) can I expect an official android version

3) what are you working on now is it demonheart 3 or something else 

What ever it is I'm sure it's going to be great and I wish you all the best

Developer

I'm considering making an Android version, but I'm not sure, the interface would probably be too small and would need lots of work.

I'm now working on another VN in the Demonheart world, with different characters: https://twitter.com/Rolling_Crown/status/1418888699002097675 (it will have a Steam page soon, for now it's all on Twitter, Discord and Patreon)