SUPPORT BOARD OVERVIEW & TIPS:

About Receiving Help from the Support Board: While all members may answer questions posted in the Support board, you should only rely on responses posted or confirmed by support moderators and website administrators. Any solutions provided by members of the community that are not verified by a staff member (as indicated by a light-green background) are provided as-is, and we cannot take responsibility for any of the results of said actions.

About Responding to Support Threads: If you feel you know the answer to a question, you are welcome to respond to the thread and politely offer assistance. Please be courteous and try to provide detailed and helpful solutions to users who may not be as advanced as you. We ask that you refrain from posting one-sentence solutions.

Please search for existing topics before creating one! It's quite likely someone else has already encountered a similar issue which was resolved. You can search for existing support threads by clicking here .

About Topic Tags:

* Topics denoted with the [OPEN] tag are awaiting a response from the end user. You are welcome to post in these threads if you are experiencing a similar issue so we may provide further support.

* Topics denoted with the [RESOLVED] title have been successfully answered and confirmed by a support moderator and the end user, and should be used as a reference. These topics are locked.

* Topics denoted with the [CLOSED] tag were either inactive for more than 30 days or the end user did not respond to a suggestion and confirm if the issue was resolved. These topics are locked.

lock [RESOLVED] Engine Capabilities

  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
19 Nov 2013 22:14 - 14 Sep 2014 15:21 #1
Hey folks,

with all this new 1.50 stuff going on, I've heard that some things are just not possible due to engine limitations (like Mac+Windows Multiplayer, More fluid marble movement, etc.).

But as far as I know, Torque Script (I think that's the engine's name) is directly integrated into Marble Blast. It's not like Java, which you need to install FIRST before you're able to run java applications and so on.

Well, I thought about this: If the engine is indeed integrated, are you guys able to make changes to it (change code)?
Last edit: 14 Sep 2014 15:21 by Aayrl.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
19 Nov 2013 22:45 #2
You can't make changes to the engine, it's integrated into the MarbleBlast binary itself; decompiling it would be illegal. That's what you meant, right?
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
19 Nov 2013 22:49 #3
Nov 19, 2013, 2:45pm, Promarbler bananas wrote:You can't make changes to the engine, it's integrated into the MarbleBlast binary itself; decompiling it would be illegal. That's what you meant, right?

MarbleBlast binary? What's that?
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
19 Nov 2013 22:54 #4
It's the actual file that is first launched when you start the game. On a Mac, if you right-clicked and selected Show Package Contents, the executable file would be Contents/MacOS/MarbleBlast Gold. On Windows, it would be the Marbleblast.exe file (or similarly named).
The topic has been locked.
  • IsraeliRD
  • IsraeliRD's Avatar
  • Offline
  • Project Manager
  • Project Manager
  • Dragon Power Supreme
  • Posts: 3502
  • Thank you received: 912
20 Nov 2013 00:23 #5
The executable is c++ based, and de-compiling it is fairly illegal. Well technically you can, according to the readme, but then you cannot share that. De-compiling though is also pretty hard, especially since this is a C++ based engine. You're going to get lots of blank pieces, broken parts, missing functions and way more. It's actually incorrect to think you'll get 100%, because you're not gonna get a lot. Also you'll either have to pay a lot for a program that is capable of de-compiling (and again it won't be perfect), or you'll need to have a lot of expertise in the area.

The scripts are, on the other hand, TorqueScript (CS/GUI) which is what we do edit. What we create is dependable on the engine and therefore functions that exist in it.
When we say something is impossible, we talk directly about the engine as it has missing functions. That said, even if the engine does have a function name it does not mean it has anything in it, it can be an empty function.

The Wnidows and Mac versions of MBG have two different engines in terms of some minor differences that shouldn't exist, but do. These are enough to corrupt multiplayer to not function between the two.

"matan, now i get what you meant a few years back when you said that "the level in mbg is beyond me" after the last rampage i noticed things were insane, and now i truly feel that too" - Dushine, 2015.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
20 Nov 2013 17:00 #6
Well thanks, that covers pretty much everything I wanted to know! Just one more question:
Why are you talking about decompiling the whole time? Can't you just open certain files with certain applications?
The topic has been locked.
  • IsraeliRD
  • IsraeliRD's Avatar
  • Offline
  • Project Manager
  • Project Manager
  • Dragon Power Supreme
  • Posts: 3502
  • Thank you received: 912
20 Nov 2013 17:19 #7
Since you were talking about the engine itself, I was explaining what it is - an end product of a compiler. While you can definitely open it using any text program or a hex editor, it will have little value.

Since you are asking about changing the code I explained why it's not possible, the problems that you face during de-compiling and some legality.

The c++ code does come in h/cpp files that you can read normally in a text editing program, but the compiler makes it all an exe that you can't really de-compile and expect perfect h/cpp files as a result.

"matan, now i get what you meant a few years back when you said that "the level in mbg is beyond me" after the last rampage i noticed things were insane, and now i truly feel that too" - Dushine, 2015.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
20 Nov 2013 19:19 #8
Whey. Seems to be a pretty complicated thing, but I think I'm starting to understand it. Thanks!
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
22 Nov 2013 18:22 #9
Are you guys (HiGuy, Jeff…) actually part of GarageGames or just a MBG fan?
The topic has been locked.
  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
22 Nov 2013 20:40 #10
They're just part of the community. I'm not even sure whether we have any GG staff/developers on these forums.

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
22 Nov 2013 20:45 #11
On this topic, what is the language used in MB?
The topic has been locked.
  • IsraeliRD
  • IsraeliRD's Avatar
  • Offline
  • Project Manager
  • Project Manager
  • Dragon Power Supreme
  • Posts: 3502
  • Thank you received: 912
22 Nov 2013 21:01 #12
The engine or core executable uses C++. The scripting language that MarbleBlast uses for the interface and levels and just about everything else uses a scripting language called TorqueScript.

"matan, now i get what you meant a few years back when you said that "the level in mbg is beyond me" after the last rampage i noticed things were insane, and now i truly feel that too" - Dushine, 2015.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
22 Nov 2013 21:33 #13
So… TorqueScript is a language itself? And why TorqueScript? Isn't there a thing called TorqueEngine?
The topic has been locked.
  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
22 Nov 2013 23:25 #14
topic.derailedOffTheTracks = true;

look up torque game engine. Its scripting language is called TorqueScript. The Torque Engine IS Torque Game Engine

And no we are not part of GarageGames and GarageGames doesn't even own marble blast anymore. I'm still in Highschool theres no way I can be working there hahahaha.

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
23 Nov 2013 01:05 #15
Nov 22, 2013, 3:25pm, jeff wrote:topic.derailedOffTheTracks = true;

look up torque game engine. Its scripting language is called TorqueScript. The Torque Engine IS Torque Game Engine

And no we are not part of GarageGames and GarageGames doesn't even own marble blast anymore. I'm still in Highschool theres no way I can be working there hahahaha.

function.stopDerailing() = true;

Lol yeah Okay I think I got it now, only thing left to do is wait…

PS.: A TorqueScript Tutorial would be nice
The topic has been locked.
  • IsraeliRD
  • IsraeliRD's Avatar
  • Offline
  • Project Manager
  • Project Manager
  • Dragon Power Supreme
  • Posts: 3502
  • Thank you received: 912
23 Nov 2013 01:15 #16
Moved posts here because it relates to this topic and not 1.50 beta.

"matan, now i get what you meant a few years back when you said that "the level in mbg is beyond me" after the last rampage i noticed things were insane, and now i truly feel that too" - Dushine, 2015.
The topic has been locked.
  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
23 Nov 2013 01:31 #17
Quote:PS.: A TorqueScript Tutorial would be nice

No time for that. I learned with no tutorials. It's an easy language. I started with TS I had no idea what TS was when I started. Never programmed before and started coding MB. Now I am very perficient in TS and C++. I do Java as well as a little PHP. Just start by diving into it or looking at documentation garagegames provides (which isn't a lot but will push you on basic syntax)

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
The topic has been locked.
  • Posts: 521
  • Thank you received: 2
23 Nov 2013 07:36 #18
proficient
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
23 Nov 2013 13:12 #19
Nov 22, 2013, 5:31pm, jeff wrote:
Quote:PS.: A TorqueScript Tutorial would be nice

No time for that. I learned with no tutorials. It's an easy language. I started with TS I had no idea what TS was when I started. Never programmed before and started coding MB. Now I am very perficient in TS and C++. I do Java as well as a little PHP. Just start by diving into it or looking at documentation garagegames provides (which isn't a lot but will push you on basic syntax)

Do you need to have a general programming knowledge? I can code a bit of Java, will that help me out?
The topic has been locked.
  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
23 Nov 2013 19:59 #20
somewhat, I mean the language is dynamically typed. There is only strings and objects in torquescript : P You can't define a var as an int or float. If its a number the engine does a typecast to an int or float and pushes it on the float/int stack.

That's why TorqueScript is a slow scripting language, because everything is converted to and from strings (const char*)

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
23 Nov 2013 21:37 #21
Well that sounds kinda interesting, I must say! I kinda want to get into TorqueScript, I think it'll allow for some pretty awesome stuff! Well, do I need like a TorqueScript Editor or just Notepad++, or how do I even run it?
The topic has been locked.
  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
23 Nov 2013 23:46 #22
notepad++, to load a script go into the console and type

exec(path/scriptname.cs);

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
24 Nov 2013 23:22 #23
Nov 23, 2013, 3:46pm, jeff wrote:notepad++, to load a script go into the console and type

exec(path/scriptname.cs);

Well yeah, I still need a little explanation. Are there some tutorials out there or anybody from the staff who can give me some How To's? Not asking you guys to stop your work on 1.50, this is just a small question with not much priority.
The topic has been locked.
  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
24 Nov 2013 23:23 #24
docs.garagegames.com/tge/official....20Overview.html

Syntax and basic overview of the scripting language.

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
The topic has been locked.
  • Vanilagy
  • Vanilagy's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Posts: 87
  • Thank you received: 49
24 Nov 2013 23:31 #25
Nov 24, 2013, 3:23pm, jeff wrote: docs.garagegames.com/tge/official/conten...ript%20Overview.html

Syntax and basic overview of the scripting language.

Thanks, I really appreciate that you've taking your time!
The topic has been locked.
Moderators: Doomblah
Time to create page: 0.996 seconds
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.