Project does not test play, nor play from game.exe, shows up in processes

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
I started a new project after first getting MV, and made a couple of actors, and then went to hit test play to run around on a blank(ish) map. The game would not testplay. It showed a little thinking circle thing, and then simply nothing happens at all. no error messeges, no sound, no nothing.. I tried it a couple times...


I started a brand new project and just went to testplay immidiately, and still nothing happened. It would not test play. So i deployed the project and tried the game.exe, to which the exact same result.. nothing.. I opened up task manager and saw that i had like 10 game.exe processes running now, from all the times i hit the playtest, and the game.exe.


after digging around with a techy on teamviewer, we found a log named "chrome_debug.log" that had the following:


[7912:8116:18497974:ERROR:gl_implementation.cc(91)] Could not initialize GL.


[7912:8116:18497974:ERROR:gl_surface_win.cc(60)] InitializeRequestedGLBindings failed.


[7912:8116:18497974:INFO:gpu_main.cc(72)] GLContext::InitializeOneOff failed


[7912:8116:18497974:INFO:gpu_child_thread.cc(94)] Exiting GPU process due to errors during initialization


[10564:9844:67591832:ERROR:gl_implementation.cc(91)] Could not initialize GL.


[10564:9844:67591832:ERROR:gl_surface_win.cc(60)] InitializeRequestedGLBindings failed.


[10564:9844:67591832:INFO:gpu_main.cc(72)] GLContext::InitializeOneOff failed


[10564:9844:67591847:INFO:gpu_child_thread.cc(94)] Exiting GPU process due to errors during initialization


unfortunately this really where we've hit the end. I don't know what to do about this to make it work.


help would be gratefully apreciated to figure this out. additional information is that i'm using windows 7 home premium, and my MV is the steam version.


-updating OP to issue
 
Last edited by a moderator:

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
That error may be your browser blocking access to the local filesystem. Can you set up a project deployment for windows so that we can see what is happening ourselves?
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
That error may be your browser blocking access to the local filesystem. Can you set up a project deployment for windows so that we can see what is happening ourselves?
I tried that before the deploying the IOS. I deployed to windows first, and it was doing the same thing as the testplay. nothing.
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
Well, I meant can you send that to me? I'd like to try see what I can get out of the error log. Alternatively, you can try yourself. Open the windows export, and when it just sits att he black screen, press F8. This will bring up the developer console to help you debug your game. An error should be printed on the page that comes up, but just double check you're on the 'console' tab of the tools.
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
Well, I meant can you send that to me? I'd like to try see what I can get out of the error log. Alternatively, you can try yourself. Open the windows export, and when it just sits att he black screen, press F8. This will bring up the developer console to help you debug your game. An error should be printed on the page that comes up, but just double check you're on the 'console' tab of the tools.
When i open the windows export, nothing happens at all. there is no black screen. Nothing comes up at all, it simply does not do a thing. It's like it doesn't even open, but it does start a process in the task manager.

I can upload the project, but it's 400mb which is going to take a long time to upload. I'll do that tomorrow I guess. I have a feeling it's going to work fine for you though. I think it's a personal computer problem.
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
I don't really have a way of uploading something of that size. But it's literally just new project -> save -> fails to do anything at all. so it's nothing i've done with the project to cause any errors. i havn't added any plugins, or scripts, or anything at all since i got it. Literally all i did was add dlc tilesets to the folders of the project i was starting, and use the character generator to make some sprites. nothing else. It is still not working.
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
Still nothing. No solution other than "You have to learn how to run a virtual server, and run that any time you even want to click the playtest button". 
 

If that's really the only solution it sounds like a faultily designed app. 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
With which browsers have you tried that so far, and in which path have you installed the project?


You don't need to export/deploy to test, it should work directly in the original project folder as well - have you tried that?
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
With which browsers have you tried that so far, and in which path have you installed the project?

You don't need to export/deploy to test, it should work directly in the original project folder as well - have you tried that?
I've tried exporting, and just hitting the playtest button right in the app. the result is the same. but it sounds like it's reliant on browser from what you said before. I am using chrome though, so that struck a bell pretty loudly. how do i make it use a different browser? do i have to change my default webbrowser? because i really don't want to do that.. Is there any way to make the app use a different browser without changing my default browser? I do have firefox.

i just used the default path for the project.

the project folder has the game.rpgproject and index.html

double clicking on game.rpgproject just opens up the "search for program to open with", and the index.html just opens that black page with the yellow error i posted in the OP.
 
Last edited by a moderator:

KisaiTenshi

Veteran
Veteran
Joined
Oct 24, 2015
Messages
310
Reaction score
124
To test locally (without game.exe), only Firefox (using MV's Windows deployment) will work.

To run on Chrome, you need to pass a command-line switch to it.

eg create runchrome.bat and save below into the the game directory:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files "%~dp0www/index.html"You need to make sure chrome is completely closed first if you're going to do this. If you have firefox, just click and drag the index.html to firefox and it will run it.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
how do i make it use a different browser?
First, a small test:
If you right-click on the index.html then it should have an option "open with" that lists all browsers installed in your computer.


If you don't get that, launch firefox and enter the path and name to the index.html into the search/adress bar.


If you can play the game either way, the problem are the security settings of Chrome - if not there is an additional problem for you.
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
Dropbox is free up to 2 GB. https://www.dropbox.com/


Upload your file there and share the download URL.
 
uploading but it's going to take an hour. slow upload speed.. i'm pretty sure though based on what people have said, that if i upload a project to other people who can playtest and run their games, it's going to run fine for them. ill still upload and post it anyways.

If you have firefox, just click and drag the index.html to firefox and it will run it.
 
This loaded the project! it runs in firefox...
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
This loaded the project! it runs in firefox...
OK - unfortunately I don't know how chrome works or what options it has - basically you either have to whitelist the gamefolders (the better solution if possible), enable the specific function needed by MV (sorry, don't know which one) or reduce the restrictions set by chrome (a less optimal solution as this will also allow other websites local access, and that might get your PC infected if you're surfing on a hacked page).

Can you do one of those three things?

Tsaiuki North, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

If you want to add something and your post is the last post in a topic, please edit the post instead of adding a new post.

This is a rule we have to increase readability for topics in case others are looking for similiar solutions.
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
To run on Chrome, you need to pass a command-line switch to it.

eg create runchrome.bat and save below into the the game directory:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files "%~dp0www/index.html"You need to make sure chrome is completely closed first if you're going to do this.
Ok.. so this half-worked.. If i run the .bat in the deployed game folder, the game runs... But that's only after deploying. it doesn't make my playtest button in the app work, and requires a deployed project... not very convenient for testing things...

so..

OK - unfortunately I don't know how chrome works or what options it has - basically you either have to whitelist the gamefolders (the better solution if possible), enable the specific function needed by MV (sorry, don't know which one) or reduce the restrictions set by chrome (a less optimal solution as this will also allow other websites local access, and that might get your PC infected if you're surfing on a hacked page).

Can you do one of those three things?
how do i whitelist folders. Is that what Kisai posted? option two sounds like what i want, if it will make my project playtest... i guess i shouldn't use option 3..

still stuck, unless you can elaborate on how to do those first two options...
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
unfortunately no - because I don't have Chrome and don't know its options. The first two options were from general PC knowledge of how things should work, they're not confirmed as working with Chrome.

I hope that someone who works with chrome can tell if something like that is possible with chrome.
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
unfortunately no - because I don't have Chrome and don't know its options. The first two options were from general PC knowledge of how things should work, they're not confirmed as working with Chrome.


I hope that someone who works with chrome can tell if something like that is possible with chrome.
well i just went and changed my default browser to firefox until i can get a solution......


...but... It STILL doesn't work! It still doesn't launch testplay, even with firefox as my default browser... The button in the app still does the exact same thing as written in the OP, and so does trying to launch the game.exe... Firefox is my default browser now, as i've tested to make sure it is, (and chrome comes up with that popup when i open it saying "Chrome is not your default browser, yatta yatta"... So what's going on? Why doesn't the testplay button work??
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
Looks like there is an additional issue here - I suggest waiting for the next MV-update (as KDKW is working on fixing several problems) and test if that remains.

You can also post this in the bug collection topic so it can be send to the programmers.
 

Tsaiuki North

Eyes Of Thirteen
Veteran
Joined
Jul 15, 2013
Messages
235
Reaction score
18
First Language
English
Primarily Uses
Looks like there is an additional issue here - I suggest waiting for the next MV-update (as KDKW is working on fixing several problems) and test if that remains.


You can also post this in the bug collection topic so it can be send to the programmers.
I guess that's all i can do right now unless someone else can be insightful. thanks for your help.
 

KisaiTenshi

Veteran
Veteran
Joined
Oct 24, 2015
Messages
310
Reaction score
124
Playtest plays the game from the original folder you created for the project, and it's played with game.exe, not the web browser.

As an alternative (BE CAREFUL) you can download node-webkit http://nwjs.io/ for your platform and overwrite your RPG Maker MV\nwjs-win\ files, rename nw.exe to game.exe and that should replace the supplied build with the current version of chromium game engine. BUT... this won't really fix any problems caused by Chromium if the problem is Chromium. For all intents nwjs-win + your game project directory = Windows deployment.

When you do a Battle Test (from database-troops) it runs that from within the editor's version of Chromium, not GAME.exe
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,017
Messages
1,018,354
Members
137,801
Latest member
topsan
Top