Skip to content

Releases: Zrp200/ScrollOfDebug

v2.0.0: Macro support

14 Feb 00:43
Compare
Choose a tag to compare

Changes

  • Added experimental macro support; macros are chains of commands stored together under an alias, saved between sessions
  • Implemented workaround to allowing scroll of debug to work even when it can't find any classes
    • This allows every build of scroll of debug to work to some degree on android and ios.
    • Typing the full package name of a class will have it be referenced by name and subsequently loaded for normal use.
    • Combining this with macros (ie one that just loads classes) can make this a lot more reasonable to use for testing if implementing the dedicated android support is nonviable.
    • The dedicated android implementation is still needed to automatically load all classes on android, and there is still no ios implementation for the same.
  • some minor changes to method execution logic, will eventually print errors directly as stack trace in a scrollable window

Fixes

  • argument autofill now works with Object parameters, autofills level in more cases, and works with all primitives (Byte, Short, Long, Double, Character, etc)
  • Fixed dependency issue with FileUrlConnection in PackageTrie

Builds

Shattered Pixel Dungeon

2.3.2

v1.2.2

30 Dec 00:41
Compare
Choose a tag to compare

Changes

  • removed extraneous features from Variable.java
  • Added a toString static member to Variable to retrieve names specifically; now variables will refer to their in-game names rather than the generic toString if at all possible.
  • goto now checks for the existence of the LevelTransition class rather than by version code to determine the correct depth to warp to.

Fixes

  • crash when warping to floors 21-24 in post-1.3.0 implementations
  • inconsistency in variable display (single variable command)
  • existing variables getting destroyed when failing to set them
  • erroneous assertion that goto generates depths in between.

Builds

Shattered Pixel Dungeon

2.1.0

2.0.2

1.4.3

v1.2.1

13 Nov 20:46
Compare
Choose a tag to compare

Changes

Functionality

  • Added goto command, which sends you immediately to the desired floor. Ascending from the floor is probably not a good idea, though.

Bugfixes

  • give command messing up the names of given items in recent versions of Shattered.

Code changes

These shouldn't affect functionality, but they will make scroll of debug more reasonable to work with and should address most of the constructive criticism I have received on the topic.

Easier Implementation

  • Subtrees is no longer required to implement scroll of debug. 4 branches are now set up to cover most possible use cases of the project (shpd versions 1.0 and 1.3 and implementation variants pc-only and apk_support) with as little effort as possible required to implement and update.
    • It should be possible to migrate from a subtree or copy-paste implementation to a branch implementation virtually effortlessly.
    • Implementing via branches also means that the necessary GameScene changes are automatically implemented now!
    • It should also be possible to upgrade from a v1.0-based implementation of Scroll of Debug to a v1.3-based implementation, and from pc-only to apk_support. Before, the prospect of doing this required multiple steps of undoing/redoing certain commits, and updating from an implementation that had apk support was virtually impossible to do.
    • It is now actually reasonable to implement apk support without requiring multiple extra steps and a disconnect from the project!. See the apk_support branches for the implementation of this.
  • Patch files have largely been removed from the project. They didn't work anyway, apparently.
  • README has been updated to better reflect the state of the project.

Builds

Scroll of Debug is meant as an addition to an existing Shattered-based project.
By default I've included builds of Shattered, but if you'd like me to include a specific mod as a release, let me know and I will include it!

Shattered Pixel Dungeon

v1.4.3

Touhou Pixel Dungeon: Reloaded

Implementation was achieved via merging the repo into Shattered 1.3.2 using the "ours" merge strategy, merging shpd/1.3/apk_support into it, and then adding the development code I use to release dedicated debug builds. I also changed save data handling so that it doesn't overwrite shattered saves, and fixed a touhou-related crash of the goto command.

commit a5d6d10

v1.1.1

07 Sep 20:40
Compare
Choose a tag to compare
  • Added the ability to retrieve and set public fields of objects, though such functionality cannot be used to pass them to methods at this time.
  • methods that have less parameters than given arguments are now ignored, preventing inappropriate hiding of fields
  • fields are no longer case sensitive"
  • fixed bug making inspection field types way longer
  • Fixed scrollpane issues. Really.
  • There is, however, a bug caused by resizing your window while a help window is active. So don't do that.

Builds

Shattered Pixel Dungeon

v1.3.2

v1.0.0

21 Jul 23:12
Compare
Choose a tag to compare

Changes

  • Changes to Shattered Pixel Dungeon in v1.3.0 mean scroll of debug no longer directly supports versions before it.
  • Changed formatting style of commands in inspect and help
  • Enumerated types now list their values in inspect
  • give now only requires - to give degraded items, rather than +-
  • give now rejects more invalid inputs."
  • Scroll of Debug's add implementation only triggers when it is not in the player's inventory.
  • Fixed scrollpanes being offset incorrectly in full shpd view

Releases

Shattered Pixel Dungeon

v1.3.1

v0.4.0

05 Jun 18:51
Compare
Choose a tag to compare

New Content

  • Added changes command, which gives a changelog of scroll of debug.
  • Added use command, which can call a desired method on any game class that supports it (see inspect for valid methods).
  • Including !! in a command will replace it with the previously written command.
  • spawn command now supports either a quantity argument or a --place (-p) option for manual placing of the mob.
  • spawn command now supports methods, which are called directly after placing the mob.

Changes

  • When calling methods that yield output, the output is now displayed in the game log.
  • Scroll of Debug is now considered unique, and thus will not burn.

Bugfixes

  • Fixed more bugs in class finding for jar version caused by 0.3.
  • Fixed Hero method arguments not being automatically resolved to the hero. Typing hero as a Char argument should also now work properly.

Builds

These are working implementations of scroll of debug into various known mods.

I will always include builds of Shattered, but I can implement scroll of debug into supported mods in 5-15 minutes.

If you don't see a supported mod here and would like me to add it, please either open an issue or otherwise contact me and I will add/update it when I have a spare 5-15 minutes.

Shattered Pixel Dungeon

1.3.0

1.2.3

Touhou Pixel Dungeon 1.5.7