Jump to content

Creating Mods/Mod Testing: Difference between revisions

From SA Docs
Created page with "== Using Test Spawn == To test your mod, you can use the Mod Manager's <code>Test Spawn</code> tab (make sure developer settings are enabled in the <code>Manager Config</code> tab) to bypass all menus and put a specific character in any stage or cutscene. You can also specify a save file override or set up a specific position in the stage. none|thumb|SA Mod Manager's Test Spawn Tab == Using Command Li..."
 
mNo edit summary
Line 8: Line 8:
=== Level commands ===
=== Level commands ===


* <code>--level [name/ID]</code> or <code>-l [name/ID]</code> to launch the game directly into a level. Click [[Sonic Adventure/Level List|here]] for a list of all levels.
* <code>--level <name/ID></code> or <code>-l <name/ID></code> to launch the game directly into a level. Click [[Sonic Adventure/Level List|here]] for a list of all levels.
* <code>--act [ID]</code> or <code>-a [ID]</code> to start the level into a specific act.
* <code>--act <ID></code> or <code>-a <ID></code> to start the level into a specific act.
* <code>--character [name/ID]</code> or <code>-c [name/ID]</code> to change the default character. Click [[Sonic Adventure/Character List|here]] for a list of all characters.
* <code>--character <name/ID></code> or <code>-c <name/ID></code> to change the default character. Click [[Sonic Adventure/Character List|here]] for a list of all characters.
* <code>--position [x] [y] [z]</code> or <code>-p [x] [y] [z]</code> to spawn at a specific position.
* <code>--position <x> <y> <z></code> or <code>-p <x> <y> <z></code> to spawn at a specific position.
* <code>--save [ID]</code> or <code>-s [ID]</code> to launch the game with a specific savefile. The ID is the number after "SonicDX" in the savefile name. You can also put the name of the save file (e.g. "mysave" from <code>mysave.snc</code>) in quotation marks instead of the ID.
* <code>--save <name/ID></code> or <code>-s <name/ID></code> to launch the game with a specific savefile. The ID is the number after "SonicDX" in the savefile name. You can also put the name of the save file (e.g. "mysave" from <code>mysave.snc</code>) in quotation marks instead of the ID.


=== Option commands ===
=== Option commands ===

Revision as of 07:48, 13 October 2025

Using Test Spawn

To test your mod, you can use the Mod Manager's Test Spawn tab (make sure developer settings are enabled in the Manager Config tab) to bypass all menus and put a specific character in any stage or cutscene. You can also specify a save file override or set up a specific position in the stage.

SA Mod Manager's Test Spawn Tab

Using Command Line Parameters

You can also you can launch sonic.exe with the following command line parameters.

Level commands

  • --level <name/ID> or -l <name/ID> to launch the game directly into a level. Click here for a list of all levels.
  • --act <ID> or -a <ID> to start the level into a specific act.
  • --character <name/ID> or -c <name/ID> to change the default character. Click here for a list of all characters.
  • --position <x> <y> <z> or -p <x> <y> <z> to spawn at a specific position.
  • --save <name/ID> or -s <name/ID> to launch the game with a specific savefile. The ID is the number after "SonicDX" in the savefile name. You can also put the name of the save file (e.g. "mysave" from mysave.snc) in quotation marks instead of the ID.

Option commands

  • --no-audio to disable musics, voices and sound effects.
  • --no-music to disable musics.
  • --no-voice to disable voices.
  • --no-sound to disable sound effects.