RPG Resource 1 AKA SQLite3 for T3D
by Kevin Mitchell · 10/04/2009 (10:36 pm) · 30 comments
File Front:
Download Source
1: Download the .zip file and extract it.
2. Copy the Engine Folder into: "C:TorqueTorque 3D 2009 SDK 1.0"
3. Open your project code.
4. Right click the 'project name' DLL project, go to properties.
5. Expand Linker, select general, Under Add lib. Dir. add the sqlite directory:
C:TorqueTorque 3D 2009 SDK 1.0Enginelibsqlite3
6. Next select Input, and under Additional Dependencies add
sqlite3.lib
7. Right click the 'project name' DLL project, go to add folder and name it 'sqlite'.
8. Right click the sqlite folder. Add -> Existing File -> select the files in:
C:TorqueTorque 3D 2009 SDK 1.0Enginesourcesqlite3
9. Compile.
10. Add sqlite3.dll and sqlite3.exe to your game directory.
11. Create your database by running cmd and in you game directory type:
sqlite3 Database.db
12. use .help for a list of options and enjoy using sqlite in your game.
Note: the database.db file is created after you exit sqlite.
Much credit to the guy that first created the SQLite 3 source. Without that i wouldn't know how to create the lib files from the sqlite website or the changes needed to make things note crash.
Enjoy.
Back To Blog:
RPG_Blog AKA New Resources
Download Source
1: Download the .zip file and extract it.
2. Copy the Engine Folder into: "C:TorqueTorque 3D 2009 SDK 1.0"
3. Open your project code.
4. Right click the 'project name' DLL project, go to properties.
5. Expand Linker, select general, Under Add lib. Dir. add the sqlite directory:
C:TorqueTorque 3D 2009 SDK 1.0Enginelibsqlite3
6. Next select Input, and under Additional Dependencies add
sqlite3.lib
7. Right click the 'project name' DLL project, go to add folder and name it 'sqlite'.
8. Right click the sqlite folder. Add -> Existing File -> select the files in:
C:TorqueTorque 3D 2009 SDK 1.0Enginesourcesqlite3
9. Compile.
10. Add sqlite3.dll and sqlite3.exe to your game directory.
11. Create your database by running cmd and in you game directory type:
sqlite3 Database.db
12. use .help for a list of options and enjoy using sqlite in your game.
Note: the database.db file is created after you exit sqlite.
Much credit to the guy that first created the SQLite 3 source. Without that i wouldn't know how to create the lib files from the sqlite website or the changes needed to make things note crash.
Enjoy.
Back To Blog:
RPG_Blog AKA New Resources
About the author
Riding Solo since 2005. Current Project: Fated World 2005-Present RPG Engine Tool Kit - Now available.
#22
04/14/2011 (7:44 pm)
I have the latest direct x 11 installed
#23
04/15/2011 (3:51 am)
no i mean what SDK are you using? august 2009, 2010?
#24
After this what whould i do?
04/15/2011 (10:59 am)
I didnt even know I had to use a Directx SDK? I guess ill install 2010.After this what whould i do?
#25
04/15/2011 (11:06 am)
Look at the stickys in the forums they have a list of everything you need to compile the engine from the sdk to physx etc. Make sure that you can compile a normal project before You add any mod to your game engine. Good luck.
#26
04/15/2011 (12:30 pm)
Okay thank you for your help. Sorry for my ignorance.
#27
04/15/2011 (2:14 pm)
Alright, install every thing and it complied fine. But now when i go into the world editor and select the sqlite3 build, the Torque SDK just minimizes and the world edito does not come up. Same if I try to play the game too.
#28
11/20/2011 (5:09 pm)
Forgive me but the download link says cannot find file. at game front. Could you re host the files. Your work looks very promising
#29
02/27/2012 (12:22 am)
Hey dude I didn't understand the part of open your project code; do you mean our source code??? If yes then when I opened up properties there was no such option as expand linker :( Help me please...
#30
02/27/2012 (4:36 am)
T3D source code. According to your account status it does not look like you have bought the T3D source code license. 
Torque Owner Kevin Mitchell
12 CatBlack Studios