Author Topic: Larry Casino Sprites and Audio extracted.  (Read 1285 times)

0 Members and 1 Guest are viewing this topic.

Offline deckarep

Larry Casino Sprites and Audio extracted.
« on: August 23, 2024, 04:41:57 PM »
Hello,

I know this is not a traditional adventure game and it only runs on Windows but the 1998 game Larry's Casino has had much of its resource format reverse engineered and extracted in terms of sprites, UI elements and audio.

I couldn't have done this effort without the help of @doomlazer who was kind of enough to contribute time, energy and code to the effort and additionally was solely responsible for all the audio extraction effort which he previously did in his TrivialQuest project found here: https://github.com/Doomlazer/TrivialQuest

This reverse engineering effort was written in Python3 and as it stands still needs some effort to get the game backgrounds extracted to be 100% completed.

Please see the project here: https://github.com/deckarep/laffer-casino-extractor

Btw, although Larry's Casino is not an adventure game, buried within the binary are many references to SCI components and namespaces. It has many concepts related to SCI and seems to have some degree of the engine baked within it which is why I've added it under this forum category.

If anyone wants to take a crack at extracting the backgrounds, please submit a pull-request to the project. To get started all you need is the original game's RESOURCE.VOL and RESOURCE.AUD files.




Offline doomlazer

Re: Larry Casino Sprites and Audio extracted.
« Reply #1 on: August 24, 2024, 12:54:55 AM »
Hey, it's the last two projects I worked on before work sucked all the life out of me.

Seriously, Larry's Casino is awesome and I wish 80% of it wasn't completely inaccessible since WON network went offline.

Offline deckarep

Re: Larry Casino Sprites and Audio extracted.
« Reply #2 on: August 24, 2024, 01:00:01 AM »
Thanks Doomlazer!

I would say the saving grace about LC is at least most games are playable offline and you can still get some of the experience with the talking characters. But it?s a shame a lot of it is no longer working due to WON being down.

Offline doomlazer

Re: Larry Casino Sprites and Audio extracted.
« Reply #3 on: August 24, 2024, 01:08:18 AM »
The offline games work, but I think the hotel lobby, shop, etc. are lost to time unless the scripts can be reverse engineered. Seems unlikely anyone captured any gameplay footage of those.

Offline lskovlun

Re: Larry Casino Sprites and Audio extracted.
« Reply #4 on: August 24, 2024, 05:31:31 AM »
Seriously, Larry's Casino is awesome and I wish 80% of it wasn't completely inaccessible since WON network went offline.
If only someone reimplemented the server-side code...

Offline doomlazer

Re: Larry Casino Sprites and Audio extracted.
« Reply #5 on: August 24, 2024, 10:48:46 AM »
Did they?

Offline lskovlun

Re: Larry Casino Sprites and Audio extracted.
« Reply #6 on: August 24, 2024, 11:19:17 AM »
Not that I know of. But the INN servers have been reimplemented, so there is a precedent.

Offline doomlazer

Re: Larry Casino Sprites and Audio extracted.
« Reply #7 on: August 24, 2024, 11:29:04 AM »
ok, wikipedia says something was done for half-life, but I doubt that included LC stuff

Offline Collector

Re: Larry Casino Sprites and Audio extracted.
« Reply #8 on: August 24, 2024, 11:46:20 AM »
There were two projects (Faux INN and INN Revival.) before INN Barn. After INN Revival was shut down there was a project to RE its closed source code, but it never got anywhere. I think that Omer was at least tangentially involved with that one.

I do believe that the server for The Realm was recreated as well, but that would have been more LSCI based than WON was.

James Leiterman use to work as a developer in Sierra's Barn before it was shut down and he had the advantage that we had Sierra's source for the client. Not sure that the WON was ever leaked, so anyone that wanted to do so would probably have to RE it from scratch.

You could try contacting James on Facebook to see if he has any information on WON, but I don't think he was involved with it. He might know someone to ask.
KQII Remake Pic

Offline doomlazer

Re: Larry Casino Sprites and Audio extracted.
« Reply #9 on: August 24, 2024, 12:37:03 PM »
I read somewhere Larry's Casino is a fork of Hoyle's Casino, but HC98 (earliest version I could find) didn't seem to use the same "TEX 0001" image format as LC.

Even if somebody had a working HC WON private server, I'd bet LC would need to be intentionally supported. There were several tiers of hotel rooms you could purchase, so maybe that was stored sever side and the reason why it doesn't load the Lobby without a WON connection.

LC seems to have a custom image RLE. Backgrounds use a different algorithm from the sprites for some reason. The audio was easy to extract. It's just RIFF wav. #CyberLarry2000

Offline lskovlun

Re: Larry Casino Sprites and Audio extracted.
« Reply #10 on: August 24, 2024, 01:27:42 PM »
James Leiterman use to work as a developer in Sierra's Barn before it was shut down and he had the advantage that we had Sierra's source for the client. Not sure that the WON was ever leaked, so anyone that wanted to do so would probably have to RE it from scratch.
Hmm, was he the guy that I helped with a bug? He was writing (or exchanging maybe) bogus configuration data which caused a delayed crash - only he didn't realize it was delayed, so he kept looking at the wrong section of code.

Oh, and shut down? As in cease & desist?

Offline OmerMor

Re: Larry Casino Sprites and Audio extracted.
« Reply #11 on: August 24, 2024, 05:15:27 PM »
After INN Revival was shut down there was a project to RE its closed source code, but it never got anywhere. I think that Omer was at least tangentially involved with that one.

I was. I got access to INN's client source code and collaborated with a couple of guys trying to RE the server. It died out before we got anywhere.

Oh, and shut down? As in cease & desist?

I think Andrew meant that the original INN was shut down (by Sierra), not James' server.

Offline Collector

Re: Larry Casino Sprites and Audio extracted.
« Reply #12 on: August 25, 2024, 07:23:32 AM »
Yes. INN was run in an old converted barn. That building was referred to by Sierra as "the barn., which is where the name came from for the recreated server. Inn Barn is still very much alive. http://sierrahelp.com/Misc/INNBarn.html

Omer, the client source you had, was that 2.4? We had the 2.4 source. It came from one of the original developers.
KQII Remake Pic

Offline OmerMor

Re: Larry Casino Sprites and Audio extracted.
« Reply #13 on: August 25, 2024, 10:22:19 AM »
Omer, the client source you had, was that 2.4? We had the 2.4 source. It came from one of the original developers.

Yes, that's what we had.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.022 seconds with 23 queries.