Skip to content

Commit

Permalink
Release 2.6.1 - Version detecting with data.win instead of exe (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tenebrosful authored Dec 11, 2024
2 parents 1d326c5 + 744fb3e commit 1291225
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Deltarune.asl
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ init

string hash;
using(var md5 = System.Security.Cryptography.MD5.Create())
using(var fs = File.OpenRead(modules.First().FileName))
using(var fs = File.OpenRead(new FileInfo(module.FileName).DirectoryName + @"\data.win"))
hash = string.Concat(md5.ComputeHash(fs).Select(b => b.ToString("X2")));
switch(mms)
{
Expand All @@ -299,7 +299,7 @@ init
break;

case 7495680:
if(hash != "DCFB86F7A80D9906BBBAFA1B2C224848")
if(hash != "5FBE01F2BC1C04F45D809FFD060AC386")
version = "Demo v1.08/v1.09";
else
version = "Demo v1.10";
Expand All @@ -310,7 +310,7 @@ init
break;

case 9650176:
if(hash != "14AF94E0435EB4CBE3BB5A03AB4218C4")
if(hash != "7AD299A8B33FA449E20EDFE0FEDEDDB2")
version = "Demo v1.16/v1.17";
else
version = "Demo v1.19";
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is a LiveSplit Autosplitter for DELTARUNE speedruns.
## Supported versions

- SURVEY_PROGRAM
- Chapter 1&2 v1.08-v1.17
- Chapter 1&2 v1.08-v1.19

## How to install

Expand Down

0 comments on commit 1291225

Please sign in to comment.