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 / Running final exe on another machine

Author
Message
Skepsis
20
Years of Service
User Offline
Joined: 30th Dec 2003
Location:
Posted: 30th Dec 2003 20:50
I made a start on a 3d game, basicly blocks that you jump between.
It runs fine on the creation machine and the generated exe it runs fine but take it to another machine ( same op win 2Kpro, diff graphics card mem, processor etc) it come up with error 10.

Now I had the free trial version and had 50+ runs left. I installed the full version 1.12 and the extensions pack, loaded up the game text and ran it. It ran fine.
Created a exe final and took it to another machine and the error occurred.
My system is win 2000 pro, athlon xp2600,nvidia fx5700 graphics card, 512 mb ram.
The other system is 800 mhz Dell, 256 ram, matrox 450 dual head graphics card.
1. is it a hang over of the trial version? is the graphics card difference the problem or do you need more than just the exe to run on a third party machine
I will attach the source code but its in a mess
Thanks

If you like programming try Python language at www.python.org
heartbone
21
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 30th Dec 2003 21:06
You need to specially condition a machine to run DBP apps.
You need the very latest everything.

The more you see, the more you know.
The more you know, the more you see.
Skepsis
20
Years of Service
User Offline
Joined: 30th Dec 2003
Location:
Posted: 30th Dec 2003 21:16
are there a set of run times then? a min set that you need to load on the 3rd party machine that does not have dark basic on it?

If you like programming try Python language at www.python.org
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 30th Dec 2003 22:27
when you make the exe and then take it over to the other machine you also MUST have any media files (sounds, pictures, models etc) in the correct relationship to the game, if you had a picture file in the same folder as the exe then you need the same picture file in the folder along with the exe on the other machine, likewise if you had a folder called models alongside the exe then you need that folder on the target machine, there is a file that contains the errors and what they mean in the DB classic install, but I can`t recall where it was, maybe some other user can remember (yes...those numbers do have a meaning ), cheers.

Mentor.

System spec : Pentium 3.0Ghz, 512MB DDR, 2x160Gb HD (using icewave hd coolers ), DVD RW/CD RW (all modes), multimedia front panel, 6 way surround sound, ATI radeon 9800Pro 128mb.
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 30th Dec 2003 22:38 Edited at: 30th Dec 2003 22:45
found it after re-installing DB, heres the errors for the runtime modules in English

[ERRORS]
1=Unknown Error
2=Trial Version has run out of objects
3=Not available in Trial Version
4=Program too big for Trial Version
5=Program ran into a function declaration
6=Not Enough Memory
7=Array Accessed out of bounds
8=File too large for array
9=File could not be loaded
10=File does not exist
11=File already exists
12=String Overflow Error
13=Stack Overflow Error
14=Array name is not valid
15=You must use a value greater than zero
16=Cannot divide by zero
17=Sync rate must be between 0 and 1000
18=Random value must be positive
19=You can only increment variables
20=You can only decrement variables
21=Unknown bob error
22=Bobs range from 1 to 65535
23=Bob does not exist
24=BackSave Flag must be 0 or 1
25=Transparency Flag must be 0 or 1
26=Rotation Angle must be 0, 90, 180 or 270
27=Scale must be between 0 and 250000
28=Width and height must be greater than 0
29=Unknown image error
30=Images range from 1 to 65535
31=Image does not exist
32=Bitmap too small to get image
33=Specified image area is illegal
34=Image size must not exceed 256x256 if used as a texture
35=Unknown bitmap error
36=Bitmaps range from 0 to 31
37=Bitmap does not exist
38=Cannot load bitmap
39=Cannot save bitmap
40=Cannot create bitmap
41=Cannot delete bitmap zero
42=Bitmap numbers must be different
43=Source bitmap too large
44=Bitmap zero cannot be overwritten
45=Region cannot exceed bitmap size
46=Invalid bitmap region specified
47=Blur value range is 1 to 8
48=Fade value range is 0 to 200
49=Unknown screen error
50=Illegal display size
51=Display depth must be 16, 24 or 32.
52=Display mode not supported
53=Cannot create display mode
54=Unknown Animation error
55=Animation number range is 1 to 32
56=Animation could not be loaded
57=Animation already exists
58=Animation does not exist
59=Animation volume must be from 0 to 100
60=Animation speed must be from 0 to 1000
61=Animation is already playing
62=Animation is not playing
63=Animation already paused
64=Animation is not paused
65=Unknown Sound error
66=Sound number range is 1 to 1024
67=Sound could not be loaded
68=Sound already exists
69=Sound does not exist
70=Sound volume must be from 0 to 100
71=Sound frequency must be from 100 to 100,000
72=Sound pan must be from -10,000 to 10,000
73=Sound cannot be cloned
74=Must specify a sound to clone
75=Must specify a destination and source sound
76=Speech Engine not found
77=Unknown Music error
78=Music number range is 1 to 32
79=Music could not be loaded
80=Music already exists
81=Music does not exist
82=Music volume must be from 0 to 100
83=Music speed must be from 0 to 100
84=Music is not playing
85=Controller is not available
86=No controller selected
87=No force-feedback control device selected
88=Magnitude must be from 0 to 100
89=Duration must be equal or greater than zero
90=Angle must be from 0 to 360
91=Unknown Basic3D error
92=Mesh number range is 1 to 65535
93=Cannot load mesh
94=Mesh does not exist
95=Percentage must be 0 to 100
96=Percentage must be 0 to 100
97=Object number range is 1 to 65535
98=Object already exists
99=Object does not exists
100=Limb does not exist
101=Limbs must be created in sequence
102=Limb does not exist
103=Limb already exists
104=Limbs could not be linked
105=Limbs must be created in sequence
106=Only unlinked limbs can be linked
107=Matrix number range is 1 to 65535
108=Matrix already exists
109=Matrix size illegal
110=Matrix segment size illegal
111=Matrix does not exist
112=Matrix height range illegal
113=Matrix too large. There's a maximum 10000 polygons per matrix
114=Matrix tile does not exist
115=Matrix coordinate does not exist
116=Graphics card does not support fog
117=Ambient percentage must be between 0 and 100
118=Start range must be between 1 and end range
119=Could not load object
120=Only X Files are recognised as objects
121=3DS File must be version 3.0 or above
122=Specified angle must be 0 to 360 degrees
123=Object cannot animate
124=Object frame does not exist
125=Object animation speed must be between -100 and 100
126=Object interpolation speed must be between 1 and 100
127=Could not append object to model
128=Append frame must be greater than models total frame count
129=Object has more than 99 limbs to load
130=Fade percentage must be between 0 and 100
131=Source filename must end with .3DS
132=Destination filename must end with .X
133=New mesh contains too many polygons
134=Cannot scan current directory
135=There are no more files to list
136=Path does not exist
137=File cannot be created
138=No file to delete
139=File already exists
140=No file to rename
141=o file to move
142=Directory cannot be created
143=No directory to delete
144=Cannot shell execute file
145=Cannot open file for reading
146=Cannot open file for writing
147=File already open
148=File not open
149=Cannot read from file
150=Cannot write to file
151=File number must be between 1 and 32
152=Graphics card not available
153=Could not make Texture Memory Check
154=Could not make Display Memory Check
155=Could not make System Memory Check
156=Checklist index is illegal
157=Checklist index does not exist
158=This checklist only gives values
159=This checklist only gives strings
160=This checklist has not been filled
161=No Command File found
162=No Environment created
163=DirectX could not be setup
164=Failed to set display mode
165=Surfaces could not be created
166=DarkBasic.bmp not found
167=DirectInput could not be initialised
168=Light number range is 0 to 7
169=Light already exists
170=Light does not exist
171=Cannot create light
172=Cannot delete light zero
173=Gamma component range is 0 to 511

you seem to have failed to provide a file that the exe needs, IIRC if you have a file in the folder that you didn`t even use in the code, then it has to there, the compiler assumes everything in the project is part of the project, even if it never gets used by the code, the compiler can`t be sure of that, you might have a routine that loads filenames by converting numbers to strings ie:

for x=1 to 345
filename$="datafile"+str$(x)
load object filname$,x
etc

so it assumes that anything in the folder at compile time has to be there, that may be the problem, but I think you just forgot to include some media the program wants, easy mistake to make.
Cheers.

Mentor

System spec : Pentium 3.0Ghz, 512MB DDR, 2x160Gb HD (using icewave hd coolers ), DVD RW/CD RW (all modes), multimedia front panel, 6 way surround sound, ATI radeon 9800Pro 128mb.
Skepsis
20
Years of Service
User Offline
Joined: 30th Dec 2003
Location:
Posted: 30th Dec 2003 22:53
thanks, I will try all sugested

If you like programming try Python language at www.python.org

Login to post a reply

Server time is: 2024-09-21 13:32:01
Your offset time is: 2024-09-21 13:32:01