• Please stop embedding files/images from Discord. Discord has anti-hotlinking logic in place that breaks links to Discord hosted files and images when linked to from anywhere outside of Discord. There are a multitude of file/image hosting sites you can use instead.

    (more info here)

Decompiling the Cave Story 3D Website

Nov 30, 2020 at 2:55 PM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2323
Age: 29
Pronouns: he/him
Haha, I remember visiting that site a few times several years ago, although I don't remember ever seeing the line "beat the crap out of some crusty old doctor."

The thing is, on the bottom right corner of the site there is a small button that allows you to pick between 3 different Cave Story (e.g. The song that plays in the plantation) remixes, which are exclusive to this site and this site only.
You can't find this music anywhere else.
I didn't immediately have the right tools handy to unpack that "music" file in the folder you posted, although if I'm not mistaken, you're probably referring to 3 music tracks that have been up on Youtube for a little over 9 years now:

These are very good remixes, no doubt, although it's kind of old news. In fact, I even made an org rendition of that first one several years ago.
 
Last edited:
Nov 30, 2020 at 5:38 PM
Senior Member
CSE Discord Admin
"Fly, Fly, Fly!"
Join Date: Jan 13, 2016
Location:
Posts: 132
Here you go:

Getting ahold of those was more complicated than I was expecting: there are actually two SWF files - `main.swf`, and `unit_top.swf`. The first one is just a loading screen which loads the second one, and the second one plays the music using those URLs.

I used 'JPEXS Free Flash Decompiler' to decompile the SWFs. main.swf loads unit_top.swf in `scripts/frame 2/DoAction`, and unit_top.swf loads the mp3s in `scripts/DefineSprite (83)/frame 1/DoAction`.
 
Last edited:
Dec 7, 2020 at 8:03 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Dec 8, 2018
Location:
Posts: 55
Age: 20
Pronouns: he/him
You think there's any way of getting this website to work when Flash is gone? Since SWF file players exist and all.
 
Dec 8, 2020 at 5:32 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Dec 8, 2018
Location:
Posts: 55
Age: 20
Pronouns: he/him
Here you go:

Getting ahold of those was more complicated than I was expecting: there are actually two SWF files - `main.swf`, and `unit_top.swf`. The first one is just a loading screen which loads the second one, and the second one plays the music using those URLs.

I used 'JPEXS Free Flash Decompiler' to decompile the SWFs. main.swf loads unit_top.swf in `scripts/frame 2/DoAction`, and unit_top.swf loads the mp3s in `scripts/DefineSprite (83)/frame 1/DoAction`.
Think you can send the SWF files?
 
Dec 8, 2020 at 9:43 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Dec 8, 2018
Location:
Posts: 55
Age: 20
Pronouns: he/him
Was kinda hoping it still had the character images and stuff in it, but no matter. I can just screenshot them all.
 
Dec 9, 2020 at 5:02 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Dec 8, 2018
Location:
Posts: 55
Age: 20
Pronouns: he/him
There probably is, but it ain't showing up. Likewise, the SWF file itself doesn't have the Character, Story etc sections working.
 
Dec 9, 2020 at 10:28 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Dec 8, 2018
Location:
Posts: 55
Age: 20
Pronouns: he/him
Pointless double post
Do whatever you want with these. I suggest trying to make PNGs of the images used here.

Screenshot (2429).pngScreenshot (2430).pngScreenshot (2431).pngScreenshot (2432).pngScreenshot (2433).pngScreenshot (2434).pngScreenshot (2435).pngScreenshot (2436).pngScreenshot (2437).pngScreenshot (2438).png

Edit by DT: Space rescued

Off topic but why does Toroko's character profile have a different text font from everyone else
 
Last edited by a moderator:
May 9, 2021 at 4:53 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Dec 8, 2018
Location:
Posts: 55
Age: 20
Pronouns: he/him
Ok, so I'm a lot late to the topic, but I found out that if you change the date to, let's say, before December 31 2020, the website still runs. It didn't work on Chrome for me, but I tried Internet Explorer and it ran just fine.1620575597220.png
 

Attachments

  • 1620575596567.png
    1620575596567.png
    779.2 KB · Views: 1
Sep 8, 2021 at 4:17 PM
Junior Member
"Wow! The more I drink of this magical beverage, the more games I can play! Wheee!"
Join Date: Sep 8, 2021
Location: 127.0.0.1
Posts: 23
Age: 21
Pronouns: he/him
Alright I'm waaaaay too late but after removing http://nisamerica.com/games/cave-story/ from unit_top.swf>scripts>DefineSprite (83)>Frame1>DoAction and putting the music files inside a folder named sound it restored the BGM button.
screenshot.pngscreenshot 1.jpg

Using inspect network activity I also found out that the Story, Reviews, Characters, System and Media tabs have their own swf files.
screenshot 2.jpg
Now I guess the website is preserved, click here to download it.
 
Sep 8, 2021 at 4:39 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Dec 8, 2018
Location:
Posts: 55
Age: 20
Pronouns: he/him
Good job bro, now I can finally get those character renders with no background without having to use an online transparent tool lol.
 
May 28, 2022 at 12:17 PM
Junior Member
"Wow! The more I drink of this magical beverage, the more games I can play! Wheee!"
Join Date: Sep 8, 2021
Location: 127.0.0.1
Posts: 23
Age: 21
Pronouns: he/him
May 30, 2022 at 1:58 AM
Senior Member
"Fly, Fly, Fly!"
Join Date: Feb 4, 2015
Location: Nibel
Posts: 140
Age: 20
Pronouns: he/him
damn, so the Cave Story 3D page has finally been taken down. Was inevitable to happen eventually, just kind of surprised it took... 10 years???
 
Last edited:
Back
Top