Hey, I wanted to ask for quite a while: How do I extract images from the game?
Topic on User talk:Harakoni
Jump to navigation
Jump to search
Just stumbled upon this:RimWorld art source
The art source is nice, especially because some of the art in there is larger before being scaled down, but it is not complete and doesn't get updated often. Extraction is often still your best bet.
For extraction I use AssetStudio, which is open source.
Install and open it
File->Load File to open an asset bundle
Bundles are stored at the following: Core: C:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data as resources.assets
Ideology: RimWorld\Data\Ideology\AssetBundles as resources_ideology
Royalty: RimWorld\Data\Royalty\AssetBundles as resources_Royalty
Once they're open, go into Asset List. If you want, you can filter it to just images by using Filter Type-> Texture2D. Theres a search bar to find the images, but they're not always named the same as the in-game item.
Once you find the image you want, you can either right click on its entry in the list and export, or export via the export menu.
Select a destination and keep in mind that it will export it into a folder of the asset type. So if you pick Desktop, it'll export a texture to Desktop/Texture2D/ImageYouExtracted.png.
Thats the basics, but there are other features that can be useful depending on exactly what you want to do.
At some point we should probably turn that into a proper tutorial with images and links. Would likely be useful to editors and modders both.
Thanks! Got it to work :)
I got some questions about the icon policy: For example steel:
- Should the icon in the info box be the full stack icon?
- Should the icon for the info box a separate file from the variant files?
- Should I reupload the old files of the steel and add a gallery of the old sprites?
Afaik there is no strict policy in place that said:
- I believe the icons to be chosen use for the infobox were the same as the ones used in the in-game resource menu. For example here - as you can see uses the b (partial stack variant) as does the menu, uses the c (full stack variant) as does the menu, uses the b (partial stack variant) as does the menu. etc. That said, I'm not sure if they still align with the current resource menu.
- It can be handy to have a predictable name for things, especially for new editors i.e. if you know you want an image of a megascreen television, its nice to be able to say [[File: Megascreen television.png]] but it is not a requirement, especially now that the ability to call the images is a lot cleaner with all the infobox and template work that has been done.
- I'd like it if you did. I've been putting the old sprites in the version histories of pages and I think its nice to have, but its far from a priority so long as the old images in the file history aren't lost.
Ok, thanks! I will continue then and I'll see how far I get.