Game Development Community

iT2D 1.4 - Files are missing

by Dean Parker · in iTorque 2D · 07/11/2010 (7:27 am) · 8 replies

UPDATE: I have changed the title and body of message, since Marc has helped me find the error

Build: 1.4

Platform: Windows 7, iTGB, Xcode 4.0

Target: iTGB

Description:
When you run itgb on MAC or Windows you get the following error.

console.log
% - Common scripts load time : 2 ms
Missing file: projectFiles/common/gui/consoleProfiles.cs!
Missing file: projectFiles/common/gui/console.gui!
 % - Common load time : 658 ms

Steps to Repeat:
1. Run any program on Mac or Windows.

The files consoleProfiles.cs and console.gui are missing from 1.4 rc.


In the file commonmain.cs file. The code below is standard in iTGB 1.4 rc.

//Console support on mac and windows only.
if($platform !$= "iphone")
{
  exec("./gui/consoleProfiles.cs");
  exec("./gui/console.gui");
}

About the author

I started programming in early 80's on an Atari 800 and now I am coding on VS 2008 C#.


#1
07/11/2010 (4:22 pm)
sounds like you reenabled the console for your use, is that possible)
#2
07/11/2010 (5:20 pm)
I have updated the original message since Marc has help me smoke out the real problem.

#3
04/04/2011 (7:53 pm)
Is there a way to fix this? My game was running fine now it chucks up this error >_<
#4
04/04/2011 (8:52 pm)
Hello Anna

You really do not needs those files and can remove the lines from the code.

If you need to add them, from your account download itgb 1.41 and in the directory... contains the files.

iTorque2D_1_4_1tgbcomongui

Update:
From the look of 1.41 the filename consoleprofiles.cs was renamed to profiles.cs
#5
04/04/2011 (8:55 pm)
Hope this helps you out and you can email me or post a message if you have anymore questions.

dean
at
deanparker dot com
#6
04/04/2011 (9:12 pm)
Anna - this shouldn't be an issue with 1.4.1. Have you changed something to re-enable the console?
#7
04/04/2011 (11:35 pm)
Dean: Thanks! It fixed it! I was almost at the chair through the window point! Lols

Conor: Nope, I am just accessing the console like you said... It was bizzare!! It seems to be happy-mostly now :)
#8
04/05/2011 (12:06 am)
Worked it out if you have a datablocks file in your scripts folder that you haven't fully implemented (I was halfway through it), it chucks up the above error >_< . Thanks everyone! :D