ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > General Discussion > Sanitarium Engine - All help is welcome Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Sanitarium Engine - All help is welcome
  Author    Thread Reply to topic
alexfont



Joined: 13 Apr 2006
Posts: 20
Location: Ireland
Sanitarium Engine - All help is welcome 

For some time I've been reversing Sanitarium in my free times.
It enabled me to make some GUI applications to edit it, like transltion tool, resource pack and unpack tool and graphic viewer.

Recently I was looking to decipher its scene format and figure out some nice stuffs that actually could make me create a Sanitarium level appear, but without any interaction yet.

So, instead of making a Scene viewer/editor, I was thinking about starting the work I was supposed to make in openAsylum project with SCUMMVM.
As far as I saw from SCUMMVM, it is a perfect base engine to include Sanitarium engine.

The main aspect of this thread is if anyone wants to help me building this engine for this brilliant game. Alone will be difficult since I've got a job and can't work a lot of time per day for it. So, anyone? Smile

I don't know yet all aspects of the engine, neither the file formats, but I know some that could lead us into a fair start.

File formats I've known so far:

Packs:
- Resource files (entirely)
- Music files (entirely)
- Scene files (about 10%/15% decipher)

Single files:
- Graphic files (about 95% decipher) - include static images, animations images, fonts and icons.
- Palette files (entirely)

Standard formats:
- WAV Riff files (all sounds in game use it)
- SMK (use Smacker for video files)

I'm now studying how SCUMMVM works.

---

Edited:
Project already begun and its being integrated into ScummVM engine.
Its now called asylumengine and its svn repository can be found here: http://code.google.com/p/asylumengine/


Last edited by alexfont on Sun Jun 07, 2009 8:30 pm; edited 2 times in total

 Reply with quote  
Post Sat May 30, 2009 6:17 pm 
 View user's profile Send private message Visit poster's website
maximus



Joined: 06 Jan 2008
Posts: 100
Location: Toronto, Ontario
 

As soon as it came out, Sanitarium quickly became one of my favourite games of all time (kinda like Silver or The Longest Journey).

I'd love to work on this with you, though I'm kinda in the same boat (full time job, plus contract work on the side so not a lot of time to commit).

I found this article pretty interesting though. It does give a little insight into how Sanitarium was written, and may help efforts a tad Wink

 Reply with quote  
Post Sat May 30, 2009 8:18 pm 
 View user's profile Send private message AIM Address ICQ Number
alexfont



Joined: 13 Apr 2006
Posts: 20
Location: Ireland
 

It happened the same with me. Its also one of my favourite games.

Thanks for showing interesting in helping me. Any help, even few from time to time is always welcome. I hope with scummvm we can boost a bit at beginning, better than start from scratch. I'll try to investigate more about how the scummvm team work to know how we can start doing things.

That article is indeed interesting. I already read it a lot of times. It really gives us a great input on how the game was build indeed.

 Reply with quote  
Post Sat May 30, 2009 9:07 pm 
 View user's profile Send private message Visit poster's website
alexfont



Joined: 13 Apr 2006
Posts: 20
Location: Ireland
 

Already manage to create the first steps to add a new engine into ScummVM. Now its time to create the game engine.

 Reply with quote  
Post Sun May 31, 2009 10:26 pm 
 View user's profile Send private message Visit poster's website
marticus



Joined: 26 Nov 2005
Posts: 74
 

This is me rejoicing.
I just the whole thing.

 Reply with quote  
Post Mon Jun 01, 2009 7:15 am 
 View user's profile Send private message
Raziel
ScummVM Porter


Joined: 25 Oct 2005
Posts: 865
Location: A haunted Castle somewhere in the Bavarian Mountains
 

Oh, cool

Be sure to get a blog at Planet ScummVM to keep us updated...

 Reply with quote  
Post Mon Jun 01, 2009 4:15 pm 
 View user's profile Send private message Visit poster's website
sev
ScummVM Lead


Joined: 21 Sep 2005
Posts: 1920
Re: Sanitarium Engine - All help is welcome 

quote:
Originally posted by alexfont
So, instead of making a Scene viewer/editor, I was thinking about starting the work I was supposed to make in openAsylum project with SCUMMVM.
As far as I saw from SCUMMVM, it is a perfect base engine to include Sanitarium engine.

Those are really good news! I could give you advices on how ScummVM works and perhaps with occasional coding.


Eugene
 Reply with quote  
Post Sat Jun 06, 2009 1:43 pm 
 View user's profile Send private message Visit poster's website
maximus



Joined: 06 Jan 2008
Posts: 100
Location: Toronto, Ontario
Re: Sanitarium Engine - All help is welcome 

quote:
Originally posted by sev

Those are really good news! I could give you advices on how ScummVM works and perhaps with occasional coding.


Eugene


Hey Sev, that's even greater news Smile The project's currently underway here.

This is in the early stages (getting resources and drawing code hashed out), but maybe if the link is public, it'll motivate us to keep working Very Happy
 Reply with quote  
Post Sat Jun 06, 2009 7:36 pm 
 View user's profile Send private message AIM Address ICQ Number
Crimsonskies



Joined: 01 Mar 2008
Posts: 21
 

I've never been able to play Sanitarium since I own a Mac but if you guys can get it running in ScummVM that would be great! Very Happy

Good luck! I can't wait to see what you guys come up with.

 Reply with quote  
Post Sun Jun 07, 2009 5:57 pm 
 View user's profile Send private message
alexfont



Joined: 13 Apr 2006
Posts: 20
Location: Ireland
 

Thanks everyone.
I edited the first post to give input about the new engine repository.

We've been working since 1 week now, and I think the result is not bad for now. We're building the pillars of the engine with the essential stuffs now, and hope soon add and improve the classes already build.

While maximus was working at resources and graphic assets, I was setting up a screen base class and menu to blit things on screen and try the assets. So currently we already have the main menu background image displayed with a missing gamma correction.

The next step will be to create a Gamma correction method since all engine is based on that. My currently attempt failed to work well.

 Reply with quote  
Post Sun Jun 07, 2009 8:50 pm 
 View user's profile Send private message Visit poster's website
Raziel
ScummVM Porter


Joined: 25 Oct 2005
Posts: 865
Location: A haunted Castle somewhere in the Bavarian Mountains
 

Not that i'm very much into ScummVM engines, but isn't there a global gamma correction for all the engines to use?
And if not, why?
Does every engine who "needs" to use one have to re-invent the wheel for that purpose?

Just wondering


Last edited by Raziel on Sun Jun 07, 2009 9:25 pm; edited 1 time in total

 Reply with quote  
Post Sun Jun 07, 2009 9:22 pm 
 View user's profile Send private message Visit poster's website
Longcat



Joined: 23 Sep 2006
Posts: 941
 

Just wanted to say that I think this is really great:)

Sanitarium has always been a bit buggy.

 Reply with quote  
Post Sun Jun 07, 2009 9:22 pm 
 View user's profile Send private message
alexfont



Joined: 13 Apr 2006
Posts: 20
Location: Ireland
 

quote:
Originally posted by Raziel
Not that i'm very much into ScummVM engines, but isn't there a global gamma correction for all the engines to use?
And if not, why?
Does every engine who "needs" to use one have to re-invent the wheel for that purpose?

Just wondering


It seams it doesn't have. From what I try to search there aren't any function that give me what I'm looking for.

While searching I saw someone made some time ago a patch to allow gamma correction to SDL backend but I think it was rejected.


Thanks Jonatan Wink
 Reply with quote  
Post Sun Jun 07, 2009 9:31 pm 
 View user's profile Send private message Visit poster's website
md5
ScummVM Developer


Joined: 03 Nov 2005
Posts: 2256
Location: Athens, Greece
 

quote:
Originally posted by alexfont
quote:
Originally posted by Raziel
Not that i'm very much into ScummVM engines, but isn't there a global gamma correction for all the engines to use?
And if not, why?
Does every engine who "needs" to use one have to re-invent the wheel for that purpose?

Just wondering


It seams it doesn't have. From what I try to search there aren't any function that give me what I'm looking for.

While searching I saw someone made some time ago a patch to allow gamma correction to SDL backend but I think it was rejected.


Thanks Jonatan Wink


That would be me. If it is rejected, it will be for specific reasons, as it was a quick 'n dirty patch I did anyway to get it working. Plus, the gamma functionality is really handled by the graphics card drivers afaik.

Anyway, I would be glad to help in my spare time, though the game itself is... disturbing to say the least Smile
 Reply with quote  
Post Sun Jun 07, 2009 9:39 pm 
 View user's profile Send private message
alexfont



Joined: 13 Apr 2006
Posts: 20
Location: Ireland
 

Yeah, so it seams we really need to do it ourselfs in the engine.
We gotta something better now, but not yet exactly like the original.

Thanks for your help Wink

 Reply with quote  
Post Mon Jun 08, 2009 12:39 pm 
 View user's profile Send private message Visit poster's website
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge