TheMaster Posted July 21, 2024 Report Posted July 21, 2024 i want to create a screenshot service just like the buff and cs money one i saw a image related endpoint https://github.com/DoctorMcKay/node-steamcommunity/wiki/CEconItem#getimageurl i want to create the front and back side of item through inspect link can this endpoint fullfill my need or do i have to go advanced? of is there any thing present in the libraries that i can use ? Quote
AshIgorash Posted July 21, 2024 Report Posted July 21, 2024 getImageUrl() just gives you a default image of item like this, it wont have stickers and pattern on it. Quote
TheMaster Posted July 21, 2024 Author Report Posted July 21, 2024 14 minutes ago, AshIgorash said: getImageUrl() just gives you a default image of item like this, it wont have stickers and pattern on it. Thanks any leads on if we can use any of dr.mackays libs to produce an inspect server? Quote
AshIgorash Posted July 21, 2024 Report Posted July 21, 2024 (edited) You can use node-globaloffensive.The most information about skin you can get from inspectItem method, but I am not sure how you can turn this into screenshot. I think there should be a way to make a skin image without running an inspect server. Edited July 21, 2024 by AshIgorash Quote
TheMaster Posted July 21, 2024 Author Report Posted July 21, 2024 i am 5 hours ago, AshIgorash said: You can use node-globaloffensive.The most information about skin you can get from inspectItem method, but I am not sure how you can turn this into screenshot. I think there should be a way to make a skin image without running an inspect server. i am willing to make an inspect server its no big issue but the main thing is the image creating i need the exact image like the cs.mony and such ss tools Quote
AshIgorash Posted July 22, 2024 Report Posted July 22, 2024 I think they are using some tools like VTFEdit, Crowbar or like in this video Quote
rahimi0151 Posted 3 hours ago Report Posted 3 hours ago https://www.youtube.com/watch?v=HUIERG6r-t0 here is a video tutorial. but in summery, it will: boot up cs2 in windowed mode load each item through clicking on its inspect link rotate the screen to the way you want take an screenshot of the item (by hitting the Print Screen key on the keyboard) crop the image using a PNG mask (you need 30+ masks, one per type of skin there is in game + 20+ for knives) rotate the skin the other way take another screenshot crop the image using another PNG mask (you need the other side of all those masks as well) merge the screenshots together export a final PNG it can do up to 6 images per minute. or 360 per hour. or 5-10k a day. (this is per instance. you can do as many instances as you need) note: this is not the way big sites do it. they will extract the texture file from the game (the vpak files) and render the images in 3D using three.js. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.