Profile picture
, 13 tweets, 3 min read Read on Twitter
Today's random discovery:
The PS1 game Spongebob Squarepants: Supersponge VIOLATES THE GPL.
so on reddit in r/psx/ the source code to this game was posted, to github.
It doesn't appear to be an official release, just a leak of some sort.…
That got crossposted to r/DataHoarder/ where user technifocal took a look into it and noticed it's got a file named source/system/vsprintf.cpp, which according to the headers is just the vsprintf code from the linux kernel, which is GPL2.
they made some minor modifications to make it work on a PS1 CPU, and it's a very old version (this is code from 2000, after all) but if you pull up a very old version of linux you can see they're the same code.…
I've not been able to disassemble the binary on the PS1 ISO to confirm the code is all there, but there are definitely some matching constants:
See these two runs of and 0123...XYZ?
well the old version of vsprintf.c from linux also uses those constants, just in opposite order (probably a compiler optimized them differently or they're using a different version that swapped them):
presumably the devs did this because they needed a vsprintf function and the PSX SDK didn't include one. They got the one off linux because that's a full-featured one you can easily get by searching.
but it is GPL'd, so that means to legally use this could they'd have to put the whole game under the GPL.
it should therefore include a notice letting users know it's GPLed, and either include the source (it does not) or come with an offer for getting the source elsewhere.
and we only know this violation happened because 19 years later someone leaked the code on github.

so, I mean, I guess you can get the source NOW.
correction: 18 years later.
I remembered seeing 2000 dates but apparently this game came out in november 2001
so @cat_books has the story for where this code came from:
it'd be an interesting project to hook up some automated disassemblers to a pile of GPL'd code (off github or the like) and run it across a bunch of PSX/PS2/wii isos

I'd bet a lot of money this isn't the only time GPL source has ended up in a console game
that we don't know of, I mean.
There are definitely cases we know of, like Mistic's Wii ports of Humongous Entertainment that were shown to just be ScummVM (and they got sued over it)
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to foone
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!

This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!