Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Long time to save files in WME  (Read 6613 times)

0 Members and 1 Guest are viewing this topic.

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Long time to save files in WME
« on: September 01, 2008, 09:22:19 AM »

Hi!.

I'm a problem again.


The game is finished, but I have a great final problem.  When the player tries to save the game when it goes a time playing, the time for the process of savegame goes off to times between 5 and 10 minutes. I have been reading ancient posts on this problem, but I do not understand them.

I which cannot be the problem. Probably I have used too many global variables? Or probably there are too many entities in memory? Or they are the nodes of the rooms? The truth is that that not to do, now that the game is finished.

I need help to be able to solve it. Since I can extract the necessary information to know which is the problem?. Thank you very much in advance. This it is the final step to be able to see my finished game. Please, I wait for yours help.


A lot of thanks to all.

Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Long time to save files in WME
« Reply #1 on: September 01, 2008, 09:56:44 AM »

How many scenes are there in your game?

The most common cause is that you're periodically loading something (windows, entities...) and not releasing them. For example putting Game.LoadWindow() to base.inc file is a bad thing(tm).

If your game is huge with 100+ of scenes, it's worth it removing the global variables (SceneNameState) in scene_init.script, generated from templates, as well as disabling the "Remember node states" check-box in SceneEdit for scenes where you don't need this feature.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Re: Long time to save files in WME
« Reply #2 on: September 01, 2008, 02:14:08 PM »

My game have a 36 scenes.

Initially it saves with rapidity, but when you advance in the game, every time it is late more in saving.

At the moment I am going to remove all the global variables that it could, but I am afraid that it does not work.

How can I unload elements that already are not necessary? Since I can know where I do not need "Remember node states"?

Thanks
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Long time to save files in WME
« Reply #3 on: September 01, 2008, 02:33:26 PM »

With 36 scenes variables shouldn't make a difference. There's something growing rapidly. Any chance I could take a look at the game?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Re: Long time to save files in WME
« Reply #4 on: September 01, 2008, 02:38:41 PM »

Of course...

That you need? The compiled game? The original files? Where I you send it?

A lot of Thanks.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Long time to save files in WME
« Reply #5 on: September 01, 2008, 02:48:59 PM »

Original files are easier for me to dig into. Can you upload it somewhere?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Re: Long time to save files in WME
« Reply #6 on: September 01, 2008, 02:54:32 PM »

Ok.

I upload the files in my FTP and I send to you an link in a personal message.

Thanks
Logged

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Re: Long time to save files in WME
« Reply #7 on: September 02, 2008, 02:58:19 PM »

Mnemonic, I send to you a personal message with the links of downloads.

you received?

Thanks.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Long time to save files in WME
« Reply #8 on: September 02, 2008, 05:50:00 PM »

I did. Saved game would be helpful though, because I can't really test the game, because I don't speak the language. I tried visiting like five scenes and didn't find any problems so far.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Re: Long time to save files in WME
« Reply #9 on: September 02, 2008, 05:54:26 PM »

Ok. I'm searching one savegame file with this problem and send us.

Thanks.
Logged

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Re: Long time to save files in WME
« Reply #10 on: September 28, 2008, 04:55:38 PM »

Hello again!

Mnemonic, I send to you a personal message with the link of the savegame file.

you received?

Thanks.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Long time to save files in WME
« Reply #11 on: September 28, 2008, 05:45:58 PM »

The saved game you've sent me loads and saves in a couple of seconds...
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Re: Long time to save files in WME
« Reply #12 on: October 01, 2008, 05:38:50 PM »

a couple of seconds??? you are sure?

in my pc computer, the save process time is two minutes. The load process is more quick.... I don't understand...

Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Long time to save files in WME
« Reply #13 on: October 01, 2008, 05:46:15 PM »

Yes, I'm absolutely sure. I just tried it again. So if you start a new game and load this very saved game you've sent me, it takes minutes to load?
Also, have you tried that on some other computer?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.046 seconds with 24 queries.