Skip to content

Commit

Permalink
Merge pull request #10 from justsaft/master
Browse files Browse the repository at this point in the history
finalized HZD, Readme fix up, minor stuff
  • Loading branch information
blegas78 authored Jul 5, 2021
2 parents 988b9b4 + 8f0fdd3 commit 3614685
Show file tree
Hide file tree
Showing 20 changed files with 386 additions and 194 deletions.
221 changes: 113 additions & 108 deletions README.md

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions autosplitters.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}
20 changes: 20 additions & 0 deletions readme-HFW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Load Removers for `Horizon Forbidden West™`

#### Just as a preperation for adding HFW load removers to the collection :)


###### Don't kill Aloy pls


## Testing

I *HIGHLY* Recommend testing this before attempting a run each day by doing a quick test.
With all of the above up and running and showing IGT, try to start the timer and invoke a load by simply performing a fast-travel or loading a save.


## Problems/Issues/Known Issues specific to this load remover
###### well....


## Change Log
###### add changes here
75 changes: 75 additions & 0 deletions readme-HZD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Load Removers for `Horizon Zero Dawn™`

These autosplitters were built based on the rules on [speedrun.com/hzd](https://www.speedrun.com/hzd) for the load-time definition.
In this case, quite simply, a load is defined whenever "Loading..." is seen in the bottom left corner of the screen.
This includes few cut scene pauses in the beginning of Any% runs, as well as every time a fast travel is performed.
This load remover checks the video feed for the "Loading...", and tells LiveSplit that it is a load whenever this appears.


## Testing

I *HIGHLY* Recommend testing this before attempting a run each day by doing a quick test.
With all of the above up and running and showing IGT, try to start the timer and invoke a load by simply performing a fast-travel or loading a save.


## Variants & Scan Region settings (notice me senpai)

### Normal

You should be using this variant. You may deviate tho

- Scan Region settings
- X is set to 99
- Y is set to 976
- Width is set to 115
- Height is set to 25

### PSShare variant

Variant with tunings for using PS4Share
- Scan Region settings
- same as above


### Classic variant
I added a classic variant where the scan region settings are the same as before this update (just as a backup)

- Scan Region settings
- Set X to 0
- Set Y to 0
- Set Width to 1920
- Set Height to 1080


### German variant
The german language has the smallest loading indicator text on loading screens pepeEZ

- Scan Region settings
- Set X to 99
- Set Y to 976
- Set Width to 55
- Set Height to 22


### Experimental variant*

- Scan Region settings
- Set X to 99
- Set Y to 976
- Set Width to 48
- Set Height to 25

###### *These are a little experimental atm because there's a small risk that the VAS component may misrecognize some gameplay as a load - so for the moment: use at your own risk.

## Change Log

- Efforts to lower CPU usage
- Shrunken Scan Region size (See Scan Region below)
- Removed "start" WatchZone
- Removed "isLoading**a**" WatchZone, leaving the main WatchZone as the only feature to scan for
- Enforcing a refresh rate of 30fps
- Added support for the german language

## Problems/Issues/Known Issues specific to this load remover

###### none so far
File renamed without changes.
4 changes: 4 additions & 0 deletions src/HFW/main/hfw/script.asl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
isLoading
{
return features["isLoading"].current > 11.0;
}
35 changes: 35 additions & 0 deletions src/HFW/main/hfw/structure.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<GameProfile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Name>Horizon Zero Dawn</Name>
<Screens>
<Screen>
<Name>Game</Name>
<Geometry>
<Width> </Width>
<Height> </Height>
</Geometry>
<WatchZones>
<WatchZone>
<Name>isLoading</Name>
<Geometry>
<X> </X>
<Y> </Y>
<Width> </Width>
<Height> </Height>
</Geometry>
<Watches>
<Watcher>
<Name>loading</Name>
<ErrorMetric>PeakAbsolute</ErrorMetric>
<WatchImages>
<WatchImage>
<FilePath>imgs\loading.png</FilePath>
</WatchImage>
</WatchImages>
</Watcher>
</Watches>
</WatchZone>
</WatchZones>
</Screen>
</Screens>
</GameProfile>
71 changes: 0 additions & 71 deletions src/HZD variants/README.md

This file was deleted.

Binary file added src/HZD variants/experimental/hzd/imgs/l.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/HZD variants/experimental/hzd/script.asl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
init
{
// reduces CPU usage by halfing the amount of frames per secound... maybe
var refreshRate = 30;
}

isLoading
{
return features["isLoading"].current > 15.0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@
<Screen>
<Name>Game</Name>
<Geometry>
<Width>115</Width>
<Width>48</Width>
<Height>25</Height>
</Geometry>


<WatchZones>
<WatchZone>
<Name>isLoading</Name>
<Geometry>
<X>0</X>
<Y>0</Y>
<Width>115</Width>
<Width>48</Width>
<Height>25</Height>
</Geometry>
<Watches>
Expand All @@ -23,13 +25,15 @@
<ErrorMetric>PeakAbsolute</ErrorMetric>
<WatchImages>
<WatchImage>
<FilePath>imgs\loading.png</FilePath>
<FilePath>imgs\l.png</FilePath>
</WatchImage>
</WatchImages>
</Watcher>
</Watches>
</WatchZone>
</WatchZones>

</Screen>
</Screens>

</GameProfile>
Binary file modified src/HZD variants/german/hzd/img/loading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/HZD variants/german/hzd/script.asl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
isLoading
{
return features["isLoading"].current > 11.0;
return features["isLoading"].current > 11.7;
}
4 changes: 2 additions & 2 deletions src/HZD variants/german/hzd/structure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Screen>
<Name>Game</Name>
<Geometry>
<Width>82</Width>
<Width>55</Width>
<Height>22</Height>
</Geometry>
<WatchZones>
Expand All @@ -14,7 +14,7 @@
<Geometry>
<X>0</X>
<Y>0</Y>
<Width>82</Width>
<Width>55</Width>
<Height>22</Height>
</Geometry>
<Watches>
Expand Down
File renamed without changes
Binary file removed src/HZD variants/template/imgs/loading.png
Binary file not shown.
4 changes: 0 additions & 4 deletions src/HZD variants/template/script.asl

This file was deleted.

Loading

0 comments on commit 3614685

Please sign in to comment.