VOGONS


First post, by MusicallyInspired

User metadata
Rank Oldbie
Rank
Oldbie

Didn't know where else to post this. I'm hoping someone like NewRisingSun or someone else with hefty knowledge of SCI resources can help me with this. I had a question (a few actually). I'm trying to figure out how to create a custom SCI1.0 picture resource file. Basically I'm attempting to convert a conventional image into an SCI1 picture resource. I'm trying to understand how SCI resource files are structured and what the differences are between SCI0x and SCI1.0 resources and what how those differ from a similar conventional image format like BMP. Like what comprises the header and where the actual resource data is located. Googling has led me to the SCI wiki, but that doesn't go into much detail that I can see. I've even snooped around the SCI Studio source looking for clues, but I'm mostly lost there. I've been comparing a P56 file with a BMP equivalent in a hex editor and so far I've managed to locate the identical palette information between them but that's as far as I can get. I also realize that the P56 file, besides the header and palette data, also has data for Control and Priority data.

If I were to say make an edit of a currently existing SCI1 Pic resource, would it simply be a matter of swapping the Visual bitmap image data in a Pic resource with the bitmap data from a BMP? Somehow I don't think it's that simple. Is there an easy way to go about this? I'm really interested in trying to understand how it works for myself. I appreciate any help or advice from anyone with intimate SCI resource file format knowledge or hex editing tips in general. Thank you.

Yamaha FB-01/IMFC SCI tools thread
My Github
Roland SC-55 Music Packs - Duke Nukem 3D, Doom, and more.

Reply 1 of 7, by collector

User metadata
Rank l33t
Rank
l33t

You could just try Enrico Rolfi's FotoSCIhop. The main difference outside of the expanded palette would be SCI0 is vector and SCI1 is raster, but I'm sure you already knew that much. I really wish that the source for the Sierra Viewer still existed.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 2 of 7, by MusicallyInspired

User metadata
Rank Oldbie
Rank
Oldbie

Never knew that tool existed. Unfortunately, it won't open the extracted P56 file that I want to edit. It says the file header is of an unsupported format or damaged (it isn't). It's a screen from SQ1VGA.

Yamaha FB-01/IMFC SCI tools thread
My Github
Roland SC-55 Music Packs - Duke Nukem 3D, Doom, and more.

Reply 4 of 7, by MusicallyInspired

User metadata
Rank Oldbie
Rank
Oldbie

It still wouldn't help me understand the structure of SCI1 resource files. But I would like to poke around in it regardless as these things interest me. 😀

Yamaha FB-01/IMFC SCI tools thread
My Github
Roland SC-55 Music Packs - Duke Nukem 3D, Doom, and more.

Reply 5 of 7, by collector

User metadata
Rank l33t
Rank
l33t

Remind me on SHP. He originally developed it in Dev-Cpp and converted it to VS2006, but had started to moved it back to Dev-Cpp, so it was a bit of a mess. I did fix it enough to get it to compile in VS2010.

You might get something out of it. SCI2.1 pic resources are probably closer to SCI1 than SCI1 is to SCI0.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 7 of 7, by MusicallyInspired

User metadata
Rank Oldbie
Rank
Oldbie

I'm still interested in any help if anyone has any insight to this. I made some progress in looking over source codes to old SCI tools in this thread at SCI Programming as well:

http://sciprogramming.com/community/index.php … pic,1081.0.html

Yamaha FB-01/IMFC SCI tools thread
My Github
Roland SC-55 Music Packs - Duke Nukem 3D, Doom, and more.