Accidentally overwrite game with my base project. Now I can't play test.

Vergel_Nikolai

Villager
Member
Joined
Mar 6, 2020
Messages
20
Reaction score
2
First Language
English
Primarily Uses
RMMV
When I was gonna save the development of my game again for play testing to my friends I might've accidentally merged it with my base project and I did some fixes like moving the files for the game distribution to its proper folder but now due to that I can no longer play test my project. And it'll only work if I bring back the moved files to the folder but then my play test won't be updated with my changes in the database. Is there any way to fix this?
 

V_Aero

Veteran
Veteran
Joined
Apr 23, 2019
Messages
252
Reaction score
223
First Language
german
Primarily Uses
RMMV
You can try to create a fresh new project, look which files are required and then move these from your game folder to the new one.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,275
Reaction score
7,146
First Language
German
Primarily Uses
RMMV
the problem is the packages.json file.
It's containing different data on a deployed game and the reason why you should not deploy into your project directory.

make a new project, then copy the packages file from there to your damaged project. That will remove the need for the www folder.
 

Vergel_Nikolai

Villager
Member
Joined
Mar 6, 2020
Messages
20
Reaction score
2
First Language
English
Primarily Uses
RMMV
I just did what you all suggested. Created a new project then transferred the needed files and data from the old one to the new. I can play test there now and any changes I do with that happen to remain if I play test again.

I guess what I have to do next time is to be careful where to confirm a developed game.
 

Vergel_Nikolai

Villager
Member
Joined
Mar 6, 2020
Messages
20
Reaction score
2
First Language
English
Primarily Uses
RMMV
the problem is the packages.json file.
It's containing different data on a deployed game and the reason why you should not deploy into your project directory.

make a new project, then copy the packages file from there to your damaged project. That will remove the need for the www folder.
I actually just did your suggestion and well my old file is working good. I can play test it now. Thanks. Perhaps I'm not gonna replace it with the other backup but I'll let that one be around just in case.
 

Quexp

Warper
Member
Joined
Jun 18, 2018
Messages
2
Reaction score
7
First Language
English
Primarily Uses
RMMV
I just made this mistake the other day! I didn't know what files changed so I ended up creating a new project, pasted in all of my maps...but then had re-add needed files, redo my database and fix all of my Transfer Player commands. I'll be backing up my base folder next time but I'm glad I ran into this because the steps given here are much easier! :)
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

Government : "Hehehe~ I will spread lies that the earth is round so that I could sell globes~"
Anyone here managed to never burn out on programming? My current limit is 3 months(6-8 hours per day, 7 days per week, 50 hour programming week on average), and then I just have to take a break, sometimes lasting few days(with at most 2 hours on programming per day). I've been always like this so far, so I admire those who can always be so passionate on programming :)
This is starting to become a momochi collection y'all!
Meet Swefo The candy Eater!

Hide your candy... I or I sweefe sweefefooo~~~
Automatic level scaling without an option to turn it off can be a very bad choice for a game. The worst I've ever seen was in Nightmare of Druaga, where if a power outage made your system turn off, the game detects it as an attempted cheat and overwrites your save while taking away your best gear, leaving you unable to progress at the late stages of the game, and unable to recover.

Forum statistics

Threads
99,655
Messages
967,734
Members
131,338
Latest member
Vattitheminish
Top