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.

Newcomers DBPro Corner / EXE not loading

Author
Message
Silence
12
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 17th Dec 2012 16:38
I have finally finished coding my game. I try making it into an EXE file but nothing ever works. I get an EXE file but it doesnt even open and DBPRO wont load the game when I add in media. Yes I have the exe in my media folder as well as the sounds. It works fine in debug mode. Everything is fine except when i try to make it as an excutable file and try running it on the same computer.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 17th Dec 2012 17:28
Hi there... could you provide your system specs? OS version and whether you have DX9.0c installed or not...

Silence
12
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 17th Dec 2012 19:18
Windows XP with Student Access to a network. DX9 is installed
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 17th Dec 2012 19:37
Does the system require admin login to install software?

Try running DBP as admin...

Silence
12
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 17th Dec 2012 19:50
No it doesnt need admin. I tried it on a computer with more rights and it ran the program. But when I switched to a different computer it told me that it was missing a bitmap when it wasnt.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 17th Dec 2012 20:42
Are you using relative paths?

LOAD IMAGE "FILE.BMP" OR ".\FILE.BMP"

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 18th Dec 2012 10:40
Can you please post your code so we can analyze it.

TheComet

Silence
12
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 18th Dec 2012 16:10
here it is in the attachment

Attachments

Login to view attachments
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 18th Dec 2012 21:15
Line 6.



If you try to run your EXE on another computer, of course that folder doesn't exist. Not every computer has the folder "V:\Student Folders\156907\MyProj\example\media\".

Change the line to a relative file name:



TheComet

Login to post a reply

Server time is: 2024-11-23 17:54:18
Your offset time is: 2024-11-23 17:54:18