From 205602d85d856d4d394dbc58e9c4cce724e5ee86 Mon Sep 17 00:00:00 2001 From: NovaRain Date: Wed, 25 May 2022 21:59:00 +0800 Subject: [PATCH] Updated compiled HLSL shaders * using the compiler from DXSDK June 2010. Minor edits to documents. --- README.md | 3 ++- artifacts/scripting/compiler/sslc_readme.md | 4 ++-- sfall/HLSL/A8PixelShader.h | 24 ++++++++++----------- sfall/HLSL/L8PixelShader.h | 24 ++++++++++----------- 4 files changed, 28 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index fd64ceb5..586a01ee 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,5 @@ Original description: A set of engine modifications for the classic game Fallout --- #### Fallout Engine IDA Database -**[Download](https://www.dropbox.com/s/tm0nyx0lnk4yui0/Fallout_1_and_2_IDA68.rar "Download from Dropbox")** (comments are in Russian) +[Download for IDA Pro 6.8](https://www.dropbox.com/s/tm0nyx0lnk4yui0/Fallout_1_and_2_IDA68.rar?dl=1 "Download from Dropbox") + | [Download for IDA Pro 7.0](https://www.dropbox.com/s/61srq09pn8grfpu/Fallout_1_and_2_IDA70.rar?dl=1 "Download from Dropbox") (comments are in Russian) diff --git a/artifacts/scripting/compiler/sslc_readme.md b/artifacts/scripting/compiler/sslc_readme.md index 5a81e1bf..77aefa50 100644 --- a/artifacts/scripting/compiler/sslc_readme.md +++ b/artifacts/scripting/compiler/sslc_readme.md @@ -11,7 +11,7 @@ When compiling global or hook scripts for sfall 3.4 or below, you _must_ include This version of compiler was designed primarily for new sfall functions, but it can safely (and is recommended) to be used with non-sfall scripts as well, as long as you don't use any of the arrays syntax and any sfall script functions. -The original unmodified sslc source is over here: [http://www.teamx.ru/site_arc/utils/index.html](http://www.teamx.ru/site_arc/utils/index.html) +The original unmodified sslc source is over here: [https://teamx.ru/site_arc/utils/index.html](https://teamx.ru/site_arc/utils/index.html) ### Command line options @@ -121,7 +121,7 @@ Syntax which requires sfall for compiled scripts to be interpreted is marked by ``` __NOTE:__ If your expression starts with a constant (eg. `2 + 2`), enclose it in parentheses, otherwise compiler will be confused and give you errors. -- Hexadecimal numerical constants: Simply prefix a number with `0x` to create a hexadecimal. The numbers 0 to 9 and A-F are allowed in the number. The number may not have a decimal point. +- Hexadecimal numerical constants: Simply prefix a number with `0x` to create a hexadecimal. The numbers 0 to 9 and letters A to F are allowed in the number. The number may not have a decimal point. - new: ``` a := 0x1000; diff --git a/sfall/HLSL/A8PixelShader.h b/sfall/HLSL/A8PixelShader.h index aa6fe681..fa258931 100644 --- a/sfall/HLSL/A8PixelShader.h +++ b/sfall/HLSL/A8PixelShader.h @@ -10,7 +10,7 @@ technique T1 pixelshader = asm { // - // Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022 + // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 // // Parameters: // @@ -30,7 +30,7 @@ technique T1 // approximately 2 instructions used // - // Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022 + // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 // // Parameters: // @@ -85,7 +85,7 @@ technique T0 pixelshader = asm { // - // Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022 + // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 // // Parameters: // @@ -131,7 +131,7 @@ const BYTE gpuEffectA8[] = 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 6, 0, 0, 0, 105, 109, - 97, 103, 101, 0, 105, 0, + 97, 103, 101, 0, 0, 0, 5, 0, 0, 0, 4, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -347,9 +347,9 @@ const BYTE gpuEffectA8[] = 76, 32, 83, 104, 97, 100, 101, 114, 32, 67, 111, 109, 112, 105, 108, 101, 114, 32, - 57, 46, 50, 55, 46, 57, - 53, 50, 46, 51, 48, 50, - 50, 0, 81, 0, 0, 5, + 57, 46, 50, 57, 46, 57, + 53, 50, 46, 51, 49, 49, + 49, 0, 81, 0, 0, 5, 0, 0, 15, 160, 0, 0, 128, 64, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, @@ -427,9 +427,9 @@ const BYTE gpuEffectA8[] = 76, 32, 83, 104, 97, 100, 101, 114, 32, 67, 111, 109, 112, 105, 108, 101, 114, 32, - 57, 46, 50, 55, 46, 57, - 53, 50, 46, 51, 48, 50, - 50, 0, 254, 255, 77, 0, + 57, 46, 50, 57, 46, 57, + 53, 50, 46, 51, 49, 49, + 49, 0, 254, 255, 77, 0, 80, 82, 69, 83, 1, 2, 88, 70, 254, 255, 36, 0, 67, 84, 65, 66, 28, 0, @@ -454,8 +454,8 @@ const BYTE gpuEffectA8[] = 83, 104, 97, 100, 101, 114, 32, 67, 111, 109, 112, 105, 108, 101, 114, 32, 57, 46, - 50, 55, 46, 57, 53, 50, - 46, 51, 48, 50, 50, 0, + 50, 57, 46, 57, 53, 50, + 46, 51, 49, 49, 49, 0, 254, 255, 12, 0, 80, 82, 83, 73, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/sfall/HLSL/L8PixelShader.h b/sfall/HLSL/L8PixelShader.h index f623158a..1c2b9a61 100644 --- a/sfall/HLSL/L8PixelShader.h +++ b/sfall/HLSL/L8PixelShader.h @@ -10,7 +10,7 @@ technique T1 pixelshader = asm { // - // Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022 + // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 // // Parameters: // @@ -30,7 +30,7 @@ technique T1 // approximately 2 instructions used // - // Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022 + // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 // // Parameters: // @@ -85,7 +85,7 @@ technique T0 pixelshader = asm { // - // Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022 + // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 // // Parameters: // @@ -131,7 +131,7 @@ const BYTE gpuEffectL8[] = 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 6, 0, 0, 0, 105, 109, - 97, 103, 101, 0, 24, 0, + 97, 103, 101, 0, 0, 0, 5, 0, 0, 0, 4, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -347,9 +347,9 @@ const BYTE gpuEffectL8[] = 76, 32, 83, 104, 97, 100, 101, 114, 32, 67, 111, 109, 112, 105, 108, 101, 114, 32, - 57, 46, 50, 55, 46, 57, - 53, 50, 46, 51, 48, 50, - 50, 0, 81, 0, 0, 5, + 57, 46, 50, 57, 46, 57, + 53, 50, 46, 51, 49, 49, + 49, 0, 81, 0, 0, 5, 0, 0, 15, 160, 0, 0, 128, 64, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, @@ -427,9 +427,9 @@ const BYTE gpuEffectL8[] = 76, 32, 83, 104, 97, 100, 101, 114, 32, 67, 111, 109, 112, 105, 108, 101, 114, 32, - 57, 46, 50, 55, 46, 57, - 53, 50, 46, 51, 48, 50, - 50, 0, 254, 255, 77, 0, + 57, 46, 50, 57, 46, 57, + 53, 50, 46, 51, 49, 49, + 49, 0, 254, 255, 77, 0, 80, 82, 69, 83, 1, 2, 88, 70, 254, 255, 36, 0, 67, 84, 65, 66, 28, 0, @@ -454,8 +454,8 @@ const BYTE gpuEffectL8[] = 83, 104, 97, 100, 101, 114, 32, 67, 111, 109, 112, 105, 108, 101, 114, 32, 57, 46, - 50, 55, 46, 57, 53, 50, - 46, 51, 48, 50, 50, 0, + 50, 57, 46, 57, 53, 50, + 46, 51, 49, 49, 49, 0, 254, 255, 12, 0, 80, 82, 83, 73, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,