Register - Login
Views: 99384265
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-24-22 02:56:38 AM
Jul - The Cutting Room Floor - [help?] Marble Blast Ultra PC port comes with the full source code and dev tools New poll - New thread - New reply
Next newer thread | Next older thread
b
Member
Level: 15


Posts: 52/53
EXP: 13418
For next: 2966

Since: 12-31-18

Pronouns: she/her
From: about 2 minutes ago

Since last post: 2.5 years
Last activity: 2.5 years

Posted on 05-14-19 12:59:42 AM Link | Quote
So, I found a few things in the Marble Blast Ultra PC port.

Namely, the fact that once you install it, it comes with a zip named Level Building Tools, which includes a QuArK (quake army knife, never heard of it before but apparently it's a level editor?) addon, and a few convertors and such.

But also, it comes with the "marble" folder. At first, I figured the fact that all the files ending in .cs was probably something like "compiled script." They wouldn't've included the full source code, right?

But they did. In all its commented, welldocumented, ticket referencing, dummied out code including glory.

Now, this build is NOT the XBLA build, and there are multiple instances where a comment is about a change from XBLA to PC.

The scope of the code in here is ridiculous to the point where I don't think I can't document it without help.

...Anyway, other than that, here are a few of my favorite things:

tools/editor/editor.cs:
//XMessagePopupDlg.show(0, "The Mission Editor is buggy in this build! Please do not use the Shipping Build to edit the missions.", "Just Do It Nike", "if($Game::Running){if(!isObject(Editor)){Editor::create();MissionCleanup.add(Editor);}if(Canvas.getContent()==EditorGui.getId()){$infinitetime=1;toggleCamera(1);Editor.close(\"PlayGui\");Canvas.setContent(RootGui);RootGui.setContent(PlayGui);moveMap.push();}else{$infinitetime = 1;toggleCamera(1);Editor.open();}}", $Text::Cancel, "");

This is a commented out dialog that lets you run the "mission editor" on the shipping build.
Notably, the OK button is set to be replaced by "Just Do It Nike".
However, this is replaced by a dialog that simply tells you off and doesn't let you do it (nike), meaning you have to use the non-shipping build/designer's build...which we also have! (marbleblast_dev.exe)

There are also a few things uncommented:

marble/client/defaults.cs:
// how did this get in here, and why is it false when it's always true
$pref::Input::AlwaysFreeLook = false;

This is still set as it is, and I'm not sure of the answer to those questions.

Anyway, here's a patch to reenable the level editor in case anyone wants to fly around and look for unused objects?

I dunno. I feel like this might be a group effort and I dunno if others would be interested...

____________________

Next newer thread | Next older thread
Jul - The Cutting Room Floor - [help?] Marble Blast Ultra PC port comes with the full source code and dev tools New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

27 database queries.
Query execution time:  0.079151 seconds
Script execution time:  0.005059 seconds
Total render time:  0.084210 seconds


TidyHTML vomit below
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 119 column 11 - Warning: <form> isn't allowed in <table> elements
line 118 column 10 - Info: <table> previously mentioned
line 120 column 11 - Warning: missing <tr>
line 120 column 119 - Warning: missing </font> before </td>
line 124 column 16 - Warning: plain text isn't allowed in <tr> elements
line 120 column 11 - Info: <tr> previously mentioned
line 125 column 68 - Warning: missing </nobr> before </td>
line 141 column 68 - Warning: missing </nobr> before <tr>
line 147 column 35 - Warning: missing <tr>
line 147 column 50 - Warning: missing </font> before </td>
line 148 column 37 - Warning: unescaped & or unknown entity "&id"
line 147 column 251 - Warning: missing </font> before </table>
line 149 column 35 - Warning: missing <tr>
line 149 column 50 - Warning: missing </font> before </td>
line 149 column 91 - Warning: missing </font> before </table>
line 156 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 158 column 9 - Warning: missing <tr>
line 176 column 13 - Warning: missing <tr>
line 177 column 102 - Warning: unescaped & or unknown entity "&postid"
line 211 column 2851 - Warning: <style> isn't allowed in <td> elements
line 179 column 9 - Info: <td> previously mentioned
line 214 column 17 - Warning: missing <tr>
line 214 column 17 - Warning: discarding unexpected <table>
line 217 column 35 - Warning: missing <tr>
line 217 column 50 - Warning: missing </font> before </td>
line 217 column 91 - Warning: missing </font> before </table>
line 219 column 35 - Warning: missing <tr>
line 219 column 50 - Warning: missing </font> before </td>
line 220 column 37 - Warning: unescaped & or unknown entity "&id"
line 219 column 251 - Warning: missing </font> before </table>
line 221 column 17 - Warning: discarding unexpected </textarea>
line 221 column 28 - Warning: discarding unexpected </form>
line 221 column 35 - Warning: discarding unexpected </embed>
line 221 column 43 - Warning: discarding unexpected </noembed>
line 221 column 53 - Warning: discarding unexpected </noscript>
line 221 column 64 - Warning: discarding unexpected </noembed>
line 221 column 74 - Warning: discarding unexpected </embed>
line 221 column 82 - Warning: discarding unexpected </table>
line 221 column 90 - Warning: discarding unexpected </table>
line 223 column 9 - Warning: missing </font> before <table>
line 235 column 25 - Warning: discarding unexpected </font>
line 244 column 37 - Warning: discarding unexpected </font>
line 222 column 1 - Warning: missing </center>
line 120 column 63 - Warning: <img> lacks "alt" attribute
line 125 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 125 column 93 - Warning: <img> lacks "alt" attribute
line 141 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 141 column 98 - Warning: <img> lacks "alt" attribute
line 148 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 148 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 148 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 161 column 22 - Warning: <img> lacks "alt" attribute
line 161 column 63 - Warning: <img> lacks "alt" attribute
line 161 column 112 - Warning: <img> lacks "alt" attribute
line 161 column 162 - Warning: <img> lacks "alt" attribute
line 162 column 11 - Warning: <img> lacks "alt" attribute
line 172 column 15 - Warning: <img> lacks "alt" attribute
line 220 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 220 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 220 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 229 column 25 - Warning: <img> lacks "alt" attribute
line 234 column 267 - Warning: <img> lacks "alt" attribute
line 149 column 50 - Warning: trimming empty <font>
line 214 column 17 - Warning: trimming empty <tr>
line 217 column 50 - Warning: trimming empty <font>
line 125 column 68 - Warning: <nobr> is not approved by W3C
line 141 column 68 - Warning: <nobr> is not approved by W3C
line 177 column 27 - Warning: <nobr> is not approved by W3C
Info: Document content looks like HTML5
Info: No system identifier in emitted doctype
Tidy found 66 warnings and 0 errors!


The alt attribute should be used to give a short description
of an image; longer descriptions should be given with the
longdesc attribute which takes a URL linked to the description.
These measures are needed for people using non-graphical browsers.

For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL.
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.

You are recommended to use CSS to control line wrapping.
Use "white-space: nowrap" to inhibit wrapping in place
of inserting <NOBR>...</NOBR> into the markup.

About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium

Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md