Jump to content
mvi

[TUT]Converting R16 images to TGA

Recommended Posts

Great, Gruntlord6 has sent me some of the files and taking a look at them, I think there may be enough information for me to finish the R8/R16 Resource Editor I started a couple of years ago. 

  • Upvote 3

Share this post


Link to post
Share on other sites
Great, Gruntlord6 has sent me some of the files and taking a look at them, I think there may be enough information for me to finish the R8/R16 Resource Editor I started a couple of years ago. 

That file manager is terrible, the graphics make it look like it was designed for windows 3.0

Share this post


Link to post
Share on other sites
Great, Gruntlord6 has sent me some of the files and taking a look at them, I think there may be enough information for me to finish the R8/R16 Resource Editor I started a couple of years ago. 

I hope you can figure it out. When looking at the first image in MOUSE.R16, it looks like the raw data (in XVI32) contains no shadow, but the exported image clearly has it. I don't know how that is possible, I'm no computer hacker.

 

Now that the 16bit images are "loose", it's so easy to make a nice animation:

 

25i50cg.gif

 

11bhlsp.gif

  • Upvote 4

Share this post


Link to post
Share on other sites
I hope you can figure it out. When looking at the first image in MOUSE.R16, it looks like the raw data (in XVI32) contains no shadow, but the exported image clearly has it. I don't know how that is possible, I'm no computer hacker.

 

Now that the 16bit images are "loose", it's so easy to make a nice animation:

 

25i50cg.gif

 

11bhlsp.gif

Wow these look good! Think you could make a more complex one? Like a siege tank killing a light infantry?

Share this post


Link to post
Share on other sites

Thanks for link to plugin!

-

Total Commander is NOT Trial version. It simply gives you a nag screen when you start it (You have to press 1, 2, 3) and nothing else, no limitations, no delays, regardless you have used it for 1 day or 1 century!!!

Share this post


Link to post
Share on other sites

well i found out about total commander from these forum a post from this forum....

sad thing is that you guys overlooked it...

MVI nice i guess you can finish it and also can you add the r16 packer in it??

Share this post


Link to post
Share on other sites

Very nice progress guys. Sard, your animations are just awesome! :)

Share this post


Link to post
Share on other sites
Thanks for link to plugin!

-

Total Commander is NOT Trial version. It simply gives you a nag screen when you start it (You have to press 1, 2, 3) and nothing else, no limitations, no delays, regardless you have used it for 1 day or 1 century!!!

Main limitation being its really buggy and outdated.

Share this post


Link to post
Share on other sites

You refer to Total Commander or the plugin? Total Commander has never crashed on me. Outdated? August 3, 2012?

Share this post


Link to post
Share on other sites
You refer to Total Commander or the plugin? Total Commander has never crashed on me. Outdated? August 3, 2012?

Referring to the user interface and installer design. Just because he has worked on it recently, doesn't mean its not hideously designed and severely lacking in features (creating a folder didn't seem to be an option, and if it is one, it is poorly designed). The plugin couldn't really be very buggy, although it corrupts the bmp conversion and cant extract certain r16 files.

  • Upvote 1

Share this post


Link to post
Share on other sites

I've resumed development on my Resource Editor, for those who haven't seen what it looks like, here's a screenshot:

 

gykrr0O.png

  • Upvote 2

Share this post


Link to post
Share on other sites

Great news!

 

Small feature request is that the tool has miniature previews so it's easy to find the image you are looking for. But!, if it's too much work, unstable (or laggy) please don't waste your time on it. Maybe one big exported image containing all the images and index numbers might also be enough.

 

Future thoughts:

Another perhaps useful feature would be to combine image sequences so it's easier to export animations and re-import them. Is there actually a data file that contains information on what images are used for animation and together with what image as background? For example that the data says which images need to be used to generate the "blinking" effect when building a tank in the heavy factory. Combining that information with the images in data.r16 would make modding easier.

Share this post


Link to post
Share on other sites

Nice ideas :-)

 

I fixed a bug in the R16 loading, so graphically it looks ok now.

 

It turns out where I'd left the resource editor last year was actually reasonably complete, there's still lots of sprites it doesn't handle yet, so it skips quite a few. 

 

LT4qB5C.png

 

Bi0CAwo.png

  • Upvote 1

Share this post


Link to post
Share on other sites

Looks like I was already reading those entries that UnPacker loads as bitmaps, I just wasn't adding them to the list. I've hooked those entries up to the PALETTE.BIN now. With the inclusion of those entries, my tool comes back with an entry count of 5105 for both Data.R8 and Data.R16. Which is the same as the count that UnPacker returns. What's interesting to note is that the Dune 2000 Image Converter, which only supports R8 will only load 4997 entries for Data.R8, so I guess they skip a few.

 

By hooking those entries to PALETTE.BIN I now appear to get the same results as UnPacker, including those images which clearly have the wrong palette.

Share this post


Link to post
Share on other sites
and severely lacking in features (creating a folder didn't seem to be an option, and if it is one, it is poorly designed).

And what does "F7 NewFolder" button stand for?

Share this post


Link to post
Share on other sites

kb2PqBX.png

 

For anyone curious as to what is contained in UIBB

  • Upvote 1

Share this post


Link to post
Share on other sites

Ok I set the contents of UIBB.R16 to pure white, then played the game. You can see in the following image what sections of the game are drawn from UIBB

 

AvZWhzf.png

Share this post


Link to post
Share on other sites

Wow nice progress. One question: in which file are the sidebar icons? Last time I searched for them I couldnt find anything (used Magic Team's extractor).

Share this post


Link to post
Share on other sites
Wow nice progress. One question: in which file are the sidebar icons? Last time I searched for them I couldnt find anything (used Magic Team's extractor).
it is there in it... number 4xxx...

try and see....

Share this post


Link to post
Share on other sites
In which file...

Are you talking about this icons?

 

post-19735-0-46672100-1364636732_thumb.j

 

They are in Data archive.

Other icons (repair, sell, etc) are in UI_ENG archive.

Share this post


Link to post
Share on other sites
Nice ideas :-)

 

I fixed a bug in the R16 loading, so graphically it looks ok now.

 

It turns out where I'd left the resource editor last year was actually reasonably complete, there's still lots of sprites it doesn't handle yet, so it skips quite a few. 

 

[image]

[image]

Looking good. Excuses for complaining right away, but I would rather have a zoom function that enlarges the image on "pixel level" so no blur. You have opened a .R16 file, but the "Bits Per Pixel" still says 8? A little luxury would be if I can export the images without the pink background and a nice big button that says "Export all". :-)

 

Is it also possible to make an image bigger or smaller in dimension? What will happen?

 

AvZWhzf.png

Those parts that are white look a lot like those are missing in the high resolution patch from N.Kindt.

Share this post


Link to post
Share on other sites
Are you talking about this icons?

 

attachicon.gifIcons.jpg

 

They are in Data archive.

Other icons (repair, sell, etc) are in UI_ENG archive.

Yeah, those are the ones! Thank you :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...