6731247b6f889

6731247b70aca
1 Guest is here.
 

Topic: Help with resizing the images Read 1417 times  

6731247b7142d
first of all I hope this thread is on the right place otherwhise you all may just move it.

I have edited some images to increase the size, and I used as a base the files of the newdark beta 2.7 since I play on steam and apparently I am uncapable of reading that there is a version 6 for the original game :|

https://www.systemshock.org/index.php?topic=22.0

so first of all, I decided to scale this picture here (...FAM.CRF/Tech/Orient.pcx) and I realized that the pallet for the original file wasn't matching the pa1.pal I guess since the other files on this folder had a different pallet.  (I am refering to the original game files where I opened them to see what indexed pallete was being used so the pallete for this picture was different from the pallete used by the other files.) 

the reson is that I wanted to change the color of the "TECHNICAL" font to match the lights of the entrance which the color is slightly off but the pallet that it uses doens't have a perfect matching color. but even if I change the image pallete color to match I suppose it uses this pa1.pal colors on the respective id positions so it doesn't change to the one I want.

also I believe this was the best I could do in terms of rescaling I had to use the original 64x64 and just write in a way that is legible since if you increase this image size it doesn't seems to work great (I am using the latest steam version)

https://imgur.com/a/HWN3l5L I have added here an image showing this image rescaled to 256x256 and it gets stretched like this and doesn't seem to scale well.

the game is set to run in windowed mode if does make a difference

I am exporting the scaled images to .pcx format with indexed color mode and the pallet I normally use the one from the original image so is this the right way to do it?

6731247b715bevoodoo47

6731247b71614
it's because you are doing everything wrong.

- use (NewDark) SHTUP files as base whenever possible (it's beta2 btw, the 7 is part of the 7zip archive file extension).
- no need to mess around with palettes, if you have to work with the original pcx files, just switch them to RGB (gimp image/mode/RGB) and export as png.
- orient.pcx is a bit special, you need to set up a mtl file so it would be displayed properly ingame. see the SHTUP orient.mtl and orient.inc files. NewDark documentation (SS2\Docs\newdark) has instructions on how to set up mtl files and explains when they are needed.

6731247b71707ZylonBane

6731247b71759
Orient.pcx isn't special, it's just a terrain texture.

6731247b717f9voodoo47

6731247b71844
didn't it need some extra mtl var to display properly? so that the psi text wouldn't be red.

6731247b718e6ZylonBane

6731247b71931
Ah, that's a fix for the vanilla version using a mismatched palette. SCP and I think SS2Tool include that fix. The SHTUP version just replaces it with a new high-res texture.
Acknowledged by: voodoo47
6731247b71a90
I needed the mtl file to display properly on the steam version.

now another question, I have edited the files caut_ and caut_1 but the bottom part of the image on the game is weird, do I need to do the same with the mtl file? I have also realised that the original game file instead of the text theres just a yellow bar so perhaps I should write the text in a different channel or something?

I have done exactly as it is on the SHTUP folder, indexed mode, without alfa channel and the same color map.

on the foreground it says "cuidado" in portuguese and in the background says "caution" in english

6731247b71b58voodoo47

6731247b71ba3
I would start by using RGB instead of indexed, and exporting as png. there is no (sane) reason to stick with the old format, it only causes problems.

6731247b71c66ZylonBane

6731247b71cb0
You've created some insane mashup of the vanilla and SCP versions of that sign. If you're modifying the SCP version, then don't try to modify the vanilla assets, and vice versa.

If you have no previous experience with texturing, nor any ability to figure out technical issues, this is not going to go well for you.
6731247b7202e
let me explain what I am doing:

I have downloaded the files of shtup beta 2.

what I am doing is, just replacing the text and saving all as image.pcx format and they all work fine.

in the case of this image, I have exported as caut_.gif and caut_1.gif exactly as it is on the shtup folder. I even checked for what is the format and perhaps could be that gimp auto saves as indexed mode then.

what I say about messing with the original game files, is that I often just go to the original file to see how it is made because the file will replace and the behavior should be the same.

perhaps my steam version is a different verison

and I realized that the original file for that, instead of the text, it's just a yellow bar that then gets replaced by some transparent text that says caution.


I am playing on steam the latest version and the only other mod I have is the 400% terrain textures one.

6731247b7215f
I even just replaced the Caut.gif files from the shtup and the behavior is the same it gets written that weird way
6731247b72459
I would start by using RGB instead of indexed, and exporting as png. there is no (sane) reason to stick with the old format, it only causes problems.

Well then so I should be exporting every image as png and rgb instead? I guess I can try that.

6731247b72529ZylonBane

6731247b72577
There is no caut.gif, anywhere, in any version.

The SCP version uses a custom model for that sign. If you're trying to modify the SCP textures without the model, or the vanilla textures with that model, you're going to get a mess.
6731247b72669
Caut.gif i meant caut_.gif and caut_1.gif

i am just modifying the files of the shtup folder, exporting as .pcx and putting on the mod folder just as that.

6731247b72703voodoo47

6731247b72770
yes, if you are creating a texture mod for SS2, the new files should be saved as png/RGB, the old format can cause issues.

6731247b72963ZylonBane

6731247b729b7
i meant caut_.gif and caut_1.gif
None of those files exist in SHTUP or the original files.

With this level of attention to detail, you are going to have nothing but problems.

6731247b72ac5voodoo47

6731247b72b11
ok, lets maybe start from square one - are you trying to create a texture mod with translated textures? if so, you have a decision to make;

1) you will work with vanilla textures, and the mod will not be compatible with SHTUP. in that case, do not use any SHTUP assets.
2) you will work with SHTUP textures (only taking out the textures that need to be translated), and the mod will require SHTUP as base. you will only work with SHTUP assets in that case.

so which one is it?


note - SHTUP is so essential that option 1 is pretty much not really an option, but hey, if you want to do the crazy thing then don't let me stop you.
6731247b72c5e
I downloaded shtup-ND beta 2 that is what I am using, the file I said was under obj/warning/ cout_ and cout_1 apparently I am referring as a different beta version or such I downloaded from that link on the bottom.



alright, I apologize for the confusion, I didn't had the correct shtup mod version downloaded. apparently I have a different weird version I downloaded from somewhere else

also the original files are called "caut_" and "caut_1" but the shtup is called "cauta_" and "cauta_1" so, is it supposed to be called as that?
« Last Edit: 14. June 2024, 21:29:58 by luigge »

6731247b72d0fvoodoo47

6731247b72d5d
then there should be no pcx files involved. you take the SHTUP texture, open it with gimp, do the edits, choose to overwrite to save the changes, done.

the SHTUP filenames are correct I'm very sure.
6731247b72e6d
I had downloaded the shtup localization pack this is why I was working with wrong files

6731247b72f0bvoodoo47

6731247b72f5b
aha, ok. well, you probably should wipe the slate clean then and start again with SHTUP proper.
6731247b7304d
this is what I say about these images wrong names
[caut.png expired]

6731247b730e3voodoo47

6731247b7312d
why would those bother you if you are trying to create a SHTUP translation? just ignore the vanilla crfs.
6731247b7321d
it's just that it won't load that since the name on the mod is different, I am just showing that so you change on the mod. unless it works normal as cauta_ and cauta_1

6731247b732ddvoodoo47

6731247b73328
ok, try to describe what you are trying to accomplish here, in as simple words as possible.

example: I want to edit the blinking caution sign to say cuidado instead of caution, and I want to use the vanilla texture as base.

Your name:
This box must be left blank:

A familiar passcode with 3 digits:
1 Guest is here.
Urban living only works through a combination of both patience and consideration.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
6731247b74230