- Joined
- Jun 24, 2013
- Messages
- 270
- Reaction score
- 43
Uploaded ( 12/29/2015 ):
Using the data files from the Starmade data, I busted out a quick and (pretty) dirty recipe search utility with some React.js goodness. I tried to minify and compress it as much as I could to save space, but with the re-formed block data (in JSON format) it still clocks in just over 1.4MB (85K compressed). Right now it's a very simple text based filtering of recipes and components. If you type in 'matt' you will get all recipes that use or make something with 'matt' in the name (mattise capsules, mattise ingots, etc.)
This is a personal work in progress and I make no promises of future updates (unless I think of something cool to add...) but I wanted to share it in case someone was annoyed at trying to figure out what components make what blocks. There are some missing recipes because they are not in the BlockConfig.xml (like Mattise -> Mattise Capsules). I don't know why, and I wasn't about to manually key them in. I wrote a few lines of code to convert the valuable data I needed from BlockConfig into JSON to utilize some tasty array map/filter/reduce methods in JavaScript and this is the result.
On the left is the required components with the counts needed and on the right is the result. If you click on one of the items, it will update the filter with that item name.
Since I did not want to run into trouble hosting files that are not mine, there is a small bit of setup if you want icons to show up:
1. Unzip the attached file to a folder. It will have an index.html along with js, images, and css folders.
2. Copy t000.png, t001.png, and t002.png files from <starmade install>/data/textures/block/<your favorite texture>/64 to the images folder and launch index.html in your favorite browser.
I currently only support the 64 pixel textures. Using others will result in a bad experience. (64x64 is plenty big for these icons...IMHO)
** I make no promises of it not looking like crap. I developed it for Firefox and Chrome. If you are using an old IE, I don't know what to tell you. Maybe upgrade? It (mostly) works in IE9+, with IE9 throwing an error but it seems to still work(?)
- Now hosted on Amazon S3: http://starmade-crafting.s3-website-us-east-1.amazonaws.com/
- Updated data
- Now making a build available with textures (with permission!)
- Build with Icons (Google Drive link since the forum has a size limit - 3MB)
- Build without Icons (75KB)
- New look (a little more classic Starmade )
- Added Factories the best I could given the data that was available.
- Little bit of cleanup. (New build process makes the file tiny now!)
Using the data files from the Starmade data, I busted out a quick and (pretty) dirty recipe search utility with some React.js goodness. I tried to minify and compress it as much as I could to save space, but with the re-formed block data (in JSON format) it still clocks in just over 1.4MB (85K compressed). Right now it's a very simple text based filtering of recipes and components. If you type in 'matt' you will get all recipes that use or make something with 'matt' in the name (mattise capsules, mattise ingots, etc.)
This is a personal work in progress and I make no promises of future updates (unless I think of something cool to add...) but I wanted to share it in case someone was annoyed at trying to figure out what components make what blocks. There are some missing recipes because they are not in the BlockConfig.xml (like Mattise -> Mattise Capsules). I don't know why, and I wasn't about to manually key them in. I wrote a few lines of code to convert the valuable data I needed from BlockConfig into JSON to utilize some tasty array map/filter/reduce methods in JavaScript and this is the result.
On the left is the required components with the counts needed and on the right is the result. If you click on one of the items, it will update the filter with that item name.
Since I did not want to run into trouble hosting files that are not mine, there is a small bit of setup if you want icons to show up:
1. Unzip the attached file to a folder. It will have an index.html along with js, images, and css folders.
2. Copy t000.png, t001.png, and t002.png files from <starmade install>/data/textures/block/<your favorite texture>/64 to the images folder and launch index.html in your favorite browser.
I currently only support the 64 pixel textures. Using others will result in a bad experience. (64x64 is plenty big for these icons...IMHO)
** I make no promises of it not looking like crap. I developed it for Firefox and Chrome. If you are using an old IE, I don't know what to tell you. Maybe upgrade? It (mostly) works in IE9+, with IE9 throwing an error but it seems to still work(?)
Attachments
-
74.9 KB Views: 2
Last edited: