I am posting a WIP tool here in hopes for feedback and possibly some help with development.
In the current state it is purely a palette editor.
Plans:
* Palette Editor
* Draw 'selection' rectangle around the currently selected entry (done)
* Adjusting HSV values for selected index (in progress)
* Multiple index selection
* Shp Manipulation
* Brush tool (1..N px radius)
* Eraser (set to index 0)
* Open Palette Editor with the current palette
Building:
Linux & OS X: MonoDevelop/Xamarin Studio (or xbuild)
Windows: Visual Studio Community 2013 (maybe MSBuild)
Note: VS users will need to install the Shared Projects plugin from the visual studio gallery.
License:
ISC License
Copyright (c) 2015, Taryn Hill <Phrohdoh@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
The software is provided "as is" and the author disclaims all warranties
with regard to this software including all implied warranties of
merchantability and fitness. In no event shall the author be liable for any
special, direct, indirect, or consequential damages or any damages
whatsoever resulting from loss of use, data or profits, whether in an action
of contract, negligence or other tortious action, arising out of or in
connection with the use or performance of this software.
Any feature request are welcome, though the nonsensical ones will most likely be ignored.
Help with parsing the different SHP formats would be greatly appreciated.
Note that I do mean help and not doing it for me / throwing a library at it.
Contact Me:
Email: Phrohdoh@gmail.com (I rarely remember to check email)
IRC: irc.freenode.net at #orcaware
Is it for C&C palette that is used in TS/RA2 games etc. or generic like Jasc palette or color table in
indexed images? Same question on shp, whether it is related to these games?
Are you aware of OS Palette Editor available on main PPM page? QUICK_EDIT
Yes I am aware of the OS Palette Editor, but it is built for Windows only while this tools is built on top of .NET/Mono which allows usage in Windows, Linux, and OS X.
This is for C&C palettes (td, ra, ts, ra2), the SHPs will eventually be for all games also, but currently I am working on parsing TS/RA2 SHPs.
@Glukv48: I am actually working on that right now. QUICK_EDIT
Yes I am aware of the OS Palette Editor, but it is built for Windows only while this tools is built on top of .NET/Mono which allows usage in Windows, Linux, and OS X.
I am sure that OS Palette Editor works fine under WINE. However, I think that the implementation of a .NET should be better. So good luck. QUICK_EDIT
Problem Event Name: CLR20r3
Problem signature 01: ShpSharp.exe
Problem signature 02: 1.0.5521.20786
Problem signature 03: 54dce3c5
Problem signature 04: ShpSharp.Desktop
Problem signature 05: 1.0.5521.20786
Problem signature 06: 54dce3c5
Problem signature 07: a
Problem signature 08: 34
Problem signature 09: System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.256.1
More information 1: 0a9e
More information 2: 0a9e372d3b4ad19135b953a78882e789
More information 3: 0a9e
More information 4: 0a9e372d3b4ad19135b953a78882e789 QUICK_EDIT
Yep I am silly and forgot a DLL, thanks for testing it!
This is why I made the post to begin with.
Updated with the Gen2Shp files (which means there is bogus code there, so just use the Palette Editor). QUICK_EDIT
I'm hoping that the SHP editor you are working will be a better alternative for the OS SHP, since the OS SHP is so buggy and very time consuming. QUICK_EDIT
Also Known As: ZivDero Joined: 23 Jul 2013 Location: Russia
Posted: Thu Feb 12, 2015 7:22 pm Post subject:
It'd be good to get the SHP editor to at lest Paint.NET quality. _________________
DarkVen9109 wrote:
What in the name of insanity is this? I FRICKING LOVE THIS LOGICCCC!!!!!!!!!!!!OOOOOOOOHEEAWWWWWWWWWWWYAAAAAAAAAAAAAAAAAWWWWWW PEW PEW PEW PEW BOOM BOOM BOOM!! Nice I love this!!!! Ferriswheel bomb, Dive bomb. New Logic discovered thanks to Kenosis
Posted: Thu Feb 12, 2015 7:37 pm Post subject:
Now includes TS' e1.shp and unittem.pal
@E1 Elite: Could you post a screenshot of what you mean? ATM the actual pixel data is not drawn, just the appropriate bounds.
// end edit
There is a known bug in Windows caused by trying to open the Palette Editor after you have previously closed another instance of it.
This is caused by WinForms and I have not been able to fix it yet.
Any pointers are welcomed.
The (new) packaged attached to this post contains e1.shp and unittem.pal from TS.
Feel free to play around what little bit you can and post your bountiful crashes!
Shp loads, but it is blank white. When resizing window, I can see red rectangle with blue rectangle inside
for fraction of a second. Screenshots come blank white, no use. QUICK_EDIT
It'd be good to get the SHP editor to at lest Paint.NET quality.
What for? I believe that SHP editor should only be able to convert SHP files, have simple drawing elements (minimum set, no more than a classic Paint), as well as to be able to change the index palette and change the sequence of frames. I do not see the need for greater functionality. QUICK_EDIT
I have (unfortunately) discovered that the drawing issue is most likely an issue that only exist on Windows and I haven't the slightest clue on how to solve it.
The code for drawing to the canvas on the ShpEditor form is here, if you see something suspicious please let me know.
In other news I have added a frame ticker so you can increment or decrement the currently visible frame (or enter an integer directly).
Updated build! (see OP, I learned how to update uploaded files instead of needing to repost) QUICK_EDIT
Also Known As: ZivDero Joined: 23 Jul 2013 Location: Russia
Posted: Mon Feb 16, 2015 10:14 pm Post subject:
Glukv48 wrote:
Parasite03 wrote:
It'd be good to get the SHP editor to at lest Paint.NET quality.
What for? I believe that SHP editor should only be able to convert SHP files, have simple drawing elements (minimum set, no more than a classic Paint), as well as to be able to change the index palette and change the sequence of frames. I do not see the need for greater functionality.
I don't agree. The editor should not be worse than something simple but yet useful. Paint is junk. Being as useful at drawing as Paint would kinda suck. _________________
DarkVen9109 wrote:
What in the name of insanity is this? I FRICKING LOVE THIS LOGICCCC!!!!!!!!!!!!OOOOOOOOHEEAWWWWWWWWWWWYAAAAAAAAAAAAAAAAAWWWWWW PEW PEW PEW PEW BOOM BOOM BOOM!! Nice I love this!!!! Ferriswheel bomb, Dive bomb. New Logic discovered thanks to Kenosis
It'd be good to get the SHP editor to at lest Paint.NET quality.
What for? I believe that SHP editor should only be able to convert SHP files, have simple drawing elements (minimum set, no more than a classic Paint), as well as to be able to change the index palette and change the sequence of frames. I do not see the need for greater functionality.
I don't agree. The editor should not be worse than something simple but yet useful. Paint is junk. Being as useful at drawing as Paint would kinda suck.
I think there should be only conversion tools + tools eliminate incorrect pixels. Use any other advanced editor for creating graphics. QUICK_EDIT
I'm sorry to drop a dead tool on the community, but I don't much have the desire to work on anything C&C related recently.
It has been a large part of my life so far but life changes and I don't have the time anymore. Hopefully I can find time to visit and possibly return in the future. QUICK_EDIT
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