Before I asked a question on how to make a minimap. I saw @badcc do it for Jailbreak.
The raycasting scripting part of it and getting part/terrain color is sort of easy. I just don’t know how to turn it into an image file now. What kind of format or program or other fancy stuff do I have to do?
Me neither but I kept improving the renderer and exporting through frames in studio and eventually people helped me out when I asked for it. If people see you’re working hard on something they’ll be more likely to help themselves.
If you are merely trying to get a data stream out of Roblox and into a file I reckon making it a Roblox plugin and writing the output to the .Source property of a Script is somewhat convenient, especially with the output adding all kinds of unwanted characters. Alternatively if you want to show the image on a GUI you could convert each pixel into a 2D grid of GUI ImageLabel objects and simply take a screenshot of it if the resulting GUI otherwise takes too long to load in-game.
From the top of my head I say 150k characters, however making more than one script should work. The better question would be what format you are storing it in, which is why I would recommend trying to render it in a GUI directly rather than having to store it as ascii anywhere.
PPM is an ascii-based storage method for images.(http://netpbm.sourceforge.net/doc/ppm.html), base 64 is an encoding which likely is used to eliminate errors when splitting and sharing the data, converting rbxmx model files I have never done before but I reckon they are xml-like structures containing a section for the script source. Reading file contents can be done in many ways though, maybe Node.js has a particular package to read Roblox file formats.
In general it seems easier to screenshot a manually generated GUI, because if you want to do the aforementioned without experience in it… (that is, file formats, I/O, encoding)
It tackles the problem of making a file incorruptable and splittable (base64), using a standarized storage method for the pixels (PPM) and the I/O operations required to read a rbxmx file all in one (Node.js or similar). Not sure why you wouldnt be a fan.
Could piece that together. You asked for an alternative to the list you mentioned; of course if you can not do the best and neatest solution then the next best alternative is not gonna be equally good. Not stopping you from learning all the required methods, I guess I would be a fan of doing that.
I wrote a program in Go that acts as a web server that I send pixel data to. It saves on tons of memory compared to the in-Lua PPM way. My Lua script sends a final request telling the Go server it’s done, and it saves the image to file. Very elegant.
If you mean dual rendering of a top down view of the map, that’s already been requested. Even if something like that came to production, I’m pretty sure that people with lower graphics settings wouldn’t even render the map from so far up.