no problem. It's just a name.
In 10 years, it might even need to be renamed to "C&C Modding and Mapping Studio", since it then can
-create maps
-create on the fly new tmps by simply pasting a picture into the open map
-render the map in ingame style/lighting
-modify SHPs, read/write mix files
The current .NET version of C&C Map Renderer has option to inject previews straight into the map file, making things, much, much more easier. I am not sure if it has been released in any other form but source code. It also has some issues like not rendering lighting properly etc, and not working with Firestorm at all, really. I actually fixed most of those and even added things like support for custom structure palettes, but only after I had modified the code to work better with my mod. One of these days, I am gonna port the important changes over to the fresh code from repository and bug zzattack to add it to the source and release an executable version of it. That, or I'll at very least release it myselves.
Should be of a help I suppose. I can currently just run one batch file to generate map previews for every single map in my mod. Takes couple of minutes but definitely quicker than manually doing it. _________________ QUICK_EDIT
I find it hard to believe there isn't some kind of screen resolution emulator out there... :/
Even if there would be scroll bars, as long as you can take a screenshot in a resolution that exceeds your native resolution, it'd save a lot of time when creating minimaps.
Edit:
It seems that Virtual Box allows me to use a max screen resolution of 6400x1200... _________________ QUICK_EDIT
new version 1.4 uploaded
-preview shows extra graphics (ramps and cliffs are correct shown)
-preview shows tile-height (cliffs are now correct shown)
-Z-Data preview mode added (uses same palette as normal preview)
-file filter added (allows to filter files by terraintype and/or filename)
-routine to identify TMP files improved (it shouldn't crash anymore when a preview of a non-TMP file should be shown)
-sidemenu shows info if tmp has errors (e.g. missing extra graphic)
-menu more failsafe (clicking the wrong buttons doesn't cause a crash anymore)
It would be handy if the program remembered the last working directory (just save it in the ini).
the profile remembers the working directory. Save the profile with the right directory and the next time you start the program, load the profile to get instantly back to the working directory.
The last used profile is automatically opened when you start the program again.
SuperJoe wrote:
Also the TMP Information window with the preview image isn't showing up for me. It simply never appears.
you pressed "shift+x" ?
I'll add button to the menu in the next version, so you have a second way to open it.
You can also edit the radarcolorizer.ini and set ShowDockInfo=True
SuperJoe wrote:
This programm allows to set the radar color for many C&C terrain files in the tmp-format in one operation.
Whoops. Germenglish. Fixed in the next version.
\EDIT
version 1.5 uploaded
Version 1.5 changes
-[Preview Mode] menu item renamed to [Sidemenu Settings]
-Sidemenu Settings has an option to enable/disable the sidemenu
-new preview mode "Single Frames" added (this shows only the tile and the corresponding extra graphics of one of the tiles)
-the filter can search for valid TMPs (SHPs with tem extension are ignored this way)
\EDIT
Version 1.6 uploaded
Version 1.6 changes
-(update) sidemenu hidden in alt+tab tasks list
-(bugfix) loading palette shows the palettes fine again
-(bugfix) loading profile reloads the fileslist
-(bugfix) no selected TMP doesn't cause crash in Single Frames mode
-(update) detailed frame specific info in Single Frames preview mode
-(update) Filter can search for problematic TMPs
-(update) Palette menu in [Sidemenu Settings]
if subfolder "Palettes" is present, the palette files are listed as sub menu items
if current group has no palette specified, this global palette is used
\EDIT
New Program TMP Shop uploaded (replaces Radar Colorizer)
TMP Shop Version 01.01.00.01
-"Radar Colorizer" renamed to "TMP Shop"
-(update) 5 last used profiles listed in the [File] menu
-(update) Interface enhanced. Groups offer selection to edit...
Radar Color
Terrain Type
Problematic TMPs
-(update) TerrainTypes can be set/replaced
-(update) Problematic TMPs can be fixed
wrong extra graphics header (negative size)
missing extra graphics image
extra graphics with width/height>0 but pos=0,0 (not always does this really indicate a problem, so countercheck it manually by viewing the tmp!)
-(bugfix) multiple files added to a group aren't listed in reverse order
-(update) performace improved when adding many files to a group
-(update) messagebox with progressbar added to most operations that may take longer
Note: old radar color profiles still work.
You can also rename radarcolorizer.ini into TMPshop.ini if you want to keep the previous settings of the radar colorizer like window position, size, sidemenu, palette etc _________________ SHP Artist of Twisted Insurrection: Nod buildings
It seems that Virtual Box allows me to use a max screen resolution of 6400x1200...
That's a low vertical limit. VMware Workstation allows more, but RA2 crashes at some point. 2560 x 1600 is doable though: http://xwis.net/temp/lbl2.jpg QUICK_EDIT
small update
TMP Shop Version 01.01.00.02
-(update) TMP Analyzer improved
faster and more reliable search for problematic TMPs
more detailed and precise info about problems
-(bugfix) some interface labels fixed
The new routine that analyzes TMPs, now checks if any of the extra graphics header is wrong. It also checks if the extra graphic data used for the image is actually correct data read from the correct place (e.g. With width/height>0 in the header but no extra graphic image data after the tile data, it would normally cause data from the next tile to be used as image, even if this data is next tile header)
The 3rd option for problematic tmps "Pos=0,0 -> Set Width/Height=0" was removed. The 2nd option "no image data present" now includes the old 3rd one and fixes those wrong set headers as well. _________________ SHP Artist of Twisted Insurrection: Nod buildings
I think this is the last update for quite a while. Except for bugfixing, I don't have any new smaller features and updates planned. And I think that all the current features are now final and working as they should.
The next feature is supposed to be a bigger one and I'm not sure when and if I ever finish it. _________________ SHP Artist of Twisted Insurrection: Nod buildings
I find it hard to believe there isn't some kind of screen resolution emulator out there... :/
Even if there would be scroll bars, as long as you can take a screenshot in a resolution that exceeds your native resolution, it'd save a lot of time when creating minimaps.
Edit:
It seems that Virtual Box allows me to use a max screen resolution of 6400x1200...
This is what I do for Red Alert 1. Even though you're supposed to be able to go higher, because of a bug in VirtualBox you can't go over 3200x3200 resolution, it's barely enough for Red Alert 1 mega maps so I'm not sure if it's enough for Red Alert 2 and/or Tiberian Sun. QUICK_EDIT
I gotta say that the "Browse For Folder" dialog is really impractical to work with. It'd be much quicker if you could just enter the path somewhere... _________________ QUICK_EDIT
In the previous versions I used the .NET build in FolderBrowserDialog which is crap, but fast to implement. But since it doesn't allows to be customized (like adding a path textbox), i wrote my own FolderBrowser Dialog. I hope it works well enough. Several things that are possible with the default windows folderbrowser aren't possible anymore though. Like copying, renaming, deleting folders etc.
P.S.: don't wonder about the 100 kB bigger filesize for such a small change. There are already some things included for the next bigger release, which aren't available yet. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Another thing that would be nice is if you could select a palette without having to put it in the same folder as the TMPs. For example by just placing the selectable palettes in TMP Shop's directory or by allowing the user to browse to the palettes.
Also, when you hover over the Select Palette button, it shows the following tooltip:
Quote:
When viewing files with this group currently active, they'll use this palette instead of the global palette from [Sidemenu Settings]->[Palette].
But there is no [Palette] under [Sidemenu Settings] _________________ QUICK_EDIT
There are 2 palettes possible.
-a group specific palette (old, now quite obsolete method)
-a global palette, which is accessible via the "sidemenu settings" and once set is used for all groups that have no specific palette set.
For the global palette you have to create a folder called "Palettes" in the TMP Shop folder. (if there is no such folder, then this option is not visible in the menu)
Then TMP Shop automatically sees/offers all palettes in the "Palettes" folder and its subfolders.
btw, this works already since version 1.6 of radarcolorizer
Quote:
Version 1.6 changes-(update) Palette menu in [Sidemenu Settings]
if subfolder "Palettes" is present, the palette files are listed as sub menu items (see install/preview picture)
if current group has no palette specified, this global palette is used
e.g. create subfolders for each game/mod
d:\TMPShop
d:\TMPShop\Palettes
d:\TMPShop\Palettes\DTA
d:\TMPShop\Palettes\TI
d:\TMPShop\Palettes\TS
d:\TMPShop\Palettes\RA2
d:\TMPShop\Palettes\TD
then put the .pal files of each game/mod in the respective subfolders.
Using the global palette, you also don't need any palettes in the working directory anymore or use group specific palettes.
The group palettes are a leftover from the early dev-stages, where i planned to use them for later palette conversions. Still a feature that i would like to realize at one point in future, thus i haven't removed the group palettes. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Ah, seems I missed that. Maybe it would be a good idea to include a "Palettes" folder (possibly already containing the default TS isotem and isosno palettes) in the zip file in order to make it more obvious?
And I also think it might be better if a profile remembers which global palette was selected when you saved it; then you won't have to manually change the palette every time you load another profile.
Lin Kuei Ominae wrote:
The group palettes are a leftover from the early dev-stages, where i planned to use them for later palette conversions. Still a feature that i would like to realize at one point in future, thus i haven't removed the group palettes.
Although I have no immediate need for it (yet), I do think this would be a very useful feature.
How about adding an additional feature which allows you to analyze all selected TMPs to see which colors of the active palette they use and how many times? This could be done by showing an image of the active palette with a number over every color which tells you how many pixels in total (of all selected tiles) make use of that color.
This way people would be able to easily optimize their terrain palettes by removing unused or barely used colors and then adding new ones in their stead. _________________ QUICK_EDIT
i could do that, but I fear I'll forget very often to include the palettes folder in future updates.
Good point about the profile. Could be a bit problematic though, because the global palette is stored in the editor settings and the new way of the palette being stored in the profile has to be compatible with the current way. Though it doesn't have to become too confusing, which can happen if you then have a palette in the editor settings (master global), another palette in the profile (local profile global) and an optional palette in each group.
Interesting idea about the color usage.
This could be however a quite slow feature, given the amount of pixel in each tmp times the amount of tmps. (1tile=576 pixel, with 3000 tmps it has to check one by one 1.7 Million pixel and there are tmps with up to over 100 tiles and additional extra graphics in any size) _________________ SHP Artist of Twisted Insurrection: Nod buildings
i could do that, but I fear I'll forget very often to include the palettes folder in future updates.
To make it easier for yourself you could simply keep a zip file which already contains the palette folder and leave this zip file in the directory to which TMP Shop always gets compiled. Then after it's compiled you simply drag TMP Shop to the zip file, replace the older version of TMP Shop that's already in there and then upload
Lin Kuei Ominae wrote:
Good point about the profile. Could be a bit problematic though, because the global palette is stored in the editor settings and the new way of the palette being stored in the profile has to be compatible with the current way. Though it doesn't have to become too confusing, which can happen if you then have a palette in the editor settings (master global), another palette in the profile (local profile global) and an optional palette in each group.
Would it be possible to turn the global palette into the group palette after saving? So if you select a group palette before saving the profile it'll simply use that like always, but if no group palette is selected, the currently selected global palette then becomes the group palette instead (and if necessary, include the complete path to the global palette in the profile so that the palette file doesn't need to be in the same directory as the TMPs).
Lin Kuei Ominae wrote:
Interesting idea about the color usage.
This could be however a quite slow feature, given the amount of pixel in each tmp times the amount of tmps. (1tile=576 pixel, with 3000 tmps it has to check one by one 1.7 Million pixel and there are tmps with up to over 100 tiles and additional extra graphics in any size)
Yeah, I expected the feature to be slow, but it'd still be very useful. Given how slow it might be, it might be good to also add a progress bar which simply shows how many cells in total still need to be analyzed (or if that's too much work/too difficult; simply show how many TMPs still need to be analyzed); then people can at least get an idea of how much longer the process will take. Maybe even also include a progress bar. _________________ QUICK_EDIT
Would it be possible to turn the global palette into the group palette after saving? So if you select a group palette before saving the profile it'll simply use that like always, but if no group palette is selected, the currently selected global palette then becomes the group palette instead (and if necessary, include the complete path to the global palette in the profile so that the palette file doesn't need to be in the same directory as the TMPs).
the group palette isn't supposed to be used in the first place. Not until i finished the palette conversion functionality.
For now it's only useful if someone has several groups with tmps that use different palettes (like tmps from different mod projects), and he/she wants to process all these groups/files in one operation. Though i would advice using different profiles for different projects.
It will be more like this: the user can decide if the global palette will be set on the profile too. If a profile has no palette then the global palette will be used. Otherwise the profile set palette will change the global palette.
So the profile is only a more precise way to set the global palette.
Bittah Commander wrote:
Yeah, I expected the feature to be slow, but it'd still be very useful. Given how slow it might be, it might be good to also add a progress bar which simply shows how many cells in total still need to be analyzed (or if that's too much work/too difficult; simply show how many TMPs still need to be analyzed); then people can at least get an idea of how much longer the process will take. Maybe even also include a progress bar.
A messagebox with a progressbar and texts showing the current status of the operation is no problem at all.
But since the operation takes a while, it just won't be a simple status text shown in the sidemenu. It will be more a separate button that you have to press to start the analysis for the current group.
\EDIT
new version
TMP Shop Version 01.01.00.04
-(update) added Quick Edit function for TerrainType preview mode
it allows to quickly edit the terraintype of clicked tiles in the sidemenu.
Instruction:
-select [Sidemenu Settings] -> Preview mode "TerrainType"
-select a tmp
-check "Quick Edit" in the sidemenu and select the TerrainType in the combobox or the textbox
-now simply click on the tiles that should get the chosen TerrainType
The focus of the program changes automatically back to the TMP Shop after each click on the preview image, allowing this way quick movement via keyboard through the list of TMPs while keep changing the terraintype with the mouse.
Beware: This instantly changes and saves the tmp, so there is no undo.
Pressing every time a save button would have made too much additional click-work for the user, why i left it away. _________________ SHP Artist of Twisted Insurrection: Nod buildings
The quick edit function is quite useful, although I noticed that it changes the terrain type of all cells of a tile to the selected terrain type whenever you accidentally beside the tile instead of on any of the cells.
I'm not sure if you did this intentionally, but I expect it to be more likely for people to do this by accident than on purpose and the fact you can't undo this makes it extra painful.
Also, I think it would be helpful if you could enable some sort of grid view while using the quick edit function so that you can see exactly where every cell stops (and thus will have an easier time to decide what terrain type would be most fitting for the cell).
If adding a grid would look bad, you could instead add an additional single-cell preview next to or under the preview of the whole tile and then allow the user to select which cell to show in the single-cell preview by right-clicking on that cell in the preview of the whole tile. _________________ QUICK_EDIT
uh, ugly mistake.
I'll fix that asap.
Clicking on outer empty tiles shouldn't do anything.
Adding a grid should be no problem. I think I'll make it available via an extra switch so you can turn it on/off on every preview type.
Maybe i also implement something like a "highlight tile under cursor" function.
However i don't want to make this a too advanced editor. This should be still kept simple and only for quick edits.
\Edit
new version uploaded
TMP Shop Version 01.01.00.05
-(bugfix) Quick Edit does not set all tiles to selected TerrainType when clicking on empty tiles
-(update) Added option "Show Tile Border" to [Sidemenu Settings] _________________ SHP Artist of Twisted Insurrection: Nod buildings
new version uploaded
TMP Shop Version 01.01.00.06
-(update) [Tools] menu added with "Palette Analyzer & Converter" option
-(update) Palette Analyzer & Converter offers functions to
analyze palette usage (list how many pixel use every color of the palette)
list files using a certain color
convert palette of tmp files using a color scheme file
how to use:
1. select/mark the files in the file list on the left that you wish to analyze/convert
2. select one of the 3 options
3. press [Start] button
If only 1 file is selected, the first option is showing instantly the used colors, so no need to press the Start button in this case.
When using the 2nd option, it de-selects all files which don't use the selected color. To select a color, simply click on one in the palette.
When using the 3rd option, you can use the color scheme files that SHP Builder uses too. However for this tool, only the [Data] section is important.
It then goes step by step through the listed conversions and applies them one after another.
Note: the color conversion is still experimental. So create backups of the TMPs that you want to modify!
When using option 1 or 2 on multiple files, the tool creates in the current working directory the textfiles #colorusage.txt or #paletteusage.txt which contain the result of the operation in a text format. _________________ SHP Artist of Twisted Insurrection: Nod buildings
This tool will come in quite handy in the near future
If only OS SHP Builder had this feature too...
Could you maybe add a 'Select All' button by the way? Currently selecting everything seems to take slightly more effort than it should (click top tile, scroll down, hold shift, click bottom tile). Even just being able to press Ctrl+A to select everything would already be more convenient.
Maybe also automatically make it filter out SHPs (without requiring the user to do so himself), considering it apparently can't analyze SHP colors anyhow. _________________ QUICK_EDIT
I select first, then hold [Shift] and press the [End] key to select all which is fast enough for me. (stupid windows listview doesn't has the typical windows ctrl+a shortcut )
But i can add a select all button. Maybe i also manage to get the ctrl+a shortcut implemented.
SHPs and non-TMP format files are ignored anyway, as it can't open them in the first place they also don't change the result of any of the 3 operations.
So if the user really doesn't wants them, i think the filter is enough.
During my tests i also kept selecting text files and other crap files among the TMP-files (it's only a nano-second longer for each of the non-TMP files before the tool notices it has to ignore it).
\Edit
found a super easy code example to add ctrl+a shortcut to listviews and added it
Also, the filter is indeed enough, but I meant that it might be better if the "List only TMP files" filter is enabled by default, since there is little reason (or none at all, for as far as I know) for people to see any of the other files anyhow.
By the way, what is this TeMPle of Mod thing? _________________ QUICK_EDIT
I just noticed, i made a logical mistake in the conversion algorithm.
if you take the example scheme
[Data]
34=204
32=192
192=208
then it would convert all pixel with color 32 to color 192 and after that it would go over all pixel again and change pixel with 192 to 208. Thus you end up with pixel 32 and 192 being color 208 which is wrong, as it doesn't allows any real conversion like
1=2
2=1
where 2 colors are exchanged. (with the old technique both would end up having color 1)
This bug is fixed and the new zip uploaded.
Please download the tool again if you did that already. (Version number is still 1.1.0.6 but you can see in the info dialog changelog at the end the bugfix)
Sorry for the inconvenience.
@Bittah: sorry, i thought i answered that already: i haven't enabled the "List only TMP files" filter by default, because it would significantly slow down the loading time of the files.
Such a check takes about 3-5 seconds on 3000 files. And this would always take this time, even if there are no non-TMP format files in the folder.
I think those who modify tmps, will mostly use an empty folder and only extract the tmps in it, thus it would be quite redundant to use that filter. (and 10-20 shps with tem extension can be ignored as the 3 functions ignore them too) _________________ SHP Artist of Twisted Insurrection: Nod buildings
I personally use a folder called isotem, which contains all files that I import into isotem.mix. I understand your reasoning for not enabling the filter by default though. _________________ QUICK_EDIT
new version uploaded
TMP Shop Version 01.01.00.07
-(update) "Color Scheme Generator" added to [Tools] menu
There are 2 different formulas to choose, to calculate the matching colors.
While Delta E94 is widely used, Delta E2000 is a newer one which is supposed to be not that approved yet, but which I think leads to better results.
how to use:
1. select Palette A
2. select Palette B
3. press [Generate Color Scheme] button
4. copy the text from the textbox into your color scheme file _________________ SHP Artist of Twisted Insurrection: Nod buildings
sure. But why?
I fail to see any reason for having this as a palette o.O
It doesn't even work as a "nice ordered palette" since it has less colors than palette A and less than palette B. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Yes in this displayed case but else I would see it as potentially useful palette swap without having to redo the shps indexing.
If you happen to have more diverse palettes (actual gradient lined) being mixed instead of these single shade likes (ra2 unittem.pal) which are of course redundant colors causing, else you could re-shade whole assets in one swoop if we have like whole proper gradients with full ranges based pals, perhaps handy way to reassure same consistent color look for various assets using multiple palettes originally. Has two applications in my mind, quick color palette swapping or alternative color shift to be used for decoding with and then converting to actual palette in effect recoloring with other asset source pal what wasn't it before. QUICK_EDIT
new version uploaded
TMP Shop Version 01.01.00.08
-(bugfix) "Changed Colors only" in "Color Scheme Generator" fixed
-(update) contextmenu added to palettes with options to load/save the palette
right click on the palette to open a contextmenu from where you can load/save the palette. _________________ SHP Artist of Twisted Insurrection: Nod buildings
I'm not a fan of stuff that auto-connects to a strange place and downloads unknown stuff.
If things are working fine now, the next update will surely also take a while again. _________________ SHP Artist of Twisted Insurrection: Nod buildings
The easy for solution for other people who are not a fan of that is to just add an option to disable auto update and possibly to make it entirely visible where files are downloaded from and where they are downloaded to.
Alternatively you could also just make it show a download link (or a link to this topic) whenever a new version is available, although that would require a little more user input. This is mainly just to make sure that people who don't visit PPM as frequently don't keep using some old version for months (or even years) without ever realizing that there's been a new version available for ages. _________________ QUICK_EDIT
sorry, but no, i don't think i'll implement this. There are too many reasons that speak against it
-for the 10 people who use it (not only downloaded and then deleted again) this is not necessary
-it's a lot of work for a feature that doesn't provides anything useful context wise (nothing for TMP editing)
-no point in implementing it, when then most people disable it again (auto-updates and auto-update-checks are annoying. also for firewall and virus scanner who then pop up)
-this tool is supposed to be finish at some point (every new feature in the past saw 1 to 3 bugfixes, then it was stable). It's not like a mod that sees years of development and constant changes.
-beside the "TeMPle of Mod" there aren't any new features planned. I think i implemented anything so far that fits to the purpose of this tool and there aren't any additions left.
-this tool is 1 year old and the last bigger update series was in dec last year (when it still was young), so i wouldn't call this frequent updates. It's just the usual bugfixing after a new feature is implemented and then it isn't changed anymore until someone has another idea for an improvement _________________ SHP Artist of Twisted Insurrection: Nod buildings
any way you can make a video showing how this works? _________________ I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder
I never made a tutorial video. Is there anything unclear? I was hoping the functionality and interface is quite self-explanatory. _________________ SHP Artist of Twisted Insurrection: Nod buildings
im all about terrain, just cant see how to get it to work.....there is 2 kinds of roads tile style 11 four lane and style 12 two lane. though if i knew how to use than maybe it would be easier for to do some things, guess ill just stick to what i know for now. _________________ I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder
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