Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Oct 15, 2024 9:30 pm
All times are UTC + 0
[Question] Edit terrain tiles with OS SHP Builder
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
warlock
AA Infantry


Joined: 07 Jun 2006
Location: Bournemouth, UK

PostPosted: Tue Feb 25, 2020 2:36 am    Post subject:  [Question] Edit terrain tiles with OS SHP Builder
Subject description: Just wondering...
Reply with quote  Mark this post and the followings unread

Hey there, so I'm using OS SHP Builder to correct some building and overlay palettes and I started to wonder... Is possible to edit terrain tiles in OS SHP Builder, because I have a few tiles that need to be updated to a new palette, but I tried in XCC TMP editor but I do not understand how it works, and seemed quite easy to correct palettes with SHP Builder, mostly copy/paste work and good to go. Can I actually do it in SHP Builder?

Thanks

Back to top
View user's profile Send private message Send e-mail YouTube User URL Skype Account AIM Address
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Tue Feb 25, 2020 4:02 am    Post subject: Reply with quote  Mark this post and the followings unread

You should be asking how to turn a PNG/JPG into a full TMP, too. Smile

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Tue Feb 25, 2020 4:53 am    Post subject: Reply with quote  Mark this post and the followings unread

No, SHP and TMP file formats are different.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Tue Feb 25, 2020 11:58 am    Post subject: Reply with quote  Mark this post and the followings unread

To change the pallet in XCC TMP editor copy the image into a gfx editor, load a new pal & then copy the image back from the gfx editor. BTW you have to use a gfx editor as a "middle man" as simply copying from TMP editor & directly back in doesn't work as it keeps the pal info in memory, copying in & out of a gfx editor removes that part so a new pal can be applied though.

You can't make custom pals for individual tiles & converting an entire theater to a new pal is an insane amount of work. So I presume you want to convert tiles from one theater to another? If so also remember that you have to change the file extension to match the new theater too, the extension is actually what the game/editor uses to select the pal for the tile.

For my work flow I prefer to open a similar tile with the extension/pal I want & then just copy the new image over it & then save it as a new file.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue Feb 25, 2020 12:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
converting an entire theater to a new pal is an insane amount of work.

actually a single click in TMP Shop



TMPShop_PaletteConversion.png
 Description:
 Filesize:  17.59 KB
 Viewed:  3208 Time(s)

TMPShop_PaletteConversion.png



_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
HG_SCIPCION
Gauss Rifle Trooper


Joined: 07 Jun 2013
Location: Perú

PostPosted: Fri Feb 28, 2020 5:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
Mig Eater wrote:
converting an entire theater to a new pal is an insane amount of work.

actually a single click in TMP Shop


W H A T ! ! !

_________________
https://www.moddb.com/mods/global-crisis
https://www.patreon.com/scipcion

Back to top
View user's profile Send private message Facebook Profile URL
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Feb 28, 2020 11:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

mass editing TMP files is the main purpose of TMP Shop, and changing the palette is one part of it.
Once you have a color scheme file for the conversion (can be done via Tools\Color Scheme Generator), you only have to select all the tmp files and click "Start"

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sat Feb 29, 2020 5:50 am    Post subject: Reply with quote  Mark this post and the followings unread

So you can modify an existing palette to change the look, generate a cscheme back to the original, and then batch convert to change the existing appearance to work with the unmodified palette?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat Feb 29, 2020 8:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Not sure i understand you correct, but yes.
the color scheme file just tells it what color has to be changed into which other color. It goes through each tmp and changes each pixel palette color index accordingly.

IIRC the color scheme file has the same format and works the same as SHP Builders color scheme files.

G-E wrote:
So you can modify an existing palette to change the look, generate a cscheme back to the original, and then batch convert to change the existing appearance to work with the unmodified palette?

-lets say you make every color darker in the palette
-then generate a scheme file (this maps the new darker colors to the old palette darker colors)
-then convert the tmp files with the scheme, you made every tmp file darker without changing the palette

The modified darker palette would be only a temp/intermediate thing for generating the color scheme file.
You could also edit the scheme file with a text editor if you know which color should be replaced by which other color.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sun Mar 01, 2020 5:39 am    Post subject: Reply with quote  Mark this post and the followings unread

I guess what I was asking is whether it does colour matching like OS SHP Builder, but it sounds like it's just a cscheme...

Honestly the UI sucks, I can't make heads or tails of it.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Mar 01, 2020 8:33 am    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
I guess what I was asking is whether it does colour matching like OS SHP Builder, but it sounds like it's just a cscheme...

Always using a fixed auto color matching isn't precise enough (no way to tell it to ignore certain colors etc), so it's indeed using a color scheme.
But you get the color scheme by auto color matching using the Color Scheme Generator.

G-E wrote:
Honestly the UI sucks, I can't make heads or tails of it.

What would you change?
Color Scheme Generator:
-load palette A
-load palette B
click the button and you get the color scheme, which you can copy paste into a text file and further edit manually.
You could also create it completely manually, like people did for SHP Builder (it's the same file format).

Palette Analyzer and Converter
-select your color scheme
-select the files
-click Start

How else should the UI be made or what's confusing about it?

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.4719s ][ Queries: 14 (0.2465s) ][ Debug on ]