Support local file path in images, meshes in studio

I want to be able to preview images before uploading them to Roblox. If Roblox supported local files for images and meshes in studio then a lot of time could be saved, as well as lower bandwidth and data storage for Roblox servers.

image

9 Likes

You can already do this with images, but you have to put them into the “content” folder of Roblox Studio located in AppData/Local/Roblox/Versions and then whatever version of Roblox Studio you have.
Then to use them you simply do “rbxasset://[filename].png” or whatever file type it is.

Meshes however, you gotta do them through the mesh importer because I’m pretty sure Roblox does some proprietary things to them when importing.

4 Likes

Roblox converts any .obj, .fbx or anything else to a .mesh file, then uploads it to the server. What you see is that .mesh file, so as long as you put one of those, it should still be able to render. Unsure if MeshParts and whatnot are hard-coded to only work with server content IDs, since their edit securities are higher

2 Likes

StudioService:PromptImportFile() will give you a file instance that lets you get temporary id.

There really should be official method of doing so, one of the ways I do is through Roblox Studio Mod Manager, but then it has this tendency to literally crash every once in a while (especially when there’s lots of raycasting going on, i dont even know how does it coorelate, dont ask, its clearly not on roblox’s end).

This is usable with what I mentioned above, just that if you update studio, all the assets you’ve put will be nuked. This is why Roblox Studio Mod Manager is in advantage, it takes existing directory and copies modded/added stuff into that folder in question, so updating studio shouldnt result in assets being destroyed.