ID:2395072
 
I've been through many attempts of trying to rid the black letterbox to no avail, so I ask for links or help on doing so. I disabled the letterbox in the map pane, disabled stretch to fit and set the icon size to world icon size and tried a few of Ter13 suggestions(http://www.byond.com/forum/?post=2348033) but it didn't help as well as I thought :/


Any other ideas?

Disable letterboxing and keep Stretch to fit enabled. The letterbox setting only has an effect when using Stretch to fit.
I'd rather not use stretch to fit it makes the art look horrible
You can set your "resolution" for the game to match what the map size is. Get the pixel size of your map object, divide by 32 for length and width, and you have a rough estimate of what your view height and width should be.

var
list
resolutions[] = list(
"800x600" = list(
"width" = 800,
"height" = 600,
"32tile-size" = "24x17",
"STATS" = "1,15",// 1,17
"CHAT" = "1,1",
),
"1024x768" = list(
"width" = 1024,
"height" = 768,
"32tile-size" = "31x23",
"STATS" = "1,21",// 1,23
"CHAT" = "1,1",
),
"1280x720" = list(
"width" = 1280,
"height" = 720,
"32tile-size" = "39x21",
"STATS" = "1,19",// 1,21
"CHAT" = "1,1",
),
"1366x768" = list(
"width" = 1366,
"height" = 768,
"32tile-size" = "41x23",
"STATS" = "1,21",// 1,23
"CHAT" = "1,1",
),
"1440x900" = list(
"width" = 1440,
"height" = 900,
"32tile-size" = "44x27",
"STATS" = "1,25",// 1,27
"CHAT" = "1,1",
),
"1600x900" = list(
"width" = 1600,
"height" = 900,
"32tile-size" = "49x27",
"STATS" = "1,25",// 1,27
"CHAT" = "1,1",
),
"1920x1080" = list(
"width" = 1920,
"height" = 1080,
"32tile-size" = "59x32",
"STATS" = "1,30",// 1,32
"CHAT" = "1,1",
),
)
client
proc
screenResolution(choice)
var/list/resolution = resolutions[choice]
src.screen_resolution = choice
winset(src, "mainwindow", "size=[resolution["width"]]x[resolution["height"]]")
winset(src, "mainwindow.main_map", "icon-size=32x32")
usr.zoom_params["x"] = 32
usr.zoom_params["y"] = 32
src.screen_size_width = (round(resolution["width"] / 32)) - 1
src.screen_size_height = (round(resolution["height"] / 32)) - 1
src.view = "[src.screen_size_width]x[src.screen_size_height]"

client
verb
toggleResolution()
var/choice = input("Screen Resolution.", " ", "800x600") in resolutions
src.screenResolution(choice)
for(var/obj/HUD_obj/HUD_OBJ in src.HUD)
var/list/new_resolution = resolutions[choice]
HUD_OBJ.screen_loc = new_resolution[HUD_OBJ.name]

toggleFullscreen()
switch(winget(src, "mainwindow", "is-maximized"))
if("true")
winset(src, "mainwindow", "is-maximized=false")
winset(src, "mainwindow", "titlebar=true")
if("false")
winset(src, "mainwindow", "is-maximized=true")
winset(src, "mainwindow", "titlebar=false")


Kind of like that, but you'll obviously have to use your own settings, and the 32tile-size isn't exactly accurate because this was for my project. Your results will vary and will need modification.