guiProfiles.cs not being transfered into build
by NCGames · in Torque Game Builder · 02/16/2010 (11:44 pm) · 7 replies
I've done searches, asked on the IRC and all that. I've found some things, but never anything that was conclusive enough in order to come up with a fix.
I've got my gui profiles written in the guiProfiles.cs within the gameScripts folder. It works fine when I run the exe in the project folder, but when I build it, the profiles are missing in the built folder. I'm building with the source code included flag off. Not sure if that makes a difference. When I copy and paste the .cs file itself into the folder, the profiles appear as they should. Note that this is in a folder that's full of working .cs.dso
I do not see a reason why this shouldn't be working.
I've got my gui profiles written in the guiProfiles.cs within the gameScripts folder. It works fine when I run the exe in the project folder, but when I build it, the profiles are missing in the built folder. I'm building with the source code included flag off. Not sure if that makes a difference. When I copy and paste the .cs file itself into the folder, the profiles appear as they should. Note that this is in a folder that's full of working .cs.dso
I do not see a reason why this shouldn't be working.
About the author
#2
Might I note that "building" it works fine. It's only when in TGB I hit File>Build Project... That everything is exported and it is only in the exported folder that guiProfiles isn't being transfered.
02/23/2010 (6:10 pm)
I'm on Windows XP 32 bit. I use TorqueDev for my IDE...Might I note that "building" it works fine. It's only when in TGB I hit File>Build Project... That everything is exported and it is only in the exported folder that guiProfiles isn't being transfered.
#3
02/23/2010 (6:17 pm)
I've never used TorqueDev, but I suggest finding where the list of files to be copied is managed and making sure guiProfiles is in there.
#4
02/23/2010 (7:17 pm)
A file containing a list of files to be copied? I've not heard of such a thing. In any case, I don't see why it'd be any different between my version of TGB and yours just because I use a different IDE.
#5
I'd give more specific directions if I was more familiar with TorqueDev, but it is my experience that I can generally figure stuff like this out across different software packages if I have a vague idea of what I'm looking for.
02/23/2010 (8:46 pm)
Not a file, but a project management setting. I don't use TGB at all, I use TGE, however the IDEs I use (or at least VC++ and XCode do, I'm not sure about Codeblocks) allow for "custom build steps" that Torque can use to copy script files into the build directory. My suggestion is to find whatever mechanism controls the copying of script files at build time in TorqueDev, and make sure it knows about your guiProfiles.cs.I'd give more specific directions if I was more familiar with TorqueDev, but it is my experience that I can generally figure stuff like this out across different software packages if I have a vague idea of what I'm looking for.
#6
02/24/2010 (8:52 am)
I'm not building the project in my IDE, I'm building it in TGB... The problem persists regardless of whether I use notepad or TorqueDev.
#7
(I'm aware of the low-quality of the project, it's been cancelled. But I'm still interested in the issue at hand.
04/01/2010 (5:59 am)
I'm quite interested in solving this issue so that I don't run into it again... I've uploaded the built project here. http://icg.perd.org/testing/Ziro.zip(I'm aware of the low-quality of the project, it's been cancelled. But I'm still interested in the issue at hand.
Torque 3D Owner Thomas -elfprince13- Dickerson