file Marble Blast Interior Tester [Windows Only!]

  • LegoCreator768
  • LegoCreator768's Avatar Topic Author
  • Offline
  • Experienced Marbler
  • Experienced Marbler
  • Always on technology
More
02 Jun 2015 18:03 #1 by LegoCreator768
Marble Blast Interior Tester [Windows Only!] was created by LegoCreator768
Hey guys! I made an Interior Tester for MB! It's easy, really. Just make a text document and name it Interior Test.bat. Then, open with notepad/notepad++ and paste in the following code:
Code:
@echo off color 0b echo Browse the Interiors folder for dif files (Have to add a .dif at the end) set /p i=marble/data/interiors/ <yourgame>.exe -test marble/data/interiors/%i% exit
NOTE: Replace <yourgame> with the name of the MB executable.
The following user(s) said Thank You: 1234

Please Log in or Create an account to join the conversation.

More
02 Jun 2015 18:59 - 02 Jun 2015 19:03 #2 by ProMarbler
Replied by ProMarbler on topic Marble Blast Interior Tester [Windows Only!]
Eww, a batch file. Windows is so ugly. Unix forever!

Also, have you tested to see if this works? From what I see, you stored the path in a variable, and appended that path to the path that you stored! No need to store a path for something this simple. Unless it's some bizarre prompt? Bleh.

Bash/Zsh is so much better. Look, I made a little script!
Code:
#!/usr/bin/env bash read -p "Enter an interior's name: " ## Prompt for the name of the interior intFile="${REPLY%.dif}.dif" ## Ensure file ends in '.dif' ## Does interior test, assuming MBG in system's Applications folder. '/Applications/MarbleBlast Gold.app/Contents/MacOS/MarbleBlast Gold' -test "marble/data/interiors/$intFile"

Tada! Sorry if this makes you feel bad. I just have system pride. :)
Last edit: 02 Jun 2015 19:03 by ProMarbler. Reason: FIXED_WIDTH please

Please Log in or Create an account to join the conversation.

  • LegoCreator768
  • LegoCreator768's Avatar Topic Author
  • Offline
  • Experienced Marbler
  • Experienced Marbler
  • Always on technology
More
02 Jun 2015 19:05 #3 by LegoCreator768
Replied by LegoCreator768 on topic Marble Blast Interior Tester [Windows Only!]
I'm not storing the path in a variable. I'm going into the interiors folder. marble/data/interiors/%I%, i being blah.dif or folder/blah.dif, so it's marble/data/interiors/blah.dif, marble/data/interiors/folder/blah.dif

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
More
02 Jun 2015 20:56 #4 by HiGuy
Or just open the console in MBP (MBP1.50+ only) and type
Code:
doInteriorTest("Difname");
¯\_(ツ)_/¯

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }

Please Log in or Create an account to join the conversation.

  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
More
02 Jun 2015 21:30 #5 by Jeff
Or, just press the create subs button in the level editor and it does the same thing...

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar
  • Offline
  • Professional Marbler
  • Professional Marbler
More
02 Jun 2015 23:57 #6 by whirligig
Replied by whirligig on topic Marble Blast Interior Tester [Windows Only!]
Create Subs doesn't create an entire level, though. Plus, moving platforms.

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
More
03 Jun 2015 00:18 #7 by HiGuy
Create subs -> save -> reload should be exactly the same as interior testing.

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar
  • Offline
  • Professional Marbler
  • Professional Marbler
More
03 Jun 2015 00:47 #8 by whirligig
Replied by whirligig on topic Marble Blast Interior Tester [Windows Only!]
Yeah, but who wants to reload? Also, you have to delete the stuff in whatever .mis file you started with.

Please Log in or Create an account to join the conversation.

  • RDs.The-dts-guy
  • RDs.The-dts-guy's Avatar
  • Offline
  • Developer
  • Developer
  • Blender pls
More
04 Jun 2015 23:00 #9 by RDs.The-dts-guy
Replied by RDs.The-dts-guy on topic Marble Blast Interior Tester [Windows Only!]

whirligig wrote: Yeah, but who wants to reload? Also, you have to delete the stuff in whatever .mis file you started with.

Depends on how you do things. For me this method is easier, also why deleting things, you can ''creatsubs'' in any map as long as you make shure interior is @ 0 0 0.
Also every interiortest forces you to close and reload MB which is pretty much same as if not slower than reloading the map.
Depends on how you prefer doing thing's really.

Some guy that does DTS shapes and levels.

AWESOME time HINT : When making PQ level place your custom interiors and textures in platinum/data/interiors_pq/custom
makes life easier for you and everyone else :)

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 0.839 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.