#🌐map-discussion
1 messages · Page 37 of 1
most would be useless
but due to the fact it's just a specific sprite for each structure
maybe flowers or smth
ah right forgot bout thos
yeah but fields decay
so would flowers on the wrong biome
oh wait it can be planted on soil
debatable
most structures besides buildings (since they need a kingdom to work right) just dont care where you place them if you force it
keygui lets you
oh cool
yeah theres some weird interactions
spawners on water is probably the most useful one since it functionally makes it invincible if its beyond arrow range
maybe a dragon or ufo, or like lightning could but otherwise i dont think it can be
yeah, you can place flowers on whatever
i'll consider using those as well as like, plants
im not sure if it'd be laggy tho
I just switched the biome through save editing and the candy_plant died
ok tried putting base tiles in 2nd layer and as expected doesn't even register them
just whatever the set base tile is will show up
interesting
ill try and save and load
candy plant seems to be bigger than 1px anyway
I'm just editing this to mess around with tiles
yeah
and default tile for invalid base be soil_low
mushrooms are a really nice color
ye
apparently fire flowers are transparent
intrestin
additionally when loading a save of this grey goo will behave as normal
the heck
ill try saving and loading this rq
i placed them all using keygui
oh yep they just die
having them being on a biome tile isnt a big deal ngl
how many colors do the flowers add?
each row i showed is a separate layer
huh candy plants be a grey pixel zoomed out neat
candy plants seem to be 3x3
only the bottom left corner is shown tho zoomed out
yeah but that means you cant pack them
:(
oh wait i was gonna try hacking around with the map file to give each row a different tile type but i can just get the thumbnail
👌
noice
should be in order except missing candy plant and flame flower
starting from desert plant
god its so weird that the tilemap is backward
the first entry is the bottom
well the game does go from bottom left to right
did ya get all the grass , lemon ,and mushroom plant variants?
doubt it
these 3 biomes share the same plants
probably controlled by state
?
oh the stateID
Ok so for all the flower colors only need...
Grass, Savannah, Corrupted, Swamp, Infernal, Jungle, Arcane Desert, Crystal, Permafrost
have tested for transparency via high and low terrain
it stays the same color
do you have like a 2x1 map that works btw? my code is breaking when i do maps that arent square and im trying to figure out why
anything non-square but ideally just something small
oh wait hold on my fucking index is out of bounds lmao
yeah it wasnt the res at all i think
an unrelated issue that very convincingly looked like it was
hell yeah i got it to work
i dont have the ability to change the tilemap in the interface just yet but you can load an image, change the resolution, and create a map with it
neat
https://codepen.io/Deathrobloxian/pen/pvzvPJj
So guess to do list for this is
Add flowers
and
Custom tiles
agh that'll mean alotta recoding
oh right dithering + heightmaps still bugged
currently loading a 128x1 map
or at least trying to
my program struggled to generate it lol
correction, 128x4
welp time to see if this flower world loads lol
it's all plant color 👍
"2A8E31","B7375C","20B22B","FFDB56","939393","2BA156","E2932C","A4D646","1F8327","CDC069","20A4AE","61898F"
"green_herb","mushroom","flower","savanna_plant","corrupted_plant","swamp_plant","flame_flower","jungle_flower","jungle_plant","desert_plant","crystal_plant","snow_plant"
'{"state":1,"asset_id":"'+ids_array[minid]+'","id":"b_'+buildings.toString()+'","frameID":0,"health":10,"created_time":0.0,"mainX":'+((i/4)%width).toString()+',"mainY":'+(height-Math.floor((i/4)/width)-1).toString()+'},';
welp I am a dumbass
I could've been using JSON.stringify the whole fucking time for code.pen.io
pain
'green_herb':'2a8e31',
'mushroom':'b7375c',
'flower':'20b22b',
'savanna_plant':'ffdb56',
'corrupted_plant':'939393',
'swamp_plant':'2ba156',
'flame_flower':'e2933c',
'jungle_flower':'a4d646',
'jungle_plant':'1f7327',
'desert_plant':'cdc069',
'crystal_plant':'20a4ae',
'snow_plant':'61898F'
anyone know a decent size world map with a bunch of villages
if possible i dont want some cuts
Anyone
Hlep
I cant Download maps
Like
I managed to a few years ago
But it doesnt work nomore 
It took me 4 and a half fucking hours to get it to work again after switching from string shenanigans to this
pain
Follow this guide to see how you can install and upload maps:
https://the-official-worldbox-wiki.fandom.com/wiki/Maps
@dusty pasture
You can use discord's search function to find what you need in #🌐map-downloads or #🌐✔cool-maps!
- (If on mobile) be in #🌐map-downloads channel
- Tap on the search icon in top right corner of screen
- If non mobile user type
in:map-downloadsand then click on #🌐map-downloads
- Type in the keyword of map you want to search for in the search bar, and press enter.
- Example: typing earth into the search bar will bring up earth maps.
If still unsure how to use search look at this discord support article: https://support.discord.com/hc/en-us/articles/115000468588-Using-Search
@wanton spoke
It doesnt fucking work
I can paste it to the save file but it doesnt Show up in the game
is the file still named map.wbox
Yes
also if just have the map.wbox
that ain't changing the appearance of the save file
it'll just be blue or whatever preview.png was already in there
I paste it into the save file but the old map is still loaded
ok show screenshot
of the save folder
delete map.wbox and rename the map-6 to map.wbox
Bruh ok
this is why i asked this first
game only wants that file name
@bright fern btw the person who made this image be making art in worldbox itself
I'm just messing around with image2map conversion
👍
https://codepen.io/Deathrobloxian/full/pvzvPJj
If wanna mess around with image2map without needing to do a #🔁map-conversion command each time
🙏
Fantastic.
What a nice project.
Progress never stops.
I'm 5 of those people
fatty
i made a thing to do it like a year ago and i wasnt even the first
speaking of which
lemme rerecord my example of the image to map cause its low quality
should i post a better quality sneak peak of my next map considering the update hasnt come out yet?
you can get a decent amount of colors just from grass types
oh wait i had snowy mountains enabled oops
looks better without it honestly
Follow this guide to see how you can install and upload maps:
https://the-official-worldbox-wiki.fandom.com/wiki/Maps
@woven marsh
noice

crossposting this from modding-talk since its relevant to both i'd say
Dang that’s sick
Plants vs no plants palette
plant added
no plants
same thing as before just using the CIS 2000 algorithm
https://en.wikipedia.org/wiki/Color_difference
In color science, color difference or color distance is the separation between two colors. This metric allows quantified examination of a notion that formerly could only be described with adjectives. Quantification of these properties is of great importance to those whose work is color-critical. Common definitions make use of the Euclidean dista...
-traiteditor
Does anyone know, like, the biggest map there is? Or at least one of the biggest, cause I wanna play on a one
(if yes, then ping me)
supposedly the absolute max is 256x256
i generated a 256x1 map yesterday, if you wanna try it i’ll send it in a bit
I mean the biggest man-made map there is on the internet for me to download
like terralore or smth
ahh ok
so, do you know any?
not really
here lemme find the screenshot of the 256x1
its basically a ringworld
dag gad nabbit
hole mole
it’s playable, though putting people on it causes minor lagspikes
interestimge
The maps take RAM memory for the objects existing. And half of that taken by the map would be taken by civs when they store information on your PC - units, tribes, cultures, etc.
The Iceberg map, which already can eat up over 4GB, is a size of 9x9
'ram memory'
ngl tho a tile must have a lot of stuff going on for it to take 4gb for an iceberg map
Ok then - it takes SHEEP memory
i only mention it cause 'ram' already has 'memory' in it
its like saying 'VTOL landing'
That is a good question.
ive looked at the class declaration but i barely know C#, so i have no clue how much of that is held in memory per instance and how much is passed by reference
But do keep in mind that you also have trees, grass, random mobs, preloaded event templates etc.
Let me check how much is the vegetation on my World of Dumpcraft iceberg map. Brb
yeah, especially since every bit of grass, tree, etc is technically a building
my bad it takes about 1.5-2 gb for an iceberg in a clean map with out any civ activity
the vegetation was 15204
Technically the sprite is stored into memory only once, and then accessed for all objects of the same type
good
at least that is how it should work
some games store their resources multiple times, due to flawed engines
And besides - WBox visuals are even below the 1990s standard size
i wonder how much memory and space it would save by just trimming the transparent edges around tiles
highly doubt it'd be enough to bother with the hassle of having tiles with variable sprite sizes
also would be hard to quantify since it's saved as png not as raw data
it will barely have any effect on visuals which are about 50x50 size buildings, and 7x7? size units
I dont know the exact size, as accessing resources in this game is quite a tricky part, compared to the modding capabilities in other games
even for the standard of 2017 of an 8GB PC, that would be insignificant
today its 2024. Your average PC has a 16GB
yeah'
not really actually practical since it's 8x8 to begin with but a fun idea to toy with
realistically tho you'd probably spend more memory and compute time just sorting out the tiles since mountains, hills, and roads have bits that stick out into the border
oh btw speaking of tiles
theres some tile sprites in the game that i dont think are used
specifically they're grass variants with flowers on them, like as part of the sprite rather than as something on top
(replying to this)
lemme get all of them in one image so i can show them
Holy shit the amount of data indentation alone adds in autosaves is insane
indenting with spaces or tabs
however the game indents
oof
I dont know how many civ chunks an icerberg map have. But one civ chunk is 8x8 tiles
oh yeah civs are def laggy
5184
72²
That would be ?x?
72x72
9 x 9 iceberg
is 72 x 72 city chunks
lol
ok so 72x72
And then x64 - 331776 tiles on iceberg
wut no
(9x64)x(9x64) is tiles on iceberg
iceberg is 576 tiles on an edge
72x72 is city hunks
hmmm
so (72x8)x(72x8) is tiles
and yeah it has 331776 ground tiles
64 is the tiles in a civ chunk which is 8x8
total tiles per chunk
Hmmm can you force the kingdom to be any color or no
sorta
so only within the presets?
aw
technically 3, but i dont think the other two do anything much
Well did notice some hex values in a world file
all of those calculations you gave me return the same result
works for hover over for unit names and kingdom names, doesn't work in the actual menu though
village origin color in cultures
ah i remember seeing that trick on reddit
Yeah that's the point
cause they all get total tile count of a iceberg world
Anyways
i originally figured it out since using unity explorer and bepinex console you can see the color codes, cause they dont process them
72x72x64 would be the same. It is easier on my brain, since I can calculate it by dimensions
hm yeah it does have a hex code but i dont think that would affect the actual village color
ill try modifying it
thats what i figured yeah
ok yeah i changed it and it didnt really do anything
lemme look in the code for culture
also about the map size thing i forgot to mention, do you know where the limit is set? map chunks seem to use regular int for their coordinates
like i said earlier 256x256 be maximum map size
well is a multiple of 2
im aware
What would one do with such ridiculously large maps?
something like a 1024x1 map would probably be fine
What is the logic behind having a 1 map size dimension with a 1024 size?
ringworld
you mean some shenanigans in cody's 3D mod?
how would you bend the flat dimension into a circle? Unless I am misunderstanding something
.
you dont, it's just reallly long
kind of like how people make 'planets' by surrounding a circle of a biome with mountains
also to be clear i dont really care about making massive maps cause its not like the game can handle stuff that big usually, im just curious
it is probably memory limited to 256(0-255) those are hardware stuff which only programming engineers understand
im aware
im a programmer lol
its just that i havent seen anything declared as char (well, it'd be byte since c# is strongly typed)
this what happens when ya exceed the limit btw
its an 8bit number it seems. I dont know how much it helps with performance for memory access. Heroes of Might and Magic 3 has that many monster ID limit in its own engine
268435456 tiles in a world
or if it does anything at all for today's computers
yeah but the thing is is i mentioned it's not saved as a byte
unless something else is using a byte
thats why im curious
can you link me a wiki on that one?
ok so width and height variables stored as 32 bit integers it seems
I am going to read about it
its not on the wiki, im disassembling the code using dnspy
but the textures used to load the map hit some limit
guess you'll have to find where the texture width / height limit is set @celest smelt
can you send the actual log file?
aight
awesome
bepinex console is good for this btw
you can enable it in the config
wait what the fuck are these names
"ccdbcbcddeecddedbedcbcd:bdecddccecdedeeecbcccee(Int32, Int32)"
who knows
lemme search it
i dont even get a result
this log is fucked
all the hex addresses are 0x0 lmao
too much height
and too much width
when i load it i get a different error message
i think its a unity engine limitation
the specific error i get is
UnityException: Failed to create texture because of invalid parameters.
at UnityEngine.Texture2D.Internal_Create (UnityEngine.Texture2D mono, System.Int32 w, System.Int32 h, System.Int32 mipCount, UnityEngine.Experimental.Rendering.GraphicsFormat format, UnityEngine.Experimental.Rendering.TextureCreationFlags flags, System.IntPtr nativeTex) [0x00021] in <e8ad740a36e94573bdfd43b460604777>:0
at UnityEngine.Texture2D..ctor (System.Int32 width, System.Int32 height, UnityEngine.TextureFormat textureFormat, System.Int32 mipCount, System.Boolean linear, System.IntPtr nativeTex) [0x0003f] in <e8ad740a36e94573bdfd43b460604777>:0
at UnityEngine.Texture2D..ctor (System.Int32 width, System.Int32 height, UnityEngine.TextureFormat textureFormat, System.Boolean mipChain) [0x00000] in <e8ad740a36e94573bdfd43b460604777>:0
at Texture2DStorage.getSprite (System.Int32 pW, System.Int32 pH) [0x0007e] in <48981bcd2f4c43299deecf42053a3062>:0
at MapLayer.createTextureNew () [0x0007b] in <48981bcd2f4c43299deecf42053a3062>:0
at MapBox+<>c__DisplayClass143_0.<recreateSizes>b__3 () [0x00016] in <48981bcd2f4c43299deecf42053a3062>:0
at SmoothLoader.doActions () [0x00051] in <48981bcd2f4c43299deecf42053a3062>:0
at SmoothLoader.update (System.Single pElapsed) [0x0005a] in <48981bcd2f4c43299deecf42053a3062>:0
at MapBox.Update () [0x00020] in <48981bcd2f4c43299deecf42053a3062>:0
heres my player.log if you're curious
I wonder on such gigahuge maps how does WBox do when going to minimap mode
i think thats whats happening
from what im seeing its because the MapBox class is trying to render an image (probably for the zoomed out bit, still looking into it) but unity freaks out because it's too big
right
so its basically trying to create a compressed readable map with the "most important" units
i think its specifically the like tiles and allat
like how they're all individual pixels when zoomed out
funny thing is even Warcraft 3 is limited to 256x256 maps
at least used to be. Not sure how it is with Reforged
a lot of the time thats just up to how values are declared
I saw you do have access to certain settings through dnspy, but I am not sure if you can modify the minimap for your tests
i dnt think i'm good enough at c# for that but maybe
i mainly know py
the weird bit though is that everything im reading says the limit for texture sizes should be 8192x8192
that'd make sense if a chunk was 32 tiles but it's 64 tiles
assuming it is the tile map being converted to an image thats the issue, it would make more sense if the issue happened past 16384 pixels since that's 256*64
that would be 1024x1024 civ chunks I think
8192x would be yeah
basically if you could pre-calculate "majority same tiles" and store the winning tile into a chunk, and then only render the chunks as pixels
or something like it
yeah like mc
realistically i dont think this issue is a big enough deal to be addressed since you have to be fucking with the game anyway to encounter it but the obvious fix would just be splitting the texture so that it's within bounds
a chunk would be updated only when a change of the tiles happen after that
And I dont think anyone has the computer to play above 30x30
I think 26x26 was suggested as a limit for a 16gb PC
btw @storm elk whats up with this? did you do this intentionally or is this like a typo or what
cause when i load the map you sent i actually get 2 errors, after the spam about texture sizes i get indexerrors
might be related to the image thing but idk
ah typo mb
does load up just fine tho due to that index not being called
kk
@celest smelt any hidden tiles other than border_pit and border_water that u know of?
not usable ones
there's the glass tile but its unimplemented apparently
i.e its not even in the tiles list, just the assets
aight
So all the possible tiles already be known huh
😔
yeah
good question ngl
i imagine it probably wouldnt be limited the same way the size is since i doubt it's indexed
if it is indexed than the limit is probably 256
gonna try just filling the tilemap up first
the actually using each tile in the tilemap
every single possible map size
took so long to delete folder lol
jesus
Turns out 0 by 0 worlds are loadable lmao
does give rise to some weird effects tho
interesting
ok saving the world and the loading didn't work 😔
yeah
ive also noticed uploading to workshop can break a world even if you can load it locally just fine
aight made a map with all 918 possible mapTiles
does it load?
loads just fine 👍
good thing there's pause on load in debug
lemme duplicate the tilemap and see if that loads
i edited it to have just 'mountains' 65535 times so i think its safe to say there isnt a reasonable limit
👍
so that's great for modding
can add as many god damn tiles as u want
it loaded?
aight so limit is just whatever the hard limit of the software and underlying code is cool
lol the file size
22 megabytes when its uncompressed lmao
nice
yknow realistically couldnt you just have every tile be its own entry? lemme try that
like instead of encoding it
might make it simpler at the expense of space
ig
certainly a just why tho
well it'd be a hell of a lot easier since you dont need to worry about grouping it
yeah, it seems to work
all the stuff in blue here can be replaced by just the two red lines if you dont care about space efficiency
gives me some ideas on how i can optimize
👌
welp this how I implement compressing down the tileArray and tileAmounts data
array is a 1d array where each value is a number that corresponds to the tileMap
and what it looks like if 2d python list
lol
amazing
Hmmm now that i think about...
Definitely can do it via list comprehension
ive been using a dict, trying lists now
dict for the tile array and amounts?
yeah and then those are parsed into two lists
intrestin way of doin it
ahhh
so ur just doing both together first
I went with the do it stupidly easy of just having a number for each tile in the tileArray
them compressing it later
(which also generates the tileAmounts)
think i got a simpler algo to work but ill have to test it more first
yep
i had some trouble before realizing i could just increment the last index of the amounts array for each tile
wip
Can't wait
When your done, can you put it on the steam workshop please
I want to have this as a map
Follow this guide to see how you can install and upload maps:
https://the-official-worldbox-wiki.fandom.com/wiki/Maps
@opal tapir
can just download without steam workshop
looks pretty noice, espiecially the archipelago and waters
Sorry, I'm talking to Google Translate. Anyway, brother, how beautiful it is, very original. I'm a fan of this type of unique designs.
Could anyone recommend me any tutorial on yt or smth, on how to make better maps in worldbox? (except the ones that Gorg made, Ive already seen them)
for what specifically?
This is the first part on making a map. Check other videos to get more in depth knowledge.
Music Credits:
"Alexander Nakarada - Towards The Horizon" is under a Creative Commons (CC-BY 3.0) license
Music promoted by BreakingCopyright: https://bit.ly/bkc-towards
"Alexander Nakarada - Adventure Beyond" is under a Creative Commons (CC BY 3.0) lic...
if you just mean like shaping land i usually start from the bottom up
i.e i make a blob of close ocean with a big brush, then use a smaller one to make it less blobby, then add shallow waters inside, then sand in that, and so on
Ive also seen this one
Everything there is to know specifically
Ive watched all of Gorgs and MrSlimeBoxs tutorials
how do you do image to map
i should really get releasing mine too
lemme compile it
actually first i should try and trim down the imports
How do you use the WorldBox to image website because I’m trying to make a Cretaceous period map but it’s just covering everything with mountains
oh does that one not let you disable specific tiles?
the thing about all these converters is they're generally just trying to match colors, rather than make a good map
There are tons of settings, though that change the map
I’m hoping one of those may fix it
once im done with the final few things of mine you can use that if you'd like
it has options to enable/disable any tile
Ok
.
i'd release it rn but i dont want to end up having to make two releases in one day because i end up screwing something up
it does
what map u using?
oh btw if you want it i went and manually made a dict or whatever you would call it in json for all the tile names
A Cretaceous period map
im making my project with expandability in mind (so that i dont have a huge headache when the update rolls around) so it loads all the tile data from json config files
I have a dict referring to the true hex colors of each tile
Then a dict that's generated based on inputs
ok look at my video then
ye i have one for that too
it shows me messing around with heightmap
and also one for the categories
the thumbnail color is different than the map view color in some cases btw
oh i think this is cause the browser ur using is blocking canvas stuff
I’m using Microsoft edge
THAT IS THE MAP
what's the size of the map.wbox download if u attempt to do so?
you can just brighten the image a bit and it should stop using mountains
or just change the hex around
20 by 10
yea
how
how what
How do you change the brightness of the image on computer?
u download the file and modify it with online tool
image editor
pretty much any of them will let you
Didn’t really work with the brightness thing it just turned all the sand into snow
¯_(ツ)_/¯
the image ur using is not ideal for map conversion
so gonna have to do lotta tweaking
414545,4084E2,55AEF0,F7E898,E2934B,B66F3A,5B5E5C,414545,FCFDFD,A7D6F4,AFF5F1,BAD5D3,D3E4E3,E2EDEC,C1C1C1,A0A0A0,898989,F62D14,FF6700,FFAC00,FFDE00,E1BA5A,E8C76E,FB87A4,FF96B0,533F51,6F556C,5FD6CB,68EADE,76B153,8CDC6A,5F833C,7EAF46,68372D,9C3626,1F7020,46A052,8ACF55,D1E771,556338,677642,B4CFE5,99BCDB,CF931B,F0B121,453E34,4D483E,6C7759,849371,41A840,45C842,858886,9EA6A3,696C02,8F9339,FE1864,EE5183,A30000,7F0000,990000,6D00CD,B43DCC,834C4C,,A8663A,C1997C,,,,,,,,,,,,,
paste that preset in for mostly ocsna
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh ok
kk
Hmmm
guess could add a multiple color assignment feature to this
and guess I'll have to add image editing too -w-
gotta take full advantage of canvas elements
you could probably do something like what factorio does and encode the preset into base64 or smth lol
Nah
Cause the point of it not being compressed is being able to edit it
So can just easily make a script to make own heightmap palette en what not
https://codepen.io/Deathrobloxian/full/pvzvPJj
I got a dude 1.how can I make a map with some detailed ocean 2. How can I increase the size of the map 3. How I stop the snow to evaporate
Use #🔁map-conversion or the site linked above to get snow that doesn't melt
same goes for 2
~expand command if wanna expand an already existing map
Ohh thanks
just about done with everything, set up config files, and i even have an icon for missing tile types
and logging
its compiled
51 megabytes 😭
oh wait i need to add the icon time to recompile
bruh
What is the name of the app
can somebody make a map
That’s not what I mean…
another teaser to keep yall enticed as we wait!!
Too squibrellidush for me, but overall pretty noice👍
Who make custom maps of fantasy
yerp its my style of mapping !! i try to avoid straight lines‼️
thankchu
whats the island count for the map?
theres two large continents that are able to be settled!! unfortunately the other islands arent allowed to be settled :c though they are pretty large too
i meant the internal one
cause it'll count like diagonals as islands (nope, checked, they are counted as part of the same island)
theres a debug view for it
lakes, too, i believe
mainly just curious cause its very jaggedy
mountains count as their own island oddly enough
cause impassable :P
ye fair
oh i think there's 5 different distinct categories for island tiles
lava, water, regular tiles, mountains, and pits
right!! ill check that soon
nvm pits are counted as regular tiles
yeah its cool
i think theres a stat for it too?
ye
this map is,, 14x10 i think? i go for detail over map size!!
damn nice
i said it in worldbox-chat but ima test what happens if you make a checkerboard of each island category, if the game will lag or what
id love to know what algorithm it uses (i guess i can just use dnspy but a lot of the worldbox code is kinda hard to read lol)
oh another random idea i had @storm elk
idk if you want to try it yourself but it might be possible to do something like rescale a map by just changing the tilemap
for doubling it you could probably just duplicate it but for something more complicated you'd likely need to do something like read the tile data into a pixel array and rescale it
i tried it with a 256x256 map and it doesnt lag but now the stats tab says the islands count is 0
making each island 2x2 seems to make it VERY laggy though
still says 0 islands
Hey, so I recently got the game on my macbook, can anybody tell me how to put my downloaded maps into the game.
cool
Anyone has mobile map of the world?
I tryed making my own but im terrible at thay
That
is there a tool on this discord to make my map a bigger size?
I already made a map expander code
Doesn't take much modification to have it scale the tilemap itself
nice
does anyone have a deitaled middle east map?
The last two are particularly detailed.
thanks
Nice
https://codepen.io/Deathrobloxian/full/pvzvPJj
Added multi color assignment to my image2map converter
cool
im guessing you did modulus by the length of the tile palette
nah
more dictionaries
ah
thankfully only took a handful of lines added
Is there a better way to make forests on mountains other than place dirt in the mountain
did this so i didn't have to modify the image conversion code at all besides adding that line
huh
wait you're doing rgb conversions on the fly instead of just indexing the image? curious
In javascript really the only way i can do it is stepping through each pixel
via a canvas element
nice variable names
you cant use like a shader or an image library or smth?
uwu be the only variable name that be nonsensicle now lol
dunno how + probably won't give me the control i want
especially with the fact that i include flowers
to be fair the way im indexing my images is a little cursed too but thats mainly cause of pillow being wierd
i have to create a dummy image with the palette and then use it as an argument to apply the palette to the new image
Yeah did learn that in the process of making an image mosiac python program
my condolences that you're using j*vascript btw
still no god damn clue howthe ids to the palette colors be assigned
meh it's easy
¯_(ツ)_/¯
in the image mosiac program iirc after the orignal image was set to the palette
just stepped through each pixel, got the rgb, which was the key value to the sub image i wanted to put there
how is it messed up and weird
seems fine to me
the shit it pulls with strings
iirc if you add a string thats numeric i.e "1.5" to a number it converts the string to number and adds its numeric value
also like lua it doesnt have integers
also that it has this sort of shit
the page that has these has some things that are actualy pretty normal (like NaN not equaling NaN, that's pretty standard afaik) but it still has some fucked shit
but hey at least it has math.e
(looking at you, lua)
ah right
https://en.wikipedia.org/wiki/JSFuck
which allows for this lmao
JSFuck is an esoteric subset of JavaScript, where code is written using only six characters: [, ], (, ), !, and +. The name is derived from Brainfuck, an esoteric programming language that also uses a minimalistic alphabet of only punctuation. Unlike Brainfuck, which requires its own compiler or interpreter, JSFuck is valid JavaScript code, mea...
to be clear i dont think its the worst thing every but i have to give any language that does that at least a little trouble
¯_(ツ)_/¯
like at least it uses 0-based indexing (once again looking at you, lua)
ew
why lua
I really only know that it's used in roblox tbh
lua is like the C of interpreted languages lol
you can basically remove like half of it
a lot of the time it doesnt even have operators for bitwise stuff so you have to do shit like bit.bor() or bit.lshift()
breh
Somehow, I’m still having problems with the Cretaceous period map
Even with the new image to world box thing
it doesn't consist of solid colors
So you'll have to tweak it alot to get oceans and biomes where u want it
and then do manual clean up in game
it's an image to map converter.
that means that it'll try to resemble the apperance of the image as close as possible
very different from trying to make a map that makes sense based on the image
I just added means of customization that allows it to use heightmaps/biomemap en stuff
and that image ain't a height map
this is what happens when you attempt to color match an image into a worldbox map -w-
012241,065e82,054e77,F7E898,E2934B,,,626456,,,,,,,,,,,,,,E1BA5A,E8C76E,,,,,,,,,324b2e,415e30,,,324b2e,46A052,,,,,,,,,,,,626456,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
https://th.bing.com/th/id/R.35def72c40b362a36db5697c31da56ee?rik=KLVnl6Z3i%2FH9uQ&riu=http%3A%2F%2Fwww.thearmchairexplorer.com%2Fgeology%2Fg-images%2Fmaps%2F90mya-cretaceous-rect.jpg&ehk=2yxZ1q17mSX7GLpE%2BbkA7rvG0WAxXkYe2v7WXSweOZU%3D&risl=&pid=ImgRaw&r=0&sres=1&sresct=1
https://codepen.io/Deathrobloxian/full/pvzvPJj
@storm elk please stop posting garbage maps you scraped from the image to map program please
theyre neat but theyre too much
aight fine
I'll just post intresting stuff that aint image 2 map then
and ig less often
or just stuff that takes effort
Hi! I’m gonna make a green Antarctica map on pc, and I was wondering if anyone could edit in a grid for this image? Great the black bars and Reddit logo as water for all intents and purposes please. Also, for the largest map (size 8) what would the best assortment of grid lines be?
How many blocks tall and wife is the largest world size?
Oh wait, apparently I can’t upload images
Frick
btw stuff like 9 x 9 maps (iceberg size) is 576 by 576 pixels
and goes up all the way to 256 x 256 maps (need 100+ GB of ram to run tho)
also map converter only allows up to 50 x 50 on the discord
https://the-official-worldbox-wiki.fandom.com/wiki/Palette
Can utilize #🔁map-conversion to turn something u draw to a map in game
just be sure to be a multiple of 64 in width and height
Are there any middle earth maps with the kingdoms?
-traiteditor
-traiteditor
medical?
anyone have a climate map? where to put biomes and such
oh this is a thing?
i used a screenshot of a map to figure out the colors...
oh this is thumbnail colors not the map ones
i can tell from the lava colors
i once tried makign a thing to do this but i could never figure out how i'd organize the biomes
cause a lot of them are very similar in color
Is there a huge world map??
You can find one anywhere
There should be some in the map downloads and cool map downloads
For the most part zoomed out and thumbnail be the same
just not for lava
probably bugged
#3575d4
nvm
ah well
oh rigt got vingette one
there we go
@devout gull 's Map
This is a map Ive been working on for like 2 days, the map of Xadia from The Dragon Prince series from Netflix
Ive decided to do it, because I really like the show, and the maps of it that already exist....well....lets just say they couldve been done WAAAAAY better
For now Ive only did the wester part of the continent in paint.net, tomorrow I will try my best to finish the eastern part
And then I will finish the whole in Worldbox
So, what do you, person reading this think about it? Do you like it?
Do you have maybe some sugestions? Some things that you think i should change/add)
What do you mean?
Halo
Ahoi
Im making this map, the map of Xadia, which has a big Hot and Dangerous Desert filled with black sand, and dangerous soul sucking snakes
And Im wondering, what biome should I use for it? Just normal Desert? Swamp? Or maybe the spooky biome?
Guys Anyone make the anime world maps xd example: hxh, seven deadly sins, black clover
Pls
You can use discord's search function to find what you need in #🌐map-downloads or #🌐✔cool-maps!
- (If on mobile) be in #🌐map-downloads channel
- Tap on the search icon in top right corner of screen
- If non mobile user type
in:map-downloadsand then click on #🌐map-downloads
- Type in the keyword of map you want to search for in the search bar, and press enter.
- Example: typing earth into the search bar will bring up earth maps.
If still unsure how to use search look at this discord support article: https://support.discord.com/hc/en-us/articles/115000468588-Using-Search
@unkempt topaz
Are there any middle earth maps with the kingdoms?
Soon Ill be making (hopefully) the most accurate map of Middle Earth! (where the lands of the eternal winter aint a freaking SAVANNA! Like seriously, how could anybody put savanna in the lands of the eternal winter? BRUH), and just for you, Ill make a version with kingdoms!
tysm ive waited so long for a middle earth map 😭
I mean, there are other maps out there, you can just add the kingdoms yourself, or find a one witht it, especially because my map will take some time to be made
ik theres other maps out there its just im far too lazy to be making kingdoms myself
i can wait, ive waited almost 2 years at this point for this update so
oki, I think it will come out whethe this week, or early next week
okk
@summer beacon Guess what? I wont make the map, because, it turns out, the image in paint.net is good quality, but in Worldbox, its all BLURED!!!!!!
do you need help converting? i can convert it for you and send the wbox file
noo
false hope
Thx <3333, Ill send you the image in dm, cause I cant here
waitwait
oh nvm
well i'll say it anyways but it probably wont matter as nal's helping u
u could try making the map with an already made map
BUT! I will try to find the reason behind it not working, and fix it!
resolved
?
i just say that so they don't get pinged again or something
@snow anvil
@snow anvil please post real maps if youre going to send something
For some reason, I am trying to make an earth in 50 million years map by using an image to map generator, but all of the maps are terrible and I can’t seem to get one without mountains in the ocean. Can somebody tweak it for me so I can do it or at least teach me how to tweak it.
The converter matches colors to tiles. it can’t interpret that the ocean in your picture is an ocean but it can match the color to a tile. And in ur case that probably means the closest tile to the color of the ocean is mountains
@static surge if you havent read already,
i pinged you because this person didnt reply ping you when answering your question, and not being pinged means sometimes you wont check to see if theres an answer til a while later, atleast for me that happens 
Where is the latest release of ImageToMap?
I want the latest release of ImageToMap so that I can turn images of random ass stuff I like into maps (e.g. a map of both Kanto and Johto from Pokémon). anyone got the link for me?
Did my own take of image2map conversion too if wanna mess around with that https://codepen.io/Deathrobloxian/full/pvzvPJj
allows for assigning each tile to a dif color
well ty
which one
cause obligatory 'hey i made one too'
just post urs as well lol
Can i just say something about the maps? I'm on mobile and every map i download (including mobile friendly) doesn't work. And it doesn't pop up in my save spots
Its kinda finicky to get them working
you have to move them from your devices downloads into the save via your files app
or a similar app
They got hot 🙂
I need the achievement can you guys go download the (should be) most recent map in the workshop? Should be made by j0yst1k
Does somebody have a map of Europe or the world in the 1400
with kingdoms? no kingdoms?
this is one, but with no kingdoms, if you want kingdoms with it i can probably find you one
Im on iPhone are you able to download maps on I phone
If you own a PC, you can install maps on iOS as described in this guide: #1213490166023331850 message .
Otherwise, if you only have your iOS device, it's impossible to install maps on iOS because the operating system refuses to give you access to the game files that you'd need to insert the map into.
@haughty root
Thanks
You're welcome!
Would be nice with kingdoms
i dont know exactly if there is one in the age of 1400s but i know theres one in this current age
i'll look though
Thx
yea i searched all of the 66 results of europe maps, theres none in the 1400s, but heres one with kingdoms
oh actually, this person accepts personalized maps, you could ask them if they could make it with kingdoms in the 1400s
(may take a while though)
That map is pretty good too thanks
Were can i find the world map that gorg use in the video about each kingdom is lead by an immortal demigod
*Mediaeval
Autocorrect my bad
Blud really responded after 4 days😭🙏💀🤫🧏🏿♂️🗿🇳🇪
Yo I woke up from 4000 year nap chill out 😭💀💀🧏🏾♂️
Skibidi
i already looked for maps that have medieval kingdoms on europe, the closest i got was the one i sent already with the 2024 kingdoms
Thanks
Hi guys , how to download map if i play from iPad , or its possible only from pc?
If you own a PC, you can install maps on iOS as described in this guide: #1213490166023331850 message .
Otherwise, if you only have your iOS device, it's impossible to install maps on iOS because the operating system refuses to give you access to the game files that you'd need to insert the map into.
@random prawn
look up how to use imazing
Follow this guide to see how you can install and upload maps:
https://the-official-worldbox-wiki.fandom.com/wiki/Maps
this link has filepath for ios
How much tiles is 20x10?
2,560x1,280 i believe
Follow this guide to see how you can install and upload maps:
https://the-official-worldbox-wiki.fandom.com/wiki/Maps
@errant lintel
pretty sure it'd be 1280x640
i just caculated how much a 1x1 map is then mulitplied it
well a chunk is 64 tiles
in length and width
20x64 is 1280, 10x64 is 640
if we're talking area then it'd just be 819,200 tiles
oh hey btw want a challenge? so image to map is just tiles and allat usually, but you did flowers and such too
now imagine doing it for buildings
i was thinking just for the example of an image of an existing map, like the thumbnail or whatever, having it check for any of the colors that a (multi-tile) building has and then adding it in if it matches
pain
i can do that
it shouldnt be TERRIBLY hard since most of them are just 2x3 or whatever
the image 2 map process gonna take fuckin forever tho
due to yk having to consider that many pixels per pass
well you only need to consider it if it matches
Have to check 6 pixels for color matching tho
that's more math
and that slows it down
like ig can be sped up if taking the average color then running it through color match
yeah having something to quantize it beforehand would make it easier
but average color of a group of pixels doesn't look the same as the building sprite it self
the real problem would be making sure you dont have buildings intersecting
cause they can be different sizes, and if they intersect it just kinda doesnt work
this reminds me of that one time i made a sort of 2d greedy meshing function for creating images out of rectangles
something like that for worldbox would be neat, instead of just rows actually segmenting it into quads
worldbox terrain probably wouldn't work great for that tho (and really, the space a map takes up with its tilemap isnt a whole lot anyway)
that's simple enough if you set the pixel step size to be fixedd
accounting for all the building sizes complicates it to the point that the run time isn't reasonable
cause while yes you can account for the horizontal spots not to use
vertical is another thing
harder to do on the fly
yeah its not terribly complicated
easiest way if you're just iterating through coordinates is just doing smth like
x_snap = (x // size_x) * size_x
y_snap = (y // size_y) * size_y
aight
// being floor division
I use 1d array btw
so
¯_(ツ)_/¯
ok for dynamic snapping
im assuming every tile be building btw
i kind of flip flop between them
breh
well in my released version i use 1d but when testing i used a nested loop some of the time
also dont you need to do 1d array even in python due to how the pixel information is stored?
you can do either in pillow
you can get the data as an array and also as a PixelAccess object that lets you access it by coordinate
im stuck with 1d array thanks to javascript and html canvas element
I couldddd convert the data to 2d array
in pillow for writing its faster to use an array but im not sure if one is better than the other for reading
but that's pointless
cause then i'd have to convert data back into 1d array anyhow to put in the data
for the tiles
buildings ig could get away with 2d array for them...
its not terribly hard to get x,y coordinates from an array index
got this to account for the fact that worldbox does info from bottom to top
for width w and height h, and index t you can just do
x = t % w
y = (t // w) % h
the % h for y isnt necessary if you are sure the index wont go out of bounds
the 1d array is 4 values per pixel
i just flipped the image lol
I flip the image array after the fact
that works too tho
due to needing the preview to display properly
i just use separate images for the preview and the one used for the actual map gen
ok so making just building image 2 map is simple enough
complicates thing when i try to do tiles as well
they both are derived from an internal image that stays unchanged (so that doing something like changing the resolution up and down won't mess it up) and i just make a copy and modify them as needed
aight
which is why in mine it doesn't make the image massive if you do like a 100x100 map lol
ah intresting
nice
ye
does have the effect of the preview not being super accurate if its super stretched, but the preview is mainly just to show the colors anyway
Hmm i should probably add an option to disable preview for large maps lol
damn the gen time so much faster without the canvas element being shown lol
still lags the heck outta the page due to absurdly large variable
oh well
huh weird, i started testing state and all the states except 4 and 5 are the same it seems
0-3 become identical looking to 5 when they're in a city's borders
something's not happy
apparently a duplicate building id, though i made sure all the buildings were different ids
ah
the game did its perma freeze softlock when i tried exiting the world, didnt like destroying the building
just removing that tag might be fine since i never encountered this until i just started manually adding buildings into an unpacked save
yeah i didnt realize it was a thing since it seems to work fine without it
yup only fine til a new building made
i meant more like its probably not a necessary tag
probably just has it set to 0 if it doesnt exist
iirc the tag straight up don't exist if no buildings made in world yet
Any int tags that have a value of 0 just simply won't appear in save
i wanna see what happens if i set it to 2147483647
so im gonna do that
it doesnt actually overflow
i guess they're using a long for it
ill try this then
ok yeah it overflows after 9223372036854775807
yeah
loads fine too
is it possible to downscale a world somehow
Just use #🔁map-conversion
on the preview.png
preferably with all buildings flowers and trees removed
~c 1x1
yeah i tried too many small glitches tho
Well that what happens with image resizing
Just edit the preview.png manually ig
or use it as a reference
how do i use the cool map on worldbox?
Follow this guide to see how you can install and upload maps:
https://the-official-worldbox-wiki.fandom.com/wiki/Maps
@vapid valley
btw i mentioned it before but the map preview and ingame are different colors
specifically for lava and a few other things
for whatever reason in map view lava2 looks the same as lava3
and border water / border pit look transparent in the thumbnail, but in map view they just look like deep ocena
oh also apparently this is how the states in buildings work
Like i said earlier pretty sure the lava color is bugged
Also I've shown that i game ocean color be same and preview.png
fair
double checked with more tiles and yeah consistent with what's in palette
So, there is this map of Avatar The Last Airbender, where the guy who made it used Mushroom Biome a lot, and I get it, it looks cool, it has a nice shade of green
But there was no Mushroom Forest in Avatar, so why the heck did the use it here? It doesnt make any sense
Why do people use Mushroom Forest so much???
its a nice biome idk
context?
@lapis plinth you cant use trait editor in #🌐map-downloads, try using #🤖bot-commands instead
-traiteditor
I'm making the eu4 map in worldbox
End of WW1 rework XD
why are you doing it on a world map
should have done it in a Eurasia or Europe + nearby areas map
why the hell not
REAL
progress
this is awesome
thank you
it is scary though because i dont even feel like im thinking about making this map
while making the map
i got it so down to a science that the meaning behind what im doing has been lost
i just follow the blueprint
i also could not fit ulm on the map
thats awesome, the lag must be unreal tho
once generated a map with a bunch of 1 zone kingdoms and it tanked fps really hard
the relations tab gets unusable really quick too
its really not
i have about 260 villages so far
ive ran bigger maps before
ah, the threshold for lag must be a bit higher then
idk maybe it is unusually laggy and ive just gotten used to it
because this is how ive been playing for the last 2 years
also population has not had time to grow yet
oh yeah that reminds me
i should try fucking with the time with save editing again
cause i wanna see if theoretically if you waited long enough if you could run into floating point precision bs with the time
oh yeah you can
i set the time to 16777216 and the month counter is noticeably kind of like, jittery
like not that it spazzes out but it goes up in large increments
when youre ready to drop this would you be interested in having the map maker role?
I finished it, and yes I would like to have the role
@idle totem when do we give this guy map creator
@rare bane would be very appreciated if you could give this guy map role
done!

check #🌐mapping-cave for a private channel for creators
Looks great! I’ve been playing the old one for a while now.
bro why y'all doggin on my map 😭
Anyone got a lotr map?
i found it earlier
for good maps mrslimebox has good ones
wow, this is actually one of the coolest maps ive seen on here.
Anyone got a earth map?
Follow this guide to see how you can install and upload maps:
https://the-official-worldbox-wiki.fandom.com/wiki/Maps
@south garnet
You can use discord's search function to find what you need in #🌐map-downloads or #🌐✔cool-maps!
- (If on mobile) be in #🌐map-downloads channel
- Tap on the search icon in top right corner of screen
- If non mobile user type
in:map-downloadsand then click on #🌐map-downloads
- Type in the keyword of map you want to search for in the search bar, and press enter.
- Example: typing earth into the search bar will bring up earth maps.
If still unsure how to use search look at this discord support article: https://support.discord.com/hc/en-us/articles/115000468588-Using-Search
@slender grove
I wish I could get maps and share maps on iOS




Anybody has a map for the next update with all the biomes, diverse terrain and space for the upcoming biomes? Pls i tried to create a nice map for mobile, but it ended up being an ugly garbage
Can someone please tell me how I can download maps? I’m on mobile
You cannot on iOS
The iOS version of Worldbox doesn’t allow file imports
It’s not iOS itself
didnt you say the same thing yesterday and get corrected about it? 💀
No
Ohhh Ty
Rip, ty for telling me
If you own a PC, you can install maps on iOS as described in this guide: #1213490166023331850 message .
Otherwise, if you only have your iOS device, it's impossible to install maps on iOS because the operating system refuses to give you access to the game files that you'd need to insert the map into.
@bright fern
If you own a PC, you can install maps on iOS as described in this guide: #1213490166023331850 message .
Otherwise, if you only have your iOS device, it's impossible to install maps on iOS because the operating system refuses to give you access to the game files that you'd need to insert the map into.
@rose monolith
Now I realise I have android 14...
Anybody found a way to download maps using Android 14
Yall know when the next update is coming out?
When it is finished 🙂
Cuz it's been months since we had a update





