Login

russian armor

Mako Celo

PAGES (9)down
5 Feb 2020, 19:34 PM
#1
avatar of Rosbone

Posts: 2145 | Subs: 2


___________________________________________________________________


SPECIAL NOTICE:
The 64-bit version of Coh2 has broken the normal mode this program uses. A temporary version is being updated and posted as it is being developed.

The LAST and FINAL build is (March 23, 2021):
https://github.com/RosboneMako/MakoCelo/blob/master/MakoCelo_450_Web_Beta.zip

MAKO CELO


Newest Version: 4.50
Release Date: March 23, 2021

The MAKO CELO program was designed to help streamers get custom match stats on their screens. The program reads in match data from local files and posts the data to the screen. The data available is limited to:
  • Player Faction
  • Player Rank
  • Player Steam Name

Version 4.10 adds several features that most people will not want or need. For basic match stats operation, version 3.40 is an option.

VERSION 4.10 adds:
  • Four NOTE animated text objects for scrolling stream information.
  • STATS and NOTE overlay image for next level graphical customization.
  • Simple WAVE file sound player with individual volume.
  • Added Player Stats popup menu option.
  • Removed spectator stats viewing (bug).

VERSION 4.20 adds:
  • Load/Save setup buttons.
  • Improved ABOUT text.


WHERE TO GET MAKO CELO


In order to help streamers get the most flexibility, the program and its source code has been posted to GITHUB. GITHUB is a hosting site for application development and collaboration.

To get the latest version go to:
https://github.com/RosboneMako/MakoCelo


HOW DOES IT WORK


The first step is to tell MakoCelo where the Warnings.Log file is in your My Game\Company of Heroes 2 directory. This is the file that holds stats for the current match being played. Once the file is located, the user can read it immediately or run a timer that reads the file every 10 seconds for live streaming.

To get simple help on program controls toggle the SHOW TOOLTIPS checkbox on. Then hover your mouse over the controls in question.

The STATS display area will show the player factions as icons. It also displays the player ranks and steam names as text on two color gradient rectangles. A custom background image can also be selected that has been created using an image editing program such as Photoshop, Gimp, Paint.Net, etc.

The program also has a few special effects such as Text Shadows, Text Emboss, and Label Blur. These FX were added since the stats text is made in real time. Further code that would have animations playing in the background has been deemed unnecessary since you can overlay the text here on a video in the streaming application. But may appear in future revisions.

Note: The FX routines take some time to render and may make the GUI feel sluggish when they are enabled. It is also not recommended to use too many FX if using animated NOTES as a stutter will occur when the STATS page is rendered.



Also note that most streaming apps will let the user Chromakey an image. So a streamer could make an image with selected GREEN areas that will be made see thru by the streaming software. Many different colors can be keyed depending on your software.

OBS will also let you use a COLOR KEY. This will give you exact control of the color removed from your image. As an example I setup a color key on color ##000500 (very dark green) to get these results.


When a match is found, the players SteamIDs are stored. Clicking on a players name will send you to a website page that shows the players rankings.
  • Left Click - CompanyOfHeroes.Com.
  • Right Click - Coh2.Org page based on game mode.
  • Control Left Click - Google Translate page.
  • Control Right Click - Coh2.Org Current Faction page.
  • Shift Right Click - Coh2.Org main player page.


The program has a few different image size options. This is done so that the image to be streamed is consistent from day to day. In the future we may add more screen size options if required.


NOTES


Version 4.00 added animated NOTES so users can show stream based information with the same graphical style as the STATS page. NOTES can be setup as crawling, scrolling up/down, or fading in.

Setting up a Note object has an additional step where the user enters the information to display and select how to animate the text.


SOUNDS


Version 4.00 added 15 sound buttons so that simple WAVE files can be played. RIGHT click a button to select the WAVE file to play. Then LEFT click the button to play the sound. A master volume was included to help adjust when needed.


GRAPHICAL SETUP


Both the STATS page and the NOTE objects are setup in the same manner. You define gradient colors for the text and backgrounds. Optional images can be used as backgrounds and as see thru overlays.

GRAPHICAL EXAMPLE
1. After we click SETUP on the main screen we can select the text and background gradient colors. Notice here we set the background colors to be partially see thru at 50% opacity. We have also selected a fire embers background image and set it to TILE scaling mode.


2. Next we select an OVERLAY image. This image will be see thru and let parts of the STATS or NOTE to be seen underneath. This image will need to be a PNG file. This file also has some GREEN painted areas so we can set out stream software to GREEN SCREEN or CHROMAKEY this image. Using the green chromakey colors lets our final image be any shape we want. Here we are trying to be an oval beveled shape.


3. Our final composite image.


4. Our Chromakeyed image when rendered in OBS streaming software.



As stated above, the NOTE graphical presentation is done the same way as the STATs page. In the examples below we have two NOTE objects:
  • The top NOTE has a standard Right to Left crawl animation. All of the NOTE text is combined and scrolled.
  • The bottom NOTE fades text in then displays the next text line defined.




STANDARD DISCLAIMER


Programs such as OBS can do all of the graphical things presented in the NOTES section. Performance will also be better using the built in abilities of the streaming software. Doing it in MakoCELO may be easier and once the source code is provided, may give others a platform to work with.

MAKOCELO is not a replacement for the original CELO program (https://www.coh2.org/topic/18454/celo-company-of-elo). CELO is a full featured program that seeks out additional information about players and fulfills many niche tasks to aid players get the most out of the game. MAKOCELO focuses directly on data presentation.


DUAL STREAMING PC SETUP


If you stream from a different PC than you play on, you will want to SHARE your Company of Heroes 2 directory on the gaming PC so the streaming PC can read the Warnings.Log file in that directory. You will then run MakoCELO (or original CELO) on the streaming PC once you direct it to the shared network resource/folder.

TROUBLESHOOTING


MakoCELO installs by default in the Program Files (x86) directory. Since each user will have different data for these folders, Windows will manage the data and store your MakoCELO settings file in a managed area like:
C:\Users\YOURCOMPNAME\AppData\Local\VirtualStore\Program Files (x86)\Rosbone\MakoCelo

Some users have had issues with MakoCELO remembering their settings after a Windows update. You can verify this folder exists and you have security access to it. The folder names may have been changed by Windows and that is the issue.

The easy fix is to install to a custom directory somewhere else on your PC (Flappy). This lets MakoCELO store the settings file in that directory and gets around Windows messing up your User folder access. Uninstall MakeCELO. Reinstall MakoCELO some place like D:\MakoCELO41 instead of the default Program Files directory.

If the required .NET runtime files are installed on your PC, you can run the MakoCELO.exe from anywhere. This will also put your settings file in the folder you are running from so Windows Updates do not frag it.

MAKO CELO IS COOL BUT I WISH IT DID MORE


The program was written in Visual Basic 2019. Microsoft Visual Studio 2019 is free for most people to use for 30 days or use it forever with a simple account login. So feel free to download the source code and go nuts!

CONTRIBUTORS


I would like to thank all of the community members who have been testing the program and helping get it to a stable place. Some of them can be seen in the demo screenshots.

SAMPLE STATS DISPLAYS








5 Feb 2020, 19:50 PM
#2
5 Feb 2020, 19:56 PM
#3
avatar of JibberJabberJobber

Posts: 1614 | Subs: 3

Omg, it's back!!1!

Now we just need someone to revive this: https://www.coh2.org/news/9268/coh2-replay-analyzer and my CoH2 software stack is complete again :snfCHVGame:
5 Feb 2020, 20:01 PM
#4
avatar of blvckdream

Posts: 2458 | Subs: 1

Wow this seems pretty amazing. Good work.
5 Feb 2020, 20:02 PM
#5
avatar of blvckdream

Posts: 2458 | Subs: 1

BTW: Troyd does not approve of this. Kappa
5 Feb 2020, 20:05 PM
#6
avatar of Rosbone

Posts: 2145 | Subs: 2

BTW: Troyd does not approve of this. Kappa

TroyD OP
5 Feb 2020, 20:08 PM
#7
avatar of aerafield

Posts: 3032 | Subs: 3

Good job on this! It's amazing how you can customize the display now. And its also nice that the annoying bug where it shows the actual rank minus 1 (rank 1 becomes rank 0/unranked), is fixed
5 Feb 2020, 22:33 PM
#8
avatar of ShadowLinkX37
Director of Moderation Badge

Posts: 4183 | Subs: 4

Will have to try this out. The other CELO doesn't want to work on my PC for some reason but hopefully this will.
5 Feb 2020, 23:02 PM
#9
avatar of Sturmpanther
Lead Strategist Badge

Posts: 5441 | Subs: 36

Sturmpanther proved!
+1
5 Feb 2020, 23:28 PM
#10
avatar of Clarity

Posts: 479

Hi Rosbone, can the program show ranks from a replay or if you watch a game in the Live Games section or is does it just work with Automatch? (I'm Prime_Clarity on Twitch) Well I answered my own question, thank you random 4's. :D
6 Feb 2020, 00:13 AM
#11
avatar of Rosbone

Posts: 2145 | Subs: 2

Hi Rosbone, can the program show ranks from a replay or if you watch a game in the Live Games section or is does it just work with Automatch? (I'm Prime_Clarity on Twitch)

The program only shows what is in the local log file. It does not make any web calls. And the local files only show Faction, Rank, Steam Name, and SteamID for Automatch games.

Replays and Spectates do not supply any SteamIDs or Ranks in the log file. This would be something for the original Celo. It makes external web calls to gather info not supplied.
6 Feb 2020, 18:12 PM
#12
avatar of ishtar
Senior Referee Badge

Posts: 16

Great program, thank you for making it! <444>3
7 Feb 2020, 18:33 PM
#13
avatar of Rosbone

Posts: 2145 | Subs: 2

I wanted to test out the ChromaKey option in Open Broadcaster Software (OBS) to see what kind of results can be obtained. The OBS keying code is very good. Unfortunately, I did not have to mess around at all, I just clicked FILTERS and selected Chromakey. It defaults to green already. Done.

Here is the MakoCelo layout and colors. Thin 1050 pixel layout selected.



And the resulting ChromaKeyed display in OBS.


12 Feb 2020, 20:15 PM
#14
avatar of Rosbone

Posts: 2145 | Subs: 2

VERSION 3.40 HAS BEEN RELEASED

v3.40
* Changed stats page default sizes to better fit COH2 screen.
* Added centered screen X Layouts.
* Optimized FX routines.
* Fixed bad faction detection code.
* Added bad match stats bypass option so replays show names.
* Added Tool Tip option to help new users figure out controls.

14 Feb 2020, 05:15 AM
#15
avatar of meomup86

Posts: 6

just see it, very cool <444>3
14 Feb 2020, 20:04 PM
#16
avatar of Rosbone

Posts: 2145 | Subs: 2

I have only used an older version of OBS a couple of times. But here are the steps I have used to test out the MakoCelo Green Screen (Chromakey) in OBS. Hopefully they will apply to a program you are using.

1. I am assuming you already have COH2 setup to capture. Here I am using GAME CAPTURE. Your setup will be different. Next you want to add a WINDOW CAPTURE by pressing the + at the bottom of the SOURCE area.


2. Set the WINDOW CAPTURE to the program name to capture. Here we want MakoCELO. You will need to CROP the captured window by holding down ALT and left mouse button on the RED CONTROL HANDLES on the OBS screen.


3. If you right click the new SOURCE you just created you will get a pop up menu. Select FILTERS.


4. Click on the + in the new dialog box to select a FILTER to ADD. Select CHROMAKEY.


5. You should now have a MakoCelo see thru overlay in OBS. You can adjust the colors in MakoCelo to get the effect you are looking for. Or you can adjust the Chromakey filter settings. The defaults in OBS worked very well so I would suggest sticking to MakoCelo.


I hope this helps some people out and happy streaming!
16 Mar 2020, 12:29 PM
#17
avatar of Sturmpanther
Lead Strategist Badge

Posts: 5441 | Subs: 36

For people who did not noticed it yet.

There were some updates in the past.

Newest Version: 4.10
Release Date: March 15,2020

So download the latest version :)
6 Apr 2020, 07:40 AM
#18
avatar of Mithiriath
Director of Social Media Badge

Posts: 830 | Subs: 3

Thanks for this cool tool. :thumb: I used it too during stream.





11 Apr 2020, 13:23 PM
#19
avatar of pegasos

Posts: 85

hi,
if i dont want to use OBS streaming , but only show it in game when i play. What software should i use to overlay it ?
11 Apr 2020, 13:26 PM
#20
avatar of Tric
Master Mapmaker Badge

Posts: 1467 | Subs: 4

jump backJump back to quoted post11 Apr 2020, 13:23 PMpegasos
hi,
if i dont want to use OBS streaming , but only show it in game when i play. What software should i use to overlay it ?


Any software that can capture it and that has chromakey will work. SLOBS, XS(hit)plit or whatever else.
PAGES (9)down
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

830 users are online: 830 guests
0 post in the last 24h
8 posts in the last week
35 posts in the last month
Registered members: 49104
Welcome our newest member, zhcnwps
Most online: 2043 users on 29 Oct 2023, 01:04 AM