linus4 / csgoverview Goto Github PK
View Code? Open in Web Editor NEWA 2D demo replay tool for Counter Strike: Global Offensive.
License: MIT License
A 2D demo replay tool for Counter Strike: Global Offensive.
License: MIT License
ESEA demos do not contain RoundFreezetimeEnd events, so the timer on the interface shows negative numbers in those demos.
I really don't know what to do about that.
If #6 was resolved, we could calculate the time using mp_roundtime_defuse
and the current values in the timer as a workaround.
Just be able to draw something on the map.
It would be useful to have some way of seeing what weapon players have in their hands. It could be through an icon, text above their name, or some other way
It would be helpful to have the defuse kits carried by the CTs displayed in the info bar.
Players are much bigger in the viewer than their area is in game, meaning they overlap with each other and the map a lot, stick out from corners when they are concealed in game, etc.
It's not a major issue, so if smaller circles look much worse it's not too big of a deal
Currently we use renderer.SetLogicalSize()
in app.go to support resizing the window. The logical size we use suits 1080p displays. When resizing the window (especially when scaling it down) problems with the ttf and gfx drawings occur because some drawings are thinner than a single pixel (at least that's what I think).
Font becomes illegible, some lines and circles are drawn poorly and there are weird lines in smokes and mollys.
Describe the bug
The current dust2 map overview is using the old map with B site doors flipped.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To have the correct map overview.
I see that you talk about a different repo in this link: https://github.com/Linus4/csgoverview/wiki/Overview-Images.
So this issue might not even be on your end/I can fix it myself. I just thought you should be made aware!
With 2d demos it's usually nice to go a bit faster than 1x speed, however currently the only option bumps playback up to 5x which is a little fast. 5x is useful, but it would be nice to have the ability to watch at 1.5x or 2x speed.
Maybe tapping w could instead increase playback speed by 0.5x at a time? Or double the previous speed (2x, 4x, 8x, etc)?
On Vertigo, some areas are considered the "top floor" when they shouldn't be. Scaffolding on A Ramp is one example, another is stairs on B where jumping or getting on any of the boxes shows you on the floor above.
Here you can see the T appearing as if he's on the floor above, while being bottom of scaffolding
And here's an example towards B
Here's an example on mirage: Underpass looks like Catwalk
Even though mirage does not have two "floors", it's still a little confusing
Describe the bug
When loading a deathmatch demo, round time is negative value counting up
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It's should be countdown from 9.59 to 0.00
Or 0.00 to 9.59 its also ok but without the negative value
Desktop (please complete the following information):
Describe the bug
As the title goes, when player's ID includes non-English characters like Chinese, the position of Chinese character is replaced with a tiny square.
To Reproduce
Open any demo with player's ID in Chinese.
Expected behavior
Chinese character to be rendered correctly.
Desktop (please complete the following information):
For Nuke in particular, it would be nice if I could zoom in the 2d view a bit. 50% of the width are areas of the map that rarely have anyone in them (T and CT Spawn), and the rest of the map feels kind of cramped as a result.
Whenever I attempt to open the demo viewer nothing happens and no window appears. There is no app with it's name in task manager. It does this in admin or non-admin mode and in every compatibility mode. I have also moved it to a non-protected hard drives and tested all my hard drives. I am on windows 10 v1909
When launching csgoverview.exe without an argument (path to a demo) and not by right-clicking a demo and selecting 'Open With', a file picker window should appear that lets the user pick a demo to watch.
Somehow, this must be called from within golang in main_windows.go
.
Compare with this piece of code for linux. This would also have to be moved to main_linux.go
.
Some more refactoring is probably necessary.
First of all, very good program, finding clips is really easy with this tool, I love it!
But sometimes finding myself is pretty hard so I had some suggestions to improve it.
Change the color of the player circle gradually to a darker/brighter/other color from top to bottom (mirrored) as the player loses health. Using the gfx ArcColor function.
See this line.
Add a button to the interface that displays all keybinds (from README.md). Probably in an sdl.ShowSimpleMessageBox
, but I'm not sure if it will look good, if you show a very long message (multiple lines/formatting) in a message box like that.
Create a function in draw.go to draw the button.
Events (such as mouse clicks) are processed in app.go in this function. Check if the mouse click was on the button and then show the message box. Currently, we don't need to worry about users scaling the window as SDL's Resolution Independent Rendering translates the click coordinates to native resolution coordinates.
Hi, just a quick question:
I'm building a webapp that let's my csgo group view stats about the last matches we played. (For now the demo files are uploaded manually to the server).
I would like to have a demo viewer on the page
Is there any way I could embed a 2D demo player in a html page?
The demoinfocs-golang parser currently does not parse timeout and pause events. This would have to be implementet in the parser in order to display Paused
or Timeout
in the interface instead of negative numbers.
In this repo we would need to use the updated parser to parse the events, extend the common.Timer
type and extend the drawing function in draw.go
.
With the new ability to drop grenades, it might be useful to have a marker for them on the map. Some teams are strategically leaving utility in certain spots for later, would be useful to be able to see that.
ESL does this on their minimap and even have them colour coded depending on what team dropped it, though I don't think that much is necessary
Crashed when loading danger zone demo
[vanilla@desktop csgoverview]$ ./csgoverview auto0-20210517-222955-1121455112-dz_sirocco.dem
panic: runtime error: index out of range [6] with length 6
goroutine 1 [running, locked to thread]:
main.(*app).drawInfobars(0xc000bd3e28)
/mnt/Data/program/csgoverview/draw.go:320 +0x74c
main.(*app).updateGraphics(0xc000bd3e28)
/mnt/Data/program/csgoverview/app.go:527 +0x85
main.(*app).run(0xc000bd3e28, 0xc000f385c0, 0xc000024220)
/mnt/Data/program/csgoverview/app.go:277 +0x253
main.run(0xc0000934a0, 0x0, 0x0)
/mnt/Data/program/csgoverview/app.go:213 +0xdb0
main.main()
/mnt/Data/program/csgoverview/main_linux.go:34 +0x493
[vanilla@desktop csgoverview]$
Currently once a smoke is down there's no way to tell which team threw it, so you have go skip back a few times to find out.
The way other 2D demo viewers do it is just drawing the outline of the smoke in the colour of the throwing team.
Describe the feature you'd like
FaceIt package their demos in .gz
archives and HLTV package them in .rar
archives. csgoverview should be able to unpack the demos from the archives into a temporary directory and open the demos from there. This way, the user does not have to install a separate program like 7-Zip, and they can save disk space by storing their demos in a compressed format.
One of the main weaknesses of a 2d demo viewer is not being able to get grenade lineups. Adding an option to copy a players position and rotation to the clipboard would be extremely useful. Such a feature would copy to clipboard something like "setpos 1422.97 -248.02 -103.91;setang -43.12 -171.31" for a mirage top mid smoke, which you could then just paste into your console without having to load up CSGO's awful demo viewer
Describe the feature you'd like
Installer should automatically download overview of de_anubis.
In the infobar, show who won the previous rounds (+ reason: elimination, defused, exploded, time).
Describe the feature you'd like
When you open a file other than .dem you get an error message stating that the parser could not read the file. A hint should be added, suggesting that the user unpack the demo from the archive they are currently trying to open with csgoverview. (7-Zip for example)
I think the red awp highlight would be better if it only turned red when the awp was either equiped or scoped
There should be a symbol in the timer area indicating if playback is paused.
Right now (I believe, according to the code I skimmed), players are only shown as "full white" when they have 3.1 seconds of flash remaining, but in game, your screen is full white until there is ~2 seconds remaining, so players are not displayed as full white when they should be.
Display a player's amount of kills in the current round on the infobar.
Describe the feature you'd like
Some images are outdated, so file a PR to the source repo with new converted images.
Describe the bug
I’ve tried dozens of times to open the viewer but Whenber I try to run a demo through the application it says somethitn like. Can’t find HL20DEMo in the first 8bytes
To Reproduce
Steps to reproduce the behavior:
*Expected behavior
Demoviewer has that error pop up and nothing happens
Screenshots
If applicable, add screenshots to help explain your problem.
**Desktop
Windows
Additional context
Add any other context about the problem here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.