Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Quick Test

knot126 edited this page May 15, 2023 · 22 revisions

Starting with SHBT 2.0.1, you can now test changes to segments very quickly by using a mod of Smash Hit that allows loading segments from an HTTP server that is enabled with Blender Tools by default.

You can find a demo on YouTube if you want to see what it looks like.

Tip: If you run into an error or find that we haven't described how to do something, try searching for the issue on a search engine like Google or DuckDuckGo.

Set up the computer

Configure firewall

What is this?

Normally, a firewall blocks network connections that might allow people to gain access to things on your computer. We need to disable the firewall for port 8000 so the network connections that the Quick Test app makes are not blocked.

On your computer, you should have a firewall rule set up to allow traffic from port 8000. Assuming this is set up properly, the server will automatically start when Blender is opened and close when it is closed.

You can find a guide about opening ports on Windows here: https://www.howtogeek.com/394735/how-do-i-open-a-port-on-windows-firewall/

Find local IP address

What is this?

On the network, your computer has an address that it is identified by. We need this so we can tell the Quick Test app where your computer is on your netowrk.

After this, you need to find your local IP address, which usually starts with 192.168.1. and ends with a number between 0 and 255.

You can find a guide for how to do this on Windows here: https://www.howtogeek.com/723838/how-to-find-your-ip-address-on-a-windows-10-pc/

Set up the SHBT Quick Test mod and your phone

Note: The app's APK used to need editing before use. This is no longer the case unless you are adding custom obstacles!

Download the mod

To start, download the SHBT Quick Test mod APK file and install it to your phone:

Old versions

Adding custom obstacles

If you have any custom obstacles or other custom assets, then you must add them to the mod using APK Editor Studio or another APK editing tool. The quick test app can't load obstacles from the network at the moment, but we are considering this for a future feature.

If you don't want to add any custom obstacles, then just move on to the next section.

Using SHBT Quick Test

To use SHBT Quick Test, export your work in progress segment to the Quick Test Server by clicking FileExportSmash Hit Quick Test Server. After that is done, start the SHBT Quick Test app on your phone.

If this is your first time running the app — or your computer's IP address has changed — then you will need to set your IP address. To do this, click the Select IP button at the bottom centre of the main menu, then type your IP address.

Tip

You can click the boxes containg the numbers to change which box you edit.

After entering your IP address, you can click the Start button in Smash Hit and your segment will be downloaded from your computer and played in the app.

To test any new changes you have made to your segment, export your segment to the server again and restart the level in Smash Hit. Your changes will show up immediately!

Tip

Your IP address is always saved, even when you restart the test app, so you don't need to reenter your IP address until your computer's IP address changes.

Important

Smash Hit's HTTP file loader can be unreliable at times, so if it crashes on your first attempt, try again. If it keeps crashing the in the same way, make sure your firewall is off and that you have the correct IP address under the Select IP option.

Credits

  • Yorshex — Some of the menus were updated by Yorshex to match the style of the Quick Test app!

Notes

  • As of 2.1.0 and later, the SHBT Quick Test app only supports devices with a 64-bit or 32-bit ARM processor. Also, note that previous versions did not support 32-bit ARM.
    • Support for saving IP address between restarts does not work on 32-bit ARM platfoms at the moment.
  • Templates will only work if they can be automatically found from an APK loaded in APK Editor Studio or the file templates.xml is present in your Blender Tools folder.
  • You can change quality and game mode between tests. Please note that Zen and multiplayer modes do not work.