Skip to content

Commit

Permalink
2023.10.11 Back
Browse files Browse the repository at this point in the history
- single mod variant
toggle High Quality Dashboard OFF to use Last Match page with simple background, ON=default
can replace source/dota/panorama/images/background.png with your own
- reworked getting MMR value due to very lazy panorama backend data refreshing
it's infuriating since the network requests do still happen so why was it changed idk
  • Loading branch information
AveYo committed Oct 12, 2023
1 parent 226a516 commit 9abae5e
Show file tree
Hide file tree
Showing 39 changed files with 703 additions and 4,364 deletions.
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,29 @@
New numbers are saved locally per-user, serialized to JOY1 - JOY32 binds for up to 640 recent matches
Your defined binds - that reside in slot0 - will not be affected
Optionally retrieve previous history via ShowMMR tool, and replace local file with the generated one
Toggle Settings - Video - High Quality Dashboard OFF to enable Last Match page with background.png
_______________________
SetTableValue | 3| GetTableValue
_______________| scripts / |____________________
| __>___>___>__ custom_net_tables.txt ___>___>___>___>__ |
|^| |_______________________| | |
______| |_____ |v|
| 2| SendCustomGameEvent _______________| |________________
| scripts / |__________________________________| 4|
SendToConsole | vscripts / ___<___<___<___<___<___<___<___<__ panorama / |
_____________| core / | | layout / |
| _<___<___<_ coreinit.lua | DOTARankUpdated | dashboard_background_manager.xml |
| | |______ _____| DOTAShowProfileHeroStatsPage |_______________ ________________|
| | | | #ranked_mmr_value | |
|v| LoadKeyValues |^| |v| core.Data.history
| | ____________| |___________ ___________________| |__________________
| | | 1| | 5|
| |_____| cfg / | | panorama / |
|____>__ user_keys_%d_slot3.vcfg | | layout / |
|__________________________| | dashboard_page_profile_recent_game.xml |
|________________________________________|
|^| |_______________________| |v|
______| |_____ ______________| |_________________
| 2| SendCustomGameEvent | 4|
| scripts / |___________________________________| panorama / |
SendToConsole | vscripts / ___<___<___<___<___<___<___<___<___ layout / |
_____________| core / | | base.xml DashboardCore |
| _<___<___<_ coreinit.lua | DOTARankUpdated |______________ _________________|
| | |______ _____| DOTAShowLocalProfileHeroStatsPage | |
| | | | #ranked_mmr_value |v| core.Data.history
|v| LoadKeyValues |^| ___________________| |_________________
| | ____________| |___________ ________________ | 5|
| | | 1| | 6| | panorama / |
| |_____| cfg / | | panorama / | | layout / |
|____>__ user_keys_%d_slot3.vcfg | | images / |___| dashboard_page_profile_hero_stats.xml |
|__________________________| | background.png ___ dashboard_background_last_match.* |
|________________| |_______________________________________|
If any game is running, only cached Data history is used when opening the profile page
If any game is running, only cached Data history is used when opening the hero stats page
Back at dashboard, event signals script to retrieve #ranked_mmr_value and update table if needed
It may look like a lot of work to just get a number from ui and save it in a table locally
That is because vscript and panorama are finally hardened / crippled, no more ~arbitrary r/w!
Expand Down
Binary file removed release/default/game/dota_mods/pak01_dir.vpk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@
// restore original file: github.com/SteamDatabase/GameTracking-Dota2/blob/master/game/dota/gameinfo_branchspecific.gi
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,29 @@
New numbers are saved locally per-user, serialized to JOY1 - JOY32 binds for up to 640 recent matches
Your defined binds - that reside in slot0 - will not be affected
Optionally retrieve previous history via ShowMMR tool, and replace local file with the generated one
Toggle Settings - Video - High Quality Dashboard OFF to enable Last Match page with background.png
_______________________
SetTableValue | 3| GetTableValue
_______________| scripts / |____________________
| __>___>___>__ custom_net_tables.txt ___>___>___>___>__ |
|^| |_______________________| | |
______| |_____ |v|
| 2| SendCustomGameEvent _______________| |________________
| scripts / |__________________________________| 4|
SendToConsole | vscripts / ___<___<___<___<___<___<___<___<__ panorama / |
_____________| core / | | layout / |
| _<___<___<_ coreinit.lua | DOTARankUpdated | base.xml DashboardCore |
| | |______ _____| DOTAShowProfileHeroStatsPage |_______________ ________________|
| | | | #ranked_mmr_value | |
|v| LoadKeyValues |^| |v| core.Data.history
| | ____________| |___________ ___________________| |__________________
| | | 1| | 5|
| |_____| cfg / | | panorama / |
|____>__ user_keys_%d_slot3.vcfg | | layout / |
|__________________________| | dashboard_page_profile_recent_game.xml |
|________________________________________|
|^| |_______________________| |v|
______| |_____ ______________| |_________________
| 2| SendCustomGameEvent | 4|
| scripts / |___________________________________| panorama / |
SendToConsole | vscripts / ___<___<___<___<___<___<___<___<___ layout / |
_____________| core / | | base.xml DashboardCore |
| _<___<___<_ coreinit.lua | DOTARankUpdated |______________ _________________|
| | |______ _____| DOTAShowLocalProfileHeroStatsPage | |
| | | | #ranked_mmr_value |v| core.Data.history
|v| LoadKeyValues |^| ___________________| |_________________
| | ____________| |___________ ________________ | 5|
| | | 1| | 6| | panorama / |
| |_____| cfg / | | panorama / | | layout / |
|____>__ user_keys_%d_slot3.vcfg | | images / |___| dashboard_page_profile_hero_stats.xml |
|__________________________| | background.png ___ dashboard_background_last_match.* |
|________________| |_______________________________________|

If any game is running, only cached Data history is used when opening the profile page
If any game is running, only cached Data history is used when opening the hero stats page
Back at dashboard, event signals script to retrieve #ranked_mmr_value and update table if needed
It may look like a lot of work to just get a number from ui and save it in a table locally
That is because vscript and panorama are finally hardened / crippled, no more ~arbitrary r/w!
Expand Down
Binary file added release/game/dota_mods/pak01_dir.vpk
Binary file not shown.
51 changes: 0 additions & 51 deletions release/optional_background/game/dota/gameinfo_branchspecific.gi

This file was deleted.

41 changes: 0 additions & 41 deletions release/optional_background/game/dota_mods/pak01_dir.txt

This file was deleted.

Binary file not shown.
16 changes: 0 additions & 16 deletions release/optional_background/readme.txt

This file was deleted.

51 changes: 0 additions & 51 deletions release/optional_showtime/game/dota/gameinfo_branchspecific.gi

This file was deleted.

24 changes: 0 additions & 24 deletions release/optional_showtime/game/dota_mods/pak02_dir.txt

This file was deleted.

Binary file not shown.
Loading

0 comments on commit 9abae5e

Please sign in to comment.