Giter VIP home page Giter VIP logo

csgoverview's People

Contributors

anthonyliao avatar augustoccesar avatar dependabot[bot] avatar langhillie avatar linus4 avatar sparkoo avatar xxxhaxmeister42xxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csgoverview's Issues

Time in ESEA demos

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.

Show currently held weapon

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

Player circles are too big

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

Improve scaling to different resolutions

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.

csgoverview_scaled_down

Update map overview file for de_dust2

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:

  1. Load a dust2 demo
  2. See b site doors are flipped

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!

Finer control over demo playback speed

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)?

Players sometimes displayed on the wrong "floor"

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
onxe2ZaRwq

And here's an example towards B
bTWufRN3k1

Here's an example on mirage: Underpass looks like Catwalk
image
Even though mirage does not have two "floors", it's still a little confusing

Deathmatch demo wrong round time

Describe the bug
When loading a deathmatch demo, round time is negative value counting up

To Reproduce
Steps to reproduce the behavior:

  1. Load a deathmatch demo
  2. View the round timer

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

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux 5.12.3-arch1-1

Can't render non-English characters correctly on Windows

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.

Screenshots
screen

Desktop (please complete the following information):

  • OS: Windows 10

Zooming in on maps

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.

app not opening

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

Windows file picker

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.

[Suggestions] Some details that could be useful

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.

  • Show to current round number
  • Select time for killfeed to disapear
    It would really make things a lot easier !
    Thanks in a advance if you can consider these ideas !

Keybinds help button

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.

Embedding support?

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?

Time during pause and timeouts

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.

Hiding team names

Currently for scrim/league demos off of ESEA, team names are displayed for every player, causing their igns to be cut off. I'm not sure if it would be feasible, but it would be nice if team names could be hidden so full player names could be shown. Example:
VirtualBoxVM_6uGwFl8sAH

Dropped grenades on map

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
image

Danger Zone demo support

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]$ 

Smoke team indicators

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.

Bad rendering on mac

Hi, I got it working on mac but the drawings and text seems to be of very low resolution. Do you have any idea what the problem could be?

Screenshot:

Screenshot 2020-08-17 at 17 10 36

Open demos directly from rar and gz archives

Open demos directly from rar and gz archives

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.

Copying player position/rotation

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

Add de_anubis

Add de_anubis

Describe the feature you'd like

Installer should automatically download overview of de_anubis.

Round results

In the infobar, show who won the previous rounds (+ reason: elimination, defused, exploded, time).

Improve error message when opening non-.dem files

Improve error message when opening non-.dem files

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)

Add pause symbol

There should be a symbol in the timer area indicating if playback is paused.

Players not accurately being shown as "full white"

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.

Start Error

Hello, with every demo I want to start, I get this error message. I have reinstalled the program several times, but without success.
Unbenannt

Update overview images

Update overview images

Describe the feature you'd like

Some images are outdated, so file a PR to the source repo with new converted images.

Can’t open demoviewer

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:

  1. Go to wherever you have your hltv demos
  2. Click on open with and choose demoreviewer
  3. See error HL20DEMo not in the first 8 bytes

*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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.