logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    .tap file - HOW TO INSPECT and DISSECT... then re-open?

    Scheduled Pinned Locked Moved
    Help and Support
    6
    17
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Aidan_FireA
      Aidan_Fire @Murtaza
      last edited by Aidan_Fire

      Speaking of this, once hyperpad’s next update is out (assuming it fixes that thing where deleting scenes does not delete all the objects in it), I’m going to need to know how to delete them. Over half of one of my projects objects and behaviours would be hanging around in limbo taking up space doing nothing. Unless I can just email it to someone like Hamed to fix it for me 😉

      GameCRAZYG 1 Reply Last reply Reply Quote 1
      • GameCRAZYG
        GameCRAZY @Aidan_Fire
        last edited by

        @aidan-oxley Yeah, for me as well!

        D 1 Reply Last reply Reply Quote 1
        • D
          Deeeds @GameCRAZY
          last edited by

          It might have been @Jack8680 that knew how to open this...

          but anyone else, if he's not around, know how to crack this open?

          And why it's so incredibly HUGE?

          0_1519621124545_Screen Shot 2018-02-26 at 3.27.07 pm.png

          1 Reply Last reply Reply Quote 0
          • D
            Deeeds
            last edited by

            @Aidan-Oxley I applaud your over half limbo behaviours and objects...

            And do a factorial on it:

            I have, apparently, 96k of behaviours. Which is simply not the case. I might have made that many in all the duplicates of objects before I learnt to use spawn and "referencing" via "messaging", but that's not nearly where I'm at now...

            Anyone know how to manually find and delete the unused behaviours and objects in the SQLite file? I've opened it, but can't see the names of objects and behaviours, only their type, and position on the "canvas"

            D 1 Reply Last reply Reply Quote 0
            • D
              Deeeds @Deeeds
              last edited by

              Update:

              ZPATHDATA contains a list of all assets actually used.

              This is the thing to look into when wanting to figure out what assets can be deleted and what needs to be kept.

              D 1 Reply Last reply Reply Quote 0
              • D
                Deeeds @Deeeds
                last edited by

                Oops. Sorry. It might be just a list of assets in the above ZPATHDATA. No filtering based on whether or not they're actually used assets.

                Aidan_FireA 1 Reply Last reply Reply Quote 0
                • Aidan_FireA
                  Aidan_Fire @Deeeds
                  last edited by

                  @deeeds Jack and I opened the SQLite files using an app called Private DB I think?

                  1 Reply Last reply Reply Quote 1
                  • TutorialDoctorT
                    TutorialDoctor
                    last edited by

                    0_1519748367042_Screen Shot 2018-02-27 at 11.18.49 AM.png
                    DB Browser on the mac can open sqlite files.

                    1 Reply Last reply Reply Quote 1
                    • HamedH
                      Hamed Admin
                      last edited by

                      @deeeds said in .tap file - HOW TO INSPECT and DISSECT... then re-open?:

                      I have, apparently, 96k of behaviours. Which is simply not the case. I might have made that many in all the duplicates of objects before I learnt to use spawn and "referencing" via "messaging", but that's not nearly where I'm at now...

                      I use DB Browser when I'm fixing your guys' projects. To find all of the limbo'd objects, you need to cross reference ZObjectPosition and ZObjectData. ZObjectPosition is where your object exists in which scene and which layer. So any object without a ZObjectPosition is usually in limbo.

                      I never thought the database files would be > 10MB so we figured we can sacrifice space for speed when deleting things.

                      D Aidan_FireA 4 Replies Last reply Reply Quote 1
                      • D
                        Deeeds @Hamed
                        last edited by

                        @hamed Cheers.

                        I'll give it a shot. SQL is something I've never personally done... previously delegated. Many mistakes sure to ensue...

                        1 Reply Last reply Reply Quote 0
                        • Aidan_FireA
                          Aidan_Fire @Hamed
                          last edited by

                          @hamed So will you have next update make deleting scenes etc actually delete the objects and behaviours from the database?

                          1 Reply Last reply Reply Quote 0
                          • D
                            Deeeds @Hamed
                            last edited by

                            @hamed said in .tap file - HOW TO INSPECT and DISSECT... then re-open?:

                            you need to cross reference ZObjectPosition and ZObjectData.

                            How do I do this?

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              Deeeds @Deeeds
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • D
                                Deeeds @Hamed
                                last edited by

                                @hamed Doing this causes all objects to loose their behaviours. There must be some behaviours that can't be deleted, that don't have a position. Bindings, perhaps, that setup the project's relationships, or something similar. Can you give me a few clues as to how/what/where I need to protect the foundations of a project?

                                And, oddly, I'm still seeing 18,000 objects with position information in a project that can't have more than a few thousand, behaviours included.

                                1 Reply Last reply Reply Quote 0
                                • HamedH
                                  Hamed Admin
                                  last edited by

                                  I have finally finished the tool to clean up bloated projects. We're initially going to add a button to do this in the project options, and we'll do it automatically when we see that its safe to do so. For now, anyone that wants their project cleaned up, can send the project to contact@hyperpad.com and I'll email you back your cleaned project.

                                  1 Reply Last reply Reply Quote 3
                                  • First post
                                    Last post