Difference between revisions of "User:Iamyoyoman/Sandbox"

From Stoneshard wiki
Jump to navigation Jump to search
Line 1: Line 1:
=Modding=
=Modding=
Even though Stoneshard does not have integrated modding support it is still possible to mod the game via external tools, such as [[https://github.com/krzys-h/UndertaleModTool|UndertaleModTool]], that allows one to dig into GameMaker Studio game files.
Even though Stoneshard does not have integrated modding support it is still possible to mod the game via external tools, such as UndertaleModTool[https://github.com/krzys-h/UndertaleModTool], that allows one to dig into GameMaker Studio game files.
<br>
<br>
It is also possible to share modded games by sharing the difference of the modded game files compared to the vanilla ones, this is usually done with [https://www.romhacking.net/utilities/704/|delta patcher]] software to avoid piracy.
It is also possible to share modded games by sharing the difference of the modded game files compared to the vanilla ones, this is usually done with Delta Patcher[https://www.romhacking.net/utilities/704/] software to avoid piracy.


==What is required?==
==What is required?==
Other than a working PC. It is advised to:
Other than a working PC. It is advised to:
*Download and use the [[https://github.com/krzys-h/UndertaleModTool/releases|bleeding edge]] of UndertaleModTool.
*Download and use the Bleeding Edge[https://github.com/krzys-h/UndertaleModTool/releases|bleeding edge] of UndertaleModTool.
*Have basic knowledge of coding.
*Have basic knowledge of coding.
*Have an understanding of how GameMaker Studio works
*Have an understanding of how GameMaker Studio works

Revision as of 21:29, 14 March 2023

Modding

Even though Stoneshard does not have integrated modding support it is still possible to mod the game via external tools, such as UndertaleModTool[1], that allows one to dig into GameMaker Studio game files.
It is also possible to share modded games by sharing the difference of the modded game files compared to the vanilla ones, this is usually done with Delta Patcher[2] software to avoid piracy.

What is required?

Other than a working PC. It is advised to:

  • Download and use the Bleeding Edgeedge of UndertaleModTool.
  • Have basic knowledge of coding.
  • Have an understanding of how GameMaker Studio works

OK but how do I actually mod the game?

Once you have downloaded UndertaleModTool, create a copy of your game files from "SteamLibrary\steamapps\common\Stoneshard" to keep the original's integrity.
Open the "data.win" with the tool. There you can find all the game's objects, be it Scripts, Sprites, GameObjects, or else, create new or edit existing ones. Note that UndertaleModTool is very limited, and you might encounter some files that it can't decompile.
Of course not everything can be edited that way. for example, as GameMaker Studio saves audio files outside it's data.win file, to edit those you will need to add extra files to the game folder.

Tips and tricks

What if I can't decompile a script?

Always remember that you can still see and edit the assembly code of the script. it might be harder to understand and edit but it could also make an impossible task to a possible one.

Is there a way to debug?

As the debugger in UndertaleModTool does not work with stoneshard. using the "scr_actionsLogUpdate()" script is a very good way to achieve a similar result. but that won't work for edits to stuff as the main menu does not include the game's actions log.

I am stuck, Where can i get help?

It depends on what problem you are facing. but both the UndertaleModTool community and Stoneshard modding community are very welcoming and you are advised to visit both at their Discord servers.