Author Topic: CVR Editor v1 (4/2/2014) is now available.  (Read 7934 times)

0 Members and 1 Guest are viewing this topic.

Offline Ford_Prefect

CVR Editor v1 (4/2/2014) is now available.
« on: March 23, 2014, 10:01:21 PM »
  • Publish
  • Screenshot:


    Download

    Changelog:
    Version 1:
    * Multi-part objects load correctly.
    * Save (Ctrl s) has been added.
    * Undo (Ctrl z) has been added.  You can undo the last 100 changes.
    (click to show/hide)

    Notes:
    • Requires python 3 to run.  https://www.python.org/
    • I recommend Caviar Player to quickly preview the results of your work
    • Middle mouse click will zoom in/out on a view.  Makes editing allot easier.
    • The program doesn't know what all the colors should be.  If you look at the bottom right of the palette, I have the unknown colors represented with a pinkish purple.  You can change what color is used to represent the unknown in the options.
    • https://github.com/uaEquals42/CVR-Colorizer is where I'm working on the code.
    • Save as - Will save as a cvr file.
    • Export - Will save the data as a text file that is machine and human readable.
    • < >    Will cycle through any submeshes (if more than 1 exists)
    • |< >|  Will cycle through the parts (if more than 1)
    • Here is a handy list of cvr files
    Known bugs:
    • Occasionally, an unknown color will be represented with black. 
    • Undo is slow
    • Many colors are unknown as to what color should be displayed.  I can't fix this until someone figures out where the rest of the color codes are stored in the .cvr files.

     Caviar (.cvr) specification. (WIP)
    « Last Edit: April 20, 2014, 04:06:29 PM by Ford_Prefect »

    Offline BUncle

    • Through kittehz, I
    • Transcend
    • *
    • Posts: 42311
    • €719
    • View Inventory
    • Send /Gift
    • Someone thinks a Winrar is You!  Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  
    • AC2 is my instrument, my heart, as I play my song.
    • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
      • View Profile
      • My Custom Factions
      • Awards
    Re: CVR Editor Alpha is now available.
    « Reply #1 on: March 23, 2014, 10:05:46 PM »
  • Publish
  • :D :D :D :D :D :D :D :D :D :D
    ;b; ;b; ;b; ;b; ;b; ;b; ;b; ;b;
    :danc: :danc: :danc: :danc: :danc: :danc:
    :unworthy: :adore: ;worship
    :danc: :danc: :danc: :danc: :danc: :danc:
    ;b; ;b; ;b; ;b; ;b; ;b; ;b; ;b;
    :D :D :D :D :D :D :D :D :D :D

    Offline Ford_Prefect

    Re: CVR Editor Alpha is now available.
    « Reply #2 on: March 23, 2014, 10:20:43 PM »
  • Publish
  •  :D

    If anyone is confused, once you have python 3 installed, the file you want to run is cvrColorizer.py.
    CVR.py is the backend that does allot of the heavy lifting.  All the gui code is contained in cvrColorizer.

    Offline Ford_Prefect

    Re: CVR Editor Alpha is now available.
    « Reply #3 on: March 24, 2014, 02:37:47 AM »
  • Publish
  • Soooo...... anyone try it out yet?  How you like it?

    Also http://www.weplayciv.com/forums/showthread.php?6789-HOW-TO-SMACX-caviar-files-listed has a handy list of the cvr files.

    Offline Geo


    Offline Geo

    Re: CVR Editor Alpha is now available.
    « Reply #5 on: March 24, 2014, 05:25:52 PM »
  • Publish
  • At first look it will be slow-running on my desktop. Will tinker a bit more later on, after groceries are done.

    Offline Ford_Prefect

    Re: CVR Editor Alpha is now available.
    « Reply #6 on: March 24, 2014, 06:30:42 PM »
  • Publish
  • Geo - Could you be more specific in what is running slow?  I know of several areas that could be easily optimized to run faster and some that would be really hard to optimize... it would help me if I knew were you were experiencing problems.

    Offline Geo

    Re: CVR Editor Alpha is now available.
    « Reply #7 on: March 24, 2014, 06:49:35 PM »
  • Publish
  • Perhaps it was false alarm. I happened to open the alien colony pod as first try, and this model appears to be among the largest .cvr files in the game. It took 5-10 seconds to load the 6 viewpoints of this model.
    For improvement, the only thing I'd propose right now would be to remember the last folder path used to open a .cvr file. Now it links to the Python folder when the user runs the application.

    Offline Ford_Prefect

    Re: CVR Editor Alpha is now available.
    « Reply #8 on: March 24, 2014, 07:21:30 PM »
  • Publish
  • Oh yeah... the alien colony pod.  That thing takes 5 seconds to load on my fastest computer.  The sad thing is there is only one thing I can think of to speed it up and that would be to make it multi-threaded  :-\ and it would only, at best, double the speed that they are displayed.  :-\

    I know I can make painting faster, but I didn't notice any slowdowns when drawing, so I concentrated on making the program work instead.  But if anyone notices lag when drawing, I would like to know.

    Offline Kilkakon

    • Likes cute things but is
    • Mostly Harmless
    • *
    • Posts: 1143
    • €653
    • View Inventory
    • Send /Gift
    • It does something (It's free and yet priceless)  
    • Creator of Lost Eden and C&C: Dawn of Tomorrow
    • Scenario Creator AC2 Hall Of Fame Custom Faction Modder AC2 Wiki contributor Downloads Contributor Author of at least one AAR Planet tales writer author of the Lost Eden mod for Alien Crossfire
      • View Profile
      • My website!
      • Awards
    Re: CVR Editor Alpha is now available.
    « Reply #9 on: March 26, 2014, 12:20:47 PM »
  • Publish
  • I admit I am retreating away from working on this game, but hey, I hope it helps the next person out. :D It is amazing to have this barrier finally demolished or at least close to. I had to do so much fiddling with the 9 unit pcxs available, haha.

    Offline Linamints

    Re: CVR Editor Alpha is now available.
    « Reply #10 on: March 30, 2014, 07:08:13 AM »
  • Publish
  • Gotta say I LOVE THIS! I've had a lot of fun re-designing units with it.
    My only critique really is the fixed brush size, if you want to go for a re-color it is a very tedious process to recolor with a 1 pixel brush.
    My suggestion would be to put in a toolbox like MS paint has where you can change your brush size between a few different sizes. (or possibly a feature to import textures someday? :D)

    The only bug I noticed was that attempting to do scribbles on the cvrs will make the brush start to fragment, going slower will create nice solid lines though. I'm not sure if it was intentional but just thought I'd point that out.

    Overall I must say, you deserve the highest cheers for this!

    Offline Ford_Prefect

    Re: CVR Editor Alpha is now available.
    « Reply #11 on: April 01, 2014, 11:57:22 PM »
  • Publish
  • http://alphacentauri2.info/index.php?topic=8083.0

    Alpha 2 is now out! 
    Painting now works properly (no more solitary dots).
    Also it remembers the folder you last opened/saved to.
    Plus numerous other bug fixes.

    @Linamints
    I'm thinking about adding different brush sizes.  I just wanted to get alpha 2 out because it fixes allot of the bugs.
    « Last Edit: April 02, 2014, 12:38:04 AM by Ford_Prefect »

    Offline BUncle

    • Through kittehz, I
    • Transcend
    • *
    • Posts: 42311
    • €719
    • View Inventory
    • Send /Gift
    • Someone thinks a Winrar is You!  Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  
    • AC2 is my instrument, my heart, as I play my song.
    • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
      • View Profile
      • My Custom Factions
      • Awards
    Re: CVR Editor Alpha is now available.
    « Reply #12 on: April 02, 2014, 02:36:24 AM »
  • Publish
  • What I'd really like is the ability to copy/paste to and from other graphics editors...

    Offline BUncle

    • Through kittehz, I
    • Transcend
    • *
    • Posts: 42311
    • €719
    • View Inventory
    • Send /Gift
    • Someone thinks a Winrar is You!  Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  
    • AC2 is my instrument, my heart, as I play my song.
    • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
      • View Profile
      • My Custom Factions
      • Awards
    Re: CVR Editor Alpha is now available.
    « Reply #13 on: April 02, 2014, 03:50:08 AM »
  • Publish
  • BTW, let me know when you're ready for publicity, and we'll put our heads together and I can promote the heck outta yer .cvr editor the way Yitzi's patch is getting a push right now.  It's good for AC2, and it's good for getting your mod into maximum user hands. ;b;

    Offline Linamints

    Re: CVR Editor Alpha is now available.
    « Reply #14 on: April 02, 2014, 11:21:20 AM »
  • Publish
  • @Ford_Prefect Wow that was fast! I love the improved brush function. It really helps a ton.

    Edit: I did notice a bug though that is a bit critical. Using the save option does not appear to be saving the files any longer. By habit I add .cvr to my filenames, this has worked fine so far but I noticed this evening the changes made no longer seem to be saving. When not adding .cvr to my filenames manually it doesn't seem to register it as a cvr, even pasting it into the game folder won't replace the original cvr file.  The normal cvr files tend to have an icon that is a page with icons on it, the cvr files saved without adding the extension manually save as a blank page. I have tested a few different methods of tinkering with the cvr extension but none of them have resulted in the files loading via the program or AC with the changes made actually being saved.

    And just for the sake of information, I was editing Drop.cvr on Windows 7.

    I was also a bit curious what features are planned/in the works, and if you wanted people to offer suggestions for additional features?

    Though I must say, I am really impressed with the program's stability and performance so early in it's creation. You've done a great job on this!
    « Last Edit: April 02, 2014, 11:46:27 AM by Linamints »

     

    * User

    Welcome, Guest. Please login or register.
    Did you miss your activation email?


    Login with username, password and session length

    Select language:

    * Community poll

    SMAC v.4 SMAX v.2 (or previous versions)
    -=-
    14 (6%)
    XP Compatibility patch
    -=-
    7 (3%)
    Gog version for Windows
    -=-
    45 (22%)
    Scient (unofficial) patch
    -=-
    22 (10%)
    Kyrub's latest patch
    -=-
    13 (6%)
    Yitzi's latest patch
    -=-
    77 (38%)
    AC for Mac
    -=-
    2 (0%)
    AC for Linux
    -=-
    5 (2%)
    Gog version for Mac
    -=-
    7 (3%)
    No patch
    -=-
    9 (4%)
    Total Members Voted: 201
    AC2 Wiki Logo

    * Random quote

    You are orphans, earthdeirdre, your homeworld already buried so young among the aeons. Yet now you fill the skies where we watched a million sunsets with flame and contrails, paying no heed to the hard lessons the universe has tried to teach you. Are you a breath of life to invigorate a complacent world, you earthhumans, or an insidious cancer which must be excised?
    ~Lady Deirdre Skye ’Conversations With Planet’

    * Select your theme

    *

    Facebook Comments