Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
ZorroGPT
by TipmyPip. 02/25/26 12:15
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (TipmyPip, Grant, AndrewAMD, alibaba, Martin_HH), 5,525 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Sporadically Error E1301: Can't open file [Re: pegamode] #227791
09/16/08 06:44
09/16/08 06:44
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Damn, and Ive been over your code and I cant see anything
even remotely unclean. But I am still only a noob to 3dgs
myself so hopefully someone more experienced can see the problem.

Best of luck.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Sporadically Error E1301: Can't open file [Re: EvilSOB] #227827
09/16/08 10:38
09/16/08 10:38
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi EvilSOB ...

maybe the problem is that I use subfolders for each kind of filetype:

models
sounds
levels
pics
scripts
shaders
wads
plugins

I don't like to have all kind of files in the same folder.

I use PRAGMA_PATH to add those folders and additional I use a main.wdl to my main.c file where those paths are defined.

Maybe sometimes GS can't read those subfolders as fast as it should be ???

Is anyone else using subfolders???

Regards,
Pegamode

Re: Sporadically Error E1301: Can't open file [Re: pegamode] #227848
09/16/08 13:03
09/16/08 13:03
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
I dont get what you mean by you are using
pragma_path AND main.wdl.

What exactly are use defining in the WDL? I am
usning pragma_path's so I dont need the old WDL at all.
Can you post both the content of the WDL and your main.c
pragma_path statements?
They may be fighting for priority, and causing delays
that are causing your file error.

Good thinking too, I didnt think of it cause I dont use
the old WDLs at all any more.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Sporadically Error E1301: Can't open file [Re: EvilSOB] #227874
09/16/08 15:40
09/16/08 15:40
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I tried all variations:

only pragma_path, only the old wdl stuff and both ... still the same error.

I'll try using only pragma_path and raise the wait after level loading ... maybe that helps ?!?

I don't know if level_load has an internal timeout when loading the models.
Maybe I should try to make a copy of the project where all files are in the same folder ...

Re: Sporadically Error E1301: Can't open file [Re: pegamode] #228604
09/20/08 21:44
09/20/08 21:44
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hmm ... the error still remains ... any other ideas ?!?

Re: Sporadically Error E1301: Can't open file [Re: pegamode] #229016
09/23/08 23:13
09/23/08 23:13
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi pegamode smile

Since your using subfolders...chech in the work folder
to see if your model or models are not repeted there also.

I had a model in two places (by accident) and that caused
a few problems.

Hope this helps
Ottawa

Re: Sporadically Error E1301: Can't open file [Re: Ottawa] #229516
09/28/08 10:03
09/28/08 10:03
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi Ottawa,

I checked all folders now ... the models are in only one folder.

It's really strange, but the problem never occurs when starting the game. The first level runs without any problem. But when changing to level 2 and back to level 1 the error occurs although it's the same level with the same models.

Re: Sporadically Error E1301: Can't open file [Re: pegamode] #229542
09/28/08 14:04
09/28/08 14:04
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Its a bit of a pain, but for a test try this 'if' its possible.

Create a temporary COPY of your whole project in a new folder, and
dump ALL MODEL files and ALL LEVEL files into this temp projects root folder.
(ie stop using ANY subfolders) and manually rename any Level files
that duplicate other (level)filenames. Ignore duplicate model names for now,
this is PURELY for test, it will be deleted whether it works or not.
Open the levels in WED to see if they OPEN and show all the models
'in the right places', even if the model shown is wrong cause of name conflicts.
If all are OK enough to test, compile them and try running it.

If the problems still occur, its not a subfolder issue at all and we can
rule them out.

If this is un-managable, how about "like" the above, but only level 'one'
gets moved to the root, and mod the level gate so it makes you go from
level 'one' to level 'one' (making it do a level_load each time you cross over).

Get what I mean?

PS do you include windows.h or use any API functions ANYWHERE in your code?
(if so which ones, and how, when doesnt matter at this time)


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Sporadically Error E1301: Can't open file [Re: EvilSOB] #229549
09/28/08 15:01
09/28/08 15:01
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi EvilSOB,

windows.h is not in use.

I also deactivated my anti-virus and took the project out of subversion control, but both didn't help.

I'll first try to test the game without subfolders ... if this doesn't help, I'll try to deactivate all background functions as far as I can to check if there's a problem.

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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