Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MapViewer (Submissions Closed on 1/15/2019)
10-07-2019, 10:44 AM, (This post was last modified: 10-07-2019, 10:59 AM by Nathangorr.)
#58
Posts: 823
Threads: 24
Joined: Apr 2012
Reputation: 39
RE: MapViewer (Submissions Closed on 1/15/2019)
Nathangorr Offline Premium View worlds
***
(10-06-2019, 03:22 PM)lord_molagbal Wrote: im looking for a program like mc edit that dosent need outter programs to be found and downloaded to run  and im woundering wich files i apsalutly need for a world download to work so i can make the map not so big XD my main is sitting at 4.8-5 gb range

Here is MapViewer's older Overviewer config file, the current config is embedded into a batch script. It renders compressed images for smaller sized renders. The important bit is "optimizeimg = [optipng(olevel=2)]". The config will not work in its current state due to Batch variables I defined, but you can make it work by using Overviewer's documentation available at http://docs.overviewer.org/en/latest/config/. This particular config requires optipng. Let me know if you have any questions, I may make a guide on this if I have time.

Code:
import os
from optimizeimages import optipng
from observer import MultiplexingObserver, ProgressBarObserver, JSObserver

getUser = os.environ['getUser']
getWorldID = os.environ['getWorldID']
getVersion = os.environ['getVersion']
locBaseOut = os.environ['locBaseOut']

world = os.environ['getWorldName']
bgcolor = "000000"
optimizeimg = [optipng(olevel=2)]

worlds[world] = getUser + "-" + getWorldID + "-rs"
end_smooth_lighting = [Base(), EdgeLines(), SmoothLighting(strength=0.5)]

renders["Overworld"] = {
    "title": "Overworld",
    "rendermode": smooth_lighting,
}

renders["Nether"] = {
    "title": "Nether",
    "rendermode": nether,
    "dimension": "nether",
}

renders["End"] = {
    "title": "End",
    "rendermode": end_smooth_lighting,
    "dimension": "end",
}

outputdir = locBaseOut + "/" + getUser + "/" + getWorldID
texturepath = getVersion + "/client.jar"

consoleObserver = ProgressBarObserver()
webObserver = JSObserver(outputdir)
observer = MultiplexingObserver(consoleObserver, webObserver)
Quote


Messages In This Thread
RE: MapViewer (Submissions Closed on 1/15/2019) - by Nathangorr - 10-07-2019, 10:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)