Announcement

Collapse
No announcement yet.

SinglePlayer Map Renderer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SinglePlayer Map Renderer

    Howdy Survivalists,

    since Random Gen I always wanted a tool to export the explored world. Although I really like cumu's tool Export-discovered-map-to-png, it simply doesn't fit my needs. Personally I don't like python very much and I don't want to run a web server and browser just to see my map.

    So, I made my own version based on cumu's tool. It's a small .net application and exports only one player map to one png file.
    The only option so far is the size of the exported map:
    • FullSize means one pixel equals one ingame block
    • HalfSize means one pixel equals four ingame blocks (two in x and two in y)
    • and so on

    Download and source code is available at: https://github.com/DorHans/7DTD-SMR/releases

    Old address provided, in case you need an older version: https://7dtdsinglemaprenderer.codeplex.com

    A big thanks to cumu for sharing his great work!
    Also a big thanks to Karlovsky120 for writing the 7DaysProfileEditor.

    Changelog:
    2020-02-06 version 1.11.2020.206
    • added missing symbol for gyrocopter


    2019-12-31 version 1.11.2019.1231
    • added rendering of biome map and prefabs for Alpha 18
    • added TileSizes double, triple and quadruple (maximum pixel size of png file is about 20k by 20k, enough for double size with 8k maps or quadruple size with 4k maps)
    • added setting for game directory (needed for prefabs) -> please check "Settings" window!


    2019-12-22 version 1.10.2019.1222
    • new method for reading waypoints from ttp files
    • spawnpoint (bed), backpack and quickmarker are no longer rendered


    2017-11-12 version 1.9.2017.1112
    • new experimental tool RegionViewer (maybe useful for RegionEditor)
    • ImageFilePath is saved for each SaveGame individually


    Old versions:
    Spoiler: 

    2017-09-02 version 1.8.2017.0902
    • first Github release
    • rendering of ingame waypoints for Alpha 16.3 (b12)


    2017-06-12 version 1.8
    • last Codeplex release
    • map file format changed with Alpha 16 (b105)
    • rendering of ingame waypoints for Alpha 16 (b105)


    2016-10-06 version 1.7.1
    • rendering of ingame waypoints for Alpha 15


    2016-06-05 version 1.7
    • rendering of ingame waypoints for Alpha 14
    • rendering of spawn position, dropped backpack and quick map marker
    • added datastore for large maps (map file > 64 MB, see Settings menu)


    2015-12-18 version 1.6
    • added rendering of ingame waypoints
    • added rendering of names to all POIs and waypoints


    2015-12-05 version 1.5
    • added rendering of POIs from a csv file (see post #22)
    • fixed calculation of region numbers
    • added experimental tools (from "Debug build" of 1.4)


    2015-10-12 version 1.5 b1
    • added command line interface (see post #21)

    Browse the "DOWNLOADS" tab on the Codeplex site to find this release.

    2015-09-27 version 1.4
    • small UI improvement, so you can select your save game rather than a map file
    • added options to render region names (see post #20)
    • added settings.xml to the application directory
      Be sure not to put the exe under "C:\Program Files" or "C:\Windows", however "C:\ProgramData" or any other directory with full access is fine.

    The project site on Codeplex also has a "Debug build" of 1.4.

    2015-08-26 version 1.3
    • added options to draw grid lines (could be useful with Regionedit)
      to align the grid to regions use a grid size of 512
      to align the grid to chunks use a grid size of 16

    For a screenshot and further discussion, see post #15.

    2015-08-16 version 1.2
    • added button to open the export folder
    • added possibility to draw a background (taken from game resources)


    2015-07-19 version 1.1
    • added optimized rendering method for "FullSize" images (up to 10x faster with maps 5000x5000 blocks/pixels)

    Last edited by DorHans; 02-06-2020, 07:23 PM. Reason: New version released.

    #2
    That's just lovely. Fast and easy to use, thanks!

    Comment


      #3
      Nice Tool. Thanks for the work.

      Comment


        #4
        This is great! Thanks for making and releasing this.

        Comment


          #5
          Thanks for the nice words.

          Just released version 1.1. Now my map, with a size of 7888*9440 pixels, renders in 2.5 seconds instead of 26 seconds. Though smaller sizes still need the whole time.

          Comment


            #6
            This is super -- thank you, DorHans. For a long time now, I've wanted an offline way to scour my explored map to find those teeny cave entrances. (In-game, not only is the clock always ticking, but the resolution of max zoom isn't that great.)

            Comment


              #7
              Friggin' awesome man! THANKS!!!

              Comment


                #8
                Just came across this from this thread: 7DTD Alpha 12 - Full mod list!

                I have to say this sounds perfect for plotting my next days course and summarising what stashes I have made from the previous day, all I may add, from the comfort of my plate wood and stick chair by the soothing light of a fire torch. I'm guessing it can be opened in Publisher? Can't try it yet as stuck at work.

                Comment


                  #9
                  Since this tool exports the map as a png file, it should be compatible with almost every graphics software

                  Comment


                    #10
                    Then you sir are the man! . I'm home now so giving this a run in a few minutes.

                    This is gonna make those "minibike pickup trips" so much easier than having to remember where I stashed all that loot. Wish they'd add custom markers to the map so we can drop\pin our own POIs.
                    Last edited by General_Disorder; 08-05-2015, 07:42 PM.

                    Comment


                      #11
                      OK first thoughts:

                      Install: "Crap I did it wrong, that "install" was far to quick and easy!"
                      Launch: "That looks too nice to be working surely!"
                      Import: "I'm expecting a pack of dogs to come chasing me this is too easy!"
                      Export: "Job done!"
                      Viewing: "HOLY FRACK!!!"

                      An amazing bit of coding there! The clarity is unbelievable! Far too many !'s but hell, this is awesome dude!

                      A quick bit of Publisher editing and I've got bases, pickups and mines\caves highlighted...again amazing job!

                      ScreenShot143.jpg
                      Last edited by General_Disorder; 08-05-2015, 08:00 PM.

                      Comment


                        #12
                        Fantastic! Not only is it easy to use but it works like a charm! Found a new cave within .5 km of my base that I never saw before. Thank you for this!

                        Comment


                          #13
                          It works awesomely.
                          Thank you.

                          Comment


                            #14
                            Version 1.2

                            Hi guys,

                            just released version 1.2. I took the background from the in-game map. It's just nicer, than the plain black.

                            map_compare.jpg

                            Comment


                              #15
                              Version 1.3

                              I've added options for drawing grid lines. The attached picture has a grid distance of 100 blocks and the point 0/0 is marked with a small circle. (Just noticed the attached image got converted to jpg and you can't really tell where the circle is. Sorry for that.)
                              map_grid.jpg

                              My plans for the next versions:
                              • improve usability
                              • add overlays
                              • any ideas?

                              As for usability I think about saving settings, last used files or make a dropdown with all saved games, so you don't have to select the *.map file.
                              Well, overlays should include your "home" symbol. You should be able to add your own symbols for POIs or caves, like in post #11. It would be great, if anyone has an idea on how to get this information!

                              I'd like to hear if you have any other ideas or suggestions.
                              Last edited by DorHans; 08-26-2015, 08:37 PM. Reason: bad quality of attached image

                              Comment

                              Working...
                              X