Game Development Community

I want to release my game but after removing the *.cs file and just continue to have the *.dso file it do not work any more

by FanZhang · in Torque Game Engine Advanced · 10/17/2009 (1:57 pm) · 16 replies

I want to release my game but after removing the *.cs file and just continue to have the *.dso file it do not work any more?If any one meet this problem?

#1
10/17/2009 (2:09 pm)
What doesn't work? are there any errors shown in the console.log?
#2
10/17/2009 (3:42 pm)
Did you remove the main.cs ?
#3
10/17/2009 (10:29 pm)
As Aun said, the main.cs along the executable file must not be deleted.

Nicolas Buquet
www.buquet-net.com/cv/
#4
10/17/2009 (10:53 pm)
I have run into this problem too. I had to leave main.cs and any material(s).cs in for it to work.

Justin
#5
10/18/2009 (9:49 am)
I reserve the main.cs and just remove the scriptsAndAssets/client/config.cs
scriptsAndAssets/client/defaults.cs
scriptsAndAssets/client/init.cs
scriptsAndAssets/client/prefs.cs to have a tr.
When i start the game,the console recorded that:
//-------------------------- 10/18/2009 -- 13:49:43 -----
Processor Init:
Intel Pentium III, ~2.00 Ghz
(timed at roughly 2.02 Ghz)
FPU detected
MMX detected
SSE detected

Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing SSE extensions

Initializing platform...
Input Init:
unknown0 input device created.
unknown1 input device created.
DirectInput enabled.

Done
--------- Loading DIRS ---------

--------- Parsing Arguments ---------
Reading Display Device information...
Primary Display Device Found:
Vendor Id: VEN_0000
Device Id: DEV_0000
Binding server port to default IP
UDP initialized on port 0
DirectX 9 version - 10.0.0
DirectX 8 version - 10.0.0
Attempting to create GFX device: NVIDIA GeForce GT 130M (D3D9)
Device created, setting adapter and enumerating modes
GFXD3D9Device - using 'd3dx9_41.dll' for dynamic linking.
Cur. D3DDevice ref count=1
Pix version detected: 3.000000
Vert version detected: 3.000000
Maximum number of simultaneous samplers: 8
Initializing GFXCardProfiler (D3D9)
o Vendor : 'NVIDIA'
o Card : 'NVIDIA GeForce GT 130M '
o Version: '86.81'
- Scanning card capabilities...
- Loading card profiles...
- Loading card profile profile/D3D9.cs
- Loading card profile profile/D3D9.NVIDIA.cs
- No card profile profile/D3D9.NVIDIA.NVIDIAGeForceGT130M.cs exists
- No card profile profile/D3D9.NVIDIA.NVIDIAGeForceGT130M.8681.cs exists
Texture Manager
- Approx. Available VRAM: 1859125248
- Threshold VRAM: 67108864
- Quality mode: high
% - Initialized Common

--------- Initializing Directory: scriptsAndAssets ---------
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/defaults.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/init.cs!

--------- Initializing Stronghold: Server Scripts ---------
scriptsAndAssets/main.cs (98): Unable to find function initClient
% - Initializing common GUIs
SFXProfile(messageBoxBeep)::onAdd: The preload failed!
% - Initializing Tools
% - Initializing Tools Base
% - Initializing Base Editor
% - Initializing Mission Editor
% - Initializing Gui Builder
% - Initializing Debugger
Engine initialized...
Exporting Gui preferences.
scriptsAndAssets/main.cs (106): Unable to find function disconnect
Exporting client prefs
Exporting server prefs
Cur. D3DDevice ref count=1


it said could not find the defaults.cs and so on.But i have hold the dso file.
I use the Windows Vista. is it some thing wrong with this system?
#6
10/18/2009 (6:58 pm)
scriptsAndAssets/client/defaults.cs!
scriptsAndAssets/client/init.cs!

Make sure both of those files are in place.
#7
10/19/2009 (7:09 am)
it did not work.i have make the defaults.cs and init.cs in place And remove all the scriptsAndAssets/client/scripts/*.cs,But the console the the information about this:
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/audioProfiles.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/yackGui.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/guiCrossHairHud.cs!
Object 'AudioButtonOver' is not a member of the 'SFXProfile' data block class
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/client.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/game.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/missionDownload.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/serverConnection.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/playerList.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/loadingGui.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/optionsDlg.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/chatHud.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/messageHud.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/playGui.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/PromtGui.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/TestGui.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/centerPrint.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/glowBuffer.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/shaders.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/commonMaterialData.cs!
Missing file: D:/projects/Torque/Torque/TGEA_1_7_0/EscapeFromTheFire-release/GameExamples/Stronghold/game/scriptsAndAssets/client/scripts/default.bind.cs!
it unable to find all of the cs files that i have remove.does it run the dso file but why it must look for the cs file?
#8
10/19/2009 (3:53 pm)
i so many thread said just reserve the *.dso file and delete all the *.cs file except the main.cs file,but i have remove the *.cs files but i crack?Why
#9
10/19/2009 (9:16 pm)
Look for a setting like IgnoreDSO or, along those lines?
#10
10/23/2009 (10:14 am)
look for the setting in the CS files?
#11
10/23/2009 (12:20 pm)
Are you sure your scripts are pre-compiled before deleting the *.cs ? You might be having a compile error before it can compile the *.cs --> *.dso. My best guess is that there is a compile error in init.cs since you are missing a lot of the client scripts.

Check your console before packaging your game.
#12
10/23/2009 (1:02 pm)
I use the torsion to generate the dso in TGEA 1.7.0,some one said that has the bug about releasing games?
#13
10/23/2009 (1:17 pm)
I use it too and it seems to be working fine. Have you check your console.log for any errors ? Normally torsion will compile every file for you even before the engine does. So try to check for the error.
#14
10/23/2009 (2:11 pm)
ok.I have not delete any cs file and first removed all dso files,and next pre-compile and third compile all and it do not got out any error,and the last i delete the *.cs files,but it not work any more.
I confuse now.
#15
10/23/2009 (7:01 pm)
ok.I have try to release the game in TGEA 1.8.0 and any thing work good.
But now i have finished the game in TGEA 1.7.0,how could i fix the error in it?
#16
10/23/2009 (9:00 pm)
well done.I have fix the bug in TGEA 1.7.0.
http://www.garagegames.com/community/forums/viewthread/88307