Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Trouble loading files for Binary Moon Tutorial

Author
Message
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 25th Nov 2007 02:56
It can never load the files for the map and stands? Please help. Is there a different file to get what I need to load?

http://en.wikipedia.org/wiki/Main_Page
Link102
21
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 26th Nov 2007 22:14
What exactly is the problem? Does dark basic say it can't find the files or does dark basic act like it's ignoring the command or something like that?

Don't look at my sig!
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 27th Nov 2007 00:31
It says that the file doesn't exist or something. That it can't be loaded. I did load the source pack though, and followed the instructions. Try it out for yourself.

http://en.wikipedia.org/wiki/Main_Page
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 00:06
Is there anyone that can help? This is so frustrating! I'm using the trial and trying to learn this, but I've been at a pause for days because of this! Please respond, someone.

http://en.wikipedia.org/wiki/Main_Page
demons breath
22
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 28th Nov 2007 01:10
If you've got the files all downloaded then

1. Put them all in the same folder as your game.
2. Make sure you have no typos
3. Make sure that you include the file extension
4. If they are in another folder inside your game folder, then include that. (e.g. "media\image001.bmp")
5. If steps 1 and 4 aren't working out, include the entire path (e.g. "C:\My Documents\DarkBASIC\Binary Moon\media\image001.bmp")

That's about all I can think of. Avoid step 5 if you can solve it without using these, but if it still doesn't work then use step 5 as a check to see if that's where the problem is.

TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 02:08
Quote: "If you've got the files all downloaded then

1. Put them all in the same folder as your game.
2. Make sure you have no typos
3. Make sure that you include the file extension
4. If they are in another folder inside your game folder, then include that. (e.g. "media\image001.bmp")
5. If steps 1 and 4 aren't working out, include the entire path (e.g. "C:\My Documents\DarkBASIC\Binary Moon\media\image001.bmp")

That's about all I can think of. Avoid step 5 if you can solve it without using these, but if it still doesn't work then use step 5 as a check to see if that's where the problem is."


When it didn't work I copied and pasted the code the author made so far, and it still wouldn't work. It's all in the project file too. I tried everything but step 5 already, and I don't see any way that step 5 can help.

To be frank, it would be more helpful if you gave it a try yourself.

http://en.wikipedia.org/wiki/Main_Page
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 28th Nov 2007 03:43
Quote: "It says that the file doesn't exist or something"


When does it say this - during which part of the setup process? What is the exact error message? I have it installed in a directory on my computer with the following criteria:

There are 27 lessons. Which one are you trying to load?

Make sure your source_pack directory has 31 files in it and a media folder.

Make sure your media folder has 57 files in it.

Enjoy your day.
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 04:07
Quote: "When does it say this - during which part of the setup process? What is the exact error message? I have it installed in a directory on my computer with the following criteria:

There are 27 lessons. Which one are you trying to load?

Make sure your source_pack directory has 31 files in it and a media folder.

Make sure your media folder has 57 files in it."


Yeah the source pack has all that. I'm on 4.2, it didn't work in 4.1 either.

When I run it there's a runtime warning that the file doesn't exist.

http://en.wikipedia.org/wiki/Main_Page
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 28th Nov 2007 04:08
Are you running a script, or an exe?

Enjoy your day.
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 04:14
? I'm running it right off of DarkBASIC.

http://en.wikipedia.org/wiki/Main_Page
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 28th Nov 2007 05:04
so let's see, lesson 4 uses #include "LoadMatrix.dba".

It also uses



Are you running lesson 4 from the source_pack directory? Make sure these files are in there (as well as the script you are running).

Enjoy your day.
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 05:10
Yeah, those files are in my source-pack,, but the icon is a white piece of paper with a pop-up on it. Is that okay?

http://en.wikipedia.org/wiki/Main_Page
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 28th Nov 2007 05:15
the icon for what?

Enjoy your day.
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 05:18
In the source pack zip folder... It shows all the content with icons above the names.

http://en.wikipedia.org/wiki/Main_Page
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 28th Nov 2007 05:25
So if you are using the default editor that comes with DarkBASIC, then from within there, click on open file and open the lesson you want to run. If all the files are in the folder like you say, then you should be able to just hit F5 once you've loaded the lesson and it should run.

Enjoy your day.
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 05:36
I can't load the lesson? I can't open the source-pack folder from DB?

http://en.wikipedia.org/wiki/Main_Page
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 06:19
I got the tutorial loaded from DB, and it still says that it doesn't exist.

There must be something wrong with the source-pack, could you (Latch) try downloading it and checking it out?

http://en.wikipedia.org/wiki/Main_Page
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 28th Nov 2007 09:05
Quote: "In the source pack zip folder... It shows all the content with icons above the names."


Ok... uhm have you extracted all of the files out of the zip file and into a directory on your computer? If you do so, it should create a directory called source_pack and within that there should be the lesson files as well as a folder called media. It is from the extracted lessons that you run the code. If you've already done this, I just want to make sure all the bases are covered - I'm not trying to insult you. You won't be able to run any of the lessons succesfully directly out of the zipped file. That is why they have to be extracted to somewhere on your hard drive.

Quote: "could you (Latch) try downloading it and checking it out? "


I already had this installed, but I went ahead and downloaded another copy (just in case). I extracted the files and was able to run the lessons. I just spot checked a few to see if they would work and they worked without a problem. the only thing was the text font needed adjustment because I'm running DBC 1.20.

Here's a checklist of bases to cover:
1. Are the files extracted out of the original zip file onto your harddrive?
2. Are the lessons now residing in a subfolder named source_pack?
3. Inside source_pack is there a folder called media and does it contain graphics and sound files?
4. Are there any files not related to the limit rush tutorial that work ok in DBC so that you know your copy of DBC works?
5. If the above checks are ok, while in DBC can you now click on open, find the new source_pack directory that you created by extracting it from the zip file, and choose a lesson to load into DBC?
6. If check 5 is ok, you should be able to press F5 to run the lesson. All the files should be in place and their references included in the lessons.
7. Under certain circumstances, administrative rights can be retrictive depending on how your computer is set up. If the files are residing in a particular directory, do you have the proper permissions to access them?
8. What version of DBC are you using?

Enjoy your day.
pcRaider
19
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 28th Nov 2007 10:58
Why?

"lesson_27.dba"
load and F5.
do not work.

load and build
.exe
It work.
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 28th Nov 2007 17:03
I'm using the trial, so I don't think I have 1.2.

I'll go over your checklist and tell you how it went when when I get back on later. Thanks for all your help.

http://en.wikipedia.org/wiki/Main_Page
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 29th Nov 2007 01:39 Edited at: 29th Nov 2007 01:56
It works now except it won't load objects like the arena?

I'll see what I can do.

Wait, when I click the file(arena, lights, signs, etc - all the .3ds files) it says that Windows can not find it?

Scratch all of that! That one guy was right. It only works as an .exe. Why? It doesn't make sense to me? What's the difference?

http://en.wikipedia.org/wiki/Main_Page
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 29th Nov 2007 03:24
Probably because you are using the trial version. It has limitations.

Enjoy your day.
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 29th Nov 2007 16:44
Latch is correct, but in this case it's a little strange...

A trial is meant only to give you a taste of the full product. Obviously, if everything worked, why would you want to buy the full version?

Having said that, I always thought that the trial versions were unable to compile exe files.

They also tend to be a number of revisions behind the retail version and as such will contain errors which have usually long since been sorted.

But, the important thing is that the problem you are talking about doesn't exist with the full version!

TDK_Man

TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 30th Nov 2007 02:00
Thanks everyone for the help. I completedthe tutorial, now I must find more that ar as good.

http://en.wikipedia.org/wiki/Main_Page
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 30th Nov 2007 12:23
Although not for making full games like the BM tutorial, (they are more topic specific), there is a series of tutorials for beginners here:

http://forum.thegamecreators.com/?m=forum_view&t=99497&b=10

TDK_Man

Login to post a reply

Server time is: 2026-07-05 14:20:00
Your offset time is: 2026-07-05 14:20:00