Gamestudio Links
Zorro Links
Newest Posts
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
folder management functions
by 7th_zorro. 04/15/24 10:10
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
SGT_FW
by Aku_Aku. 04/10/24 16:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, Quad), 373 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
err: 10, Unknown error #432485
11/06/13 17:49
11/06/13 17:49
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
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.




Re: err: 10, Unknown error [Re: Truth] #432495
11/06/13 20:16
11/06/13 20:16
Joined: Feb 2012
Posts: 371
Dico Offline
Senior Member
Dico  Offline
Senior Member

Joined: Feb 2012
Posts: 371
The problem in admin rights , just save your maps away of program files and it works.

Re: err: 10, Unknown error [Re: Dico] #432497
11/06/13 20:33
11/06/13 20:33

M
Malice
Unregistered
Malice
Unregistered
M



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

Re: err: 10, Unknown error [Re: ] #432511
11/07/13 07:47
11/07/13 07:47
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
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?

Re: err: 10, Unknown error [Re: Truth] #432521
11/07/13 10:02
11/07/13 10:02
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
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.

Re: err: 10, Unknown error [Re: jcl] #432524
11/07/13 10:58
11/07/13 10:58
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
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.


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: err: 10, Unknown error [Re: Rackscha] #432539
11/07/13 19:36
11/07/13 19:36
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
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

Re: err: 10, Unknown error [Re: Truth] #432541
11/07/13 19:59
11/07/13 19:59
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
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!

Re: err: 10, Unknown error [Re: Truth] #432543
11/07/13 20:14
11/07/13 20:14
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
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).


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: err: 10, Unknown error [Re: Superku] #432544
11/07/13 20:43
11/07/13 20:43
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
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


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1