[Release] "Сoffee", the Ultimate COF Editor v.2.0

This would be the forum for questions about how to work with mod making tools which can be a problem of its own.

Moderator: Paul Siramy

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

[Release] "Сoffee", the Ultimate COF Editor v.2.0

Post by jetaman » Sun Sep 04, 2016 9:20 pm

Hello everyone,
Across the history of Phrozen Keep there were many people who announced making .cof editor, but these projects were never finished. The only available tool is DOS-based cof editor which doesn't have interface and very limited functions. Today I'm presenting you The Ultimate COF Editor, "Coffee". COF editing has never been easier, now it's really like having a cup of coffee :) It was written by a programmer by the name "Hz" by my request it's written in C++ (v.1.0 was based on Delphi). It can do everything you ever wanted to do with .cof files in real time, and also this tool can edit the Layer Priorities, which hasn't been possible before. On the screenshot you can see the explanation of the interface.

Image

This version has many new features:
  • Holding Left mouse button on the Animation preview window and move left/right – quickly rotate the directions.
  • Holding Middle mouse button on the Animation preview window and move left/right – increase/decrease the speed of animation.
  • Holding Right mouse button on the Animation preview window – move the image.
  • Double click on the Animation preview window – restore center position.
  • Left Click on the number next to the layer name – turn layer on/off
  • Middle Click on the layer name in The Layer Priorities section – fill the column with this layer.
  • Select one or more cells in The Layer Priorities section, then drag&drop with the right mouse button to swap the letter codes

    [v.1.0 update]
  • labelled two unknown bytes;
  • added shadow to animation preview window;
  • added an option to play animation once or loop;
  • added bounding box display in animation preview window;
  • fixed some small bugs;
[v.2.0 update] - 14.01.2019
The program was rewritten in C++. Fixed bugs related to launching and running. Now you don't need any other files, just the .exe.

[v.2.1 update] - 15.01.2019
-Fixed one minor bug.

To open .cof files you need to set the directory to the folder which contains the tokens, for example data\global\monsters.
Image

And also you can open .cof files directly from your folder, for example data\global\chars\so\SONUHTH.cof
When you press "Save" the program will create a backup file in the "Backup" folder.
Here is the demonstration of my test character animation, where I edited the layer priorities, to make the layers play correctly.



Download

Please write your comments and bugs feedback in this thread.

Credits:
Necrolis, Lectem, Kingpin, Ogodei for help with some of the unknown bytes.
Paul Siramy, for his dcc decoder.
Roman Moroz for rewriting the tool in C++
All members of Phrozen Keep community!
Last edited by jetaman on Tue Jan 15, 2019 3:11 pm, edited 11 times in total.

User avatar
huohuowu2
Junior Member
Paladin
Posts: 154
Joined: Sat Feb 28, 2015 4:20 am
China

Re: [Release] "Сoffee", the Ultimate COF Editor

Post by huohuowu2 » Mon Sep 05, 2016 6:35 am

thank you.
This tools is helpful to me.

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor

Post by jetaman » Tue May 01, 2018 12:58 pm

[Update] Version 1.0 released. Some new features added. Read first post! Download new version :D

User avatar
krakenn
Posts: 56
Joined: Fri Oct 23, 2009 1:16 am
Location: Kansas City, MO
United States of America

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by krakenn » Fri Aug 31, 2018 1:56 am

Hello jetaman.
I downloaded this tool in the hopes that it might fix a problem I'm having.
Launching the program brings up the GUI, but I can't figure out how to actually open anything.
Clicking on the open button allows me to browse to a folder, but selecting a folder that has .cof files in it doesn't change the display to show anything related to that .cof file.
Is there some kind of setup I need to do in order to view files properly, or am I missing something obvious?

Edit: Browsing to the data/global/monsters folder allowed me to choose which token I wanted to view, and then it works just fine from there. I was choosing the token folders to start off with, and that didn't work. Thank you for this great tool!

User avatar
huohuowu2
Junior Member
Paladin
Posts: 154
Joined: Sat Feb 28, 2015 4:20 am
China

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by huohuowu2 » Sun Oct 14, 2018 11:21 pm

:cry:
I can't open anything with this version.

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by jetaman » Mon Oct 15, 2018 7:00 am

Right click on a .cof file and choose "open with" and choose coffee.exe. it should work.

User avatar
huohuowu2
Junior Member
Paladin
Posts: 154
Joined: Sat Feb 28, 2015 4:20 am
China

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by huohuowu2 » Mon Oct 15, 2018 7:44 am

8-O
I can edit this now,but why can't save?
I clicked greating and save,nothing be change.

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by jetaman » Mon Oct 15, 2018 8:00 am

The files are saved in output folder.

User avatar
huohuowu2
Junior Member
Paladin
Posts: 154
Joined: Sat Feb 28, 2015 4:20 am
China

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by huohuowu2 » Mon Oct 15, 2018 1:37 pm

I changed the TNSpeed ,the cof was save,but when i open the cof again,nothing change.
I

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by jetaman » Mon Oct 15, 2018 1:41 pm

TNspeed is the speed of your char animation in the Character selection screen, not in game.

User avatar
huohuowu2
Junior Member
Paladin
Posts: 154
Joined: Sat Feb 28, 2015 4:20 am
China

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by huohuowu2 » Mon Oct 15, 2018 2:44 pm

:lol:
Thank you.

User avatar
Specktro
Posts: 78
Joined: Sat Jun 10, 2017 12:49 am
Location: Rio Grande do Sul, Brasil
Brazil

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by Specktro » Thu Nov 29, 2018 4:11 pm

I double click it, right click and chose admin, tried with xp compatibility as well, and it just doesn't open... tried dragging the cof to it and my context menu does not have the "open with coffe" option... downloaded the 1.0 version from link provided in first post... It just does nothing, like clicking on a blank space.. Any necessary program need to be installed? I have all the runtimes and frameworks on, and java and even delphi7 installed... :(
Image
Be Xtreme!

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by jetaman » Thu Nov 29, 2018 5:17 pm

Specktro wrote:
Thu Nov 29, 2018 4:11 pm
I double click it, right click and chose admin, tried with xp compatibility as well, and it just doesn't open... tried dragging the cof to it and my context menu does not have the "open with coffe" option... downloaded the 1.0 version from link provided in first post... It just does nothing, like clicking on a blank space.. Any necessary program need to be installed? I have all the runtimes and frameworks on, and java and even delphi7 installed... :(
Hey, we are working to fix this problem. meanwhile, I uploaded the latest version. You can try and see if it helps.

User avatar
Specktro
Posts: 78
Joined: Sat Jun 10, 2017 12:49 am
Location: Rio Grande do Sul, Brasil
Brazil

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by Specktro » Thu Nov 29, 2018 8:05 pm

jetaman wrote:
Thu Nov 29, 2018 5:17 pm
I uploaded the latest version. You can try and see if it helps
Uploaded to the first post? I downloaded it now and is just the same... Don't work... :(


Edit:
I mean, for me dont work...
Image
Be Xtreme!

User avatar
==DJ==[ZLO]
Posts: 6
Joined: Thu Jul 22, 2004 3:59 am
Location: Belarus
Contact:
Belarus

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by ==DJ==[ZLO] » Fri Nov 30, 2018 6:55 pm

Specktro wrote:
Thu Nov 29, 2018 4:11 pm
I double click it, right click and chose admin, tried with xp compatibility as well, and it just doesn't open... tried dragging the cof to it and my context menu does not have the "open with coffe" option... downloaded the 1.0 version from link provided in first post... It just does nothing, like clicking on a blank space.. Any necessary program need to be installed? I have all the runtimes and frameworks on, and java and even delphi7 installed... :(
Use drag and drop in icon Coffe. panel tool bar "cof file" \DI\Cof\DIA1HTH.COF - Total Commander.
Image

User avatar
huohuowu2
Junior Member
Paladin
Posts: 154
Joined: Sat Feb 28, 2015 4:20 am
China

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by huohuowu2 » Wed Dec 05, 2018 12:16 am

I need make a 4 layers cof like diablo.How to do this from coffe?

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by jetaman » Fri Dec 07, 2018 5:11 pm

Specktro wrote:
Thu Nov 29, 2018 8:05 pm
jetaman wrote:
Thu Nov 29, 2018 5:17 pm
I uploaded the latest version. You can try and see if it helps
Uploaded to the first post? I downloaded it now and is just the same... Don't work... :(
Edit:
I mean, for me dont work...
We tried to fix it. Please download it again and check if it's working.

User avatar
Specktro
Posts: 78
Joined: Sat Jun 10, 2017 12:49 am
Location: Rio Grande do Sul, Brasil
Brazil

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by Specktro » Tue Dec 18, 2018 5:49 pm

Working great!
Thanks jetaman, !!!!!


Edit: Or not.. I can browse to the COF file but nothing opens, the token list shows the LA, HD, LG, etc... but not anything else... and some COF files result in "something goes wrong" List index out of bounds (-1)...

Realy wanted to have fun with your tool... :-|
Image
Be Xtreme!

User avatar
Specktro
Posts: 78
Joined: Sat Jun 10, 2017 12:49 am
Location: Rio Grande do Sul, Brasil
Brazil

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by Specktro » Mon Dec 24, 2018 4:11 pm

Well works perfectly now!

I was aimming to the token folder, and that was my problem. Aimming for the "monsters" folder makes it work great...
Thanks Jetaman for making it clear for me.. And of course for giving us this tool...
Image
Be Xtreme!

Theernestrain
Posts: 12
Joined: Mon Mar 12, 2018 9:39 am

Re: [Release] "Сoffee", the Ultimate COF Editor v.1.0

Post by Theernestrain » Mon Jan 14, 2019 4:52 am

Hey! Thanks for this program. But, unfortunately it is displaying that the link is no longer there.

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor v.2.0

Post by jetaman » Mon Jan 14, 2019 6:20 pm

Coffee has been updated to v.2.0. The tool is now rewritten in C++. All bugs should be gone. Sorry that I had to take it down for a couple days.

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor v.2.0

Post by jetaman » Tue Jan 15, 2019 3:10 pm

[Updated to v.2.1]
-Fixed one minor bug.

Theernestrain
Posts: 12
Joined: Mon Mar 12, 2018 9:39 am

Re: [Release] "Сoffee", the Ultimate COF Editor v.2.0

Post by Theernestrain » Thu Jan 17, 2019 9:25 pm

I have a question. Is it possible to give monster an animation that another monster has using this program? For example, In token 0F, there is a COF for SC. But, I would like the token 0E to have same exact animation. How do I got about that?

User avatar
jetaman
Hosted Forum Moderator
Champion of the Light
Posts: 318
Joined: Sat Jul 18, 2015 7:00 pm
Location: Ukraine
Ukraine

Hand-picked

Re: [Release] "Сoffee", the Ultimate COF Editor v.2.0

Post by jetaman » Thu Jan 17, 2019 9:44 pm

Theernestrain wrote:
Thu Jan 17, 2019 9:25 pm
I have a question. Is it possible to give monster an animation that another monster has using this program? For example, In token 0F, there is a COF for SC. But, I would like the token 0E to have same exact animation. How do I got about that?
Hello. You should clarify what you want to do - 0F is a Madawc, 0E is a Korlic. You can make Korlic to have SC animation mode, but only by copying A1 or A1 mode. You can't make Korlic raise his hands and cast. The animation in D2 are prerendered sprites.

Theernestrain
Posts: 12
Joined: Mon Mar 12, 2018 9:39 am

Re: [Release] "Сoffee", the Ultimate COF Editor v.2.0

Post by Theernestrain » Thu Jan 17, 2019 10:56 pm

I understand! That is exactly what I wanted to do, make Korlic raise his hands like Madawc in SC or like barbarian when casting shout. I created a summon skill for Korlic and am trying to give him skills like shout and battle commands. Is it possible to create my own animation of Korlic or any other monster animations using their character models? I was running into weird issue with my diablo clone summon where he would freeze everytime he casted his S3 animation or DT animation never even showed up. So I figured maybe I can create brand new animation and give to new monster. For example Madawc with the DT animation of diablo. Crazy ideas I am sure :P

Post Reply

Return to “Tools”