6744dbca38c6b

6744dbca39e19
1 Guest is here.
 

Topic: System Shock 1 with Mac assets?
Page: « 1 2 [3] 4 »
Read 14296 times  

6744dbca3a6df
Good stuff.  I incorporated the image decoding into the MacConvert utility and made the preview quite a bit friendlier.  It's not perfect but it's useful for browsing the various images and extracting the ones you want.  Images are saved in transparent PNG - the BMP files lost that and it'll be needed if the original resources can be replaced.

The decompression is slightly different to your original code - I used the reference from this project which I hadn't heard of before but it seems to have useful info.

I've attached binary and source (VS2013 c#) to this post in case anyone wants to have a play.
« Last Edit: 04. October 2015, 12:03:25 by Al_B »

6744dbca3a85cHogdalen

6744dbca3a89a
Good stuff indeed! I was hoping I could inspire someone to do it properly. No we can really start exploring this stuff.
6744dbca3aa23
The source you posted was a big help with the processing so it's a joint effort.  I did an update to allow original .res files to be opened as well as the .r files and noticed a mistake with the image decompression in my code so I've updated the attachments in my last post.

6744dbca3ab27Hogdalen

6744dbca3ab77
I suppose the next step would be to make a tool that writes LG resource files that the original DOS System Shock can read -- unless one exists already?

Something that takes a list of Mac image resources, like the .bin files that MacConvert produces, and simply flips the big-endian bytes and writes them all into a single .res file with a proper header and a master directory first. Then we will see how the game handles higher-resolution images.
« Last Edit: 04. October 2015, 06:49:53 by Hogdalen »
Acknowledged by: Al_B
6744dbca3acb1
Well, it makes things interesting - not sure it's exactly what's desired, however...

Edit: Updated binary and source attachments in above post with version that can save .res files - unlikely to work for any files other than image resources at the moment.
« Last Edit: 04. October 2015, 12:04:46 by Al_B »

6744dbca3ad69WhyNott

6744dbca3adc9
Is there anything that could possibly be done about it?
6744dbca3aeb5
May be possible to change the UI scaling factors in the same way that higher resolutions were patched in but I've never looked into that personally.

6744dbca3b01dZylonBane

6744dbca3b08b
Huh... Is it taking exactly as many pixels from the center of each bitmap as were in the original bitmaps?
6744dbca3b20d
Not quite - I think it's scaling the image with the same scaling factor and clipping it to the left MFD panel.  The displayed image is actually a bit bigger than the original.  It's clearer if viewed with the lowest game resolution as attached.

(Ignore the black box around the pipe - I've been playing with the higher resolution weapon graphics as well)

6744dbca3b2c4Hogdalen

6744dbca3b319
What effect do the WidthFactor and HeightFactor fields in the bitmap header have? Any at all?

6744dbca3b3b0ZylonBane

6744dbca3b3f8
I'll just say this-- if this can be made to work, high-res Rebecca needs some retouching to move her eyes farther apart.
6744dbca3b7c4
She may also need to consider the amount of lipstick she's applying.

What effect do the WidthFactor and HeightFactor fields in the bitmap header have? Any at all?

I haven't tried those particular fields as my interpretation is that they are used for allocating memory when decoding the images and don't affect scaling.  There's likely to be a global (fixed or floating point) scaling factor for the UI elements.  It's doing a pretty good job as it is of accepting the higher resolution images so I'm still hopeful.
6744dbca3ba9f
I'll just say this-- if this can be made to work, high-res Rebecca needs some retouching to move her eyes farther apart.
:D
Acknowledged by: ZylonBane

6744dbca3bbc2voodoo47

6744dbca3bc0d
she definitely is better off without the manjaw.
6744dbca3bd38
Nicely re-touched Koyla. Thank you.
6744dbca3be99
That was only a throw-away test in which I munged a few pixels just to see where they could go. Of course I agree that she looks sexier without the huge jaw. But now that I see it again I'm beginning to think that her chin makes her a recognisable and more of a normal person than your typical NPC messenger type. Which I kinda like.
But what I like even more is the low-res version in which seems to have her mouth slightly opened - like she was speaking - and the worried look of her raised eyebrows.
Which is weird because it probably was simply scaled down from the hi-res image. But the low-res image looks the most interesting. Low-res magic.
6744dbca3c00d
Yup - I suspect a lot of it is just the mind filling in the blanks.  They appear to have squashed the picture when they originally down-sized it - if you resize the Mac version to the same size as the PC version the two images overlap pretty much precisely which I didn't expect as the aspect ratio is different for both images.  They've done some touching up of the images but it's clear they came from the same source material.
6744dbca3c133
This is bit closer to how I perceive the PC original. I'd still like to see what Zylon Shtupping Bane comes up with.  :happyjoy:
Acknowledged by: Al_B

6744dbca3c1ecZylonBane

6744dbca3c236
Probably nothing that good. I can't draw at all.

6744dbca3c64eRocketMan

6744dbca3c6ad
I'll just say this-- if this can be made to work, high-res Rebecca needs some retouching to move her eyes farther apart.

She needs a lot more work than that lol.

..but seriously, if we change her too much, she's not Rebecca.


...and for the first time ever, I realized that a key NPC from SS1 has the same name as a key NPC from SS2. 
6744dbca3fd6e
In my opinion the only thing which needs to be edited is the overly use of lipstick.
Maybe not for all pictures, but for the ones where it makes sense to closer resemble the DOS version.

6744dbca40453Synaesthesia

  • Company: Night Dive Studios
6744dbca40a05
https://www.systemshock.org/index.php?action=dlattach;topic=8054.0;attach=11119;image

So I can finally see what's going on here. The Hacker is being confronted by a Cyborg Warrior. Is that a brain on a body behind him or is it a blue virus mutant?

6744dbca40b15WhyNott

6744dbca40b77
So I guess that changing the portrait's resolution was something thats juts couldn't be done after all

6744dbca410bdZylonBane

6744dbca4160e
So I guess that changing the portrait's resolution was something thats juts couldn't be done after all
You're the guy on the right. Everyone who knows how to do this stuff but only has so much free time is the guy on the left.

https://www.youtube.com/watch?v=lefP0_ZM-Lw

1 Guest is here.
It has the electrolytes that plants crave.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
6744dbca4e735