RELEASED Data Layers (formerly Data Maps) [Deleted]

Discussion in 'User Interface' started by Pathoschild, Dec 16, 2017.

Thread Status:
Not open for further replies.
  1. Pathoschild

    Pathoschild Cosmos Killer

    Data Layers overlay the world with visual data like bee/Junimo/scarecrow/sprinkler coverage, hidden paths and warps, and more. It automatically includes data from other mods if applicable.

    Press F2 to show the data layers, and then left/right CTRL to cycle between layers (buttons configurable).
    [​IMG]

    See more screenshots of available data layers.
     
      Last edited: Jul 28, 2018
      HopeWasHere, anothersarah and Yoseiri like this.
    • Pathoschild

      Pathoschild Cosmos Killer

      Data Maps 1.0 beta is now available! (See attached. Requires SMAPI 2.3 beta.)

      This first public release includes four data maps:
      • Accessibility: shows where you can walk and highlights warp tiles; useful for finding hidden paths and nooks.
      • Junimo huts: shows Junimo hut coverage, and highlights crops they won't reach. Also works when placing a Junimo hut from the Wizard's build menu. Compatible with Pelican Fiber.
      • Scarecrows: shows scarecrow coverage, and highlights unprotected crops. Also works on scarecrows being placed.
      • Sprinklers: shows sprinkler coverage, and highlights unsprinkled crops. Also works on sprinklers being placed. Compatible with custom sprinkler shapes using Better Sprinklers.
      Bug reports, suggestions, and feedback are welcome here. :)

      [edit: beta download removed.]
       
        Last edited: Dec 27, 2017
        Elrohir_of_Rivendell likes this.
      • Pathoschild

        Pathoschild Cosmos Killer

      • Greavox

        Greavox Space Hobo

        Hello,

        Great mod, great job as always! Thank you very much!

        When I use Data Maps with SDVMM 3.1 (Mod Manager) and when I choose by double click on DataMap.dll to remove from SMAPI, an error from SDVMM appear and say this :


        Consultez la fin de ce message pour plus de détails sur l'appel du débogage
        juste-à-temps (JIT) à la place de cette boîte de dialogue.

        ************** Texte de l'exception **************
        Newtonsoft.Json.JsonSerializationException: Error converting value "1.0" to type 'SDVMM.MainForm+ModVersion'. Path 'Version', line 4, position 18. ---> System.ArgumentException: Could not cast or convert from System.String to SDVMM.MainForm+ModVersion.
        à Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, Type targetType)
        à Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue, CultureInfo culture, Type targetType)
        à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
        --- Fin de la trace de la pile d'exception interne ---
        à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
        à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
        à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
        à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
        à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
        à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
        à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
        à Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
        à Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
        à Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
        à SDVMM.MainForm.ModList_tooltip(Object sender, EventArgs e)
        à System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
        à System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
        à System.Windows.Forms.ListBox.WndProc(Message& m)
        à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
        à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
        à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


        ************** Assemblys chargés **************
        mscorlib
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2600.0 built by: NET471REL1LAST
        CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
        ----------------------------------------
        SDVMM
        Version de l'assembly : 1.0.0.0
        Version Win32 : 1.0.0.0
        CodeBase : file:///D:/USERNAME/Desktop/STQRDEZ%20VQLLEY/SDVMM.exe
        ----------------------------------------
        System.Windows.Forms
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
        ----------------------------------------
        System
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
        ----------------------------------------
        System.Drawing
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
        ----------------------------------------
        Microsoft.VisualBasic
        Version de l'assembly : 10.0.0.0
        Version Win32 : 14.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
        ----------------------------------------
        System.Core
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2600.0 built by: NET471REL1LAST
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
        ----------------------------------------
        System.Deployment
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
        ----------------------------------------
        System.Deployment.resources
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment.resources/v4.0_4.0.0.0_fr_b03f5f7f11d50a3a/System.Deployment.resources.dll
        ----------------------------------------
        System.Configuration
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
        ----------------------------------------
        System.Xml
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2612.0 built by: NET471REL1LAST_B
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
        ----------------------------------------
        Newtonsoft.Json
        Version de l'assembly : 9.0.0.0
        Version Win32 : 9.0.1.19813
        CodeBase : file:///D:/USERNAME/Desktop/STQRDEZ%20VQLLEY/Newtonsoft.Json.DLL
        ----------------------------------------
        System.Numerics
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
        ----------------------------------------
        System.Runtime.Serialization
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2612.0 built by: NET471REL1LAST_B
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
        ----------------------------------------
        System.Xml.Linq
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
        ----------------------------------------
        System.Data
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
        ----------------------------------------
        System.Windows.Forms.resources
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
        ----------------------------------------
        mscorlib.resources
        Version de l'assembly : 4.0.0.0
        Version Win32 : 4.7.2556.0 built by: NET471REL1
        CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
        ----------------------------------------

        ************** Débogage JIT **************
        Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
        application ou cet ordinateur (machine.config) doit avoir la valeur
        jitDebugging définie dans la section system.windows.forms.
        L'application doit également être compilée avec le débogage
        activé.

        Par exemple :

        <configuration>
        <system.windows.forms jitDebugging="true" />
        </configuration>

        Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
        seront envoyées au débogueur JIT inscrit sur l'ordinateur
        plutôt que d'être gérées par cette boîte de dialogue.



        It's possible avoid this to remplace
        Code:
        "Version": "1.0",
        from manifest.json by
        Code:
        "Version": {
                "MajorVersion": 1,
                "MinorVersion": 0,
                "PatchVersion": 0,
                "Build": null
            },
        Maybe the recent update of SDVMM it's the error source.

        A commit was done on Github.

        Sorry for this bad English

        P.S : All of your mod is concerned, if I have the time, I commit all of them :)
         
        • Pathoschild

          Pathoschild Cosmos Killer

          Hi @Greavox. It looks like SDVMM doesn't support the new version format in SMAPI 2.0+; I suggest reporting that to the SDVMM author. :)
           
          • Greavox

            Greavox Space Hobo

            Oh, sorry for these request pull... I remove them. Sorry, sorry, sorry...
             
            • Pathoschild

              Pathoschild Cosmos Killer

              Data Maps 1.1 is now available!

              Release notes:
              • Added bee house coverage map.
              • Added support for Cobalt's sprinkler.
              • Added support for Simple Sprinkler's custom sprinkler range.
              • Updated Better Sprinklers support.
              • Fixed deprecated API usage.
               
              • Pathoschild

                Pathoschild Cosmos Killer

                Data Maps 1.2 is now available!

                Release notes:
                • Added: point at a scarecrow/sprinkler/etc in its data map to highlight that one's range.
                • Added: two overlapping groups of the same color will now share one border (configurable).
                • Fixed error in Junimo hut map when Pelican Fiber isn't installed.
                 
                • sgtoutlaw

                  sgtoutlaw Aquatic Astronaut

                  I don't know if it is something you would have with this mod, but it would be nice to be able to see the coverage of fertilizer. I planted like 950 starfruit with 950 deluxe speed-gro and missed one which seems inevitable cause they are kind of hard to see. Actually proud that I only missed one. Especially considering I was doing it late into the night. lol
                   
                  • Pathoschild

                    Pathoschild Cosmos Killer

                    @sgtoutlaw Thanks for the suggestion! I'll add a fertiliser overlay in an upcoming version.
                     
                    • Aresd25

                      Aresd25 Void-Bound Voyager

                      Nice I came on here to suggest a fertilizer data map and someone already beat me to it. It so hard to spot missing spots even when zoomed in like crazy.
                       
                      • irecinius

                        irecinius Void-Bound Voyager

                        @sgtoutlaw @Aresd25
                        I just started sdv, and I also wanted that, since I kept missing few soils with fertilizer, also I needed to know if I watered that or not.. No spriklers for me yet...

                        So I forked the project and added them

                        This version has 2 extra maps, and 1 new functionality

                        DataMap: NeedsWatering
                        - Shows the crops that aren't watered.

                        DataMap: FertilizeMap
                        - Colors Soil based on fertilizer on it

                        New function: Remove Datamap
                        - Remove current displayed datamap from the pool of datamaps
                        - Bound remove key to F3 (Modifiable by config.json)
                        This just make so it won't cycle thru that map anymore.. if you remove all maps, you essentially disable the mod.
                        Returning to the TItle menu, or restarting the game will restore all maps.



                        If you don't feel confortable downloading the zip file, please go ahead, and take a look at the source code, you can download and compile yourself too.
                        https://github.com/irecinius/StardewMods

                        @Pathoschild
                        I've created a pull request, feel free to use the maps


                        [EDIT] Fixed versioning
                         

                          Attached Files:

                          Last edited: Feb 13, 2018
                        • Pathoschild

                          Pathoschild Cosmos Killer

                          @irecinius Thanks! I'll look at the pull request for the next release.

                          Feel free to create unofficial updates, but please only increment the smallest number with a prerelease tag (like 1.2.1-irecinius-update). That way SMAPI can notify the player if there's an official 1.2.1 or 1.3 update. :)
                           
                          • Pathoschild

                            Pathoschild Cosmos Killer

                            @irecinius Thanks for the contributions! I added the crop fertiliser & water maps in the upcoming Data Maps 1.3, along with config.json options to disable individual mods.
                             
                            • Pathoschild

                              Pathoschild Cosmos Killer

                              Data Maps 1.3 is now available!

                              Release notes:
                              • Updated to SMAPI 2.4.
                              • Added crops: fertilized and crops: watered maps. (Thanks to @irecinius!)
                              • Added support for hiding individual maps in config.json.
                              • Improved consistency and sorted by name.
                              • Fixed error in the Cobalt integration.
                              • Added Chinese and German translations. (Thanks to yuwenlan and Husky110!)
                               
                              • 1ird

                                1ird Intergalactic Tourist

                                Would it be possible to have a map that shows sprinklers range and scarecrow range in one? It would be very helpful when trying to plan a big field for crops. It's kind of a pain having to switch back and forth between the two individual data maps.
                                 
                                • Pathoschild

                                  Pathoschild Cosmos Killer

                                  Hi @1ird. Thanks for the idea! I'm not sure how to implement that in a clean way yet, but I'll think on it for a possible future feature.
                                   
                                  • Pathoschild

                                    Pathoschild Cosmos Killer

                                  • Pathoschild

                                    Pathoschild Cosmos Killer

                                    Data Maps 1.4-beta.2 and beta.3 are now available! (For Stardew Valley 1.3 beta only.)

                                    Release notes:
                                    • beta.2:
                                      • Added support for garden pots in crop overlays.
                                      • Added Russian translations. (Thanks to fadedDexofan!)
                                    • beta.3:
                                      • Improved performance with more nuanced update rate.
                                      • Improved Spanish translations. (Thanks to alca259!)
                                      • Fixed map legend hiding 'paused' indicator.
                                     
                                    • Pathoschild

                                      Pathoschild Cosmos Killer

                                      Data Maps Data Layers 1.4-beta.4 is now available! (For Stardew Valley 1.3 beta only.)

                                      Release notes:
                                      • Renamed to Data Layers due to common confusion about the name Data Maps.
                                      • Added support for Better Junimos and Prismatic Tools.
                                      • Added farm building door warps to accessibility map.
                                       
                                      Thread Status:
                                      Not open for further replies.

                                      Share This Page