IPB

Welcome Guest ( Log In | Register )

C&C Cameo Studio V1.0, Alpha Release
acidbrain
post 26 Feb 2017, 20:01
Post #1



Group Icon

Group: Members
Posts: 12
Joined: 26 February 2017
Member No.: 14657



Hello All,

Made an application for Generals and zero Hour, you can use it to create spritesheets.
I wrote it in java and you will need a minimum of java 1.8.0_101.
Feel free to notify me if you find stuff that is not ok or if you find stuff that can be done better.
At this moment only .png files can be imported and exported but it doesnt take that much time to convert an image to .png or .tga with Paint.NET.



An overview window can be opened where all the data from the added cameos is displayed.


A tutorial is included in the application.


Generated .ini file example.


Generated texture example


The application creates new directories so it is best to create a shortcut to the .exe and put that on your desktop.
Im not a pro programmer so all feedback is welcome, i spent quite a bit of time on the application so i would appreciate it if you let me know what you think of it...

Greetz

This post has been edited by acidbrain: 26 Feb 2017, 20:08
Attached File(s)
Attached File  C_C_Cameo_Studio_V1.0.rar ( 1.86MB ) Number of downloads: 43
 
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Stalker
post 27 Feb 2017, 10:04
Post #2



Group Icon

Group: Dev. Team
Posts: 276
Joined: 10 June 2009
From: Austria
Member No.: 123



Nice work! Let's see if it's faster than my optimised manual method xD

To use TGA files in java you can use this (I used it recently and it worked fine):

https://github.com/tmyroadctfig/com.reality...ive/imageio/tga


CODE
//You simply need to call this at one point

IIORegistry registry = IIORegistry.getDefaultInstance();
registry.registerServiceProvider( new com.realityinteractive.imageio.tga.TGAImageReaderSpi());

//Then read/write files with

BufferedImage image = ImageIO.read(file);



EDIT: I also used a dds plugin from here

https://github.com/GoldenGnu/java-dds/tree/...va/net/nikr/dds

Works just the same. Register the SPI class and use ImageIO

This post has been edited by Stalker: 27 Feb 2017, 12:40
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 27 May 2024 - 21:02