err: 10, Unknown error

Posted By: Truth

err: 10, Unknown error - 11/06/13 17:49

Hi
I'm getting this error and i am unable to save. This happened before when the .wmp size hit 22mb i couldn't save so lost a whole day of work because the .wmp file seem to corrupt. At first i thought it was because i ran out of memory so i upgraded my system from 4GB ram to 8GB RAM but i'm getting the same error. When it got corrupted the first time i had to go back to an old version of the .wmp which was about 19mb all was working well and i started slowly adding more blocks/ entities, the .wmp gets to 22mb and then i get this error again. Have i reached the limit of WED?

Please tell me i haven't hit a dead end because i have been working on my huge dream game for 4 years and i would hate to have to abandon it because i have been limited by the software.



Posted By: Dico

Re: err: 10, Unknown error - 11/06/13 20:16

The problem in admin rights , just save your maps away of program files and it works.
Posted By: Anonymous

Re: err: 10, Unknown error - 11/06/13 20:33

Which makes me want to ask why the work folder isn't place in my_documents folder when the program is installed?
Posted By: Truth

Re: err: 10, Unknown error - 11/07/13 07:47

Thanks for the reply, I tried saving in my documents, it didn't make a difference. I don't think it's admin rights because it wouldn't have saved at all. I Also read somewhere that because this engine is 32bit it can't ever read more than 3.5gb of my RAM so my whole pc upgrade was pointless mad. This engine seriously needs some work if it wants to stay alive. It only uses one core and doesn't see more than 3GB RAM, although I am to blame as well, all my buildings and roads are blocks not models, maybe if I convert sections of my map into models or separate map entities it might require less RAM and make the .wmp smaller?
Posted By: jcl

Re: err: 10, Unknown error - 11/07/13 10:02

There are many websites where you can read what "32 bit", "3.5GB RAM" etc. means. When you're going to develop games, you need some basic PC knowledge. Otherwise you will be always hampered by similar problems. Confused rants won't help you.

Your problem to store a file has nothing to do with "RAM". It is difficult to tell the reason from afar, but maybe you've set the file accidentally to R/O, or it is indeed an admin problem. For projects on your PC, you normally should use the Documents folder, not the program files folder. Alternatively you can switch off the UAC. When you do a search for "UAC" on this forum you'll find instructions.

In any case, with some PC knowledge you won't be helpless in such a situation. You then only need to ask for help when the obvious steps don't solve it and the problem remains a mystery.
Posted By: Rackscha

Re: err: 10, Unknown error - 11/07/13 10:58

Or go to your Gamestudio folder, and on each exe:

right-click -> properties ->compatibility ->run as admin

This makes shure the program asks for admin priviliges on startup.

@JCL: you might consider changing the manifest of the Gamestudio-Exes to ask for admin priviliges on startup.
Posted By: Truth

Re: err: 10, Unknown error - 11/07/13 19:36

I'm pretty sure it has something to do with RAM. This isn't something I just decided to rant about I have been using this engine for years I am a computer science graduate so yes I know a thing or two about basic PC knowledge, the reason I came to the conclusion that it was RAM related is that when I run the compiler with the lightmap resolution set to a high value while monitoring the RAM usage in task manager it always seem to crash when it reaches to about 3.5GB if I lower the lightmap resolution down to 0.01 it doesn't reach 3.5GB and thus compiles successfully. I upgraded my computer to 8GB and still the same thing has happened and upon reading this http://stackoverflow.com/questions/63954...perating-system it seems to all make sense.

I would never just start to rant without reason to, I also don't think anyone has made anything as huge and resource hungry as my game so I don't think anyone can reproduce the errors that i'm seeing.

As for the admin errors i'm pretty sure it's not that because 1) I have tried saving elsewhere 2) it ONLY happens when the file reaches a certain size and 3) I run WED as administrator anyway so it can't be that.

Today I managed to save by closing the 3D view first then it lets me save, I also have to do this when I click 'compile' otherwise it says 'can't write: 'highroad.$$M'

Closing the 3D view drops the RAM usage down significantly, THATS why I say it's related to RAM
Posted By: Truth

Re: err: 10, Unknown error - 11/07/13 19:59

Oh yeah just to add, the error where it can't write 'highroad.$$M' when I click compile, I got years ago when I had 2GB RAM, the minute I put 4GB in that error went away!
Posted By: Superku

Re: err: 10, Unknown error - 11/07/13 20:14

There may be a memory related bug/ issue but I fear the main problem simply is your approach to his difficult task. As a game developer your goal is to find a way to make it work, and simply building a single huge level is (apparently) not the way to go. You can realize your base city layout with blocks, but then should use entities and/ or wmb entities, use LOD, maybe regions to disable rendering in certain areas, "stream" data of parts of your city, or even go as far and not use shadow maps (from WED/ wmb compiler, disable it) and use dynamic lighting instead (-> less memory).
Posted By: Truth

Re: err: 10, Unknown error - 11/07/13 20:43

I agree, I use dynamic lighting I had to pretty much disable the sun in wed and use an entity for the sun instead. I managed to get passed a lot of errors previously by using a small view distance and making far away entities invisible but i'm thinking about grouping parts of the map and exporting them to .mdl or like you said wmb entities. It's a shame i'm so close to finally finishing this game. Thanks for your reply Superku
© 2024 lite-C Forums