/gacha/ - Gacha

Gacha game generals

Index Catalog Archive Bottom Refresh
+
-
Name
Options
Subject
Message

Max message length: 12000

files

Max file size: 32.00 MB

Total max file size: 50.00 MB

Max files: 5

Supported file types: GIF, JPG, PNG, WebM, OGG, and more

E-mail
Password

(used to delete files and posts)

Misc

Remember to follow the Rules

The backup domains are located at 8chan.se and 8chan.cc. TOR access can be found here, or you can access the TOR portal from the clearnet at Redchannit 3.0 (Temporarily Dead).

Ghost Screen
Celebrating its fifth anniversary all September


8chan.moe is a hobby project with no affiliation whatsoever to the administration of any other "8chan" site, past or present.

https://8chan.moe/gacha/res/733634.html

Submit custom /gacha/ spoiler images Anonymous Board owner 04/20/2025 (Sun) 22:42:41 Id: c76457 No. 91733
Calling all drawfags and photoshop wizards. People have been asking for this, so here we go. Looking for something gacha themed, without being representative of any one or a few games. Try to make it rather generic. Submissions will be open for a week (ending April 27th). Afterwards we'll hold a vote to decide the winner. Dimensions should be 128x128.
Edited last time by ShaeTsu on 04/20/2025 (Sun) 22:46:02.
>>116127 >mascot we already got one
>>98178 I like this one
>>91733 > Afterwards we'll hold a vote to decide the winner. Can there only be one? I'm pretty sure some boards had multiple on 4chan (/m/ comes to mind), I assumed there'd be multiple spots here. >>98178 >>98219 I vote for the literal gachapon ball btw.
>>116216 Nyoo..
>>120597 By default yes, the site doesn't support multiple spoiler images out of the box. But if it's possible to do it with CSS and Javascript I'm open to having a generic default + custom spoilers for each general (though that sounds like a nightmare to get working). I don't have the knowledge to pull that off in the slightest though, so someone would have to contribute it.
Edited last time by ShaeTsu on 04/23/2025 (Wed) 10:16:20.
(10.47 KB 429x103 img.png)

>>133868 The code for this would be quiet simple. The small problem is we can only load images from the following domains (because of the website's content security policy) Content-Security-Policy default-src 'self' https://8chan.moe https://8chan.se https://8chan.cc http://alephchvkipd2houttjirmgivro5pxullvcgm4c47ptm7mhubbja6kad.onion https://www.youtube.com https://www.invidio.us https://invidious.snopyta.org https://yewtu.be https://8chan.tv https://liveleak.com https://www.bitchute.com https://8chan.redchannit.xyz data: ws: wss: style-src: 'unsafe-inline' script-src: 'wasm-unsafe-eval' So there are two ways to have tens of spoiler images: 1. Upload them to this website (like in a locked pinned thread on an unused board?) so the links don't expire and need to be renewed all the time. 2. Embed them into the js. This would require the images to be tiny (<5kb) and might trigger schizophrenia/paranoia on some individuals as they look like random (potentially malicious) data. Option 1 is probably the way. Maybe there is already a board for this purpose.
>>134398 Yeah we could do something like this if people want to. Would need someone to contribute the code still, but I'll figure out how to store the images if someone does. A whole board probably isn't necessary, can probably be accomplished with a thread here.
>>152189 Very rough code that picks the spoiler on page load (delete the 8 after .media). Which probably isn't what people want compared to picking the random spoiler for each individual spoilered thumbnail. For setting each thumbnail I think you can do document.querySelectorAll('a.imgLink:has(>img[src*="/custom.spoiler"])') in the JS? Unfortunately this makes the spoiler invisible since it's setting opacity:0 so that probably has to be moved to JS. JS const myArray = [ 'https://8chan.moe/.media/8f76e9657d6b506115ccd0ade73d3d562777a441e4b6bb396610669396ff3032a.png', 'https://8chan.moe/.media/81074fdb6eea4ba609910581e7824106736a1bcad446ace1ae0792b231b52cf9a.png', 'https://8chan.moe/.media/8c32b4de8490d7e77987f0e2a381d5935ffa6fec9b98c78ea7c05bd4381d6f64b.png', 'https://8chan.moe/.media/8bb225302110d52494ec2bea68693d566acee09767212ce4ee8c0d83d49cfa05b.png' ]; spoilerImageUrl = myArray[Math.floor(Math.random() * myArray.length)]; addMyStyle("thread-spoiler-css", ` body { --spoiler-img: url("${spoilerImageUrl}") }`); CSS .uploadCell:not(.expandedCell) a.imgLink:has(>img[src*="/custom.spoiler"]) { background-image: var(--spoiler-img); background-size: cover; & > img { opacity: 0; } }
>>165505 *makes it invisible if you don't have the JS running, I mean
(2.09 MB 540x774 yap yap yap yap.webm)

>>152189 https://gist.github.com/sdstpanda/fe951dd45b49cc936f4f1f231df99e69 Made the first version of per-general gacha thumbs javascript. Put it on a gist for now so we can track changes. Usage is simple, all you have to do is to edit the object at the top and add new rows. It detects the general /tag/ (or any text really) from the subject of the OP. You can test the code in the console. For testing /gig/ is this >>98219 thumb, /zzz/ is >>98178 thumb, /gfg/ is >>99518 thumb and /gacha/ is OP's image. It doesn't apply on catalog, threads without a subject or that doesn't contain a word in the top GENERAL_THUMBS object. In those pages board's default custom thumbnail will apply. Currently the script doesn't cost any performance. I would like to also add a per-post gacha system as this is the gacha board after all. As I mentioned here >>107711 we can use the post's ID and the image hash (from the url). One problem with using image hash is people can write a script to edit an image pixel by pixel until they get an image that contains 777 in its sha256 hash. Anyways if the logic is simple it can be done with CSS for no performance cost. - We can easily do post id contains "77" -> use SR image; post id contains 777 -> use SSR spoiler image - We can easily do post gets a dub (ends with 00 11 ... 99) -> SR image, gets trips -> SSR spoiler image These would override the "general specific thumbs" applied above. For any other more complicated logic (post contains 3x 7's) we would use javascript to watch each post as they appear in the thread and act accordingly. (if there are any other devs please point out any problems or improvements)
/gig/ version 2 I'm currently working on /hsrg/ and /zzz/. Sorry for not posting, I've been busy for the last few days.
>>174388 I like 1 and 3 >>167070 I guess dubs would be too cheap, no gacha has a 10% win rate.
(33.05 KB 128x128 render_128x.png)

behold
>>182521 This should be our spoiler...
>>182521 /zzz/ should be the TV screens with ??? on them. Easy enough I would say. I'm not a drawfag tho.
>>182574 I'm making TV screens and W-Engines (if we're going to stick with spherical gachapon theme)
>>167070 Another thing I'd like to know is if it would be possible to have separate spoiler images for SFW and NSFW using something like this, because that's something I've seen people wanting.
>>205035 I agree, that would be useful. Sadly we can't see that from the information given by the site. This feature needs to be contributed to the website' source code (https://gitgud.io/8chan/Aleph) so when you are uploading an image you can pick nsfw or spoiler. Currently its impossible (but 99% of them are nsfw)
Submissions are now closed for the default custom spoiler. Vote here: https://strawpoll.com/PbZqb1w5byN I'm still exploring custom general images, so if you want to submit images for a specific game still, feel free to do so.
>>218834 I'll spread the news all over the other generals living, Thanks Board Owner-sama
>>218834 >mine wasn't included bweh the capsules are a better version of mine anyways
>>218834 Can you add an option to vote for a redo? If it wins you give it a couple more weeks for submissions?
>>219065 Fuck I forgot yours, I added it. Sorry about that. >>219086 They were open for a week, but this is just the default one. We're gonna go for a way to change it on a thread by thread basis using Javascript so each general can have their own custom ones.
>>219149 Fair enough. Voted 4u bb
>>219149 > We're gonna go for a way to change it on a thread by thread basis using Javascript so each general can have their own custom ones. zamn
>>219539 Is that Ch'en from Arknights?
>>218834 The gachapon balls are a great idea. Really represents the RNG nature of gacha games, considering gachapon was the basis of gacha games.
>>218834 We also need a "ultra rare SSR" gacha image (for the spoiler gacha) I think we can use this golden one for the SSR >>190269 but it would be nicer if the text was a bit more readable or add maybe edit one of the other balls
Spoiler broke the js I was using [Code] const revealSpoilers = function() { const spoilers = document.querySelectorAll(".imgLink > img[src='/spoiler.png']"); spoilers.forEach(spoiler => { const parent = spoiler.parentElement; const hrefTokens = parent.href.split("/"); const fileNameTokens = hrefTokens[4].split("."); const thumbUrl = `/.media/8t_${fileNameTokens[0]}`; spoiler.src = thumbUrl; spoiler.style.border = "thin dotted red"; }); } setInterval(revealSpoilers, 1000); [/code] Did the spoiler.png name get changed?
>>230798 >Did the spoiler.png name get changed? I just uploaded it as is straight from the site, it's possible the random filename broke it? I reuploaded it as "spoiler.png" just now, see if that fixed it.
>>230816 Nope. Oh well will just make browsing on my tablet somewhat less enjoyable. Maybe the site admin will just add the feature as normal soon
>>230798 Custom spoilers have the name "custom.spoiler", change your js to this document.querySelectorAll(".imgLink > img:is([src='/spoiler.png'],[src*='/custom.spoiler'])");
>>230948 Works. Thanks!


Forms
Delete
Report
Quick Reply