Gamestudio use magic files?

Posted By: Freddanw

Gamestudio use magic files? - 05/22/10 10:49

So i'm very new just went through the workshops... and was going to try move a box myself. mayde a box in 3ds max. converted it to mdl and imported it to wed and created a bigger box around it. saved it. and opened the SED... write som simple line of code to move it forward... when i click test run... engine says

can't open boxmove.c
error with boxmove.c

so i strip down the code to a simple

function main( )
{
level_load(NULL);
}

stil same error... figures nothing wrong with my program...

so i open the file manager on windows... go to the directory i saved all the files... guess what

only box.3ds exist

so i think wtf... and go back to sed click open file and go to directory where i saved all the files.

and there they are, all files from gamestudio... check the path and it's correct...

so i search for the files in windows... nothing...

Is gamestudio operating in some fantasy world? since i closed and open the program multiple times...

my operating system is windows vista...
Posted By: Quad

Re: Gamestudio use magic files? - 05/22/10 11:11

probably, you ser your main script as boxmove.c from the options panel, if you set a main script from options, it will always try to run it instad of current script.(make sure you do not set a main script file, and check "use current file for test run")
Posted By: Spirit

Re: Gamestudio use magic files? - 05/22/10 12:05

Also, make sure to save the script file so that it really exists on the hard disk on your PC, and can be played. Without saving it, your file only exists in your fantasy world. wink

Please dont post beginners questions to the bug forum. "Starting the Gamestudio" is the right forum if youre just beginning with the workshops and not yet familiar with scripts, files, folders, etc.
Posted By: Freddanw

Re: Gamestudio use magic files? - 05/22/10 14:20

Don't you think i already done that before i asked? i don't have a main script set, i use run current file for testing. i don't know how many time i saved the script. nevertheless it auto save when you click test run? right...
also it says don't find main script, if you have a main script active

why don't you read the problem instead of answering random?

hope this image work
[img]http://www.glowfoto.com/static_image/22-084757L/1926/jpg/05/2010/img4/glowfoto[/img]
Posted By: Michael_Schwarz

Re: Gamestudio use magic files? - 05/22/10 14:26

maybe you accidentally set the files to hidden?
Posted By: Quad

Re: Gamestudio use magic files? - 05/22/10 14:32

hmm pretty strange, if they were to be hidden they would not show in the gs open window either, make sure they are both the same folder. Also , from what i can see, your sed has normal letters but filename starts with capital B. (not that it makes any diffrence on Windows but, another hint for diffrent folder problem.)
Posted By: Freddanw

Re: Gamestudio use magic files? - 05/22/10 15:13

Thx for the hint. Yeah i noticed that the letters where diffrent to. strange thing was that i couldn't change the size of the letters from inside sed.

So i figured.. i don't have admin rights for that folder...

damn right i was... opened folder properties change to complete admin rights.

now it works.
Posted By: Freddanw

Re: Gamestudio use magic files? - 05/22/10 15:20

The question now is... how can it NOT be a bug when gamestudio dosn't get a error when it's not capabale of storing files the proper way?

so i think you should move it back to bug hunt
Posted By: ChrisB

Re: Gamestudio use magic files? - 05/22/10 15:28

It's a 'feature' of windows vista. c:\program files\ is a special protected folder, any new files a program (without admin rights) creates will be moved to a different location (c:\users\your name\AppData\Local\Virtual Store\).
Posted By: DLively

Re: Gamestudio use magic files? - 05/22/10 15:35

(If I understand this post correctly) Its not a bug if you didnt have your windows files set to complete admin -its then windows that was preventing 3dgs from working correctly.

Also. dont double post when you dont have to.
please use the edit button, and Welcome to the forums.
Posted By: Spirit

Re: Gamestudio use magic files? - 05/22/10 17:32

In fact its a feature of all modern Windows OS since XP SP3. You cant write into the Program Files folder without administrator rights. If you attempt, your files are redirected to ProgramData.

Windows does this for protecting its programs. The normal place for editing projects and files is your documents folder.
Posted By: Michael_Schwarz

Re: Gamestudio use magic files? - 05/22/10 18:02

Originally Posted By: Spirit
The normal place for editing projects and files is your documents folder.


Although I recommend a separate partition or harddrive
Posted By: Aku_Aku

Re: Gamestudio use magic files? - 05/23/10 11:22

Quote:
The normal place for editing projects and files is your documents folder.

A little fix for this:
The normal place for editing projects and files is a subfolder in your documents folder.
© 2023 lite-C Forums