Black Screen in Play Test

Hello there.


I just joined this community because I truly am desperate.


I just bought a new computer, and I moved my game's project here (older pc's OS was WIndows7, this one is Windows10).


I tried this on many computers, with many OSs, but, for some reasons, when I try to Play Test (or deploy the game and open the .exe), it just goes with a black screen, and there's literally nothing shown or heard.


I kindly ask for help, since I worked hard on my project, just like you all did or do, I suppose, and I really do not want my work to be wasted.


The project on RPG Maker MV works just fine, the database has everything (since I literally copied everything from the game's folder), but it just doesn't play.


I tried with a new project, and it works perfectly, so I thought that copying everything but the project's file in the new project's folder would work, but it doesn't.


I thank you in advance for any kind of help.


Nick.


PS: Even if it could be useless, there's a pic of what I see when I try to execute the game:


dfdfdfdf.png
Anything on the console(press f8 for it to appear)?


Is your game updated to current maker updates?
Anything on the console(press f8 for it to appear)?


Is your game updated to current maker updates?

No, it doesn't.


And I don't really know.. how can I do to find out?


Thank you in advance.
Help-> About gets you the version of MV you are using.  Have you tried opening up the broken project and copying the maps into the working project?
Hello there.



If the program dont allow you the consol log


test in a web browser, and view the log consol


Open in browser this file


"C:\Users\user\Documents\Games\YourProjetName\index.html"


I already had this black screen, this is a mistake written code
Help-> About gets you the version of MV you are using.  Have you tried opening up the broken project and copying the maps into the working project?

No, I didn't, but I did copy every folder but the project (to have the database, images and stuff), and it didn't run, so I think the problem is in those folders.
If the program dont allow you the consol log


test in a web browser, and view the log consol


Open in browser this file


"C:\Users\user\Documents\Games\YourProjetName\index.html"


I already had this black screen, this is a mistake written code

And can you kindly tell me how did you fix that?
And can you kindly tell me how did you fix that?

You need the console log to found the js have error.
But do you try a blank projet, if a blank project have black screen ?


Here, place this in your project folder, and give me the .doc he will create.
were able to verify the integrity of your project.


View attachment file and folder to txt.bat
You need the console log to found the js have error.
But do you try a blank projet, if a blank project have black screen ?

How I said, a new, untouched project works just fine, but if I copy my project's folders and paste 'em in the new project's one (without copying the project file itself, just copypasting the database, music, img and stuff), then not even the new project works.


If I misunderstood your questions just tell me, I apologize in advance, English is not my first language.
How I said, a new, untouched project works just fine, but if I copy my project's folders and paste 'em in the new project's one (without copying the project file itself, just copypasting the database, music, img and stuff), then not even the new project works.


If I misunderstood your questions just tell me, I apologize in advance, English is not my first language.



Ok so is a plugin or code error.


To find the line code give this error.
 


Open in browser this file


"C:\Users\user\Documents\Games\YourProjetName\index.html"


And use the inspector (rigth click and inspector) to see the console log.


Here how to open inspector with your browser 


http://www.cs.ucr.edu/~vahid/usefulstuff/consolelog.html
Example here i  make i little coruption.


So blackscreen in game, canot us the F8.


But if i open the game with firefox


"C:\Users\user\Documents\Games\YourProjetName\index.html"


And i open consol, you will see the line make error and fix it.


Untitled-1.jpg
If you have just installed MV on your new computer, you probably have the latest version.  Then, if you copied the old files across from your old computer, including the files in the js folder, you might have gone back to a previous version of the MV scripts.


Can you try saving away your /js/plugins.js file somewhere safe, then copy the whole /js folder from the new project that works correctly, and paste it into your problem project's folders, then copy back the plugins.js file that you saved away.


This will make sure you're using the latest version of MV and its scripts.  You might then have to go through any plugins you're using and make sure you also have the latest version of those.
If you have just installed MV on your new computer, you probably have the latest version.  Then, if you copied the old files across from your old computer, including the files in the js folder, you might have gone back to a previous version of the MV scripts.


Can you try saving away your /js/plugins.js file somewhere safe, then copy the whole /js folder from the new project that works correctly, and paste it into your problem project's folders, then copy back the plugins.js file that you saved away.


This will make sure you're using the latest version of MV and its scripts.  You might then have to go through any plugins you're using and make sure you also have the latest version of those.

I copied the new plugins and now it works!


I'll have to edit again every plugin, but at least it works!


Thank you a lot!


And thanks to everybody that tried to help me!


🙂
Why would you have to edit every plugin?  The plugins.js folder has all the parameters as you set them, so you should have just copied that back into your js folder.  The only reason you'd need to re-enter all the plugin parameters is if the scripters had changed the parameters when updating the plugin for the new builds (very unlikely) or if you saved the files with different names when you brought them in the second time.


Oh well - you got it working now and that's the main thing 🙂
The only reason you'd need to re-enter all the plugin parameters is if the scripters had changed the parameters when updating the plugin for the new builds (very unlikely) or if you saved the files with different names when you brought them in the second time.

That is good to know. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/black-screen-in-play-test.69025/