IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
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
The_Hunter
post 26 Feb 2017, 22:28
Post #2



Group Icon

Group: Administrator
Posts: 5732
Joined: 31 May 2009
From: The Netherlands
Member No.: 1
Projects: SWR Productions
Bitch slapping SAGE since 2003



This looks pretty nice does it include a zoom function ?

Thats pretty much the only thing missing from the Generals cameo mapper found here : http://gendev.cncguild.net/page.php?file=camap_down


--------------------
Go to the top of the page
 
+Quote Post
acidbrain
post 27 Feb 2017, 4:14
Post #3



Group Icon

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



Nope it doesnt have a zoom function (yet), give the app a try and compare it with cameo mapper, i tried all the cameo mapper versions but i could only get one to work.
We had a discussion about imagepacker on cnclabs a while ago and i proposed to make a new image packer in java, im still a beginner when it comes to java so it was a good practice app for me.
Here are some links from the cnclabs forum:
ImagePacker.exe thread
Cameo Studio thread

About the zoom, do you want to zoom in on the cameo or something?, imho i dont think zoom is needed in my app but thats just my humble opinion, try it and see for yourself.
I can implement the zoom if i have figured out how to do it, im open for all ideas..tongue.gif

Greetz
Go to the top of the page
 
+Quote Post
Stalker
post 27 Feb 2017, 10:04
Post #4



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
acidbrain
post 27 Feb 2017, 12:35
Post #5



Group Icon

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



Have been struggling with the .tga and .dds files for a while, not experienced enough yet I think.
Thanks for the info, going to check it out.
Go to the top of the page
 
+Quote Post
acidbrain
post 3 Mar 2017, 6:47
Post #6



Group Icon

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



How do you add the plugins to your project?, i have been testing stuff for a few hours now, managed to build the ant project but am struggling to add it to my project so it is usable, never worked with ant, maven and plugins so it is new to me.
Go to the top of the page
 
+Quote Post
Stalker
post 3 Mar 2017, 16:32
Post #7



Group Icon

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



QUOTE (acidbrain @ 3 Mar 2017, 6:47) *
How do you add the plugins to your project?, i have been testing stuff for a few hours now, managed to build the ant project but am struggling to add it to my project so it is usable, never worked with ant, maven and plugins so it is new to me.


Even though it's probably not the most elegant solution I just added the packages and .java files to my project's source code.
Go to the top of the page
 
+Quote Post
acidbrain
post 9 Sep 2017, 8:02
Post #8



Group Icon

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



Hey fellaz,

Added some new stuff to the application.
You can load png, jpg, tga, dds and psd images now and save as png or tga.
Have fun with it...

Greetz
Attached File(s)
Attached File  C_C_Cameo_Studio_V1.1.rar ( 1.89MB ) Number of downloads: 16
 
Go to the top of the page
 
+Quote Post

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: 19 March 2024 - 12:16