Staredit Network

Staredit Network -> Modding Chat -> GRPEdit: Making GRP-manipulations easy
Report, edit, etc...Posted by BroodKiller on 2006-11-18 at 17:52:32
Hello people,
It's been some time since I made the last update to DatEdit, which seems to have eventually arrived at the the top of its potential. Since then, quite many things hapenned, of those most worth mentioning are ShadowFlare's releases of SFGrpConv and her update of IceCC. I had my own, also real life, matters to attend to, but I managed to find a few hours to put into more serious progress a project that I had in mind for a few months already - GRPEdit.
As its title suggests, it is (or in fact will be, as it's still in the beta stage) a nifty program that will allow you to manipulate the GRP files both ways (from-GRPs and to-GRPs) in an easy, correct and efficeient manner, something that the SC modding community has lacked so far.

At the current stage of development, I have finished the the bigger part of the GRP-exporting features, and I still have to do the importing part, but I do not expect this to take me very long, simply because the complexity of the problem is not very high. For the same reason, I am not listing all the program's current features, as they are pretty obvious (see screenshot below).

Do not expect me to give you a fixed release date just now, but believe me that it won't be very far from today. I am just giving a heads up to all you modding folks that some new 'stuff' will probably arrive soon smile.gif
At this point let me also express my gratitude to ShadowFlare, who created the GRPAPI, without which this project probably wouldn't be ever started smile.gif

Of course, the reason I am making this pre-release topic is to collect your ideas, comments and feedback about the program, so that it can become a much better and more useful application. As always: if you feel like you have something to say - don't hesitate to say it smile.gif

-Uncle Broody

Some of you have already seen it, but for those that hasn't, here is a screenie:
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-11-18 at 18:57:04
Ah, StarCraft modding is ever evolving. Good work! smile.gif
Report, edit, etc...Posted by Doodle77(MM) on 2006-11-18 at 19:16:17
Pwnage.
I'm working on a replacement for TBLPad, since you can't associate files with it :/
Report, edit, etc...Posted by BroodKiller on 2006-11-18 at 19:29:46
Why not ask the author for it? ShadowFlare is around here quite often.
Report, edit, etc...Posted by Ojan on 2006-11-18 at 19:44:15
One of the things I always hated about RetroGRP was the fact that you had to click on the 'next' button once for every frame you wanted to see. If you wanted to look at all the marine's frames, it would be a good 200 clicks.... A simple control like the one in the screenshot I'll attach shows a much better way of doing it - less space and a better control, since you can just hold down the up or down arrows to scroll.

This would of course make the whole listing to the left useless, so a list with previews of the first frame of GRPs in a folder you specify would be awesome to have there instead, like the explorer in Thumbnail-mode.... Perhaps what I'm asking is some extensive programming, but you wanted suggestions :P
Report, edit, etc...Posted by Pie_Sniper on 2006-11-18 at 19:47:10
I always liked the way LoEdit uses a slider.
Report, edit, etc...Posted by Kookster on 2006-11-18 at 20:07:04
Humina Humina. Did you use anything from Shadowflares converter?? cause she said she wasnt gonna finish it.
Report, edit, etc...Posted by Doodle77(MM) on 2006-11-18 at 20:23:50
QUOTE
Why not ask the author for it? ShadowFlare is around here quite often.

I doubt she would still have the source.
Report, edit, etc...Posted by BroodKiller on 2006-11-18 at 20:26:21
Nope, it's all my own (apart from the GRPAPI of course). In fact, I begun works on GRPEd some time ago, and I was talking to SF about it. It's bad news SFGrpConv won't make it any further :/

Ojan>Maybe, but in the same way you can just press the Down arrow in the frame listing and achieve the very same result. For more, the listing is constructed in such a way that you can easily jump by 17 frames just by pressing the left/right arrow. As for space, I don't see any good reason to save it - I was actually having a problem with what to put into it in the first place! smile.gif

Pie_Sniper>Me too I thought about the slider, but it is not precise enough, to my mind.

EDIT:Doodle>Yeah, you're right. I remember her saying that she lost the source for it.
Report, edit, etc...Posted by Voyager7456(MM) on 2006-11-18 at 20:29:47
Is that the Civillian Building GRP from SCR?

Looks good, BroodKiller... It's good to get some replacements to these ancient programs.
Report, edit, etc...Posted by BroodKiller on 2006-11-18 at 20:33:27
Voy>Yes it is, but I have it from the times long ago, when I was a modder for this project. Btw, I always thought it was the Energy Tribunal...wink.gif
Report, edit, etc...Posted by SubFocus on 2006-11-18 at 20:35:02
As much as I hate that my best modding skill is .GRP making, this will hopefully shave off time it takes for me to perform my art biggrin.gif . I'm routin' for yah buddy.

My only suggestion is: A play button.

So that you can watch it rotate each time. This would help point out mistakes made.
Report, edit, etc...Posted by TheNomad on 2006-11-18 at 23:20:25
Good job and re-welcome back Broody smile.gif

QUOTE(SubFocus @ Nov 19 2006, 04:35 AM)
My only suggestion is: A play button.


Agreed, a PLAY (maybe under Y Size) being replaced by STOP while playing is good, and maybe grp and ral associations.

I also think it'd be better to maybe replace the "Extract One" and "Extract All" buttons with just one called "Extract..." which (by the obvious ellpisis a dialog would appear that) will let you choose whether you will "Extract Selected" or "Extract All". By "Extract Selected" I'm implying "Shift + Click" would allow you to enqueue frames in a row while "Ctrl + Click" allow you to jump-select frames, just like normally in Windows.

Along its side a nice "Make GRP" would also be good smile.gif
"Open File" would be nice to allow you both, ral AND grp browsing.
Maybe an option to delete/add frames just in case we had second thoughts on the grp as well ?

Just a (few) thought(s) smile.gif
Report, edit, etc...Posted by ShadowFlare on 2006-11-19 at 00:52:44
QUOTE(Pie_Sniper @ Nov 18 2006, 06:47 PM)
I always liked the way LoEdit uses a slider.
[right][snapback]591239[/snapback][/right]

Yeah, and displaying the GRP frames as you scroll should be fast enough that this would be feasable, I think. Although, it may not really be necessary, considering the way it is shown in the GRPEd screenshot.

QUOTE(Kookster @ Nov 18 2006, 07:07 PM)
Humina Humina. Did you use anything from Shadowflares converter?? cause she said she wasnt gonna finish it.
[right][snapback]591248[/snapback][/right]

QUOTE(BroodKiller @ Nov 18 2006, 07:26 PM)
Nope, it's all my own (apart from the GRPAPI of course). In fact, I begun works on GRPEd some time ago, and I was talking to SF about it. It's bad news SFGrpConv won't make it any further :/

I never really said specifically that I wasn't going to finish it. tongue.gif This will make it so I don't need to, though. lol I could instead focus on that IceCC IDE I've started, which will not only help with using IceCC, but will basically be a replacement for ICE as well if I implement the planned features.

Hmm, if I remember correctly, I coded the GRP encoder function in GRPAPI because you requested it for this program. BTW, if it would help at all, I'll give you the source code for my progress so far on the converter I made.

Here's what I had in my todo list for my grp converter, along with some added comments:

- 24-bit support and 8-bit RLE support, probably only on import (and possibly other formats for import or export)
- Support exporting and importing masks for transparency, like the converter with StarDraft. Technically, there is no transparency color in Starcraft, that is just a RetroGRP convention. A transparency mask would be the way to do it for those who do not want to designate a color for transparency. Also, a transparency mask can be directly extracted from the image being made, when using certain image editors.
- Automatically find a count of numbered bitmaps, so it is possible to just open the first one and not need to specify how many there are.
- Support for being used with a file association
- MPQ support, for importing and exporting
- Preview, which is already covered in your program. happy.gif
- Tips area (like DatEdit) -- might not really be applicable if the options in your program are self-descriptive enough, unlike the initial design for my converter.
Report, edit, etc...Posted by wingedcloud on 2006-11-19 at 02:15:55
though i hate grp edit for its LONG and TIME DRAINING art problems, this might help me, since all the all (?) of broodkillers' modding tool are quite easy to use and POWERFUL... hope u can release it soon.
Report, edit, etc...Posted by BroodKiller on 2006-11-19 at 05:24:58
QUOTE(SubFocus @ Nov 19 2006, 03:35 AM)
My only suggestion is: A play button.
So that you can watch it rotate each time. This would help point out mistakes made.

Hmm...but do you want just a simple consectuive playback of all the frames, one after another,or something more advanced? To cut the talk - no, I do not have plans for Iscript integration with GRPEd.

QUOTE(TheNomad @ Nov 19 2006, 06:20 AM)
I also think it'd be better to maybe replace the "Extract One" and "Extract All" buttons with just one called "Extract..." which (by the obvious ellpisis a dialog would appear that) will let you choose whether you will "Extract Selected" or "Extract All". By "Extract Selected" I'm implying "Shift + Click" would allow you to enqueue frames in a row while "Ctrl + Click" allow you to jump-select frames, just like normally in Windows.

What's the point in replacing 1 click with 2 clicks? But the "Extract Selected" button is a good idea, I will replace the "Extract One" with it smile.gif

QUOTE
Along its side a nice "Make GRP" would also be good smile.gif
Maybe an option to delete/add frames just in case we had second thoughts on the grp as well ?

It doesn't have the Make GRP button because I haven't coded that routine yet. As for adding/removing frames, this is planned indeed, and at specific spots.




QUOTE(ShadowFlare @ Nov 19 2006, 07:52 AM)
Yeah, and displaying the GRP frames as you scroll should be fast enough that this would be feasable, I think.  Although, it may not really be necessary, considering the way it is shown in the GRPEd screenshot.

Although I would like otherwise, for big graphics the scrolling is not 100% smooth, I mean - if you browse through frames using the list (by pressing an arrow key), it wont' show all the previews. It is the case with the GRP from the screenie, which is 256x256, but I can't tell right now what size is a "border" for this. Or maybe it's just the matter of the processor I am using, because I'm working on my good old Duron 800Mhz smile.gif

QUOTE
I never really said specifically that I wasn't going to finish it. tongue.gif  This will make it so I don't need to, though. lol  I could instead focus on that IceCC IDE I've started, which will not only help with using IceCC, but will basically be a replacement for ICE as well if I implement the planned features.

I have retaken the GRP-idea then, you keep the Iscript smile.gif Mind sharing (privately) the progress? cool1.gif
QUOTE
Hmm, if I remember correctly, I coded the GRP encoder function in GRPAPI because you requested it for this program.  BTW, if it would help at all, I'll give you the source code for my progress so far on the converter I made.

That would be great smile.gif

QUOTE
Here's what I had in my todo list for my grp converter, along with some added comments:
- 24-bit support and 8-bit RLE support, probably only on import (and possibly other formats for import or export)

I plan to stick to the bitmaps for the beginning. I've done some research over other formats, and the only plausible one I found was GIF. The others are too much of a hassle.
QUOTE
Support exporting and importing masks for transparency, like the converter with StarDraft.  Technically, there is no transparency color in Starcraft, that is just a RetroGRP convention.  A transparency mask would be the way to do it for those who do not want to designate a color for transparency.  Also, a transparency mask can be directly extracted from the image being made, when using certain image editors.

...I think I need to learn a bit about graphic editing first wink.gif
QUOTE
- Automatically find a count of numbered bitmaps, so it is possible to just open the first one and not need to specify how many there are.

This is easy, with the obvious restriction that all the files have the same name and differ only in the IDs, I have already done something similar, to search for the palette files present.
A problem I can imagine here is when frames are missing. It is no problem just to skip over, and continue if there are more files present but the question is - how big should be the tolerance level? 1,2,5,10 frames?
QUOTE
- Support for being used with a file association

I personally don't like file associaton, especially here, as Windows uses the GRP files for its own purposes, but I may think of it one day smile.gif
QUOTE
- MPQ support, for importing and exporting

No problem with this, as I've done it in DatEd before.

QUOTE(wingedcloud @ Nov 19 2006, 09:15 AM)
though i hate grp edit for its LONG and TIME DRAINING art problems, this might help me, since all the all (?) of broodkillers' modding tool are quite easy to use and POWERFUL... hope u can release it soon.

Wow, you hate it even before you used it? wink.gif As for a release, I plan to have a working beta before Christmas.
Report, edit, etc...Posted by wingedcloud on 2006-11-19 at 05:34:03
it is TIME CONSUMING after all... plus my computer art is not even at the basic level... i dont even have a computer scanner... sad right?
Report, edit, etc...Posted by Ojan on 2006-11-19 at 08:03:43
QUOTE
I personally don't like file associaton, especially here, as Windows uses the GRP files for its own purposes, but I may think of it one day

File associations are bad when the program "tricks" the user into enabling it, thinking it's a good thing. However, when the user knows what (s)he's doing, file associations are very good. I have never once messed with *.grp-files that are not StarCraft files, so such an association would be awesome for me. The same goes for .dat's, but they are of course an even more general file type. However, I would like to associate them with DatEdit, since I never open .dat files in any other program, and if I would, I'd use that programs Open dialog, not the windows Explorer :p

Please consider implementing it ;)
Report, edit, etc...Posted by BroodKiller on 2006-11-19 at 08:13:41
Yeah, well...I probably will. It won't hurt if it's the user who decides whether or not to associate an extension with the program. As they say, blame yourself tongue.gif
Report, edit, etc...Posted by Ojan on 2006-11-19 at 08:23:41
Wonderful! I shall be rejoicing!

Since you need to update DatEdit due to bugs still being present, you wouldn't happen to feel like implementing that feature there too? biggrin.gif

Pretty please with sugar on top?
Report, edit, etc...Posted by BroodKiller on 2006-11-19 at 08:34:49
...clean the fukin' car biggrin.gif (I couldn't resist, this is my most beloved movie). And I shall see into that, but I don't promise anything.
Report, edit, etc...Posted by TheNomad on 2006-11-19 at 09:26:37
You didn't mention my grp and ral association suggestion wink.gif
That is to maintain a SMALL compatibility between RetroGRP and GRPEd users.

Also, maybe a direct support for gifs (as in grps are in a way gifs, animation wise), so that opening a gif would open all frames just like with a grp. Unles it's too much of a hassle for you smile.gif

As for PLAY, I think he meant a simple one like I did. As for IScript support, who knows... it'd be nice, but this is, afterall, a GRP editor wink.gif
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-11-19 at 13:43:13
w00t.gif I can't wait. If it's possible to have problems with a modding program, I've had them: AIII crashed like crazy, RetroGRP corrupts my files mercilessly, and GRPED outputs in weird colors, not to mention that Stardraft SE kind of fails at life. So I'm really looking forward to this...
Report, edit, etc...Posted by BroodKiller on 2006-11-19 at 15:10:55
LA>You meant GRPConv, I presume, as GRPEd will be this very application:)
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-11-19 at 15:25:08
Oops. Yeah. That.
Next Page (1)