diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
deleted file mode 100644
index 3ba13e0c..00000000
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ /dev/null
@@ -1 +0,0 @@
-blank_issues_enabled: false
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 5ace4600..12301490 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -3,4 +3,4 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
- interval: "weekly"
+ interval: "daily"
diff --git a/.github/ISSUE_TEMPLATE/issue-report.md b/.github/issue_template.md
similarity index 86%
rename from .github/ISSUE_TEMPLATE/issue-report.md
rename to .github/issue_template.md
index 6166d9fd..78f390bc 100644
--- a/.github/ISSUE_TEMPLATE/issue-report.md
+++ b/.github/issue_template.md
@@ -1,57 +1,47 @@
----
-name: Report an issue with the application
-about: Please make sure you follow the check-list carefully!
-title: ''
-labels: ''
-assignees: ''
-
----
-
-
-
-Checklist
----------
-- [ ] I have been made aware that if my problem can be summarized as _"I've created or tried to create a media using Rufus, and ..."_, and I am not including a log, **this issue will be summarily closed**.
-- [ ] I looked at https://github.com/pbatard/rufus/wiki/FAQ to see if my question has already been answered.
-- [ ] I performed a search in the issue tracker for similar issues using keywords relevant to my problem, such as the error message I got from the log.
-- [ ] I clicked the 'Log' button (🗒️) or pressed Ctrl-L in Rufus, or used [DebugView](https://learn.microsoft.com/en-us/sysinternals/downloads/debugview), and copy/pasted the log into the section that says `` below.
-- [ ] The log I am copying is the FULL log, starting with the line `Rufus version: x.y.z` - I have NOT removed any part of it.
-
-Additionally (if applicable):
-- [ ] I ran a bad blocks check, by clicking _Show advanced format options_ then _Check device for bad blocks_, and confirmed that my USB is not defective.
-- [ ] I also tried one or more of the following:
- - [ ] Using a different USB drive.
- - [ ] Plugging the USB into a different port.
- - [ ] Running Rufus on a different computer.
-- [ ] If using an image, I clicked on the `(✓)` button to compute the MD5, SHA1 and SHA256 checksums, which are therefore present in the log I copied. I confirmed, by performing an internet search, that these values match the ones from the official image.
-
-Issue description
------------------
-
-
-Log
----
-```
-
-```
+
+
+Checklist
+---------
+- [ ] I looked at https://github.com/pbatard/rufus/wiki/FAQ to see if my question has already been answered.
+- [ ] I performed a search in the issue tracker for similar issues using keywords relevant to my problem, such as the error message I got from the log.
+- [ ] I clicked the 'Log' button (🗒️) or pressed Ctrl-L in Rufus, or used [DebugView](https://learn.microsoft.com/en-us/sysinternals/downloads/debugview), and copy/pasted the log into the section that says `` below.
+- [ ] The log I am copying is the FULL log, starting with the line `Rufus version: x.y.z` - I have NOT removed any part of it.
+
+Additionally (if applicable):
+- [ ] I ran a bad blocks check, by clicking _Show advanced format options_ then _Check device for bad blocks_, and confirmed that my USB is not defective.
+- [ ] I also tried one or more of the following:
+ - [ ] Using a different USB drive.
+ - [ ] Plugging the USB into a different port.
+ - [ ] Running Rufus on a different computer.
+- [ ] If using an image, I clicked on the `(✓)` button to compute the MD5, SHA1 and SHA256 checksums, which are therefore present in the log I copied. I confirmed, by performing an internet search, that these values match the ones from the official image.
+
+Issue description
+-----------------
+
+
+Log
+---
+```
+
+```
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 132541b4..040896d5 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -4,7 +4,6 @@ on:
push:
branches: [master]
paths-ignore:
- - '.github/ISSUE_TEMPLATE/**'
- '.gitignore'
- '.gitattributes'
- 'res/**'
@@ -41,15 +40,15 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v6
+ uses: actions/checkout@v4
- name: Initialize CodeQL
- uses: github/codeql-action/init@v4
+ uses: github/codeql-action/init@v3
with:
languages: cpp
- name: Add MSBuild to PATH
- uses: microsoft/setup-msbuild@v3
+ uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
@@ -57,4 +56,4 @@ jobs:
run: msbuild ${{env.SOLUTION_FILE_PATH}} /m /p:Configuration=${{ env.BUILD_CONFIGURATION}},Platform=${{ env.TARGET_PLATFORM }}
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v4
+ uses: github/codeql-action/analyze@v3
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index fa324ed3..98bcca8d 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -4,7 +4,6 @@ on:
push:
branches: [master]
paths-ignore:
- - '.github/ISSUE_TEMPLATE/**'
- '.gitignore'
- '.gitattributes'
- 'res/**'
@@ -28,7 +27,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v6
+ uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
@@ -45,7 +44,7 @@ jobs:
run: echo "${{github.workspace}}/cov-analysis-win64/bin" >> $GITHUB_PATH
- name: Add MSBuild to PATH
- uses: microsoft/setup-msbuild@v3
+ uses: microsoft/setup-msbuild@v2
- name: Build with Coverity
run: |
@@ -53,7 +52,7 @@ jobs:
cov-build.exe --dir cov-int msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=${{ env.BUILD_CONFIGURATION }},Platform=${{ env.TARGET_PLATFORM }}
- name: Publish Coverity artifacts
- uses: actions/upload-artifact@v7
+ uses: actions/upload-artifact@v4
with:
name: cov-int
path: cov-int/
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
index b2e77d6c..9f85edcf 100644
--- a/.github/workflows/lock.yml
+++ b/.github/workflows/lock.yml
@@ -9,7 +9,7 @@ jobs:
lock:
runs-on: ubuntu-latest
steps:
- - uses: dessant/lock-threads@v6
+ - uses: dessant/lock-threads@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-inactive-days: '90'
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index 8e1df007..c56eacc6 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -3,7 +3,6 @@ name: MinGW
on:
push:
paths-ignore:
- - '.github/ISSUE_TEMPLATE/**'
- '.gitignore'
- '.gitattributes'
- 'res/**'
@@ -54,7 +53,7 @@ jobs:
upx
- name: Checkout repository
- uses: actions/checkout@v6
+ uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
@@ -85,23 +84,6 @@ jobs:
strip ./${{ matrix.exe }}
upx --lzma --best ./${{ matrix.exe }}
- - name: Prepare to sign ALPHA
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
- shell: bash
- # NB: The Base64 encoded variable should not have line breaks or this will fail!
- run: echo ${{ secrets.RUFUS_GITHUB_OFFICIAL_BUILD }} | base64 -di > ./sign.pfx
-
- - name: Add signtool to path
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
- uses: KamaranL/add-signtool-action@v1
-
- - name: Sign ALPHA
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
- shell: cmd
- run: |
- signtool sign /v /f sign.pfx /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 ${{ matrix.exe }}
- del sign.pfx
-
- name: Display SHA-256
run: sha256sum ./${{ matrix.exe }}
@@ -114,7 +96,7 @@ jobs:
- name: Upload artifacts
if: ${{ github.event_name == 'push' }}
- uses: actions/upload-artifact@v7
+ uses: actions/upload-artifact@v4
with:
name: ${{ matrix.sys }}
path: ./*.exe
@@ -124,7 +106,7 @@ jobs:
needs: MinGW-Build
steps:
- name: Merge Artifacts
- uses: actions/upload-artifact/merge@v7
+ uses: actions/upload-artifact/merge@v4
if: ${{ github.event_name == 'push' }}
with:
name: MinGW
diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml
deleted file mode 100644
index e3ed3f89..00000000
--- a/.github/workflows/setup.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-name: setup
-run-name: Windows setup wrapper build
-
-on:
- workflow_dispatch:
- branches: [ master ]
-
-env:
- SOLUTION_FILE_PATH: ./res/setup/setup.sln
- BUILD_CONFIGURATION: Release
-
-jobs:
- VS2022-Build:
- runs-on: windows-latest
-
- strategy:
- matrix:
- TARGET_PLATFORM: [x64, arm64]
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v6
-
- - name: Add MSBuild to PATH
- uses: microsoft/setup-msbuild@v3
- with:
- msbuild-architecture: x64
-
- - name: Build
- shell: cmd
- run: |
- msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=${{ env.BUILD_CONFIGURATION }},Platform=${{ matrix.TARGET_PLATFORM }}
- move .\res\setup\${{ matrix.TARGET_PLATFORM }}\Release\setup.exe .\setup_${{ matrix.TARGET_PLATFORM }}.exe
-
- - name: Display SHA-256
- run: sha256sum ./setup_${{ matrix.TARGET_PLATFORM }}.exe
-
- - name: Upload artifacts
- uses: actions/upload-artifact@v7
- with:
- name: ${{ matrix.TARGET_PLATFORM }}
- path: ./*.exe
-
- Extra-Step-To-Merge-Artifacts-Thanks-To-Upload-Artifact-v4-Breaking-Backwards-Compatibility:
- runs-on: windows-latest
- needs: VS2022-Build
- steps:
- - name: Merge Artifacts
- uses: actions/upload-artifact/merge@v7
- with:
- name: setup
- delete-merged: true
diff --git a/.github/workflows/vs2022.yml b/.github/workflows/vs2022.yml
index f27cd3fb..249f7ad4 100644
--- a/.github/workflows/vs2022.yml
+++ b/.github/workflows/vs2022.yml
@@ -3,7 +3,6 @@ name: VS2022
on:
push:
paths-ignore:
- - '.github/ISSUE_TEMPLATE/**'
- '.gitignore'
- '.gitattributes'
- 'res/**'
@@ -36,34 +35,20 @@ jobs:
strategy:
matrix:
- TARGET_PLATFORM: [x64, x86, arm64]
+ TARGET_PLATFORM: [x64, x86, arm64, arm]
steps:
- name: Checkout repository
- uses: actions/checkout@v6
+ uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Add MSBuild to PATH
- uses: microsoft/setup-msbuild@v3
+ uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- - name: Install UPX
- uses: crazy-max/ghaction-upx@v4
- with:
- install-only: true
-
- - name: Set version
- id: set_version
- shell: bash
- run: |
- version=$(git describe --tags)
- version=${version:1}
- version=${version%%-*}
- echo "version=$version" >> $GITHUB_OUTPUT
-
- name: Set ALPHA
id: set_alpha
shell: bash
@@ -90,31 +75,6 @@ jobs:
move .\${{ matrix.TARGET_PLATFORM }}\Release\rufus.exe .\rufus_${{ matrix.TARGET_PLATFORM }}.exe
move .\${{ matrix.TARGET_PLATFORM }}\Release\rufus.pdb .\rufus_${{ matrix.TARGET_PLATFORM }}.pdb
- - name: Prepare to sign ALPHA
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
- shell: bash
- # NB: The Base64 encoded variable should not have line breaks or this will fail!
- run: echo ${{ secrets.RUFUS_GITHUB_OFFICIAL_BUILD }} | base64 -di > ./sign.pfx
-
- - name: Add signtool to path
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
- uses: KamaranL/add-signtool-action@v1
-
- - name: Sign ALPHA
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
- shell: cmd
- run: |
- signtool sign /v /f sign.pfx /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 rufus_${{ matrix.TARGET_PLATFORM }}.exe
- del sign.pfx
-
- - name: Create standalone release executables
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
- shell: cmd
- run: |
- copy rufus_${{ matrix.TARGET_PLATFORM }}.exe rufus-${{ steps.set_version.outputs.version }}_${{ matrix.TARGET_PLATFORM }}.exe
- if exist rufus-${{ steps.set_version.outputs.version }}_x64.exe ( ren rufus-${{ steps.set_version.outputs.version }}_x64.exe rufus-${{ steps.set_version.outputs.version }}.exe )
- if not ${{ matrix.TARGET_PLATFORM }}==arm64 ( upx --lzma --best rufus-*.exe )
-
- name: Display SHA-256
run: sha256sum ./rufus_${{ matrix.TARGET_PLATFORM }}.exe
@@ -126,7 +86,7 @@ jobs:
curl --request POST --url https://www.virustotal.com/api/v3/monitor/items --header 'x-apikey: ${{ secrets.VIRUSTOTAL_API_KEY }}' --form path='/rufus_${{ matrix.TARGET_PLATFORM }}.exe' --form file=@./rufus_${{ matrix.TARGET_PLATFORM }}.exe
- name: Upload artifacts
- uses: actions/upload-artifact@v7
+ uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'push' }}
with:
name: ${{ matrix.TARGET_PLATFORM }}
@@ -139,7 +99,7 @@ jobs:
needs: VS2022-Build
steps:
- name: Merge Artifacts
- uses: actions/upload-artifact/merge@v7
+ uses: actions/upload-artifact/merge@v4
if: ${{ github.event_name == 'push' }}
with:
name: VS2022
diff --git a/.mingw/Makefile.am b/.mingw/Makefile.am
index 73c428a1..ec826d27 100644
--- a/.mingw/Makefile.am
+++ b/.mingw/Makefile.am
@@ -14,13 +14,12 @@ AM_V_SED = $(AM_V_SED_$(V))
# target arch. Oh, and we can't use 'target_cpu' or AC definitions on account that we are
# switching archs when building on our local machine, and don't want to have to go though
# a costly reconf each time when we can simply issue a 'make clean'.
-# Oh, and to find the number after the @ sign, just have a look at the MinGW .a libraries.
TUPLE := $(shell $(CC) -dumpmachine)
TARGET := $(word 1,$(subst -, ,$(TUPLE)))
DEF_SUFFIX := $(if $(TARGET:x86_64=),.def,.def64)
.PHONY: all
-all: crypt32-delaylib.lib dwmapi-delaylib.lib setupapi-delaylib.lib uxtheme-delaylib.lib version-delaylib.lib virtdisk-delaylib.lib wininet-delaylib.lib wintrust-delaylib.lib
+all: dwmapi-delaylib.lib version-delaylib.lib virtdisk-delaylib.lib wininet-delaylib.lib wintrust-delaylib.lib
%.def64: %.def
$(AM_V_SED) "s/@.*//" $< >$@
@@ -29,4 +28,4 @@ all: crypt32-delaylib.lib dwmapi-delaylib.lib setupapi-delaylib.lib uxtheme-dela
$(AM_V_DLLTOOL) --input-def $< --output-delaylib $@ --dllname $(basename $<).dll
clean:
- $(RM) -f $(CURDIR)/*.lib
+ $(RM) -rf *.lib
diff --git a/.mingw/Makefile.in b/.mingw/Makefile.in
index 74878a2c..117eb9c4 100644
--- a/.mingw/Makefile.in
+++ b/.mingw/Makefile.in
@@ -212,7 +212,6 @@ AM_V_SED = $(AM_V_SED_$(V))
# target arch. Oh, and we can't use 'target_cpu' or AC definitions on account that we are
# switching archs when building on our local machine, and don't want to have to go though
# a costly reconf each time when we can simply issue a 'make clean'.
-# Oh, and to find the number after the @ sign, just have a look at the MinGW .a libraries.
TUPLE := $(shell $(CC) -dumpmachine)
TARGET := $(word 1,$(subst -, ,$(TUPLE)))
DEF_SUFFIX := $(if $(TARGET:x86_64=),.def,.def64)
@@ -368,7 +367,7 @@ uninstall-am:
.PHONY: all
-all: crypt32-delaylib.lib dwmapi-delaylib.lib setupapi-delaylib.lib uxtheme-delaylib.lib version-delaylib.lib virtdisk-delaylib.lib wininet-delaylib.lib wintrust-delaylib.lib
+all: dwmapi-delaylib.lib version-delaylib.lib virtdisk-delaylib.lib wininet-delaylib.lib wintrust-delaylib.lib
%.def64: %.def
$(AM_V_SED) "s/@.*//" $< >$@
@@ -377,7 +376,7 @@ all: crypt32-delaylib.lib dwmapi-delaylib.lib setupapi-delaylib.lib uxtheme-dela
$(AM_V_DLLTOOL) --input-def $< --output-delaylib $@ --dllname $(basename $<).dll
clean:
- $(RM) -f $(CURDIR)/*.lib
+ $(RM) -rf *.lib
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/.mingw/cfgmgr32.def b/.mingw/cfgmgr32.def
deleted file mode 100644
index 81eca2b3..00000000
--- a/.mingw/cfgmgr32.def
+++ /dev/null
@@ -1,10 +0,0 @@
-EXPORTS
- CM_Get_Device_IDA@16
- CM_Get_Device_ID_List_SizeA@12
- CM_Get_Device_ID_ListA@16
- CM_Locate_DevNodeA@12
- CM_Get_Child@12
- CM_Get_Sibling@12
- CM_Get_Parent@12
- CM_Get_DevNode_Status@16
- CM_Get_DevNode_Registry_PropertyA@24
diff --git a/.mingw/crypt32.def b/.mingw/crypt32.def
deleted file mode 100644
index 6d070db3..00000000
--- a/.mingw/crypt32.def
+++ /dev/null
@@ -1,14 +0,0 @@
-EXPORTS
- CertFindCertificateInStore@24
- CertGetCertificateChain@32
- CertGetNameStringA@24
- CertCloseStore@8
- CertFreeCertificateContext@4
- CryptQueryObject@44
- CryptDecodeObjectEx@32
- CryptHashCertificate@28
- CryptMsgGetParam@20
- CryptMsgClose@4
- CryptMsgGetParam@20
- CryptMsgOpenToDecode@24
- CryptMsgUpdate@16
diff --git a/.mingw/dwmapi.def b/.mingw/dwmapi.def
index d8c21c97..240e17c7 100644
--- a/.mingw/dwmapi.def
+++ b/.mingw/dwmapi.def
@@ -1,4 +1,2 @@
EXPORTS
- DwmGetColorizationColor@8
DwmGetWindowAttribute@16
- DwmSetWindowAttribute@16
diff --git a/.mingw/setupapi.def b/.mingw/setupapi.def
deleted file mode 100644
index 5707e1cc..00000000
--- a/.mingw/setupapi.def
+++ /dev/null
@@ -1,20 +0,0 @@
-EXPORTS
- CM_Locate_DevNodeA@12
- CM_Get_DevNode_Registry_PropertyA@24
- CM_Get_DevNode_Status@16
- CM_Get_Child@12
- CM_Get_Parent@12
- CM_Get_Sibling@12
- CM_Get_Device_IDA@16
- CM_Get_Device_ID_ListA@16
- CM_Get_Device_ID_List_SizeA@12
- SetupDiGetDeviceInstanceIdA@20
- SetupDiGetDeviceRegistryPropertyA@28
- SetupDiGetDeviceRegistryPropertyW@28
- SetupDiChangeState@8
- SetupDiGetClassDevsA@16
- SetupDiSetClassInstallParamsW@16
- SetupDiEnumDeviceInfo@12
- SetupDiEnumDeviceInterfaces@20
- SetupDiDestroyDeviceInfoList@4
- SetupDiGetDeviceInterfaceDetailA@24
diff --git a/.mingw/uxtheme.def b/.mingw/uxtheme.def
deleted file mode 100644
index 05aa982c..00000000
--- a/.mingw/uxtheme.def
+++ /dev/null
@@ -1,15 +0,0 @@
-EXPORTS
- BeginBufferedAnimation@32
- BufferedPaintRenderAnimation@8
- BufferedPaintStopAllAnimations@4
- CloseThemeData@4
- DrawThemeBackground@24
- DrawThemeParentBackground@12
- DrawThemeTextEx@36
- EndBufferedAnimation@8
- GetThemeBackgroundContentRect@24
- GetThemeFont@24
- GetThemePartSize@28
- GetThemeTransitionDuration@24
- OpenThemeData@8
- SetWindowTheme@12
diff --git a/.mingw/wininet.def b/.mingw/wininet.def
index 107d3326..c1ca40d0 100644
--- a/.mingw/wininet.def
+++ b/.mingw/wininet.def
@@ -2,7 +2,6 @@ EXPORTS
HttpQueryInfoA@20
HttpOpenRequestA@32
HttpSendRequestA@20
- HttpAddRequestHeadersA@16
InternetCloseHandle@4
InternetConnectA@32
InternetCrackUrlA@16
diff --git a/.vs/bled.vcxproj b/.vs/bled.vcxproj
index 12050177..94e9e48e 100644
--- a/.vs/bled.vcxproj
+++ b/.vs/bled.vcxproj
@@ -46,59 +46,32 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
bled
diff --git a/.vs/bled.vcxproj.filters b/.vs/bled.vcxproj.filters
index abbc6ed8..f7370b6b 100644
--- a/.vs/bled.vcxproj.filters
+++ b/.vs/bled.vcxproj.filters
@@ -87,36 +87,6 @@
Source Files
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
@@ -146,56 +116,5 @@
Header Files
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
\ No newline at end of file
diff --git a/.vs/ms-sys.vcxproj b/.vs/ms-sys.vcxproj
index 796de1c8..1679bf4f 100644
--- a/.vs/ms-sys.vcxproj
+++ b/.vs/ms-sys.vcxproj
@@ -73,7 +73,6 @@
-
diff --git a/.vs/ms-sys.vcxproj.filters b/.vs/ms-sys.vcxproj.filters
index bd8636b5..d8dc4d00 100644
--- a/.vs/ms-sys.vcxproj.filters
+++ b/.vs/ms-sys.vcxproj.filters
@@ -158,9 +158,6 @@
Header Files
-
- Header Files
-
diff --git a/.vs/rufus.vcxproj b/.vs/rufus.vcxproj
index 843705b4..8c9b40f9 100644
--- a/.vs/rufus.vcxproj
+++ b/.vs/rufus.vcxproj
@@ -121,25 +121,24 @@
- _RUFUS;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)
+ _OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)
MultiThreadedDebug
Level3
- ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;..\src\wimlib;..\res;%(AdditionalIncludeDirectories)
+ ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;%(AdditionalIncludeDirectories)
CompileAsC
true
Async
4091;5255;28251;28252;28253;%(DisableSpecificWarnings)
Disabled
- /utf-8 /std:clatest $(ExternalCompilerOptions) %(AdditionalOptions)
+ /utf-8 $(ExternalCompilerOptions) %(AdditionalOptions)
- advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;ntdll.lib;shlwapi.lib;uxtheme.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;%(AdditionalDependencies)
+ advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;shlwapi.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;%(AdditionalDependencies)
RequireAdministrator
true
Windows
MachineX86
- advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;uxtheme.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
- /BREPRO /DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)
+ advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -152,24 +151,23 @@
- _RUFUS;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)
+ _OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)
MultiThreadedDebug
Level3
- ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;..\src\wimlib;..\res;%(AdditionalIncludeDirectories)
+ ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;%(AdditionalIncludeDirectories)
CompileAsC
true
Async
4091;5255;28251;28252;28253;%(DisableSpecificWarnings)
- /utf-8 /std:clatest $(ExternalCompilerOptions) %(AdditionalOptions)
+ /utf-8 $(ExternalCompilerOptions) %(AdditionalOptions)
- advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;ntdll.lib;shlwapi.lib;uxtheme.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;comdlg32.lib;%(AdditionalDependencies)
+ advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;shlwapi.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;ole32.lib;advapi32.lib;gdi32.lib;shell32.lib;comdlg32.lib;%(AdditionalDependencies)
RequireAdministrator
true
Windows
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\um\arm
- advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;uxtheme.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
- /BREPRO /DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)
+ advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;ole32.dll;advapi32.dll;gdi32.dll;shell32.dll;comdlg32.dll;%(DelayLoadDLLs)
_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -184,24 +182,23 @@
- _RUFUS;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)
+ _OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)
MultiThreadedDebug
Level3
- ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;..\src\wimlib;..\res;%(AdditionalIncludeDirectories)
+ ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;%(AdditionalIncludeDirectories)
CompileAsC
true
Async
4091;5255;28251;28252;28253;%(DisableSpecificWarnings)
- /utf-8 /std:clatest $(ExternalCompilerOptions) %(AdditionalOptions)
+ /utf-8 $(ExternalCompilerOptions) %(AdditionalOptions)
- advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;ntdll.lib;shlwapi.lib;uxtheme.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;comdlg32.lib;%(AdditionalDependencies)
+ advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;shlwapi.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;ole32.lib;advapi32.lib;gdi32.lib;shell32.lib;comdlg32.lib;%(AdditionalDependencies)
RequireAdministrator
true
Windows
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\arm64
- advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;uxtheme.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
- /BREPRO /DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)
+ advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;ole32.dll;advapi32.dll;gdi32.dll;shell32.dll;comdlg32.dll;%(DelayLoadDLLs)
_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -219,8 +216,8 @@
X64
- ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;..\src\wimlib;..\res;%(AdditionalIncludeDirectories)
- _RUFUS;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)
+ ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;%(AdditionalIncludeDirectories)
+ _OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)
MultiThreadedDebug
Level3
ProgramDatabase
@@ -229,16 +226,15 @@
Async
4091;5255;28251;28252;28253;%(DisableSpecificWarnings)
Disabled
- /utf-8 /std:clatest $(ExternalCompilerOptions) %(AdditionalOptions)
+ /utf-8 $(ExternalCompilerOptions) %(AdditionalOptions)
- advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;ntdll.lib;shlwapi.lib;uxtheme.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;%(AdditionalDependencies)
+ advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;shlwapi.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;%(AdditionalDependencies)
RequireAdministrator
true
Windows
MachineX64
- advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;uxtheme.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
- /BREPRO /DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)
+ advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -251,26 +247,26 @@
- _RUFUS;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;%(PreprocessorDefinitions)
+ _OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;%(PreprocessorDefinitions)
MultiThreaded
Level3
- ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;..\src\wimlib;..\res;%(AdditionalIncludeDirectories)
+ ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;%(AdditionalIncludeDirectories)
CompileAsC
true
Async
4091;5255;28251;28252;28253;%(DisableSpecificWarnings)
NDEBUG
- /utf-8 /std:clatest $(ExternalCompilerOptions) %(AdditionalOptions)
+ /utf-8 $(ExternalCompilerOptions) %(AdditionalOptions)
true
- advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;ntdll.lib;shlwapi.lib;uxtheme.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;%(AdditionalDependencies)
+ advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;shlwapi.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;%(AdditionalDependencies)
RequireAdministrator
false
Windows
MachineX86
- /BREPRO /DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)
- advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;uxtheme.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
+ /BREPRO %(AdditionalOptions)
+ advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -283,26 +279,26 @@
- _RUFUS;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;%(PreprocessorDefinitions)
+ _OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;%(PreprocessorDefinitions)
MultiThreaded
Level3
- ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;..\src\wimlib;..\res;%(AdditionalIncludeDirectories)
+ ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;%(AdditionalIncludeDirectories)
CompileAsC
true
Async
4091;5255;28251;28252;28253;%(DisableSpecificWarnings)
NDEBUG
- /utf-8 /std:clatest $(ExternalCompilerOptions) %(AdditionalOptions)
+ /utf-8 $(ExternalCompilerOptions) %(AdditionalOptions)
true
- advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;ntdll.lib;shlwapi.lib;uxtheme.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;comdlg32.lib;%(AdditionalDependencies)
+ advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;shlwapi.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;ole32.lib;advapi32.lib;gdi32.lib;shell32.lib;comdlg32.lib;%(AdditionalDependencies)
RequireAdministrator
false
Windows
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\um\arm
- /BREPRO /DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)
- advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;uxtheme.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
+ /BREPRO %(AdditionalOptions)
+ advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;ole32.dll;advapi32.dll;gdi32.dll;shell32.dll;comdlg32.dll;%(DelayLoadDLLs)
_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -317,26 +313,26 @@
- _RUFUS;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;%(PreprocessorDefinitions)
+ _OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;%(PreprocessorDefinitions)
MultiThreaded
Level3
- ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;..\src\wimlib;..\res;%(AdditionalIncludeDirectories)
+ ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;%(AdditionalIncludeDirectories)
CompileAsC
true
Async
4091;5255;28251;28252;28253;%(DisableSpecificWarnings)
NDEBUG
- /utf-8 /std:clatest $(ExternalCompilerOptions) %(AdditionalOptions)
+ /utf-8 $(ExternalCompilerOptions) %(AdditionalOptions)
true
- advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;ntdll.lib;shlwapi.lib;uxtheme.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;comdlg32.lib;%(AdditionalDependencies)
+ advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;shlwapi.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;ole32.lib;advapi32.lib;gdi32.lib;shell32.lib;comdlg32.lib;%(AdditionalDependencies)
RequireAdministrator
false
Windows
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\arm64
- /BREPRO /DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)
- advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;uxtheme.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
+ /BREPRO %(AdditionalOptions)
+ advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;ole32.dll;advapi32.dll;gdi32.dll;shell32.dll;comdlg32.dll;%(DelayLoadDLLs)
_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -354,26 +350,26 @@
X64
- _RUFUS;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;%(PreprocessorDefinitions)
+ _OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;COBJMACROS;%(PreprocessorDefinitions)
MultiThreaded
Level3
- ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;..\src\wimlib;..\res;%(AdditionalIncludeDirectories)
+ ..\src;..\src\msvc-missing;..\src\ms-sys\inc;..\src\syslinux\libinstaller;..\src\syslinux\libfat;..\src\syslinux\win;..\src\libcdio;..\src\getopt;%(AdditionalIncludeDirectories)
CompileAsC
true
Async
4091;5255;28251;28252;28253;%(DisableSpecificWarnings)
NDEBUG
- /utf-8 /std:clatest $(ExternalCompilerOptions) %(AdditionalOptions)
+ /utf-8 $(ExternalCompilerOptions) %(AdditionalOptions)
true
- advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;ntdll.lib;shlwapi.lib;uxtheme.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;%(AdditionalDependencies)
+ advapi32.lib;comctl32.lib;crypt32.lib;gdi32.lib;ole32.lib;dwmapi.lib;setupapi.lib;shell32.lib;shlwapi.lib;version.lib;virtdisk.lib;wininet.lib;wintrust.lib;%(AdditionalDependencies)
RequireAdministrator
false
Windows
MachineX64
- /BREPRO /DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)
- advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;uxtheme.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
+ /BREPRO %(AdditionalOptions)
+ advapi32.dll;comctl32.dll;crypt32.dll;gdi32.dll;ole32.dll;dwmapi.dll;setupapi.dll;shell32.dll;shlwapi.dll;version.dll;virtdisk.dll;wininet.dll;wintrust.dll;%(DelayLoadDLLs)
_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -385,10 +381,7 @@
-
-
-
-
+
@@ -402,6 +395,7 @@
+
@@ -413,25 +407,21 @@
-
-
-
-
+
-
-
-
+
+
@@ -452,7 +442,6 @@
-
@@ -496,9 +485,6 @@
{b01f5886-2b39-4b66-b65c-6427135b6a02}
-
- {633cfc82-e01b-4777-bde4-dc0739804332}
-
diff --git a/.vs/rufus.vcxproj.filters b/.vs/rufus.vcxproj.filters
index c535ebd8..fa818f9a 100644
--- a/.vs/rufus.vcxproj.filters
+++ b/.vs/rufus.vcxproj.filters
@@ -87,22 +87,13 @@
Source Files
+
+ Source Files
+
Source Files
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
+
Source Files
@@ -170,7 +161,7 @@
Header Files
-
+
Header Files
@@ -188,6 +179,9 @@
Header Files
+
+ Header Files
+
Header Files
@@ -200,22 +194,7 @@
Header Files
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
+
Header Files
diff --git a/.vs/wimlib.vcxproj b/.vs/wimlib.vcxproj
deleted file mode 100644
index d82bbb86..00000000
--- a/.vs/wimlib.vcxproj
+++ /dev/null
@@ -1,416 +0,0 @@
-
-
-
-
- Debug
- ARM
-
-
- Debug
- ARM64
-
-
- Debug
- Win32
-
-
- Release
- ARM
-
-
- Release
- ARM64
-
-
- Release
- Win32
-
-
- Debug
- x64
-
-
- Release
- x64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {633CFC82-E01B-4777-BDE4-DC0739804332}
- Win32Proj
- wimlib
- 10.0
-
-
-
- StaticLibrary
- true
- Unicode
- v143
-
-
- StaticLibrary
- true
- Unicode
- v143
- true
-
-
- StaticLibrary
- true
- Unicode
- v143
- true
-
-
- StaticLibrary
- true
- Unicode
- v143
-
-
- StaticLibrary
- true
- Unicode
- v143
- true
-
-
- StaticLibrary
- true
- Unicode
- v143
- true
-
-
- StaticLibrary
- true
- Unicode
- v143
-
-
- StaticLibrary
- true
- Unicode
- v143
-
-
-
- <_ProjectFileVersion>10.0.30319.1
- $(SolutionDir)arm\$(Configuration)\
- $(SolutionDir)arm\$(Configuration)\$(ProjectName)\
- $(SolutionDir)arm\$(Configuration)\
- $(SolutionDir)arm\$(Configuration)\$(ProjectName)\
- $(SolutionDir)arm64\$(Configuration)\
- $(SolutionDir)arm64\$(Configuration)\$(ProjectName)\
- $(SolutionDir)arm64\$(Configuration)\
- $(SolutionDir)arm64\$(Configuration)\$(ProjectName)\
- $(SolutionDir)x86\$(Configuration)\
- $(SolutionDir)x86\$(Configuration)\$(ProjectName)\
- $(SolutionDir)x86\$(Configuration)\
- $(SolutionDir)x86\$(Configuration)\$(ProjectName)\
- $(SolutionDir)x64\$(Configuration)\
- $(SolutionDir)x64\$(Configuration)\$(ProjectName)\
- $(SolutionDir)x64\$(Configuration)\
- $(SolutionDir)x64\$(Configuration)\$(ProjectName)\
- false
- false
- false
- false
- false
- false
- false
- false
-
-
-
- Level3
- Disabled
- ..\src;..\src\wimlib;..\src\msvc-missing;..\src\libcdio;%(AdditionalIncludeDirectories)
- MultiThreadedDebug
- ProgramDatabase
- 4018;4146;4267;4244;4334;4789;4996;6201;6239;6246;6255;6262;6297;6326;28252;28253
- CompileAsC
- /std:clatest
- _RUFUS;HAVE_CONFIG_H;UNICODE;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;_FILE_OFFSET_BITS=64;__SSE2__;%(PreprocessorDefinitions)
-
-
- Windows
- true
-
-
- MachineX86
-
-
-
-
-
-
- Level3
- Disabled
- ..\src;..\src\wimlib;..\src\msvc-missing;..\src\libcdio;%(AdditionalIncludeDirectories)
- MultiThreadedDebug
- ProgramDatabase
- /std:clatest
- 4018;4146;4267;4244;4334;4789;4996;6201;6239;6246;6255;6262;6297;6326;28252;28253
- _RUFUS;HAVE_CONFIG_H;UNICODE;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)
-
-
- Windows
- true
-
-
-
-
-
-
-
- Level3
- Disabled
- ..\src;..\src\wimlib;..\src\msvc-missing;..\src\libcdio;%(AdditionalIncludeDirectories)
- MultiThreadedDebug
- ProgramDatabase
- /std:clatest
- 4018;4146;4267;4244;4334;4789;4996;6201;6239;6246;6255;6262;6297;6326;28252;28253
- _RUFUS;HAVE_CONFIG_H;UNICODE;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)
-
-
- Windows
- true
-
-
-
-
-
- Level3
- ..\src;..\src\wimlib;..\src\msvc-missing;..\src\libcdio;%(AdditionalIncludeDirectories)
- MultiThreaded
- ProgramDatabase
- 4018;4146;4267;4244;4334;4789;4996;6201;6239;6246;6255;6262;6297;6326;28252;28253
- CompileAsC
- /std:clatest
- true
- _RUFUS;HAVE_CONFIG_H;UNICODE;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;_FILE_OFFSET_BITS=64;__SSE2__;%(PreprocessorDefinitions)
-
-
- MachineX86
-
-
-
-
- Level3
-
-
- MaxSpeed
- true
- ..\src;..\src\wimlib;..\src\msvc-missing;..\src\libcdio;%(AdditionalIncludeDirectories)
- MultiThreaded
- ProgramDatabase
- /std:clatest
- 4018;4146;4267;4244;4334;4789;4996;6201;6239;6246;6255;6262;6297;6326;28252;28253
- true
- _RUFUS;HAVE_CONFIG_H;UNICODE;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)
-
-
-
-
-
- Level3
-
-
- MaxSpeed
- true
- ..\src;..\src\wimlib;..\src\msvc-missing;..\src\libcdio;%(AdditionalIncludeDirectories)
- MultiThreaded
- ProgramDatabase
- /std:clatest
- 4018;4146;4267;4244;4334;4789;4996;6201;6239;6246;6255;6262;6297;6326;28252;28253
- true
- _RUFUS;HAVE_CONFIG_H;UNICODE;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)
-
-
-
-
-
- Level3
- Disabled
- ..\src;..\src\wimlib;..\src\msvc-missing;..\src\libcdio;%(AdditionalIncludeDirectories)
- MultiThreadedDebug
- ProgramDatabase
- 4018;4146;4267;4244;4334;4789;4996;6201;6239;6246;6255;6262;6297;6326;28252;28253
- CompileAsC
- /std:clatest
- _RUFUS;HAVE_CONFIG_H;UNICODE;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;_FILE_OFFSET_BITS=64;__SSE2__;%(PreprocessorDefinitions)
-
-
- Windows
- true
-
-
- MachineX64
-
-
-
-
- Level3
- ..\src;..\src\wimlib;..\src\msvc-missing;..\src\libcdio;%(AdditionalIncludeDirectories)
- MultiThreaded
- ProgramDatabase
- 4018;4146;4267;4244;4334;4789;4996;6201;6239;6246;6255;6262;6297;6326;28252;28253
- CompileAsC
- /std:clatest
- true
- _RUFUS;HAVE_CONFIG_H;UNICODE;_OFF_T_DEFINED;_off_t=__int64;off_t=_off_t;_FILE_OFFSET_BITS=64;__SSE2__;%(PreprocessorDefinitions)
-
-
- Windows
- true
- true
- true
-
-
- MachineX64
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.vs/wimlib.vcxproj.filters b/.vs/wimlib.vcxproj.filters
deleted file mode 100644
index 4092e21a..00000000
--- a/.vs/wimlib.vcxproj.filters
+++ /dev/null
@@ -1,422 +0,0 @@
-
-
-
-
- {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
- cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
-
-
- {93995380-89BD-4b04-88EB-625FBE52EBFB}
- h;hpp;hxx;hm;inl;inc;xsd
-
-
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
-
\ No newline at end of file
diff --git a/ChangeLog.txt b/ChangeLog.txt
index f49392a5..3200c139 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,95 +1,3 @@
-o Version 4.14 (2026.04.30)
- Windows User Experience improvements:
- - Add a "Quality of Life" option, to disable Teams, Outlook, Copilot and other Microsoft forced nuisances
- - Add a Silent installation option, that automatically, and WITHOUT PROMPT, installs Windows on the first detected disk
- - Add an option to copy 'SkuSiPolicy.p7b' to the ESP on installation (please refer to KB5042562 for more info)
- - Add tooltips for all the dialog options
- Add limited support for El-Torito UEFI image extraction (Mostly for Dell BIOS update ISOs)
- Improve error report when the user tries to use an image that resides on the target drive
- Improve the UEFI:NTFS partition label to make the install media more explicit during Windows Setup disk partitioning
- Improve support for Bazzite and other Fedora derivatives that don't follow EFI conventions
- Improve detection and exclusion of the new Bitdefender hidden VHDs
- Improve reporting of GRUB and Isolinux MBRs
- Fix potential errors during creation of Windows To Go media, due to the use of new versions of bcdboot
- Fix errors with local accounts that start or end with whitespaces
-
-o Version 4.13 (2026.02.17) [BUGFIX RELEASE]
- Fix UEFI:NTFS not selecting the proper driver for ARM/ARM64
- Update embedded GRUB to v2.14
-
-o Version 4.12 (2026.01.30)
- Filter out the new Bitdefender VHDs
- Filter disallowed characters in local account names
- Improve Microsoft Dev Drive detection (courtesy of Martin Kuschnik)
- Improve the pre-formatting partition cleanup code
- Improve error reporting on ISO extraction issues
- Improve detection of drives with long hardware IDs (typically SSDs)
- Improve conflicting process reporting
- Improve support for Nutanix and umbrelOS ISOs
- Fix a TOCTOU vulnerability in Fido script execution (CVE-2026-2398, reported by @independent-arg)
- Fix replacement vulnerabilities for diskcopy.dll and oscdimg.exe
- Fix FFU image creation being erroneously invocated, when trying to save an ISO image
- Fix saving of ISO images to paths that contain spaces
- Update UEFI:NTFS and UEFI DBXs to latest
-
-o Version 4.11 (2025.10.02)
- Add a cheat mode to toggle between Light and Dark mode
- Improve WUE option text relating to the CA 2023 option
- Update Linux SBAT / Microsoft SVN Secure Boot revocation values to latest
- Fix some GRUB/Syslinux download dialogs showing only the 'Close' button
- Fix an assert being triggered when using the WUE CA 2023 option on its own
- Fix an application crash on systems that have a failed dynamic disk
-
-o Version 4.10 (2025.09.24)
- Add Dark Mode support (courtesy of @ozone10)
- Add support for creating Windows CA 2023 compatible media (requires a Windows 11 25H2 ISO)
- Add support for saving an existing drive to ISO (UDF only)
- Improve error reporting when saving to VHD/VHDX (with thanks to @Kazkans)
- Improve persistence support for Linux Mint
- Fix UEFI DBX updates being reported in some timezones, even when there are none
- Fix a situation where no file system can be selected in ISO mode
- Fix a crash when trying to process Windows ISOs with very long paths
-
-o Version 4.9 (2025.06.15) [BUGFIX RELEASE]
- Fix downloads from https://rufus.ie no longer working due to recent GitHub server changes
- Fix unofficial Windows ISOs, with single index WIMs, not presenting the WUE dialog
-
-o Version 4.8 (2025.06.11)
- Switch to wimlib for all WIM image processing:
- - Greatly speeds up image analysis when opening Windows ISOs
- - Can speed up Windows To Go drive creation (But won't do miracles if you have a crap drive)
- - Might help with Parallels limitations on Mac (But Rufus on Parallels is still UNSUPPORTED)
- - Enables the splitting of >4GB files with Alt-E (But still WAY SLOWER than using UEFI:NTFS)
- Switch to using Visual Studio binaries everywhere, due to MinGW DLL delay-loading limitations
- Add more exceptions for Linux ISOs that restrict themselves to DD mode (Nobara, openSUSE, ...)
- Improve reporting of UEFI bootloaders in the log, with info on the Secure Boot status
- Fix an issue with size limitations when writing an uncompressed VHD back to the same drive
- Fix a crash when opening the log with the 32-bit MinGW compiled version
- Fix commandline parameters not being forwarded to original Windows setup.exe
-
-o Version 4.7 (2025.04.09)
- Add a mechanism to detect and download updated DBXs from the official UEFI repository
- Add zstd compression support for disk images
- Add a new exclusion feature in the settings, to ignore disks with a specific GPT GUID
- Improve detection for compressed VHD images that are too large to fit the target drive
- Fix commandline hogger not being deleted when running Rufus from a different directory
- Fix FAT filenames from embedded images being potentially truncated on image extraction
- Fix a side-loading vulnerability [CVE-2025-26624] with cfgmgr32.dll (with thanks to @EmperialX)
- Fix UI memory leaks (courtesy of @ozone10)
- Fall back to user/system default locale when getting error description (courtesy of @Wack0)
- Don't run the commandline hogger on POSIX shells
- Drop ARM 32-bit builds (Note that ARM 64-bit builds are *NOT* affected by this)
- Update FreeDOS and Grub4DOS to latest
-
-o Version 4.6 (2024.10.21)
- Add a new setup.exe wrapper to bypass Windows 11 24H2 in-place upgrade restrictions
- Add TimeZone to regional options replication
- Set local account passwords to not expire by default
- Fix an error when trying to write compressed VHD images
- Fix an error when invoking Rufus from the PowerShell commandline
- Improve revoked UEFI bootloaders check to support Linux SBAT, Windows SVN and cert DBX
- Improve support for ReactOS boot media
-
o Version 4.5 (2024.05.22)
Add new advanced option to perform runtime UEFI media validation of suitable images (Windows, most Linux)
Move the 'Use Rufus MBR' advanced option to a cheat mode (Alt-A)
diff --git a/Makefile.am b/Makefile.am
index e3145a67..dfc8d20d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,9 +3,6 @@ TARGET = rufus
TAGVER = $(shell git log --oneline | wc -l)
SEDCMD = s/^\([ \t]*\)Version="\([0-9]*\)\.\([0-9]*\)\.[0-9]*\.\([0-9]*\)"\(.*\)/\1Version="\2.\3.@@TAGVER@@.\4"\5/
-upx: all
- @upx --lzma --best src/$(TARGET)$(EXEEXT)
-
# This step produces the UPX compressed and signed releases that are made available for public download
# NB: UPX v3.09 or later is needed for LZMA compression (http://upx.sourceforge.net/)
release: all
diff --git a/Makefile.in b/Makefile.in
index ef78f444..a3c4e7db 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -502,9 +502,6 @@ uninstall-am:
pdf-am ps ps-am tags tags-am uninstall uninstall-am
-upx: all
- @upx --lzma --best src/$(TARGET)$(EXEEXT)
-
# This step produces the UPX compressed and signed releases that are made available for public download
# NB: UPX v3.09 or later is needed for LZMA compression (http://upx.sourceforge.net/)
release: all
diff --git a/README.md b/README.md
index 0b9191f3..ff0352d8 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,6 @@ easily accessible log, or through the [Windows debug facility](https://docs.micr
* [__Official Website__](https://rufus.ie)
* [FAQ](https://github.com/pbatard/rufus/wiki/FAQ)
-* [Security and safety measures](https://github.com/pbatard/rufus/wiki/Security)
Enhancements/Bugs
-----------------
diff --git a/SECURITY.md b/SECURITY.md
index 55b8812f..b2dc36bf 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -1,9 +1,7 @@
-# Reporting a security vulnerability
+# Reporting a Vulnerability
-To report a **security** vulnerability for Rufus (i.e. an issue that you believe could lead to malicious actors being able to exploit the Rufus application), please e-mail support@akeo.ie.
+To report a vulnerability for Rufus, please e-mail support@akeo.ie.
-Please do **NOT** use the e-mail above if you have a regular issue, such as a problem creating or using a bootable drive. Instead go back to https://github.com/pbatard/rufus/issues and create an issue using the regular *Issue Report* template.
+If you find a vulnerability, we will ask you to respect [responsible disclosure](https://en.wikipedia.org/wiki/Responsible_disclosure) practices.
-For any security vulnerability report, we kindly ask you to respect [responsible disclosure](https://en.wikipedia.org/wiki/Responsible_disclosure) practices.
-
-In return, we will endeavour to respond to security vulnerability reports within 48 hours.
+In return, we will endeavour to respond to vulnerability reports within 48 hours.
diff --git a/_pre-commit.sh b/_pre-commit.sh
index 3a2b65bf..12469c41 100755
--- a/_pre-commit.sh
+++ b/_pre-commit.sh
@@ -32,7 +32,6 @@ s/^\([ \t]*\)*\(FILE\|PRODUCT\)VERSION\([ \t]*\)\([0-9]*\),\([0-9]*\),[0-9]*,\(.
s/^\([ \t]*\)VALUE\([ \t]*\)"\(File\|Product\)Version",\([ \t]*\)"\(.*\)\..*"[ \t]*/\1VALUE\2"\3Version",\4"\5.@@BUILD@@"/
s/^\(.*\)"Rufus \(.*\)\..*"\(.*\)/\1"Rufus \2.@@BUILD@@"\3/
s/^\([ \t]*\)Version="\([0-9]*\)\.\([0-9]*\)\.[0-9]*\.\([0-9]*\)"\(.*\)/\1Version="\2.\3.@@BUILD@@.\4"\5/
-s/\xef\xbf\xbd/\xa9/
_EOF
# First run sed to substitute our variable in the sed command file
diff --git a/_release.sh b/_release.sh
index 46c58c17..32b3716e 100755
--- a/_release.sh
+++ b/_release.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+rm -f rufus*.exe
./configure --disable-debug "$@"
make -j12 clean
make -j12 release
diff --git a/_sign.cmd b/_sign.cmd
index 40f24e22..ca68f4f1 100644
--- a/_sign.cmd
+++ b/_sign.cmd
@@ -1,2 +1,2 @@
@echo off
-"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool" sign /v /sha1 fc4686753937a93fdcd48c2bb4375e239af92dcb /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 %*
+"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool" sign /v /sha1 3dbc3a2a0e9ce8803b422cfdbc60acd33164965d /fd SHA256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td SHA256 %*
diff --git a/configure b/configure
index 4f617edd..667af6b2 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for rufus 4.15.
+# Generated by GNU Autoconf 2.71 for rufus 4.6.
#
# Report bugs to .
#
@@ -611,8 +611,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='rufus'
PACKAGE_TARNAME='rufus'
-PACKAGE_VERSION='4.15'
-PACKAGE_STRING='rufus 4.15'
+PACKAGE_VERSION='4.6'
+PACKAGE_STRING='rufus 4.6'
PACKAGE_BUGREPORT='https://github.com/pbatard/rufus/issues'
PACKAGE_URL='https://rufus.ie'
@@ -1269,7 +1269,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures rufus 4.15 to adapt to many kinds of systems.
+\`configure' configures rufus 4.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1336,7 +1336,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of rufus 4.15:";;
+ short | recursive ) echo "Configuration of rufus 4.6:";;
esac
cat <<\_ACEOF
@@ -1428,7 +1428,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-rufus configure 4.15
+rufus configure 4.6
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1504,7 +1504,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by rufus $as_me 4.15, which was
+It was created by rufus $as_me 4.6, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -2767,7 +2767,7 @@ fi
# Define the identity of the package.
PACKAGE='rufus'
- VERSION='4.15'
+ VERSION='4.6'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -4702,7 +4702,7 @@ fi
printf "%s\n" "enabling Large File Support (ISO support)" >&6; }
AM_CFLAGS="$AM_CFLAGS -D_FILE_OFFSET_BITS=64 -D_OFF_T_ -D_off_t=off64_t -Doff_t=off64_t -Doff32_t=long"
-# Check for -Wno-pointer-sign compiler support (GCC >= 4)
+# check for -Wno-pointer-sign compiler support (GCC >= 4)
saved_CFLAGS="${CFLAGS}"
CFLAGS="$CFLAGS -Wno-pointer-sign"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4725,9 +4725,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
CFLAGS="${saved_CFLAGS}"
-# NB: The DECLSPEC_IMPORT redefinition below is a temporary(?) workaround for MinGW32 delay-loading
-# See https://github.com/pbatard/rufus/pull/2513 as well as https://sourceware.org/bugzilla/show_bug.cgi?id=14339
-AM_CFLAGS="$AM_CFLAGS -DUNICODE -D_UNICODE -UNDEBUG -DCOBJMACROS -D__USE_MINGW_ANSI_STDIO=0 -UDECLSPEC_IMPORT -DDECLSPEC_IMPORT=__attribute__\(\(visibility\(\\\"hidden\\\"\)\)\) -std=gnu11 -Wshadow -Wall -Wformat-security -Wundef -Wunused -Wstrict-prototypes -Wno-restrict -Wno-array-bounds -Werror-implicit-function-declaration -Wbidi-chars=none $nopointersign_cflags"
+AM_CFLAGS="$AM_CFLAGS -DUNICODE -D_UNICODE -UNDEBUG -DCOBJMACROS -D__USE_MINGW_ANSI_STDIO=0 -std=gnu99 -Wshadow -Wall -Wformat-security -Wundef -Wunused -Wstrict-prototypes -Wno-restrict -Wno-array-bounds -Werror-implicit-function-declaration -Wbidi-chars=none $nopointersign_cflags"
@@ -4760,8 +4758,6 @@ ac_config_files="$ac_config_files src/syslinux/libinstaller/Makefile"
ac_config_files="$ac_config_files src/syslinux/win/Makefile"
-ac_config_files="$ac_config_files src/wimlib/Makefile"
-
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
@@ -5313,7 +5309,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by rufus $as_me 4.15, which was
+This file was extended by rufus $as_me 4.6, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -5369,7 +5365,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-rufus config.status 4.15
+rufus config.status 4.6
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
@@ -5495,7 +5491,6 @@ do
"src/syslinux/libfat/Makefile") CONFIG_FILES="$CONFIG_FILES src/syslinux/libfat/Makefile" ;;
"src/syslinux/libinstaller/Makefile") CONFIG_FILES="$CONFIG_FILES src/syslinux/libinstaller/Makefile" ;;
"src/syslinux/win/Makefile") CONFIG_FILES="$CONFIG_FILES src/syslinux/win/Makefile" ;;
- "src/wimlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/wimlib/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac
diff --git a/configure.ac b/configure.ac
index b80d3404..513ab26d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([rufus], [4.15], [https://github.com/pbatard/rufus/issues], [rufus], [https://rufus.ie])
+AC_INIT([rufus], [4.6], [https://github.com/pbatard/rufus/issues], [rufus], [https://rufus.ie])
AM_INIT_AUTOMAKE([-Wno-portability foreign no-dist no-dependencies])
AC_CONFIG_SRCDIR([src/rufus.c])
AC_CONFIG_MACRO_DIR([m4])
@@ -57,16 +57,14 @@ fi
AC_MSG_RESULT([enabling Large File Support (ISO support)])
AM_CFLAGS="$AM_CFLAGS -D_FILE_OFFSET_BITS=64 -D_OFF_T_ -D_off_t=off64_t -Doff_t=off64_t -Doff32_t=long"
-# Check for -Wno-pointer-sign compiler support (GCC >= 4)
+# check for -Wno-pointer-sign compiler support (GCC >= 4)
saved_CFLAGS="${CFLAGS}"
CFLAGS="$CFLAGS -Wno-pointer-sign"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
[nopointersign_cflags="-Wno-pointer-sign"], [nopointersign_cflags=""])
CFLAGS="${saved_CFLAGS}"
-# NB: The DECLSPEC_IMPORT redefinition below is a temporary(?) workaround for MinGW32 delay-loading
-# See https://github.com/pbatard/rufus/pull/2513 as well as https://sourceware.org/bugzilla/show_bug.cgi?id=14339
-AM_CFLAGS="$AM_CFLAGS -DUNICODE -D_UNICODE -UNDEBUG -DCOBJMACROS -D__USE_MINGW_ANSI_STDIO=0 -UDECLSPEC_IMPORT -DDECLSPEC_IMPORT=__attribute__\(\(visibility\(\\\"hidden\\\"\)\)\) -std=gnu11 -Wshadow -Wall -Wformat-security -Wundef -Wunused -Wstrict-prototypes -Wno-restrict -Wno-array-bounds -Werror-implicit-function-declaration -Wbidi-chars=none $nopointersign_cflags"
+AM_CFLAGS="$AM_CFLAGS -DUNICODE -D_UNICODE -UNDEBUG -DCOBJMACROS -D__USE_MINGW_ANSI_STDIO=0 -std=gnu99 -Wshadow -Wall -Wformat-security -Wundef -Wunused -Wstrict-prototypes -Wno-restrict -Wno-array-bounds -Werror-implicit-function-declaration -Wbidi-chars=none $nopointersign_cflags"
AC_SUBST([VISIBILITY_CFLAGS])
AC_SUBST([AM_CFLAGS])
@@ -86,5 +84,4 @@ AC_CONFIG_FILES([src/ms-sys/Makefile])
AC_CONFIG_FILES([src/syslinux/libfat/Makefile])
AC_CONFIG_FILES([src/syslinux/libinstaller/Makefile])
AC_CONFIG_FILES([src/syslinux/win/Makefile])
-AC_CONFIG_FILES([src/wimlib/Makefile])
AC_OUTPUT
diff --git a/res/appstore/get_pe_info.c b/res/appstore/get_pe_info.c
deleted file mode 100644
index d803662d..00000000
--- a/res/appstore/get_pe_info.c
+++ /dev/null
@@ -1,62 +0,0 @@
-// Compile with: gcc -lversion -o get_pe_info get_pe_info.c
-
-#include
-#include
-#include
-
-int main(int argc, char *argv[]) {
- VS_FIXEDFILEINFO *file_info;
- DWORD handle, size;
- WORD lang, codepage;
- UINT len;
- void *buffer = NULL, *translation, *version_info;
- char sub_block[50];
- int ret = 1;
-
- if (argc != 3 || argv[1][0] != '-') {
- printf("Usage: %s [-i|-v] \n", argv[0]);
- goto out;
- }
-
- size = GetFileVersionInfoSizeA(argv[2], &handle);
- if (size == 0) {
- fprintf(stderr, "Failed to get version info size.\n");
- goto out;
- }
-
- buffer = malloc(size);
- if (buffer == NULL)
- goto out;
-
- if (!GetFileVersionInfoA(argv[2], handle, size, buffer)) {
- fprintf(stderr, "Failed to get version info.\n");
- goto out;
- }
-
- if (argv[1][1] == 'i') {
- if (!VerQueryValueA(buffer, "\\VarFileInfo\\Translation", &translation, &len) || len < 4) {
- fprintf(stderr, "Failed to retrieve language and codepage information.\n");
- goto out;
- }
- lang = *(WORD*)translation;
- codepage = *((WORD*)translation + 1);
- snprintf(sub_block, sizeof(sub_block), "\\StringFileInfo\\%04x%04x\\InternalName", lang, codepage);
- if (!VerQueryValueA(buffer, sub_block, &version_info, &len)) {
- fprintf(stderr, "Failed to retrieve Internal Name.\n");
- goto out;
- }
- printf("%s\n", (char*)version_info);
- } else {
- if (!VerQueryValueA(buffer, "\\", (LPVOID*)&file_info, &len) || len < sizeof(VS_FIXEDFILEINFO)) {
- fprintf(stderr, "Failed to retrieve file info.\n");
- goto out;
- }
- printf("%d.%d.%d.%d\n", HIWORD(file_info->dwFileVersionMS), LOWORD(file_info->dwFileVersionMS),
- HIWORD(file_info->dwFileVersionLS), LOWORD(file_info->dwFileVersionLS));
- }
- ret = 0;
-
-out:
- free(buffer);
- return ret;
-}
diff --git a/res/appstore/listing/listing.csv b/res/appstore/listing/listing.csv
index 2880ae7f..6df2d8c7 100644
--- a/res/appstore/listing/listing.csv
+++ b/res/appstore/listing/listing.csv
@@ -11,9 +11,9 @@
• Лог на промените: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus 是一个帮助您格式化并创建可启动 USB 驱动器(如 U 盘和存储卡)的工具。
• 官方网站: https://rufus.ie
• 源代码: https://github.com/pbatard/rufus
-• 更新日志: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus 是個能格式化並製作可開機 USB 快閃磁碟 (如 USB 隨身碟等) 的工具。
+• 更新日志: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus 是個能格式化並製作可開機 USB 快閃磁碟機(USB 隨身碟、Memory Stick 等等)的工具。
• 官方網站: https://rufus.ie
-• 原始碼: https://github.com/pbatard/rufus
+• 源始碼: https://github.com/pbatard/rufus
• 更新日誌: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus je aplikacija koja olakšava formatiranje i stvaranje USB pokretačkih jedinica.
• Službena stranica: https://rufus.ie
• Šifra izvora: https://github.com/pbatard/rufus
@@ -32,7 +32,7 @@
• Muutosloki: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus est un utilitaire permettant de formater et de créer des média USB amorçables, tels que clés USB, mémoire flash, etc.
• Site officiel : https://rufus.ie
• Code source: https://github.com/pbatard/rufus
-• ChangeLog: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus ist ein Werkzeug, das beim Formatieren und Erstellen bootfähiger USB-Flash-Laufwerke wie USB-Sticks, Speichersticks usw. hilft.
+• ChangeLog: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus ist ein Werkzeug, welches dabei hilft, bootfähige USB-Laufwerke zu erstellen, wie beispielweise USB-Keys, Speichersticks usw.
• Offizielle Website: https://rufus.ie
• Quellcode: https://github.com/pbatard/rufus
• Änderungsprotokoll: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Το Rufus είναι ένα βοηθητικό πρόγραμμα που βοηθά στη διαμόρφωση και τη δημιουργία μονάδων flash USB με δυνατότητα εκκίνησης, όπως κλειδιά USB/pendrives,κάρτες μνήμης κ.λπ.
@@ -71,18 +71,18 @@
• Endringslogg: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus ابزاری است که به فرمت و ایجاد درایوهای فلش USB قابل بوت، مانند کلیدهای USB/pendrives، مموری استیک ها و غیره به شما کمک می کند.
• سایت رسمی: https://rufus.ie
• منبع کد: https://github.com/pbatard/rufus
-• لیست تغییرات https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus to narzędzie, które pomaga formatować i tworzyć dyski rozruchowe flash USB, takie jak klucze USB, pendrive-y itp.
+• لیست تغییرات https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus to narzędzie, które pomaga formatować i tworzyć bootowalne dyski flash USB, takie jak klucze USB / pendrive, pendrive'y itp.
• Oficjalna strona: https://rufus.ie
• Kod źródłowy: https://github.com/pbatard/rufus
• Zmiany: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus é um utilitário que ajuda a formatar e a criar unidades flash USB inicializáveis, tais como pendrives USB, cartões de memória, etc.
• Site oficial: https://rufus.ie
• Código fonte: https://github.com/pbatard/rufus
-• Registro de alterações: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","O Rufus é um utilitário que ajuda a formatar e a criar unidades USB inicializáveis, tais como dispositivos USB/pendrives, cartões de memória, etc.
-• Página oficial: https://rufus.ie
+• Registro de alterações: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus é um utilitário que ajuda a formatar e a criar unidades USB inicializáveis, tais como dispositivos USB/pendrives, cartões de memória, etc.
+• Site oficial: https://rufus.ie
• Código fonte: https://github.com/pbatard/rufus
• Alterações: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus este un utilitar care ajută la formatarea și crearea de drive-uri USB bootabile, precum cheile sau pendriverele USB, unități de memorie, etc.
-• Site oficial: https://rufus.ie
-• Cod sursă: https://github.com/pbatard/rufus
+• Site official: https://rufus.ie
+• Codul Sursei: https://github.com/pbatard/rufus
• Listă de schimbări: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus - это утилита для форматирования и создания загрузочных флеш-накопителей USB.
• Официальный сайт: https://rufus.ie
• Исходный код: https://github.com/pbatard/rufus
@@ -110,30 +110,27 @@
• Sürüm Notları https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus це утиліта, яка допомагає форматувати та створювати завантажувальні флешки, картки пам'яті, тощо.
• Офіційний сайт: https://rufus.ie
• Сирцевий код: https://github.com/pbatard/rufus
-• Список змін: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus là một tiện ích giúp định dạng và tạo khả năng khởi động cho các thiết bị USB, ví dụ như thẻ USB/đĩa di động, thẻ nhớ, v.v...
+• Список змін: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt","Rufus là một tiện ích giúp định dạng và tạo khả năng khởi động cho USB, chẳng hạn như thẻ USB/đĩa di động, thẻ nhớ, vv.
• Trang web chính thức: https://rufus.ie
• Mã nguồn: https://github.com/pbatard/rufus
• Nhật ký thay đổi: https://github.com/pbatard/rufus/blob/master/ChangeLog.txt"
-"ReleaseNotes","3","Text","• Windows User Experience improvements:
-• - Add a ""Quality of Life"" option, to disable Teams, Outlook, Copilot and other Microsoft forced nuisances
-• - Add a Silent installation option, that automatically, and WITHOUT PROMPT, installs Windows on the first detected disk
-• - Add an option to copy 'SkuSiPolicy.p7b' to the ESP on installation (please refer to KB5042562 for more info)
-• - Add tooltips for all the dialog options
-• Add limited support for El-Torito UEFI image extraction (Mostly for Dell BIOS update ISOs)
-• Improve error report when the user tries to use an image that resides on the target drive
-• Improve the UEFI:NTFS partition label to make the install media more explicit during Windows Setup disk partitioning
-• Improve support for Bazzite and other Fedora derivatives that don't follow EFI conventions
-• Improve detection and exclusion of the new Bitdefender hidden VHDs
-• Improve reporting of GRUB and Isolinux MBRs
-• Fix potential errors during creation of Windows To Go media, due to the use of new versions of bcdboot
-• Fix errors with local accounts that start or end with whitespaces",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
+"ReleaseNotes","3","Text","• Add new advanced option to perform runtime UEFI media validation of suitable images (Windows, most Linux)
+• Move the 'Use Rufus MBR' advanced option to a cheat mode (Alt-A)
+• Fix truncation of VHDX images, as well as a benign error message when writing VHD/VHDX
+• Fix support for Linux persistence in some configurations (Mint, Ubuntu 24.04)
+• Fix multiple potential vulnerabilities (with thanks to Mansour Gashasbi)
+• Update internal GRUB to version 2.12
+• Update UEFI:NTFS to latest (now always uses the ntfs-3g driver, rather than the buggy AMI NTFS one)
+• Increase buffer size when copying ISO files, in an attempt to minimize the AMI NTFS UEFI driver bug
+• Improve partition creation handling
+• Don't display the WUE dialog when a conflicting 'unattend.xml' already exists",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"Title","4","Text","Rufus",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"ShortTitle","5","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"SortTitle","6","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"VoiceTitle","7","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"ShortDescription","8","Text","","Rufus - The Reliable USB Formatting Utility","Rufus - أداة فرمتة الـ USB جديرة بالثقة","Rufus - Надеждната USB форматираща програма","Rufus - 可靠的 USB 格式化工具","Rufus - 快速可靠的 USB 格式化工具","Rufus - Pouzdan alat za formatiranje USB-a","Rufus - Spolehlivý program pro formátování USB","Rufus - Det pålidelige USB-formateringsværktøj","Rufus - de betrouwbare USB-formatteertool","Rufus - Luotettava USB-alustusohjelma","Rufus - L'utilitaire de formatage USB fiable","Rufus - Das zuverlässige USB-Formatierungstool","Rufus - Μία αξιόπιστη εφαρμογή διαμόρφωσης USB","Rufus - הכלי לאתחול USB האמין ביותר","Rufus - A megbízható USB-formázó segédprogram","Rufus - Utilitas Pemformatan USB yang Handal","Rufus - Utility affidabile per la formattazione di unità USB","Rufus - 信頼性の高い USB フォーマット ユーティリティ","Rufus - 신뢰할 수 있는 USB 포맷 유틸리티","Rufus - uzticama un vienkārša USB formatēšanas utilīta","Rufus - patikima USB formatavimo priemonė","Rufus - Utiliti pemformatan USB yang dipercayai","Rufus - Det pålitelige USB-formateringsprogrammet","Rufus، ابزاری کاربردی و قابلاطمینان برای فرمت کردن درایوهای USB","Rufus - niezawodne narzędzie do formatowania USB","Rufus - O Utilitário de Formatação USB Confiável","Rufus - O utilitário de confiança para formatação USB","Rufus - Instrumentul de încredere pentru formatări USB","Rufus - Надёжная утилита для форматирования USB-дисков","Rufus - Pouzdan Alat Za Formatiranje USB diska","Rufus - Spoľahlivý program pre formátovanie USB","Rufus - zanesljivi pripomoček za USB formatiranje","Rufus, la herramienta de formateo de USBs en la que puedes confiar","Rufus - Det pålitliga verktyget för USB-formatering","Rufus - ยูทิลิตี้การฟอร์แมต USB ที่ไว้ใจได้","Rufus - Güvenilir USB Biçimlendirme Programı","Rufus - надійна утиліта для форматування USB-накопичувачів","Rufus - Tiện ích Định dạng USB Đáng tin cậy"
"DevStudio","9","Text","Pete Batard",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
-"CopyrightTrademarkInformation","12","Text","© 2011-2026 Pete Batard",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
+"CopyrightTrademarkInformation","12","Text","© 2011-2024 Pete Batard",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"AdditionalLicenseTerms","13","Text","https://www.gnu.org/licenses/gpl-3.0.html","This application is licensed under the terms of the GNU Public License (GPL) version 3.
See https://www.gnu.org/licenses/gpl-3.0.en.html for details.","هذا التطبيق مُرخص بموجب شروط رخصة جنو (GNU) العمومية (GPL) الإصدار 3.
راجع https://www.gnu.org/licenses/gpl-3.0.ar.html لمزيد من التفاصيل.","Тази програма е лицензирана според условията на GNU Public License (GPL) версия 3.
@@ -153,7 +150,7 @@ További információ: https://www.gnu.org/licenses/gpl-3.0.html.","Aplikasi ini
Lihat https://www.gnu.org/licenses/gpl-3.0.html untuk detail lebih lanjut.","Questa applicazione è rilasciata sotto i termini della GNU Public License (GPL) versione 3.
Vedere https://www.gnu.org/licenses/gpl-3.0.html per dettagli.","このアプリケーションはGNU Public License (GPL) version 3でライセンスされています。
詳細は https://www.gnu.org/licenses/gpl-3.0.ja.html をご覧ください。","이 응용 프로그램은 GNU Public License (GPL) 버전 3의 조건에 따라 라이선스가 부여됩니다.
-자세한 내용은 https://www.gnu.org/licenses/gpl-3.0.html 을 참조하세요.","Šai programmai ir licences noteikumi, kā GNU Public License (GPL) version 3.
+자세한 내용은 https://www.gnu.org/licenses/gpl-3.0.html 을 참조하십시오.","Šai programmai ir licences noteikumi, kā GNU Public License (GPL) version 3.
Papildinformācijai skatīt https://www.gnu.org/licenses/gpl-3.0.html.","Ši programa yra licencijuota pagal GNU viešosios licencijos (GPL) 3 versijos sąlygas.
Daugiau informacijos rasite https://www.gnu.org/licenses/gpl-3.0.html.","Permohonan ini dilesenkan di bawah syarat-syarat Lesen Awam GNU (GPL) versi 3.
Lihat https://www.gnu.org/licenses/gpl-3.0.html untuk butiran.","Dette programmet er lisensiert under GNU Public Licence (GPL) versjon 3.
@@ -161,8 +158,8 @@ Se https://www.gnu.org/licenses/gpl-3.0.html for mer informasjon.","این بر
برای جزئیات به https://www.gnu.org/licenses/gpl-3.0.html مراجعه کنید.","Ta aplikacja jest objęta licencją na warunkach licencji publicznej GNU (GPL) w wersji 3.
Z obacz https://www.gnu.org/licenses/gpl-3.0.html, aby uzyskać szczegółowe informacje.","Este software está licenciado sob os termos da GNU Public License (GPL) versão 3.
Consulte https://www.gnu.org/licenses/gpl-3.0.pt-br.html para mais detalhes.","Este software está licenciado sob os termos da GNU Public License (GPL) versão 3.
-Consulte https://www.gnu.org/licenses/gpl-3.0.html para mais detalhes.","Această aplicație este licențiată conform termenilor GNU Public License (GPL) versiunea 3.
-Vezi https://www.gnu.org/licenses/gpl-3.0.en.html pentru detalii.","Это приложение распространяется по лицензии GNU Public License (GPL) версии 3.
+Consulte https://www.gnu.org/licenses/gpl-3.0.html para mais detalhes.","Această aplicație este sub liciența și termenii și condițiile ale lui GNU Public License (GPL) versiunea a 3-a.
+Vazi https://www.gnu.org/licenses/gpl-3.0.en.html pentru detalii.","Это приложение распространяется по лицензии GNU Public License (GPL) версии 3.
Подробнее см. https://www.gnu.org/licenses/gpl-3.0.ru.html.","Ova aplikacija je licencirana pod uslovima GNU Javne licence (GPL) verzije 3.
Pogledajte https://www.gnu.org/licenses/gpl-3.0.en.html za više informacija.","Táto aplikácia je licencovaná podľa podmienok GNU Public License (GPL) verzia 3.
Podrobnosti nájdete na https://www.gnu.org/licenses/gpl-3.0.html.","Ta aplikacija je licencirana pod pogoji GNU Javne licence (GPL) različice 3.
@@ -267,20 +264,19 @@ Xem tại https://www.gnu.org/licenses/gpl-3.0.html để biết thêm chi tiế
"OptionalPromo358x358","611","Relative path (or URL to file in Partner Center)","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"OptionalPromo1000x800","612","Relative path (or URL to file in Partner Center)","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"OptionalPromo414x180","613","Relative path (or URL to file in Partner Center)","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
-"Feature1","700","Text","","Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","تهيئة USB وبطاقة الفلاش ومحركات الأقراص الافتراضية إلى FAT / FAT32 / NTFS / UDF / exFAT / ReFS / ext2 / ext3","Форматиране на USB, карти памет и виртуални устройства с FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","将 U 盘、存储卡或虚拟驱动器格式化为 FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3 格式","將隨身碟、記憶卡或虛擬光碟機格式化為 FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3 格式","Formatirajte USB, flash karticu i virtualne pogone na FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formátování USB, flash karet a virtuálních jednotek na FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formater USB, flash kort og virtuelle drev til FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","USB, flashkaart en virtuele schijven formatteren naar FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Alusta USB-asemia, muistikortteja ja virtuaalisia asemia muotoon FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatez des périphériques USB, des cartes flash et des disques virtuels en FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatieren von USB, Flash-Karte und virtuellen Laufwerken in FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Μορφοποίηση USB, κάρτας flash και εικονικών μονάδων δίσκου σε FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","אתחול USB, כרטיסי זיכרון וכוננים וירטואליים ל־FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","USB, flash memóriakártyák és virtuális meghajtók formázása FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3 fájlrendszerre","Format USB, kartu flash dan penyimpanan maya ke FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatta USB, flash card e unità virtuali in FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","USBメモリやSDカード、仮想ドライブをFAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3でフォーマットします。","USB, 플래시 카드 및 가상 드라이브를 FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3로 포맷","Formatē USB, atmiņas kartes un virtuālos diskus formātos FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Suformatuokite USB, flash kortelę ir virtualius diskus į FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatkan USB, kad flash dan pemacu maya kepada FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formater USB, minnekort og virtuelle disker til FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","فرمت USB، فلش کارت و درایوهای مجازی به FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Sformatuj nośnik używając: FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatar dispositivos USB, cartões flash e discos virtuais com FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatar dispositivos USB, cartão de memória e unidades virtuais em FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatează USB, card flash si drive-uri virtuale la FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Форматирование USB, флешек и виртуальных дисков в FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatiraj USB, flash kartice, i virtualne diskove u FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Naformátujte USB, kartu a virtuálne disky do FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatiranje USB, bliskavice in virtualnih pogonov na FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatee USB, tarjetas flash y unidades virtuales a FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatera USB-enheter, flash-kort och virtuella enheter till FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","ฟอร์แมต USB, แฟลชการ์ด หรือไดรฟ์เสมือน ให้อยู่ในรูปแบบของ FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","USB, flash kart ve sanal sürücüleri FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3 olarak biçimlendirin","Форматування USB-накопичувачів, флешок, карток пам'яті у FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Định dạng USB, thẻ nhớ hoặc ổ nhớ ảo với FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
-"Feature2","701","Text","","Create FreeDOS bootable USB drives","إنشاء محركات أقراص USB قابلة للإقلاع من FreeDOS","Създаване на FreeDOS стартиращ USB устройства","创建 FreeDOS 可启动驱动器","建立 FreeDOS 可開機隨身碟","Stvaranje FreeDOS USB pogona za pokretanje","Vytvoření bootovacích disků USB se systémem FreeDOS","Lav FreeDOS opstartsbare USB drev","FreeDOS opstartbare USB-schijven aanmaken","Luo boottaavia FreeDOS USB-asemia","Créez des disques amorçable FreeDOS","FreeDOS-bootfähige USB-Laufwerke erstellen","Δημιουργήστε μονάδες USB με δυνατότητα εκκίνησης FreeDOS","יצירת כונני USB הניתנים לאתחול של FreeDOS","Bootolható FreeDOS USB meghajtó készítése","Buat perangkat USB FreeDOS yang dapat di boot","Crea unità USB avviabili FreeDOS","FreeDOSの起動可能ドライブを作成します。","FreeDOS 부팅 가능한 USB 드라이브 만들기","Izveido FreeDOS ielādes USB ierīces","Sukurkite FreeDOS įkrovos USB diskus","Buat pemacu USB boleh boot FreeDOS","Lag FreeDos oppstartbar USB stick","درایوهای USB قابل بوت FreeDOS را ایجاد کنید","Stwórz nośnik rozruchowy USB FreeDOS","Criar discos USB inicializáveis FreeDOS","Criar unidades USB inicializáveis FreeDOS","Crează drive USB bootabil FreeDOS","Создание загрузочных USB-дисков FreeDOS","Kreiraj FreeDOS butabilni USB disk","Vytvorte bootovacie usb zariadenia FreeDOS","Ustvarite FreeDOS zagonske USB pogone","Crear unidades USB de arranque FreeDOS","Skapa FreeDOS startbara USB-enheter","สร้าง USB ไดรฟ์บูตสำหรับระบบ FreeDOS","FreeDOS önyüklenebilir USB sürücüleri oluşturun","Створення завантажувальних пристроїв FreeDOS","Tạo USB có thể khởi động với FreeDOS"
-"Feature3","702","Text","","Create bootable drives from bootable ISOs (Windows, Linux, etc.)","إنشاء محركات أقراص قابلة للإقلاع من ملفات ISO القابلة للإقلاع (Windows و Linux وما إلى ذلك)","Създаване на стартиращи устройства от ISO образи (Windows, Linux и др.)","从可启动 ISO 文件 (Windows 和 Linux 等) 创建可启动驱动器","從可開機 ISO 檔案 (Windows 和 Linux 等) 建立可開機隨身碟","Stvaranje pogona za pokretanje iz ISO-ova za pokretanje (Windows, Linux itd.)","Vytváření bootovacích jednotek ze zaváděcích ISO (Windows, Linux atd.)","Lav opstartsbarer drev fra opstartsbarer ISOer (Window, Linux, osv.)","Opstartbare schijven aanmaken via opstartbare ISO's (Windows, Linux, enz)","Luo käynnistysasemia boottaavista ISO-kuvista (Windows, Linux jne.)","Créez des disques amorçables à partir d'images ISOs (Windows, Linux, etc.)","Erstellen bootfähiger Laufwerke aus bootfähigen ISOs (Windows, Linux etc.)","Δημιουργήστε εκκινήσιμες μονάδες από ISO με δυνατότητα εκκίνησης (Windows, Linux, κ.λπ.)","יצירת כוננים הניתנים לאתחול מקובצי ISO הניתנים לאתחול (Windows, Linux וכו')","Bootolható meghajtók készítése bootolható ISO képfájlokból (Windows, Linux, stb.)","Buat perangkat yang dapat di boot dari ISO (Windows, Linux, dll.)","Crea unità avviabili da ISO avviabili (Windows, Linux, ecc.)","WindowsやLinuxなどのISOファイルから起動可能ドライブを作成します。","부팅 가능한 ISO (Windows, Linux 등)에서 부팅 가능한 드라이브 만들기","Izveido ielādes ierīces no ISO failiem (Windows, Linux, u.c.)","Sukurkite įkrovos diskus iš įkrovos ISO (Windows, Linux ir kt.)","Buat pemacu boleh boot daripada ISO boleh boot (Windows, Linux, dll.)","Lag oppstartabar enhet/disk fra ISOer (Windows, Linux, etc.)","ایجاد درایوهای قابل بوت از ISOهای قابل بوت (ویندوز، لینوکس و غیره)","Twórz dyski rozruchowe z obrazów ISO (Windows, Linux itp.)","Criar discos inicializáveis a partir de ISOs inicializáveis (Windows, Linux, etc.)","Criar unidades inicializáveis a partir de ISOs inicializáveis (Windows, Linux, etc.)","Crează drive-uri bootabile de la ISO-uri bootabile (Windows, Linux, etc.)","Создание загрузочных дисков из загрузочных образов ISO (Windows, Linux и т.д.)","Kreirajte disk jedinice za pokretanje sistema od ISO-a koji se mogu pokretanja sistema (Windows, Linux itd.)","Vytvorte bootovacie jednotky z ISO súborov (Windows, Linux atď.)","Ustvarite zagonske pogone iz zagonskih ISO-jev (Windows, Linux itd.)","Cree unidades de arranque desde ISO de arranque (Windows, Linux, etc.)","Skapa startbara enheter från startbara ISO-filer (Windows, Linux, etc.)","สร้าง USB ไดรฟ์บูตจากไฟล์ ISO ที่บูตได้ (เช่น ไฟล์ติดตั้ง Windows หรือ Linux เป็นต้น)","Önyüklenebilir ISO'lardan önyüklenebilir sürücüler oluşturun (Windows, Linux, vb.)","Створення завантажувальних пристроїв з завантажувальних образів (Windows, Linux, тощо)","Tạo ổ đĩa có thể khởi động từ các file ISO có thể khởi động (Windows, Linux, v.v...)"
-"Feature4","703","Text","","Create bootable drives from bootable disk images, including compressed ones","إنشاء محركات أقراص قابلة للإقلاع من صور الأقراص القابلة للإقلاع ، بما في ذلك الأقراص المضغوطة","Създаване на стартиращи устройства от образи, включително компресирани такива","从可启动硬盘镜像 (包括压缩镜像) 创建可启动驱动器","從可開機硬碟映像檔 (包括壓縮映像檔) 建立可開機隨身碟","Stvaranje pogona za pokretanje iz slika diska za pokretanje, uključujući komprimirane","Vytváření zaváděcích jednotek ze zaváděcích obrazů disků, včetně komprimovaných","Lav opstartsbarer drev fra opstartsbarer disk billeder, inklusiv komprimerede billeder","Opstartbare schijven aanmaken van opstartbare schijf-images, inclusief gecomprimeerde images","Luo käynnistysasemia boottaavista levykuvista, pakatut kuvat mukaanlukien","Créez des disques amorçables à partir d'images disque, y compris à partir d'images compressées","Erstellen bootfähiger Laufwerke aus bootfähigen Festplatten-Images, einschließlich komprimierter Images","Δημιουργήστε μονάδες εκκίνησης από εικόνες δίσκου με δυνατότητα εκκίνησης, συμπεριλαμβανομένων συμπιεσμένων","יצירת כוננים הניתנים לאתחול מקובצי תמונת דיסק הניתנים לאתחול, כולל קבצים דחוסים","Bootolható meghajtók készítése bootolható lemez képfájlokból, beleértve a tömörítetteket is","Buat perangkat yang dapat di boot dari Disk Image, termasuk yang Disk Image yang terkompresi","Crea unità avviabili da immagini disco avviabili, incluse quelle compresse","圧縮済みのものを含むディスクイメージから起動可能ドライブを作成します。","압축된 이미지를 포함하여 부팅 가능한 디스크 이미지에서 부팅 가능한 드라이브 만들기","Izveido ielādes ierīces no ielādes disku virtuālajiem attēliem, tai skaitā arī no saspiestajiem","Sukurkite įkrovos diskus iš įkrovos disko vaizdų, įskaitant suspaustus","Buat pemacu boleh boot daripada imej cakera boleh boot, termasuk yang dimampatkan","Lag oppstartbare disker fra images, inkludert komprimerte sådan","درایوهای قابل بوت را از تصاویر دیسک قابل بوت، از جمله موارد فشرده، ایجاد کنید","Twórz dyski rozruchowe z obrazów dysków, włączając skompresowane","Criar discos inicializáveis a partir de imagens de disco inicializáveis, inclusive de imagens compactadas","Criar unidades inicializáveis a partir de imagens de disco inicializáveis, inclusive de imagens compactadas","Crează drive-uri de la imagini de disc bootabile, incluzând cele compresate","Создание загрузочных дисков из образов загрузочных дисков, в том числе сжатых","Kreiranje disk jedinica za pokretanje sistema sa slika diska koji se može pokretanja, uključujući kompresovane","Vytvorte bootovacie jednotky z diskových obrazov, vrátane tých komprimovaných","Ustvarite zagonske pogone iz slik diska, ki jih je mogoče zagnati, vključno s stisnjenimi","Cree unidades de arranque a partir de imágenes de disco de arranque, incluidas las comprimidas","Skapa startbara enheter från startbara diskavbildningar, inklusive komprimerade","สร้างไดรฟ์บูตจากดิสก์อิมเมจที่บูตได้ (รองรับไฟล์ดิสก์อิมเมจที่ถูกบีบอัด)","Sıkıştırılmış olanlar da dahil olmak üzere önyüklenebilir disk yansısından önyüklenebilir sürücüler oluşturun","Створення завантажувальних пристроїв з завантажувальних образів, у тому числі стиснутих","Tạo ổ đĩa có thể khởi động từ các tệp đĩa có thể khởi động, bao gồm cả tệp nén"
-"Feature5","704","Text","","Create BIOS or UEFI bootable drives, including UEFI bootable NTFS","إنشاء BIOS أو محركات أقراص UEFI قابلة للإقلاع ، بما في ذلك UEFI NTFS القابل للتشغيل","Създаване на BIOS или UEFI стартиращи устройства, включително UEFI стартиращ NTFS","创建 BIOS 或 UEFI 可启动驱动器,包括 UEFI 可启动的 NTFS 驱动器","建立 BIOS 或 UEFI 可開機隨身碟,包括 UEFI 下的可開機 NTFS 隨身碟","Stvaranje BIOS ili UEFI pogona za pokretanje, uključujući UEFI NTFS za pokretanje","Vytvořte zaváděcí jednotky BIOS nebo UEFI, včetně zaváděcích souborů NTFS UEFI","Lav BIOS eller UEFI opstartsbarer drev, inklusiv UEFI opstartsbarer NTFS","BIOS of UEFI opstartbare schijven aanmaken, inclusief UEFI opstartbare NTFS","Luo BIOS- tai UEFI-boottaavia asemia, mukaanlukien UEFI-boottaavat NTFS-asemat","Créez des disques amorçables BIOS ou UEFI, y compris des disques UEFI amorçables utilisant NTFS","Erstellen von BIOS- oder UEFI-bootfähigen Laufwerken, einschließlich UEFI-bootfähigem NTFS","Δημιουργήστε μονάδες δίσκου με δυνατότητα εκκίνησης BIOS ή UEFI, συμπεριλαμβανομένων NTFS με δυνατότητα εκκίνησης UEFI","יצירת כוננים הניתנים לאתחול ממחשבים התומכים ב־BIOS או UEFI, לרבות כוננים הניתנים לאתחול מ־UEFI, המשתמשים במערכת הקבצים NTFS","BIOS-ból vagy UEFI-ből bootolható meghajtók készítése, beleértve az UEFI-ből bootolható NTFS meghajtókat is","Buat perangkat BIOS atau UEFI yang dapat di boot, termasuk perangkat NTFS yang dapat di boot oleh UEFI","Crea unità avviabili BIOS o UEFI, incluso NTFS avviabile UEFI","UEFI:NTFSを含むBIOS及びUEFIで起動可能なドライブを作成します。","UEFI 부팅 가능한 NTFS를 포함하여 BIOS 또는 UEFI 부팅 가능 드라이브 만들기","Izveido BIOS vai UEFI ielādes ierīces, ieskaitot UEFI ielādi no NTFS","Sukurkite BIOS arba UEFI įkrovos diskus, įskaitant UEFI įkrovos NTFS","Buat pemacu boleh boot BIOS atau UEFI, termasuk NTFS boleh boot UEFI","Lag BIOS eller UEFI oppstartbare disker, inkludert UEFI oppstartbar NTFS","درایوهای قابل بوت بایوس یا UEFI از جمله NTFS قابل بوت UEFI ایجاد کنید","Stwórz dysk rozruchowy BIOS lub UEFI, włączając bootowalny dysk UEFI NTFS","Criar discos inicializáveis BIOS ou UEFI, inclusive discos UEFI inicializáveis usando NTFS","Criar discos inicializáveis BIOS ou UEFI, inclusive discos UEFI inicializáveis usando NTFS","Crează discuri bootabile BIOS sau UEFI, incluzând NTFS-uri bootabile de UEFI","Создание загрузочных дисков BIOS или UEFI, включая загрузочный UEFI NTFS","Kreiranje BIOS ili UEFI disk jedinica za pokretanje sistema, uključujući NTFS sa UEFI pokretanjem sistema","Vytvorte bootovacie jednotky systému BIOS alebo UEFI vrátane UEFI bootovateľnej jednotky NTFS","Ustvarite zagonske pogone BIOS ali UEFI, vključno z UEFI bootable NTFS","Cree unidades de arranque BIOS o UEFI, incluido NTFS de arranque UEFI","Skapa BIOS- eller UEFI-startbara enheter, inklusive UEFI-startbar NTFS","สร้างไดรฟ์บูตสำหรับระบบ BIOS หรือ UEFI และ UEFI bootable NTFS","UEFI önyüklenebilir NTFS dahil BIOS ya da UEFI önyüklenebilir sürücüler oluşturun","Створення завантажувальних пристроїв BIOS чи UEFI, включаючи завантажувальний UEFI NTFS","Tạo ổ đĩa có thể khởi động với hệ thống BIOS hoặc UEFI, bao gồm cả NTFS có thể khởi động với UEFI"
-"Feature6","705","Text","","Create 'Windows To Go' drives","إنشاء محركات أقراص ""Windows To Go\","Създаване на 'Windows To Go' устройства","创建 'Windows To Go' 驱动器","建立 'Windows To Go' 隨身碟","Stvaranje pogona ""Windows To Go\","Vytvoření jednotek ""Windows To Go","Lav 'Windows To Go' drev","'Windows To Go'-schijven aanmaken","Luo 'Windows To Go' -asemia","Créez des disques 'Windows To Go'","Erstellen von 'Windows To Go'-Laufwerken","Δημιουργήστε μονάδες δίσκου ""Windows To Go\","יצירת כונני Windows To Go","'Windows To Go' meghajtók készítése","Buat perangkat Windows To Go","Crea unità 'Windows To Go'","Windows To Goドライブを作成します。","'Windows To Go' 드라이브 만들기","Izveido 'Windows To Go' ierīces","Sukurkite ""Windows To Go"" diskus","Buat pemacu 'Windows To Go'","Lag 'Windows To Go' disker","درایوهای ""Windows To Go"" را ایجاد کنید","Stwórz dysk 'Windows To Go'","Criar discos 'Windows To Go'","Criar discos 'Windows To Go'","Crează discuri 'Windows To Go'","Создание дисков Windows To Go","Kreiranje disk jedinica ""Windows to Go\","Vytvorte jednotky „Windows To Go\","Ustvarjanje pogonov »Windows To Go'","Cree unidades 'Windows To Go'","Skapa ""Windows To Go""-enheter","สร้างไดรฟ์ของ 'Windows To Go'","'Windows To Go' sürücüleri oluşturun","Створення пристроїв 'Windows To Go'","Tạo ổ đĩa 'Windows To Go'"
+"Feature1","700","Text","","Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","تهيئة USB وبطاقة الفلاش ومحركات الأقراص الافتراضية إلى FAT / FAT32 / NTFS / UDF / exFAT / ReFS / ext2 / ext3","Форматиране на USB, карти памет и виртуални устройства с FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","将 U 盘、存储卡或虚拟驱动器格式化为 FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3 格式","將隨身碟、記憶卡或虛擬光碟機格式化為 FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3 格式","Formatirajte USB, flash karticu i virtualne pogone na FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formátování USB, flash karet a virtuálních jednotek na FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formater USB, flash kort og virtuelle drev til FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","USB, flashkaart en virtuele schijven formatteren naar FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Alusta USB-asemia, muistikortteja ja virtuaalisia asemia muotoon FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatez des périphériques USB, des cartes flash et des disques virtuels en FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatieren von USB, Flash-Karte und virtuellen Laufwerken in FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Μορφοποίηση USB, κάρτας flash και εικονικών μονάδων δίσκου σε FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","אתחול USB, כרטיסי זיכרון וכוננים וירטואליים ל־FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","USB, flash memóriakártyák és virtuális meghajtók formázása FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3 fájlrendszerre","Format USB, kartu flash dan penyimpanan maya ke FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatta USB, flash card e unità virtuali in FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","USBメモリやSDカード、仮想ドライブをFAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3でフォーマットします。","USB, 플래시 카드 및 가상 드라이브를 FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3로 포맷","Formatē USB, atmiņas kartes un virtuālos diskus formātos FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Suformatuokite USB, flash kortelę ir virtualius diskus į FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatkan USB, kad flash dan pemacu maya kepada FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formater USB, minnekort og virtuelle disker til FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","فرمت USB، فلش کارت و درایوهای مجازی به FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Sformatuj nośnik używając: FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatar dispositivos USB, cartões flash e discos virtuais com FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatar dispositivos USB, cartão de memória e drives virtuais em FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatează USB, card flash si drive-uri virtuale la FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Форматирование USB, флешек и виртуальных дисков в FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatiraj USB, flash kartice, i virtualne diskove u FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Naformátujte USB, kartu a virtuálne disky do FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatiranje USB, bliskavice in virtualnih pogonov na FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatee USB, tarjetas flash y unidades virtuales a FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Formatera USB-enheter, flash-kort och virtuella enheter till FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","ฟอร์แมต USB, แฟลชการ์ด หรือไดรฟ์เสมือน ให้อยู่ในรูปแบบของ FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","USB, flash kart ve sanal sürücüleri FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3 olarak biçimlendirin","Форматування USB-накопичувачів, флешок, карток пам'яті у FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3","Định dạng USB, thẻ nhớ hoặc ổ nhớ ảo với FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
+"Feature2","701","Text","","Create FreeDOS bootable USB drives","إنشاء محركات أقراص USB قابلة للإقلاع من FreeDOS","Създаване на FreeDOS стартиращ USB устройства","创建 FreeDOS 可启动驱动器","建立 FreeDOS 可啟隨身碟","Stvaranje FreeDOS USB pogona za pokretanje","Vytvoření bootovacích disků USB se systémem FreeDOS","Lav FreeDOS opstartsbare USB drev","FreeDOS opstartbare USB-schijven aanmaken","Luo boottaavia FreeDOS USB-asemia","Créez des disques amorçable FreeDOS","FreeDOS-bootfähige USB-Laufwerke erstellen","Δημιουργήστε μονάδες USB με δυνατότητα εκκίνησης FreeDOS","יצירת כונני USB הניתנים לאתחול של FreeDOS","Bootolható FreeDOS USB meghajtó készítése","Buat perangkat USB FreeDOS yang dapat di boot","Crea unità USB avviabili FreeDOS","FreeDOSの起動可能ドライブを作成します。","FreeDOS 부팅 가능한 USB 드라이브 만들기","Izveido FreeDOS ielādes USB ierīces","Sukurkite FreeDOS įkrovos USB diskus","Buat pemacu USB boleh boot FreeDOS","Lag FreeDos oppstartbar USB stick","درایوهای USB قابل بوت FreeDOS را ایجاد کنید","Stwórz bootowalny nośnik USB FreeDOS","Criar discos USB inicializáveis FreeDOS","Criar unidades USB inicializáveis FreeDOS","Crează drive USB bootabil FreeDOS","Создание загрузочных USB-дисков FreeDOS","Kreiraj FreeDOS butabilni USB disk","Vytvorte bootovacie usb zariadenia FreeDOS","Ustvarite FreeDOS zagonske USB pogone","Crear unidades USB de arranque FreeDOS","Skapa FreeDOS startbara USB-enheter","สร้าง USB ไดรฟ์บูตสำหรับระบบ FreeDOS","FreeDOS önyüklenebilir USB sürücüleri oluşturun","Створення завантажувальних пристроїв FreeDOS","Tạo USB có thể khởi động với FreeDOS"
+"Feature3","702","Text","","Create bootable drives from bootable ISOs (Windows, Linux, etc.)","إنشاء محركات أقراص قابلة للإقلاع من ملفات ISO القابلة للإقلاع (Windows و Linux وما إلى ذلك)","Създаване на стартиращи устройства от ISO образи (Windows, Linux и др.)","从可启动 ISO 文件 (Windows 和 Linux 等) 创建可启动驱动器","從可啟動 ISO 檔案 (Windows 和 Linux 等) 建立可啟動隨身碟","Stvaranje pogona za pokretanje iz ISO-ova za pokretanje (Windows, Linux itd.)","Vytváření bootovacích jednotek ze zaváděcích ISO (Windows, Linux atd.)","Lav opstartsbarer drev fra opstartsbarer ISOer (Window, Linux, osv.)","Opstartbare schijven aanmaken via opstartbare ISO's (Windows, Linux, enz)","Luo käynnistysasemia boottaavista ISO-kuvista (Windows, Linux jne.)","Créez des disques amorçables à partir d'images ISOs (Windows, Linux, etc.)","Erstellen bootfähiger Laufwerke aus bootfähigen ISOs (Windows, Linux, etc.)","Δημιουργήστε εκκινήσιμες μονάδες από ISO με δυνατότητα εκκίνησης (Windows, Linux, κ.λπ.)","יצירת כוננים הניתנים לאתחול מקובצי ISO הניתנים לאתחול (Windows, Linux וכו')","Bootolható meghajtók készítése bootolható ISO képfájlokból (Windows, Linux, stb.)","Buat perangkat yang dapat di boot dari ISO (Windows, Linux, dll.)","Crea unità avviabili da ISO avviabili (Windows, Linux, ecc.)","WindowsやLinuxなどのISOファイルから起動可能ドライブを作成します。","부팅 가능한 ISO (Windows, Linux 등)에서 부팅 가능한 드라이브 만들기","Izveido ielādes ierīces no ISO failiem (Windows, Linux, u.c.)","Sukurkite įkrovos diskus iš įkrovos ISO (Windows, Linux ir kt.)","Buat pemacu boleh boot daripada ISO boleh boot (Windows, Linux, dll.)","Lag oppstartabar enhet/disk fra ISOer (Windows, Linux, etc.)","ایجاد درایوهای قابل بوت از ISOهای قابل بوت (ویندوز، لینوکس و غیره)","Twórz dyski rozruchowe z obrazów ISO (Windows, Linux itp.)","Criar discos inicializáveis a partir de ISOs inicializáveis (Windows, Linux, etc.)","Criar unidades inicializáveis a partir de ISOs inicializáveis (Windows, Linux, etc.)","Crează drive-uri bootabile de la ISO-uri bootabile (Windows, Linux, etc.)","Создание загрузочных дисков из загрузочных образов ISO (Windows, Linux и т.д.)","Kreirajte disk jedinice za pokretanje sistema od ISO-a koji se mogu pokretanja sistema (Windows, Linux itd.)","Vytvorte bootovacie jednotky z ISO súborov (Windows, Linux atď.)","Ustvarite zagonske pogone iz zagonskih ISO-jev (Windows, Linux itd.)","Cree unidades de arranque desde ISO de arranque (Windows, Linux, etc.)","Skapa startbara enheter från startbara ISO-filer (Windows, Linux, etc.)","สร้าง USB ไดรฟ์บูตจากไฟล์ ISO ที่บูตได้ (เช่น ไฟล์ติดตั้ง Windows หรือ Linux เป็นต้น)","Önyüklenebilir ISO'lardan önyüklenebilir sürücüler oluşturun (Windows, Linux, vb.)","Створення завантажувальних пристроїв з завантажувальних образів (Windows, Linux, тощо)","Tạo ổ đĩa có thể khởi động từ các file ISO có thể khởi động (Windows, Linux, v.v...)"
+"Feature4","703","Text","","Create bootable drives from bootable disk images, including compressed ones","إنشاء محركات أقراص قابلة للإقلاع من صور الأقراص القابلة للإقلاع ، بما في ذلك الأقراص المضغوطة","Създаване на стартиращи устройства от образи, включително компресирани такива","从可启动硬盘镜像 (包括压缩镜像) 创建可启动驱动器","從可啟動硬碟映像檔 (包括壓縮映像檔) 建立可啟動隨身碟","Stvaranje pogona za pokretanje iz slika diska za pokretanje, uključujući komprimirane","Vytváření zaváděcích jednotek ze zaváděcích obrazů disků, včetně komprimovaných","Lav opstartsbarer drev fra opstartsbarer disk billeder, inklusiv komprimerede billeder","Opstartbare schijven aanmaken van opstartbare schijf-images, inclusief gecomprimeerde images","Luo käynnistysasemia boottaavista levykuvista, pakatut kuvat mukaanlukien","Créez des disques amorçables à partir d'images disque, y compris à partir d'images compressées","Erstellen bootfähiger Laufwerke aus bootfähigen Festplatten-Images, einschließlich komprimierter Images","Δημιουργήστε μονάδες εκκίνησης από εικόνες δίσκου με δυνατότητα εκκίνησης, συμπεριλαμβανομένων συμπιεσμένων","יצירת כוננים הניתנים לאתחול מקובצי תמונת דיסק הניתנים לאתחול, כולל קבצים דחוסים","Bootolható meghajtók készítése bootolható lemez képfájlokból, beleértve a tömörítetteket is","Buat perangkat yang dapat di boot dari Disk Image, termasuk yang Disk Image yang terkompresi","Crea unità avviabili da immagini disco avviabili, incluse quelle compresse","圧縮済みのものを含むディスクイメージから起動可能ドライブを作成します。","압축된 이미지를 포함하여 부팅 가능한 디스크 이미지에서 부팅 가능한 드라이브 만들기","Izveido ielādes ierīces no ielādes disku virtuālajiem attēliem, tai skaitā arī no saspiestajiem","Sukurkite įkrovos diskus iš įkrovos disko vaizdų, įskaitant suspaustus","Buat pemacu boleh boot daripada imej cakera boleh boot, termasuk yang dimampatkan","Lag oppstartbare disker fra images, inkludert komprimerte sådan","درایوهای قابل بوت را از تصاویر دیسک قابل بوت، از جمله موارد فشرده، ایجاد کنید","Twórz dyski rozruchowe z obrazów dysków, włączając skompresowane","Criar discos inicializáveis a partir de imagens de disco inicializáveis, inclusive de imagens compactadas","Criar unidades inicializáveis a partir de imagens de disco inicializáveis, inclusive de imagens compactadas","Crează drive-uri de la imagini de disc bootabile, incluzând cele compresate","Создание загрузочных дисков из образов загрузочных дисков, в том числе сжатых","Kreiranje disk jedinica za pokretanje sistema sa slika diska koji se može pokretanja, uključujući kompresovane","Vytvorte bootovacie jednotky z diskových obrazov, vrátane tých komprimovaných","Ustvarite zagonske pogone iz slik diska, ki jih je mogoče zagnati, vključno s stisnjenimi","Cree unidades de arranque a partir de imágenes de disco de arranque, incluidas las comprimidas","Skapa startbara enheter från startbara diskavbildningar, inklusive komprimerade","สร้างไดรฟ์บูตจากดิสก์อิมเมจที่บูตได้ (รองรับไฟล์ดิสก์อิมเมจที่ถูกบีบอัด)","Sıkıştırılmış olanlar da dahil olmak üzere önyüklenebilir disk yansısından önyüklenebilir sürücüler oluşturun","Створення завантажувальних пристроїв з завантажувальних образів, у тому числі стиснутих","Tạo ổ đĩa có thể khởi động từ các tệp đĩa có thể khởi động, bao gồm cả tệp nén"
+"Feature5","704","Text","","Create BIOS or UEFI bootable drives, including UEFI bootable NTFS","إنشاء BIOS أو محركات أقراص UEFI قابلة للإقلاع ، بما في ذلك UEFI NTFS القابل للتشغيل","Създаване на BIOS или UEFI стартиращи устройства, включително UEFI стартиращ NTFS","创建 BIOS 或 UEFI 可启动驱动器,包括 UEFI 可启动的 NTFS 驱动器","建立 BIOS 或 UEFI 可啟動隨身碟,包括 UEFI 可啟動的 NTFS 隨身碟","Stvaranje BIOS ili UEFI pogona za pokretanje, uključujući UEFI NTFS za pokretanje","Vytvořte zaváděcí jednotky BIOS nebo UEFI, včetně zaváděcích souborů NTFS UEFI","Lav BIOS eller UEFI opstartsbarer drev, inklusiv UEFI opstartsbarer NTFS","BIOS of UEFI opstartbare schijven aanmaken, inclusief UEFI opstartbare NTFS","Luo BIOS- tai UEFI-boottaavia asemia, mukaanlukien UEFI-boottaavat NTFS-asemat","Créez des disques amorçables BIOS ou UEFI, y compris des disques UEFI amorçables utilisant NTFS","Erstellen von BIOS- oder UEFI-bootfähigen Laufwerken, einschließlich UEFI-bootfähigem NTFS","Δημιουργήστε μονάδες δίσκου με δυνατότητα εκκίνησης BIOS ή UEFI, συμπεριλαμβανομένων NTFS με δυνατότητα εκκίνησης UEFI","יצירת כוננים הניתנים לאתחול ממחשבים התומכים ב־BIOS או UEFI, לרבות כוננים הניתנים לאתחול מ־UEFI, המשתמשים במערכת הקבצים NTFS","BIOS-ból vagy UEFI-ből bootolható meghajtók készítése, beleértve az UEFI-ből bootolható NTFS meghajtókat is","Buat perangkat BIOS atau UEFI yang dapat di boot, termasuk perangkat NTFS yang dapat di boot oleh UEFI","Crea unità avviabili BIOS o UEFI, incluso NTFS avviabile UEFI","UEFI:NTFSを含むBIOS及びUEFIで起動可能なドライブを作成します。","UEFI 부팅 가능한 NTFS를 포함하여 BIOS 또는 UEFI 부팅 가능 드라이브 만들기","Izveido BIOS vai UEFI ielādes ierīces, ieskaitot UEFI ielādi no NTFS","Sukurkite BIOS arba UEFI įkrovos diskus, įskaitant UEFI įkrovos NTFS","Buat pemacu boleh boot BIOS atau UEFI, termasuk NTFS boleh boot UEFI","Lag BIOS eller UEFI oppstartbare disker, inkludert UEFI oppstartbar NTFS","درایوهای قابل بوت بایوس یا UEFI از جمله NTFS قابل بوت UEFI ایجاد کنید","Stwórz dysk rozruchowy BIOS lub UEFI, włączając bootowalny dysk UEFI NTFS","Criar discos inicializáveis BIOS ou UEFI, inclusive discos UEFI inicializáveis usando NTFS","Criar discos inicializáveis BIOS ou UEFI, inclusive discos UEFI inicializáveis usando NTFS","Crează discuri bootabile BIOS sau UEFI, incluzând NTFS-uri bootabile de UEFI","Создание загрузочных дисков BIOS или UEFI, включая загрузочный UEFI NTFS","Kreiranje BIOS ili UEFI disk jedinica za pokretanje sistema, uključujući NTFS sa UEFI pokretanjem sistema","Vytvorte bootovacie jednotky systému BIOS alebo UEFI vrátane UEFI bootovateľnej jednotky NTFS","Ustvarite zagonske pogone BIOS ali UEFI, vključno z UEFI bootable NTFS","Cree unidades de arranque BIOS o UEFI, incluido NTFS de arranque UEFI","Skapa BIOS- eller UEFI-startbara enheter, inklusive UEFI-startbar NTFS","สร้างไดรฟ์บูตสำหรับระบบ BIOS หรือ UEFI และ UEFI bootable NTFS","UEFI önyüklenebilir NTFS dahil BIOS ya da UEFI önyüklenebilir sürücüler oluşturun","Створення завантажувальних пристроїв BIOS чи UEFI, включаючи завантажувальний UEFI NTFS","Tạo ổ đĩa có thể khởi động với hệ thống BIOS hoặc UEFI, bao gồm cả NTFS có thể khởi động với UEFI"
+"Feature6","705","Text","","Create 'Windows To Go' drives","إنشاء محركات أقراص ""Windows To Go\","Създаване на 'Windows To Go' устройства","创建 'Windows To Go' 驱动器","建立 'Windows To Go' 隨身碟","Stvaranje pogona ""Windows To Go\","Vytvoření jednotek ""Windows To Go","Lav 'Windows To Go' drev","'Windows To Go'-schijven aanmaken","Luo 'Windows To Go' -asemia","Créez des disques 'Windows To Go'","Erstellen von ""Windows To Go""-Laufwerken","Δημιουργήστε μονάδες δίσκου ""Windows To Go\","יצירת כונני Windows To Go","'Windows To Go' meghajtók készítése","Buat perangkat Windows To Go","Crea unità 'Windows To Go'","Windows To Goドライブを作成します。","'Windows To Go' 드라이브 만들기","Izveido 'Windows To Go' ierīces","Sukurkite ""Windows To Go"" diskus","Buat pemacu 'Windows To Go'","Lag 'Windows To Go' disker","درایوهای ""Windows To Go"" را ایجاد کنید","Stwórz dysk 'Windows To Go'","Criar discos 'Windows To Go'","Criar discos 'Windows To Go'","Crează discuri 'Windows To Go'","Создание дисков Windows To Go","Kreiranje disk jedinica ""Windows to Go\","Vytvorte jednotky „Windows To Go\","Ustvarjanje pogonov »Windows To Go'","Cree unidades 'Windows To Go'","Skapa ""Windows To Go""-enheter","สร้างไดรฟ์ของ 'Windows To Go'","'Windows To Go' sürücüleri oluşturun","Створення пристроїв 'Windows To Go'","Tạo ổ đĩa 'Windows To Go'"
"Feature7","706","Text","","Create Windows 11 installation drives for PCs that don't have TPM or Secure Boot","قم بإنشاء محركات تثبيت ويندوز 11 لأجهزة الكمبيوتر التي لا تحتوي على TPM أو الإقلاع الآمن (Secure Boot)","Създаване на Windows 11 инсталационно устройство за компютри, които нямат TPM или Secure Boot","为没有 TPM 或安全启动功能的电脑创建 Windows 11 安装驱动器","為沒有 TPM 或安全開機功能的電腦建立 Windows 11 安裝隨身碟","Stvaranje instalacijskih pogona sustava Windows 11 za PC-jeve koji nemaju TPM ili Sigurno pokretanje","Vytvoření instalačních jednotek systému Windows 11 pro počítače bez čipu TPM nebo Secure Boot","Lav Windows 11 installations drev for PCer der ikker har TPM eller Secure Boot","Windows 11 installatieschijven aanmaken voor pc's die geen TPM of Secure Boot hebben","Luo Windows 11 -asennusasemia tietokoneille, jotka eivät tue TPM- tai Secure Boot -ominaisuuksia","Créez des disques d'installation Windows 11 pour des PCs qui ne disposent pas de TPM ou Secure Boot","Erstellen von Windows 11-Installationslaufwerken für PCs ohne TPM oder Secure Boot","Δημιουργήστε μονάδες εγκατάστασης των Windows 11 για υπολογιστές που δεν διαθέτουν TPM ή Ασφαλή Εκκίνηση","יצירת כונני התקנה של Windows 11 עבור מחשבים שאין להם TPM או Secure Boot","Windows 11 telepítési meghajtók készítése olyan PC-k számára, amelyek nem rendelkeznek TPM vagy Secure Boot funkciókkal","Buat perangkat pemasang Windows 11 untuk PC yang tidak mempunyai TPM atau Secure Boot","Crea unità di installazione di Windows 11 per PC che non dispongono di TPM o avvio protetto","TPM及びセキュアブート非対応のPC向けのWindows 11インストールドライブを作成します","TPM 또는 보안 부팅이 없는 PC용 Windows 11 설치 드라이브 만들기","Izveido Windows 11 instalācijas ierīces datoriem, kam nav TPM vai Secure Boot","Sukurkite Windows 11 diegimo diskus kompiuteriams, kuriuose nėra TPM arba saugaus įkrovimo","Buat pemacu pemasangan Windows 11 untuk PC yang tidak mempunyai TPM atau But Selamat","Lag oppstartsmedia for Windows 11 som ikke krever TPM eller Secure Boot","درایوهای نصب ویندوز 11 را برای رایانه هایی که TPM یا Secure Boot ندارند ایجاد کنید","Twórz dyski instalacyjne systemu Windows 11 dla komputerów, które nie posiadają modułu TPM ani Secure Boot","Criar discos de instalação do Windows 11 para PCs que não possuem TPM ou Secure Boot","Criar discos de instalação do Windows 11 para PCs que não possuem TPM ou Arranque Seguro","Crează drive de instalare Windows 11 pe computere care nu au TPM sau Bootare Securizată","Создание установочных дисков Windows 11 для компьютеров без TPM или безопасной загрузки","Kreiranje windows 11 instalacionih disk jedinica za računare koji nemaju TPM ili bezbedno pokretanje sistema","Vytvorte inštalačné jednotky Windows 11 pre počítače, ktoré nemajú modul TPM, ani Secure Boot","Ustvarjanje namestitvenih pogonov za Windows 11 za računalnike, ki nimate TPM ali Varnega zagona","Cree unidades de instalación de Windows 11 para PC que no tienen TPM o Arranque seguro","Skapa installationsenheter till Windows 11 för datorer som inte har TPM eller säker start","สร้างไดรฟ์ติดตั้ง Windows 11 สำหรับคอมพิวเตอร์ที่ไม่มี TPM หรือ Secure Boot","TPM ya da Güvenli Önyüklemeye sahip olmayan bilgisayarlar için Windows 11 kurulum sürücüleri oluşturun","Створення інсталяційних дисків Windows 11 для ПК, які не мають TPM чи Secure Boot","Tạo ổ đĩa cài đặt Windows 11 cho các máy tính không có TPM hoặc Secure Boot"
-"Feature8","707","Text","","Create persistent Linux partitions","إنشاء Persistent Linux partitions","Създаване на устойчиви Linux дялове","创建持久 Linux 分区","建立持續性 Linux 磁區","Stvaranje trajnih Linux particija","Vytvoření trvalých oddílů systému Linux","Lav vedvarende Linux adskillelser","Persistent Linux partities aanmaken","Luo pysyviä Linux-osioita","Créez des partitions persistentes pour Linux","Persistente Linux-Partitionen erstellen","Δημιουργήστε μόνιμα διαμερίσματα Linux","יצירת מחיצות Linux קבועות","Tartós Linux partíciók készítése","Buat partisi Linux yang tetap/persistent","Crea partizioni persistenti Linux","記録用Linuxパーティションを作成します。","영구 리눅스 파티션 만들기","Izveido pastāvīgas Linux partīcijas","Sukurkite nuolatinius Linux skaidinius","Buat partition Linux berterusan","Lag persistente Linux partisjoner","ایجاد پارتیشن های لینوکس دائمی","Utwórz trwałe partycje Linux","Criar partições persistentes para Linux","Crie partições persistentes para Linux","Crează partiție de Linux persistentă","Создание постоянных разделов Linux","Kreiranje upornih Linux particija","Vytvorte trvalé oblasti systému Linux","Ustvarjanje trajnih Linux particij","Crear particiones persistentes de Linux","Skapa beständiga Linux-partitioner","สร้าง Linux partition แบบ persistent","Kalıcı Linux bölümleri oluşturun","Створення розділу збереження Linux","Tạo phân vùng Linux liên tục"
-"Feature9","708","Text","","Create VHD/DD images of the selected drive","إنشاء صور VHD / DD لمحرك الأقراص المحدد","Създаване на VHD/DD образи на избраното устройство","为选择的驱动器创建 VHD/DD 镜像","為選取的磁碟機建立 VHD/DD 映像檔","Stvaranje VHD/DD slika odabranog pogona","Vytvoření obrazů VHD/DD z vybrané jednotky","Lav VHD/DD billeder af det valgte drev","VHD/DD-images van de geselecteerde schijf aanmaken","Luo VHD/DD-kuvia valitusta asemasta","Créez des images VHD/DD du périphérique sélectionné","VHD/DD-Images des ausgewählten Laufwerks erstellen","Δημιουργήστε εικόνες VHD/DD της επιλεγμένης μονάδας δίσκου","יצירת קובצי תמונה מסוג VHD/DD של הכונן שנבחר","VHD/DD képfájl készítése a kiválasztott meghajtóról","Buat image VHD/DD dari penyimpanan yang dipilih","Crea immagini VHD/DD dell'unità selezionata","選択されたドライブのVHD/DDイメージを作成します。","선택한 드라이브의 VHD/DD 이미지 만들기","Izveido izvēlētā diska VHD/DD virtuālos attēlus","Sukurkite pasirinkto disko VHD / DD vaizdus","Buat imej VHD/DD bagi pemacu yang dipilih","Lag VHD/DD speilinger av valgt disk","تصاویر VHD/DD از درایو انتخاب شده ایجاد کنید","Stwórz obraz VHD/DD z wybranego dysku","Criar imagens VHD/DD do dispositivo selecionado","Criar imagens VHD/DD do dispositivo selecionado","Crează imagini VHD/DD de pe drive-ul selectat","Создание образов VHD/DD выбранного диска","Kreiranje VHD/DD slika izabrane disk jedinice","Vytvorte obrazy VHD/DD z vybratej jednotky","Ustvarjanje VHD/DD slik izbranega pogona","Cree imágenes VHD/DD de la unidad seleccionada","Skapa VHD/DD-avbilder av den valda enheten","สร้างอิมเมจไฟล์แบบ VHD/DD จากไดรฟ์ที่เลือก","Seçilen sürücünün VHD/DD yansılarını oluşturun","Створення образів VHD/DD з вибраних дисків","Tạo tệp VHD/DD từ ổ đĩa đã chọn"
-"Feature10","709","Text","","Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of the selected image","حساب المجاميع الإختبارية MD5 و SHA-1 و SHA-256 و SHA-512 للصورة المحددة","Изчисляване на MD5, SHA-1, SHA-256 и SHA-512 чексуми на избраният образ","计算被选择镜像的 MD5、SHA-1、SHA-256 和 SHA-512 校验码","計算被選取映像的 MD5、SHA-1、SHA-256 和 SHA-512 檢查碼","Izračunajte kontrolne zbrojeve odabrane slike MD5, SHA-1, SHA-256 i SHA-512","Výpočet kontrolních součtů MD5, SHA-1, SHA-256 a SHA-512 vybraného obrazu","Beregn MD5, SHA-1, SHA-256 og SHA-512 checksums af det valgte billede","MD5, SHA-1, SHA-256 en SHA-512 controlesommen berekenen van de geselecteerde image","Laske MD5, SHA-1, SHA-256 ja SHA-512 tarkistussummia valitusta levykuvasta","Calculez les sommes de contrôle MD5, SHA-1, SHA-256 et SHA-512 de l'image sélectionnée","Berechnung von MD5-, SHA-1-, SHA-256- und SHA-512-Prüfsummen für das ausgewählte Image","Υπολογίστε τα αθροίσματα ελέγχου MD5, SHA-1, SHA-256 και SHA-512 της επιλεγμένης εικόνας","חישוב סיכומי ביקורת מסוג MD5, SHA-1, SHA-256 ו־SHA-512 של קובץ התמונה שנבחרה","A kiválasztott képfájl MD5, SHA-1, SHA-256 és SHA-512 ellenőrző összegének kiszámítása","Hitung checksum MD5, SHA-1, SHA-256 dan SHA-512 dari image yang dipilih","Calcola i checksum MD5, SHA-1, SHA-256 e SHA-512 dell'immagine selezionata","選択されたイメージのMD5、SHA-1、SHA-256及びSHA-512チェックサムを計算します。","선택한 이미지의 MD5, SHA-1, SHA-256 및 SHA-512 체크섬 계산","Izskaitļo izvēlētā virtuālā attēla MD5, SHA-1, SHA-256 un SHA-512 kontrolsummas","Apskaičiuokite pasirinkto vaizdo MD5, SHA-1, SHA-256 ir SHA-512 kontrolines sumas","Kira MD5, SHA-1, SHA-256 dan SHA-512 checksum imej yang dipilih","Kalkuler MD5, SHA-1, SHA-256 og SHA-512 sjekksummer fra valgt speiling","MD5، SHA-1، SHA-256 و SHA-512 را برای تصویر انتخابی محاسبه کنید","Oblicz sumy kontrolne MD5, SHA-1, SHA-256 i SHA-512 dla wybranego obrazu","Calcular somas de verificação MD5, SHA-1, SHA-256 e SHA-512 da imagem selecionada","Calcular checksums MD5, SHA-1, SHA-256 e SHA-512 da imagem selecionada","Compută MD5, SHA-1, SHA-256 și SHA-512 suma de control ale imaginilor selectate","Вычисление контрольных сумм MD5, SHA-1, SHA-256 и SHA-512 выбранного образа","Izračunajte MD5, SHA-1, SHA-256 i SHA-512 kontrolne preglede izabrane slike","Vypočítajte kontrolné súčty vybratého obrazu (MD5, SHA-1, SHA-256 a SHA-512)","Račun MD5, SHA-1, SHA-256 in SHA-512 kontrolni vsoti izbrane slike","Calcule las sumas de comprobación MD5, SHA-1, SHA-256 y SHA-512 de la imagen seleccionada","Beräkna kontrollsummor MD5, SHA-1, SHA-256 och SHA-512 för den valda avbilden","คำนวณรหัส MD5, SHA-1, SHA-256, SHA-512 ของไฟล์อิมเมจที่เลือก","Seçilen yansının MD5, SHA-1, SHA-256 ve SHA-512 sağlama toplamlarını hesaplayın","Обчислення контрольних сум MD5, SHA-1, SHA-256 та SHA-512 для вибраних образів","Tính tổng kiểm MD5, SHA-1, SHA-256 và SHA-512 của tệp đã chọn"
-"Feature11","710","Text","","Perform bad blocks checks, including detection of ""fake"" flash drives","إجراء فحوصات كتل تالفة ، بما في ذلك الكشف عن محركات أقراص فلاش ""زائفة\","Проверяване за лоши блокове, включително засичане на ""фалшиви"" устройства","执行坏块检查,包括对”假“U盘的检测","執行壞軌檢查,包括對 ”假“ USB 快閃磁碟
-的偵測","Izvršite provjere loših blokova, uključujući otkrivanje ""lažnih"" flash pogona","Provést kontrolu vadných bloků, včetně detekce ""falešných"" bloků. flash disky","Udøv dårlige blokke tjeks, inklusiv opdagelse af ""falske"" flashdrev","Controles uitvoeren op slechte blokken, inclusief detectie van ""valse"" flashdrives","Suorita viallisten lohkojen tarkistuksia, sisältäen ""valheellisten"" muistitikkujen tunnistamisen","Executez un test de mauvais secteurs avec detection des ""fake drives\","Durchführung von Prüfungen auf fehlerhafte Blöcke, einschließlich der Erkennung von ""gefälschten"" Flash-Laufwerken","Εκτελέστε ελέγχους εσφαλμένων block, συμπεριλαμβανομένου του εντοπισμού ""ψευδών"" μονάδων flash","ביצוע בדיקות אחר בלוקים (אזורים) פגומים, כולל זיהוי של כונני הבזק ""מזוייפים\","Hibás blokkok ellenőrzése, beleértve a ""hamis"" flash meghajtók detektálását","Lakukan cek Blok yang buruk, termasuk deteksi USB Flash Disk ""PALSU\","Esegui controlli dei blocchi danneggiati, incluso il rilevamento di unità flash ""false\","不良ブロックチェック及び容量詐欺ドライブの検知を行います。","""위조"" 플래시 드라이브 감지를 포함하여 불량 블록 검사 수행","Izpilda bojāto bloku pārbaudi ieskaitot ""falsificēto"" nesēju noteikšanu","Atlikite blogų blokų patikrinimus, įskaitant ""netikrų"" flash diskų aptikimą","Melakukan pemeriksaan blok buruk, termasuk pengesanan pemacu kilat ""palsu\","Utfør sjekk for dårlige sektorer, inkludert sjekk for forfalskede flash disker","بررسی بلوک های بد، از جمله تشخیص درایوهای فلش ""جعلی"" را انجام دهید","Sprawdź dysk pod względem spójności danych lub wykryj ""nieoryginalny"" pendrive","Executar verificações de blocos defeituosos, incluindo detecção de unidades flash ""falsificadas\","Executar verificações de blocos inválidos, incluindo a deteção de unidades flash ""falsas\","Verifică blocuri rele, incluzând detectarea de drive-uri flash ""false\","Проверка на плохие блоки, обнаружение ""поддельных"" флешек","Izvršite provere loših blokova, uključujući otkrivanje ""lažnih"" fleš diskova","Vykonajte kontroly zlých blokov vrátane detekcie „falošných"" prenosných diskov","Izvajanje preverjanj slabih blokov, vključno z odkrivanjem »lažnih« bliskavic","Realice comprobaciones de bloques defectuosos, incluida la detección de unidades flash ""falsas\","Utför kontroll av trasiga block, inklusive upptäckt av ""falska"" USB-minnen","ตรวจสอบจุดบกพร่อง รวมไปถึงการทดสอบแฟลชไดรฟ์ว่าเป็น ""ของปลอม"" หรือไม่","""Sahte"" flash sürücülerin tespiti de dahil olmak üzere hatalı blok kontrolleri gerçekleştirin","Перевірка дисків (включаючи фальшиві диски)","Thực hiện kiểm tra điểm lỗi, bao gồm phát hiện ổ đĩa ""giả\"
-"Feature12","711","Text","","Download official Microsoft Windows retail ISOs","قم بتنزيل ملفات ISO الرسمية الخاصة بـ Microsoft Windows","Изтегляне на официални Microsoft Windows ISO образи","下载微软官方 Windows 镜像","下載微軟官方 Windows 映像檔","Preuzimanje službenih ISO-ova za maloprodaju sustava Microsoft Windows","Stažení oficiálních souborů ISO systému Microsoft Windows","Hent officielle Microsoft Windows detail ISOer","Officiële Microsoft Windows retail ISO's downloaden","Lataa virallisia Microsoft Windowsin jälleenmyyntiversion ISO-levykuvia","Téléchargez des images ISOs commerciales officielles de Microsoft Windows","Offizielle Microsoft Windows-ISOs herunterladen","Κατεβάστε τα επίσημα retail ISO των Microsoft Windows","הורדת קובצי ה־ISO הקמעונאיים הרשמיים של Microsoft Windows","Hivatalos Microsoft Windows kiskereskedelmi ISO képfájlok letöltése","Unduh ISO Microsoft Windows resmi","Scarica le ISO ufficiali di Microsoft Windows","マイクロソフト公式のWindows ISOをダウンロードします。","공식 Microsoft Windows 리테일 ISO 다운로드","Lejupielādē oficiālos Microsoft ISO failus","Atsisiųskite oficialius Microsoft Windows mažmeninės prekybos ISO","Muat turun rasmi ISO runcit Microsoft Windows","Last ned offisielle Windows ISOer","ISO های رسمی ماکروسافت را دریافت کنید","Pobierz oficjalny obraz ISO systemu Microsoft Windows","Baixar ISOs oficiais do Microsoft Windows","Descarregar ISOs oficiais do Microsoft Windows Retail","Descarcă un Microsoft Windows ISO oficial de vânzare","Загрузка официальных ISO-образов Windows","Preuzmite zvanične Microsoft Windows maloprodajne ISO-ove","Stiahnite si oficiálne ISO pre Microsoft Windows","Prenos uradnih Microsoft Windows maloprodaja ISOs","Descargue los ISO oficiales de Microsoft Windows","Ladda ner officiella Microsoft Windows ISO-filer","ดาวน์โหลดไฟล์ ISO ของ Microsoft Windows จากเว็บไซต์ทางการของ Microsoft","Resmi Microsoft Windows Retail ISO'larını indirin","Завантаження офіційних образів Microsoft Windows","Tải xuống các tệp Microsoft Windows ISO bán lẻ chính thức"
-"Feature13","712","Text","","Download UEFI Shell ISOs","قم بتنزيل UEFI Shell ISOs","Изтегляне на UEFI Shell образи","下载 UEFI Shell 镜像","下載 UEFI Shell 映像檔","Preuzmite ISO-ove UEFI ljuske","Stažení souborů UEFI Shell ISO","Hent UEFI Shell ISOer","UEFI Shell ISO's downloaden","Lataa UEFI Shell ISO-levykuvia","Téléchargez des images ISOs du Shell UEFI","UEFI-Shell-ISOs herunterladen","Κατεβάστε τα ISO Shell UEFI","הורדת קובצי ISO של מעטפת UEFI","UEFI Shell ISO képfájlok letöltése","Unduh Shell ISO UEFI","Scarica le ISO della shell UEFI","UEFIシェルのISOをダウンロードします。","UEFI Shell ISO 다운로드","Lejupielādē UEFI OS ISO failus","Atsisiųskite UEFI Shell ISO","Muat turun ISO Shell UEFI","Last ned UEFI kommandolinje ISOer","ISO های پوسته UEFI را دانلود کنید","Ściągnij obrazy ISO UEFI Shell","Baixar ISOs do Shell UEFI","Descarregar ISOs de UEFI Shell","Descarcă UEFI Shell ISO-uri","Загрузка ISO-образов оболочки UEFI","Preuzmite UEFI Shell ISOs","Stiahnite UEFI Shell ISO","Prenos UEFI Shell ISOs","Descargar ISO de UEFI Shell","Ladda ner UEFI-skal ISO-filer","ดาวน์โหลดไฟล์ ISO ของ UEFI Shell","UEFI Shell ISO'larını indirin","Завантаження командної оболонки UEFI ISO","Tải xuống các tệp UEFI Shell ISO"
+"Feature8","707","Text","","Create persistent Linux partitions","إنشاء Persistent Linux partitions","Създаване на устойчиви Linux дялове","创建持久 Linux 分区","建立持續性 Linux 磁區","Stvaranje trajnih Linux particija","Vytvoření trvalých oddílů systému Linux","Lav vedvarende Linux adskillelser","Persistent Linux partities aanmaken","Luo pysyviä Linux-osioita","Créez des partitions persistentes pour Linux","Persistente Linux-Partitionen erstellen","Δημιουργήστε μόνιμα διαμερίσματα Linux","יצירת מחיצות Linux קבועות","Tartós Linux partíciók készítése","Buat partisi Linux yang tetap/persistent","Crea partizioni persistenti Linux","記録用Linuxパーティションを作成します。","영구 리눅스 파티션 만들기","Izveido pastāvīgas Linux partīcijas","Sukurkite nuolatinius Linux skaidinius","Buat partition Linux berterusan","Lag persistente Linux partisjoner","ایجاد پارتیشن های لینوکس دائمی","Stwórz particje persistent Linuxa","Criar partições persistentes para Linux","Crie partições persistentes para Linux","Crează partiție de Linux persistentă","Создание постоянных разделов Linux","Kreiranje upornih Linux particija","Vytvorte trvalé oblasti systému Linux","Ustvarjanje trajnih Linux particij","Crear particiones persistentes de Linux","Skapa beständiga Linux-partitioner","สร้าง Linux partition แบบ persistent","Kalıcı Linux bölümleri oluşturun","Створення розділу збереження Linux","Tạo phân vùng Linux liên tục"
+"Feature9","708","Text","","Create VHD/DD images of the selected drive","إنشاء صور VHD / DD لمحرك الأقراص المحدد","Създаване на VHD/DD образи на избраното устройство","为选择的驱动器创建 VHD/DD 镜像","為選中的磁碟機建立 VHD/DD 映像檔","Stvaranje VHD/DD slika odabranog pogona","Vytvoření obrazů VHD/DD z vybrané jednotky","Lav VHD/DD billeder af det valgte drev","VHD/DD-images van de geselecteerde schijf aanmaken","Luo VHD/DD-kuvia valitusta asemasta","Créez des images VHD/DD du périphérique sélectionné","VHD/DD-Images des ausgewählten Laufwerks erstellen","Δημιουργήστε εικόνες VHD/DD της επιλεγμένης μονάδας δίσκου","יצירת קובצי תמונה מסוג VHD/DD של הכונן שנבחר","VHD/DD képfájl készítése a kiválasztott meghajtóról","Buat image VHD/DD dari penyimpanan yang dipilih","Crea immagini VHD/DD dell'unità selezionata","選択されたドライブのVHD/DDイメージを作成します。","선택한 드라이브의 VHD/DD 이미지 만들기","Izveido izvēlētā diska VHD/DD virtuālos attēlus","Sukurkite pasirinkto disko VHD / DD vaizdus","Buat imej VHD/DD bagi pemacu yang dipilih","Lag VHD/DD speilinger av valgt disk","تصاویر VHD/DD از درایو انتخاب شده ایجاد کنید","Stwórz obraz VHD/DD z wybranego dysku","Criar imagens VHD/DD do dispositivo selecionado","Criar imagens VHD/DD do dispositivo selecionado","Crează imagini VHD/DD de pe drive-ul selectat","Создание образов VHD/DD выбранного диска","Kreiranje VHD/DD slika izabrane disk jedinice","Vytvorte obrazy VHD/DD z vybratej jednotky","Ustvarjanje VHD/DD slik izbranega pogona","Cree imágenes VHD/DD de la unidad seleccionada","Skapa VHD/DD-avbilder av den valda enheten","สร้างอิมเมจไฟล์แบบ VHD/DD จากไดรฟ์ที่เลือก","Seçilen sürücünün VHD/DD yansılarını oluşturun","Створення образів VHD/DD з вибраних дисків","Tạo tệp VHD/DD từ ổ đĩa đã chọn"
+"Feature10","709","Text","","Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of the selected image","حساب المجاميع الإختبارية MD5 و SHA-1 و SHA-256 و SHA-512 للصورة المحددة","Изчисляване на MD5, SHA-1, SHA-256 и SHA-512 чексуми на избраният образ","计算被选择镜像的 MD5、SHA-1、SHA-256 和 SHA-512 校验码","計算被選中映像的 MD5、SHA-1、SHA-256 和 SHA-512 檢查碼","Izračunajte kontrolne zbrojeve odabrane slike MD5, SHA-1, SHA-256 i SHA-512","Výpočet kontrolních součtů MD5, SHA-1, SHA-256 a SHA-512 vybraného obrazu","Beregn MD5, SHA-1, SHA-256 og SHA-512 checksums af det valgte billede","MD5, SHA-1, SHA-256 en SHA-512 controlesommen berekenen van de geselecteerde image","Laske MD5, SHA-1, SHA-256 ja SHA-512 tarkistussummia valitusta levykuvasta","Calculez les sommes de contrôle MD5, SHA-1, SHA-256 et SHA-512 de l'image sélectionnée","Berechnung von MD5-, SHA-1-, SHA-256- und SHA-512-Prüfsummen für das ausgewählte Bild","Υπολογίστε τα αθροίσματα ελέγχου MD5, SHA-1, SHA-256 και SHA-512 της επιλεγμένης εικόνας","חישוב סיכומי ביקורת מסוג MD5, SHA-1, SHA-256 ו־SHA-512 של קובץ התמונה שנבחרה","A kiválasztott képfájl MD5, SHA-1, SHA-256 és SHA-512 ellenőrző összegének kiszámítása","Hitung checksum MD5, SHA-1, SHA-256 dan SHA-512 dari image yang dipilih","Calcola i checksum MD5, SHA-1, SHA-256 e SHA-512 dell'immagine selezionata","選択されたイメージのMD5、SHA-1、SHA-256及びSHA-512チェックサムを計算します。","선택한 이미지의 MD5, SHA-1, SHA-256 및 SHA-512 체크섬 계산","Izskaitļo izvēlētā virtuālā attēla MD5, SHA-1, SHA-256 un SHA-512 kontrolsummas","Apskaičiuokite pasirinkto vaizdo MD5, SHA-1, SHA-256 ir SHA-512 kontrolines sumas","Kira MD5, SHA-1, SHA-256 dan SHA-512 checksum imej yang dipilih","Kalkuler MD5, SHA-1, SHA-256 og SHA-512 sjekksummer fra valgt speiling","MD5، SHA-1، SHA-256 و SHA-512 را برای تصویر انتخابی محاسبه کنید","Oblicz sumy kontrolne MD5, SHA-1, SHA-256 i SHA-512 dla wybranego obrazu","Calcular somas de verificação MD5, SHA-1, SHA-256 e SHA-512 da imagem selecionada","Calcular checksums MD5, SHA-1, SHA-256 e SHA-512 da imagem selecionada","Compută MD5, SHA-1, SHA-256 și SHA-512 suma de control ale imaginilor selectate","Вычисление контрольных сумм MD5, SHA-1, SHA-256 и SHA-512 выбранного образа","Izračunajte MD5, SHA-1, SHA-256 i SHA-512 kontrolne preglede izabrane slike","Vypočítajte kontrolné súčty vybratého obrazu (MD5, SHA-1, SHA-256 a SHA-512)","Račun MD5, SHA-1, SHA-256 in SHA-512 kontrolni vsoti izbrane slike","Calcule las sumas de comprobación MD5, SHA-1, SHA-256 y SHA-512 de la imagen seleccionada","Beräkna kontrollsummor MD5, SHA-1, SHA-256 och SHA-512 för den valda avbilden","คำนวณรหัส MD5, SHA-1, SHA-256, SHA-512 ของไฟล์อิมเมจที่เลือก","Seçilen yansının MD5, SHA-1, SHA-256 ve SHA-512 sağlama toplamlarını hesaplayın","Обчислення контрольних сум MD5, SHA-1, SHA-256 та SHA-512 для вибраних образів","Tính tổng kiểm MD5, SHA-1, SHA-256 và SHA-512 của tệp đã chọn"
+"Feature11","710","Text","","Perform bad blocks checks, including detection of ""fake"" flash drives","إجراء فحوصات كتل تالفة ، بما في ذلك الكشف عن محركات أقراص فلاش ""زائفة\","Проверяване за лоши блокове, включително засичане на ""фалшиви"" устройства","执行坏块检查,包括对”假“U盘的检测","執行壞軌檢查,包括對”假“USB 快閃磁碟機的偵測","Izvršite provjere loših blokova, uključujući otkrivanje ""lažnih"" flash pogona","Provést kontrolu vadných bloků, včetně detekce ""falešných"" bloků. flash disky","Udøv dårlige blokke tjeks, inklusiv opdagelse af ""falske"" flashdrev","Controles uitvoeren op slechte blokken, inclusief detectie van ""valse"" flashdrives","Suorita viallisten lohkojen tarkistuksia, sisältäen ""valheellisten"" muistitikkujen tunnistamisen","Executez un test de mauvais secteurs avec detection des ""fake drives\","Durchführung von Prüfungen auf fehlerhafte Blöcke, einschließlich der Erkennung von ""gefälschten"" Flash-Laufwerken","Εκτελέστε ελέγχους εσφαλμένων block, συμπεριλαμβανομένου του εντοπισμού ""ψευδών"" μονάδων flash","ביצוע בדיקות אחר בלוקים (אזורים) פגומים, כולל זיהוי של כונני הבזק ""מזוייפים\","Hibás blokkok ellenőrzése, beleértve a ""hamis"" flash meghajtók detektálását","Lakukan cek Blok yang buruk, termasuk deteksi USB Flash Disk ""PALSU\","Esegui controlli dei blocchi danneggiati, incluso il rilevamento di unità flash ""false\","不良ブロックチェック及び容量詐欺ドライブの検知を行います。","""위조"" 플래시 드라이브 감지를 포함하여 불량 블록 검사 수행","Izpilda bojāto bloku pārbaudi ieskaitot ""falsificēto"" nesēju noteikšanu","Atlikite blogų blokų patikrinimus, įskaitant ""netikrų"" flash diskų aptikimą","Melakukan pemeriksaan blok buruk, termasuk pengesanan pemacu kilat ""palsu\","Utfør sjekk for dårlige sektorer, inkludert sjekk for forfalskede flash disker","بررسی بلوک های بد، از جمله تشخیص درایوهای فلش ""جعلی"" را انجام دهید","Sprawdź dysk pod względem spójności danych lub wykryj ""nieorginalny"" pendrive","Executar verificações de blocos defeituosos, incluindo detecção de unidades flash ""falsificadas\","Executar verificações de blocos inválidos, incluindo a deteção de unidades flash ""falsas\","Verifică blocuri rele, incluzând detectarea de drive-uri flash ""false\","Проверка на плохие блоки, обнаружение ""поддельных"" флешек","Izvršite provere loših blokova, uključujući otkrivanje ""lažnih"" fleš diskova","Vykonajte kontroly zlých blokov vrátane detekcie „falošných"" prenosných diskov","Izvajanje preverjanj slabih blokov, vključno z odkrivanjem »lažnih« bliskavic","Realice comprobaciones de bloques defectuosos, incluida la detección de unidades flash ""falsas\","Utför kontroll av trasiga block, inklusive upptäckt av ""falska"" USB-minnen","ตรวจสอบจุดบกพร่อง รวมไปถึงการทดสอบแฟลชไดรฟ์ว่าเป็น ""ของปลอม"" หรือไม่","""Sahte"" flash sürücülerin tespiti de dahil olmak üzere hatalı blok kontrolleri gerçekleştirin","Перевірка дисків (включаючи фальшиві диски)","Thực hiện kiểm tra điểm lỗi, bao gồm phát hiện ổ đĩa ""giả\"
+"Feature12","711","Text","","Download official Microsoft Windows retail ISOs","قم بتنزيل ملفات ISO الرسمية الخاصة بـ Microsoft Windows","Изтегляне на официални Microsoft Windows ISO образи","下载微软官方 Windows 镜像","下載微軟官方 Windows 映像檔","Preuzimanje službenih ISO-ova za maloprodaju sustava Microsoft Windows","Stažení oficiálních souborů ISO systému Microsoft Windows","Hent officielle Microsoft Windows detail ISOer","Officiële Microsoft Windows retail ISO's downloaden","Lataa virallisia Microsoft Windowsin jälleenmyyntiversion ISO-levykuvia","Téléchargez des images ISOs commerciales officielles de Microsoft Windows","Offizielle Microsoft Windows-ISOs herunterladen","Κατεβάστε τα επίσημα retail ISO των Microsoft Windows","הורדת קובצי ה־ISO הקמעונאיים הרשמיים של Microsoft Windows","Hivatalos Microsoft Windows kiskereskedelmi ISO képfájlok letöltése","Unduh ISO Microsoft Windows resmi","Scarica le ISO ufficiali di Microsoft Windows","マイクロソフト公式のWindows ISOをダウンロードします。","공식 Microsoft Windows 리테일 ISO 다운로드","Lejupielādē oficiālos Microsoft ISO failus","Atsisiųskite oficialius Microsoft Windows mažmeninės prekybos ISO","Muat turun rasmi ISO runcit Microsoft Windows","Last ned offisielle Windows ISOer","ISO های رسمی ماکروسافت را دریافت کنید","Pobierz oficjalny obraz ISO systemu Microsoft Windows","Baixar ISOs oficiais do Microsoft Windows","Transferir ISOs oficiais do Microsoft Windows Retail","Descarcă un Microsoft Windows ISO oficial de vânzare","Загрузка официальных ISO-образов Windows","Preuzmite zvanične Microsoft Windows maloprodajne ISO-ove","Stiahnite si oficiálne ISO pre Microsoft Windows","Prenos uradnih Microsoft Windows maloprodaja ISOs","Descargue los ISO oficiales de Microsoft Windows","Ladda ner officiella Microsoft Windows ISO-filer","ดาวน์โหลดไฟล์ ISO ของ Microsoft Windows จากเว็บไซต์ทางการของ Microsoft","Resmi Microsoft Windows Retail ISO'larını indirin","Завантаження офіційних образів Microsoft Windows","Tải xuống các tệp Microsoft Windows ISO bán lẻ chính thức"
+"Feature13","712","Text","","Download UEFI Shell ISOs","قم بتنزيل UEFI Shell ISOs","Изтегляне на UEFI Shell образи","下载 UEFI Shell 镜像","下載 UEFI Shell 映像檔","Preuzmite ISO-ove UEFI ljuske","Stažení souborů UEFI Shell ISO","Hent UEFI Shell ISOer","UEFI Shell ISO's downloaden","Lataa UEFI Shell ISO-levykuvia","Téléchargez des images ISOs du Shell UEFI","UEFI-Shell-ISOs herunterladen","Κατεβάστε τα ISO Shell UEFI","הורדת קובצי ISO של מעטפת UEFI","UEFI Shell ISO képfájlok letöltése","Unduh Shell ISO UEFI","Scarica le ISO della shell UEFI","UEFIシェルのISOをダウンロードします。","UEFI Shell ISO 다운로드","Lejupielādē UEFI OS ISO failus","Atsisiųskite UEFI Shell ISO","Muat turun ISO Shell UEFI","Last ned UEFI kommandolinje ISOer","ISO های پوسته UEFI را دانلود کنید","Ściągnij obrazy ISO UEFI Shell","Baixar ISOs do Shell UEFI","Transferir ISOs de UEFI Shell","Descarcă UEFI Shell ISO-uri","Загрузка ISO-образов оболочки UEFI","Preuzmite UEFI Shell ISOs","Stiahnite UEFI Shell ISO","Prenos UEFI Shell ISOs","Descargar ISO de UEFI Shell","Ladda ner UEFI-skal ISO-filer","ดาวน์โหลดไฟล์ ISO ของ UEFI Shell","UEFI Shell ISO'larını indirin","Завантаження командної оболонки UEFI ISO","Tải xuống các tệp UEFI Shell ISO"
"Feature14","713","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"Feature15","714","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"Feature16","715","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
@@ -310,7 +306,7 @@ Xem tại https://www.gnu.org/licenses/gpl-3.0.html để biết thêm chi tiế
"RecommendedHardwareReq9","858","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"RecommendedHardwareReq10","859","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"RecommendedHardwareReq11","860","Text","",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
-"SearchTerm1","900","Text","Boot","Boot","الإقلاع (Boot)","","启动","啟動","","","","Opstarten","Boottaus","Amorçable","","","בוט","","","Avvio","起動","부팅","Ielāde","Batas","","Oppstart","راهاندازی","","Inicialização","Arranque","","Загрузочный","","boot","Zagon","Arranque","Uppstart","","Önyükle","Отримати","Khởi động"
+"SearchTerm1","900","Text","Boot","Boot","الإقلاع (Boot)","","启动","啟動","","","","Opstarten","Boottaus","Amorçable","","","בוט","","","Avvio","起動","부팅","Ielāde","Batas","","Oppstart","راهاندازی","","Inicialização","Inicializável","Bootează","Загрузочный","","boot","Zagon","Arranque","Uppstart","","Önyükle","Отримати","Khởi động"
"SearchTerm2","901","Text","USB",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"SearchTerm3","902","Text","ISO",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"SearchTerm4","903","Text","Windows",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
diff --git a/res/appstore/packme.cmd b/res/appstore/packme.cmd
index c09eb363..04b8f0dc 100644
--- a/res/appstore/packme.cmd
+++ b/res/appstore/packme.cmd
@@ -27,9 +27,9 @@ del /q *.map >NUL 2>&1
set WDK_PATH=C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64
set ZIP_PATH=C:\Program Files\7-Zip
-set SIGNATURE_SHA1=fc4686753937a93fdcd48c2bb4375e239af92dcb
+set SIGNATURE_SHA1=3dbc3a2a0e9ce8803b422cfdbc60acd33164965d
set MANIFEST=AppxManifest.xml
-set ARCHS=x86 x64 arm64
+set ARCHS=x86 x64 arm arm64
set DEFAULT_SCALE=200
set OTHER_SCALES=100 125 150 400
set SCALED_IMAGES=LargeTile SmallTile Square44x44Logo Square150x150Logo StoreLogo Wide310x150Logo
@@ -69,25 +69,25 @@ for %%a in (%ARCHS%) do (
)
)
-rem Use our own get_pe_info executable - source is in this directory
-if not exist ..\get_pe_info.exe (
- echo ..\get_pe_info.exe must exist in the parent directory. Compile it with MinGW.
+rem exiftool.exe can't be installed in the Windows system directories...
+if not exist exiftool.exe (
+ echo exiftool.exe must exist in this directory
goto out
)
rem Make sure we're not trying to create a package from an ALPHA or BETA version!
-..\get_pe_info.exe -i rufus_x64.exe | findstr /C:"ALPHA" 1>nul && (
+exiftool -s3 -*InternalName* rufus_x64.exe | findstr /C:"ALPHA" 1>nul && (
echo Alpha version detected - ABORTED
goto out
)
-..\get_pe_info.exe -i rufus_x64.exe | findstr /C:"BETA" 1>nul && (
+exiftool -s3 -*InternalName* rufus_x64.exe | findstr /C:"BETA" 1>nul && (
echo Beta version detected - ABORTED
goto out
)
rem Populate the version from the executable
if "%VERSION_OVERRIDE%"=="" (
- ..\get_pe_info.exe -v rufus_x64.exe > version.txt
+ exiftool -s3 -*FileVersionNumber* rufus_x64.exe > version.txt
set /p VERSION= bundle.map
diff --git a/res/dbx/amd64_DBXUpdate.bin b/res/dbx/amd64_DBXUpdate.bin
deleted file mode 100644
index 07a95e2b..00000000
Binary files a/res/dbx/amd64_DBXUpdate.bin and /dev/null differ
diff --git a/res/dbx/arm64_DBXUpdate.bin b/res/dbx/arm64_DBXUpdate.bin
deleted file mode 100644
index 33520068..00000000
Binary files a/res/dbx/arm64_DBXUpdate.bin and /dev/null differ
diff --git a/res/dbx/arm_DBXUpdate.bin b/res/dbx/arm_DBXUpdate.bin
deleted file mode 100644
index feb134b0..00000000
Binary files a/res/dbx/arm_DBXUpdate.bin and /dev/null differ
diff --git a/res/dbx/dbx_info.h b/res/dbx/dbx_info.h
deleted file mode 100644
index eb0c2870..00000000
--- a/res/dbx/dbx_info.h
+++ /dev/null
@@ -1,17 +0,0 @@
-// Autogenerated - DO NOT EDIT
-
-#include
-#pragma once
-
-struct {
- char* url;
- uint64_t timestamp;
-} dbx_info[] = {
- { "https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/x86/DBXUpdate.bin", 1760555920 },
- { "https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/amd64/DBXUpdate.bin", 1760555920 },
- { "https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/arm/DBXUpdate.bin", 1740428422 },
- { "https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/arm64/DBXUpdate.bin", 1740428422 },
- { "https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/ia64/DBXUpdate.bin", 0 },
- { "https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/riscv64/DBXUpdate.bin", 0 },
- { "https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/loongarch64/DBXUpdate.bin", 0 },
-};
diff --git a/res/dbx/dbx_update.sh b/res/dbx/dbx_update.sh
deleted file mode 100755
index 315dcf4e..00000000
--- a/res/dbx/dbx_update.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/env bash
-# This script downloads the latest UEFI DBXs and creates the dbx_info.h header
-
-github_url="https://api.github.com/"
-
-# Retrieve the commit epoch from a GitHub URL or 0 if not available
-get_commit_date() {
- url=$1
- if [[ "${url}" =~ ^"${github_url}" ]]; then
- parts=($(awk -F'contents/' '{ for(i=1;i<=NF;i++) print $i }' <<< ${url}))
- date_url="${parts[0]}commits?path=${parts[1]//\//%2F}&page=1&per_page=1"
- epoch="$(curl -s -L ${date_url} | python -m json.tool | grep -m1 \"date\": | sed -e 's/^.*\"date\":.*\"\(.*\)\".*/\1/' | date -u -f - +%s)"
- fi
- echo ${epoch:-0}
-}
-
-# Should be in the same order as the ArchType enum in Rufus with the first entry (ARCH_UNKNOWN = 0) skipped
-# Note that are GUESSING the RISC-V 64 and LoongArch 64 URLS since there are no DBX revocations for those archs yet.
-# Also use api.github.com (which is rate limited) so we don't get the stupid 404 GitHub page on error, which is 10
-# times larger than our largest DBX update binary...
-declare -a dbx_urls=(
- 'https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/x86/DBXUpdate.bin'
- 'https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/amd64/DBXUpdate.bin'
- 'https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/arm/DBXUpdate.bin'
- 'https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/arm64/DBXUpdate.bin'
- 'https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/ia64/DBXUpdate.bin'
- 'https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/riscv64/DBXUpdate.bin'
- 'https://api.github.com/repos/microsoft/secureboot_objects/contents/PostSignedObjects/DBX/loongarch64/DBXUpdate.bin'
-)
-
-cat << EOF > dbx_info.h
-// Autogenerated - DO NOT EDIT
-
-#include
-#pragma once
-
-struct {
- char* url;
- uint64_t timestamp;
-} dbx_info[] = {
-EOF
-for url in "${dbx_urls[@]}"; do
- if [[ ! -z "${url}" ]]; then
- dst=$(echo ${url} | cut -f10,11 -d'/' | tr '/' '_')
- curl -L -H "Accept: application/vnd.github.v3.raw" "${url}" -o "${dst}"
- fgrep -q "Not Found" "${dst}" && :> "${dst}"
- fi
- echo " { \"${url}\", $(get_commit_date ${url}) }," >> dbx_info.h
-done
-echo "};" >> dbx_info.h
diff --git a/res/dbx/ia64_DBXUpdate.bin b/res/dbx/ia64_DBXUpdate.bin
deleted file mode 100644
index e69de29b..00000000
diff --git a/res/dbx/loongarch64_DBXUpdate.bin b/res/dbx/loongarch64_DBXUpdate.bin
deleted file mode 100644
index e69de29b..00000000
diff --git a/res/dbx/readme.txt b/res/dbx/readme.txt
deleted file mode 100644
index 36e98106..00000000
--- a/res/dbx/readme.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-This directory contains the official UEFI revocation databases, as provided by
-https://github.com/microsoft/secureboot_objects/tree/main/PostSignedObjects.
-
-These are used by Rufus to warn the user if a UEFI bootloader has been revoked.
\ No newline at end of file
diff --git a/res/dbx/riscv64_DBXUpdate.bin b/res/dbx/riscv64_DBXUpdate.bin
deleted file mode 100644
index e69de29b..00000000
diff --git a/res/dbx/x86_DBXUpdate.bin b/res/dbx/x86_DBXUpdate.bin
deleted file mode 100644
index 3003f7c6..00000000
Binary files a/res/dbx/x86_DBXUpdate.bin and /dev/null differ
diff --git a/res/freedos/COMMAND.COM b/res/freedos/COMMAND.COM
index 255525ac..f56ace7e 100644
Binary files a/res/freedos/COMMAND.COM and b/res/freedos/COMMAND.COM differ
diff --git a/res/freedos/KEYB.EXE b/res/freedos/KEYB.EXE
index 5b4211e5..673738a9 100644
Binary files a/res/freedos/KEYB.EXE and b/res/freedos/KEYB.EXE differ
diff --git a/res/freedos/KEYBOARD.SYS b/res/freedos/KEYBOARD.SYS
index cef2cbf5..8da7e25e 100644
Binary files a/res/freedos/KEYBOARD.SYS and b/res/freedos/KEYBOARD.SYS differ
diff --git a/res/freedos/readme.txt b/res/freedos/readme.txt
index 3be4baa8..4064bc18 100644
--- a/res/freedos/readme.txt
+++ b/res/freedos/readme.txt
@@ -1,5 +1,5 @@
-All of the executables found in this repository where extracted from FreeDOS v1.4:
-https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.4/FD14-FullUSB.zip
+All of the executables found in this repository where extracted from:
+https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.3/official/FD13-FullUSB.zip
o COMMAND.COM was extracted from packages\base\freecom.zip
o DISPLAY.EXE was extracted from packages\base\display.zip
diff --git a/res/grub/grldr.mbr b/res/grub/grldr.mbr
index 5746f03b..d168da09 100644
Binary files a/res/grub/grldr.mbr and b/res/grub/grldr.mbr differ
diff --git a/res/grub/readme.txt b/res/grub/readme.txt
index c9790ee7..35183463 100644
--- a/res/grub/readme.txt
+++ b/res/grub/readme.txt
@@ -1,6 +1,6 @@
This directory contains the Grub4DOS boot records that are used by Rufus
-* grldr.mbr was taken from the official 2024-02-26 release from
+* grldr.mbr was taken from the official 2023-03-06 release from
https://github.com/chenall/grub4dos/releases/tag/0.4.6a
* Note that, for convenience reasons, the first 512 bytes from this grldr.mbr are
diff --git a/res/grub2/core.img b/res/grub2/core.img
index 7690b0f2..f8d031b7 100644
Binary files a/res/grub2/core.img and b/res/grub2/core.img differ
diff --git a/res/grub2/grub2_version.h b/res/grub2/grub2_version.h
index 59636000..72ed03a6 100644
--- a/res/grub2/grub2_version.h
+++ b/res/grub2/grub2_version.h
@@ -4,4 +4,4 @@
*/
#pragma once
-#define GRUB2_PACKAGE_VERSION "2.14"
+#define GRUB2_PACKAGE_VERSION "2.12"
diff --git a/res/grub2/readme.txt b/res/grub2/readme.txt
index 97374273..eb37a76d 100644
--- a/res/grub2/readme.txt
+++ b/res/grub2/readme.txt
@@ -1,10 +1,8 @@
This directory contains the Grub 2.0 boot records that are used by Rufus
-* boot.img and core.img were created from https://ftp.gnu.org/gnu/grub/grub-2.14.tar.xz
- with https://github.com/gentoo/gentoo/raw/d51cbeb087dbbe979ff29af645f32071cce2834d/sys-boot/grub/files/grub-2.14-revert-image-base.patch
- applied (since GRUB are apparently unable to perform BASIC testing of their releases)
- on a Debian 13 x64 system using the commands:
- patch -p1 < grub-2.14-revert-image-base.patch
+* boot.img and core.img were created from a patched (since the offcial GRUB 2.12 release is *BROKEN*):
+ https://ftp.gnu.org/gnu/grub/grub-2.12.tar.xz
+ on a Debian 12.5 x64 system using the commands:
./autogen.sh
# --enable-boot-time for Manjaro Linux
./configure --disable-nls --enable-boot-time
diff --git a/res/hogger/hogger.asm b/res/hogger/hogger.asm
index 836b8e92..dbab990c 100644
--- a/res/hogger/hogger.asm
+++ b/res/hogger/hogger.asm
@@ -1,6 +1,6 @@
; Rufus: The Reliable USB Formatting Utility
; Commandline hogger, assembly version (NASM)
- ; Copyright © 2014 Pete Batard
+ ; Copyright 2014 Pete Batard
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
diff --git a/res/hogger/hogger.c b/res/hogger/hogger.c
index 01164b37..a03b76ee 100644
--- a/res/hogger/hogger.c
+++ b/res/hogger/hogger.c
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Commandline hogger, C version
- * Copyright © 2014 Pete Batard
+ * Copyright 2014 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/res/icons/license.txt b/res/icons/license.txt
index cd9f039c..4d78ab29 100644
--- a/res/icons/license.txt
+++ b/res/icons/license.txt
@@ -8,11 +8,6 @@ o hash-*.png, info-*.png, lang-*.png, log-*.png, save-*.png, settings-*.png
CC BY-ND 4.0 when used as native resolution bitmaps, Commercial License otherwise
See https://www.axialis.com/icongenerator/iconset-license.html#free
-o setup.ico
- Base SVG from https://tablericons.com/
- No attribution required.
- With arrow overlay from Axialis Icon Set.
-
NB: To be on the safe side with regards to icon use and redistribution, we
did purchase a Commercial License for the Axialis icons.
If you are planning to use these icons outside of this project, you may
diff --git a/res/icons/setup.ico b/res/icons/setup.ico
deleted file mode 100644
index fcfba3ec..00000000
Binary files a/res/icons/setup.ico and /dev/null differ
diff --git a/res/icons/setup.svg b/res/icons/setup.svg
deleted file mode 100644
index 0d500c4f..00000000
--- a/res/icons/setup.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/res/loc/ChangeLog.txt b/res/loc/ChangeLog.txt
index c0c8b585..072325df 100644
--- a/res/loc/ChangeLog.txt
+++ b/res/loc/ChangeLog.txt
@@ -3,59 +3,9 @@ rufus.loc since its original version.
To edit a translation, please make sure to follow:
https://github.com/pbatard/rufus/wiki/Localization#Editing_an_existing_translation
-Or simply download https://files.akeo.ie/pollock/pollock-1.8.exe and follow its directions.
+Or simply download https://files.akeo.ie/pollock/pollock-1.5.exe and follow its directions.
-o v4.14 (2026.??.??)
- // NB: I used Google translate to update the following message, so please check for accuracy!
- - *UPDATED* MSG_337 "An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:" -> "An additional file ('%s') must be downloaded from Microsoft to use this feature:"
- // From the WUE dialog with tooltip at MSG_369. Indicates that once installed, Windows will copy a file (SkuSiPolicy.p7b) to the EFI partition. KB5042562 refers to https://support.microsoft.com/kb/5042562.
- // NB: WUE refers to the "Windows User Experience" dialog that Rufus displays after you select a Windows 11 ISO and press START.
- - *NEW* MSG_323 "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
- // From the WUE dialog with tooltip at MSG_370. Please do NOT translate "QoL" or "Copilot, OneDrive, Outlook, Fast Startup".
- - *NEW* MSG_324 "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
- // From the WUE dialog with tooltip at MSG_368. 'Windows CA 2023' refers to the new Windows security certificate https://go.microsoft.com/fwlink/?linkid=2239776 which is a binary digital signature certificate used for Secure Boot.
- - *NEW* MSG_350 "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
- // The following 4 messages refer to Secure Boot revocation updates, such as the ones provided at https://uefi.org/revocationlistfile. 'DBX' is the main UEFI revocation database and should not be translated.
- - *NEW* MSG_351 "Checking for UEFI bootloader revocation..."
- - *NEW* MSG_352 "Checking for UEFI DBX updates..."
- - *NEW* MSG_353 "DBX update available"
- - *NEW* MSG_354 "Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks..."
- // From the WUE dialog with tooltip at MSG_371 and further description at MSG_356. This basically allows a fully unattended Windows installation, that will not prompt the user at all and therefore automatically (and SILENTLY)
- // erase all data on the first found disk on the PC on which the media is booted, before partitioning it and installing Windows. Because the media does not prompt before erasing all data on the first disk, it is obvioulsy a
- // very DANGEROUS option, hence the ⚠ signs and the extra dialog that shows for it, in MSG_356, to ensure that the user accepts the consequences of selecting it.
- // In case it matters, the implied tense for the verb is FUTURE and indicates what the media/installer will do once booted. It does not indicate what Rufus itself does.
- - *NEW* MSG_355 "⚠SILENTLY⚠ erase disk and install:"
- - *NEW* MSG_356 "You have selected to use the \"silent\" Windows installation option (...)"
- // The following two messages can be tested if you select an image (e.g. ISO) that is located on the drive you are trying to create
- // If not directly relatable, the "saw the branch you are sitting on" idiom should be translated into a similar popular metaphor (for something that is so illogically bad that it will obviously end in disaster) in your language.
- - *NEW* MSG_358 "Unsupported image location"
- - *NEW* MSG_359 "You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on (...)"
- // Tooltip for WUE MSG_329
- - *NEW* MSG_360 "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
- // Tooltip for WUE MSG_330
- - *NEW* MSG_361 "For this option to work, network/Internet MUST be disconnected during installation!"
- // Tooltip for WUE MSG_331
- - *NEW* MSG_362 "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
- // Tooltip for WUE MSG_332. Please avoid translating 'Windows To Go'.
- - *NEW* MSG_363 "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
- // Tooltip for WUE MSG_333
- - *NEW* MSG_364 "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
- // Tooltip for WUE MSG_334
- - *NEW* MSG_365 "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
- // Tooltip for WUE MSG_335
- - *NEW* MSG_366 "Don't encrypt the system disk, unless explicitly requested by the user."
- // Tooltip for WUE MSG_346 (that requires "Expert Mode" to first be enabled with Ctrl-Alt-E)
- - *NEW* MSG_367 "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
- // Tooltip for WUE MSG_350. Mosby refers to https://github.com/pbatard/Mosby.
- - *NEW* MSG_368 "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
- // Tooltip for WUE MSG_323
- - *NEW* MSG_369 "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
- // Tooltip for WUE MSG_324. Do not translate "Quality of Life", since it must match the QoL abbreviation from MSG_324 and it is meant to be known by the user (and is clarified by the rest of the message anyway)
- - *NEW* MSG_370 "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
- // Tooltip for WUE MSG_355
- - *NEW* MSG_371 "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-
-o v4.5 (2024.05.22)
+o v4.5 (2024.05.??)
- *UPDATED* IDC_RUFUS_MBR -> IDC_UEFI_MEDIA_VALIDATION "Enable runtime UEFI media validation"
- *UPDATED* MSG_167 "Install a UEFI bootloader, that will perform MD5Sum file validation of the media"
- *NEW* MSG_337 "An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS (...)"
@@ -79,17 +29,17 @@ o v3.22 (2023.03.25)
- *NEW* MSG_199 "This feature is not available on this platform."
// MSG_294 can be tested by launching Rufus from the commandline with option -z61
- *UPDATED* MSG_294 "This version of Windows is no longer supported by Rufus." -> added "\nThe last version of Rufus compatible with this platform is v%d.%d."
- - *NEW* MSG_322 "Unable to open or read '%s'"
+ - *NEW* MSG_323 "Unable to open or read '%s'"
// MSG_325 appears on the status bar when creating a customized Windows 10 or Windows 11 media
- *NEW* MSG_325 "Applying Windows customization: %s"
// The following messages appear after selecting a Windows 11 ISO and pressing START
- - *NEW* MSG_326 "Applying user options..."
- - *NEW* MSG_327 "Windows User Experience"
- - *NEW* MSG_328 "Customize Windows installation?"
- - *NEW* MSG_329 "Remove requirement for 4GB+ RAM, Secure Boot and TPM 2.0"
+ - *NEW* MSG_326 "Windows User Experience"
+ - *NEW* MSG_327 "Customize Windows installation?"
+ - *NEW* MSG_328 "Remove requirement for Secure Boot and TPM 2.0"
+ - *NEW* MSG_329 "Remove requirement for 4GB+ RAM and 64GB+ disk"
- *NEW* MSG_330 "Remove requirement for an online Microsoft account"
- *NEW* MSG_331 "Disable data collection (Skip privacy questions)"
- - *NEW* MSG_332 "Prevent 'Windows To Go' from accessing internal disks"
+ - *NEW* MSG_332 "Prevent Windows To Go from accessing internal disks"
- *NEW* MSG_333 "Create a local account with username:"
- *NEW* MSG_334 "Set regional options to the same values as this user's"
- *NEW* MSG_335 "Disable BitLocker automatic device encryption"
diff --git a/res/loc/po/!update.cmd b/res/loc/po/!update.cmd
index 50f09535..cb184e20 100644
--- a/res/loc/po/!update.cmd
+++ b/res/loc/po/!update.cmd
@@ -1,5 +1,5 @@
@echo off
-if not exist pollock.exe curl https://files.akeo.ie/pollock/pollock-1.6.exe --output pollock.exe
+if not exist pollock.exe curl https://files.akeo.ie/pollock/pollock-1.5.exe --output pollock.exe
cls
:menu
echo 1 - Import .po into .loc
diff --git a/res/loc/po/ar-SA.po b/res/loc/po/ar-SA.po
index dd7cb218..b7e2fad1 100644
--- a/res/loc/po/ar-SA.po
+++ b/res/loc/po/ar-SA.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-14 08:09+0100\n"
-"PO-Revision-Date: 2026-04-14 13:45+0100\n"
+"POT-Creation-Date: 2024-04-26 10:29+0100\n"
+"PO-Revision-Date: 2024-04-29 10:22+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ar_SA\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Arabic (العربية)\n"
"X-Rufus-LCID: 0x0401, 0x0801, 0x0c01, 0x1001, 0x1401, 0x1801, 0x1c01, 0x2001, 0x2401, 0x2801, 0x2c01, 0x3001, 0x3401, 0x3801, 0x3c01, 0x4001\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -310,7 +310,7 @@ msgstr "ت.ب"
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr "ب.ب"
@@ -811,7 +811,7 @@ msgstr "التثبيت القياسي لنظام التشغيل Windows"
#. http://en.wikipedia.org/wiki/Windows_To_Go in your language.
#. Otherwise, you may add a parenthesis eg. "Windows To Go ()"
msgid "Windows To Go"
-msgstr "ويندوز المحمول (Windows To Go)"
+msgstr "Windows To Go"
#. • MSG_119
msgid "advanced drive properties"
@@ -848,7 +848,7 @@ msgstr "لا استمرارية"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "حدد حجم التقسيم المستمر لجهاز ال USB الحي, تحديد الحجم بقيمة 0 سيعطل التقسيم المستمر."
@@ -890,17 +890,17 @@ msgstr "هذا القرص يستخدم من قبل برنامج آخر. هل ت
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"اكتشف برنامج روفوس Rufus أنك تحاول إنشاء وسائط \"Windows To Go\" باستخدام ملف ISO من إصدار 1809.\n"
+"لقد قام Rufus بإكتشاف أنك تحاول إنشاء وسائط Windows To Go بناءً على ISO 1809\n"
"\n"
-"بسبب خلل برمجي في مايكروسوفت، ستتعطل هذه الوسائط أثناء تشغيل ويندوز (شاشة الموت الزرقاء)، ما لم تستبدل الملف \"WppRecorder.sys\" يدويًا بنسخة من إصدار 1803.\n"
+"بسبب عيب في Microsoft, سوف تتوقف الوسائط خلال إقلاع Windows (شاشة الموت الزرقاء) ما لم تقم يدوياً بإستبدال ملف 'WppRecorder.sys' بإصدار 1803.\n"
"\n"
-"يُرجى العلم أيضًا أن سبب عدم قدرة روفوس Rufus على إصلاح هذه المشكلة تلقائيًا هو أن الملف \"WppRecorder.sys\" محمي بحقوق الطبع والنشر لمايكروسوفت، لذا لا يمكننا قانونيًا تضمين نسخة منه في التطبيق."
+"يرجى العلم أن سبب عدم إمكانية Rufus من إصلاح المشكلة تلقائيا هو أن ملف 'WppRecorder.sys' محفوظ الحقوق ل Microsoft, لذلك لا يمكننا تضمين نسخة من الملف في التطبيق..."
#. • MSG_134
msgid ""
@@ -1798,14 +1798,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "غير قادر على فتح أو قراءة '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "قم بتطبيق SkuSiPolicy.p7b عند التثبيت (ألق نظرة على KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "تحسينات جودة الحياة QoL (لا تفرض استخدام Copilot أو OneDrive أو Outlook أو Fast Startup، إلخ..)."
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "جاري تطبيق تخصيصات ويندوز: %s"
@@ -1856,13 +1848,13 @@ msgstr "سجل متواصل"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"يجب تنزيل ملف إضافي ('%s') من مايكروسفت Microsoft لاستخدام هذه الميزة:\n"
+"يجب تنزيل ملف إضافي ('diskcopy.dll') من Microsoft لتثبيت MS-DOS:\n"
"- حدد \"نعم\" للاتصال بالإنترنت وتنزيله\n"
"- اختر \"لا\" لإلغاء العملية\n"
"\n"
@@ -1916,7 +1908,7 @@ msgstr ""
#. • MSG_346
msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
-msgstr "تقييد Windows على الوضع \"S-Mode\" (غير متوافق مع تجاوز الحساب عبر الإنترنت)"
+msgstr "تقييد Windows على الوضع \"S\" (S-Mode، غير متوافق مع تجاوز الحساب عبر الإنترنت)"
#. • MSG_347
msgid "Expert Mode"
@@ -1930,119 +1922,6 @@ msgstr "استخراج ملفات الأرشيف: %s"
msgid "Use Rufus MBR"
msgstr "استخدم Refus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "استخدم برامج الإقلاع المُوَقع \"Windows CA 2023\" (يتطلب أن يكون جهاز كمبيوتر المستهدف متوافقا)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "جارٍ التحقق من إلغاء صلاحية برنامج الإقلاع UEFI bootloader..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "جارٍ التحقق من وجود تحديثات لـ UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "تحديث الـ DBX متوفر"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"عثر روفوس Rufus على نسخة محدثة من ملفات DBX المستخدمة لإجراء فحوصات إلغاء التمهيد الآمن لـ UEFI. هل ترغب بتنزيل هذا التحديث؟\n"
-"- اختر «نعم» للاتصال بالإنترنت وتنزيل هذا المحتوى\n"
-"- اختر «لا» لإلغاء العملية\n"
-"\n"
-"ملاحظة: سيتم تنزيل الملفات في مجلد التطبيق، وسيتم إعادة استخدامها تلقائيًا في حال وجودها."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠بصمت⚠ امسح القرص وقم بالتثبيت:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"لقد اخترتَ استخدام خيار التثبيت الصامت لنظام ويندوز.\n"
-"\n"
-"حذار: هذا خيار متقدم، مخصص لمن يرغبون في إنشاء وسائط تثبيت لا تُطالب المستخدم بأي إجراء أثناء تثبيت ويندوز، وبالتالي ** تمسح القرص الأول المُكتشف على النظام المستهدف مسحًا تامًا **. في حال عدم توخي الحذر، قد يؤدي استخدام هذا الخيار إلى فقدان البيانات بشكل لا رجعة فيه!\n"
-"\n"
-"إذا لم يكن هذا ما تريده، يُرجى اختيار \"لا\" للعودة وإلغاء تحديد الخيار.\n"
-"\n"
-"أما إذا اخترتَ \"نعم\"، فأنتَ تُقرّ بأنك تتحمل كامل المسؤولية عن أي فقدان للبيانات."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "موقع الصورة غير مدعوم"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"لا يمكنك استخدام صورة موجودة على القرص المستهدف، لأن هذا القرص سيُمسح بالكامل. الأمر أشبه بمحاولة قطع الغصن الذي تجلس عليه!\n"
-"\n"
-"يرجى نقل الصورة إلى قرص آخر ثم المحاولة مرة أخرى."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "من الآمن ترك هذا الخيار مفعلاً حتى لو لم يكن لديك وحدة TPM أو المزيد من ذاكرة الوصول العشوائي، لأن هذا الخيار يتجاوز متطلبات الإعداد فقط ولا يمنع نظام التشغيل Windows فعليًا من استخدام جميع الأجهزة المتاحة."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "لكي يعمل هذا الخيار، يجب فصل شبكة الإنترنت أثناء التثبيت!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "قم بالإجابة تلقائيًا بـ \"لا\" على أسئلة إعداد ويندوز Windows المتعلقة بمشاركة البيانات مع مايكروسفت Microsoft، بدلاً من مطالبة المستخدم بذلك."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "يجب عليك ترك هذا الخيار مفعلاً، إلا إذا كنت موافقًا على وصول \"Windows To Go\" إلى الأقراص الداخلية والإجراء بصمت ترقيات نظام الملفات التي لا رجعة فيها."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "إنشاء حساب محلي تلقائيًا باسم المستخدم المحدد، باستخدام كلمة مرور فارغة والتي يجب تغييرها عند تسجيل الدخول التالي."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "قم بإستخدم نفس الإعدادات الإقليمية لهذا الكمبيوتر (لوحة المفاتيح، المنطقة الزمنية، العملة)، بدلاً من مطالبة المستخدم."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "لا تقم بتشفير قرص النظام، إلا إذا طلب المستخدم ذلك صراحةً."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "حذار: استخدم هذا الخيار فقط إذا كنت تعرف ما هو الوضع S-Mode وتفهم أن نظامك قد يظل عالقًا في الوضع S-Mode حتى بعد مسح نظام التشغيل ويندوز Windows وإعادة تثبيته بالكامل."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "استخدم هذا الخيار إذا كان النظام الذي تنوي تثبيت ويندوز عليه يستخدم شهادات التمهيد الآمن Secure Boot المحدثة بالكامل. إذا لزم الأمر، يمكنك البحث في استخدام \"موسبي\" Mosby لتحديث نظامك."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "استخدم هذا الخيار إذا كنت ترغب في إلغاء برامج اقلاع نظام التشغيل ويندوز الإضافية التي يحتمل أن تكون غير آمنة bootloaders، ولكن هذا يمكن أن يمنع وسائط ويندوز القياسية من الإقلاع أيضًا."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "تحسينات \"جودة الحياة\": تعطيل معظم الميزات غير المرغوب فيها التي تحاول مايكروسوفت فرضها على المستخدمين."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "إذا كنت تستخدم هذا الخيار، فيرجى التأكد من فصل كل الأقراص عن جهاز الكمبيوتر المستهدف، باستثناء القرص الذي تريد تثبيت نظام التشغيل ويندوز Windows عليه، وكذلك عدم ترك هذه الفلاشة موصولة بأي جهاز كمبيوتر لا تريد مسحه."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/bg-BG.po b/res/loc/po/bg-BG.po
index 3822b3de..822c85b8 100644
--- a/res/loc/po/bg-BG.po
+++ b/res/loc/po/bg-BG.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 3.22\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-11 12:52+0300\n"
-"PO-Revision-Date: 2026-04-11 13:47+0300\n"
+"POT-Creation-Date: 2023-03-23 15:50+0000\n"
+"PO-Revision-Date: 2023-03-23 15:53+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: bg_BG\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Bulgarian (Български)\n"
"X-Rufus-LCID: 0x0402\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.2.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -54,11 +54,13 @@ msgstr "Изброяване на USB дискове"
msgid "Add fixes for old BIOSes (extra partition, align, etc.)"
msgstr "Добави поправки за стари BIOS-и"
-#. • IDD_DIALOG → IDC_UEFI_MEDIA_VALIDATION
+#. • IDD_DIALOG → IDC_RUFUS_MBR
#.
-#. It is acceptable to drop the "runtime" if you are running out of space
-msgid "Enable runtime UEFI media validation"
-msgstr "Активиране на валидиране на UEFI носителя по време на работа"
+#. 'MBR': See http://en.wikipedia.org/wiki/Master_boot_record
+#. Rufus can install it's own custom MBR (the Rufus MBR), which also allows users to
+#. specify a custom disk ID for the BIOS. The tooltip for this control is MSG_167.
+msgid "Use Rufus MBR with BIOS ID"
+msgstr "Използвай Rufus MBR с BIOS ID"
#. • IDD_DIALOG → IDS_FORMAT_OPTIONS_TXT
msgid "Format Options"
@@ -207,7 +209,7 @@ msgid ""
"To continue with this operation, click OK. To quit click CANCEL."
msgstr ""
"ВНИМАНИЕ: ВСИЧКАТА ИНФОРМАЦИЯ НА УСТРОЙСТВО '%s' ЩЕ БЪДЕ УНИЩОЖЕНА.\n"
-"За да продължите с тази операция, натиснете OK. За да я прекратите, натиснете ОТКАЖИ."
+"За да продължите с тази операция, натиснете OK. За да я прекратите, натиснете CANCEL."
#. • MSG_004
msgid "Rufus update policy"
@@ -308,7 +310,7 @@ msgstr "ТБ"
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr "ПБ"
@@ -551,7 +553,7 @@ msgstr "Неподдържан образ"
#. • MSG_082
msgid "This image is either non-bootable, or it uses a boot or compression method that is not supported by Rufus..."
-msgstr "Този образ не е зареждащ или използва зареждащ или компресиращ метод който не се поддържа от Rufus..."
+msgstr "Този образ не е зареждащ или използва зареждащ или компресиращ метод който не се поддържа от Rufus.."
#. • MSG_083
msgid "Replace %s?"
@@ -573,9 +575,9 @@ msgstr ""
"Поради тази причина стартиращите менюта може да не бъдат изобразени правилно.\n"
"\n"
"По-нова версия може да бъде изтеглена от Rufus, за да отстрани този проблем:\n"
-"- Изберете 'Да', за да се свържете с интернет и да изтеглите необходимият файл\n"
-"- Изберете 'Не', за да продължите с настоящият ISO файл\n"
-"Ако не знаете какво да правите, е препоръчително да изберете 'Да'.\n"
+"- Изберете 'Yes', за да се свържете с интернет и да изтеглите необходимият файл\n"
+"- Изберете 'No', за да продължите с настоящият ISO файл\n"
+"Ако не знаете какво да правите, е препоръчително да изберете 'Yes'.\n"
"\n"
"Бележка: Този файл ще бъде изтеглен в настоящата директория и щом '%s' е наличен, процесът ще продължи автоматично."
@@ -700,8 +702,8 @@ msgstr ""
"Тъй като този файл е повече от 100 KB в размер и винаги присъства на %s ISO образи, той не е включен в Rufus.\n"
"\n"
"Rufus може да изтегли липсващият файл за вас:\n"
-"- Изберете 'Да', за да се свържете с интернет и да изтеглите файла\n"
-"- Изберете 'Не', ако искате ръчно да копирате този файл\n"
+"- Изберете 'Yes', за да се свържете с интернет и да изтеглите файла\n"
+"- Изберете 'No', ако искате ръчно да копирате този файл\n"
"\n"
"Бележка: Този файл ще бъде изтеглен в настоящата директория и щом '%s' е наличен, процесът ще продължи автоматично."
@@ -767,8 +769,8 @@ msgstr ""
"Този образ използва Syslinux %s%s, но тази програма включва само инсталационни файлове за Syslinux %s%s.\n"
"\n"
"Тъй като новите версии на Syslinux не са съвместими една с друга и няма да е възможно Rufus да ги включи всичките, два допълнителни файла трябва да бъдат изтеглени от Интернет ('ldlinux.sys' и 'ldlinux.bss'):\n"
-"- Изберете 'Да', за да се свържете с интернет и да изтеглите тези файлове\n"
-"- Изберете 'Не', за да прекратите тази операция\n"
+"- Изберете 'Yes', за да се свържете с интернет и да изтеглите тези файлове\n"
+"- Изберете 'No', за да прекратите тази операция\n"
"\n"
"Бележка: Тези файлове ще бъдат изтеглени в настоящата директория на програмата и ще бъдат използвани автоматично щом са налични."
@@ -793,9 +795,9 @@ msgstr ""
"Този образ използва GRUB %s Но приложението съдържа само инсталацйонните файлове за GRUB %s.\n"
"\n"
" Тъй като различните версии на GRUB може да не са съвместими една с друга и не е възможно да се включат всички, Rufus ще опита да намери версия на GRUB инсталационният файл ('core.img'), който съвпада с този от вашият образ: \n"
-"- Изберете 'Да', за да се свържете с интернет и да я изтеглите\n"
-"- Изберете 'Не', за да използвате версията по подразбиране на Rufus\n"
-"- Изберете 'Откажи', за да прекратите операцията\n"
+"- Изберете 'Yes', за да се свържете с интернет и да я изтеглите\n"
+"- Изберете 'No', за да използвате версията по подразбиране на Rufus\n"
+"- Изберете 'Cancel', за да прекратите операцията\n"
"\n"
"Забележка: Файлът ще бъде изтеглен в настоящата директория и ще бъде използван автоматично, щом е наличен. Ако не е намерено съвпадение, ще бъде използвана версията по подразбиране."
@@ -846,7 +848,7 @@ msgstr "Без устойчивост"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Задайте размера на устойчивия дял за \"живото\" USB устройство. Ако го зададете на 0, устойчивия дял ще бъде изключен."
@@ -888,17 +890,17 @@ msgstr "Друга програма или процес използва тов
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus установи, че се опитвате да създадете носител с \"Windows To Go\", базиран на ISO с версия 1809.\n"
+"Rufus забеляза, че се опитвате да създадете носител с \"Windows To Go\", базиран на 1809 ISO.\n"
"\n"
-"Поради *БЪГ НА MICROSOFT*, този носител ще крашне при зареждане на Windows (Син екран на смъртта), освен ако не замените ръчно файла 'WppRecorder.sys' с версията от 1803.\n"
+"Поради *MICROSOFT BUG*, този носител ще крашне при зареждане на Windows (Син екран на смъртта), ако не замените ръчно файла 'WppRecorder.sys' със същия от версия 1803.\n"
"\n"
-"Забележка: Rufus не може автоматично да поправи това, тъй като файлът 'WppRecorder.sys' е обект на авторско право на Microsoft и не можем законно да включим копие от него в приложението..."
+"Забележка: Rufus не може автоматично да поправи това, защото файлът 'WppRecorder.sys' е запазен с авторско право от Microsoft, поради което не можем да съхраняваме легално копие на този файл в програмата..."
#. • MSG_134
msgid ""
@@ -1041,8 +1043,16 @@ msgid "Check this box to allow the display of international labels and set a dev
msgstr "Сложете тази отметка за да разрешите показването на интернационални етикети и да зададете икона на устройството (създава autorun.inf)"
#. • MSG_167
-msgid "Install a UEFI bootloader, that will perform MD5Sum file validation of the media"
-msgstr "Инсталиране на UEFI bootloader, който извършва MD5 проверка на файловете на носителя"
+msgid "Install an MBR that allows boot selection and can masquerade the BIOS USB drive ID"
+msgstr "Инсталира MBR, който позволява избор на операционна система и може да маскира BIOS USB устройствения ИД"
+
+#. • MSG_168
+msgid ""
+"Try to masquerade first bootable USB drive (usually 0x80) as a different disk.\n"
+"This should only be necessary if you install Windows XP and have more than one disk."
+msgstr ""
+"Опитва да маскираш първото USB устройство(обикновено 0x80) като различен диск.\n"
+"Това би трябвало да е необходимо само ако инсталирате Windows XP и имате повече от един диск."
#. • MSG_169
msgid ""
@@ -1085,7 +1095,7 @@ msgstr "Версия %d.%d (Build %d)"
#. • MSG_176
msgid "English translation: Pete Batard "
-msgstr "Български превод:\\line• Krasimir Nevenov \\line• Kaloyan Nikolov \\line• Niko "
+msgstr "Български превод:\\line• Krasimir Nevenov \\line• Kaloyan Nikolov "
#. • MSG_177
msgid "Report bugs or request enhancements at:"
@@ -1724,7 +1734,7 @@ msgstr "Бързо нулиране на устройството: %s"
#. • MSG_307
msgid "this may take a while"
-msgstr "това може да отнеме време"
+msgstr "Това може да отнеме време"
#. • MSG_308
msgid "VHD detection"
@@ -1796,14 +1806,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Неуспешно отваряне или прочитане на '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Прилагане на SkuSiPolicy.p7b по време на инсталация (вж. KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Подобрения за улеснение (без принудително активиране на Copilot, OneDrive, Outlook, Fast Startup и др.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Прилагане на персонализации на Windows: %s"
@@ -1852,194 +1854,6 @@ msgstr "Изключване на автоматичното криптиран
msgid "Persistent log"
msgstr "Устойчив лог"
-#. • MSG_337
-msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
-"- Select 'Yes' to connect to the Internet and download it\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"За да използвате тази функция, трябва да бъде изтеглен допълнителен файл ('%s') от Microsoft:\n"
-"- Изберете 'Да', за да се свържете с интернет и да го изтеглите\n"
-"- Изберете 'Не', за да отмените операцията\n"
-"\n"
-"Забележка: Файлът ще бъде изтеглен в директорията на приложението и ще бъде използван повторно автоматично, ако вече е наличен."
-
-#. • MSG_338
-msgid "Revoked UEFI bootloader detected"
-msgstr "Открит е анулиран UEFI bootloader"
-
-#. • MSG_339
-msgid ""
-"Rufus detected that the ISO you have selected contains a UEFI bootloader that has been revoked and that will produce %s, when Secure Boot is enabled on a fully up to date UEFI system.\n"
-"\n"
-"- If you obtained this ISO image from a non reputable source, you should consider the possibility that it might contain UEFI malware and avoid booting from it.\n"
-"- If you obtained it from a trusted source, you should try to locate a more up to date version, that will not produce this warning."
-msgstr ""
-"Rufus откри, че избраният ISO образ съдържа UEFI bootloader, който е анулиран и който ще доведе до %s, когато Secure Boot е активиран на напълно актуална UEFI система.\n"
-"\n"
-"- Ако сте получили този ISO образ от ненадежден източник, трябва да обмислите възможността той да съдържа UEFI зловреден софтуер и да избягвате зареждане от него.\n"
-"- Ако сте го получили от доверен източник, трябва да потърсите по-нова версия, която няма да предизвиква това предупреждение."
-
-#. • MSG_340
-msgid "a \"Security Violation\" screen"
-msgstr "екран \"Security Violation\""
-
-#. • MSG_341
-msgid "a Windows Recovery Screen (BSOD) with '%s'"
-msgstr "Windows Recovery екран (BSOD) с '%s'"
-
-#. • MSG_342
-msgid "Compressed VHDX Image"
-msgstr "Компресиран VHDX образ"
-
-#. • MSG_343
-msgid "Uncompressed VHD Image"
-msgstr "Некомпресиран VHD образ"
-
-#. • MSG_344
-msgid "Full Flash Update Image"
-msgstr "Full Flash Update образ"
-
-#. • MSG_345
-msgid ""
-"Some additional data must be downloaded from Microsoft to use this functionality:\n"
-"- Select 'Yes' to connect to the Internet and download it\n"
-"- Select 'No' to cancel the operation"
-msgstr ""
-"За да използвате тази функционалност, трябва да бъдат изтеглени допълнителни данни от Microsoft:\n"
-"- Изберете 'Да', за да се свържете с интернет и да ги изтеглите\n"
-"- Изберете 'Не', за да отмените операцията"
-
-#. • MSG_346
-msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
-msgstr "Ограничаване на Windows до S режим (НЕСЪВМЕСТИМО с заобикаляне на онлайн акаунт)"
-
-#. • MSG_347
-msgid "Expert Mode"
-msgstr "Експертен режим"
-
-#. • MSG_348
-msgid "Extracting archive files: %s"
-msgstr "Извличане на файлове от архив: %s"
-
-#. • MSG_349
-msgid "Use Rufus MBR"
-msgstr "Използване на MBR на Rufus"
-
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Използване на подписани с 'Windows CA 2023' bootloader-и (изисква съвместим целеви компютър)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Проверка за анулирани UEFI bootloader-и..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Проверка за актуализации на UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Налична е актуализация на DBX"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus откри актуализирана версия на DBX файловете, използвани за проверка на анулирани UEFI Secure Boot заредители. Желаете ли да изтеглите тази актуализация?\n"
-"- Изберете 'Да', за да се свържете с интернет и да изтеглите това съдържание\n"
-"- Изберете 'Не', за да отмените операцията\n"
-"\n"
-"Забележка: Файловете ще бъдат изтеглени в директорията на приложението и ще бъдат използвани повторно автоматично, ако са налични."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠ТИХО⚠ изтриване на диска и инсталиране:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Избрахте опцията за \"тиха\" инсталация на Windows.\n"
-"\n"
-"Това е разширена настройка, предназначена за потребители, които желаят да създадат носител, който не изисква намеса по време на инсталацията и съответно БЕЗУСЛОВНО ИЗТРИВА първия открит диск на целевата система. Ако не бъдете внимателни, използването на тази опция може да доведе до НЕВЪЗВРАТИМА ЗАГУБА НА ДАННИ!\n"
-"\n"
-"Ако не желаете това, моля, изберете 'Не', за да се върнете назад и да премахнете отметката от тази опция.\n"
-"В противен случай, избирайки 'Да', вие се съгласявате, че цялата отговорност за всякаква загуба на данни ще бъде ИЗЦЯЛО ВАША."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Неподдържано местоположение на образа"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Не можете да използвате образ, който се намира върху целевото устройство, тъй като това устройство ще бъде напълно изтрито. Това е същото като да се опитвате да отрежете клона, на който седите!\n"
-"\n"
-"Моля, преместете образа на друго място и опитайте отново."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Безопасно е да оставите тази опция включена, дори ако имате TPM или повече RAM, тъй като тя само заобикаля изискванията на инсталатора и не пречи на Windows да използва целия наличен хардуер."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "За да работи тази опция, мрежата/интернет ТРЯБВА да бъдат прекъснати по време на инсталацията!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Автоматично отговаряне с 'не' на въпросите от инсталацията на Windows, свързани със споделянето на данни с Microsoft, вместо да се изисква намеса от потребителя."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Трябва да оставите тази опция включена, освен ако нямате нищо против 'Windows To Go' да осъществява достъп до вътрешните дискове и тихомълком да извършва невъзвратими ъпгрейди на файловата система."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Автоматично създаване на локален акаунт с указаното потребителско име, използвайки празна парола, която ще трябва да бъде променена при следващото влизане."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Дублиране на регионалните настройки от този компютър (клавиатура, часова зона, валута), вместо да се изисква намеса от потребителя."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Системният диск да не се криптира, освен ако това не е изрично поискано от потребителя."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Използвайте тази опция само ако знаете какво е S режим и разбирате, че системата ви може да остане заключена в S режим дори след като напълно изтриете и преинсталирате Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Използвайте тази опция, ако системата, на която планирате да инсталирате Windows, използва напълно актуални сертификати за Secure Boot. Ако е необходимо, можете да проучите възможността за използване на 'Mosby' за актуализиране на вашата система."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Използвайте тази опция, ако желаете да анулирате допълнителни потенциално опасни Windows bootloader-и, но с риск това да попречи на зареждането и на стандартни инсталационни носители на Windows."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Подобрения за по-лесна работа: Изключване на повечето нежелани функции, които Microsoft се опитва да наложи на потребителите."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Ако използвате тази опция, моля, уверете се, че сте изключили всеки диск от целевия компютър, освен този, на който искате да инсталирате Windows, както и че не сте оставили носителя включен в компютър, който не желаете да бъде изтрит."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/cs-CZ.po b/res/loc/po/cs-CZ.po
index 68f1bffa..1bdb367f 100644
--- a/res/loc/po/cs-CZ.po
+++ b/res/loc/po/cs-CZ.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-23 18:33+0000\n"
-"PO-Revision-Date: 2026-03-23 18:33+0000\n"
+"POT-Creation-Date: 2024-04-25 20:58+0200\n"
+"PO-Revision-Date: 2024-04-25 21:23+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: cs_CZ\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Czech (Čeština)\n"
"X-Rufus-LCID: 0x0405\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -310,7 +310,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -395,7 +395,7 @@ msgstr "Zařízení USB (Obecné)"
#. • MSG_046
msgid "%s (Disk %d) [%s]"
-msgstr ""
+msgstr "%s (Disk %d) [%s]"
#. • MSG_047
#.
@@ -848,7 +848,7 @@ msgstr "Ne trvalý"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Nastavte velikost trvalého oddílu pro živá média USB. Nastavení velikosti 0 zakáže trvalý oddíl."
@@ -890,17 +890,17 @@ msgstr "K tomuto disku přistupuje jiný program nebo proces. Chcete ho přesto
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus zjistil, že se pokoušíte vytvořit médium „Windows To Go“ založené na 1809 ISO.\n"
+"Rufus zjistil, že se pokoušíte vytvořit Windows To Go médií založené na 1809 ISO.\n"
"\n"
-"Kvůli chybě *MICROSOFT BUG* dojde k pádu tohoto média během spouštění systému Windows (modrá obrazovka smrti), pokud ručně nenahradíte soubor 'WppRecorder.sys' verzí 1803..\n"
+"Vzhledem k tomu, že *MICROSOFT BUG*, toto médium se při spouštění systému Windows zhroutí (Blue Screen), pokud soubor „WppRecorder.sys“ ručně nenahradíte verzí 1803.\n"
"\n"
-"Všimněte si také, že důvod, proč to Rufus nemůže automaticky opravit za vás, je ten, že „WppRecorder.sys“ je soubor chráněný autorským právem společnosti Microsoft, takže nemůžeme legálně vložit kopii souboru do aplikace..."
+"Důvodem proč Rufus nemůže automaticky opravit, je, že soubor „WppRecorder.sys“ je souborem chráněným autorskými právy společnosti Microsoft, takže nemůžeme legálně vložit kopii souboru do aplikace..."
#. • MSG_134
msgid ""
@@ -1557,7 +1557,7 @@ msgid ""
"Please select the mode that you want to use to write this image:"
msgstr ""
"Obráz, který jste si vybrali, je obraz 'ISO Hybrid'. To znamená, že může být zapsán buď v %s (kopírování souborů) v režimu %s (obraz disku) režim.\n"
-"Rufus doporučuje použití %s režim, pokud je plný přístup k jednotce pro zápis.\n"
+"Rufus doporučuje použití %s režim, pokud je plný přístu k jednotce pro zápis.\n"
"Pokud narazíte na problémy při startu, můžete zkusit zapsat tento obraz znovu %s režim.\n"
"\n"
"Vyberte režim, který chcete použít k zapsání tohoto obrázu:"
@@ -1799,14 +1799,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Nelze otevřít nebo přečíst soubor '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Při instalaci použijte SkuSiPolicy.p7b (viz KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL vylepšení (neinstaluje Copilota, OneDrive, Outlook, rychlé spuštění atd.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Použití přizpůsobení systému Windows: %s"
@@ -1857,17 +1849,17 @@ msgstr "Trvalý protokol"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Další soubor ('%s') je nutné stáhnout ze stránek společnosti Microsoft, aby bylo možné tuto funkci používat:\n"
-"- Výběrem možnosti \"Ano\" se připojíte k Internetu a stáhnete ji.\n"
+"Pro instalaci systému MS-DOS je nutné stáhnout další soubor ('diskcopy.dll') od společnosti Microsoft:\n"
+"- Vyberte 'Ano' pro připojení k internetu a stažení\n"
"- Výběrem možnosti \"Ne\" operaci zrušíte\n"
"\n"
-"Poznámka: Soubor bude stažen do adresáře aplikace a bude automaticky znovu použit, pokud je přítomen.."
+"Poznámka: Soubor bude stažen do adresáře aplikace a bude automaticky znovu použit, pokud je přítomen."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1931,118 +1923,6 @@ msgstr "Rozbalení archivních souborů: %s"
msgid "Use Rufus MBR"
msgstr "Použijte Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Použití zavaděčů s podpisem \"Windows CA 2023\" (vyžaduje kompatibilní cílový počítač)."
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Kontrola zrušení zavaděče UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Kontrola aktualizací UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX aktualizace k dispozici"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus našel aktualizovanou verzi souborů DBX používaných k provádění kontrol odvolání UEFI Secure Boot. Chcete stáhnout tuto aktualizaci?\n"
-"- Chcete-li se připojit k Internetu a stáhnout tento obsah, vyberte možnost \"Ano\".\n"
-"- Výběrem možnosti \"Ne\" operaci zrušíte\n"
-"\n"
-"Poznámka: Soubory budou staženy do adresáře aplikace a budou automaticky znovu použity, pokud jsou k dispozici."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠TICHÁ⚠ vymazat disk a nainstalovat:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Zvolili jste použití možnosti \"tichá“ instalace systému Windows.\n"
-"\n"
-"Toto je pokročilá možnost vyhrazená pro uživatele, kteří chtějí vytvořit médium, jež během instalace Windows uživatele nevyzve k potvrzení a BEZPODMÍNEČNĚ VYMAŽE první detekovaný disk v cílovém systému. Pokud si nedáte pozor, použití této volby může mít za následek NEVRATNOU ZTRÁTU VŠECH DAT!\n"
-"\n"
-"Pokud to není to, co chcete, vyberte 'Ne' pro návrat zpět a zrušte zaškrtnutí této možnosti.\n"
-"V opačném případě, pokud zvolíte \"Ano, souhlasíte s tím, že veškerou odpovědnost za případnou ztrátu dat ponesete VY."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Nepodporované umístění obrázku"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Nemůžete použít obraz umístěný na cílové jednotce, protože tato jednotka bude zcela vymazána. Je to stejné, jako když se snažíte uříznout větev, na které sedíte!\n"
-"\n"
-"Přesuňte prosím obrázek na jiné místo a zkuste to znovu."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Je bezpečné ponechat tuto možnost povolenou i v případě, že máte TPM nebo více RAM, protože tato možnost pouze obchází požadavky na nastavení a ve skutečnosti nebrání systému Windows používat veškerý dostupný hardware."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Aby tato možnost fungovala, MUSÍ být během instalace odpojena síť/internet!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automaticky odpovídat 'ne' na otázky nastavení systému Windows týkající se sdílení dat se společností Microsoft namísto dotazování uživatele."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Tuto možnost byste měli ponechat povolenou, pokud vám nevadí, že 'Windows To Go' přistupuje k interním diskům a tiše provádí nevratné aktualizace souborového systému."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automaticky vytvořit místní účet se zadaným uživatelským jménem, s prázdným heslem, které bude nutné změnit při příštím přihlášení."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Převzít místní nastavení z tohoto počítače (klávesnice, časové pásmo, měna) bez nutnosti zásahu uživatele."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Nešifrovat systémový disk bez výslovného požadavku uživatele."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Tuto možnost použijte pouze v případě, že víte, co je S-Mode, a chápete, že váš systém může být uzamčen v S-Mode i po úplném vymazání a přeinstalaci systému Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Tuto možnost použijte, pokud systém, do kterého plánujete nainstalovat systém Windows, používá plně aktuální certifikáty Secure Boot. V případě potřeby se můžete podívat na možnost aktualizace systému pomocí nástroje Mosby = More Secure Secure Boot."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Tuto možnost použijte, pokud chcete odebrat další potenciálně nebezpečné zavaděče systému Windows, které však mohou zabránit i zavádění standardních médií systému Windows."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Vylepšení komfortu uživatele\" vylepšení: Zakázat většinu nežádoucích funkcí, které se Microsoft snaží vnucovat koncovým uživatelům."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Pokud použijete tuto možnost, ujistěte se, že jste od cílového počítače odpojili všechny disky kromě toho, na který chcete nainstalovat systém Windows, a nenechávejte médium připojené k žádnému počítači, který nechcete vymazat."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/da-DK.po b/res/loc/po/da-DK.po
index 0cac8cb1..7ab4e046 100644
--- a/res/loc/po/da-DK.po
+++ b/res/loc/po/da-DK.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-06 21.43+0200\n"
-"PO-Revision-Date: 2026-04-06 22:38+0200\n"
+"POT-Creation-Date: 2024-04-25 13:41-0700\n"
+"PO-Revision-Date: 2024-04-25 14:34-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: da_DK\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Danish (Dansk)\n"
"X-Rufus-LCID: 0x0406\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -309,7 +309,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -847,7 +847,7 @@ msgstr "Ingen partition"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Indstil størrelsen for den vedvarende partition til live USB media. Ved at vælge størrelsen 0 slår man den vedvarende partition fra."
@@ -889,13 +889,13 @@ msgstr "Et andet program eller en proces er i gang med at tilgå dette drev. Vil
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus har opdaget, at du forsøger at oprette et Windows To Go medie baseret på en 1809 ISO.\n"
+"Rufus har opdaget, at du forsøger at oprette et Windows To Go medie baseret på en 1908 ISO.\n"
"\n"
"På grund af en *MICROSOFT BUG* vil dette medie fejle under Windows boot (Blue Screen of Death) medmindre du manuelt erstatter filen 'WppRecorder.sys' med en 1803-version.\n"
"\n"
@@ -1798,14 +1798,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Ude af stand til at åbne eller læse '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Påfør SkuSiPolicy.p7b efter installationen (Se KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Livskvalitets forbedringer (Ikke påtving Copilot, OneDrive, Outlook, Fast Startup, osv.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Anvender Windows tilpasninger : %s"
@@ -1856,13 +1848,13 @@ msgstr "Vedvarende log"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"En yderligere fil ('%s') skal downloades fra Microsoft for at bruge denne funktion:\n"
+"En ekstra fil ('diskcopy.dll') skal hentes fra Microsoft for at installere MS-DOS:\n"
"- Vælg 'Ja' for at tilslutte til internettet og hente den\n"
"- Vælg 'Nej' for at afbryde operationen\n"
"\n"
@@ -1930,118 +1922,6 @@ msgstr "Udpakker arkiv filer: %s"
msgid "Use Rufus MBR"
msgstr "Brug Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Brug 'Windows CA 2023' signerede bootloaders (Kræver en kompatibel PC)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Tjekker for UEFI bootloader tilbagekaldelse..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Tjekker for UEFI DBX opdateringer..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX opdatering tilgængelig"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus har fundet en opdateret version af DBX filerne som bruges til at udføre UEFI Secure Boot tilbagekaldelses tjek. Vil du hente denne opdatering?\n"
-"- Vælg 'Ja' for at forbinde til internettet og hente disse filer\n"
-"- Vælg 'Nej' for at afbryde operationen\n"
-"\n"
-"Note: Filerne vil blive hentet i programmets mappe og vil blive genbrugt automatisk hvis tilstede."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠STILLE⚠ slet disk og installer:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Du har valgt at bruge den \"stille\" Windows installations valgmulighed.\n"
-"\n"
-"Dette er en advanceret valgmulighed, som er reserveret for personer som vil lave et media som ikke prompter brugeren under Windows installationen, og vil derfor UBETINGET SLETTE den første disk som er opdaget på systemet. Hvis du ikke er forsigtig, så kan denne valgmulighed resultere i UOPRETTELIG DATA TAB!\n"
-"\n"
-"Hvis dette ikke er noget du vil have, så vælg 'Nej' for at gå tilbage og fravælge denne valgmulighed.\n"
-"Ellers, hvis du vælger 'Ja', er du enig i at alt ansvaret for enhver data tab ligger på DIG."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Billedeplaceringen er ikke understøttet"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Du kan ikke bruge et billed som er placeret på det valgte drev, da drevet vil blive fuldstændig slettet. Det er som at save i den græn man sidder på!\n"
-"\n"
-"Vær venlig at flytte billedet til en anden placering og prøv igen."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Det er sikkert at have denne indstilling slået til, selv hvis du har en TPM eller mere RAM, da denne valgmulighed kun springer setup kravene over, og forhindre ikke Windows i at bruge alt tilgængelig hardware."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "For at denne indstilling virker, SKAL netværk/internettet slåes fra under installationen!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automatisk svar 'nej' til alle spørgsmål under Windows opsætningen som vedrører at dele data med Microsoft, i stedet for at prompte brugeren."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Du bør lade denne indstilling være aktiveret, med mindre du er okay med at 'Windows To Go' tilgår de interne diske og udføre uoprettelig fil systems opgraderinger lydløst."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automatisk opret en local burger, med det specificerede brugernavn, med en tom adganskode som skal laves om næste gang der logges ind."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Dupliker de regionale indstillinger fra denne PC (tastatur, tidszone, valuta), i stedet for at prompte brugeren."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Krypter ikke system disken, med mindre brugeren specifikt har bedt om det."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Brug denne indstilling hvis du ved hvad S-Mode er, og forstår at dit system muligvis bliver låst fast i S-Mode, selv efter en komplet sletning og reinstallering af Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Brug denne indstilling hvis det system du har planlagt at installere Windows på, har fuldt opdateret Secure Boot certifikater. Om nødvendigt, kan du se på at bruge 'Mosby' til at opdatere dit system."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Brug denne instilling hvis du vil tilbagekalde yderligere potentielt usikre Windows bootloaders, men med risiko for at forhindre normale Windows medier fra at boote."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Livskvalitets\" forbedringer: Deaktiver de fleste uønskede funktioner Microsoft prøver at tvinge slutbrugerne til at bruge."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Hvis du burger denne indstilling, sørg for at alle diske, på nær den som du vil installere Windows på er frakoblet, og ikke lade mediet side i en PC du ikke vil slette."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/de-DE.po b/res/loc/po/de-DE.po
index 83b7a3d8..9a6ab983 100644
--- a/res/loc/po/de-DE.po
+++ b/res/loc/po/de-DE.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-31 16:34+0100\n"
-"PO-Revision-Date: 2026-03-31 16:34+0100\n"
+"POT-Creation-Date: 2024-04-26 11:11+0200\n"
+"PO-Revision-Date: 2024-04-26 11:48+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de_DE\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: German (Deutsch)\n"
"X-Rufus-LCID: 0x0407, 0x0807, 0x0c07, 0x1007, 0x1407\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -846,7 +846,7 @@ msgstr "Keine Persistenz"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Größe der persistenten Partition des Live-USB-Systems. Eine Größe von 0 deaktiviert die Persistenz."
@@ -867,7 +867,7 @@ msgid ""
"You have just created a media that uses the UEFI:NTFS bootloader. Please remember that, to boot this media, YOU MUST DISABLE SECURE BOOT.\n"
"For details on why this is necessary, see the 'More Information' button below."
msgstr ""
-"Sie haben gerade ein Medium erstellt, welches das UEFI:NTFS-Startprogramm verwendet. Bitte denken Sie daran, dass Sie zum Starten dieses Mediums SECURE BOOT DEAKTIVIEREN müssen.\n"
+"Sie haben gerade ein Medium erstellt, das den UEFI:NTFS-Bootloader verwendet. Bitte denken Sie daran, dass Sie zum Starten dieses Mediums SECURE BOOT DEAKTIVIEREN müssen.\n"
"Nach dem Abschluss des Vorgangs sollten Sie SECURE BOOT wieder aktivieren.\n"
"Weitere Informationen, warum dies notwendig ist, finden Sie über die Schaltfläche \"Weitere Informationen\"."
@@ -889,7 +889,7 @@ msgstr "Ein anderer Prozess bzw. ein anderes Programm verwendet das Laufwerk ger
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1039,11 +1039,11 @@ msgstr "Image-Datei oder Download auswählen..."
#. • MSG_166
msgid "Check this box to allow the display of international labels and set a device icon (creates an autorun.inf)"
-msgstr "Wählen Sie diese Option, um die Anzeige internationaler Bezeichnungen zu ermöglichen und ein Gerätesymbol zu erzeugen (autorun.inf)."
+msgstr "Wählen Sie diese Option, um die Anzeige internationaler Bezeichnungen zu ermöglichen und ein Gerätesymbol zu erzeugen (autorun.inf)"
#. • MSG_167
msgid "Install a UEFI bootloader, that will perform MD5Sum file validation of the media"
-msgstr "Ein UEFI-Startprogramm installieren, das eine MD5Sum-Dateiüberprüfung auf dem Datenträger durchführt"
+msgstr "Ein UEFI Startprogramm installieren, das eine MD5Sum Dateiüberprüfung auf dem Datenträger durchführt"
#. • MSG_169
msgid ""
@@ -1181,7 +1181,7 @@ msgid ""
"Conventional drives use a 512-byte sector size but this drive uses a %d-byte one. In many cases, this means that you will NOT be able to boot from this drive.\n"
"Rufus can try to create a bootable drive, but there is NO WARRANTY that it will work."
msgstr ""
-"WICHTIG: DIESES LAUFWERK HAT EINE NICHT STANDARDISIERTE SEKTORGRÖẞE!\n"
+"WICHTIG: DIESES LAUFWERK HAT EINE NICHT STANDARDISIERTE SEKTORGRÖSSE!\n"
"\n"
"Herkömmliche Laufwerke nutzen eine Sektorgröße von 512 Byte, aber dieses Laufwerk nutzt %d Byte. Höchstwahrscheinlich können Sie von diesem Laufwerk NICHT starten.\n"
"Rufus kann versuchen, ein startfähiges Laufwerk zu erstellen, aber es gibt KEINE GARANTIE, dass es funktionieren wird."
@@ -1431,7 +1431,7 @@ msgstr "Es wurde keine neue Version von Rufus gefunden"
#. • MSG_248
msgid "Application registry keys successfully deleted"
-msgstr "Anwendungseinstellungen in der Registrierdatenbank erfolgreich gelöscht"
+msgstr "Anwendungeinstellungen in der Registrierdatenbank erfolgreich gelöscht"
#. • MSG_249
msgid "Failed to delete application registry keys"
@@ -1740,13 +1740,13 @@ msgid ""
"\n"
"Please select the mode that you want to use to write this image:"
msgstr ""
-"Das ausgewählte ISO-Image verwendet UEFI und ist klein genug, um auf eine EFI-Systempartition (ESP) geschrieben zu werden. Es auf eine ESP anstelle einer normalen Partition zu schreiben, die die gesamte Festplatte belegt, kann für bestimmte Installationsarten vorteilhaft sein.\n"
+"Das ausgewählte ISO-Image verwendet UEFI und ist klein genug, um auf eine EFI System-Partition (ESP) geschrieben zu werden. Es auf eine ESP- anstelle einer normalen Partition zu schrieben, kann für bestimmte Installationsarten vorteilhaft sein.\n"
"\n"
"Bitte wählen Sie einen Modus aus:"
#. • MSG_311
msgid "Use %s (in the main application window) to enable."
-msgstr "Verwende %s (Hauptfenster der Anwendung) zum Aktivieren."
+msgstr "Verwende %s (Hauptfenster der Anwendung) zum aktivieren."
#. • MSG_312
msgid "Extra hashes (SHA512)"
@@ -1789,24 +1789,16 @@ msgid ""
"The image you have selected is an ISOHybrid, but its creators have not made it compatible with ISO/File copy mode.\n"
"As a result, DD image writing mode will be enforced."
msgstr ""
-"Das ausgewählte Image ist vom Typ ISOHybrid, aber der Ersteller hat es nicht mit dem ISO/Dateikopiermodus kompatibel gemacht.\n"
+"Das ausgewählte Image ist vom Typ ISOHybrid, aber der Ersteller hat es nicht mit dem ISO/Datei Kopier-Modus kompatibel gemacht.\n"
"Deswegen wird der DD-Schreibmodus verwendet."
#. • MSG_322
msgid "Unable to open or read '%s'"
-msgstr "'%s' kann nicht geöffnet/gelesen werden"
-
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "SkuSiPolicy.p7b auf Installation anwenden. (Siehe KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Komfort-Einstellungen (Copilot, OneDrive, Outlook und Schnellstart nicht aktivieren)"
+msgstr "'%' kann nicht geöffnet/gelesen werden"
#. • MSG_325
msgid "Applying Windows customization: %s"
-msgstr "Windows-Anpassungen anwenden: %s"
+msgstr "Windows Anpassungen anwenden: %s"
#. • MSG_326
msgid "Applying user options..."
@@ -1814,7 +1806,7 @@ msgstr "Benutzereinstellungen anwenden..."
#. • MSG_327
msgid "Windows User Experience"
-msgstr "Windows-Benutzererfahrung"
+msgstr "Windows Benutzererfahrung"
#. • MSG_328
msgid "Customize Windows installation?"
@@ -1826,7 +1818,7 @@ msgstr "Anforderung für 4GB+ RAM, Secure Boot und TPM 2.0 entfernen"
#. • MSG_330
msgid "Remove requirement for an online Microsoft account"
-msgstr "Anforderung für Online-Microsoft-Konto entfernen"
+msgstr "Anforderung für Online Microsoft Konto entfernen"
#. • MSG_331
msgid "Disable data collection (Skip privacy questions)"
@@ -1854,21 +1846,21 @@ msgstr "Dauerhaftes Protokoll"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Eine zusätzliche Datei ('%s') muss von Microsoft heruntergeladen werden, um diese Funktion zu nutzen:\n"
-"- Wählen Sie 'Ja', um eine Verbindung mit dem Internet herzustellen und die Datei herunterzuladen\n"
-"- Wählen Sie 'Nein', um den Vorgang abzubrechen\n"
+"Eine zusätzliche Datei ('diskcopy.dll') muss von Microsoft heruntergeladen werden um MS-DOS zu installieren:\n"
+"- 'Ja' um eine Verbindung mit dem Internet herzustellen und die Datei herunterzuladen\n"
+"- 'Nein' um den Vorgang abzubrechen\n"
"\n"
"Hinweis: Die Datei wird ins Programmverzeichnis heruntergeladen und bei Bedarf wiederverwendet."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
-msgstr "Zurückgezogenes UEFI-Startprogramm erkannt"
+msgstr "Zurückgezogenes UEFI Startprogramm erkannt"
#. • MSG_339
msgid ""
@@ -1877,10 +1869,10 @@ msgid ""
"- If you obtained this ISO image from a non reputable source, you should consider the possibility that it might contain UEFI malware and avoid booting from it.\n"
"- If you obtained it from a trusted source, you should try to locate a more up to date version, that will not produce this warning."
msgstr ""
-"Rufus hat erkannt, dass das gewählte ISO-Image ein UEFI-Startprogramm enthält, das zurückgezogen wurde. Das führt zu %s, wenn das UEFI-System aktuell ist und Secure Boot aktiv ist.\n"
+"Rufus hat erkannt, dass das gewählte ISO-Image ein UEFI-Startprogramm enthält, dass zurückgezogen wurde und das führt zu %s, wenn das UEFI-System aktuell ist und Secure Boot aktiv ist.\n"
"\n"
"- Wenn Sie das ISO-Image aus einer unzuverlässigen Quelle haben, sollten Sie in Betracht ziehen, dass es UEFI-Schadcode enthält und es deshalb nicht verwenden.\n"
-"- Wenn Sie es aus einer vertrauenswürdigen Quelle haben, sollten Sie versuchen, eine aktuellere Version zu bekommen, die dieses Problem nicht hat."
+"- Wenn Sie es aus einer vertrauenswürdigen Quelle haben, sollten Sie versuchen eine aktuellere Version zu bekommen, die dieses problem nicht hat."
#. • MSG_340
msgid "a \"Security Violation\" screen"
@@ -1888,19 +1880,19 @@ msgstr "ein Bildschirm \"Sicherheitsverletzung\""
#. • MSG_341
msgid "a Windows Recovery Screen (BSOD) with '%s'"
-msgstr "ein Windows-Wiederherstellungsbildschirm (BSOD) mit '%s'"
+msgstr "ein Windows Wiederherstellung-Bildschirm (BSOD) mit '%s'"
#. • MSG_342
msgid "Compressed VHDX Image"
-msgstr "Komprimiertes VHDX-Image"
+msgstr "Komprimiertes VHDX Image"
#. • MSG_343
msgid "Uncompressed VHD Image"
-msgstr "Unkomprimiertes VHD-Image"
+msgstr "Unkomprimiertes VHD Image"
#. • MSG_344
msgid "Full Flash Update Image"
-msgstr "Vollständiges Flash-Update-Image"
+msgstr "Full Flash Update Image"
#. • MSG_345
msgid ""
@@ -1909,8 +1901,8 @@ msgid ""
"- Select 'No' to cancel the operation"
msgstr ""
"Einige weitere Daten müssen von Microsoft heruntergeladen werden, um diese Funktion zu verwenden:\n"
-"- Wählen Sie 'Ja', um eine Verbindung mit dem Internet herzustellen und diese herunterzuladen\n"
-"- Wählen Sie 'Nein', um den Vorgang abzubrechen"
+"- 'Ja' um eine Verbindung mit dem Internet herzustellen und diese herunterzuladen\n"
+"- 'Nein' um den Vorgang abzubrechen"
#. • MSG_346
msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
@@ -1918,135 +1910,21 @@ msgstr "Windows im S-Modus (nicht kompatibel mit Online Konto-Umgehung)"
#. • MSG_347
msgid "Expert Mode"
-msgstr "Expertenmodus"
+msgstr "Experten-Modus"
#. • MSG_348
msgid "Extracting archive files: %s"
-msgstr "Archivdatei extrahieren: %s"
+msgstr "Archiv-Datei extrahieren: %s"
#. • MSG_349
msgid "Use Rufus MBR"
msgstr "Rufus MBR verwenden"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Den \"Windows CA 2023\" signierten Bootloader verwenden. Ein kompatibler Computer ist erforderlich!"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Auf gesperrte UEFI-Bootloader prüfen..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Prüfe auf UEFI DBX-Aktualisierungen..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX-Update verfügbar"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus hat eine aktualisierte Version der DBX-Dateien gefunden, die für die Überprüfung der UEFI-Secure-Boot-Widerrufsstatus verwendet werden. Möchten Sie dieses Update herunterladen?\n"
-"- Wählen Sie „Ja“, um eine Verbindung zum Internet herzustellen und diesen Inhalt herunterzuladen.\n"
-"- Wählen Sie „Nein“, um den Vorgang abzubrechen.\n"
-"\n"
-"Hinweis: Die Dateien werden in das Verzeichnis der Anwendung heruntergeladen und bei Vorhandensein automatisch wiederverwendet.\n"
-"\n"
-"Übersetzt mit DeepL.com (kostenlose Version)"
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠AUTOMATISCH⚠ Laufwerk löschen und installieren:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Sie haben die „automatische“ Windows-Installationsoption ausgewählt.\n"
-"\n"
-"Dies ist eine Option für Fortgeschrittene, die für Benutzer gedacht ist, die ein Installationsmedium erstellen möchten, das den Benutzer während der Windows-Installation nicht auffordert, Eingaben vorzunehmen, und daher die erste erkannte Festplatte auf dem Zielsystem AUTOMATISCH LÖSCHT. Wenn Sie nicht vorsichtig sind, kann die Verwendung dieser Option zu UNWIDERRUFLICHEM DATENVERLUST führen!\n"
-"\n"
-"Wenn Sie dies nicht wollen, wählen Sie bitte „Nein“, um zurückzugehen und die Option zu deaktivieren.\n"
-"Andernfalls erklären Sie sich mit der Auswahl von „Ja“ damit einverstanden, dass die gesamte Verantwortung für etwaige Datenverluste ausschließlich bei IHNEN liegt."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Nicht unterstützter Abbild-Standort"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Sie können kein Image verwenden, das sich auf dem Ziellaufwerk befindet, da dieses Laufwerk vollständig gelöscht wird. Das ist so, als würde man versuchen, den Ast abzusägen, auf dem man sitzt!\n"
-"\n"
-"Bitte verschieben Sie das Image an einen anderen Speicherort und versuchen Sie es erneut."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Sie können diese Option aktiviert lassen, auch wenn Sie über ein TPM oder mehr Arbeitsspeicher verfügen, da diese Option lediglich die Installationsanforderungen umgeht und Windows nicht daran hindert, die gesamte verfügbare Hardware zu nutzen."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Damit diese Option funktioniert, MUSS die Netzwerk-/Internetverbindung während der Installation unterbrochen sein!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Beantwortet die Fragen des Windows-Setups bezüglich der Weitergabe von Daten an Microsoft automatisch mit „Nein“, anstatt den Benutzer dazu aufzufordern."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Sie sollten diese Option aktiviert lassen, es sei denn, Sie haben nichts dagegen, dass „Windows To Go“ auf interne Festplatten zugreift und im Hintergrund irreversible Dateisystem-Upgrades durchführt."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Erstellt automatisch ein lokales Konto mit dem angegebenen Benutzernamen und einem leeren Passwort, das bei der nächsten Anmeldung geändert werden muss."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Die regionalen Einstellungen dieses PCs (Tastatur, Zeitzone, Währung) übernehmen, anstatt den Benutzer dazu aufzufordern."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Nicht die Systemfestplatte verschlüsseln, es sei denn, der Benutzer wünscht dies ausdrücklich."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Verwenden Sie diese Option nur, wenn Sie wissen, was der S-Modus ist, und sich darüber im Klaren sind, dass Ihr System möglicherweise auch nach einer vollständigen Löschung und Neuinstallation von Windows im S-Modus verbleibt."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Verwenden Sie diese Option, wenn das System, auf dem Sie Windows installieren möchten, über vollständig aktuelle Secure-Boot-Zertifikate verfügt. Bei Bedarf können Sie die Verwendung von „Mosby“ in Betracht ziehen, um Ihr System zu aktualisieren."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Verwenden Sie diese Option, wenn Sie weitere potenziell unsichere Windows-Bootloader deaktivieren möchten, wobei jedoch die Möglichkeit besteht, dass auch Standard-Windows-Datenträger nicht mehr booten."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Komfort-Funktion: Deaktiviert die meisten unerwünschten Funktionen, die Microsoft den Endnutzern aufzuzwingen versucht."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Wenn Sie diese Option verwenden, stellen Sie bitte sicher, dass Sie alle Festplatten vom Ziel-PC trennen, mit Ausnahme derjenigen, auf der Sie Windows installieren möchten, und dass Sie den Datenträger nicht in einem PC stecken lassen, den Sie nicht löschen möchten."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
msgid "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
-msgstr "Rufus ist ein Werkzeug, das beim Formatieren und Erstellen bootfähiger USB-Flash-Laufwerke wie USB-Sticks, Speichersticks usw. hilft."
+msgstr "Rufus ist ein Werkzeug, welches dabei hilft, bootfähige USB-Laufwerke zu erstellen, wie beispielweise USB-Keys, Speichersticks usw."
#. • MSG_901
msgid "Official site: %s"
@@ -2089,7 +1967,7 @@ msgstr "FreeDOS-bootfähige USB-Laufwerke erstellen"
#. • MSG_912
msgid "Create bootable drives from bootable ISOs (Windows, Linux, etc.)"
-msgstr "Erstellen bootfähiger Laufwerke aus bootfähigen ISOs (Windows, Linux etc.)"
+msgstr "Erstellen bootfähiger Laufwerke aus bootfähigen ISOs (Windows, Linux, etc.)"
#. • MSG_913
msgid "Create bootable drives from bootable disk images, including compressed ones"
@@ -2101,7 +1979,7 @@ msgstr "Erstellen von BIOS- oder UEFI-bootfähigen Laufwerken, einschließlich U
#. • MSG_915
msgid "Create 'Windows To Go' drives"
-msgstr "Erstellen von 'Windows To Go'-Laufwerken"
+msgstr "Erstellen von \"Windows To Go\"-Laufwerken"
#. • MSG_916
msgid "Create Windows 11 installation drives for PCs that don't have TPM or Secure Boot"
@@ -2117,7 +1995,7 @@ msgstr "VHD/DD-Images des ausgewählten Laufwerks erstellen"
#. • MSG_919
msgid "Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of the selected image"
-msgstr "Berechnung von MD5-, SHA-1-, SHA-256- und SHA-512-Prüfsummen für das ausgewählte Image"
+msgstr "Berechnung von MD5-, SHA-1-, SHA-256- und SHA-512-Prüfsummen für das ausgewählte Bild"
#. • MSG_920
msgid "Perform bad blocks checks, including detection of \"fake\" flash drives"
diff --git a/res/loc/po/el-GR.po b/res/loc/po/el-GR.po
index 4d2f7224..b42b11f0 100644
--- a/res/loc/po/el-GR.po
+++ b/res/loc/po/el-GR.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-06 20:42-0700\n"
-"PO-Revision-Date: 2026-04-06 21:30-0700\n"
+"POT-Creation-Date: 2024-05-09 12:52+0300\n"
+"PO-Revision-Date: 2024-05-09 13:07+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: el_GR\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Greek (Ελληνικά)\n"
"X-Rufus-LCID: 0x0408\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -115,7 +115,7 @@ msgstr "Άδεια χρήσης"
#. • IDD_ABOUTBOX → IDOK
msgid "OK"
-msgstr ""
+msgstr "OK"
#. • IDD_LICENSE → IDD_LICENSE
msgid "Rufus License"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -843,7 +843,7 @@ msgstr "Ανενεργό"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Ορίστε το μέγεθος του μόνιμου διαμερίσματος για USB με δυνατότητα εκκίνησης. Η ρύθμιση του μεγέθους σε 0 απενεργοποιεί το μόνιμο διαμέρισμα."
@@ -885,17 +885,17 @@ msgstr "Ένα άλλο πρόγραμμα ή διαδικασία έχει πρ
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Το Rufus εντόπισε ότι προσπαθείτε να δημιουργήσετε ένα μέσο \"Windows To Go\" με βάση ένα ISO 1809.\n"
+"Το Rufus έχει εντοπίσει ότι προσπαθείτε να δημιουργήσετε ένα μέσο Windows To Go βάσει ενός ISO 1809.\n"
"\n"
-"Λόγω ενός *ΣΦΑΛΜΑΤΟΣ ΤΗΣ MICROSOFT*, αυτό το μέσο θα παρουσιάσει σφάλμα κατά την εκκίνηση των Windows (Blue Screen of Death), εκτός εάν αντικαταστήσετε χειροκίνητα το αρχείο \"WppRecorder.sys\" με μια έκδοση 1803.\n"
+"Λόγω ενός * MICROSOFT BUG *, αυτό το μέσο θα καταρρεύσει κατά την εκκίνηση των Windows (Blue Screen Of Death), εκτός αν αλλάξετε με το χέρι το αρχείο 'WppRecorder.sys' με εκδοχή 1803.\n"
"\n"
-"Σημειώστε επίσης ότι ο λόγος για τον οποίο ο Rufus δεν μπορεί να διορθώσει αυτόματα αυτό το πρόβλημα για εσάς είναι ότι το \"WppRecorder.sys\" είναι ένα αρχείο που προστατεύεται από πνευματικά δικαιώματα της Microsoft, επομένως δεν μπορούμε να ενσωματώσουμε νόμιμα ένα αντίγραφο του αρχείου στην εφαρμογή..."
+"Επίσης, σημειώστε ότι ο λόγος για τον οποίο ο Rufus δεν μπορεί να διορθώσει αυτόματα αυτό για εσάς είναι ότι το \"WppRecorder.sys\" είναι αρχείο Microsoft που προστατεύεται από πνευματικά δικαιώματα, επομένως δεν μπορούμε να ενσωματώσουμε νόμιμα ένα αντίγραφο του αρχείου στην εφαρμογή ..."
#. • MSG_134
msgid ""
@@ -1792,14 +1792,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Δεν είναι δυνατό το άνοιγμα ή η ανάγνωση του '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Εφαρμογή SkuSiPolicy.p7b κατά την εγκατάσταση (Δείτε KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Βελτιώσεις QoL (χωρίς υποχρεωτική επιβολή του Copilot, του OneDrive, του Outlook, Fast Startup κ.λπ.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Εφαρμογή προσαρμογής των Windows: %s"
@@ -1850,17 +1842,17 @@ msgstr "Διατήρηση log"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Πρέπει να κατεβάσετε ένα επιπλέον αρχείο ('%s') από τη Microsoft για να χρησιμοποιηθεί αυτή η λειτουργία:\n"
-"-Επιλέξτε «Ναι» για να συνδεθείτε στο Internet και να το κατεβάσετε\n"
-"-Επιλέξτε «Όχι» για να ακυρώσετε τη λειτουργία\n"
+"Πρέπει να γίνει λήψη ενός πρόσθετου αρχείου ('diskcopy.dll') από τη Microsoft για να εγκαταστήσετε το MS-DOS:\n"
+"- Επιλέξτε 'Ναι' για να συνδεθείτε στο Internet και να το κατεβάσετε\n"
+"- Επιλέξτε 'Όχι' για να ακυρώσετε τη λειτουργία\n"
"\n"
-"Σημείωση: Το αρχείο θα κατέβει στον φάκελο της εφαρμογής και θα χρησιμοποιείται ξανά αυτόματα αν υπάρχει."
+"Σημείωση: Το αρχείο θα ληφθεί στον κατάλογο της εφαρμογής και θα επαναχρησιμοποιηθεί αυτόματα εάν υπάρχει."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1896,7 +1888,7 @@ msgstr "Μη συμπιεσμένη εικόνα VHDX"
#. • MSG_344
msgid "Full Flash Update Image"
-msgstr ""
+msgstr "Full Flash Update Image"
#. • MSG_345
msgid ""
@@ -1924,118 +1916,6 @@ msgstr "Εξαγωγή αρχείων: %s"
msgid "Use Rufus MBR"
msgstr "Χρησιμοποίηση του Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Χρησιμοποιήστε bootloader υπογεγραμμένα με «Windows CA 2023» (Απαιτεί συμβατό υπολογιστή)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Έλεγχος για ανάκληση UEFI bootloader..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Έλεγχος για ενημερώσεις UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Διαθέσιμη ενημέρωση DBX"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Το Rufus εντόπισε μια ενημερωμένη έκδοση των αρχείων DBX που χρησιμοποιούνται για την εκτέλεση ελέγχων ανάκλησης UEFI Secure Boot. Θέλετε να κάνετε λήψη αυτής της ενημέρωσης;\n"
-"- Επιλέξτε 'Ναι' για να συνδεθείτε στο Διαδίκτυο και να κατεβάσετε αυτό το περιεχόμενο\n"
-"- Επιλέξτε 'Όχι' για να ακυρώσετε τη λειτουργία\n"
-"\n"
-"Σημείωση: Τα αρχεία θα ληφθούν στον κατάλογο της εφαρμογής και θα επαναχρησιμοποιηθούν αυτόματα, εάν υπάρχουν."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠ΣΙΩΠΗΛΑ⚠ διαγραφή δίσκου και εγκατάσταση:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Έχετε επιλέξει να χρησιμοποιήσετε την επιλογή \"αθόρυβης\" εγκατάστασης των Windows.\n"
-"\n"
-"Αυτή είναι μια προηγμένη επιλογή, που προορίζεται για άτομα που θέλουν να δημιουργήσουν μέσα που δεν ενημερώνουν τον χρήστη κατά την εγκατάσταση των Windows και επομένως ΔΙΑΓΡΑΦΟΥΝ ΑΝΕΥ ΟΡΩΝ τον πρώτο δίσκο που ανιχνεύεται στο σύστημα-στόχο. Εάν δεν είστε προσεκτικοί, η χρήση αυτής της επιλογής μπορεί να οδηγήσει σε ΜΗ ΑΝΑΣΤΡΕΨΙΜΗ ΑΠΩΛΕΙΑ ΔΕΔΟΜΕΝΩΝ!\n"
-"\n"
-"Εάν αυτό δεν είναι αυτό που θέλετε, επιλέξτε \"Όχι\" για να επιστρέψετε και καταργήστε την επιλογή της επιλογής.\n"
-"Διαφορετικά, εάν επιλέξετε \"Ναι\", συμφωνείτε ότι ολόκληρη η ευθύνη για οποιαδήποτε απώλεια δεδομένων θα βαρύνει αποκλειστικά ΕΣΑΣ."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Μη υποστηριζόμενη τοποθεσία εικόνας"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Δεν μπορείτε να χρησιμοποιήσετε μια εικόνα που βρίσκεται στη μονάδα δίσκου προορισμού, καθώς αυτή η μονάδα δίσκου θα διαγραφεί εντελώς. Είναι το ίδιο με το να προσπαθείτε να κόψετε το κλαδί στο οποίο βρίσκεστε!\n"
-"\n"
-"Μετακινήστε την εικόνα σε διαφορετική θέση και προσπαθήστε ξανά."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Είναι ασφαλές να αφήσετε αυτήν την επιλογή ενεργοποιημένη ακόμα κι αν έχετε TPM ή περισσότερη μνήμη RAM, καθώς αυτή η επιλογή παρακάμπτει μόνο τις απαιτήσεις εγκατάστασης και δεν εμποδίζει στην πραγματικότητα τα Windows να χρησιμοποιούν όλο το διαθέσιμο υλικό."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Για να λειτουργήσει αυτή η επιλογή, ΠΡΕΠΕΙ να έχετε αποσυνδέσει το δίκτυο/Internet κατά την εγκατάσταση!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Απαντήστε αυτόματα με «όχι» στις ερωτήσεις εγκατάστασης των Windows σχετικά με την κοινή χρήση δεδομένων με τη Microsoft, αντί να ζητήσετε από τον χρήστη να απαντήσει."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Θα πρέπει να αφήσετε αυτήν την επιλογή ενεργοποιημένη, εκτός εάν συμφωνείτε με την πρόσβαση των \"Windows To Go\" στους εσωτερικούς δίσκους και την αθόρυβη εκτέλεση μη αναστρέψιμων αναβαθμίσεων συστήματος αρχείων."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Δημιουργήστε αυτόματα έναν τοπικό λογαριασμό με το καθορισμένο όνομα χρήστη, χρησιμοποιώντας έναν κενό κωδικό πρόσβασης που θα πρέπει να αλλάξει στην επόμενη σύνδεση."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Αντιγράψτε τις ρυθμίσεις περιοχής από αυτόν τον υπολογιστή (πληκτρολόγιο, ζώνη ώρας, νόμισμα) αντί να ζητηθεί από τον χρήστη."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Μην κρυπτογραφείτε τον δίσκο συστήματος, εκτός εάν σας το ζητήσει ρητά ο χρήστης."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Χρησιμοποιήστε αυτήν την επιλογή μόνο εάν γνωρίζετε τι είναι η λειτουργία S-Mode και κατανοείτε ότι το σύστημά σας ενδέχεται να είναι κλειδωμένο σε αυτήν ακόμα και μετά την πλήρη διαγραφή και επανεγκατάσταση των Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Χρησιμοποιήστε αυτήν την επιλογή εάν το σύστημα στο οποίο σκοπεύετε να εγκαταστήσετε τα Windows χρησιμοποιεί πλήρως ενημερωμένα πιστοποιητικά Secure Boot. Εάν χρειάζεται, μπορείτε να εξετάσετε το ενδεχόμενο χρήσης του 'Mosby' για την ενημέρωση του συστήματός σας."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Χρησιμοποιήστε αυτήν την επιλογή εάν θέλετε να ανακαλέσετε επιπλέον ενδεχομένως μη ασφαλή προγράμματα εκκίνησης των Windows, αλλά με την πιθανότητα να αποτρέψετε και την εκκίνηση τυπικών μέσων των Windows."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Βελτιώσεις «ποιότητας ζωής»: Απενεργοποιήστε τις περισσότερες ανεπιθύμητες λειτουργίες που η Microsoft προσπαθεί να επιβάλλει στους χρήστες."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Εάν χρησιμοποιήσετε αυτήν την επιλογή, βεβαιωθείτε ότι έχετε αποσυνδέσει κάθε δίσκο από τον υπολογιστή, εκτός από αυτόν στον οποίο θέλετε να εγκαταστήσετε τα Windows, και μην αφήνετε το μέσο συνδεδεμένο σε κάποιο υπολογιστή που δεν θέλετε να διαγράψετε."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/es-ES.po b/res/loc/po/es-ES.po
index 6f3d5b3e..3dfb16cb 100644
--- a/res/loc/po/es-ES.po
+++ b/res/loc/po/es-ES.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-07 17:57-0300\n"
-"PO-Revision-Date: 2026-04-07 18:56-0300\n"
+"POT-Creation-Date: 2024-05-09 12:54-0300\n"
+"PO-Revision-Date: 2024-05-09 12:58-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es_ES\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Spanish (Español)\n"
"X-Rufus-LCID: 0x040a, 0x080a, 0x0c0a, 0x100a, 0x140a, 0x180a, 0x1c0a, 0x200a, 0x240a, 0x280a, 0x2c0a, 0x300a, 0x340a, 0x380a, 0x3c0a, 0x400a, 0x440a, 0x480a, 0x4c0a, 0x500a, 0x540a, 0x580a\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -849,7 +849,7 @@ msgstr "No persistente"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Establece el tamaño de la partición persistente para el medio USB autoarrancable. Estableciendo un valor 0 deshabilita la partición persistente."
@@ -891,17 +891,17 @@ msgstr "Otro programa o proceso está accediendo a esta unidad. ¿Deseas formate
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus ha detectado que estás intentando crear un medio Windows To Go basado en la ISO 1809.\n"
+"Rufus ha detectado que estás intentando crear un medio en Windows To Go basado en la ISO 1809.\n"
"\n"
-"Debido a un *FALLO DE MICROSOFT*, este medio se bloqueará durante el arranque de Windows (Pantalla Azul de la Muerte), a menos que reemplaces manualmente el archivo 'WppRecorder.sys' con la versión 1803.\n"
+"Debido a un *FALLO DE MICROSOFT*, este medio no arrancará al iniciar Windows (Pantallazo Azul de la Muerte), a no ser que manualmente reemplaces el fichero 'WppRecorder.sys' con la versión 1803.\n"
"\n"
-"Ten en cuenta que el motivo por el que Rufus no puede corregir esto automáticamente es que 'WppRecorder.sys' es un archivo con derechos de autor de Microsoft, por lo que legalmente no podemos incluir una copia en la aplicación..."
+"Ten en cuenta que el motivo por el que Rufus no puede arreglar esto automáticamente es debido a que el fichero 'WppRecorder.sys' es un fichero con copyright, por lo que legalmente no podemos añadir una copia del fichero en la aplicación..."
#. • MSG_134
msgid ""
@@ -1798,14 +1798,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "No se puede abrir o leer '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Aplicar SkuSiPolicy.p7b durante la instalación (ver KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Mejoras \"QoL\" (no forzar Copilot, OneDrive, Outlook, Inicio rápido, etc.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Aplicando personalización de Windows: %s"
@@ -1856,17 +1848,17 @@ msgstr "Registro persistente"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Se debe descargar un archivo adicional ('%s') de Microsoft para usar esta función:\n"
+"Se debe descargar un archivo adicional ('diskcopy.dll') de Microsoft para instalar MS-DOS:\n"
"- Seleccione 'Sí' para conectarse a Internet y descargarlo\n"
-"- Seleccione 'No' para cancelar la operación\n"
+"- Seleccione 'No' para cancelar la operación.\n"
"\n"
-"Nota: El archivo se descargará en la carpeta de la aplicación y se reutilizará automáticamente si está presente."
+"Nota: El archivo se descargará en el directorio de la aplicación y se reutilizará automáticamente si está presente."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1930,118 +1922,6 @@ msgstr "Extrayendo archivos comprimidos: %s"
msgid "Use Rufus MBR"
msgstr "Utilice Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Usar cargadores de arranque firmados con 'Windows CA 2023' (requiere una PC de destino compatible)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Comprobando la revocación del cargador de arranque UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Comprobando actualizaciones de UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Actualización de DBX disponible"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus ha encontrado una versión actualizada de los archivos DBX utilizados para realizar comprobaciones de revocación de Secure Boot en UEFI. ¿Desea descargar esta actualización?\n"
-"- Seleccione 'Sí' para conectarse a Internet y descargar este contenido\n"
-"- Seleccione 'No' para cancelar la operación\n"
-"\n"
-"Nota: Los archivos se descargarán en la carpeta de la aplicación y se reutilizarán automáticamente si están presentes."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠EN SILENCIO⚠ borrar el disco e instalar:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Ha seleccionado usar la opción de instalación \"silenciosa\" de Windows.\n"
-"\n"
-"Esta es una opción avanzada, reservada para personas que desean crear un medio que no solicite interacción del usuario durante la instalación de Windows y que, por lo tanto, BORRA INCONDICIONALMENTE el primer disco detectado en el sistema de destino. Si no tiene cuidado, usar esta opción puede resultar en UNA PÉRDIDA DE DATOS IRREVERSIBLE.\n"
-"\n"
-"Si esto no es lo que desea, seleccione 'No' para volver atrás y desmarcar la opción.\n"
-"De lo contrario, si selecciona 'Sí', usted acepta que toda la responsabilidad por cualquier pérdida de datos recaerá únicamente en USTED."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Ubicación de imagen no compatible"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"No puede usar una imagen que esté ubicada en la unidad de destino, ya que esa unidad va a ser completamente borrada. Es lo mismo que intentar serrar la rama en la que está sentado.\n"
-"\n"
-"Por favor, mueva la imagen a una ubicación diferente e inténtelo de nuevo."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Es seguro dejar esta opción habilitada incluso si tiene un TPM o más memoria RAM, ya que esta opción solo omite los requisitos de instalación y no impide que Windows utilice todo el hardware disponible."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Para que esta opción funcione, la red/Internet DEBE estar desconectada durante la instalación."
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Responder automáticamente 'No' a las preguntas de instalación de Windows relacionadas con el uso compartido de datos con Microsoft, en lugar de solicitárselo al usuario."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Debe dejar esta opción habilitada, a menos que esté de acuerdo con que 'Windows To Go' acceda a los discos internos y realice en silencio actualizaciones irreversibles del sistema de archivos."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Crear automáticamente una cuenta local con el nombre de usuario especificado, utilizando una contraseña vacía que deberá cambiarse en el próximo inicio de sesión."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Duplicar la configuración regional de esta PC (teclado, zona horaria, moneda), en lugar de solicitársela al usuario."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "No cifrar el disco del sistema, a menos que el usuario lo solicite explícitamente."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Use esta opción solo si sabe qué es el Modo S y entiende que su sistema puede quedar bloqueado en Modo S incluso después de borrar completamente e reinstalar Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Use esta opción si el sistema en el que planea instalar Windows utiliza certificados de Secure Boot completamente actualizados. Si es necesario, puede considerar usar 'Mosby' para actualizar su sistema."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Use esta opción si desea revocar cargadores de arranque adicionales de Windows que puedan ser inseguros, pero con la posibilidad de que también se impida que los medios estándar de Windows arranquen."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Mejoras de \"Calidad de Vida\": Deshabilitar la mayoría de las funciones no deseadas que Microsoft intenta imponer a los usuarios finales."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Si usa esta opción, asegúrese de desconectar todos los discos de la PC de destino, excepto aquel en el que desea instalar Windows, así como de no dejar el medio conectado en ninguna PC que no desee borrar."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/fa-IR.po b/res/loc/po/fa-IR.po
index 591021df..d140165e 100644
--- a/res/loc/po/fa-IR.po
+++ b/res/loc/po/fa-IR.po
@@ -1,10 +1,10 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-22 07:20+0300\n"
-"PO-Revision-Date: 2026-04-09 21:48+0330\n"
-"Last-Translator: \n"
+"POT-Creation-Date: 2024-04-29 19:24+0300\n"
+"PO-Revision-Date: 2024-04-29 20:25+0330\n"
+"Last-Translator: MasterVito \n"
"Language-Team: \n"
"Language: fa_IR\n"
"MIME-Version: 1.0\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Persian (پارسی)\n"
"X-Rufus-LCID: 0x0429\n"
-"X-Generator: Poedit 3.8\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -319,7 +319,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -858,7 +858,7 @@ msgstr "غیرفعال"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "برای ایجاد live USB با قابلیت ذخیرهسازی اطلاعات، اندازه پارتیشن پایدار را تعیین کنید. در این حالت، اطلاعات با راهاندازی مجدد (ریست) از بین نخواهد رفت. برای غیرفعال کردن عدد صفر (۰) را وارد کنید."
@@ -900,15 +900,15 @@ msgstr "برنامه دیگری در حال استفاده از این درای
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
"Rufus تشخیص داده است که شما میخواهید با ISO ورژن 1809 درایوی با قابلیت «Windows To Go» ایجاد کنید.\n"
-"به دلیل باگی که شرکت مایکروسافت در این مورد دارد؛ در هنگام راهاندازی ویندوز به خطای «Blue Screen Of Death» برخورد خواهید کرد. برای رفع این مشکل میتوانید فایل 'WppRecorder.sys' را با ورژن 1803 جایگزین کنید.\n"
-"همچنین در نظر داشته باشید به دلیل اینکه حق نشر فایل 'WppRecorder.sys' برای مایکروسافت است؛ Rufus نمیتواند به صورت خودکار این مشکل را برای شما برطرف کند و این فایل را در برنامه خود قرار دهد."
+"به دلیل باگی که شرکت مایکروسافت در این مورد دارد؛ در هنگام راهاندازی ویندوز به خطای «Blue Screen Of Death» خواهید خورد. برای رفع این مشکل میتوانید فایل 'WppRecorder.sys' را با ورژن 1803 جایگزین کنید.\n"
+"همچنین در نظر داشته باشید به دلیل اینکه کپیرایت فایل 'WppRecorder.sys' برای مایکروسافت است؛ Rufus نمیتواند به صورت خودکار این مشکل را برای شما برطرف کند و این فایل را در برنامه خود قرار دهد."
#. • MSG_134
msgid ""
@@ -1094,7 +1094,7 @@ msgstr "نسخه %d.%d (Build %d)"
#. • MSG_176
msgid "English translation: Pete Batard "
-msgstr "ترجمه فارسی:\\line •روبی \\line •ضیاءالدین عظیمی "
+msgstr "ترجمه فارسی:\\line •سید عرفان \\line •ضیاءالدین عظیمی "
#. • MSG_177
msgid "Report bugs or request enhancements at:"
@@ -1800,14 +1800,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "باز کردن یا خواندن %s ممکن نیست"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "اعمال کردن SkuSiPolicy.p7b در هنگام نصب کردن (نگاه کردن به KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "بهبود های QoL (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "اعمال سفارشی سازی ویندوز: %s"
@@ -1858,17 +1850,17 @@ msgstr "لیست مداوم"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"برای استفاده از این ویژگی، باید یک فایل اضافی ('%s') از مایکروسافت دانلود شود:\n"
+"فایل دیگری ('diskcopy.dll:) نیاز است دانلود شود از مایکروسافت برای نصب MS-DOS:\n"
"- انتخاب :'بله' برای وصل شدن به اینترنت و دانلود آن\n"
"- انتخاب 'نه' برای کنسل کردن این کار\n"
"\n"
-"نکته: فایل در مکان نرم افزار دانلود میشود و درصورت نیاز دوباره استفاده خواهد شد."
+"نکته: فایل در مکان نرم افزار دانلود میشود و دوباره استفاده میشود درصورت انجام مجدد این کار."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1930,119 +1922,6 @@ msgstr "استراج کردن فایل های آرشیو: %s"
msgid "Use Rufus MBR"
msgstr "استفاده از Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "استفاده از بوتلودر امضا شده 'Windows CA 2023' (نیازمند به یک کامپیوتر سازگار است)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "درحال بررسی برای بوتلودر UEFI باطل."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "درحال بررسی بروزرسانی برای UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "آپدیت DBX موجود است"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus یک نسخه بروزرسانی شده از فایل های DBX که در ابطال بررسی های UEFI Secure Boot استفاده میشوند پیدا کرده است, آیا میخواهید این بروزرسانی را بارگیری کنید؟ \n"
-"- انتخاب 'بله' برای وصل شدن به اینترنت و دانلود آن\n"
-"- انتخاب 'نه' برای کنسل این عملیات\n"
-"\n"
-"نکته: فایل در مکان نرم افزار دانلود میشود و درصورت نیاز دوباره استفاده خواهد شد."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠مخفیانه⚠ دیسک را پاک کن و نصب کن:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"شما انتخاب کردهاید که از گزینه نصب ویندوز «مخفیانه» استفاده کنید.\n"
-"\n"
-"این یک گزینه پیشرفته است که برای افرادی در نظر گرفته شده است که میخواهند مدیا ایجاد کنند که در حین نصب ویندوز به کاربر اطلاع ندهد و بنابراین بدون قید و شرط اولین دیسک شناسایی شده روی سیستم هدف را پاک کند. اگر مراقب نباشید، استفاده از این گزینه میتواند منجر به از دست رفتن غیرقابل برگشت داده ها شود!\n"
-"\n"
-"اگر این چیزی نیست که میخواهید، لطفاً برای بازگشت و برداشتن تیک گزینه، «خیر» را انتخاب کنید.\n"
-"\n"
-"در غیر این صورت، اگر «بله» را انتخاب کنید، موافقید که تمام مسئولیت هرگونه از دست رفتن داده ها کاملاً بر عهده شما خواهد بود."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "محل پشتیبانی نشده ایمیج (Image)"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"شما نمیتوانید از این ایمیج که در درایو موردنظر است استفاده کنید. زیرا این درایو قرار است کاملا پاک شود, مثل این میماند که میخواهید شاخه درختی که بر روی آن نشسته اید را ببرید! \n"
-"\n"
-"لطفا ایمیج را به یه محل دیگه منتقل کنید و دوباره تلاش کنید."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "روشن گزاشتن این گزینه امن است زیرا حتی اگر TPM و یا RAM بیشتر داشته باشید, زیرا که این گزینه فقط باعث دور زدن الزامات نصب میباشد و باعث جلوگیری ویندوز از استفاده نکردن از تمامی سخت افزار موجود نمیشود."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "برای اینکه این گزینه کار کند, باید اینترنت/شبکه در هنگام نصب قطع باشد!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "بصورت خودکار به سوالات ارسال داده به مایکروسافت 'نه' بگو, بجای اینکه از کاربر درخواست کنی."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "شما باید این گزینه را فعال بگزارید, مگراینکه میخواهید 'Windows To Go' به دیسک داخلی دسترسی داشته باشد و بصورت مخفیانه بروزرسانی غیرقابل برگشت در File System انجام دهد."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "به طور خودکار یک حساب محلی با نام کاربری مشخص شده ایجاد میکند، با استفاده از یک رمز عبور خالی که باید در ورود بعدی تغییر کند."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "تنظیمات منطقه ای را از همین کامپیوتر (کیبورد, وقت منطقه ای, واحد پول), بجای اینکه از کاربر پرسیده شود."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "هارد سیستم را رمزگزاری نکن, مگر اینکه کاربر صریحاً درخواست کرده باشد."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "از این گزینه فقط در صورتی که میدانید S-Mode چیست و میدانید که ممکن است سیستم شما در حالت S-Mode قفل شود حتی بعد از اینکه شما کاملا ویندوز را پاک و دوباره نصب کردید استفاده کنید."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "از این گزینه درصورتی استفاده کنید که سیستمی که میخواهید بر روی آن ویندوز نصب کنید از آخرین گواهینامه های Secure Boot دارا است, درصورت نیاز, میتواند با استفاده از 'Mosby' سیستم خود را بروزرسانی کنید."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "از این گزینه فقط درصورتی که میخواهید بوتلودر های ناامن ویندوز را لغو کنید, اما با پتانسیل جلوگیری از بوت شدن ویندوز مدیا استاندارد."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Quality of Life\""
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "اگر میخواهید از این گزینه استفاده کنید, لطفا تمامی دیسک ها از کامپیوتر موردنظر قطع کنید, بجز آنکه میخواهید ویندوز را در آن نصب کنید, و همچنین فلش را به کامپیوتری که نمیخواهید اطلاعاتش پاک شود، متصل نگذارید."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/fi-FI.po b/res/loc/po/fi-FI.po
index 958f4ebc..48ef3427 100644
--- a/res/loc/po/fi-FI.po
+++ b/res/loc/po/fi-FI.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-19 21:57+0300\n"
-"PO-Revision-Date: 2026-04-19 23:58+0300\n"
+"POT-Creation-Date: 2024-05-14 12:47+0300\n"
+"PO-Revision-Date: 2024-05-14 14:07+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fi_FI\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Finnish (Suomi)\n"
"X-Rufus-LCID: 0x040B\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -846,7 +846,7 @@ msgstr "Ei pysyvää osiota"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Aseta pysyvän osion koko 'live USB' -tietovälineitä varten. Koon asettaminen arvoon 0 poistaa pysyvän osion käytöstä."
@@ -888,17 +888,17 @@ msgstr "Jokin toinen ohjelma tai prosessi käyttää tätä levyä parhaillaan.
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus on havainnut, että yrität luoda 'Windows To Go' -tietovälinettä joka pohjautuu 1809 ISO-levykuvaan.\n"
+"Rufus on havainnut, että yrität luoda Windows to Go -tietovälinettä joka pohjautuu 1809 ISO-levykuvaan.\n"
"\n"
-"*MICROSOFTIN OHJELMOINTIVIRHEEN* vuoksi tämä tietoväline kaatuu Windowsin käynnistyksen aikana (keskeytysvirhe), ellet manuaalisesti korvaa 'WppRecorder.sys' -tiedostoa 1803-versiolla.\n"
+"*MICROSOFTIN OHJELMOINTIVIRHEEN* vuoksi tämä tietoväline kaatuu Windowsin käynnistyksen aikana (Blue Screen Of Death), ellet manuaalisesti korvaa 'WppRecorder.sys' -tiedostoa 1803-versiolla.\n"
"\n"
-"Huomaathan, että 'WppRecorder.sys' on Microsoftin tekijänoikeudellinen tiedosto. Rufus ei voi automaattisesti korjata tätä virhettä, sillä emme voi tarjota kyseistä tiedostoa sovelluksen kautta lakiteknisistä syistä..."
+"Huomaathan, että 'WppRecorder.sys' on Microsoftin tekijänoikeudellinen tiedosto ja täten Rufus ei voi automaattisesti korjata tätä virhettä, sillä emme voi tarjota kyseistä tiedostoa sovelluksemme kautta lakiteknisistä syistä..."
#. • MSG_134
msgid ""
@@ -1795,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Ei voitu avata tai lukea kohdetta '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Ota käyttöön SkuSiPolicy.p7b-käytäntö asennuksen yhteydessä (Katso KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL-parannukset (Älä pakota ominaisuuksia Copilot, OneDrive, Outlook, Fast Startup jne.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Asetetaan Windowsin mukautusasetuksia: %s"
@@ -1853,17 +1845,17 @@ msgstr "Pysyvä lokitiedosto"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Tämän ominaisuuden käyttö vaatii Microsoftilta ladattavan lisätiedoston ('%s'):\n"
+"Uusi tiedosto ('diskcopy.dll') on ladattava Microsoftilta MS-DOSin asennusta varten:\n"
"- Valitse 'Kyllä' yhdistääksesi internetiin ja ladataksesi sen\n"
"- Valitse 'Ei' peruuttaaksesi toiminnon\n"
"\n"
-"Huomio: Tiedosto ladataan sovelluskansioon ja sitä voidaan uudelleenkäyttää automaattisesti."
+"Huomio: Tiedosto ladataan sovelluksen kansioon ja sitä uudelleenkäytetään automaattisesti, jos se on jo olemassa."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1913,7 +1905,7 @@ msgstr ""
#. • MSG_346
msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
-msgstr "Rajoita Windows käyttämään S Mode -tilaa (EI YHTEENSOPIVA verkkotilin ohituksen kanssa)"
+msgstr "Rajoita Windows S Mode-tilaan (EI YHTEENSOPIVA verkkotilin ohituksen kanssa)"
#. • MSG_347
msgid "Expert Mode"
@@ -1927,118 +1919,6 @@ msgstr "Puretaan tiedostoarkistoja: %s"
msgid "Use Rufus MBR"
msgstr "Rufusin MBR:n käyttö"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Käytä 'Windows CA 2023' -allekirjoitettuja käynnistyslataajia (Vaatii yhteensopivan kohdetietokoneen)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Tarkistetaan, onko UEFI-käynnistyslataaja mitätöity..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Tarkistetaan UEFI DBX-tietokannan päivityksiä..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX-päivitys saatavilla"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus on havainnut päivitetyn version DBX-tiedostoista, joita käytetään UEFI Secure Boot -mitätöintitarkistuksissa. Haluatko ladata päivityksen?\n"
-"- Valitse 'Kyllä' yhdistääksesi internetiin ja ladataksesi sisällön\n"
-"- Valitse 'Ei' peruuttaaksesi toiminnon\n"
-"\n"
-"Huomio: Tiedostot ladataan sovelluskansioon ja niitä voidaan uudelleenkäyttää automaattisesti."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "Tyhjennä levy ja suorita asennus ⚠VALVOMATTA⚠:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Olet valinnut Windows-asennustavan, joka tapahtuu \"valvomatta\".\n"
-"\n"
-"Tämä on edistyneille käyttäjille suunnattu toiminto luoden tietovälineen, joka ei vaadi mitään käyttäjän syötettä asennuksen aikana ja täten TYHJENTÄÄ VAROITUKSETTA ensimmäisen havaitun levyn kohdejärjestelmässä. Jos et ole tarkkana, voi tämä valinta johtaa PERUUTTAMATTOMAAN TIEDON MENETYKSEEN!\n"
-"\n"
-"Jos et halua käyttää tätä ominaisuutta, valitse 'Ei' palataksesi ja poista valintaruudun valinta.\n"
-"Valitsemalla 'Kyllä' hyväksyt, että mahdollinen tietojen menetys on täysin SINUN vastuullasi."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Levykuvan sijaintia ei tueta"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Et voi käyttää kohdeasemalle tallennettua levykuvaa, sillä tämä asema tyhjennetään kokonaisuudessaan. Se on vähän kuin omaa oksaansa sahaisi!\n"
-"\n"
-"Siirrä levykuva eri sijaintiin ja yritä uudelleen."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Voit turvallisesti käyttää tätä valintaa, vaikka sinulta löytyisi TPM tai enemmän keskusmuistia, sillä se sivuuttaa ainoastaan asennusvaatimuksen eikä rajoita Windowsia käyttämästä saatavilla olevaa laitteistoa."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Tämän valinnan toiminta VAATII verkon/internetin kytkemisen pois päältä asennuksen ajaksi!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Vastaa automaattisesti käyttäjältä kysymättä 'ei' Windowsin asennusvalintoihin, jotka liittyvät tiedon jakamiseen Microsoftin kanssa."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Tämä valinta kannattaa pitää valittuna, ellet halua sallia 'Windows to Go' -asennukselle pääsyä sisäisiin levyihin ja valvomatonta, peruuttamatonta tiedostojärjestelmien päivitystä."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Luo automaattisesti paikallinen tili määritetyllä käyttäjänimellä ja tyhjällä salasanalla, joka tulee vaihtaa seuraavan sisäänkirjautumisen yhteydessä."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Kopioi alueelliset asetukset (näppäimistö, aikavyöhyke, valuutta) tästä tietokoneesta käyttäjältä kysymisen sijaan."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Älä salaa järjestelmälevyä, ellei käyttäjä sitä erikseen pyydä."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Käytä tätä valintaa vain, jos tiedät mitä S Mode -tila tarkoittaa ja ymmärrät, että järjestelmäsi voi lukittua S Mode -tilaan vaikka poistaisit ja uudelleenasentaisit Windowsin kokonaan."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Käytä tätä valintaa, jos Windows-asennuksen kohdetietokoneesta löytyy täysin ajan tasalla olevat Secure Boot -sertifikaatit. Voit halutessasi tutustua 'Mosby'-ohjelmaan päivitystä varten."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Käytä tätä valintaa, jos haluat mitätöidä useampia mahdollisesti vaarallisia Windows-käynnistyslataajia, mutta samalla mahdollisesti estäen myös joidenkin normaalien Windows-tietovälineiden käynnistymisen."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Quality of Life\" -parannukset: Poista käytöstä useimmat ei-halutut ominaisuudet, joita Microsoft yrittää pakottaa käyttäjiä väkisin käyttämään."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Jos käytät tätä valintaa, varmistathan, että kaikki levyt on irroitettu kohdetietokoneesta lukuunottamatta haluttua Windows-asennuksen kohdelevyä. Älä myöskään jätä tietovälinettä yhdistetyksi sellaiseen tietokoneeseen, jonka levyjä et halua tyhjennettävän."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/fr-FR.po b/res/loc/po/fr-FR.po
index 6ff717db..54f9f5f9 100644
--- a/res/loc/po/fr-FR.po
+++ b/res/loc/po/fr-FR.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 3.22\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-17 22:51+0000\n"
-"PO-Revision-Date: 2026-03-17 23:06+0000\n"
+"POT-Creation-Date: 2024-04-25 12:25+0100\n"
+"PO-Revision-Date: 2024-04-25 12:46+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr_FR\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: French (Français)\n"
"X-Rufus-LCID: 0x040c, 0x080c, 0x0c0c, 0x100c, 0x140c, 0x180c, 0x1c0c, 0x200c, 0x240c, 0x280c, 0x2c0c, 0x300c, 0x340c, 0x380c, 0xe40c\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -161,7 +161,7 @@ msgstr "Recherche mises à jour"
#. • IDD_UPDATE_POLICY → IDS_INCLUDE_BETAS_TXT
msgid "Include beta versions"
-msgstr "Inclure les versions bêta"
+msgstr "Inclure les bétas"
#. • IDD_UPDATE_POLICY → IDC_CHECK_NOW
msgid "Check Now"
@@ -309,7 +309,7 @@ msgstr "To"
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr "Po"
@@ -460,7 +460,7 @@ msgstr "Veuillez insérer un média dans le lecteur."
#. • MSG_062
msgid "An unsupported command was received."
-msgstr "Une commande non prise en charge a été reçue."
+msgstr "Commande non supportée."
#. • MSG_063
msgid "Memory allocation error."
@@ -484,7 +484,7 @@ msgstr "Impossible d'accéder au média. Il peut être en cours d'utilisation pa
#. • MSG_068
msgid "Could not partition drive."
-msgstr "Échec de partitionnement."
+msgstr "Echec de partitionnement."
#. • MSG_069
msgid "Could not copy files to target drive."
@@ -506,23 +506,23 @@ msgstr "La vérification de blocs défectueux a été interrompue."
#. • MSG_073
msgid "ISO image scan failure."
-msgstr "Échec d'analyse de l'image ISO."
+msgstr "Echec d'analyse de l'image ISO."
#. • MSG_074
msgid "ISO image extraction failure."
-msgstr "Échec d'extraction de l'image ISO."
+msgstr "Echec d'extraction de l'image ISO."
#. • MSG_075
msgid "Unable to remount volume."
-msgstr "Échec lors du remontage du volume."
+msgstr "Echec lors du remontage du volume."
#. • MSG_076
msgid "Unable to patch/setup files for boot."
-msgstr "Échec de modification des fichiers de démarrage."
+msgstr "Echec de modification des fichiers de démarrage."
#. • MSG_077
msgid "Unable to assign a drive letter."
-msgstr "Échec d'assignation d'une lettre de volume."
+msgstr "Echec d'assignation d'une lettre de volume."
#. • MSG_078
msgid "Can't mount GUID volume."
@@ -548,7 +548,7 @@ msgstr ""
#. • MSG_081
msgid "Unsupported image"
-msgstr "Image non prise en charge"
+msgstr "Image non supportée"
#. • MSG_082
msgid "This image is either non-bootable, or it uses a boot or compression method that is not supported by Rufus..."
@@ -609,7 +609,7 @@ msgstr "L'image est trop large pour être copiée sur le périphérique sélecti
#. • MSG_090
msgid "Unsupported ISO"
-msgstr "Image ISO non prise en charge"
+msgstr "Image ISO non supportée"
#. • MSG_091
msgid "When using UEFI Target Type, only EFI bootable ISO images are supported. Please select an EFI bootable ISO or set the Target Type to BIOS."
@@ -617,7 +617,7 @@ msgstr "Quand UEFI est sélectionné, seules les images ISO basées sur EFI sont
#. • MSG_092
msgid "Unsupported filesystem"
-msgstr "Système de fichiers non pris en charge"
+msgstr "Système de fichiers non supporté"
#. • MSG_093
msgid ""
@@ -669,7 +669,7 @@ msgstr "Cette image ISO contient un fichier de plus de 4 Go, soit plus que la ta
#. • MSG_101
msgid "Missing WIM support"
-msgstr "Prise en charge des archives WIM non disponible"
+msgstr "Support pour archives WIM non disponible"
#. • MSG_102
msgid ""
@@ -844,7 +844,7 @@ msgstr "Désactivée"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Etablit la taille de la partition persistente pour media USB de type \"live\". Une taille de 0 désactive l’utilisation d’une partition persistente."
@@ -886,7 +886,7 @@ msgstr "Ce lecteur est utilisé par une autre application ou un autre processus.
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -906,7 +906,7 @@ msgid ""
msgstr ""
"Parce que MBR a été sélectionné pour le schéma de partition, Rufus peut seulement créer une partition sur ce média occupant jusqu’à 2 To, ce qui laissera %s d’espace disque non-disponible.\n"
"\n"
-"Êtes-vous sûr de vouloir continuer ?"
+"Etes-vous sûr de vouloir continuer ?"
#. • MSG_135
msgid "Version"
@@ -1080,7 +1080,7 @@ msgid "Version %d.%d (Build %d)"
msgstr ""
#. • MSG_176
-msgid "English translation: Pete Batard "
+msgid "mailto:support@akeo.ie"
msgstr "Traduction Française : Pete Batard "
#. • MSG_177
@@ -1203,7 +1203,7 @@ msgstr "Analyse de l'image..."
#. • MSG_203
msgid "Failed to scan image"
-msgstr "Échec de l'analyse de l'image"
+msgstr "Echec d'analyse de l'image"
#. • MSG_204
#.
@@ -1252,7 +1252,7 @@ msgstr "Opération annulée"
#. • MSG_212
msgid "Failed"
-msgstr "Échec"
+msgstr "ECHEC"
#. • MSG_213
#.
@@ -1262,7 +1262,7 @@ msgstr "Lancement de la nouvelle application..."
#. • MSG_214
msgid "Failed to launch new application"
-msgstr "Échec de lancement de l'application"
+msgstr "Echec de lancement de l'application"
#. • MSG_215
#.
@@ -1284,11 +1284,11 @@ msgstr "Formatage : %s"
#. • MSG_218
msgid "Creating file system: Task %d/%d completed"
-msgstr "Système de fichiers : Tâche %d/%d terminée"
+msgstr "Système de fichiers : Tâche %d/%d complétée"
#. • MSG_219
msgid "NTFS Fixup: %d%% completed"
-msgstr "Finalisation NTFS : %d%% terminé"
+msgstr "Finalisation NTFS : %d%% complété"
#. • MSG_220
#.
@@ -1300,7 +1300,7 @@ msgstr "Formatage (%s) - durée estimée %d :%02d..."
#. • MSG_221
msgid "Setting label (%s)..."
-msgstr "Écriture du label (%s)..."
+msgstr "Ecriture du label (%s)..."
#. • MSG_222
#.
@@ -1330,11 +1330,11 @@ msgstr "Fermeture des volumes existants..."
#. • MSG_228
msgid "Writing Master Boot Record..."
-msgstr "Écriture du MBR..."
+msgstr "Ecriture du MBR..."
#. • MSG_229
msgid "Writing Partition Boot Record..."
-msgstr "Écriture du PBR..."
+msgstr "Ecriture du PBR..."
#. • MSG_230
msgid "Copying DOS files..."
@@ -1346,7 +1346,7 @@ msgstr "Copie des fichiers ISO : %s"
#. • MSG_232
msgid "Win7 EFI boot setup (%s)..."
-msgstr "Écriture boot Win7 EFI (%s)..."
+msgstr "Ecriture boot Win7 EFI (%s)..."
#. • MSG_233
msgid "Finalizing, please wait..."
@@ -1392,7 +1392,7 @@ msgid ""
"\n"
"The download will be deleted. Please check the log for more details."
msgstr ""
-"La signature de la mise à jour qui vient d’être téléchargée ne peut pas être validée. Cela peut indiquer que votre système n’est pas configuré correctement pour la validation de signatures numériques, ou que le téléchargement contient un fichier malicieux.\n"
+"La signature de la mise à jour qui vient d’être téléchargée ne peut pas être validée. Cela peut indiquer que votre système n’est pas configuré correctement pour la validation de signatures digitales, ou que le téléchargement contient un fichier malicieux.\n"
"\n"
"Le téléchargement va être supprimé. Veuillez consulter le log pour plus de détails."
@@ -1402,7 +1402,7 @@ msgstr "Téléchargement : %s"
#. • MSG_242
msgid "Failed to download file."
-msgstr "Échec de téléchargement du fichier."
+msgstr "Echec de téléchargement du fichier."
#. • MSG_243
msgid "Checking for Rufus updates..."
@@ -1430,7 +1430,7 @@ msgstr "Clés de registre supprimées"
#. • MSG_249
msgid "Failed to delete application registry keys"
-msgstr "Échec de suppression des clés registres"
+msgstr "Echec de suppression des clés registres"
#. • MSG_250
#.
@@ -1480,7 +1480,7 @@ msgstr "Compression NTFS"
#. • MSG_261
msgid "Writing image: %s"
-msgstr "Écriture d'image : %s"
+msgstr "Ecriture d'image : %s"
#. • MSG_262
#.
@@ -1524,7 +1524,7 @@ msgstr "Debug USB"
#. • MSG_271
msgid "Computing image checksums: %s"
-msgstr "Calcul des checksums de l'image : %s"
+msgstr "Calculation des checksums de l'image : %s"
#. • MSG_272
msgid "Compute the MD5, SHA1 and SHA256 checksums for the selected image"
@@ -1558,13 +1558,13 @@ msgstr ""
#.
#. '%s' will be replaced with your translation for MSG_036 ("ISO Image")
msgid "Write in %s mode (Recommended)"
-msgstr "Écrire en mode %s (Recommandé)"
+msgstr "Ecrire en mode %s (Recommandé)"
#. • MSG_277
#.
#. '%s' will be replaced with your translation for MSG_095 ("DD Image")
msgid "Write in %s mode"
-msgstr "Écrire en mode %s"
+msgstr "Ecrire en mode %s"
#. • MSG_278
msgid "Checking for conflicting processes..."
@@ -1592,7 +1592,7 @@ msgstr "Signature invalide"
#. • MSG_284
msgid "The downloaded executable is missing a digital signature."
-msgstr "L'exécutable téléchargé ne possède pas de signature numérique."
+msgstr "L'exécutable téléchargé ne possède pas de signature digitale."
#. • MSG_285
msgid ""
@@ -1610,7 +1610,7 @@ msgstr "Effacement à zéro : %s"
#. • MSG_287
msgid "Detection of non-USB removable drives"
-msgstr "Détection des disques détachables non-USB"
+msgstr "Détection disques non-USB détachables"
#. • MSG_288
msgid "Missing elevated privileges"
@@ -1618,15 +1618,15 @@ msgstr "Privilèges élevés manquants"
#. • MSG_289
msgid "This application can only run with elevated privileges"
-msgstr "Cette application peut seulement être exécutée avec les privilèges administrateur"
+msgstr "Cette application peut seulement être exécutée avec privilèges administratifs"
#. • MSG_290
msgid "File Indexing"
-msgstr "Indexation des fichiers"
+msgstr "Indexation de fichiers"
#. • MSG_291
msgid "Version selection"
-msgstr "Sélection de la version"
+msgstr "Sélection de version"
#. • MSG_292
msgid "Please select the version of Windows you want to install:"
@@ -1634,7 +1634,7 @@ msgstr "Sélectionnez la version de Windows que vous souhaitez installer :"
#. • MSG_293
msgid "Unsupported Windows version"
-msgstr "Version de Windows non prise en charge"
+msgstr "Version de Windows non supportée"
#. • MSG_294
msgid ""
@@ -1656,7 +1656,7 @@ msgid ""
msgstr ""
"Cette version de Rufus n'a pas produite par ses développeurs officiels.\n"
"\n"
-"Êtes-vous sûr de vouloir la lancer ?"
+"Etes-vous sur de vouloir la lancer ?"
#. • MSG_297
msgid "Truncated ISO detected"
@@ -1688,7 +1688,7 @@ msgid ""
msgstr ""
"Rufus n'a pas pu valider que le timestamp du fichier de mise à jour téléchargé est plus récent que celui de l'exécutable en cours.\n"
"\n"
-"Afin d'éviter des scenarios d'attaque potentiels, le processus de mise à jour a été interrompu et le téléchargement va être supprimé. Pour plus de détails, veuillez consulter le log."
+"Afin de mitiger des scenarios d'attaque potentiels, le processus de mise à jour a été interrompu et le téléchargement va être supprimé. Pour plus de détails, veuillez consulter le log."
#. • MSG_301
msgid "Show application settings"
@@ -1744,7 +1744,7 @@ msgstr "Utilisez %s (dans la fenêtre d’application principale) pour active."
#. • MSG_312
msgid "Extra hashes (SHA512)"
-msgstr "Checksum supplémentaire (SHA512)"
+msgstr "Checksum hash supplémentaire (SHA512)"
#. • MSG_313
msgid "Save to VHD"
@@ -1752,7 +1752,7 @@ msgstr "Sauver en image VHD"
#. • MSG_314
msgid "Compute image checksums"
-msgstr "Calculer les checksums de l’image sélectionnée"
+msgstr "Calculer les checksums the l’image sélectionnée"
#. • MSG_315
msgid "Multiple buttons"
@@ -1768,7 +1768,7 @@ msgstr "ID disque"
#. • MSG_318
msgid "Default thread priority: %d"
-msgstr "Priorité de thread par défaut : %d"
+msgstr "Priorité de thread part default : %d"
#. • MSG_319
msgid "Ignore Boot Marker"
@@ -1776,7 +1776,7 @@ msgstr "Ignorer le marqueur de démarrage"
#. • MSG_320
msgid "Refreshing partition layout (%s)..."
-msgstr "Rafraîchissement du schéma de partition (%s)..."
+msgstr "Rafraichissement du schéma de partition (%s)..."
#. • MSG_321
msgid ""
@@ -1784,20 +1784,12 @@ msgid ""
"As a result, DD image writing mode will be enforced."
msgstr ""
"L’image que vous avez sélectionnée est de type ISOHybrid, mais ses créateurs ne l’ont pas rendue compatible avec le mode ISO (i.e. copie de fichier).\n"
-"À cause de cela, seule l’écriture en mode DD est applicable."
+"A cause de cela, seule l’écriture en mode DD est applicable."
#. • MSG_322
msgid "Unable to open or read '%s'"
msgstr "Impossible d'ouvrir ou de lire '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Appliquer SkuSiPolicy.p7b après installation (Consultez KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Améliorations 'QoL' (Ne force pas Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Application des options de personnalisation de Windows: %s"
@@ -1827,8 +1819,8 @@ msgid "Disable data collection (Skip privacy questions)"
msgstr "Désactiver la collecte de données (Supprime les questions de confidentialité)"
#. • MSG_332
-msgid "Prevent 'Windows To Go' from accessing internal disks"
-msgstr "Empêcher 'Windows To Go' d'accéder aux disques internes"
+msgid "Prevent Windows To Go from accessing internal disks"
+msgstr "Empêcher Windows To Go d'accéder aux disques internes"
#. • MSG_333
msgid "Create a local account with username:"
@@ -1840,7 +1832,7 @@ msgstr "Définir les options régionales avec les mêmes valeurs que celles de c
#. • MSG_335
msgid "Disable BitLocker automatic device encryption"
-msgstr "Désactiver le chiffrement automatique BitLocker"
+msgstr "Désactiver l'encryption automatique BitLocker"
#. • MSG_336
msgid "Persistent log"
@@ -1848,13 +1840,13 @@ msgstr "Log persistent"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Un fichier supplémentaire ('%s') doit être téléchargé depuis Microsoft pour utiliser cette fonctionalité :\n"
+"Un fichier supplémentaire ('diskcopy.dll') doit être téléchargé depuis Microsoft pour installer MS-DOS :\n"
"- Sélectionnez 'Oui' pour vous connecter à Internet et le télécharger\n"
"- Sélectionnez 'Non' pour annuler l’opération\n"
"\n"
@@ -1922,118 +1914,6 @@ msgstr "Extraction d'archive : %s"
msgid "Use Rufus MBR"
msgstr "Utilisation du MBR Rufus"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Utiliser les bootloaders signés par 'Windows CA 2023' (nécessite un PC cible compatible)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Vérification de la revocation des bootloaders UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Vérification des mises à jour de DBX UEFI..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Mise à jour DBX disponible"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus a trouvé une mise à jour des fichiers DBX utilisés pour effectuer la validation des revocations Secure Boot sous UEFI. Voulez-vous télécharger cette mise à jour ?\n"
-"- Sélectionnez 'Oui' pour vous connecter à Internet et le télécharger ce contenu\n"
-"- Sélectionnez 'Non' pour annuler l’opération\n"
-"\n"
-"Note : Ces fichiers seront téléchargés dans le répertoire de l'application et réutilisés automatiquement si ils sont présent."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "Effacera le disque ⚠SILENCIEUSEMENT⚠ et installera:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No'to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Vous avez sélectionné l'option d'installation de Windows dite \"silencieuse\".\n"
-"\n"
-"Il s'agit d'une option avancée, réservée à ceux qui souhaitent créer un média d'installation qui ne posera aucune question à l'utilisateur pendant l'installation de Windows et qui EFFACERA SANS CONDITION le premier disque détecté sur le système cible. Si vous n'y prenez pas garde, l'utilisation de cette option peut résulter en une PERTE DE DONNÉES IRREVERSIBLE !\n"
-"\n"
-"Si cela n'est pas ce que vous souhaitez veuillez sélectionner 'Non' pour revenir en arrière et désélectionner cette option.\n"
-"Sinon, si vous sélectionnez 'Oui', vous indiquez que toute perte de donnée en résultant sera entièrement VOTRE responsabilité."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Placement d'image non supporté"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Vous ne pouvez pas utiliser une image située sur le périphérique cible, puisque ce dernier va être complètement effacé. Cela revient au même qu'essayer de scier la branche sur laquelle vous êtes assis !\n"
-"\n"
-"Veuillez déplacer l'image sur un autre disque et réessayez."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Vous pouvez laisser cette option activée même si vous avez une puce TPM ou plus de RAM, car l'option contourne simplement les prérequis du programme d'installation et n'empêche absolument pas Windows d'utiliser toutes ces ressources si disponibles."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Pour que cette option fonctionne, vous DEVEZ déconnecter le réseau/Internet pendant l'installation !"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Répond automatiquement 'non' aux questions du programme d'installation de Windows en ce qui concerne l'autorisation du partage de données avec Microsoft, au lieu de demander à l'utilisateur."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Laissez cette option activée à moins que vous acceptiez que 'Windows To Go' puisse accéder aux disques internes pour effectuer des mises à jour, silencieuses et irréversible, des systèmes de fichiers."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Crée un compte local automatiquement, pour le nom spécifié, et avec un mot de passe vide qui devra être changé à la prochaine session."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Réplique les options régionales de ce PC (clavier, fuseau horaire, monnaie), au lieu de demander à l'utilisateur."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Ne chiffre pas le disque système, sauf si l'utilisateur le demande explicitement."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Activez cette option seulement si vous savez ce qu'est S-Mode et comprenez que votre système pourra être restreint au S-Mode même si vous supprimez Windows et le réinstallez complètement."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Activez cette option si le système que vous installez utilise des certificats Secure Boot complètement à jour. Si nécessaire, vous pouvez utiliser 'Mosby' pour mettre votre système à jour."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Activez cette option pour révoquer des bootloaders supplémentaires de Windows, mais avec le risque de ne plus pouvoir démarrer depuis des media Windows standard."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Améliorations \"Quality of Life\" : Désactive la plupart des fonctionnalités que Microsoft essaie de pousser, contre leur gré, aux utilisateurs."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Si vous utilisez cette option, veuillez-vous assurer que tous les disques, sauf celui sur lequel vous voulez installer Windows, est déconnecté du PC cible, et aussi que vous ne laisserez pas le média connecté sur un PC que vous ne voulez pas réinstaller."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/he-IL.po b/res/loc/po/he-IL.po
index 0929a986..a448c58d 100644
--- a/res/loc/po/he-IL.po
+++ b/res/loc/po/he-IL.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-25 13:31+0000\n"
-"PO-Revision-Date: 2026-03-25 13:32+0000\n"
+"POT-Creation-Date: 2024-04-25 21:07+0300\n"
+"PO-Revision-Date: 2024-04-26 01:31+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: he_IL\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Hebrew (עברית)\n"
"X-Rufus-LCID: 0x040d\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -577,7 +577,7 @@ msgstr ""
"- יש לבחור 'לא' כדי להשאיר את קובץ ה־ISO ללא שינויים\n"
"אם לא ברור לך מה לעשות, כדאי לבחור באפשרות 'כן'.\n"
"\n"
-"הערה: הקובץ החדש יורד לספרייה בה ממוקם היישום וכל עוד ש־'%s' קיים שם, Rufus ישתמש בו באופן אוטומטי במידת הצורך."
+"הערה: הקובץ החדש יירד לספרייה בה ממוקם היישום וכל עוד ש־'%s' קיים שם, Rufus ישתמש בו באופן אוטומטי במידת הצורך."
#. • MSG_085
msgid "Downloading %s"
@@ -771,7 +771,7 @@ msgstr ""
"- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד את הקבצים האלו\n"
"- יש לבחור 'לא' כדי לבטל את הפעולה\n"
"\n"
-"הערה: הקבצים יורדו לספרייה בה ממוקם היישום וכל עוד הקבצים יהיו שם, Rufus ישתמש בהם באופן אוטומטי במידת הצורך."
+"הערה: הקבצים יירדו לספרייה בה ממוקם היישום וכל עוד קבצים אלו יהיו שם, Rufus ישתמש בהם באופן אוטומטי במידת הצורך."
#. • MSG_115
msgid "Download required"
@@ -798,7 +798,7 @@ msgstr ""
"- יש לבחור 'לא' כדי להשתמש בגרסת ברירת המחדל מ־Rufus\n"
"- יש לבחור 'ביטול' כדי לבטל את הפעולה\n"
"\n"
-"הערה: הקובץ יורד לספרייה בה ממוקם היישום ו־Rufus ישתמש בו באופן אוטומטי במידת הצורך. אם לא תימצא התאמה באינטרנט, Rufus ישתמש בגרסה ברירת המחדל."
+"הערה: הקובץ יירד לספרייה בה ממוקם היישום ו־Rufus ישתמש בו באופן אוטומטי במידת הצורך. אם לא תימצא התאמה באינטרנט, Rufus ישתמש בגרסה ברירת המחדל."
#. • MSG_117
msgid "Standard Windows installation"
@@ -847,7 +847,7 @@ msgstr "ללא"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "הגדרת גודל המחיצה הקבועה עבור מדיית Live USB. הגדרת הגודל ל־0 מבטלת את המחיצה הקבועה."
@@ -889,7 +889,7 @@ msgstr "יישום או תהליך אחר משתמש בכונן זה. האם ב
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1137,7 +1137,7 @@ msgstr "קובץ תמונה שגוי עבור אפשרות האתחול שנבח
#. • MSG_188
msgid "The current image doesn't match the boot option selected. Please use a different image or choose a different boot option."
-msgstr "קובץ התמונה הנוכחי אינו מתאים לאפשרות האתחול שנבחרה. נא להשתמש בקובץ תמונה אחר או לבחור באפשרות אתחול אחרת."
+msgstr "קובץ התמונה הנוכחי אינו מתאים לאפשרות האתחול שנבחרה. נא להשתמש בקובץ תמונה אחר או לבחור באפשרות אתחול אחרת.."
#. • MSG_189
msgid "This ISO image is not compatible with the selected filesystem"
@@ -1804,14 +1804,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "לא ניתן לפתוח או לקרוא את '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "החלת SkuSiPolicy.p7b בזמן ההתקנה (יש לעיין ב־KB5042562 למידע נוסף)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "שיפורי QoL (לא לכפות Copilot, OneDrive, Outlook, Fast Startup וכו')"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "מחיל התאמה אישית של Windows: %s"
@@ -1854,7 +1846,7 @@ msgstr "הגדרת אפשרויות האזור לאותם ערכים כמו של
#. • MSG_335
msgid "Disable BitLocker automatic device encryption"
-msgstr "השבתת הצפנה אוטומטית של המכשיר באמצעות BitLocker"
+msgstr "השבתת הצפנת מכשיר אוטומטית של BitLocker"
#. • MSG_336
msgid "Persistent log"
@@ -1862,17 +1854,17 @@ msgstr "יומן קבוע"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"יש להוריד קובץ נוסף ('%s') מ־Microsoft כדי להשתמש בתכונה זו:\n"
+"יש להוריד קובץ נוסף ('diskcopy.dll') מ־Microsoft על מנת להתקין MS-DOS:\n"
"- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד אותו\n"
"- יש לבחור 'לא' כדי לבטל את הפעולה\n"
"\n"
-"הערה: הקובץ יורד לספרייה בה ממוקם היישום וכל עוד הקובץ יהיה שם, Rufus ישתמש בו באופן אוטומטי במידת הצורך."
+"הערה: הקובץ יירד לספרייה בה ממוקם היישום וכל עוד הקובץ יהיה שם, Rufus ישתמש בו באופן אוטומטי במידת הצורך."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1936,118 +1928,6 @@ msgstr "מחלץ קובצי ארכיון: %s"
msgid "Use Rufus MBR"
msgstr "שימוש ב־MBR של Rufus"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "שימוש במנהלי אתחול חתומים 'Windows CA 2023' (דורש מחשב יעד נתמך)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "בודק אחר ביטול תוקף של מנהל אתחול UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "בודק אחר עדכונים ל־UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "עדכון DBX זמין"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus איתר גרסה מעודכנת של קובצי DBX המשמשים לבצע בדיקות ביטול תוקף של UEFI Secure Boot. האם ברצונך להוריד את העדכון הזה?\n"
-"- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד את התוכן הזה\n"
-"- יש לבחור 'לא' כדי לבטל פעולה זו\n"
-"\n"
-"הערה: הקבצים יורדו לספרייה בה ממוקם היישום וכל עוד הקבצים יהיו שם, Rufus ישתמש בהם באופן אוטומטי במידת הצורך."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "איפוס הדיסק והתקנה ⚠באופן שקט⚠:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"בחרת להשתמש באפשרות התקנת Windows באופן \"שקט\".\n"
-"\n"
-"זוהי אפשרות מתקדמת, המיועדת לאנשים שרוצים ליצור מדיה שלא מציגה שום בקשות או שאלות מהמשתמש במהלך התקנת Windows, ולכן *מוחקת ומאפסת ללא התראה מוקדמת* את הדיסק הראשון שמזוהה במערכת היעד. אם לא נזהרים, שימוש באפשרות זו עלול לגרום *לאובדן נתונים בלתי הפיך*!\n"
-"\n"
-"אם זה לא מה שרצית, נא לבחור 'לא' כדי לחזור אחורה ולבטל הסימון של האפשרות הזאת.\n"
-"אחרת, אם האפשרות 'כן' תיבחר, מקובל עליך שכל האחריות לכל אובדן הנתונים יהיה *עליך בלבד*."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "מיקום קובץ תמונה לא נתמך"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"לא ניתן לבחור בקובץ תמונה הממוקם בכונן היעד, מכיוון שכונן זה עומד להימחק ולהתאפס לחלוטין. זה אותו הדבר כמו לנסות לנסר את הענף שעליו יושבים!\n"
-"\n"
-"נא להעביר את קובץ התמונה למיקום שונה ולנסות שוב."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "אפשר להשאיר את האפשרות הזו מופעלת בבטחה גם אם יש לך TPM או יותר זיכרון RAM, מכיוון שהיא רק עוקפת את דרישות ההתקנה ואינה מונעת מ־Windows להשתמש בכל החומרה הזמינה."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "כדי שאפשרות זו תעבוד, *חייבים* להתנתק מהרשת/אינטרנט במהלך ההתקנה!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "עונה באופן אוטומטי 'לא' לשאלות ההתקנה של Windows הנוגעות לשיתוף נתונים עם Microsoft, במקום לבקש קלט מהמשתמש."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "כדאי להשאיר אפשרות זו מופעלת, אלא אם כן מקובל עליך ש־Windows To Go יקבל גישה לדיסקים פנימיים ויבצע שדרוגי מערכת קבצים בלתי הפיכים באופן שקט."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "יצירה אוטומטית של חשבון מקומי עם שם משתמש שמצוין מראש, תוך שימוש בסיסמה ריקה שתצטרך להיות מוחלפת בהתחברות הבאה."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "שכפול הגדרות האזור מהמחשב הזה (מקלדת, אזור זמן, מטבע), במקום לבקש קלט מהמשתמש."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "לא להצפין את דיסק המערכת, אלא אם המשתמש מבקש זאת באופן מפורש."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "יש להשתמש באפשרות זו רק אם ידוע לך מהו S-Mode, ומובן לך שהמערכת שלך עשויה להישאר נעולה ב־S-Mode גם לאחר מחיקה מלאה והתקנה מחדש של Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "יש להשתמש באפשרות זו אם המערכת שבה מתוכננת ההתקנה של Windows משתמשת בתעודות Secure Boot מעודכנות לחלוטין. אם יש צורך, ניתן לנסות להשתמש ב־Mosby כדי לעדכן את המערכת."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "יש להשתמש באפשרות זו אם ברצונך לאסור את השימוש במנהלי אתחול נוספים של Windows שעשויים להיות לא בטוחים, בידיעה שיש בכך גם סיכון שמדיות סטנדרטיות של Windows לא ייטענו."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "שיפורי \"Quality of Life\": השבתת רוב התכונות הבלתי רצויות ש־Microsoft מנסה לכפות על משתמשי קצה."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "אם משתמשים באפשרות זו, יש לוודא שכל הכוננים במחשב היעד מנותקים, מלבד הכונן שבו רוצים להתקין את Windows, וכן לא להשאיר את המדיה מחוברת למחשב שאותו לא רוצים למחוק."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/hr-HR.po b/res/loc/po/hr-HR.po
index eaac4486..66124d36 100644
--- a/res/loc/po/hr-HR.po
+++ b/res/loc/po/hr-HR.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-29 14:57+0200\n"
-"PO-Revision-Date: 2026-03-29 15:44+0200\n"
+"POT-Creation-Date: 2024-05-09 18:57+0200\n"
+"PO-Revision-Date: 2024-05-09 19:30+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: hr_HR\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Croatian (Hrvatski)\n"
"X-Rufus-LCID: 0x041a, 0x081a, 0x101a\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -306,7 +306,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -844,7 +844,7 @@ msgstr "Bez trajne particije"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Zadaj veličinu trajne particije za \"live\" USB medij. Ako je zadana veličina 0, isključuje se trajna particija."
@@ -886,17 +886,17 @@ msgstr "Drugi program ili proces pristupa pogonu. Da li ipak želiš formatirati
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus je otkrio da pokušavate stvoriti 'Windows To Go' medij na temelju 1809 ISO datoteke.\n"
+"Rufus je otkrio da pokušavate kreirati \"Windows To Go\" medij baziran na verziji 1809 ISO.\n"
"\n"
-"Zbog *MICROSOFTOVE GREŠKE*, ovaj medij će se srušiti tijekom pokretanja sustava Windows (BSOD), osim ako ručno zamijenite datoteku 'WppRecorder.sys' s verzijom 1803.\n"
+"Zbog *MICROSOFT BUG-a*, doći će do fatalne greške kod podizanja Windows-a (Blue Screen Of Death), osim ako ne zamijenite datoteku 'WppRecorder.sys' s verzijom 1803.\n"
"\n"
-"Rufus ne može automatski popraviti ovo za vas jer je 'WppRecorder.sys' datoteka zaštićena autorskim pravima tvrtke Microsoft, pa ne možemo legalno ugraditi kopiju datoteke u aplikaciju..."
+"Rufus nije u mogućnosti ispraviti problem jer datoteka 'WppRecorder.sys' podliježe Microsoft \"copyright-u\", tako da bi to bilo ilegalno."
#. • MSG_134
msgid ""
@@ -1793,14 +1793,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Nije moguće otvoriti ili pročitati '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Primijenite SkuSiPolicy.p7b prilikom instalacije (vidi KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL poboljšanja (Nemojte forsirati Copilot, OneDrive, Outlook, Fast Startup, itd.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Primjena prilagodbe sustava Windows: %s"
@@ -1851,17 +1843,17 @@ msgstr "Stalni zapisnik"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Za korištenje ove značajke potrebno je preuzeti dodatnu datoteku ('%s') od Microsofta:\n"
-"- Odaberite 'Da' za povezivanje s internetom i preuzimanje\n"
+"Dodatnu datoteku ('diskcopy.dll') potrebno je preuzeti s Microsofta da biste instalirali MS-DOS:\n"
+"- Odaberite 'Da' za spajanje na Internet i preuzimanje\n"
"- Odaberite 'Ne' za poništavanje operacije\n"
"\n"
-"Napomena: Datoteka će se preuzeti u direktorij aplikacije i automatski će se ponovno koristiti ako postoji."
+"Napomena: Datoteka će se preuzeti u imenik aplikacije i automatski će se ponovno koristiti ako postoji."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1925,118 +1917,6 @@ msgstr "Izdvajanje arhivskih datoteka: %s"
msgid "Use Rufus MBR"
msgstr "Koristiti Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Koristi 'Windows CA 2023' potpisane bootloadere (potrebno je kompatibilno ciljno računalo)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Provjera za opoziva UEFI bootloadera..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Provjera ažuriranja za UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX ažuriranje dostupno"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus je pronašao ažuriranu verziju DBX datoteka koje se koriste za izvođenje provjera opoziva UEFI Secure Boot-a. Želite li preuzeti ovo ažuriranje?\n"
-"- Odaberite 'Da' za povezivanje s internetom i preuzimanje ovog sadržaja\n"
-"- Odaberite 'Ne' za otkazivanje operacije\n"
-"\n"
-"Napomena: Datoteke će se preuzeti u direktorij aplikacije i automatski će se ponovno koristiti ako postoje."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠TIHO⚠ izbriši disk i instaliraj:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Odabrali ste korištenje \"tihe\" opcije instalacije sustava Windows.\n"
-"\n"
-"Ovo je napredna opcija, rezervirana za ljude koji žele stvoriti medij koji ne obavještava korisnika tijekom instalacije sustava Windows i stoga BEZUVJETNO BRIŠE prvi otkriveni disk na sustavu. Ako niste oprezni, korištenje ove opcije može rezultirati NEPOVRATNIM GUBITKOM PODATAKA!\n"
-"\n"
-"Ako to ne želite, molim odaberite 'Ne' za povratak i poništite odabir opcije.\n"
-"Suprotno, ako odaberete 'Da', slažete se da će sva odgovornost za bilo kakav gubitak podataka biti isključivo na VAMA."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Nepodržana lokacija slike"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Ne možete koristiti sliku koja se nalazi na ciljnom disku, jer će taj disk biti potpuno izbrisan. To je isto kao da pokušavate prepiliti granu na kojoj sjedite!\n"
-"\n"
-"Premjestite sliku na drugu lokaciju i pokušajte ponovno."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Sigurno je ostaviti ovu opciju omogućenu čak i ako imate TPM ili više RAM-a, jer ova opcija samo zaobilazi zahtjeve za postavljanje i zapravo ne sprječava Windows da koristi sav dostupan hardver."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Da bi ova opcija radila, mreža/internet MORA biti isključeni tijekom instalacije!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automatski odgovori s 'ne' na pitanja tijekom postavljanju sustava Windowsa koja se odnose na dijeljenje podataka s Microsoftom, umjesto da to pita korisnika."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Ovu opciju biste trebali ostaviti omogućenu, osim ako vam ne smeta da 'Windows To Go' pristupa internim diskovima i tiho izvršava nepovratne nadogradnje datotečnog sustava."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automatski stvori lokalni račun s navedenim korisničkim imenom, koristeći praznu lozinku koju će trebati promijeniti pri prvoj prijavi."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Duplicirajte regionalne postavke s ovog računala (tipkovnica, vremenska zona, valuta), umjesto da pita korisnika."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Ne šifrirajte sistemski disk, osim ako to korisnik izričito zatraži."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Koristite ovu opciju samo ako znate što je S-Mode i razumijete da vaš sustav možda bude zaključan u S-Modeu čak i nakon što potpuno izbrišete i ponovno instalirate Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Koristite ovu opciju ako sustav na koji planirate instalirati Windows koristi potpuno ažurirane Secure Boot certifikate. Ako je potrebno, možete pogledati u korištenje 'Mosby' za ažuriranje sustava."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Koristite ovu opciju ako želite opozvati dodatne potencijalno nesigurne Windows bootloadere, ali s mogućnošću sprječavanja pokretanja standardnih Windows medija."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"kvalitete života\" poboljšanja: Onemogućite većinu neželjenih značajki koje Microsoft pokušava forcirati na korisnicima."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Ako koristite ovu opciju, obavezno odspojite svaki disk od ciljnog računala, osim onog na koji želite instalirati Windows, i ne ostavljajte medij priključen u bilo koj računalo koje ne želite izbrisati."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/hu-HU.po b/res/loc/po/hu-HU.po
index 58a58d8b..3a571227 100644
--- a/res/loc/po/hu-HU.po
+++ b/res/loc/po/hu-HU.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-26 23:05+0100\n"
-"PO-Revision-Date: 2026-03-27 00:00+0100\n"
+"POT-Creation-Date: 2024-05-09 13:01+0200\n"
+"PO-Revision-Date: 2024-05-10 10:46+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: hu_HU\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Hungarian (Magyar)\n"
"X-Rufus-LCID: 0x040e\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -111,7 +111,7 @@ msgstr "A Rufus névjegye"
#. • IDD_ABOUTBOX → IDC_ABOUT_LICENSE
msgid "License"
-msgstr "Licenc"
+msgstr "Licensz"
#. • IDD_ABOUTBOX → IDOK
msgid "OK"
@@ -119,7 +119,7 @@ msgstr ""
#. • IDD_LICENSE → IDD_LICENSE
msgid "Rufus License"
-msgstr "Rufus Licenc"
+msgstr "Rufus Licensz"
#. • IDD_NOTIFICATION → IDC_MORE_INFO
msgid "More information"
@@ -309,7 +309,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -847,7 +847,7 @@ msgstr "Kikapcsolva"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Állítsd be a tartós partíció méretét a Live USB adathordozóhoz. A méret 0-ra állításával letiltod a tartós partíciót."
@@ -889,13 +889,13 @@ msgstr "Egy másik alkalmazás vagy folyamat használja ezt az eszközt. Így is
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"A Rufus észlelte, hogy egy 1809-es verziójú ISO alapján kíséreltél meg egy Windows To Go meghajtót készíteni.\n"
+"A Rufus észlelte, hogy egy 1809-es verziójú ISO alapján kíséreltél meg egy Windows To Go meghajtót készíteni\n"
"\n"
"Egy *MICROSOFT HIBA* miatt ez a meghajtó a Windows indulása során össze fog omlani (kék halál), hacsak nem cseréled ki manuálisan a 'WppRecorder.sys' fájlt egy 1803-as verzióra.\n"
"\n"
@@ -1797,14 +1797,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Nem lehet megnyitni vagy olvasni ezt: '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "SkuSiPolicy.p7b alkalmazása a telepítésen (Lásd: KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL fejlesztések (Ne erőltesse ezeket: Copilot, OneDrive, Outlook, Gyors rendszerindítás stb.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Windows testreszabás alkalmazása: %s"
@@ -1855,17 +1847,17 @@ msgstr "Tartós naplózás"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"A funkció használatához egy további fájlt ('%s') kell letölteni a Microsofttól:\n"
+"Az MS-DOS telepítéséhez egy további fájlt ('diskcopy.dll') kell letölteni a Microsofttól:\n"
"- Válaszd az 'Igen' gombot az internethez történő kapcsolódáshoz, és a fájl letöltéséhez\n"
"- Válaszd a 'Nem' gombot a művelet megszakításához\n"
"\n"
-"Megjegyzés: A fájl az alkalmazás mappájába lesz letöltve, és automatikusan újra lesz használva, ha létezik."
+"Megjegyzés: A fájl a program mappájába lesz letöltve, és automatikusan újra lesz használva, ha létezik."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1929,118 +1921,6 @@ msgstr "Archív fájlok kibontása: %s"
msgid "Use Rufus MBR"
msgstr "Rufus MBR használata"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "A 'Windows CA 2023' tanúsítvánnyal aláírt rendszerbetöltők használata (Kompatibilis célszámítógép szükséges)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "UEFI rendszerbetöltő visszavonásának ellenőrzése..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "UEFI DBX frissítések keresése..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX frissítés elérhető"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"A Rufus talált frissített verziót az UEFI Secure Boot visszavonási ellenőrzéséhez használt DBX fájlokból. Szeretnéd letölteni ezt a frissítést?\n"
-"- Válaszd az 'Igen' gombot az internethez történő kapcsolódáshoz, és a fájlok letöltéséhez\n"
-"- Válaszd a 'Nem' gombot a művelet megszakításához\n"
-"\n"
-"Megjegyzés: A fájlok az alkalmazás mappájába lesznek letöltve, és automatikusan újra lesznek használva, ha léteznek."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠CSENDESEN⚠ törölje a lemezt és telepítse ezt:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"A \"csendes\" Windows telepítési beállítást választottad.\n"
-"\n"
-"Ez egy haladó szintű beállítás azok számára, akik olyan adathordozót szeretnének készíteni, ami nem tesz fel kérdéseket a Windows telepítése során, ezért FELTÉTEL NÉLKÜL TÖRLI az elsőként észlelt lemezt a célrendszeren. Ha nem vagy elővigyázatos, ennek a beállításnak a használata VISSZAFORDÍTHATATLAN ADATVESZTÉST okozhat!\n"
-"\n"
-"Ha nem ezt szeretnéd, akkor válaszd a 'Nem' gombot a visszalépéshez, és töröld ezt a beállítást.\n"
-"Egyébként, ha az 'Igen' gombot választod, akkor beleegyezel abba, hogy bármilyen adatvesztésért teljes mértékben TÉGED fog terhelni a felelősség."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Nem támogatott kép hely"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Nem használhatsz célmeghajtón lévő képet, mivel az a meghajtó teljesen törölve lesz. Ez ugyanaz, mint magad alatt vágni a fát!\n"
-"\n"
-"Kérlek, helyezd át a képet egy másik helyre, és próbáld újra."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Ezt a beállítást biztonságosan engedélyezve hagyhatod akkor is, ha rendelkezel TPM-mel vagy több RAM-mal, mivel ez a beállítás csak a telepítési követelményeket kerüli meg, és valójában nem akadályozza meg, hogy a Windows az összes elérhető hardvert használja."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Ezen funkció működéséhez a hálózatot/internetet le KELL választanod a telepítés idejére!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automatikus 'nem' válasz a Windows telepítő azon kérdéseire, amelyek az adatok Microsoft számára történő adatmegosztással kapcsolatosak, a felhasználó megkérdezése helyett."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Hagyd bekapcsolva ezt a beállítást, kivéve, ha beleegyezel abba, hogy a 'Windows To Go' hozzáférjen a belső lemezekhez és csendben visszafordíthatatlan fájlrendszer-frissítéseket hajtson végre."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automatikusan létrehoz egy helyi fiókot a megadott felhasználónévvel, üres jelszót használva, amit a következő belépéskor meg kell változtatni."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "A területi beállítások másolása erről a számítógépről (billentyűzet, időzóna, pénznem), a felhasználó megkérdezése helyett."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Ne titkosítsa a rendszerlemezt amíg a felhasználó kifejezetten nem kéri."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Csak akkor használd ezt a beállítást, ha tudod, mi az az S mód, és megértetted, hogy a rendszered beragadhat az S módba még a Windows teljes törlése és újratelepítése esetén is."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Használd ezt a beállítást, ha olyan rendszerre szeretnéd telepíteni a Windows-t, ami teljesen naprakész Secure Boot tanúsítványokat használ. Szükség esetén a 'Mosby' segítségével frissítheted a rendszeredet."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Használd ezt a beállítást, ha szeretnél visszavonni további, potenciálisan nem biztonságos Windows rendszerbetöltőket. Emiatt előfordulhat, hogy a sztenderd Windows adathordozó sem fog elindulni."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Quality of Life\" fejlesztések: Letiltja a legtöbb nem kívánt funkciót, amit a Microsoft próbál ráerőltetni a végfelhasználókra."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Ha ezt a beállítást használod, győződj meg arról, hogy minden lemezt leválasztottál a célszámítógépről, kivéve azt az egyet, amelyikre a Windows telepítését szeretnéd, és ne hagyd az adathordozót csatlakoztatva olyan számítógéphez, amit nem akarsz törölni."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/id-ID.po b/res/loc/po/id-ID.po
index 104a7a29..cbb61a28 100644
--- a/res/loc/po/id-ID.po
+++ b/res/loc/po/id-ID.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 3.22\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-05 13:10+0700\n"
-"PO-Revision-Date: 2026-04-05 22:37+0100\n"
+"POT-Creation-Date: 2023-03-16 16:28+0700\n"
+"PO-Revision-Date: 2023-03-17 14:13+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: id_ID\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Indonesian (Bahasa Indonesia)\n"
"X-Rufus-LCID: 0x0421\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.2.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -54,11 +54,13 @@ msgstr "Daftar USB Hard Drives"
msgid "Add fixes for old BIOSes (extra partition, align, etc.)"
msgstr "Tambah perbaikan untuk BIOS lama (partisi ekstra, penyesuaian, dll.)"
-#. • IDD_DIALOG → IDC_UEFI_MEDIA_VALIDATION
+#. • IDD_DIALOG → IDC_RUFUS_MBR
#.
-#. It is acceptable to drop the "runtime" if you are running out of space
-msgid "Enable runtime UEFI media validation"
-msgstr "Aktifkan validasi media UEFI runtime"
+#. 'MBR': See http://en.wikipedia.org/wiki/Master_boot_record
+#. Rufus can install it's own custom MBR (the Rufus MBR), which also allows users to
+#. specify a custom disk ID for the BIOS. The tooltip for this control is MSG_167.
+msgid "Use Rufus MBR with BIOS ID"
+msgstr "Gunakan MBR Rufus dengan ID BIOS"
#. • IDD_DIALOG → IDS_FORMAT_OPTIONS_TXT
msgid "Format Options"
@@ -70,7 +72,7 @@ msgstr "Sistem berkas"
#. • IDD_DIALOG → IDS_CLUSTER_SIZE_TXT
msgid "Cluster size"
-msgstr "Ukuran klaster"
+msgstr "Ukuran klatser"
#. • IDD_DIALOG → IDS_LABEL_TXT
msgid "Volume label"
@@ -308,7 +310,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -696,7 +698,7 @@ msgid ""
"\n"
"Note: The file will be downloaded in the current directory and once a '%s' exists there, it will be reused automatically."
msgstr ""
-"%s atau yang lebih baru memerlukan berkas '%s' untuk diinstal.\n"
+"%s atau yang lebih baru memerlukan berkas '%s' untuk diinstal.\n"
"Karena berkas ini berukuran lebih dari 100 KB, dan selalu ada pada ISO images %s, berkas ini tidak tersematkan didalam Rufus.\n"
"\n"
"Rufus dapat mengunduh berkas yang hilang ini untuk Anda:\n"
@@ -846,7 +848,7 @@ msgstr "Tanpa persisten"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Atur ukuran partisi persisten untuk media USB live. Mengatur ukuran ke 0 akan menonaktifkan partisi persisten."
@@ -888,7 +890,7 @@ msgstr "Program atau proses lain sedang mengakses drive ini. Apakah Anda tetap i
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1041,8 +1043,16 @@ msgid "Check this box to allow the display of international labels and set a dev
msgstr "Centang kotak ini untuk menampilkan label internasional dan menyetel ikon perangkat (membuat autorun.inf)"
#. • MSG_167
-msgid "Install a UEFI bootloader, that will perform MD5Sum file validation of the media"
-msgstr "Instal bootloader UEFI yang akan memvalidasi MD5Sum dari media"
+msgid "Install an MBR that allows boot selection and can masquerade the BIOS USB drive ID"
+msgstr "Menginstal MBR memungkinkan untuk boot dan dapat memanipulasi ID perangkat USB di BIOS"
+
+#. • MSG_168
+msgid ""
+"Try to masquerade first bootable USB drive (usually 0x80) as a different disk.\n"
+"This should only be necessary if you install Windows XP and have more than one disk."
+msgstr ""
+"Mencoba menyamarkan perangkat USB bootable pertama (biasanya 0x80) sebagai disk yang berbeda.\n"
+"Biasanya hanya diperlukan jika Anda memasang Windows XP dan memiliki lebih dari satu disk."
#. • MSG_169
msgid ""
@@ -1792,14 +1802,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Tidak dapat membuka atau membaca '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Aktifkan SkuSiPolicy.p7b ketika instalasi (lihat KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Peningkatan QoL (Tidak memaksakan Copilot, OneDrive, Outlook, Fast Startup, dll.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Menerapkan kustomisasi Windows: %s"
@@ -1848,192 +1850,6 @@ msgstr "Matikan enkripsi perangkat otomatis BitLocker"
msgid "Persistent log"
msgstr "Catatan yang tetap/persistent"
-#. • MSG_337
-msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
-"- Select 'Yes' to connect to the Internet and download it\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Berkas tambahan ('%s') dari Microsoft diperlukan untuk menggunakan fitur tersebut\n"
-"- Pilih 'Ya' untuk mengunduh\n"
-"- Pilih 'Tidak' untuk membatalkan\n"
-"\n"
-"Catatan: Berkas tersebut akan disimpan pada folder aplikasi dan akan digunakan di kemudian hari secara otomatis."
-
-#. • MSG_338
-msgid "Revoked UEFI bootloader detected"
-msgstr "Terdeteksi pembatalan bootloader UEFI"
-
-#. • MSG_339
-msgid ""
-"Rufus detected that the ISO you have selected contains a UEFI bootloader that has been revoked and that will produce %s, when Secure Boot is enabled on a fully up to date UEFI system.\n"
-"\n"
-"- If you obtained this ISO image from a non reputable source, you should consider the possibility that it might contain UEFI malware and avoid booting from it.\n"
-"- If you obtained it from a trusted source, you should try to locate a more up to date version, that will not produce this warning."
-msgstr ""
-"Rufus mendeteksi bahwa ISO yang dipilih terdapat bootloader UEFI yang dibatalkan dan dapat memberikan peringatan %s, ketika Secure Boot diaktifkan pada UEFI system terbaru.\n"
-"\n"
-"- Kalau berkas ISO ini didapatkan dari sumber yang tidak terpercaya, terdapat kemungkinan ada malware UEFI dan hindarilah menggunakan image ini.\n"
-"- Kalau berkas ISO ini didapatkan dari sumber yang terpercaya, carilah versi yang lebih baru yang tidak memberikan peringatan ini."
-
-#. • MSG_340
-msgid "a \"Security Violation\" screen"
-msgstr "layar \"Security Violation\""
-
-#. • MSG_341
-msgid "a Windows Recovery Screen (BSOD) with '%s'"
-msgstr "Windows Recovery Screen (BSOD) dengan '%s'"
-
-#. • MSG_342
-msgid "Compressed VHDX Image"
-msgstr "VHDX Image terkompresi"
-
-#. • MSG_343
-msgid "Uncompressed VHD Image"
-msgstr "VHDX Image tidak terkompresi"
-
-#. • MSG_344
-msgid "Full Flash Update Image"
-msgstr "Full Flash Update Image"
-
-#. • MSG_345
-msgid ""
-"Some additional data must be downloaded from Microsoft to use this functionality:\n"
-"- Select 'Yes' to connect to the Internet and download it\n"
-"- Select 'No' to cancel the operation"
-msgstr ""
-"Data tambahan perlu diunduh dari Microsoft untuk menggunakan fungsi ini:\n"
-"- Pilih 'Ya' untuk menyambungkan ke Internet dan mencoba untuk mengunduhnya\n"
-"- Pilih 'Tidak' untuk membatalkan operasi"
-
-#. • MSG_346
-msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
-msgstr "Batasi Windows menjadi S-Mode (TIDAK KOMPATIBEL dengan bypass akun online)"
-
-#. • MSG_347
-msgid "Expert Mode"
-msgstr "Mode Expert"
-
-#. • MSG_348
-msgid "Extracting archive files: %s"
-msgstr "Mengekstrak berkas arsip: %s"
-
-#. • MSG_349
-msgid "Use Rufus MBR"
-msgstr "Gunakan Rufus MBR"
-
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Gunakan bootloader 'Windows CA 2023' (Membutuhkan PC yang kompatibel)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Sedang cek pembatalan bootloader UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Sedang cek pembaruan UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Pembaruan DBX tersedia"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus menemukan pembaruan berkas DBX yang digunakan untuk mengecek pembatalan UEFI Secure Boot. Apakah anda ingin mengunduhnya?\n"
-"- Pilih 'Ya' untuk menyambungkan ke Internet dan mencoba untuk mengunduhnya\n"
-"- Pilih 'Tidak' untuk membatalkan operasi"
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "Hapus disk secara ⚠SILENT⚠ dan instal:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Anda memilih untuk menggunakan opsi instalasi Windows secara \"silent\".\n"
-"\n"
-"Ini adalah pilihan lanjutan, yang diperuntukkan untuk membuat media yang tidak memberikan pilihan ketika instalasi Windows dan akan MENGHAPUS TANPA TERKECUALI disk yang terdeteksi pertama kali pada system. Kalau tidak berhati-hati, menggunakan pilihan ini akan menyebabkan KEHILANGAN DATA PERMANEN!\n"
-"\n"
-"Kalau Anda tidak menginginkan ini, pilih 'Tidak' untuk kembali dan membatalkan pilihan tersebut.\n"
-"Kalau Anda memilih 'Ya', Anda yakin dan bertanggungjawab untuk kehilangan data yang terjadi."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr ""
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Anda tidak dapat menggunakan berkas image yang terletak pada penyimpanan tujuan, karena penyimpanan tersebut akan dihapus seluruhnya.\n"
-"\n"
-"Tolong pindahkan berkas image tersebut ke lokasi yang lain dan coba lagi."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Pilihan ini aman untuk digunakan walaupun terdapat TPM atau RAM berlebih, karena pilihan ini hanya melewati persyaratan awal dan tidak menghentikan Windows untuk menggunakan seluruh hardware yang tersedia."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Supaya pilihan ini dapat digunakan, Anda HARUS memutuskan Internet ketika instalasi~"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Secara otomatis akan memilih 'Tidak' pada pertanyaan setup Windows terkait dengan pembagian data dengan Microsoft, tanpa menanyakan pada user."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Anda sebaiknya menyalakan opsi ini, kecuali jika Anda ingin 'Windows To Go' untuk mengakses disk internal dan melakukan pembaruan sistem yang tidak dapat diubah secara diam-diam."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Buat akun local dengan nama user pilihan, menggunakan password kosong yang perlu diubah di proses logon selanjutnya."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Gunakan pengaturan regional dari PC ini (keyboard, zona waktu, mata uang), tanpa menanyakan kepada user."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Tidak mengenkripsi disk sistem, kecuali diminta oleh user."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Gunakan pilihan ini jika Anda mengetahui S-Mode dan mengerti bahwa sistem Anda akan dikunci menjadi S-Mode walaupun sudah menghapus dan instal ulang Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Gunakan pilihan ini jika Anda ingin menginstal Windows menggunakan sertifikat Secure Boot terbaru. Jika dibutuhkan, Anda dapat menggunakan 'Mosby\" untuk memperbarui sistem."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Gunakan pilihan ini jika Anda ingin membatalkan penggunaan bootloader Windows yang tidak aman, tapi dengan potensi mencegah media Windows standar untuk booting."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Peningkatan \"Quality of Life\": menonaktifkan fitur Microsoft yang tidak diinginkan."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Jika Anda menggunakan pilihan ini, mohon untuk mencabut semua disk dari PC tujuan agar tidak terjadi kehilangan data, kecuali disk yang digunakan untuk menginstal Windows."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/it-IT.po b/res/loc/po/it-IT.po
index 9bfc8fd9..a6d74069 100644
--- a/res/loc/po/it-IT.po
+++ b/res/loc/po/it-IT.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-18 11:43-0700\n"
-"PO-Revision-Date: 2026-04-18 13:50-0700\n"
+"POT-Creation-Date: 2024-05-12 12:06+0100\n"
+"PO-Revision-Date: 2024-05-12 12:12+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: it_IT\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Italian (Italiano)\n"
"X-Rufus-LCID: 0x0410, 0x0810\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -66,7 +66,7 @@ msgstr "Opzioni formattazione"
#. • IDD_DIALOG → IDS_FILE_SYSTEM_TXT
msgid "File system"
-msgstr "Sistema di file"
+msgstr ""
#. • IDD_DIALOG → IDS_CLUSTER_SIZE_TXT
msgid "Cluster size"
@@ -115,7 +115,7 @@ msgstr "Licenza"
#. • IDD_ABOUTBOX → IDOK
msgid "OK"
-msgstr "OK"
+msgstr ""
#. • IDD_LICENSE → IDD_LICENSE
msgid "Rufus License"
@@ -133,7 +133,7 @@ msgstr "Sì"
#. • IDD_NOTIFICATION → IDNO
#. • MSG_009
msgid "No"
-msgstr "No"
+msgstr ""
#. • IDD_LOG → IDD_LOG
msgid "Log"
@@ -187,7 +187,7 @@ msgstr "Informazioni versione"
#. • IDD_NEW_VERSION → IDC_DOWNLOAD
#. • MSG_040
msgid "Download"
-msgstr "Scarica"
+msgstr ""
#. • MSG_001
msgid "Other instance detected"
@@ -286,31 +286,31 @@ msgstr "byte"
#.
#. *Short* version of the kilobyte size suffix
msgid "KB"
-msgstr "KB"
+msgstr ""
#. • MSG_022
#.
#. *Short* version of the megabyte size suffix
msgid "MB"
-msgstr "MB"
+msgstr ""
#. • MSG_023
#.
#. *Short* version of the gigabyte size suffix
msgid "GB"
-msgstr "GB"
+msgstr ""
#. • MSG_024
#.
#. *Short* version of the terabyte size suffix
msgid "TB"
-msgstr "TB"
+msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
-msgstr "PB"
+msgstr ""
#. • MSG_027
msgid "kilobytes"
@@ -336,7 +336,7 @@ msgstr "BIOS (o UEFI CSM)"
#. • MSG_032
msgid "UEFI (non CSM)"
-msgstr "UEFI (senza CSM)"
+msgstr ""
#. • MSG_033
msgid "BIOS or UEFI"
@@ -769,7 +769,8 @@ msgstr ""
"Poiché le nuove versioni di Syslinux non sono compatibili con le precedenti e non sarebbe possibile per Rufus includerle tutte, devono essere scaricati da internet due file aggiuntivi ('ldlinux.sys' e 'ldlinux.bss'):\n"
"- Seleziona 'Sì' per collegarti a internet e scaricare questi due file\n"
"- Seleziona 'No' per annullare l'operazione\n"
-"Nota: i file verranno scaricati nella cartella attuale dell'applicazione e verranno riusati automaticamente se presenti."
+"\n"
+"Nota: questi file verranno scaricati nella cartella corrente dell'applicazione e se presenti verranno riusati automaticamente."
#. • MSG_115
msgid "Download required"
@@ -789,14 +790,14 @@ msgid ""
"\n"
"Note: The file will be downloaded in the current application directory and will be reused automatically if present. If no match can be found online, then the default version will be used."
msgstr ""
-"Questa immagine utilizza Grub %s, ma l'applicazione include solo i file di installazione per Grub %s.\n"
+"Questa immagine usa Grub %s ma l'applicazione include solo i file di installazione per Grub %s.\n"
"\n"
-"Poiché le diverse versioni di Grub potrebbero non essere compatibili tra loro e non è possibile includerle tutte, Rufus tenterà di individuare una versione del file di installazione di Grub (\"core.img\") che corrisponda a quella presente nella tua immagine:\n"
-"- Seleziona “Sì” per connetterti a Internet e tentare di scaricarlo\n"
-"- Seleziona “No” per utilizzare la versione predefinita di Rufus\n"
-"- Seleziona “Annulla” per interrompere l'operazione\n"
+"Questa differente versione di Grub potrebbe non essere compatibile con l'altra, e non è possibile includere i file di installazione. Rufus tenterà di trovare una versione dei file di installazione di Grub ('core.img') che corrisponda a quella dell'immagine.\n"
+"- Seleziona 'Sì' per collegarti a internet e tentare il download\n"
+"- Seleziona 'No' per usare la versione predefinita di Rufus\n"
+"- Seleziona 'Annulla' per interrompere l'operazione.\n"
"\n"
-"Nota: il file verrà scaricato nella directory corrente dell'applicazione e verrà riutilizzato automaticamente se presente. Se online non viene trovata alcuna corrispondenza, verrà utilizzata la versione predefinita."
+"Note: i file verranno scaricati nella cartella attuale dell'applicazione e verranno riusati automaticamente se presenti. Se non sarà trovata online nessuna corrispondenza, verrà usata la versione predefinita."
#. • MSG_117
msgid "Standard Windows installation"
@@ -808,7 +809,7 @@ msgstr "Installazione Windows standard"
#. http://en.wikipedia.org/wiki/Windows_To_Go in your language.
#. Otherwise, you may add a parenthesis eg. "Windows To Go ()"
msgid "Windows To Go"
-msgstr "Windows To Go"
+msgstr ""
#. • MSG_119
msgid "advanced drive properties"
@@ -845,7 +846,7 @@ msgstr "No persistenza"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr ""
"Imposta la dimensione della partizione persistente per il media USB live.\n"
@@ -892,17 +893,17 @@ msgstr ""
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus ha rilevato che stai tentando di creare un supporto “Windows To Go” basato su un'immagine ISO della versione Windows 10 1809.\n"
+"Rufus ha rilevato che stai tentando di creare un media 'Windows To Go' basato su una ISO 1809.\n"
"\n"
-"A causa di un *BUG DI MICROSOFT*, questo supporto andrà in crash durante l'avvio di Windows (BSOD), a meno che non sostituisca manualmente il file “WppRecorder.sys” con una versione 1803.\n"
+"A causa di un *BUG MICROSOFT*, questo supporto si arresta in modo anomalo durante l'avvio di Windows (Blue Screen Of Death), a meno che non si sostituisca manualmente il file 'WppRecorder.sys' con una versione 1803.\n"
"\n"
-"Tieni inoltre presente che il motivo per cui Rufus non può risolvere automaticamente questo problema è che “WppRecorder.sys” è un file protetto da copyright di Microsoft, quindi non possiamo legalmente incorporarne una copia nell'applicazione..."
+"Nota inoltre che il motivo per cui Rufus non può risolvere automaticamente questo problema è che 'WppRecorder.sys' è un file protetto da copyright di Microsoft, quindi non è possibile incorporare legalmente una copia del file nell'applicazione..."
#. • MSG_134
msgid ""
@@ -920,7 +921,7 @@ msgstr "Versione"
#. • MSG_136
msgid "Release"
-msgstr "Pubblicazione"
+msgstr ""
#. • MSG_137
msgid "Edition"
@@ -1799,14 +1800,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Impossibile aprire o leggere '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Applicare SkuSiPolicy.p7b all'inizio dell'installazione (vedere KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Miglioramenti della QoL (Non forzare Copilot, OneDrive, Outlook, avvio rapido, ecc.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Applicando personalizzazione Windows: %s"
@@ -1857,17 +1850,17 @@ msgstr "Log persistente"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Per utilizzare questa funzionalità, è necessario scaricare un file aggiuntivo ('%s') da Microsoft:\n"
+"Per installare MS-DOS è necessario scaricare da Microsoft un file aggiuntivo (\"diskcopy.dll\"):\n"
"- Seleziona 'Sì' per connettersi ad internet e scaricarlo\n"
"- Seleziona 'No' per annullare l'operazione\n"
"\n"
-"Nota: il file verrà scaricato nella directory dell'applicazione e, se presente, verrà riutilizzato automaticamente."
+"Nota: il file verrà scaricato nella cartella dell'applicazione e se presente verrà riutilizzato automaticamente."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1882,7 +1875,7 @@ msgid ""
msgstr ""
"Rufus ha rilevato che l'ISO selezionata contiene un bootloader UEFI che è stato revocato e che quando Secure Boot è abilitato su un sistema UEFI completamente aggiornato produrrà %s. \n"
"\n"
-"- Se hai ottenuto questa immagine ISO da una sorgente non affidabile, dovresti considerare la possibilità che possa contenere malware UEFI ed evitare di eseguire l'avvio da esso.\n"
+"- Se hai ottenuto questa immagine ISO da una so0egente non affidabile, dovresti considerare la possibilità che possa contenere malware UEFI ed evitare di eseguire l'avvio da esso.\n"
"- Se l'hai ottenuto da una sorgente attendibile, dovresti provare a cercare una versione più aggiornata, che non genererà questo avviso."
#. • MSG_340
@@ -1931,118 +1924,6 @@ msgstr "Estrazione file archivio: %s"
msgid "Use Rufus MBR"
msgstr "Usa MBR Rufus"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Utilizza bootloader firmati 'Windows CA 2023' (Richiede PC compatibile)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Verifica della revoca del bootloader UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Verifica degli aggiornamenti UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Aggiornamento DBX disponibile"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus ha trovato una verzione aggiornamentato dei fili DBX usati per eseguire la verifica di revoca per UEFI Secure Boot. Vuoi scaricare questo aggiornamento?\n"
-"- Seleziona \"Sì\" per connettere all'Internet e scaricare questo contenuto\n"
-"- Seleziona \"No\" per cancellare l'operazione\n"
-"\n"
-"Nota: "
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "Cancella disco e installa ⚠SILENZIOSA⚠:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Hai scelto di utilizzare l'opzione di installazione “silenziosa” di Windows.\n"
-"\n"
-"Si tratta di un'opzione avanzata, riservata a chi desidera creare un supporto che non richieda l'intervento dell'utente durante l'installazione di Windows e che, di conseguenza, CANCELLI INCONDIZIONATAMENTE il primo disco rilevato sul sistema di destinazione. Se non presti la dovuta attenzione, l'utilizzo di questa opzione può causare una PERDITA IRREVERSIBILE DI DATI!\n"
-"\n"
-"Se non è questo ciò che desideri, seleziona “No” per tornare indietro e deselezionare l'opzione.\n"
-"Altrimenti, selezionando “Sì”, accetti che l'intera responsabilità per qualsiasi perdita di dati ricada interamente su di TE."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Percorso immagine non sopportato."
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Non puoi usare un'immagine che si trova nell'unità di destinazione, poiché tale unità verrà completamente formattata. È come cercare di segare il ramo su cui sei seduto!\n"
-"\n"
-"Sposta l'immagine in una posizione diversa e riprova."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "È consigliabile lasciare questa opzione attivata anche se si dispone di un TPM o di più RAM, poiché essa si limita a ignorare i requisiti di configurazione e non impedisce effettivamente a Windows di utilizzare tutto l'hardware disponibile."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Affinché questa opzione funzioni, è NECESSARIO disconnettere la rete/Internet durante l'installazione!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Rispondere automaticamente “no” alle domande della procedura di installazione di Windows relative alla condivisione dei dati con Microsoft, invece di chiedere conferma all'utente."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Ti consigliamo di lasciare questa opzione abilitata, a meno che tu non abbia nulla in contrario al fatto che \"Windows To Go\" acceda ai dischi interni ed esegua in modo silenzioso aggiornamenti irreversibili del file system."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Crea automaticamente un account locale con il nome utente specificato, utilizzando una password vuota che dovrà essere modificata al prossimo accesso."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Duplica le impostazioni regionali di questo PC (tastiera, fuso orario, valuta), invece di chiedere conferma all'utente."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Don't encrypt the system disk, unless explicitly requested by the user."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Utilizza questa opzione solo se sai cos'è la modalità S e sei consapevole del fatto che il tuo sistema potrebbe rimanere bloccato in modalità S anche dopo aver cancellato completamente e reinstallato Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Utilizza questa opzione se il sistema su cui intendi installare Windows utilizza certificati Secure Boot completamente aggiornati. Se necessario, puoi valutare l'utilizzo di \"Mosby\" per aggiornare il tuo sistema."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Utilizza questa opzione se desideri revocare ulteriori bootloader di Windows potenzialmente non sicuri, tenendo presente che ciò potrebbe impedire l'avvio anche dei supporti standard di Windows."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Miglioramenti alla “QoL”: disattiva la maggior parte delle funzionalità indesiderate che Microsoft sta cercando di imporre agli utenti finali."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Se si utilizza questa opzione, assicurarsi di scollegare tutti i dischi dal PC di destinazione, tranne quello su cui si desidera installare Windows, e di non lasciare il supporto collegato a nessun PC che non si desidera cancellare."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/ja-JP.po b/res/loc/po/ja-JP.po
index a49b2727..751de4f9 100644
--- a/res/loc/po/ja-JP.po
+++ b/res/loc/po/ja-JP.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-03 17:56+0900\n"
-"PO-Revision-Date: 2026-04-10 21:59+0900\n"
+"POT-Creation-Date: 2024-05-09 21:04+0900\n"
+"PO-Revision-Date: 2024-05-09 22:07+0900\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ja_JP\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Japanese (日本語)\n"
"X-Rufus-LCID: 0x0411\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -847,7 +847,7 @@ msgstr "保存領域なし"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "ライブ USB メディアの保存領域のサイズを設定します。 サイズを 0 に設定すると保存領域が無効になります。保存領域は「Persistent パーティション」「Persistence 機能」とも言われます。"
@@ -889,13 +889,13 @@ msgstr "別のプログラムまたはプロセスがこのドライブにアク
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufusは1809 バージョンの ISO を使用して Windows To Go のメディアを作成しようとしていることを検出しました。\n"
+"1809 バージョンの ISO を使用して Windows To Go のメディアを作成しようとしていることを検出しました。\n"
"\n"
"このメディアは、“WppRecorder.sys” を 1803 バージョンのファイルに手動で置き換えない限り、Windowsのブート中にクラッシュ (ブルースクリーン) します。これは * Microsoftのバグ * によるものです。\n"
"\n"
@@ -1799,14 +1799,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "'%s'の読み取り"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "インストール時にSkuSiPolicy.p7bを適応する(KB5042562を参照)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "利便性向上パッチ(Microsoftの各種ソフトウェアの無効化)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Windowsカスタムを適応: %s"
@@ -1857,13 +1849,13 @@ msgstr "永続ログ"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"この機能を使用するには、Microsoft から追加のファイル ('%s') をダウンロードする必要があります:\n"
+"MS-DOSをインストールするにはMicrosoftから追加のファイル(diskcopy.dll)をダウンロードする必要があります。\n"
"- はいを選択すると、インターネットに接続しダウンロードします。\n"
"- いいえを選択すると、キャンセルします\n"
"\n"
@@ -1931,118 +1923,6 @@ msgstr "ファイルを展開中: %s"
msgid "Use Rufus MBR"
msgstr "Rufus MBRを使用する"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Windows CA 2023署名のブートローダーを使用する (対応するPCが必要です)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "UEFIブートローダーの有効性を確認中..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "UEFI DBXのアップデートをチェック中..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBXのアップデートが利用可能です。"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"UEFIセキュアブートの有効性チェックに使用するDBXファイルの新しいバージョンを発見しました。ダウンロードしますか?\n"
-"- はいを選択すると、インターネットに接続しダウンロードします。\n"
-"- いいえを選択すると、キャンセルします\n"
-"\n"
-"注意:ファイルはアプリケーションのディレクトリへダウンロードされ、今後自動的に再利用されます。"
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠サイレント⚠ ディスクの削除とインストール:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Windowsのサイレントインストールオプションを選択しました。\n"
-"\n"
-"これはWindowsのインストールを完全自動化するための高度なオプションであり、システムが最初に検知したディスクを無条件に削除します。操作を誤ると予期せぬデータ喪失を引き起こす可能性があります!\n"
-"\n"
-"このオプションを選択したことによるいかなるデータの喪失も自己責任となることに同意する場合、[はい]を選択してください。\n"
-"同意しない場合は[いいえ]を選択し、このオプションのチェックを外してください。"
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "サポートされていないイメージのロケーション"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"ターゲットドライブに配置されたファイルは書き込み時に完全に削除されるため、このファイルを使用することはできません。\n"
-"\n"
-"ファイルを移動し再試行してください。"
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "このオプションはセットアップの要件のみをスキップし、Windowsの機能には影響を与えないため、TPMや十分なRAMがある場合でも有効化しておくことが推奨されます。"
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "このオプションを利用するためにはインストール時にネットワークから確実に接続解除されなければなりません!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Windowsのインストール時にMicrosoftのデータ収集オプションに自動的に[いいえ]と回答します。"
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Windows To Goが内部ディスクにアクセスし不可逆なアップグレードを行うことを了承しない限りこのオプションを有効にすることが推奨されます。"
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "指定されたユーザー名で自動的にローカルアカウントを作成します。パスワードは空欄の為、ログイン時に変更が必要です。"
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "このPCの地域設定(キーボード、タイムゾーン、通貨設定)をコピーすることでユーザー入力を省略します。"
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "ユーザーの明示的な操作がない限りシステムディスクを暗号化しません。"
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Sモードの仕組みとWindowsをクリーンインストールしてもSモードが残る可能性を理解している場合のみこのオプションを有効にしてください。"
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "最新のセキュアブート証明でWindowsを使用する場合はこのオプションを有効化してください。必要に応じてMosbyを使ってシステムを更新することもできます。"
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "危険な可能性のあるWindowsブートローダーを無効化したい場合このオプションを有効化してください。ただし、通常のWindowsメディアが起動しなくなる可能性があります。"
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Microsoftが強制する不要な機能の大半を無効化することにより利便性を向上します。"
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "このオプションを使用する場合はWindowsをインストールするディスク以外を全て取り外して、削除しないメディアを残さないでください。"
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/ko-KR.po b/res/loc/po/ko-KR.po
index b69391fe..c066dbca 100644
--- a/res/loc/po/ko-KR.po
+++ b/res/loc/po/ko-KR.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-12 03:37+0900\n"
-"PO-Revision-Date: 2026-04-12 03:58+0900\n"
+"POT-Creation-Date: 2024-04-29 04:19+0900\n"
+"PO-Revision-Date: 2024-04-29 05:50+0900\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ko_KR\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Korean (한국어)\n"
"X-Rufus-LCID: 0x0412\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -133,7 +133,7 @@ msgstr "예"
#. • IDD_NOTIFICATION → IDNO
#. • MSG_009
msgid "No"
-msgstr "아니요"
+msgstr "아니오"
#. • IDD_LOG → IDD_LOG
msgid "Log"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -574,7 +574,7 @@ msgstr ""
"\n"
"Rufus는 이 문제를 해결하기 위해 최신 버전을 다운로드할 수 있습니다:\n"
"- 인터넷에 연결하고 파일을 다운로드하려면 '예'를 선택합니다\n"
-"- 기존 ISO 파일을 수정하지 않은 상태로 두려면 '아니요'를 선택합니다\n"
+"- 기존 ISO 파일을 수정하지 않은 상태로 두려면 '아니오'를 선택합니다\n"
"무엇을 해야 할지 모르면 '예'를 선택해야 합니다.\n"
"\n"
"참고: 새 파일이 현재 디렉터리에 다운로드되고 '%s'가 있으면 자동으로 재사용됩니다."
@@ -701,7 +701,7 @@ msgstr ""
"\n"
"Rufus가 누락된 파일을 다운로드할 수 있습니다:\n"
"- 인터넷에 연결하고 파일을 다운로드하려면 '예'를 선택합니다\n"
-"- 나중에 드라이브에 이 파일을 수동으로 복사하려면 '아니요'를 선택합니다\n"
+"- 나중에 드라이브에 이 파일을 수동으로 복사하려면 '아니오'를 선택합니다\n"
"\n"
"참고: 파일이 현재 디렉터리에 다운로드되고 '%s'가 있으면 자동으로 재사용됩니다."
@@ -711,7 +711,7 @@ msgid ""
"If you are sure you want to cancel, click YES. Otherwise, click NO."
msgstr ""
"취소하면 장치를 사용할 수 없는 상태가 될 수 있습니다.\n"
-"취소하려면 예를 클릭합니다. 그렇지 않으면 아니요를 클릭합니다."
+"취소하려면 예를 클릭합니다. 그렇지 않으면 아니오를 클릭합니다."
#. • MSG_106
msgid "Please select folder"
@@ -748,7 +748,7 @@ msgstr "호환되지 않는 클러스터 크기"
#.
#. "%d:%02d" is a duration (mins:secs)
msgid "Formatting a large UDF volumes can take a lot of time. At USB 2.0 speeds, the estimated formatting duration is %d:%02d, during which the progress bar will appear frozen. Please be patient!"
-msgstr "대용량 UDF 볼륨을 포맷하는 데 많은 시간이 걸릴 수 있습니다. USB 2.0 속도에서 예상 포맷 지속 시간은 %d:%02d이며, 이 기간 동안 진행률 표시줄이 고정된 것처럼 보입니다. 기다려주세요!"
+msgstr "대용량 UDF 볼륨을 포맷하는 데 많은 시간이 걸릴 수 있습니다. USB 2.0 속도에서 예상 포맷 지속 시간은 %d:%02d이며, 이 기간 동안 진행률 표시줄이 고정된 것처럼 보입니다. 기다려주십시오!"
#. • MSG_113
msgid "Large UDF volume"
@@ -768,7 +768,7 @@ msgstr ""
"\n"
"새 버전의 Syslinux는 서로 호환되지 않으므로 Rufus가 모두 포함할 수 없으므로 인터넷에서 두 개의 추가 파일 ('ldlinux.sys' 및 'ldlinux.bss')을 다운로드해야 합니다:\n"
"- 인터넷에 연결하고 이러한 파일을 다운로드하려면 '예'를 선택합니다\n"
-"- 작업을 취소하려면 '아니요'를 선택합니다\n"
+"- 작업을 취소하려면 '아니오'를 선택합니다\n"
"\n"
"참고: 파일은 현재 응용 프로그램 디렉터리에 다운로드되며 있는 경우 자동으로 재사용됩니다."
@@ -794,7 +794,7 @@ msgstr ""
"\n"
"다른 버전의 Grub은 서로 호환되지 않을 수 있으며, 모두 포함할 수 없기 때문에 Rufus는 이미지에서 일치하는 Grub 설치 파일 ('core.img')의 버전을 찾으려고 시도합니다:\n"
"- 인터넷에 연결하고 다운로드하려면 '예'를 선택합니다\n"
-"- Rufus의 기본 버전을 사용하려면 '아니요'를 선택합니다\n"
+"- Rufus의 기본 버전을 사용하려면 '아니오'를 선택합니다\n"
"- 작업을 중단하려면 '취소'를 선택합니다\n"
"\n"
"참고: 파일은 현재 응용 프로그램 디렉터리에 다운로드되며 있는 경우 자동으로 재사용됩니다. 일치하는 항목을 온라인으로 찾을 수 없는 경우 기본 버전이 사용됩니다."
@@ -846,7 +846,7 @@ msgstr "영구적 아님"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "라이브 USB 미디어의 영구 파티션 크기를 설정합니다. 크기를 0으로 설정하면 영구 파티션이 비활성화됩니다."
@@ -888,17 +888,17 @@ msgstr "다른 프로그램 또는 프로세스가 이 드라이브에 액세스
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus에서 현재 1809 버전 ISO를 기반으로 'Windows To Go' 미디어를 생성하려는 것을 감지했습니다.\n"
+"Rufus가 1809 ISO를 기반으로 Windows To Go 미디어를 만들려고 하는 것을 감지했습니다.\n"
"\n"
-"\"Microsoft의 버그\"로 인해, 사용자가 직접 'WppRecorder.sys' 파일을 1803 버전으로 교체하지 않으면 이 미디어는 Windows 부팅 중에 충돌(블루스크린)을 일으킵니다.\n"
+"*MICROSOFT BUG*로 인해 수동으로 'WppRecorder.sys' 파일을 1803 버전으로 교체하지 않으면 Windows 부팅 중 이 미디어가 충돌합니다.\n"
"\n"
-"또한 Rufus가 이를 자동으로 수정해 드리지 못하는 이유는 'WppRecorder.sys' 파일이 Microsoft의 저작권 보호를 받는 파일이기 때문입니다. 따라서 법적으로 해당 파일의 복사본을 애플리케이션에 포함할 수 없음을 양해 바랍니다."
+"또한 Rufus가 이 문제를 자동으로 해결할 수 없는 이유는 'WppRecorder.sys'가 Microsoft의 저작권이 있는 파일이기 때문에 해당 파일의 복사본을 응용 프로그램에 법적으로 포함할 수 없기 때문입니다..."
#. • MSG_134
msgid ""
@@ -940,7 +940,7 @@ msgstr "뒤로"
#. • MSG_142
msgid "Please wait..."
-msgstr "기다려주세요..."
+msgstr "기다려주십시오..."
#. • MSG_143
msgid "Download using a browser"
@@ -1085,7 +1085,7 @@ msgstr "버전 %d.%d (빌드 %d)"
#. • MSG_176
msgid "English translation: Pete Batard "
-msgstr "한국어 번역:\\line• 세상사는이야기-나두 \\line• Uk-Jin Jang \\line• 비너스걸 (VᴇɴᴜsGɪʀʟ♥) "
+msgstr "한국어 번역:\\line• 비너스걸 (VᴇɴᴜsGɪʀʟ♥) "
#. • MSG_177
msgid "Report bugs or request enhancements at:"
@@ -1199,7 +1199,7 @@ msgstr "이 플랫폼에서는 이 기능을 사용할 수 없습니다."
#. • MSG_201
msgid "Cancelling - Please wait..."
-msgstr "취소 중 - 잠시 기다려 주세요..."
+msgstr "취소 중 - 잠시 기다려 주십시오..."
#. • MSG_202
msgid "Scanning image..."
@@ -1354,7 +1354,7 @@ msgstr "Win7 EFI 부팅 설정 (%s)..."
#. • MSG_233
msgid "Finalizing, please wait..."
-msgstr "마무리 중, 기다려 주세요..."
+msgstr "마무리 중, 기다려 주십시오..."
#. • MSG_234
#.
@@ -1795,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "'%s'을(를) 열거나 읽을 수 없습니다"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "설치 시 SkuSiPolicy.p7b 적용 (KB5042562 참조)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL 개선 사항 (Copilot, OneDrive, Outlook, Fast Startup 등을 강제하지 않음)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Windows 사용자 지정 적용 중: %s"
@@ -1853,17 +1845,17 @@ msgstr "영구 로그"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"이 기능을 사용하려면 Microsoft에서 추가 파일('%s')을 다운로드해야 합니다:\n"
-"- 인터넷에 연결하여 다운로드하려면 '예'를 선택하세요.\n"
-"- 작업을 취소하려면 '아니요'를 선택하세요.\n"
+"MS-DOS를 설치하려면 Microsoft에서 추가 파일 ('diskcopy.dll')을 다운로드해야 합니다:\n"
+"- 인터넷에 연결하여 다운로드하려면 '예'를 선택합니다\n"
+"- 작업을 취소하려면 '아니오'를 선택합니다\n"
"\n"
-"참고: 파일은 프로그램 실행 디렉토리에 다운로드되며, 파일이 존재하면 자동으로 재사용됩니다."
+"참고: 해당 파일은 응용 프로그램의 디렉터리에 다운로드되며 존재하는 경우 자동으로 재사용됩니다."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1909,7 +1901,7 @@ msgid ""
msgstr ""
"이 기능을 사용하려면 Microsoft에서 몇 가지 추가 데이터를 다운로드해야 합니다:\n"
"- 인터넷에 연결하여 다운로드하려면 '예'를 선택합니다\n"
-"- 작업을 취소하려면 '아니요'를 선택합니다"
+"- 작업을 취소하려면 '아니오'를 선택합니다"
#. • MSG_346
msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
@@ -1927,118 +1919,6 @@ msgstr "압축 파일 추출 중: %s"
msgid "Use Rufus MBR"
msgstr "Rufus MBR 사용"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "'Windows CA 2023' 서명 부트로더 사용 (호환되는 대상 PC 필요)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "UEFI 부트로더 취소 여부 확인 중..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "UEFI DBX 업데이트 확인 중..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX 업데이트 사용 가능"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus가 UEFI 보안 부팅 취소 확인에 사용되는 최신 버전의 DBX 파일을 찾았습니다. 이 업데이트를 다운로드하시겠습니까?\n"
-"- 인터넷에 연결하여 파일을 다운로드하려면 '예'를 선택하세요.\n"
-"- 작업을 취소하려면 '아니오'를 선택하세요.\n"
-"\n"
-"참고: 파일은 프로그램 실행 디렉토리에 다운로드되며, 파일이 존재하면 자동으로 재사용됩니다."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠경고⚠ 묻지 않고 디스크 삭제 및 설치:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"\"무경고(silent)\" Windows 설치 옵션을 선택하셨습니다.\n"
-"\n"
-"이것은 고급 옵션으로, Windows 설치 중에 사용자에게 확인 과정을 거치지 않고 대상 시스템에서 처음 감지된 디스크를 \"무조건 삭제\"하는 미디어를 만들려는 분들을 위한 기능입니다. 주의하지 않으면 이 옵션 사용으로 인해 \"되돌릴 수 없는 데이터 손실\"이 발생할 수 있습니다!\n"
-"\n"
-"이것을 원치 않으시면 '아니오'를 선택하여 돌아가서 해당 옵션의 체크를 해제하십시오.\n"
-"반대로 '예'를 선택하신다면, 발생하는 모든 데이터 손실에 대한 전적인 책임은 \"사용자 본인\"에게 있음에 동의하는 것으로 간주합니다."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "지원되지 않는 이미지 위치"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"대상 드라이브가 완전히 삭제될 예정이므로, 해당 드라이브에 있는 이미지는 사용할 수 없습니다. 이는 마치 본인이 앉아 있는 나뭇가지를 톱질하는 것과 같습니다!\n"
-"\n"
-"이미지 파일을 다른 위치로 이동한 후 다시 시도해 주세요."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "TPM이나 넉넉한 RAM을 보유하고 있더라도 이 옵션을 활성화된 상태로 두는 것이 안전합니다. 이 옵션은 설치 요구 사항을 우회할 뿐이며, Windows가 사용 가능한 모든 하드웨어를 사용하는 것을 실제로 방해하지는 않기 때문입니다."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "이 옵션이 작동하려면 설치 중에 반드시 네트워크/인터넷 연결을 해제해야 합니다!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Microsoft와의 데이터 공유에 관한 Windows 설정 질문에 사용자에게 묻는 대신 자동으로 '아니오'라고 응답합니다."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "'Windows To Go'가 내부 디스크에 액세스하여 예고 없이 되돌릴 수 없는 파일 시스템 업그레이드를 수행하는 것에 동의하지 않는다면, 이 옵션을 활성화된 상태로 두어야 합니다."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "지정된 사용자 이름으로 로컬 계정을 자동으로 생성합니다. 암호는 빈 값으로 설정되며 다음 로그온 시 변경해야 합니다."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "사용자에게 묻는 대신 이 PC의 지역 설정(키보드, 시간대, 통화)을 그대로 복제합니다."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "사용자가 명시적으로 요청하지 않는 한 시스템 디스크를 암호화하지 않습니다."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "S-Mode가 무엇인지 알고 있으며, Windows를 완전히 삭제하고 재설치한 후에도 시스템이 S-Mode로 고정될 수 있음을 이해하는 경우에만 이 옵션을 사용하십시오."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Windows를 설치하려는 시스템이 최신 보안 부팅 인증서를 사용 중인 경우 이 옵션을 사용하십시오. 필요한 경우 'Mosby'를 사용하여 시스템을 업데이트할 수 있습니다."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "잠재적으로 안전하지 않은 추가 Windows 부트로더를 차단하려는 경우 이 옵션을 사용하십시오. 단, 표준 Windows 미디어의 부팅도 차단될 가능성이 있습니다."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Quality of Life(QoL)\" 개선 사항: Microsoft가 사용자에게 강제하려는 원치 않는 기능 대부분을 비활성화합니다."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "이 옵션을 사용하는 경우, Windows를 설치할 디스크를 제외한 대상 PC의 모든 디스크를 분해(연결 해제)했는지 확인하십시오. 또한, 데이터 삭제를 원치 않는 PC에는 미디어를 연결된 상태로 두지 마십시오."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
@@ -2066,7 +1946,7 @@ msgid ""
"See https://www.gnu.org/licenses/gpl-3.0.en.html for details."
msgstr ""
"이 응용 프로그램은 GNU Public License (GPL) 버전 3의 조건에 따라 라이선스가 부여됩니다.\n"
-"자세한 내용은 https://www.gnu.org/licenses/gpl-3.0.html 을 참조하세요."
+"자세한 내용은 https://www.gnu.org/licenses/gpl-3.0.html 을 참조하십시오."
#. • MSG_905
#.
diff --git a/res/loc/po/lt-LT.po b/res/loc/po/lt-LT.po
index e450eeff..e4ee34f9 100644
--- a/res/loc/po/lt-LT.po
+++ b/res/loc/po/lt-LT.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 3.22\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-17 17:59+0300\n"
-"PO-Revision-Date: 2026-04-18 00:01+0300\n"
+"POT-Creation-Date: 2023-04-25 13:16+0100\n"
+"PO-Revision-Date: 2023-04-25 13:48+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: lt_LT\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Lithuanian (Lietuvių)\n"
"X-Rufus-LCID: 0x0427\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.2.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -54,12 +54,13 @@ msgstr "Išvardinti USB kietuosius diskus"
msgid "Add fixes for old BIOSes (extra partition, align, etc.)"
msgstr "Pataisos seniems BIOS (papildomas skaidinys, ir kt.)"
-#. • IDD_DIALOG → IDC_UEFI_MEDIA_VALIDATION
+#. • IDD_DIALOG → IDC_RUFUS_MBR
#.
-#. It is acceptable to drop the "runtime" if you are running out of space
-#, fuzzy
-msgid "Enable runtime UEFI media validation"
-msgstr "Įgalinti vykdymo laiko UEFI laikmenos patvirtinimą"
+#. 'MBR': See http://en.wikipedia.org/wiki/Master_boot_record
+#. Rufus can install it's own custom MBR (the Rufus MBR), which also allows users to
+#. specify a custom disk ID for the BIOS. The tooltip for this control is MSG_167.
+msgid "Use Rufus MBR with BIOS ID"
+msgstr "Naudoti Rufus MBR su BIOS ID"
#. • IDD_DIALOG → IDS_FORMAT_OPTIONS_TXT
msgid "Format Options"
@@ -309,7 +310,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -847,7 +848,7 @@ msgstr "Be išlikimo"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Nustatykite išliekamojo skaidinio dydį gyvai USB laikmenai. Nustačius 0 dydį, išliekamasis skaidinys išjungiamas."
@@ -888,9 +889,8 @@ msgid "Another program or process is accessing this drive. Do you want to format
msgstr "Kita programa arba procesas kreipiasi į šį diską. Ar vis tiek norite jį formatuoti?"
#. • MSG_133
-#, fuzzy
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1043,10 +1043,17 @@ msgid "Check this box to allow the display of international labels and set a dev
msgstr "Pažymėkite šį langelį, norėdami įgalinti tarptautinių žymių rodymą ir įrenginio piktogramos nustatymą (sukuria autorun.inf)"
#. • MSG_167
-#, fuzzy
-msgid "Install a UEFI bootloader, that will perform MD5Sum file validation of the media"
+msgid "Install an MBR that allows boot selection and can masquerade the BIOS USB drive ID"
msgstr "Įdiegia MBR, kuris įgalina įkrovos pasirinkimą ir gali maskuoti BIOS USB disko ID"
+#. • MSG_168
+msgid ""
+"Try to masquerade first bootable USB drive (usually 0x80) as a different disk.\n"
+"This should only be necessary if you install Windows XP and have more than one disk."
+msgstr ""
+"Bandyti maskuoti pirmą įkraunamą USB diską (paprastai 0x80) kaip kitą diską.\n"
+"To turėtų prireikti tik jei diegsite Windows XP ir bus daugiau nei vienas diskas."
+
#. • MSG_169
msgid ""
"Create an extra hidden partition and try to align partitions boundaries.\n"
@@ -1798,16 +1805,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Nepavyksta atidaryti arba perskaityti \"%s\""
-#. • MSG_323
-#, fuzzy
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Diegimo metu pritaikykite SkuSiPolicy.p7b (žr. KB5042562)"
-
-#. • MSG_324
-#, fuzzy
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL patobulinimai (Neverskite Copilot, OneDrive, Outlook, Greitas Paleidimas, etc.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Windows tinkinimo taikymas: %s"
@@ -1856,228 +1853,6 @@ msgstr "BitLocker automatinio įrenginių šifravimo išjungimas"
msgid "Persistent log"
msgstr "Nuolatinis žurnalas"
-#. • MSG_337
-#, fuzzy
-msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
-"- Select 'Yes' to connect to the Internet and download it\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Papildomas failas ('%s') turi būti atsisiųstas iš Microsoft, kad naudotis šią funkcija:\n"
-"- Pasirinkite 'Taip' kad prisijungtumėte prie Interneto ir atsisiųstumėte jį\n"
-"- Pasirinkite 'Ne' kad atšaukti operacija\n"
-"\n"
-"Pastaba: Failas bus atsisiųstas į programos katalogą ir, jei ten jau yra, bus automatiškai panaudotas."
-
-#. • MSG_338
-#, fuzzy
-msgid "Revoked UEFI bootloader detected"
-msgstr "Aptikta panaikinta UEFI įkrovos tvarkyklė"
-
-#. • MSG_339
-#, fuzzy
-msgid ""
-"Rufus detected that the ISO you have selected contains a UEFI bootloader that has been revoked and that will produce %s, when Secure Boot is enabled on a fully up to date UEFI system.\n"
-"\n"
-"- If you obtained this ISO image from a non reputable source, you should consider the possibility that it might contain UEFI malware and avoid booting from it.\n"
-"- If you obtained it from a trusted source, you should try to locate a more up to date version, that will not produce this warning."
-msgstr ""
-"Rufus aptiko, kad šis pasirinktas ISO tūri UEFI įkrovos programa kuris buvo panaikintas ir kuris kurs %s, kai visiškai atnaujintoje EUFI sistemoje yra įjungtas saugus įkrovimas.\n"
-"\n"
-"- Jei ši ISO atvaizdą gavote iš nepatikimo šaltinio, turėtumėte apsvarstyti galimybę, kad jame gali būti UEFI kenkėjiška programa, ir vengti paleisti sistemą iš jos.\n"
-"- Jei gavote iš patikimo šaltinio, turėtumėte pabandyti rasti naujesnę versiją, kuri nesukels šio įspėjimo."
-
-#. • MSG_340
-#, fuzzy
-msgid "a \"Security Violation\" screen"
-msgstr "ekranas \"Saugumo pažeidimas\""
-
-#. • MSG_341
-#, fuzzy
-msgid "a Windows Recovery Screen (BSOD) with '%s'"
-msgstr "Windows atkūrimo ekranas (BSOD) su pranešimu '%s'"
-
-#. • MSG_342
-#, fuzzy
-msgid "Compressed VHDX Image"
-msgstr "Suspaustas VHDX Atvaizdas"
-
-#. • MSG_343
-#, fuzzy
-msgid "Uncompressed VHD Image"
-msgstr "Nesuspaustas VHD Atvaizdas"
-
-#. • MSG_344
-#, fuzzy
-msgid "Full Flash Update Image"
-msgstr "Pilnas Flash Atnaujinimo Atvaizdas"
-
-#. • MSG_345
-#, fuzzy
-msgid ""
-"Some additional data must be downloaded from Microsoft to use this functionality:\n"
-"- Select 'Yes' to connect to the Internet and download it\n"
-"- Select 'No' to cancel the operation"
-msgstr ""
-"Reikia atsisiųsti papildomų duomenų iš Microsoft, kad naudotis šią funkciją:\n"
-"- Pasirinkite 'Taip' kad prisijungtumėte prie Interneto ir atsisiųstumėte jį\n"
-"- Pasirinkite 'Ne' kad atšaukti operacija"
-
-#. • MSG_346
-#, fuzzy
-msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
-msgstr "Apriboti Windows iki S-režimo (NESUDERINAMA su internetinės paskyros apėjimu)"
-
-#. • MSG_347
-#, fuzzy
-msgid "Expert Mode"
-msgstr "Eksperto režimas"
-
-#. • MSG_348
-#, fuzzy
-msgid "Extracting archive files: %s"
-msgstr "Išskleiskite failus iš čia: %s"
-
-#. • MSG_349
-#, fuzzy
-msgid "Use Rufus MBR"
-msgstr "Naudokit Rufus MBR"
-
-#. • MSG_350
-#, fuzzy
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Naudokite 'Windows CA 2023' pasirašytus įkrovos tvarkyklės (Reikalingas suderinamas tikslinis kompiuteris)"
-
-#. • MSG_351
-#, fuzzy
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Tikrinama, ar nėra UEFI įkrovos tvarkyklės atšaukimo..."
-
-#. • MSG_352
-#, fuzzy
-msgid "Checking for UEFI DBX updates..."
-msgstr "Ieškoma UEFI DBX atnaujinimų..."
-
-#. • MSG_353
-#, fuzzy
-msgid "DBX update available"
-msgstr "DBX atnaujinimas pasiekimas"
-
-#. • MSG_354
-#, fuzzy
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus rado atnaujintą DBX failų versija, naudojamų UEFI saugaus įkrovimo atšaukimo patikrinimams atlikti. Ar norite atsisiųsti šį atnaujinimą?\n"
-"- Pasirinkite 'Taip' kad prisijungtumėte prie Interneto ir atsisiųstumėte jį\n"
-"- Pasirinkite 'Ne' kad atšaukti operacija\n"
-"\n"
-"Pastaba: Failas bus atsisiųstas į programos katalogą ir, jei ten jau yra, bus automatiškai panaudotas."
-
-#. • MSG_355
-#, fuzzy
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠TYLIAI⚠ ištrinti diską ir įdiegti:"
-
-#. • MSG_356
-#, fuzzy
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Jūs pasirinkote naudotis \"tylioji\" Windows diegimo parinkti.\n"
-"\n"
-"Tai išplėstinė parinktis, skirta žmonėms, norintiems sukurti laikmeną, kuri neragina vartotojo diegiant „Windows“ ir todėl BE SĄLYGŲ IŠTRINA pirmąjį aptiktą diską tikslinėje sistemoje. Jei nebūsite atsargūs, naudodami šią parinktį galite NEATGRĄŽINAMAI PRARASTI DUOMENIS!\n"
-"\n"
-"Jei to nenorite, pasirinkite 'Ne', kad grįžtumėte ir panaikintumėte parinkties žymėjimą.\n"
-"Priešingu atveju, jei pasirinksite 'Taip', sutinkate, kad visa atsakomybė už bet kokį duomenų praradimą teks JUMS."
-
-#. • MSG_358
-#, fuzzy
-msgid "Unsupported image location"
-msgstr "Nepalaikoma atvaizdo vieta"
-
-#. • MSG_359
-#, fuzzy
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Negalite naudoti atvaizdo, esančio paskirties diske, nes tas diskas bus visiškai ištrintas. Tai tas pats, kas bandyti pjauti šaką, ant kurios sėdite!\n"
-"\n"
-"Perkelkite atvaizdą į kitą vietą ir bandykite dar kartą."
-
-#. • MSG_360
-#, fuzzy
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Šią parinktį galima palikti įjungtą, net jei turite TPM ar daugiau RAM, nes ši parinktis tik apeina sąrankos reikalavimus ir iš tikrųjų netrukdo „Windows“ naudoti visos turimos aparatinės įrangos."
-
-#. • MSG_361
-#, fuzzy
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Kad ši parinktis veiktų, diegimo metu BŪTINA atjungti tinklą/Internetą!"
-
-#. • MSG_362
-#, fuzzy
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automatiškai atsakyti 'Ne' į Windows sąrankos klausimus, susijusius su duomenų bendrinimu su Microsoft, užuot raginus vartotoją tai padaryti."
-
-#. • MSG_363
-#, fuzzy
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Šią parinktį turėtumėte palikti įjungtą, nebent sutinkate, kad 'Windows To Go' pasiektų vidinius diskus ir tyliai atliktų nepakeičiama failų sistemos atnaujinimą."
-
-#. • MSG_364
-#, fuzzy
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automatiškai sukurti vietinę paskyrą su nurodytu vartotojo vardu, naudojant tuščią slaptažodį, kurį reikės pakeisti kito prisijungimo metu."
-
-#. • MSG_365
-#, fuzzy
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Nukopijuokite regioninius nustatymus iš šio kompiuterio (klaviatūrą, laiko juostą, valiutą), užuot raginę vartotoją juos pakeisti."
-
-#. • MSG_366
-#, fuzzy
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Nešifruokite sistemos disko, nebent to aiškiai paprašytų vartotojas."
-
-#. • MSG_367
-#, fuzzy
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Šią parinktį naudokite tik tuo atveju, jei žinote, kas yra S-režimas, ir suprantate, kad jūsų sistema gali būti užrakinta S-režime net ir visiškai ištrynus ir iš naujo įdiegus 'Windows'."
-
-#. • MSG_368
-#, fuzzy
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Naudokite šią parinktį, jei sistema, kurioje planuojate įdiegti Windows, naudoja visiškai atnaujintus „Saugaus Įkrovimo“ sertifikatus. Jei reikia, galite apsvarstyti galimybę atnaujinti sistemą naudodami 'Mosby'."
-
-#. • MSG_369
-#, fuzzy
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Naudokite šią parinktį, jei norite atšaukti papildomus potencialiai nesaugius Windows įkrovos tvarkykles, tačiau taip pat galite neleisti paleisti standartinės Windows laikmenos."
-
-#. • MSG_370
-#, fuzzy
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Quality of Life\" patobulinimai: Išjunkite daugumą nepageidaujamų funkcijų, kurias Microsoft bando primesti galutiniams vartotojams."
-
-#. • MSG_371
-#, fuzzy
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Jei naudojate šią parinktį, būtinai atjunkite visus diskus nuo tikslinio kompiuterio, išskyrus tą, kuriame norite įdiegti Windows, ir nepalikite laikmenos prijungtos prie kompiuterio, kurio nenorite ištrinti."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/lv-LV.po b/res/loc/po/lv-LV.po
index de54ea2b..7c9f0c59 100644
--- a/res/loc/po/lv-LV.po
+++ b/res/loc/po/lv-LV.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-23 18:24+0000\n"
-"PO-Revision-Date: 2026-03-23 18:25+0000\n"
+"POT-Creation-Date: 2024-05-14 16:22+0100\n"
+"PO-Revision-Date: 2024-05-14 16:22+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: lv_LV\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Latvian (Latviešu)\n"
"X-Rufus-LCID: 0x0426\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -846,7 +846,7 @@ msgstr "Nav sadaļas"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Fiksētās sadaļas apjoma izvēle uz USB nesēja. Ja nav fiksētās sadaļas ievadiet 0."
@@ -888,13 +888,13 @@ msgstr "Citai programmai vai procesam ir piekļuve šai ierīcei. Vienalga vēla
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus noteica, ka mēģinat veidot 'Windows To Go' disku formātā 1809 ISO\n"
+"Rufus noteica, ka mēģinat veidot Windows To Go disku formātā 1809 ISO\n"
"\n"
"Atsaucoties uz *MICROSOFT BUG*, šis nesējs var izsaukt Windows ielādes kļūdu (BSOD), šādā gadījumā nepieciešams manuāli samainīt 'WppRecorder.sys' failu uz 1803 versiju.\n"
"\n"
@@ -1796,14 +1796,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Neizdevās atvērt vai izlasīt '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Instalēšanas laikā izmantojiet SkuSiPolicy.p7b (skatiet KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL uzlabojumi (attiecas uz Copilot, OneDrive, Outlook, Fast Startup utt.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Pielietot Windows kastomizāciju: %s"
@@ -1854,15 +1846,15 @@ msgstr "Pastāvīgs žurnāls"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Lai izmantotu šo funkciju, no Microsoft ir jālejupielādē papildu fails ('%s'):\n"
-"- Izvēlieties 'Jā', lai pieslēgties pie Interneta un failu lejuplādēt.\n"
-"- Izvēlieties 'Nē', lai atcelt darbību.\n"
+"Lai instalēt MS-DOS no Microsoft vietnes nepieciešams lejuplādēt papildus failu («diskcopy.dll»):\n"
+"- Izvēlieties «Jā», lai pieslēgties pie Interneta un failu lejuplādēt.\n"
+"- Izvēlieties «Nē», lai atcelt darbību.\n"
"\n"
"Piezīme. Fails tiks lejuplādēts programmas mapē, ja tas jau eksistē, tiks izmantots atkārtoti."
@@ -1928,118 +1920,6 @@ msgstr "Atpakot arhīva failus: %s"
msgid "Use Rufus MBR"
msgstr "Izmantot Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Izmantojiet Windows CA 2023' parakstītus ielādētājus (nepieciešams saderīgs dators)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Notiek UEFI ielādētāja atsaukšanas pārbaude..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Notiek UEFI DBX atjauninājumu pārbaude..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Pieejams DBX atjauninājums"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus ir atradis atjauninātu DBX failu versiju, ko izmanto, lai veiktu UEFI Secure Boot atsaukšanas pārbaudes. Vai vēlaties lejupielādēt šo atjauninājumu?\n"
-"- Izvēlieties 'Jā', lai pieslēgties internetam un lejupielādēt šo saturu\n"
-"- Izvēlieties 'Nē', lai atceltu darbību\n"
-"\n"
-"Piezīme. Faili tiks lejupielādēti programmas direktorijā un ja tādi jau ir, tie tiks automātiski izmantoti atkārtoti."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠KLUSĀ⚠ diska dzēšana un instalācija:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Ir izvēlēta \"klusā\" Windows instalēšanas opcija.\n"
-"\n"
-"Šī ir uzlabota opcija, kas paredzēta tiem, kuri vēlas izveidot datu nesēju, kas lietotājam Windows instalēšanas laikā neko neprasa un BEZNOSACĪJUMĀ DZĒŠ pirmo atrasto disku. Ja neesat piesardzīgs, šīs opcijas izmantošana var izraisīt NEATGRIEZENISKU DATU ZAUDĒJUMU!\n"
-"\n"
-"Ja tas nav tas, ko vēlaties, izvēlieties 'Nē', lai atgrieztos un noņemiet atzīmi no opcijas.\n"
-"Pretējā gadījumā, ja izvēlaties 'Jā', tad PIEKRĪTAT atbildībai par iespējamo datu zudumu."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Neatbalstīta instalācijas atrašanās vieta"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Nevar izmantot instalāciju, kas atrodas mērķa diskā, jo šis disks tiks pilnībā izdzēsts. Tas ir tas pats, kas mēģināt zāģēt zaru, uz kura sēdi!\n"
-"\n"
-"Pārvietojiet instalāciju uz citu vietu un mēģiniet vēlreiz."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Šo opciju var atstāt iespējotu pat tad, ja ir TPM vai vairāk RAM, jo šī opcija tikai apiet iestatīšanas prasības un faktiski neliedz OS Windows izmantot visu pieejamo aparatūru."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Lai šī opcija darbotos, instalēšanas laikā OBLIGĀTI jāatvieno tīkls/internets!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automātiski uz Windows iestatīšanas jautājumiem, kas saistīti datu koplietošanai ar Microsoft, atbilde būs 'nē' tā vietā, lai prasīt lietotājam."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Šī opcija ir jāatstāj iespējota, ja vien 'Windows To Go' nevar piekļūt iekšējiem diskiem un klusi veikt neatgriezeniskus failu sistēmas jauninājumus."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automātiski izveidos lokālo kontu ar norādīto lietotājvārdu, izmantojot tukšu paroli, kas būs jāmaina nākamajā pieteikšanās reizē."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Dublēs reģionālos iestatījumus no šī datora (tastatūra, laika josla, valūta), tā vietā, lai prasīt lietotājam."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Nešifrēs sistēmas disku, ja vien to neaktivizēs lietotājs."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Izmantojiet šo opciju tikai tad, ja zināt, kas ir S-Mode, un saprotat, ka sistēma var tikt bloķēta S-režīmā pat pēc pilnīgas Windows dzēšanas un atkārtotas instalēšanas."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Izmantojiet šo opciju, ja sistēma, kurā plānojat instalēt sistēmu Windows, izmanto pilnībā atjauninātus Secure Boot sertifikātus. Ja nepieciešams, sistēmas atjaunināšanai varat izmantot Mosby."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Izmantojiet šo opciju, ja vēlaties atsaukt papildu potenciāli nedrošos Windows ielādētājus, taču var arī novērst standarta Windows multivides palaišanu."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Quality of Life\" uzlabojumi: Tiks atspējota lielākā daļu nevēlamo funkciju, ko Microsoft mēģina uzspiest lietotājiem."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Ja izmantojat šo opciju, atvienojiet visus diskus no mērķa datora, izņemot to, kurā vēlaties instalēt OS Windows, kā arī neatstājiet multividi, kuru nevēlaties dzēst, pievienotu nevienam no datoriem."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/ms-MY.po b/res/loc/po/ms-MY.po
index 8ac35f44..5f387d4a 100644
--- a/res/loc/po/ms-MY.po
+++ b/res/loc/po/ms-MY.po
@@ -1,2131 +1,1947 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: 4.14\n"
-"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-30 21:19+0300\n"
-"PO-Revision-Date: 2026-04-30 21:44+0300\n"
-"Last-Translator: \n"
-"Language-Team: \n"
-"Language: ms_MY\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Poedit-SourceCharset: UTF-8\n"
-"X-Rufus-LanguageName: Malay (Bahasa Malaysia)\n"
-"X-Rufus-LCID: 0x043e, 0x083e\n"
-"X-Generator: Poedit 3.6\n"
-
-#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
-msgid "Drive Properties"
-msgstr "Sifat cakera"
-
-#. • IDD_DIALOG → IDS_DEVICE_TXT
-msgid "Device"
-msgstr "Peranti"
-
-#. • IDD_DIALOG → IDS_BOOT_SELECTION_TXT
-msgid "Boot selection"
-msgstr "Jenis boot"
-
-#. • IDD_DIALOG → IDC_SELECT
-msgid "Select"
-msgstr "Pilih"
-
-#. • IDD_DIALOG → IDS_IMAGE_OPTION_TXT
-msgid "Image Option"
-msgstr "Pilihan Imej"
-
-#. • IDD_DIALOG → IDS_PARTITION_TYPE_TXT
-msgid "Partition scheme"
-msgstr "Skema partisyen"
-
-#. • IDD_DIALOG → IDS_TARGET_SYSTEM_TXT
-msgid "Target system"
-msgstr "Sistem yang akan dipasang"
-
-#. • IDD_DIALOG → IDC_LIST_USB_HDD
-msgid "List USB Hard Drives"
-msgstr "Senaraikan Cakera Keras USB"
-
-#. • IDD_DIALOG → IDC_OLD_BIOS_FIXES
-#.
-#. It is acceptable to drop the parenthesis () if you are running out of space
-#. as there is a tooltip (MSG_169) providing these details.
-msgid "Add fixes for old BIOSes (extra partition, align, etc.)"
-msgstr "Tambah pembaikan untuk BIOS lama"
-
-#. • IDD_DIALOG → IDC_UEFI_MEDIA_VALIDATION
-#.
-#. It is acceptable to drop the "runtime" if you are running out of space
-msgid "Enable runtime UEFI media validation"
-msgstr "Dayakan pengesahan media UEFI masa jalan"
-
-#. • IDD_DIALOG → IDS_FORMAT_OPTIONS_TXT
-msgid "Format Options"
-msgstr "Pilihan format"
-
-#. • IDD_DIALOG → IDS_FILE_SYSTEM_TXT
-msgid "File system"
-msgstr "Sistem fail"
-
-#. • IDD_DIALOG → IDS_CLUSTER_SIZE_TXT
-msgid "Cluster size"
-msgstr "Saiz gugusan"
-
-#. • IDD_DIALOG → IDS_LABEL_TXT
-msgid "Volume label"
-msgstr "Label jilid baharu"
-
-#. • IDD_DIALOG → IDC_QUICK_FORMAT
-msgid "Quick format"
-msgstr "Format pantas"
-
-#. • IDD_DIALOG → IDC_BAD_BLOCKS
-msgid "Check device for bad blocks"
-msgstr "Semak peranti untuk blok rosak"
-
-#. • IDD_DIALOG → IDC_EXTENDED_LABEL
-msgid "Create extended label and icon files"
-msgstr "Cipta label lanjut dan fail ikon"
-
-#. • IDD_DIALOG → IDS_STATUS_TXT
-msgid "Status"
-msgstr ""
-
-#. • IDD_DIALOG → IDCANCEL
-#. • IDD_LICENSE → IDCANCEL
-#. • IDD_LOG → IDCANCEL
-#. • IDD_UPDATE_POLICY → IDCANCEL
-#. • IDD_NEW_VERSION → IDCANCEL
-#. • MSG_006
-msgid "Close"
-msgstr "Tutup"
-
-#. • IDD_DIALOG → IDC_START
-msgid "Start"
-msgstr "Mula"
-
-#. • IDD_ABOUTBOX → IDD_ABOUTBOX
-msgid "About Rufus"
-msgstr "Mengenai Rufus"
-
-#. • IDD_ABOUTBOX → IDC_ABOUT_LICENSE
-msgid "License"
-msgstr "Lesen"
-
-#. • IDD_ABOUTBOX → IDOK
-msgid "OK"
-msgstr ""
-
-#. • IDD_LICENSE → IDD_LICENSE
-msgid "Rufus License"
-msgstr "Lesen Rufus"
-
-#. • IDD_NOTIFICATION → IDC_MORE_INFO
-msgid "More information"
-msgstr "Maklumat lanjut"
-
-#. • IDD_NOTIFICATION → IDYES
-#. • MSG_008
-msgid "Yes"
-msgstr "Ya"
-
-#. • IDD_NOTIFICATION → IDNO
-#. • MSG_009
-msgid "No"
-msgstr "Tidak"
-
-#. • IDD_LOG → IDD_LOG
-msgid "Log"
-msgstr ""
-
-#. • IDD_LOG → IDC_LOG_CLEAR
-msgid "Clear"
-msgstr "Padam"
-
-#. • IDD_LOG → IDC_LOG_SAVE
-msgid "Save"
-msgstr "Simpan"
-
-#. • IDD_UPDATE_POLICY → IDD_UPDATE_POLICY
-msgid "Update policy and settings"
-msgstr "Kemaskini dasar dan tetapan"
-
-#. • IDD_UPDATE_POLICY → IDS_UPDATE_SETTINGS_GRP
-msgid "Settings"
-msgstr "Tetapan"
-
-#. • IDD_UPDATE_POLICY → IDS_UPDATE_FREQUENCY_TXT
-msgid "Check for updates"
-msgstr "Semak untuk versi baharu"
-
-#. • IDD_UPDATE_POLICY → IDS_INCLUDE_BETAS_TXT
-msgid "Include beta versions"
-msgstr "Termasuk versi beta"
-
-#. • IDD_UPDATE_POLICY → IDC_CHECK_NOW
-msgid "Check Now"
-msgstr "Semak sekarang"
-
-#. • IDD_NEW_VERSION → IDD_NEW_VERSION
-msgid "Check For Updates - Rufus"
-msgstr "Semak untuk versi baharu - Rufus"
-
-#. • IDD_NEW_VERSION → IDS_NEW_VERSION_AVAIL_TXT
-msgid "A newer version is available. Please download the latest version!"
-msgstr "Terdapat versi Rufus yang baharu. Sila muat turun versi yang terkini!"
-
-#. • IDD_NEW_VERSION → IDC_WEBSITE
-msgid "Click here to go to the website"
-msgstr "Klik di sini untuk ke laman sesawang Rufus"
-
-#. • IDD_NEW_VERSION → IDS_NEW_VERSION_NOTES_GRP
-msgid "Release Notes"
-msgstr "Maklumat versi terbaharu"
-
-#. • IDD_NEW_VERSION → IDS_NEW_VERSION_DOWNLOAD_GRP
-#. • IDD_NEW_VERSION → IDC_DOWNLOAD
-#. • MSG_040
-msgid "Download"
-msgstr "Muat turun"
-
-#. • MSG_001
-msgid "Other instance detected"
-msgstr "Proses Rufus lain dikesan"
-
-#. • MSG_002
-msgid ""
-"Another Rufus application is running.\n"
-"Please close the first application before running another one."
-msgstr ""
-"Terdapat aplikasi Rufus sedang berjalan.\n"
-"Sila tutup aplikasi tersebut sebelum melancarkan aplikasi Rufus baharu."
-
-#. • MSG_003
-msgid ""
-"WARNING: ALL DATA ON DEVICE '%s' WILL BE DESTROYED.\n"
-"To continue with this operation, click OK. To quit click CANCEL."
-msgstr ""
-"AMARAN: SEMUA DATA DI DALAM PERANTI '%s' AKAN DIPADAM.\n"
-"Jika hendak teruskan, klik OK. Untuk berhenti, klik BATAL."
-
-#. • MSG_004
-msgid "Rufus update policy"
-msgstr "Dasar kemas kini Rufus"
-
-#. • MSG_005
-msgid "Do you want to allow Rufus to check for application updates online?"
-msgstr "Adakah anda mahu membenarkan Rufus menyemak untuk versi baharu dalam talian?"
-
-#. • MSG_007
-msgid "Cancel"
-msgstr "Batal"
-
-#. • MSG_010
-msgid "Bad blocks found"
-msgstr "Blok rosak dijumpai"
-
-#. • MSG_011
-msgid ""
-"Check completed: %d bad block(s) found\n"
-" %d read error(s)\n"
-" %d write error(s)\n"
-" %d corruption error(s)"
-msgstr ""
-"Semak selesai: %d blok rosak dijumpai\n"
-" %d ralat membaca\n"
-" %d ralat menulis\n"
-" %d ralat korupsi"
-
-#. • MSG_012
-#.
-#. This contains the formatted message from MSG_001 as well as the name of the bad blocks logfile
-msgid ""
-"%s\n"
-"A more detailed report can be found in:\n"
-"%s"
-msgstr ""
-"%s\n"
-"Laporan lebih terperinci boleh dijumpai di:\n"
-"%s"
-
-#. • MSG_013
-msgid "Disabled"
-msgstr "Nyahaktif"
-
-#. • MSG_014
-msgid "Daily"
-msgstr "Harian"
-
-#. • MSG_015
-msgid "Weekly"
-msgstr "Mingguan"
-
-#. • MSG_016
-msgid "Monthly"
-msgstr "Bulanan"
-
-#. • MSG_017
-msgid "Custom"
-msgstr "Tetapan sendiri"
-
-#. • MSG_018
-msgid "Your version: %d.%d (Build %d)"
-msgstr "Versi anda: %d.%d (Binaan %d)"
-
-#. • MSG_019
-msgid "Latest version: %d.%d (Build %d)"
-msgstr "Versi terkini: %d.%d (Binaan %d)"
-
-#. • MSG_020
-#. • MSG_026
-msgid "bytes"
-msgstr "bait"
-
-#. • MSG_021
-#.
-#. *Short* version of the kilobyte size suffix
-msgid "KB"
-msgstr ""
-
-#. • MSG_022
-#.
-#. *Short* version of the megabyte size suffix
-msgid "MB"
-msgstr ""
-
-#. • MSG_023
-#.
-#. *Short* version of the gigabyte size suffix
-msgid "GB"
-msgstr ""
-
-#. • MSG_024
-#.
-#. *Short* version of the terabyte size suffix
-msgid "TB"
-msgstr ""
-
-#. • MSG_025
-#.
-#. *Short* version of the petabyte size suffix
-msgid "PB"
-msgstr ""
-
-#. • MSG_027
-msgid "kilobytes"
-msgstr "kilobait"
-
-#. • MSG_028
-msgid "megabytes"
-msgstr "megabait"
-
-#. • MSG_029
-msgid "Default"
-msgstr "Tetapan asal"
-
-#. • MSG_030
-#.
-#. This gets appended to the file system, cluster size, etc.
-msgid "%s (Default)"
-msgstr "%s (Tetapan asal)"
-
-#. • MSG_031
-msgid "BIOS (or UEFI-CSM)"
-msgstr "BIOS (atau UEFI-CSM)"
-
-#. • MSG_032
-msgid "UEFI (non CSM)"
-msgstr "UEFI (bukan CSM)"
-
-#. • MSG_033
-msgid "BIOS or UEFI"
-msgstr "BIOS atau UEFI"
-
-#. • MSG_034
-#.
-#. Number of bad block check passes (singular for 1 pass)
-msgid "%d pass"
-msgstr "%d kali lulus"
-
-#. • MSG_035
-#.
-#. Number of bad block check passes (plural for 2 or more passes).
-#. See MSG_087 for the message that %s gets replaced with.
-msgid "%d passes %s"
-msgstr "%d kali lulus %s"
-
-#. • MSG_036
-msgid "ISO Image"
-msgstr "Imej ISO"
-
-#. • MSG_037
-msgid "Application"
-msgstr "Aplikasi"
-
-#. • MSG_038
-msgid "Abort"
-msgstr "Batal"
-
-#. • MSG_039
-msgid "Launch"
-msgstr "Mula"
-
-#. • MSG_041
-msgid "Operation cancelled by the user"
-msgstr "Operasi dibatalkan oleh pengguna"
-
-#. • MSG_042
-msgid "Error"
-msgstr "Ralat"
-
-#. • MSG_043
-msgid "Error: %s"
-msgstr "Ralat: %s"
-
-#. • MSG_044
-msgid "File download"
-msgstr "Muat turun fail"
-
-#. • MSG_045
-msgid "USB Storage Device (Generic)"
-msgstr "Peranti storan USB (Generik)"
-
-#. • MSG_046
-msgid "%s (Disk %d) [%s]"
-msgstr "%s (Cakera %d) [%s]"
-
-#. • MSG_047
-#.
-#. Used when a drive is detected that contains more than one partition
-msgid "Multiple Partitions"
-msgstr "Beberapa Partisyen"
-
-#. • MSG_048
-msgid "Rufus - Flushing buffers"
-msgstr "Rufus - 'Flush' penimbal"
-
-#. • MSG_049
-msgid "Rufus - Cancellation"
-msgstr "Rufus - Pembatalan"
-
-#. • MSG_050
-msgid "Success."
-msgstr "Berjaya."
-
-#. • MSG_051
-msgid "Undetermined error while formatting."
-msgstr "Ralat yang tidak dapat ditentukan ketika memformat."
-
-#. • MSG_052
-msgid "Cannot use the selected file system for this media."
-msgstr "Tidak boleh menggunakan sistem fail yang dipilih untuk media ini."
-
-#. • MSG_053
-msgid "Access to the device is denied."
-msgstr "Akses kepada peranti dinafikan."
-
-#. • MSG_054
-msgid "Media is write protected."
-msgstr "Tidak boleh menulis data ke peranti (Dilindungi)"
-
-#. • MSG_055
-msgid "The device is in use by another process. Please close any other process that may be accessing the device."
-msgstr "Peranti ini digunakan oleh proses lain. Sila tutup mana-mana program yang mungkin menggunakan peranti ini."
-
-#. • MSG_056
-msgid "Quick format is not available for this device."
-msgstr "Format pantas tidak boleh digunakan pada peranti ini."
-
-#. • MSG_057
-msgid "The volume label is invalid."
-msgstr "Label jilid tidak sah."
-
-#. • MSG_058
-msgid "The device handle is invalid."
-msgstr "Pengendali peranti tidak sah."
-
-#. • MSG_059
-msgid "The selected cluster size is not valid for this device."
-msgstr "Saiz gugusan yang dipilih tidak boleh digunakan pada peranti ini."
-
-#. • MSG_060
-msgid "The volume size is invalid."
-msgstr "Saiz jilid tidak sah."
-
-#. • MSG_061
-msgid "Please insert a removable media in drive."
-msgstr "Sila masukkan media boleh alih ke dalam pemacu."
-
-#. • MSG_062
-msgid "An unsupported command was received."
-msgstr "Arahan yang tidak disokong diterima."
-
-#. • MSG_063
-msgid "Memory allocation error."
-msgstr "Kesilapan peruntukkan memori."
-
-#. • MSG_064
-msgid "Read error."
-msgstr "Kesilapan membaca."
-
-#. • MSG_065
-msgid "Write error."
-msgstr "Kesilapan menulis."
-
-#. • MSG_066
-msgid "Installation failure"
-msgstr "Kegagalan memasang"
-
-#. • MSG_067
-msgid "Could not open media. It may be in use by another process. Please re-plug the media and try again."
-msgstr "Media tidak boleh dibuka. Ia mungkin digunakan dalam proses yang lain. Sila cabut dan masukkan semula dan cuba sekali lagi."
-
-#. • MSG_068
-msgid "Could not partition drive."
-msgstr "Tidak boleh partition drive."
-
-#. • MSG_069
-msgid "Could not copy files to target drive."
-msgstr "Tidak boleh meyalin fail kepada pemacu."
-
-#. • MSG_070
-msgid "Cancelled by user."
-msgstr "Dibatalkan oleh pengguna."
-
-#. • MSG_071
-#.
-#. See http://en.wikipedia.org/wiki/Thread_%28computing%29
-msgid "Unable to start thread."
-msgstr "Proses-proses kecil tidak boleh dimulakan."
-
-#. • MSG_072
-msgid "Bad blocks check didn't complete."
-msgstr "Penyemakan blok rosak tidak dapat diselesaikan."
-
-#. • MSG_073
-msgid "ISO image scan failure."
-msgstr "Kegagalan imbasan imej ISO."
-
-#. • MSG_074
-msgid "ISO image extraction failure."
-msgstr "Pengekstrakan imej ISO gagal."
-
-#. • MSG_075
-msgid "Unable to remount volume."
-msgstr "Tidak dapat melekap semula jilid."
-
-#. • MSG_076
-msgid "Unable to patch/setup files for boot."
-msgstr "Tidak dapat menyediakan fail-fail untuk boot."
-
-#. • MSG_077
-msgid "Unable to assign a drive letter."
-msgstr "Tidak dapat menetapkan huruf pemacu."
-
-#. • MSG_078
-msgid "Can't mount GUID volume."
-msgstr "Tidak boleh lekap jilid GUID."
-
-#. • MSG_079
-msgid "The device is not ready."
-msgstr "Peranti ini tidak sedia untuk digunakan."
-
-#. • MSG_080
-msgid ""
-"Rufus detected that Windows is still flushing its internal buffers onto the USB device.\n"
-"\n"
-"Depending on the speed of your USB device, this operation may take a long time to complete, especially for large files.\n"
-"\n"
-"We recommend that you let Windows finish, to avoid corruption. But if you grow tired of waiting, you can just unplug the device..."
-msgstr ""
-"Rufus mengesan bahawa Windows masih lagi menarik penimbal ke dalam peranti USB.\n"
-"\n"
-"Bergantung kepada kelajuan peranti USB anda, operasi ini mungkin mengambil masa yang amat lama.Terutamanya untuk fail besar.\n"
-"\n"
-"Kami cadangkan anda biarkan proses Windows untuk tamat dahulu supaya mengelakkan korupsi.Namun, jika anda kesuntukan masa, anda boleh cabutkan peranti anda..."
-
-#. • MSG_081
-msgid "Unsupported image"
-msgstr "Imej tidak disokong"
-
-#. • MSG_082
-msgid "This image is either non-bootable, or it uses a boot or compression method that is not supported by Rufus..."
-msgstr "Imej ini sama ada tidak boleh boot, atau ia menggunakan kaedah boot atau mampatan yang tidak disokong oleh Rufus..."
-
-#. • MSG_083
-msgid "Replace %s?"
-msgstr "Gantikan %s?"
-
-#. • MSG_084
-msgid ""
-"This ISO image seems to use an obsolete version of '%s'.\n"
-"Boot menus may not display properly because of this.\n"
-"\n"
-"A newer version can be downloaded by Rufus to fix this issue:\n"
-"- Choose 'Yes' to connect to the internet and download the file\n"
-"- Choose 'No' to leave the existing ISO file unmodified\n"
-"If you don't know what to do, you should select 'Yes'.\n"
-"\n"
-"Note: The new file will be downloaded in the current directory and once a '%s' exists there, it will be reused automatically."
-msgstr ""
-"Imej ISO ini menggunakan versi '%s' yang telah lapuk.\n"
-"Oleh sebab ini, menu boot mungkin tidak dipaparkan dengan betul.\n"
-"\n"
-"Versi yang lebih baharu boleh dimuat turun oleh Rufus untuk memperbaiki isu ini:\n"
-"- Pilih 'Ya' untuk menyambung ke internet dan muat turun fail tersebut\n"
-"- Pilih 'Tidak' untuk tidak mengubahsuai fail ISO yang digunakan\n"
-"Jika anda tidak pasti apa yang perlu dilakukan, pilih 'Ya'.\n"
-"\n"
-"Perhatian: Fail yang dimuat turun akan disimpan di dalam direktori bersamaan dengan Rufus dan apabila terdapat '%s' , ia akan digunakan secara automatik."
-
-#. • MSG_085
-msgid "Downloading %s"
-msgstr "Sedang memuat turun %s"
-
-#. • MSG_086
-msgid "No image selected"
-msgstr "Tiada imej yang dipilih"
-
-#. • MSG_087
-#.
-#. This message appears in Advanced format options → Check device for bad blocks → dropdown menu
-#. %s will be replaced with SLC, MLC or TLC, which is a type of NAND (or flash memory). In other
-#. words, this message should mean "for a flash memory device of type %s". *Please* try to keep
-#. the translation as short as possible so that it won't result in an overly large dropdown...
-#. If you prefer, it's okay to use "type" or "device" instead of "NAND" (e.g. "for TLC type").
-#. See also MSG_035.
-msgid "for %s NAND"
-msgstr "untuk %s NAND"
-
-#. • MSG_088
-msgid "Image is too big"
-msgstr "Imej terlalu besar"
-
-#. • MSG_089
-msgid "The image is too big for the selected target."
-msgstr "Imej ini terlalu besar untuk sasaran yang dipilih."
-
-#. • MSG_090
-msgid "Unsupported ISO"
-msgstr "ISO tidak disokong"
-
-#. • MSG_091
-msgid "When using UEFI Target Type, only EFI bootable ISO images are supported. Please select an EFI bootable ISO or set the Target Type to BIOS."
-msgstr "Apabila menggunakan jenis sasaran UEFI , hanya imej boot jenis EFI sahaja disokong. Sila pilih ISO boot jenis EFI atau tukarkan jenis sasaran kepada BIOS."
-
-#. • MSG_092
-msgid "Unsupported filesystem"
-msgstr "Sistem fail tidak disokong"
-
-#. • MSG_093
-msgid ""
-"IMPORTANT: THIS DRIVE CONTAINS MULTIPLE PARTITIONS!!\n"
-"\n"
-"This may include partitions/volumes that aren't listed or even visible from Windows. Should you wish to proceed, you are responsible for any data loss on these partitions."
-msgstr ""
-"PENTING: PERANTI INI MEMPUNYAI BEBERAPA PARTISYEN!!\n"
-"\n"
-"Ini mungkin termasuk partisyen/jilid yang tidak disenaraikan atau tidak boleh dilihat dari Windows. Jika anda mahu meneruskannya, anda bertanggungjawab ke atas kehilangan data dalam partisyen tersebut."
-
-#. • MSG_094
-msgid "Multiple partitions detected"
-msgstr "Beberapa partisyen dikesan"
-
-#. • MSG_095
-msgid "DD Image"
-msgstr "DD Imej"
-
-#. • MSG_096
-msgid "The file system currently selected can not be used with this type of ISO. Please select a different file system or use a different ISO."
-msgstr "Sistem fail yang sedang dipilih tidak boleh digunakan dengan jenis ISO ini. Sila pilih sistem fail berlainan atau gunakan ISO berlainan."
-
-#. • MSG_097
-msgid "'%s' can only be applied if the file system is NTFS."
-msgstr "'Windows To Go' hanya boleh digunakan jika sistem fail adalah NTFS."
-
-#. • MSG_098
-msgid ""
-"IMPORTANT: You are trying to install 'Windows To Go', but your target drive doesn't have the 'FIXED' attribute. Because of this Windows will most likely freeze during boot, as Microsoft hasn't designed it to work with drives that instead have the 'REMOVABLE' attribute.\n"
-"\n"
-"Do you still want to proceed?\n"
-"\n"
-"Note: The 'FIXED/REMOVABLE' attribute is a hardware property that can only be changed using custom tools from the drive manufacturer. However those tools are ALMOST NEVER provided to the public..."
-msgstr ""
-"PENTING: Anda cuba memasang 'Windows To Go', tetapi pemacu sasaran anda tidak mempunyai atribut 'FIXED'. Disebabkan ini Windows akan berkemungkinan besar sangkut sepanjang but, kerana Microsoft tidak merekanya untuk berfungsi dengan pemacu yang sebaliknya mempunyai atribut 'REMOVABLE'.\n"
-"\n"
-"Adakah anda masih mahu teruskan?\n"
-"\n"
-"Nota: Atribut 'FIXED/REMOVABLE'adalah sifat perkakasan yang hanya boleh ditukar menggunakan alatan tersuai daripada pengilang pemacu. Bagaimanapun alatan tersebut adalah HAMPIR TIDAK AKAN diberikan kepada umum..."
-
-#. • MSG_099
-msgid "Filesystem limitation"
-msgstr "Had sistem fail"
-
-#. • MSG_100
-msgid "This ISO image contains a file larger than 4 GB, which is more than the maximum size allowed for a FAT or FAT32 file system."
-msgstr "Imej ISO ini mengandungi fail yang lebih besar daripada 4 GB iaitu saiz maksima yang dibenarkan untuk sistem fail FAT atau FAT32."
-
-#. • MSG_101
-msgid "Missing WIM support"
-msgstr "Tiada sokongan WIM"
-
-#. • MSG_102
-msgid ""
-"Your platform cannot extract files from WIM archives. WIM extraction is required to create EFI bootable Windows 7 and Windows Vista USB drives. You can fix that by installing a recent version of 7-Zip.\n"
-"Do you want to visit the 7-zip download page?"
-msgstr ""
-"Platform anda tidak boleh mengekstrak fail daripada arkib WIM. Ini diperlukan untuk mencipta cakera boot EFI Windows 7 dan Windows Vista. Anda boleh membaikinya dengan cara mendapatkan versi 7-Zip terbaharu.\n"
-"Adakah anda mahu ke halaman muat turun 7-zip?"
-
-#. • MSG_103
-msgid "Download %s?"
-msgstr "Muat turun %s?"
-
-#. • MSG_104
-#.
-#. Example: "Grub4DOS v0.4 or later requires a 'grldr' file to be installed. Because this
-#. file is more than 100 KB in size, and always present on Grub4DOS ISO images (...)"
-msgid ""
-"%s or later requires a '%s' file to be installed.\n"
-"Because this file is more than 100 KB in size, and always present on %s ISO images, it is not embedded in Rufus.\n"
-"\n"
-"Rufus can download the missing file for you:\n"
-"- Select 'Yes' to connect to the internet and download the file\n"
-"- Select 'No' if you want to manually copy this file on the drive later\n"
-"\n"
-"Note: The file will be downloaded in the current directory and once a '%s' exists there, it will be reused automatically."
-msgstr ""
-"%s atau kemudian memerlukan fail '%s' di komputer anda.\n"
-"Oleh sebab fail tersebut lebih besar daripada 100 KB dan sentiasa ada dalam imej %s, Ia tidak termasuk dalam Rufus.\n"
-"\n"
-"Rufus boleh memuat turun fail tersebut untuk anda:\n"
-"- Pilih 'Ya' untuk muat turun fail tersebut\n"
-"- Pilih 'Tidak' jika anda mahu menyalin fail tersebut secara manual ke cakera ini pada masa lain\n"
-"\n"
-"Perhatian: Fail akan dimuat turun ke direktori bersamaan Rufus dan apabila '%s' ada di sana, ia akan digunakan semula secara automatik."
-
-#. • MSG_105
-msgid ""
-"Cancelling may leave the device in an UNUSABLE state.\n"
-"If you are sure you want to cancel, click YES. Otherwise, click NO."
-msgstr ""
-"Pembatalan boleh menyebabkan peranti ini TIDAK BOLEH DIGUNAKAN SEMULA.\n"
-"Jika anda pasti anda mahu membatalkannya, klik Ya. Sebaliknya, klik Tidak."
-
-#. • MSG_106
-msgid "Please select folder"
-msgstr "Sila pilih folder"
-
-#. • MSG_107
-msgid "All files"
-msgstr "Semua fail"
-
-#. • MSG_108
-msgid "Rufus log"
-msgstr "Log Rufus"
-
-#. • MSG_109
-msgid "0x%02X (Disk %d)"
-msgstr "0x%02X (Cakera %d)"
-
-#. • MSG_110
-#.
-#. "Cluster size" should be the same as the label for IDS_CLUSTER_SIZE_TXT
-#. "kilobytes" should be the same as in MSG_027
-msgid ""
-"MS-DOS cannot boot from a drive using a 64 kilobytes Cluster size.\n"
-"Please change the Cluster size or use FreeDOS."
-msgstr ""
-"MS-DOS tidak boleh boot daripada cakera yang menggunakan saiz gugusan 64 kilobait.\n"
-"Sila tukarkan saiz gugusan atau gunakan FreeDOS."
-
-#. • MSG_111
-msgid "Incompatible Cluster size"
-msgstr "Saiz gugusan tidak sesuai"
-
-#. • MSG_112
-#.
-#. "%d:%02d" is a duration (mins:secs)
-msgid "Formatting a large UDF volumes can take a lot of time. At USB 2.0 speeds, the estimated formatting duration is %d:%02d, during which the progress bar will appear frozen. Please be patient!"
-msgstr "Pemformatan jilid UDF yang besar mengambil masa yang amat lama. Pada kelajuan USB 2.0, anggaran masa pemformatan adalah %d:%02d, dimana bar kemajuan akan kelihatan seperti ia tidak bergerak. Sila bersabar!"
-
-#. • MSG_113
-msgid "Large UDF volume"
-msgstr "Jilid UDF besar"
-
-#. • MSG_114
-msgid ""
-"This image uses Syslinux %s%s but this application only includes the installation files for Syslinux %s%s.\n"
-"\n"
-"As new versions of Syslinux are not compatible with one another, and it wouldn't be possible for Rufus to include them all, two additional files must be downloaded from the Internet ('ldlinux.sys' and 'ldlinux.bss'):\n"
-"- Select 'Yes' to connect to the Internet and download these files\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the current application directory and will be reused automatically if present."
-msgstr ""
-"Imej ini menggunakan Syslinux %s%s tetapi aplikasi ini hanya mempunyai fail pemasangan untukSyslinux %s%s.\n"
-"\n"
-"Oleh kerana versi-versi baharu Syslinux tidak serasi dengan satu sama lain, maka tidakwajar Rufus menyediakan semuanya, dua fail tambahan perlu dimuat turun dariInternet ('ldlinux.sys' dan 'ldlinux.bss'):\n"
-"- Pilih 'Ya' untuk menyambung ke Internet dan memuat turun fail tersebut\n"
-"- Pilih 'Tidak' untuk membatalkan operasi\n"
-"\n"
-"NOTA:Fail akan dimuat turun ke dalam direktori aplikasi ini dan akan digunakan semulasecara automatik sekiranya sedia ada."
-
-#. • MSG_115
-msgid "Download required"
-msgstr "Muat turun diperlukan"
-
-#. • MSG_116
-#.
-#. You should be able to test this message with Super Grub2 Disk ISO:
-#. https://sourceforge.net/projects/supergrub2/files/2.00s2/super_grub2_disk_hybrid_2.00s2.iso/download (11.9 MB)
-msgid ""
-"This image uses Grub %s but the application only includes the installation files for Grub %s.\n"
-"\n"
-"As different versions of Grub may not be compatible with one another, and it is not possible to include them all, Rufus will attempt to locate a version of the Grub installation file ('core.img') that matches the one from your image:\n"
-"- Select 'Yes' to connect to the Internet and attempt to download it\n"
-"- Select 'No' to use the default version from Rufus\n"
-"- Select 'Cancel' to abort the operation\n"
-"\n"
-"Note: The file will be downloaded in the current application directory and will be reused automatically if present. If no match can be found online, then the default version will be used."
-msgstr ""
-"Imej ini menggunakan Grub %s tetapi aplikasi hanya termasuk fail pemasangan untuk Grub %s.\n"
-"\n"
-"Sepertimana versi Grub berlainan mungkin tidak sesuai antara satu sama lain, dan ianya tidak mungkin untuk memasukkan mereka semua, Rufus akan cuba mengesan versi fail pemasangan Grub ('core.img') yang sepadan dengan salah satu daripada imej anda:\n"
-"- Pilih 'Ya' untuk bersambung ke Internet dan cuba memuat turunnya\n"
-"- Pilih 'Tidak' untuk menggunakan versi lalai dari Rufus\n"
-"- Pilih 'Batal' untuk membatalkan operasi\n"
-"\n"
-"Nota: Fail akan dimuat turun dalam direktori aplikasi semasa dan akan digunakan semula secara automatik jika ada. Jika tiada padanan boleh dijumpai dalam talian, versi lalai akan digunakan."
-
-#. • MSG_117
-msgid "Standard Windows installation"
-msgstr "Pemasangan Windows biasa"
-
-#. • MSG_118
-#.
-#. Only translate this message *if* Microsoft has a specific name for
-#. http://en.wikipedia.org/wiki/Windows_To_Go in your language.
-#. Otherwise, you may add a parenthesis eg. "Windows To Go ()"
-msgid "Windows To Go"
-msgstr ""
-
-#. • MSG_119
-msgid "advanced drive properties"
-msgstr "pilihan tambahan pemacu"
-
-#. • MSG_120
-msgid "advanced format options"
-msgstr "pilihan format tambahan"
-
-#. • MSG_121
-msgid "Show %s"
-msgstr "Tunjuk %s"
-
-#. • MSG_122
-msgid "Hide %s"
-msgstr "Sembunyi %s"
-
-#. • MSG_123
-#.
-#. A persistent partitions can be used with "Live" USB media to store data.
-#. It means that data can be preserved across reboots on "Live" USB drives.
-#. To test this feature, please download and select 'casper_test.iso' from:
-#. https://github.com/pbatard/rufus/raw/master/res/loc/test/casper_test.iso
-msgid "Persistent partition size"
-msgstr "Saiz pemetakan berterusan (persistence partition)"
-
-#. • MSG_124
-#.
-#. This message appears in the persistence 'Size' control when the slider is set to 0.
-#. It is okay to use "No partition" or "None" or "Deactivated" to indicate that a persistent partition will not be
-#. created if the width of the control is too small (since the 'Size' edit control is *not* adjusted for width).
-msgid "No persistence"
-msgstr "Tidak berterusan"
-
-#. • MSG_125
-#.
-#. Tooltips used for the persistence size slider and edit control
-msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
-msgstr "Mengeset saiz pemetakan berterusan (persistent partition) untuk media 'live USB'. Setkan saiz kepada 0 untuk melumpuhkan pemetakan berterusan."
-
-#. • MSG_126
-msgid "Set the partition size units."
-msgstr "Set saiz unit pemetakan."
-
-#. • MSG_127
-msgid "Do not show this message again"
-msgstr "Henti papar mesej ini"
-
-#. • MSG_128
-msgid "Important notice about %s"
-msgstr "Notis penting berkenaan %s"
-
-#. • MSG_129
-msgid ""
-"You have just created a media that uses the UEFI:NTFS bootloader. Please remember that, to boot this media, YOU MUST DISABLE SECURE BOOT.\n"
-"For details on why this is necessary, see the 'More Information' button below."
-msgstr ""
-"Anda telah menghasilkan media yang menggunakan bootloader UEFI:NTFS. ANDA PERLU MEMATIKAN PILIHAN SECURE BOOT.\n"
-"Untuk mengetahui dengan lebih lanjut, sila klik butang 'Maklumat Lanjut' di bawah."
-
-#. • MSG_130
-msgid "Windows image selection"
-msgstr "Pemilihan imej Windows"
-
-#. • MSG_131
-msgid ""
-"This ISO contains multiple Windows images.\n"
-"Please select the image you wish to use for this installation:"
-msgstr ""
-"ISO ini mengandungi beberapa imej Windows.\n"
-"Sila pilih imej yang anda ingin gunakan untuk pemasangan:"
-
-#. • MSG_132
-msgid "Another program or process is accessing this drive. Do you want to format it anyway?"
-msgstr "Terdapat program atau proses lain sedang mencapai pemacu ini. Adakah anda mahu memformatnya juga?"
-
-#. • MSG_133
-msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
-"\n"
-"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
-"\n"
-"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
-msgstr ""
-"Rufus telah mengesan bahawa anda sedang mencuba untuk mencipta media Windows To Go berasaskan imej ISO 1809.\n"
-"\n"
-"Memandangkan terdapat pepijat dari MICROSOFT, media ini akan menghadapi masalah (Blue Screen Of Death) semasa memulakan Windows, melainkan anda menukar fail 'WppRecorder.sys' kepada versi 1803.\n"
-"\n"
-"Sila ambil perhatian. Rufus tidak akan membaiki masalah ini kerana 'WppRecorder.sys' adalah hak cipta milik Microsoft dan kami tidak dapat menyertakan salinan fail berkenaan bersama-sama aplikasi ini..."
-
-#. • MSG_134
-msgid ""
-"Because MBR has been selected for the partition scheme, Rufus can only create a partition up to 2 TB on this media, which will leave %s of disk space unavailable.\n"
-"\n"
-"Are you sure you want to continue?"
-msgstr ""
-"Memandangkan skema pemetakan MBR telah dipilih, Rufus akan menghasilkan petak storan media dengan saiz maksimum 2 TB, di mana %s ruang cakera adalah tidak tersedia.\n"
-"\n"
-"Adakah anda pasti ingin meneruskan operasi?"
-
-#. • MSG_135
-msgid "Version"
-msgstr "Versi"
-
-#. • MSG_136
-msgid "Release"
-msgstr "Keluaran"
-
-#. • MSG_137
-msgid "Edition"
-msgstr "Edisi"
-
-#. • MSG_138
-msgid "Language"
-msgstr "Bahasa"
-
-#. • MSG_139
-msgid "Architecture"
-msgstr "Kerangka"
-
-#. • MSG_140
-msgid "Continue"
-msgstr "Terus"
-
-#. • MSG_141
-msgid "Back"
-msgstr "Undur"
-
-#. • MSG_142
-msgid "Please wait..."
-msgstr "Sila tunggu..."
-
-#. • MSG_143
-msgid "Download using a browser"
-msgstr "Muat turun menggunakan pelayar web"
-
-#. • MSG_144
-msgid "Download of Windows ISOs is unavailable due to Microsoft having altered their website to prevent it."
-msgstr "Muat turun ISO Windows tidak tersedia kerana Microsoft telah mengubah laman web mereka untuk menghalangnya."
-
-#. • MSG_145
-msgid "PowerShell 3.0 or later is required to run this script."
-msgstr "PowerShell 3.0 atau versi lebih baru diperlukan untuk menjalankan skrip ini."
-
-#. • MSG_146
-msgid "Do you want to go online and download it?"
-msgstr "Adakah anda ingin ke dalam talian dan memuat turun?"
-
-#. • MSG_148
-msgid "Running download script..."
-msgstr "Menjalankan skrip untuk memuat turun..."
-
-#. • MSG_149
-msgid "Download ISO Image"
-msgstr "Memuat turun imej ISO"
-
-#. • MSG_150
-msgid "Type of computer you plan to use this bootable drive with. It is your responsibility to determine whether your target is of BIOS or UEFI type before you start creating the drive, as it may fail to boot otherwise."
-msgstr "Jenis komputer yang anda merancang untuk menggunakan cakera \"bootable\" ini. Adalah menjadi tanggungjawab anda untuk menentukan sama ada sasaran anda adalah jenis BIOS atau UEFI sebelum anda wujudkan cakera tersebut, kerana ia mungkin gagal untuk boot."
-
-#. • MSG_151
-#.
-#. You shouldn't translate 'Legacy Mode' as this is an option that usually appears in English in the UEFI settings.
-msgid "'UEFI-CSM' means that the device will only boot in BIOS emulation mode (also known as 'Legacy Mode') under UEFI, and not in native UEFI mode."
-msgstr "'UEFI-CSM' bermaksud peranti hanya akan boot di dalam mod emulasi BIOS (juga dikenali sebagai 'Legacy Mode') dibawah UEFI, dan bukan dalam mod asli UEFI."
-
-#. • MSG_152
-msgid "'non CSM' means that the device will only boot in native UEFI mode, and not in BIOS emulation mode (also known as 'Legacy Mode')."
-msgstr "'bukan CSM' bermaksud peranti hanya akan boot di dalam mod asli UEFI, dan bukan di mod emulasi BIOS (juga dikenali sebagai 'Legacy Mode')."
-
-#. • MSG_153
-msgid "Test pattern: 0x%02X"
-msgstr "Uji corak: 0x%02X"
-
-#. • MSG_154
-msgid "Test pattern: 0x%02X, 0x%02X"
-msgstr "Uji corak: 0x%02X, 0x%02X"
-
-#. • MSG_155
-msgid "Test pattern: 0x%02X, 0x%02X, 0x%02X"
-msgstr "Uji corak: 0x%02X, 0x%02X, 0x%02X"
-
-#. • MSG_156
-msgid "Test pattern: 0x%02X, 0x%02X, 0x%02X, 0x%02X"
-msgstr "Uji corak: 0x%02X, 0x%02X, 0x%02X, 0x%02X"
-
-#. • MSG_157
-msgid "Sets the target filesystem"
-msgstr "Menetapkan sistem fail sasaran"
-
-#. • MSG_158
-msgid "Minimum size that a block of data will occupy in the filesystem"
-msgstr "Saiz minima satu blok data akan gunakan dalam sistem fail"
-
-#. • MSG_159
-msgid ""
-"Use this field to set the drive label.\n"
-"International characters are accepted."
-msgstr ""
-"Gunakan ini untuk tetapkan label cakera.\n"
-"Huruf antarabangsa boleh digunakan."
-
-#. • MSG_160
-msgid "Toggle advanced options"
-msgstr "Togel pilihan lanjutan"
-
-#. • MSG_161
-msgid "Check the device for bad blocks using a test pattern"
-msgstr "Semak peranti untuk blok rosak menggunakan corak ujian"
-
-#. • MSG_162
-msgid "Uncheck this box to use the \"slow\" format method"
-msgstr "Nyahtanda kotak ini untuk menggunakan kaedah pemformatan perlahan"
-
-#. • MSG_163
-msgid "Method that will be used to create partitions"
-msgstr "Kaedah yang digunakan untuk mencipta partisyen"
-
-#. • MSG_164
-msgid "Method that will be used to make the drive bootable"
-msgstr "Kaedah yang digunakan untuk membuat cakera boot"
-
-#. • MSG_165
-msgid "Click to select or download an image..."
-msgstr "Klik untuk memilih atau memuat turun imej..."
-
-#. • MSG_166
-msgid "Check this box to allow the display of international labels and set a device icon (creates an autorun.inf)"
-msgstr "Klik kotak ini untuk membenarkan paparan label antarabangsa dan menetapkan ikon cakera (akan membuat fail autorun.inf)"
-
-#. • MSG_167
-msgid "Install a UEFI bootloader, that will perform MD5Sum file validation of the media"
-msgstr "Pasang pemuat but UEFI, yang akan melakukan pengesahan fail MD5Sum terhadap media"
-
-#. • MSG_169
-msgid ""
-"Create an extra hidden partition and try to align partitions boundaries.\n"
-"This can improve boot detection for older BIOSes."
-msgstr ""
-"Ciptakan partisyen tambahan tersembunyi dan cuba melaraskan sempadan partisyen.\n"
-"Ini boleh mempertingkatkan pengesanan boot untuk BIOS lama."
-
-#. • MSG_170
-msgid "Enable the listing of USB Hard Drive enclosures. USE AT YOUR OWN RISKS!!!"
-msgstr "Membolehkan penyenaraian pagaran cakera keras USB. GUNAKAN ATAS RISIKO SENDIRI!!!"
-
-#. • MSG_171
-msgid ""
-"Start the formatting operation.\n"
-"This will DESTROY any data on the target!"
-msgstr ""
-"Mulakan operasi pemformatan.\n"
-"Ini akan MEMADAMKAN semua data pada sasaran!"
-
-#. • MSG_172
-#.
-#. As of Rufus 3.2, *ALL* downloads from the servers are digitally signed, and their signature is validated using the
-#. public key that is embedded in the application. This message appears in an error dialog if the validation fails.
-msgid "Invalid download signature"
-msgstr "Tandatangan digital muat turun tidak sah"
-
-#. • MSG_173
-msgid "Click to select..."
-msgstr "Klik untuk memilih..."
-
-#. • MSG_174
-msgid "Rufus - The Reliable USB Formatting Utility"
-msgstr "Rufus - Utiliti pemformatan USB yang dipercayai"
-
-#. • MSG_175
-msgid "Version %d.%d (Build %d)"
-msgstr "Versi %d.%d (Build %d)"
-
-#. • MSG_176
-msgid "English translation: Pete Batard "
-msgstr ""
-"Terjemahan Bahasa Malaysia:\\line\n"
-"• Muhammad Aman \\line\n"
-"• VGPlayer \\line\n"
-"• Mohamad Ikhwan bin Kori \\line\n"
-"• Ilya Ignatev "
-
-#. • MSG_177
-msgid "Report bugs or request enhancements at:"
-msgstr "Laporkan masalah atau cadangan penambahbaikan di:"
-
-#. • MSG_178
-msgid "Additional Copyrights:"
-msgstr "Hak cipta tambahan:"
-
-#. • MSG_179
-msgid "Update Policy:"
-msgstr "Polisi kemaskini:"
-
-#. • MSG_180
-msgid "If you choose to allow this program to check for application updates, you agree that the following information may be collected on our server(s):"
-msgstr "Jika anda pilih untuk membenarkan perisian ini menyemak untuk aplikasi versi baharu, anda bersetuju untuk membenarkan pelayan kami mengumpulkan maklumat berikut:"
-
-#. • MSG_181
-msgid "Your operating system's architecture and version"
-msgstr "Versi dan kerangka sistem operasi"
-
-#. • MSG_182
-msgid "The version of the application you use"
-msgstr "Versi aplikasi yang anda gunakan"
-
-#. • MSG_183
-msgid "Your IP address"
-msgstr "Alamat IP anda"
-
-#. • MSG_184
-msgid "For the purpose of generating private usage statistics, we may keep the information collected, \\b for at most a year\\b0 . However, we will not willingly disclose any of this individual data to third parties."
-msgstr "Untuk tujuan menjana statistik penggunaan peribadi , kami mungkin menyimpan maklumat yang dikumpulkan, \\b untuk sekurang-kurangnya setahun\\b0 . Namun, kami tidak rela untuk mendedahkan maklumat ini kepada mana-mana pihak ketiga."
-
-#. • MSG_185
-msgid "Update Process:"
-msgstr "Proses mengemas kini:"
-
-#. • MSG_186
-msgid ""
-"Rufus does not install or run background services, therefore update checks are performed only when the main application is running.\\line\n"
-"Internet access is of course required when checking for updates."
-msgstr ""
-"Rufus tidak memasang atau menjalankan servis di latar belakang. Oleh itu, semakan kemas kini hanya dijalankan apabila aplikasi utama berjalan.\\line\n"
-"Akses internet diperlukan untuk menyemak untuk versi baru."
-
-#. • MSG_187
-msgid "Invalid image for selected boot option"
-msgstr "Imej tidak sah untuk pilihan boot yang dipilih"
-
-#. • MSG_188
-msgid "The current image doesn't match the boot option selected. Please use a different image or choose a different boot option."
-msgstr "Imej\ttidak serasi dengan pilihan boot yang dipilih. Sila gunakan imej lain atau pilih pilihan boot lain."
-
-#. • MSG_189
-msgid "This ISO image is not compatible with the selected filesystem"
-msgstr "Imej ISO ini tidak serasi dengan sistem fail yang dipilih"
-
-#. • MSG_190
-msgid "Incompatible drive detected"
-msgstr "Pemacu tidak serasi dikesan"
-
-#. • MSG_191
-#.
-#. Used in MSG_235
-msgid "Write pass"
-msgstr "Melepasi tulisan"
-
-#. • MSG_192
-#.
-#. Used in MSG_235
-msgid "Read pass"
-msgstr "Melepasi bacaan"
-
-#. • MSG_193
-msgid "Downloaded %s"
-msgstr "Muat turun %s"
-
-#. • MSG_194
-msgid "Could not download %s"
-msgstr "Tidak boleh muat turun %s"
-
-#. • MSG_195
-#.
-#. Example: "Using embedded version of Grub2 file(s)"
-msgid "Using embedded version of %s file(s)"
-msgstr "Menggunakan %s fail versi dibenam"
-
-#. • MSG_196
-msgid ""
-"IMPORTANT: THIS DRIVE USES A NONSTANDARD SECTOR SIZE!\n"
-"\n"
-"Conventional drives use a 512-byte sector size but this drive uses a %d-byte one. In many cases, this means that you will NOT be able to boot from this drive.\n"
-"Rufus can try to create a bootable drive, but there is NO WARRANTY that it will work."
-msgstr ""
-"PENTING: PEMACU INI MENGGUNAKAN SAIZ SEKTOR BUKAN PIAWAIAN!\n"
-"\n"
-"Pemacu konvensional mengunakan saiz sektor 512 bait tetapi pemacu ini menggunakan %d bait. Dalam banyak kes, ini bermaksud anda TIDAK akan mampu untuk but dari pemacu ini.\n"
-"Rufus boleh cuba untuk mencipta pemacu boleh but, tetapi TIDAK ADA JAMINAN ianya akan berfungsi."
-
-#. • MSG_197
-msgid "Nonstandard sector size detected"
-msgstr "Saiz sektor bukan standard dikesan"
-
-#. • MSG_198
-msgid "'Windows To Go' can only be installed on a GPT partitioned drive if it has the FIXED attribute set. The current drive was not detected as FIXED."
-msgstr "'Windows To Go' hanya boleh dipasang dalam pemacu berpartisyen GPT jika ia mempunyai set atribut 'FIXED'. Pemacu semasa tidak dikesan sebagai 'FIXED'."
-
-#. • MSG_199
-msgid "This feature is not available on this platform."
-msgstr "Ciri ini tidak tersedia di platform ini."
-
-#. • MSG_201
-msgid "Cancelling - Please wait..."
-msgstr "Sedang membatalkan - Sila tunggu..."
-
-#. • MSG_202
-msgid "Scanning image..."
-msgstr "Mengimbas imej..."
-
-#. • MSG_203
-msgid "Failed to scan image"
-msgstr "Imbasan imej gagal"
-
-#. • MSG_204
-#.
-#. %s is the name of an obsolete Syslinux .c32 module. Example: "Obsolete vesamenu.c32 detected"
-msgid "Obsolete %s detected"
-msgstr "%s lapuk dikesan"
-
-#. • MSG_205
-#.
-#. Display the name of the image selected. eg: "Using image: en_win7_x64_sp1.iso"
-msgid "Using image: %s"
-msgstr "Menggunakan imej: %s"
-
-#. • MSG_206
-#.
-#. Example: "Missing ldlinux.c32 file"
-msgid "Missing %s file"
-msgstr "Tidak menjumpai fail %s"
-
-#. • MSG_207
-#.
-#. The name proposed by Windows' Computer Management → Disk Management when you try to format
-#. a drive with an empty label. For an example, see https://rufus.ie/pics/default_name.png.
-msgid "New Volume"
-msgstr "Jilid baharu"
-
-#. • MSG_208
-#.
-#. Singular. Example: "1 device found"
-msgid "%d device found"
-msgstr "%d peranti dijumpai"
-
-#. • MSG_209
-#.
-#. Plural. Example: "3 devices found"
-msgid "%d devices found"
-msgstr "%d peranti dijumpai"
-
-#. • MSG_210
-msgid "READY"
-msgstr "SEDIA"
-
-#. • MSG_211
-msgid "Cancelled"
-msgstr "DIBATALKAN"
-
-#. • MSG_212
-msgid "Failed"
-msgstr "GAGAL"
-
-#. • MSG_213
-#.
-#. Used when a new update has been downloaded and launched
-msgid "Launching new application..."
-msgstr "Melancarkan aplikasi baru..."
-
-#. • MSG_214
-msgid "Failed to launch new application"
-msgstr "Gagal untuk melancarkan aplikasi baru"
-
-#. • MSG_215
-#.
-#. Example: "Opened some_file.txt"
-msgid "Opened %s"
-msgstr "%s dibuka"
-
-#. • MSG_216
-#.
-#. Example: "Saved rufus.log"
-msgid "Saved %s"
-msgstr "%s disimpan"
-
-#. • MSG_217
-#.
-#. Formatting status
-msgid "Formatting: %s"
-msgstr "Pemformatan: %s"
-
-#. • MSG_218
-msgid "Creating file system: Task %d/%d completed"
-msgstr "Mencipta sistem fail: Tugas %d/%d selesai"
-
-#. • MSG_219
-msgid "NTFS Fixup: %d%% completed"
-msgstr "Pembaikian NTFS: %d%% selesai"
-
-#. • MSG_220
-#.
-#. Parameter: the file system and an estimated duration in mins and secs.
-#. Example: "Formatting (UDF) - Estimated duration 3:21..."
-#. If "estimated duration" is too long, just use "estimated" or an abbreviation
-msgid "Formatting (%s) - estimated duration %d:%02d..."
-msgstr "Pemformatan (%s) - Jangka masa anggaran %d:%02d..."
-
-#. • MSG_221
-msgid "Setting label (%s)..."
-msgstr "Menetapkan Label (%s)..."
-
-#. • MSG_222
-#.
-#. Example: "Formatting (FAT32)..."
-msgid "Formatting (%s)..."
-msgstr "Pemformatan (%s)..."
-
-#. • MSG_223
-msgid "NTFS Fixup (Checkdisk)..."
-msgstr "Pembaikian NTFS (Periksa cakera)..."
-
-#. • MSG_224
-msgid "Clearing MBR/PBR/GPT structures..."
-msgstr "Memadam struktur MBR/PBR/GPT..."
-
-#. • MSG_225
-msgid "Requesting disk access..."
-msgstr "Meminta akses cakera..."
-
-#. • MSG_226
-msgid "Analyzing existing boot records..."
-msgstr "Menganalisis rekod boot sedia ada..."
-
-#. • MSG_227
-msgid "Closing existing volume..."
-msgstr "Menutup jilid sedia ada..."
-
-#. • MSG_228
-msgid "Writing Master Boot Record..."
-msgstr "Menulis \"Rekod master boot\"..."
-
-#. • MSG_229
-msgid "Writing Partition Boot Record..."
-msgstr "Menulis \"Rekod boot partisyen\"..."
-
-#. • MSG_230
-msgid "Copying DOS files..."
-msgstr "Menyalin fail DOS..."
-
-#. • MSG_231
-msgid "Copying ISO files: %s"
-msgstr "Menyalin fail ISO: %s"
-
-#. • MSG_232
-msgid "Win7 EFI boot setup (%s)..."
-msgstr "Persediaan boot EFI Win7 (%s)..."
-
-#. • MSG_233
-msgid "Finalizing, please wait..."
-msgstr "Menyiapkan, sila tunggu..."
-
-#. • MSG_234
-#.
-#. Takes a Syslinux version as parameter.
-#. Example: "Installing Syslinux v5.10..."
-msgid "Installing Syslinux %s..."
-msgstr "Memasang Syslinux %s..."
-
-#. • MSG_235
-#.
-#. Bad blocks status. Example: "Bad Blocks: Write pass 1/2 - 12.34% (0/0/1 errors)"
-#. See MSG_191 & MSG_192 for "Write pass"/"Read pass" translation.
-msgid "Bad Blocks: %s %d/%d - %0.2f%% (%d/%d/%d errors)"
-msgstr "Blok rosak: %s %d/%d - %0.2f%% (%d/%d/%d kesilapan)"
-
-#. • MSG_236
-msgid "Bad Blocks: Testing with random pattern"
-msgstr "Blok rosak: menguji dengan corak rawak"
-
-#. • MSG_237
-msgid "Bad Blocks: Testing with pattern 0x%02X"
-msgstr "Blok rosak: Menguji dengan corak 0x%02X"
-
-#. • MSG_238
-#.
-#. Example: "Partitioning (MBR)..."
-msgid "Partitioning (%s)..."
-msgstr "Mempartisyenkan (%s)..."
-
-#. • MSG_239
-msgid "Deleting partitions (%s)..."
-msgstr "Memadam partisyen (%s)..."
-
-#. • MSG_240
-#.
-#. This message has to do with the signature validation that Rufus uses when downloading an update.
-msgid ""
-"The signature for the downloaded update can not be validated. This could mean that your system is improperly configured for signature validation or indicate a malicious download.\n"
-"\n"
-"The download will be deleted. Please check the log for more details."
-msgstr ""
-"Tandatangan untuk pengemaskinian telah dimuat turun tidak dapat disahkan. Ini boleh bermakna bahawa sistem anda dikonfigurasi dengan salah untuk pengesahan tandatangan atau menunjukkan fail yang dimuat turun berisi dengan virus\n"
-"\n"
-"Fail yang dimuat turun akan dihapuskan. Sila periksa log untuk maklumat lanjut."
-
-#. • MSG_241
-msgid "Downloading: %s"
-msgstr "Memuat turun: %s"
-
-#. • MSG_242
-msgid "Failed to download file."
-msgstr "Gagal memuat turun fail."
-
-#. • MSG_243
-msgid "Checking for Rufus updates..."
-msgstr "Memeriksa untuk kemas kini Rufus..."
-
-#. • MSG_244
-msgid "Updates: Unable to connect to the internet"
-msgstr "Kemas kini: Tidak dapat menyambung ke internet"
-
-#. • MSG_245
-msgid "Updates: Unable to access version data"
-msgstr "Kemas kini: Tidak dapat mengakses data versi"
-
-#. • MSG_246
-msgid "A new version of Rufus is available!"
-msgstr "Versi baru Rufus boleh didapati!"
-
-#. • MSG_247
-msgid "No new version of Rufus was found"
-msgstr "Tiada versi baru Rufus didapati"
-
-#. • MSG_248
-msgid "Application registry keys successfully deleted"
-msgstr "Kekunci daftar aplikasi berjaya dipadam"
-
-#. • MSG_249
-msgid "Failed to delete application registry keys"
-msgstr "Gagal memadam kekunci daftar aplikasi"
-
-#. • MSG_250
-#.
-#. Example: "Fixed disk detection enabled", "ISO size check disabled", etc.
-msgid "%s enabled"
-msgstr "%s dibolehkan"
-
-#. • MSG_251
-msgid "%s disabled"
-msgstr "%s tidak dibolehkan"
-
-#. • MSG_252
-msgid "Size checks"
-msgstr "Menyemak saiz"
-
-#. • MSG_253
-msgid "Hard disk detection"
-msgstr "Pengesanan cakera keras"
-
-#. • MSG_254
-msgid "Force large FAT32 formatting"
-msgstr "Memaksa pemformatan FAT32 besar"
-
-#. • MSG_255
-msgid "NoDriveTypeAutorun will be deleted on exit"
-msgstr "NoDriveTypeAutorun akan dipadam apabila keluar"
-
-#. • MSG_256
-msgid "Fake drive detection"
-msgstr "Pengesanan cakera palsu"
-
-#. • MSG_257
-msgid "Joliet support"
-msgstr "Sokongan Joliet"
-
-#. • MSG_258
-msgid "Rock Ridge support"
-msgstr "Sokongan Rock Ridge"
-
-#. • MSG_259
-msgid "Force update"
-msgstr "Paksa kemas kini"
-
-#. • MSG_260
-msgid "NTFS compression"
-msgstr "Mampatan NTFS"
-
-#. • MSG_261
-msgid "Writing image: %s"
-msgstr "Menulis imej: %s"
-
-#. • MSG_262
-#.
-#. Cheat mode message to disable ISO Support, so that only DD images can be opened
-msgid "ISO Support"
-msgstr "Sokongan ISO"
-
-#. • MSG_263
-#.
-#. Cheat mode to force legacy size units, where 1 KB is 1024 bytes and NOT that fake 1000 bytes abomination!
-msgid "Use PROPER size units"
-msgstr "Guna saiz seunit yang BETUL"
-
-#. • MSG_264
-msgid "Deleting directory '%s'"
-msgstr "Memadam direktori '%s'"
-
-#. • MSG_265
-msgid "VMWare disk detection"
-msgstr "Pengesanan cakera VMWare"
-
-#. • MSG_266
-msgid "Dual UEFI/BIOS mode"
-msgstr "Mod dwi UEFI/BIOS"
-
-#. • MSG_267
-msgid "Applying Windows image: %s"
-msgstr "Menggunakan imej Windows: %s"
-
-#. • MSG_268
-msgid "Applying Windows image..."
-msgstr "Menggunakan imej Windows..."
-
-#. • MSG_269
-msgid "Preserve timestamps"
-msgstr "Mengekalkan cap masa"
-
-#. • MSG_270
-msgid "USB debug"
-msgstr "Nyahpijat USB"
-
-#. • MSG_271
-msgid "Computing image checksums: %s"
-msgstr "Mengira semak tambah imej: %s"
-
-#. • MSG_272
-msgid "Compute the MD5, SHA1 and SHA256 checksums for the selected image"
-msgstr "Mengira semak tambah MD5, SHA1 dan SHA256 imej dipilih"
-
-#. • MSG_273
-msgid "Change the application language"
-msgstr "Menukar bahasa aplikasi"
-
-#. • MSG_274
-msgid "%s image detected"
-msgstr "%s imej dikesan"
-
-#. • MSG_275
-#.
-#. '%s' will be replaced with your translations for MSG_036 ("ISO Image") and MSG_095 ("DD Image")
-msgid ""
-"The image you have selected is an 'ISOHybrid' image. This means it can be written either in %s (file copy) mode or %s (disk image) mode.\n"
-"Rufus recommends using %s mode, so that you always have full access to the drive after writing it.\n"
-"However, if you encounter issues during boot, you can try writing this image again in %s mode.\n"
-"\n"
-"Please select the mode that you want to use to write this image:"
-msgstr ""
-"Imej yang anda telah pilih adalah imej 'ISOHybrid'. Ini bermaksud ia boleh ditulis sama ada dalam %s mod (salinan fail) atau %s mod (imej cakera).\n"
-"Rufus galakkan menggunakan mod %s, jadi anda selalu mempunyai akses penuh ke pemacu selepas menulisnya.\n"
-"Bagaimanapun, jika anda menghadapi isu-isu semasa boot, anda boleh cuba menulis imej ini lagi dalam mod %s.\n"
-"\n"
-"Sila pilih mod yang anda mahu guna untuk menulis imej ini:"
-
-#. • MSG_276
-#.
-#. '%s' will be replaced with your translation for MSG_036 ("ISO Image")
-msgid "Write in %s mode (Recommended)"
-msgstr "Menulis dalam mod %s (Digalakkan)"
-
-#. • MSG_277
-#.
-#. '%s' will be replaced with your translation for MSG_095 ("DD Image")
-msgid "Write in %s mode"
-msgstr "Menulis dalam mod %s"
-
-#. • MSG_278
-msgid "Checking for conflicting processes..."
-msgstr "Menyemak proses yang berkonflik."
-
-#. • MSG_279
-msgid "Non bootable"
-msgstr "Tidak boleh boot"
-
-#. • MSG_280
-msgid "Disk or ISO image"
-msgstr "Cakera atau imej ISO"
-
-#. • MSG_281
-msgid "%s (Please select)"
-msgstr "%s (Sila pilih)"
-
-#. • MSG_282
-msgid "Exclusive USB drive locking"
-msgstr "Penguncian pemacu USB eksklusif"
-
-#. • MSG_283
-msgid "Invalid signature"
-msgstr "Tandatangan tidak sah"
-
-#. • MSG_284
-msgid "The downloaded executable is missing a digital signature."
-msgstr "'Executable' yang dimuat turun kehilangan tandatangan digital."
-
-#. • MSG_285
-msgid ""
-"The downloaded executable is signed by '%s'.\n"
-"This is not a signature we recognize and could indicate some form of malicious activity...\n"
-"Are you sure you want to run this file?"
-msgstr ""
-"'Executable' yang dimuat turun ditandatangani oleh '%s'.\n"
-"Ini bukannya tandatangan yang kami kenal dan boleh menunjukkan beberapa bentuk aktiviti berniat jahat...\n"
-"Adakah anda pasti anda mahu menjalankan fail ini?"
-
-#. • MSG_286
-msgid "Zeroing drive: %s"
-msgstr "Mensifarkan pemacu: %s"
-
-#. • MSG_287
-msgid "Detection of non-USB removable drives"
-msgstr "Mengesan cakera bukan USB"
-
-#. • MSG_288
-msgid "Missing elevated privileges"
-msgstr "Hilang hak kebenaran istimewa"
-
-#. • MSG_289
-msgid "This application can only run with elevated privileges"
-msgstr "Aplikasi ini hanya boleh digunakan apabila diberikan hak kebenaran istimewa"
-
-#. • MSG_290
-msgid "File Indexing"
-msgstr "Pengindeksan Fail"
-
-#. • MSG_291
-msgid "Version selection"
-msgstr "Pemilihan versi"
-
-#. • MSG_292
-msgid "Please select the version of Windows you want to install:"
-msgstr "Sila pilih versi Windows yang anda ingin memasang:"
-
-#. • MSG_293
-msgid "Unsupported Windows version"
-msgstr "Versi Windows tidak disokong"
-
-#. • MSG_294
-msgid ""
-"This version of Windows is no longer supported by Rufus.\n"
-"The last version of Rufus compatible with this platform is v%d.%d."
-msgstr ""
-"Versi Windows ini tidak lagi disokong oleh Rufus.\n"
-"Versi terakhir Rufus yang serasi dengan platform ini ialah v%d.%d."
-
-#. • MSG_295
-msgid "Warning: Unofficial version"
-msgstr "Amaran: versi bukan rasmi"
-
-#. • MSG_296
-msgid ""
-"This version of Rufus was not produced by its official developer(s).\n"
-"\n"
-"Are you sure you want to run it?"
-msgstr ""
-"Versi Rufus ini bukan dibuat oleh pemaju-pemaju rasmi Rufus. \n"
-"\n"
-"Adakan anda yakin ingin menggunakannya?"
-
-#. • MSG_297
-msgid "Truncated ISO detected"
-msgstr "ISO yang dipenggal dikesan"
-
-#. • MSG_298
-msgid ""
-"The ISO file you have selected does not match its declared size: %s of data is missing!\n"
-"\n"
-"If you obtained this file from the Internet, you should try to download a new copy and verify that the MD5 or SHA checksums match the official ones.\n"
-"\n"
-"Note that you can compute the MD5 or SHA in Rufus by clicking the (✓) button."
-msgstr ""
-"Saiz fail ISO yang anda pilih adalah tidak sama dengan saiz yang diisytiharkan oleh fail ISO ini. %s data telah hilang!\n"
-"\n"
-"Jika fail ini diperolehi dari intenet, anda sepatutnya muat turun semula fail ini dan sahkan bahawa tandatangan MD5 atau SHA adalah sama dengan versi yang rasmi.\n"
-"\n"
-"Anda boleh dapatkan MD5 atau SHA fail yang dipilih ini dengan menekan butang (✓). Kemudian anda perlu membandingkan dengan MD5 atau SHA daripada fail yang rasmi."
-
-#. • MSG_299
-msgid "Timestamp validation error"
-msgstr "Ralat validasi cap waktu"
-
-#. • MSG_300
-msgid ""
-"Rufus could not validate that the timestamp of the downloaded update is more recent than the one for the current executable.\n"
-"\n"
-"In order to prevent potential attack scenarios, the update process has been aborted and the download will be deleted. Please check the log for more details."
-msgstr ""
-"Rufus tidak dapat mengesahkan bahawa kemas kini yang dimuat turun adalah lebih baru daripada aplikasi yang dijalankan sekarang.\n"
-"\n"
-"Untuk mengelakkan daripada senario dimana PC diserang dengan virus, proses kemaskini telah dibatalkan dan fail yang telah dimuat turun akan dipadam. Sila semak log untuk maklumat lanjut."
-
-#. • MSG_301
-msgid "Show application settings"
-msgstr "Tunjuk tetapan aplikasi"
-
-#. • MSG_302
-msgid "Show information about this application"
-msgstr "Paparkan maklumat tentang aplikasi ini"
-
-#. • MSG_303
-msgid "Show the log"
-msgstr "Paparkan log"
-
-#. • MSG_304
-msgid "Create a disk image of the selected device"
-msgstr "Cipta imej cakera untuk peranti yang dipilih"
-
-#. • MSG_305
-msgid "Use this option to indicate if you plan to install Windows to a different disk, or if you want to run Windows directly from this drive (Windows To Go)."
-msgstr "Pilih pilihan ini jika anda mahu memasang Windows pada komputer lain atau ingin menggunakan Windows terus daripada cakera/media ini (Windows To Go)"
-
-#. • MSG_306
-#.
-#. You can see this status message by pressing -- and then selecting START.
-#. It's the same as MSG_286 but with a process that *may* be faster, hence the name.
-msgid "Fast-zeroing drive: %s"
-msgstr "Mensifarkan pemacu 'Fast': %s"
-
-#. • MSG_307
-msgid "this may take a while"
-msgstr "ini mungkin mengambil sedikit masa"
-
-#. • MSG_308
-msgid "VHD detection"
-msgstr "Pengesanan VHD"
-
-#. • MSG_309
-msgid "Compressed archive"
-msgstr "Arkib termampat"
-
-#. • MSG_310
-msgid ""
-"The ISO you have selected uses UEFI and is small enough to be written as an EFI System Partition (ESP). Writing to an ESP, instead of writing to a generic data partition occupying the whole disk, can be preferable for some types of installations.\n"
-"\n"
-"Please select the mode that you want to use to write this image:"
-msgstr ""
-"ISO yang anda pilih menggunakan UEFI dan cukup kecil untuk ditulis sebagai Partition Sistem EFI (ESP). Menulis kepada ESP, bukannya menulis kepada partition data generik yang menduduki keseluruhan cakera, boleh menjadi lebih baik untuk beberapa jenis pemasangan.\n"
-"\n"
-"Sila pilih mod yang anda mahu gunakan untuk menulis imej ini:"
-
-#. • MSG_311
-msgid "Use %s (in the main application window) to enable."
-msgstr "Gunakan %s (dalam tetingkap aplikasi utama) untuk mendayakan."
-
-#. • MSG_312
-msgid "Extra hashes (SHA512)"
-msgstr "Cincangan tambahan (SHA512)"
-
-#. • MSG_313
-msgid "Save to VHD"
-msgstr "Simpan ke VHD"
-
-#. • MSG_314
-msgid "Compute image checksums"
-msgstr "Pengiraan semakan imej"
-
-#. • MSG_315
-msgid "Multiple buttons"
-msgstr "Pelbagai butang"
-
-#. • MSG_316
-msgid "Number of passes"
-msgstr "Bilangan pas"
-
-#. • MSG_317
-msgid "Disk ID"
-msgstr "ID Cakera"
-
-#. • MSG_318
-msgid "Default thread priority: %d"
-msgstr "Keutamaan benang lalai: %d"
-
-#. • MSG_319
-msgid "Ignore Boot Marker"
-msgstr "Abaikan penanda but"
-
-#. • MSG_320
-msgid "Refreshing partition layout (%s)..."
-msgstr "Tataletak partition yang menyegarkan (%s)..."
-
-#. • MSG_321
-msgid ""
-"The image you have selected is an ISOHybrid, but its creators have not made it compatible with ISO/File copy mode.\n"
-"As a result, DD image writing mode will be enforced."
-msgstr ""
-"Imej yang anda pilih ialah ISOHybrid, tetapi penciptanya tidak menjadikannya serasi dengan mod salinan ISO/Fail.\n"
-"Akibatnya, mod penulisan imej DD akan dikuatkuasakan."
-
-#. • MSG_322
-msgid "Unable to open or read '%s'"
-msgstr "Tidak dapat membuka atau membaca '%s'"
-
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Guna SkuSiPolicy.p7b semasa pemasangan (Lihat KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Penambahbaikan QoL (Jangan paksa Copilot, OneDrive, Outlook, Fast Startup, dll.)"
-
-#. • MSG_325
-msgid "Applying Windows customization: %s"
-msgstr "Menggunakan penyesuaian Windows: %s"
-
-#. • MSG_326
-msgid "Applying user options..."
-msgstr "Menggunakan pilihan pengguna..."
-
-#. • MSG_327
-msgid "Windows User Experience"
-msgstr "Pengalaman Pengguna Windows"
-
-#. • MSG_328
-msgid "Customize Windows installation?"
-msgstr "Sesuaikan pemasangan Windows?"
-
-#. • MSG_329
-msgid "Remove requirement for 4GB+ RAM, Secure Boot and TPM 2.0"
-msgstr "Alih keluar keperluan untuk 4GB+ RAM, But Selamat dan TPM 2.0"
-
-#. • MSG_330
-msgid "Remove requirement for an online Microsoft account"
-msgstr "Alih keluar keperluan untuk akaun Microsoft dalam talian"
-
-#. • MSG_331
-msgid "Disable data collection (Skip privacy questions)"
-msgstr "Nyahdayakan pengumpulan data (Langkau soalan privasi)"
-
-#. • MSG_332
-msgid "Prevent Windows To Go from accessing internal disks"
-msgstr "Halang Windows To Go daripada mengakses cakera dalaman"
-
-#. • MSG_333
-msgid "Create a local account with username:"
-msgstr "Buat akaun tempatan dengan nama pengguna:"
-
-#. • MSG_334
-msgid "Set regional options to the same values as this user's"
-msgstr "Mengesetkan opsyen rantau kepada nilai yang sama seperti pengguna ini"
-
-#. • MSG_335
-msgid "Disable BitLocker automatic device encryption"
-msgstr "Lumpuhkan penyulitan peranti automatik BitLocker"
-
-#. • MSG_336
-msgid "Persistent log"
-msgstr "Log berterusan"
-
-#. • MSG_337
-msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
-"- Select 'Yes' to connect to the Internet and download it\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Fail tambahan ('%s') mesti dimuat turun dari Microsoft untuk menggunakan ciri ini:\n"
-"- Pilih 'Ya' untuk menyambung ke Internet dan memuat turunnya\n"
-"- Pilih 'Tidak' untuk membatalkan operasi\n"
-"\n"
-"Nota: Fail akan dimuat turun ke dalam direktori aplikasi dan akan digunakan semula secara automatik jika tersedia."
-
-#. • MSG_338
-msgid "Revoked UEFI bootloader detected"
-msgstr "Pemuat but UEFI yang dibatalkan dikesan"
-
-#. • MSG_339
-msgid ""
-"Rufus detected that the ISO you have selected contains a UEFI bootloader that has been revoked and that will produce %s, when Secure Boot is enabled on a fully up to date UEFI system.\n"
-"\n"
-"- If you obtained this ISO image from a non reputable source, you should consider the possibility that it might contain UEFI malware and avoid booting from it.\n"
-"- If you obtained it from a trusted source, you should try to locate a more up to date version, that will not produce this warning."
-msgstr ""
-"Rufus mengesan bahawa ISO yang anda pilih mengandungi pemuat but UEFI yang telah ditarik balik dan akan menghasilkan %s, apabila Secure Boot diaktifkan pada sistem UEFI yang terkini sepenuhnya.\n"
-"\n"
-"- Jika anda memperoleh imej ISO ini daripada sumber yang tidak dipercayai, anda harus mempertimbangkan kemungkinan ia mengandungi perisian hasad UEFI dan elakkan daripada membuat but daripadanya.\n"
-"- Jika anda memperolehnya daripada sumber yang dipercayai, anda harus cuba mencari versi yang lebih terkini, yang tidak akan menghasilkan amaran ini."
-
-#. • MSG_340
-msgid "a \"Security Violation\" screen"
-msgstr "skrin \"Pelanggaran Keselamatan\""
-
-#. • MSG_341
-msgid "a Windows Recovery Screen (BSOD) with '%s'"
-msgstr "skrin Pemulihan Windows (BSOD) dengan '%s'"
-
-#. • MSG_342
-msgid "Compressed VHDX Image"
-msgstr "Imej VHDX Termampat"
-
-#. • MSG_343
-msgid "Uncompressed VHD Image"
-msgstr "Imej VHD Tidak Termampat"
-
-#. • MSG_344
-msgid "Full Flash Update Image"
-msgstr "Imej Kemas Kini Denyar Penuh"
-
-#. • MSG_345
-msgid ""
-"Some additional data must be downloaded from Microsoft to use this functionality:\n"
-"- Select 'Yes' to connect to the Internet and download it\n"
-"- Select 'No' to cancel the operation"
-msgstr ""
-"Beberapa data tambahan mesti dimuat turun dari Microsoft untuk menggunakan fungsi ini:\n"
-"- Pilih 'Ya' untuk menyambung ke Internet dan memuat turunnya\n"
-"- Pilih 'Tidak' untuk membatalkan operasi"
-
-#. • MSG_346
-msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
-msgstr "Sekat Windows ke S-Mode (TIDAK SERASI dengan pintasan akaun dalam talian)"
-
-#. • MSG_347
-msgid "Expert Mode"
-msgstr "Mod Pakar"
-
-#. • MSG_348
-msgid "Extracting archive files: %s"
-msgstr "Mengekstrak fail arkib: %s"
-
-#. • MSG_349
-msgid "Use Rufus MBR"
-msgstr "Guna MBR Rufus"
-
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Guna pemuat but bertandatangan 'Windows CA 2023' (Memerlukan PC sasaran yang serasi)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Sedang memeriksa penarikan balik pemuat but UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Sedang memeriksa kemas kini DBX UEFI..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Kemas kini DBX tersedia"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus telah menemui versi kemas kini fail DBX yang digunakan untuk melakukan pemeriksaan penarikan balik Secure Boot UEFI. Adakah anda mahu memuat turun kemas kini ini?\n"
-"- Pilih 'Ya' untuk menyambung ke Internet dan memuat turun kandungan ini\n"
-"- Pilih 'Tidak' untuk membatalkan operasi\n"
-"\n"
-"Nota: Fail akan dimuat turun ke dalam direktori aplikasi dan akan digunakan semula secara automatik jika tersedia."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠SECARA SENYAP⚠ padam cakera dan pasang:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Anda telah memilih untuk menggunakan pilihan pemasangan Windows \"senyap\".\n"
-"\n"
-"Ini adalah pilihan lanjutan, dikhaskan untuk mereka yang ingin mencipta media yang tidak meminta pengguna semasa pemasangan Windows dan oleh itu MEMADAM SECARA TANPA SYARAT cakera pertama yang dikesan pada sistem sasaran. Jika anda tidak berhati-hati, menggunakan pilihan ini boleh mengakibatkan KEHILANGAN DATA YANG TIDAK BOLEH DIUNDURKAN!"
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Lokasi imej tidak disokong"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Anda tidak boleh menggunakan imej yang terletak pada pemacu sasaran, kerana pemacu tersebut akan dipadam sepenuhnya. Ia sama seperti cuba menggergaji dahan yang anda duduki!\n"
-"\n"
-"Sila pindahkan imej ke lokasi lain dan cuba lagi."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Adalah selamat untuk membiarkan pilihan ini didayakan walaupun anda mempunyai TPM atau lebih RAM, kerana pilihan ini hanya memintas keperluan persediaan dan tidak benar-benar menghalang Windows daripada menggunakan semua perkakasan yang tersedia."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Untuk pilihan ini berfungsi, rangkaian/Internet MESTI diputuskan semasa pemasangan!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Secara automatik jawab 'tidak' kepada soalan persediaan Windows berkaitan perkongsian data dengan Microsoft, dan bukannya meminta pengguna."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Anda sepatutnya membiarkan pilihan ini didayakan, melainkan anda okay dengan 'Windows To Go' mengakses cakera dalaman dan secara senyap melakukan peningkatan sistem fail yang tidak boleh diundurkan."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Secara automatik mencipta akaun tempatan dengan nama pengguna yang ditentukan, menggunakan kata laluan kosong yang perlu ditukar pada log masuk seterusnya."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Salin tetapan rantau dari PC ini (papan kekunci, zon waktu, mata wang), dan bukannya meminta pengguna."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Jangan suliikan cakera sistem, melainkan diminta secara jelas oleh pengguna."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Guna pilihan ini hanya jika anda tahu apa itu S-Mode dan faham bahawa sistem anda mungkin dikunci ke S-Mode walaupun selepas anda memadam sepenuhnya dan memasang semula Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Guna pilihan ini jika sistem yang anda rancang untuk memasang Windows menggunakan sijil Secure Boot yang terkini sepenuhnya. Jika perlu, anda boleh melihat penggunaan 'Mosby' untuk mengemas kini sistem anda."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Guna pilihan ini jika anda ingin menarik balik pemuat but Windows tambahan yang mungkin tidak selamat, tetapi dengan potensi juga menghalang media Windows standard daripada membuat but."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Penambahbaikan \"Kualiti Hidup\": Lumpuhkan kebanyakan ciri yang tidak diingini yang Microsoft cuba paksa kepada pengguna akhir."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Jika anda menggunakan pilihan ini, sila pastikan untuk memutuskan setiap cakera dari PC sasaran, kecuali yang anda ingin pasangkan Windows, serta jangan biarkan media dipasang ke mana-mana PC yang anda tidak mahu padamkan."
-
-#. • MSG_900
-#.
-#. The following messages are for the Windows Store listing only and are not used by the application
-msgid "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
-msgstr "Rufus adalah utiliti yang membantu memformat dan mencipta pemacu kilat USB boot, seperti pemacu pen/kekunci USB, kayu memori, dan lain-lain."
-
-#. • MSG_901
-msgid "Official site: %s"
-msgstr "Laman rasmi: %s"
-
-#. • MSG_902
-msgid "Source Code: %s"
-msgstr "Kod Sumber: %s"
-
-#. • MSG_903
-msgid "ChangeLog: %s"
-msgstr "Log Perubahan: %s"
-
-#. • MSG_904
-#.
-#. The gnu.org website has many translations of the GPL (such as https://www.gnu.org/licenses/gpl-3.0.zh-cn.html, https://www.gnu.org/licenses/gpl-3.0.fr.html)
-#. Please make sure you try to locate the relevant https://www.gnu.org/licenses/gpl-3.0..html for your language and use it here.
-msgid ""
-"This application is licensed under the terms of the GNU Public License (GPL) version 3.\n"
-"See https://www.gnu.org/licenses/gpl-3.0.en.html for details."
-msgstr ""
-"Permohonan ini dilesenkan di bawah syarat-syarat Lesen Awam GNU (GPL) versi 3.\n"
-"Lihat https://www.gnu.org/licenses/gpl-3.0.html untuk butiran."
-
-#. • MSG_905
-#.
-#. Keyword for "boot" will be used for search in the Windows Store
-msgid "Boot"
-msgstr ""
-
-#. • MSG_910
-#.
-#. This and subsequent messages will be listed in the 'Features' section of the Windows Store page
-msgid "Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
-msgstr "Formatkan USB, kad flash dan pemacu maya kepada FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
-
-#. • MSG_911
-msgid "Create FreeDOS bootable USB drives"
-msgstr "Buat pemacu USB boleh boot FreeDOS"
-
-#. • MSG_912
-msgid "Create bootable drives from bootable ISOs (Windows, Linux, etc.)"
-msgstr "Buat pemacu boleh boot daripada ISO boleh boot (Windows, Linux, dll.)"
-
-#. • MSG_913
-msgid "Create bootable drives from bootable disk images, including compressed ones"
-msgstr "Buat pemacu boleh boot daripada imej cakera boleh boot, termasuk yang dimampatkan"
-
-#. • MSG_914
-msgid "Create BIOS or UEFI bootable drives, including UEFI bootable NTFS"
-msgstr "Buat pemacu boleh boot BIOS atau UEFI, termasuk NTFS boleh boot UEFI"
-
-#. • MSG_915
-msgid "Create 'Windows To Go' drives"
-msgstr "Buat pemacu 'Windows To Go'"
-
-#. • MSG_916
-msgid "Create Windows 11 installation drives for PCs that don't have TPM or Secure Boot"
-msgstr "Buat pemacu pemasangan Windows 11 untuk PC yang tidak mempunyai TPM atau But Selamat"
-
-#. • MSG_917
-msgid "Create persistent Linux partitions"
-msgstr "Buat partition Linux berterusan"
-
-#. • MSG_918
-msgid "Create VHD/DD images of the selected drive"
-msgstr "Buat imej VHD/DD bagi pemacu yang dipilih"
-
-#. • MSG_919
-msgid "Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of the selected image"
-msgstr "Kira MD5, SHA-1, SHA-256 dan SHA-512 checksum imej yang dipilih"
-
-#. • MSG_920
-msgid "Perform bad blocks checks, including detection of \"fake\" flash drives"
-msgstr "Melakukan pemeriksaan blok buruk, termasuk pengesanan pemacu kilat \"palsu\""
-
-#. • MSG_921
-msgid "Download official Microsoft Windows retail ISOs"
-msgstr "Muat turun rasmi ISO runcit Microsoft Windows"
-
-#. • MSG_922
-msgid "Download UEFI Shell ISOs"
-msgstr "Muat turun ISO Shell UEFI"
+msgid ""
+msgstr ""
+"Project-Id-Version: 3.22\n"
+"Report-Msgid-Bugs-To: pete@akeo.ie\n"
+"POT-Creation-Date: 2023-04-25 13:26+0100\n"
+"PO-Revision-Date: 2023-04-25 13:33+0100\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: ms_MY\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-SourceCharset: UTF-8\n"
+"X-Rufus-LanguageName: Malay (Bahasa Malaysia)\n"
+"X-Rufus-LCID: 0x043e, 0x083e\n"
+"X-Generator: Poedit 3.2.2\n"
+
+#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
+msgid "Drive Properties"
+msgstr "Sifat cakera"
+
+#. • IDD_DIALOG → IDS_DEVICE_TXT
+msgid "Device"
+msgstr "Peranti"
+
+#. • IDD_DIALOG → IDS_BOOT_SELECTION_TXT
+msgid "Boot selection"
+msgstr "Jenis boot"
+
+#. • IDD_DIALOG → IDC_SELECT
+msgid "Select"
+msgstr "Pilih"
+
+#. • IDD_DIALOG → IDS_IMAGE_OPTION_TXT
+msgid "Image Option"
+msgstr "Pilihan Imej"
+
+#. • IDD_DIALOG → IDS_PARTITION_TYPE_TXT
+msgid "Partition scheme"
+msgstr "Skema partisyen"
+
+#. • IDD_DIALOG → IDS_TARGET_SYSTEM_TXT
+msgid "Target system"
+msgstr "Sistem yang akan dipasang"
+
+#. • IDD_DIALOG → IDC_LIST_USB_HDD
+msgid "List USB Hard Drives"
+msgstr "Senaraikan Cakera Keras USB"
+
+#. • IDD_DIALOG → IDC_OLD_BIOS_FIXES
+#.
+#. It is acceptable to drop the parenthesis () if you are running out of space
+#. as there is a tooltip (MSG_169) providing these details.
+msgid "Add fixes for old BIOSes (extra partition, align, etc.)"
+msgstr "Tambah pembaikan untuk BIOS lama"
+
+#. • IDD_DIALOG → IDC_RUFUS_MBR
+#.
+#. 'MBR': See http://en.wikipedia.org/wiki/Master_boot_record
+#. Rufus can install it's own custom MBR (the Rufus MBR), which also allows users to
+#. specify a custom disk ID for the BIOS. The tooltip for this control is MSG_167.
+msgid "Use Rufus MBR with BIOS ID"
+msgstr "Guna MBR Rufus dengan BIOS ID"
+
+#. • IDD_DIALOG → IDS_FORMAT_OPTIONS_TXT
+msgid "Format Options"
+msgstr "Pilihan format"
+
+#. • IDD_DIALOG → IDS_FILE_SYSTEM_TXT
+msgid "File system"
+msgstr "Sistem fail"
+
+#. • IDD_DIALOG → IDS_CLUSTER_SIZE_TXT
+msgid "Cluster size"
+msgstr "Saiz gugusan"
+
+#. • IDD_DIALOG → IDS_LABEL_TXT
+msgid "Volume label"
+msgstr "Label jilid baharu"
+
+#. • IDD_DIALOG → IDC_QUICK_FORMAT
+msgid "Quick format"
+msgstr "Format pantas"
+
+#. • IDD_DIALOG → IDC_BAD_BLOCKS
+msgid "Check device for bad blocks"
+msgstr "Semak peranti untuk blok rosak"
+
+#. • IDD_DIALOG → IDC_EXTENDED_LABEL
+msgid "Create extended label and icon files"
+msgstr "Cipta label lanjut dan fail ikon"
+
+#. • IDD_DIALOG → IDS_STATUS_TXT
+msgid "Status"
+msgstr ""
+
+#. • IDD_DIALOG → IDCANCEL
+#. • IDD_LICENSE → IDCANCEL
+#. • IDD_LOG → IDCANCEL
+#. • IDD_UPDATE_POLICY → IDCANCEL
+#. • IDD_NEW_VERSION → IDCANCEL
+#. • MSG_006
+msgid "Close"
+msgstr "Tutup"
+
+#. • IDD_DIALOG → IDC_START
+msgid "Start"
+msgstr "Mula"
+
+#. • IDD_ABOUTBOX → IDD_ABOUTBOX
+msgid "About Rufus"
+msgstr "Mengenai Rufus"
+
+#. • IDD_ABOUTBOX → IDC_ABOUT_LICENSE
+msgid "License"
+msgstr "Lesen"
+
+#. • IDD_ABOUTBOX → IDOK
+msgid "OK"
+msgstr ""
+
+#. • IDD_LICENSE → IDD_LICENSE
+msgid "Rufus License"
+msgstr "Lesen Rufus"
+
+#. • IDD_NOTIFICATION → IDC_MORE_INFO
+msgid "More information"
+msgstr "Maklumat lanjut"
+
+#. • IDD_NOTIFICATION → IDYES
+#. • MSG_008
+msgid "Yes"
+msgstr "Ya"
+
+#. • IDD_NOTIFICATION → IDNO
+#. • MSG_009
+msgid "No"
+msgstr "Tidak"
+
+#. • IDD_LOG → IDD_LOG
+msgid "Log"
+msgstr ""
+
+#. • IDD_LOG → IDC_LOG_CLEAR
+msgid "Clear"
+msgstr "Padam"
+
+#. • IDD_LOG → IDC_LOG_SAVE
+msgid "Save"
+msgstr "Simpan"
+
+#. • IDD_UPDATE_POLICY → IDD_UPDATE_POLICY
+msgid "Update policy and settings"
+msgstr "Kemaskini dasar dan tetapan"
+
+#. • IDD_UPDATE_POLICY → IDS_UPDATE_SETTINGS_GRP
+msgid "Settings"
+msgstr "Tetapan"
+
+#. • IDD_UPDATE_POLICY → IDS_UPDATE_FREQUENCY_TXT
+msgid "Check for updates"
+msgstr "Semak untuk versi baharu"
+
+#. • IDD_UPDATE_POLICY → IDS_INCLUDE_BETAS_TXT
+msgid "Include beta versions"
+msgstr "Termasuk versi beta"
+
+#. • IDD_UPDATE_POLICY → IDC_CHECK_NOW
+msgid "Check Now"
+msgstr "Semak sekarang"
+
+#. • IDD_NEW_VERSION → IDD_NEW_VERSION
+msgid "Check For Updates - Rufus"
+msgstr "Semak untuk versi baharu - Rufus"
+
+#. • IDD_NEW_VERSION → IDS_NEW_VERSION_AVAIL_TXT
+msgid "A newer version is available. Please download the latest version!"
+msgstr "Terdapat versi Rufus yang baharu. Sila muat turun versi yang terkini!"
+
+#. • IDD_NEW_VERSION → IDC_WEBSITE
+msgid "Click here to go to the website"
+msgstr "Klik di sini untuk ke laman sesawang Rufus"
+
+#. • IDD_NEW_VERSION → IDS_NEW_VERSION_NOTES_GRP
+msgid "Release Notes"
+msgstr "Maklumat versi terbaharu"
+
+#. • IDD_NEW_VERSION → IDS_NEW_VERSION_DOWNLOAD_GRP
+#. • IDD_NEW_VERSION → IDC_DOWNLOAD
+#. • MSG_040
+msgid "Download"
+msgstr "Muat turun"
+
+#. • MSG_001
+msgid "Other instance detected"
+msgstr "Proses Rufus lain dikesan"
+
+#. • MSG_002
+msgid ""
+"Another Rufus application is running.\n"
+"Please close the first application before running another one."
+msgstr ""
+"Terdapat aplikasi Rufus sedang berjalan.\n"
+"Sila tutup aplikasi tersebut sebelum melancarkan aplikasi Rufus baharu."
+
+#. • MSG_003
+msgid ""
+"WARNING: ALL DATA ON DEVICE '%s' WILL BE DESTROYED.\n"
+"To continue with this operation, click OK. To quit click CANCEL."
+msgstr ""
+"AMARAN: SEMUA DATA DI DALAM PERANTI '%s' AKAN DIPADAM.\n"
+"Jika hendak teruskan, klik OK. Untuk berhenti, klik BATAL."
+
+#. • MSG_004
+msgid "Rufus update policy"
+msgstr "Dasar kemas kini Rufus"
+
+#. • MSG_005
+msgid "Do you want to allow Rufus to check for application updates online?"
+msgstr "Adakah anda mahu membenarkan Rufus menyemak untuk versi baharu dalam talian?"
+
+#. • MSG_007
+msgid "Cancel"
+msgstr "Batal"
+
+#. • MSG_010
+msgid "Bad blocks found"
+msgstr "Blok rosak dijumpai"
+
+#. • MSG_011
+msgid ""
+"Check completed: %d bad block(s) found\n"
+" %d read error(s)\n"
+" %d write error(s)\n"
+" %d corruption error(s)"
+msgstr ""
+"Semak selesai: %d blok rosak dijumpai\n"
+" %d ralat membaca\n"
+" %d ralat menulis\n"
+" %d ralat korupsi"
+
+#. • MSG_012
+#.
+#. This contains the formatted message from MSG_001 as well as the name of the bad blocks logfile
+msgid ""
+"%s\n"
+"A more detailed report can be found in:\n"
+"%s"
+msgstr ""
+"%s\n"
+"Laporan lebih terperinci boleh dijumpai di:\n"
+"%s"
+
+#. • MSG_013
+msgid "Disabled"
+msgstr "Nyahaktif"
+
+#. • MSG_014
+msgid "Daily"
+msgstr "Harian"
+
+#. • MSG_015
+msgid "Weekly"
+msgstr "Mingguan"
+
+#. • MSG_016
+msgid "Monthly"
+msgstr "Bulanan"
+
+#. • MSG_017
+msgid "Custom"
+msgstr "Tetapan sendiri"
+
+#. • MSG_018
+msgid "Your version: %d.%d (Build %d)"
+msgstr "Versi anda: %d.%d (Binaan %d)"
+
+#. • MSG_019
+msgid "Latest version: %d.%d (Build %d)"
+msgstr "Versi terkini: %d.%d (Binaan %d)"
+
+#. • MSG_020
+#. • MSG_026
+msgid "bytes"
+msgstr "bait"
+
+#. • MSG_021
+#.
+#. *Short* version of the kilobyte size suffix
+msgid "KB"
+msgstr ""
+
+#. • MSG_022
+#.
+#. *Short* version of the megabyte size suffix
+msgid "MB"
+msgstr ""
+
+#. • MSG_023
+#.
+#. *Short* version of the gigabyte size suffix
+msgid "GB"
+msgstr ""
+
+#. • MSG_024
+#.
+#. *Short* version of the terabyte size suffix
+msgid "TB"
+msgstr ""
+
+#. • MSG_025
+#.
+#. *Short* version of the pentabyte size suffix
+msgid "PB"
+msgstr ""
+
+#. • MSG_027
+msgid "kilobytes"
+msgstr "kilobait"
+
+#. • MSG_028
+msgid "megabytes"
+msgstr "megabait"
+
+#. • MSG_029
+msgid "Default"
+msgstr "Tetapan asal"
+
+#. • MSG_030
+#.
+#. This gets appended to the file system, cluster size, etc.
+msgid "%s (Default)"
+msgstr "%s (Tetapan asal)"
+
+#. • MSG_031
+msgid "BIOS (or UEFI-CSM)"
+msgstr "BIOS (atau UEFI-CSM)"
+
+#. • MSG_032
+msgid "UEFI (non CSM)"
+msgstr "UEFI (bukan CSM)"
+
+#. • MSG_033
+msgid "BIOS or UEFI"
+msgstr "BIOS atau UEFI"
+
+#. • MSG_034
+#.
+#. Number of bad block check passes (singular for 1 pass)
+msgid "%d pass"
+msgstr "%d kali lulus"
+
+#. • MSG_035
+#.
+#. Number of bad block check passes (plural for 2 or more passes).
+#. See MSG_087 for the message that %s gets replaced with.
+msgid "%d passes %s"
+msgstr "%d kali lulus %s"
+
+#. • MSG_036
+msgid "ISO Image"
+msgstr "Imej ISO"
+
+#. • MSG_037
+msgid "Application"
+msgstr "Aplikasi"
+
+#. • MSG_038
+msgid "Abort"
+msgstr "Batal"
+
+#. • MSG_039
+msgid "Launch"
+msgstr "Mula"
+
+#. • MSG_041
+msgid "Operation cancelled by the user"
+msgstr "Operasi dibatalkan oleh pengguna"
+
+#. • MSG_042
+msgid "Error"
+msgstr "Ralat"
+
+#. • MSG_043
+msgid "Error: %s"
+msgstr "Ralat: %s"
+
+#. • MSG_044
+msgid "File download"
+msgstr "Muat turun fail"
+
+#. • MSG_045
+msgid "USB Storage Device (Generic)"
+msgstr "Peranti storan USB (Generik)"
+
+#. • MSG_046
+msgid "%s (Disk %d) [%s]"
+msgstr "%s (Cakera %d) [%s]"
+
+#. • MSG_047
+#.
+#. Used when a drive is detected that contains more than one partition
+msgid "Multiple Partitions"
+msgstr "Beberapa Partisyen"
+
+#. • MSG_048
+msgid "Rufus - Flushing buffers"
+msgstr "Rufus - 'Flush' penimbal"
+
+#. • MSG_049
+msgid "Rufus - Cancellation"
+msgstr "Rufus - Pembatalan"
+
+#. • MSG_050
+msgid "Success."
+msgstr "Berjaya."
+
+#. • MSG_051
+msgid "Undetermined error while formatting."
+msgstr "Ralat yang tidak dapat ditentukan ketika memformat."
+
+#. • MSG_052
+msgid "Cannot use the selected file system for this media."
+msgstr "Tidak boleh menggunakan sistem fail yang dipilih untuk media ini."
+
+#. • MSG_053
+msgid "Access to the device is denied."
+msgstr "Akses kepada peranti dinafikan."
+
+#. • MSG_054
+msgid "Media is write protected."
+msgstr "Tidak boleh menulis data ke peranti (Dilindungi)"
+
+#. • MSG_055
+msgid "The device is in use by another process. Please close any other process that may be accessing the device."
+msgstr "Peranti ini digunakan oleh proses lain. Sila tutup mana-mana program yang mungkin menggunakan peranti ini."
+
+#. • MSG_056
+msgid "Quick format is not available for this device."
+msgstr "Format pantas tidak boleh digunakan pada peranti ini."
+
+#. • MSG_057
+msgid "The volume label is invalid."
+msgstr "Label jilid tidak sah."
+
+#. • MSG_058
+msgid "The device handle is invalid."
+msgstr "Pengendali peranti tidak sah."
+
+#. • MSG_059
+msgid "The selected cluster size is not valid for this device."
+msgstr "Saiz gugusan yang dipilih tidak boleh digunakan pada peranti ini."
+
+#. • MSG_060
+msgid "The volume size is invalid."
+msgstr "Saiz jilid tidak sah."
+
+#. • MSG_061
+msgid "Please insert a removable media in drive."
+msgstr "Sila masukkan media boleh alih ke dalam pemacu."
+
+#. • MSG_062
+msgid "An unsupported command was received."
+msgstr "Arahan yang tidak disokong diterima."
+
+#. • MSG_063
+msgid "Memory allocation error."
+msgstr "Kesilapan peruntukkan memori."
+
+#. • MSG_064
+msgid "Read error."
+msgstr "Kesilapan membaca."
+
+#. • MSG_065
+msgid "Write error."
+msgstr "Kesilapan menulis."
+
+#. • MSG_066
+msgid "Installation failure"
+msgstr "Kegagalan memasang"
+
+#. • MSG_067
+msgid "Could not open media. It may be in use by another process. Please re-plug the media and try again."
+msgstr "Media tidak boleh dibuka. Ia mungkin digunakan dalam proses yang lain. Sila cabut dan masukkan semula dan cuba sekali lagi."
+
+#. • MSG_068
+msgid "Could not partition drive."
+msgstr "Tidak boleh partition drive."
+
+#. • MSG_069
+msgid "Could not copy files to target drive."
+msgstr "Tidak boleh meyalin fail kepada pemacu."
+
+#. • MSG_070
+msgid "Cancelled by user."
+msgstr "Dibatalkan oleh pengguna."
+
+#. • MSG_071
+#.
+#. See http://en.wikipedia.org/wiki/Thread_%28computing%29
+msgid "Unable to start thread."
+msgstr "Proses-proses kecil tidak boleh dimulakan."
+
+#. • MSG_072
+msgid "Bad blocks check didn't complete."
+msgstr "Penyemakan blok rosak tidak dapat diselesaikan."
+
+#. • MSG_073
+msgid "ISO image scan failure."
+msgstr "Kegagalan imbasan imej ISO."
+
+#. • MSG_074
+msgid "ISO image extraction failure."
+msgstr "Pengekstrakan imej ISO gagal."
+
+#. • MSG_075
+msgid "Unable to remount volume."
+msgstr "Tidak dapat melekap semula jilid."
+
+#. • MSG_076
+msgid "Unable to patch/setup files for boot."
+msgstr "Tidak dapat menyediakan fail-fail untuk boot."
+
+#. • MSG_077
+msgid "Unable to assign a drive letter."
+msgstr "Tidak dapat menetapkan huruf pemacu."
+
+#. • MSG_078
+msgid "Can't mount GUID volume."
+msgstr "Tidak boleh lekap jilid GUID."
+
+#. • MSG_079
+msgid "The device is not ready."
+msgstr "Peranti ini tidak sedia untuk digunakan."
+
+#. • MSG_080
+msgid ""
+"Rufus detected that Windows is still flushing its internal buffers onto the USB device.\n"
+"\n"
+"Depending on the speed of your USB device, this operation may take a long time to complete, especially for large files.\n"
+"\n"
+"We recommend that you let Windows finish, to avoid corruption. But if you grow tired of waiting, you can just unplug the device..."
+msgstr ""
+"Rufus mengesan bahawa Windows masih lagi menarik penimbal ke dalam peranti USB.\n"
+"\n"
+"Bergantung kepada kelajuan peranti USB anda, operasi ini mungkin mengambil masa yang amat lama.Terutamanya untuk fail besar.\n"
+"\n"
+"Kami cadangkan anda biarkan proses Windows untuk tamat dahulu supaya mengelakkan korupsi.Namun, jika anda kesuntukan masa, anda boleh cabutkan peranti anda..."
+
+#. • MSG_081
+msgid "Unsupported image"
+msgstr "Imej tidak disokong"
+
+#. • MSG_082
+msgid "This image is either non-bootable, or it uses a boot or compression method that is not supported by Rufus..."
+msgstr "Imej ini sama ada tidak boleh boot, atau ia menggunakan kaedah boot atau mampatan yang tidak disokong oleh Rufus..."
+
+#. • MSG_083
+msgid "Replace %s?"
+msgstr "Gantikan %s?"
+
+#. • MSG_084
+msgid ""
+"This ISO image seems to use an obsolete version of '%s'.\n"
+"Boot menus may not display properly because of this.\n"
+"\n"
+"A newer version can be downloaded by Rufus to fix this issue:\n"
+"- Choose 'Yes' to connect to the internet and download the file\n"
+"- Choose 'No' to leave the existing ISO file unmodified\n"
+"If you don't know what to do, you should select 'Yes'.\n"
+"\n"
+"Note: The new file will be downloaded in the current directory and once a '%s' exists there, it will be reused automatically."
+msgstr ""
+"Imej ISO ini menggunakan versi '%s' yang telah lapuk.\n"
+"Oleh sebab ini, menu boot mungkin tidak dipaparkan dengan betul.\n"
+"\n"
+"Versi yang lebih baharu boleh dimuat turun oleh Rufus untuk memperbaiki isu ini:\n"
+"- Pilih 'Ya' untuk menyambung ke internet dan muat turun fail tersebut\n"
+"- Pilih 'Tidak' untuk tidak mengubahsuai fail ISO yang digunakan\n"
+"Jika anda tidak pasti apa yang perlu dilakukan, pilih 'Ya'.\n"
+"\n"
+"Perhatian: Fail yang dimuat turun akan disimpan di dalam direktori bersamaan dengan Rufus dan apabila terdapat '%s' , ia akan digunakan secara automatik."
+
+#. • MSG_085
+msgid "Downloading %s"
+msgstr "Sedang memuat turun %s"
+
+#. • MSG_086
+msgid "No image selected"
+msgstr "Tiada imej yang dipilih"
+
+#. • MSG_087
+#.
+#. This message appears in Advanced format options → Check device for bad blocks → dropdown menu
+#. %s will be replaced with SLC, MLC or TLC, which is a type of NAND (or flash memory). In other
+#. words, this message should mean "for a flash memory device of type %s". *Please* try to keep
+#. the translation as short as possible so that it won't result in an overly large dropdown...
+#. If you prefer, it's okay to use "type" or "device" instead of "NAND" (e.g. "for TLC type").
+#. See also MSG_035.
+msgid "for %s NAND"
+msgstr "untuk %s NAND"
+
+#. • MSG_088
+msgid "Image is too big"
+msgstr "Imej terlalu besar"
+
+#. • MSG_089
+msgid "The image is too big for the selected target."
+msgstr "Imej ini terlalu besar untuk sasaran yang dipilih."
+
+#. • MSG_090
+msgid "Unsupported ISO"
+msgstr "ISO tidak disokong"
+
+#. • MSG_091
+msgid "When using UEFI Target Type, only EFI bootable ISO images are supported. Please select an EFI bootable ISO or set the Target Type to BIOS."
+msgstr "Apabila menggunakan jenis sasaran UEFI , hanya imej boot jenis EFI sahaja disokong. Sila pilih ISO boot jenis EFI atau tukarkan jenis sasaran kepada BIOS."
+
+#. • MSG_092
+msgid "Unsupported filesystem"
+msgstr "Sistem fail tidak disokong"
+
+#. • MSG_093
+msgid ""
+"IMPORTANT: THIS DRIVE CONTAINS MULTIPLE PARTITIONS!!\n"
+"\n"
+"This may include partitions/volumes that aren't listed or even visible from Windows. Should you wish to proceed, you are responsible for any data loss on these partitions."
+msgstr ""
+"PENTING: PERANTI INI MEMPUNYAI BEBERAPA PARTISYEN!!\n"
+"\n"
+"Ini mungkin termasuk partisyen/jilid yang tidak disenaraikan atau tidak boleh dilihat dari Windows. Jika anda mahu meneruskannya, anda bertanggungjawab ke atas kehilangan data dalam partisyen tersebut."
+
+#. • MSG_094
+msgid "Multiple partitions detected"
+msgstr "Beberapa partisyen dikesan"
+
+#. • MSG_095
+msgid "DD Image"
+msgstr "DD Imej"
+
+#. • MSG_096
+msgid "The file system currently selected can not be used with this type of ISO. Please select a different file system or use a different ISO."
+msgstr "Sistem fail yang sedang dipilih tidak boleh digunakan dengan jenis ISO ini. Sila pilih sistem fail berlainan atau gunakan ISO berlainan."
+
+#. • MSG_097
+msgid "'%s' can only be applied if the file system is NTFS."
+msgstr "'Windows To Go' hanya boleh digunakan jika sistem fail adalah NTFS."
+
+#. • MSG_098
+msgid ""
+"IMPORTANT: You are trying to install 'Windows To Go', but your target drive doesn't have the 'FIXED' attribute. Because of this Windows will most likely freeze during boot, as Microsoft hasn't designed it to work with drives that instead have the 'REMOVABLE' attribute.\n"
+"\n"
+"Do you still want to proceed?\n"
+"\n"
+"Note: The 'FIXED/REMOVABLE' attribute is a hardware property that can only be changed using custom tools from the drive manufacturer. However those tools are ALMOST NEVER provided to the public..."
+msgstr ""
+"PENTING: Anda cuba memasang 'Windows To Go', tetapi pemacu sasaran anda tidak mempunyai atribut 'FIXED'. Disebabkan ini Windows akan berkemungkinan besar sangkut sepanjang but, kerana Microsoft tidak merekanya untuk berfungsi dengan pemacu yang sebaliknya mempunyai atribut 'REMOVABLE'.\n"
+"\n"
+"Adakah anda masih mahu teruskan?\n"
+"\n"
+"Nota: Atribut 'FIXED/REMOVABLE'adalah sifat perkakasan yang hanya boleh ditukar menggunakan alatan tersuai daripada pengilang pemacu. Bagaimanapun alatan tersebut adalah HAMPIR TIDAK AKAN diberikan kepada umum..."
+
+#. • MSG_099
+msgid "Filesystem limitation"
+msgstr "Had sistem fail"
+
+#. • MSG_100
+msgid "This ISO image contains a file larger than 4 GB, which is more than the maximum size allowed for a FAT or FAT32 file system."
+msgstr "Imej ISO ini mengandungi fail yang lebih besar daripada 4 GB iaitu saiz maksima yang dibenarkan untuk sistem fail FAT atau FAT32."
+
+#. • MSG_101
+msgid "Missing WIM support"
+msgstr "Tiada sokongan WIM"
+
+#. • MSG_102
+msgid ""
+"Your platform cannot extract files from WIM archives. WIM extraction is required to create EFI bootable Windows 7 and Windows Vista USB drives. You can fix that by installing a recent version of 7-Zip.\n"
+"Do you want to visit the 7-zip download page?"
+msgstr ""
+"Platform anda tidak boleh mengekstrak fail daripada arkib WIM. Ini diperlukan untuk mencipta cakera boot EFI Windows 7 dan Windows Vista. Anda boleh membaikinya dengan cara mendapatkan versi 7-Zip terbaharu.\n"
+"Adakah anda mahu ke halaman muat turun 7-zip?"
+
+#. • MSG_103
+msgid "Download %s?"
+msgstr "Muat turun %s?"
+
+#. • MSG_104
+#.
+#. Example: "Grub4DOS v0.4 or later requires a 'grldr' file to be installed. Because this
+#. file is more than 100 KB in size, and always present on Grub4DOS ISO images (...)"
+msgid ""
+"%s or later requires a '%s' file to be installed.\n"
+"Because this file is more than 100 KB in size, and always present on %s ISO images, it is not embedded in Rufus.\n"
+"\n"
+"Rufus can download the missing file for you:\n"
+"- Select 'Yes' to connect to the internet and download the file\n"
+"- Select 'No' if you want to manually copy this file on the drive later\n"
+"\n"
+"Note: The file will be downloaded in the current directory and once a '%s' exists there, it will be reused automatically."
+msgstr ""
+"%s atau kemudian memerlukan fail '%s' di komputer anda.\n"
+"Oleh sebab fail tersebut lebih besar daripada 100 KB dan sentiasa ada dalam imej %s, Ia tidak termasuk dalam Rufus.\n"
+"\n"
+"Rufus boleh memuat turun fail tersebut untuk anda:\n"
+"- Pilih 'Ya' untuk muat turun fail tersebut\n"
+"- Pilih 'Tidak' jika anda mahu menyalin fail tersebut secara manual ke cakera ini pada masa lain\n"
+"\n"
+"Perhatian: Fail akan dimuat turun ke direktori bersamaan Rufus dan apabila '%s' ada di sana, ia akan digunakan semula secara automatik."
+
+#. • MSG_105
+msgid ""
+"Cancelling may leave the device in an UNUSABLE state.\n"
+"If you are sure you want to cancel, click YES. Otherwise, click NO."
+msgstr ""
+"Pembatalan boleh menyebabkan peranti ini TIDAK BOLEH DIGUNAKAN SEMULA.\n"
+"Jika anda pasti anda mahu membatalkannya, klik Ya. Sebaliknya, klik Tidak."
+
+#. • MSG_106
+msgid "Please select folder"
+msgstr "Sila pilih folder"
+
+#. • MSG_107
+msgid "All files"
+msgstr "Semua fail"
+
+#. • MSG_108
+msgid "Rufus log"
+msgstr "Log Rufus"
+
+#. • MSG_109
+msgid "0x%02X (Disk %d)"
+msgstr "0x%02X (Cakera %d)"
+
+#. • MSG_110
+#.
+#. "Cluster size" should be the same as the label for IDS_CLUSTER_SIZE_TXT
+#. "kilobytes" should be the same as in MSG_027
+msgid ""
+"MS-DOS cannot boot from a drive using a 64 kilobytes Cluster size.\n"
+"Please change the Cluster size or use FreeDOS."
+msgstr ""
+"MS-DOS tidak boleh boot daripada cakera yang menggunakan saiz gugusan 64 kilobait.\n"
+"Sila tukarkan saiz gugusan atau gunakan FreeDOS."
+
+#. • MSG_111
+msgid "Incompatible Cluster size"
+msgstr "Saiz gugusan tidak sesuai"
+
+#. • MSG_112
+#.
+#. "%d:%02d" is a duration (mins:secs)
+msgid "Formatting a large UDF volumes can take a lot of time. At USB 2.0 speeds, the estimated formatting duration is %d:%02d, during which the progress bar will appear frozen. Please be patient!"
+msgstr "Pemformatan jilid UDF yang besar mengambil masa yang amat lama. Pada kelajuan USB 2.0, anggaran masa pemformatan adalah %d:%02d, dimana bar kemajuan akan kelihatan seperti ia tidak bergerak. Sila bersabar!"
+
+#. • MSG_113
+msgid "Large UDF volume"
+msgstr "Jilid UDF besar"
+
+#. • MSG_114
+msgid ""
+"This image uses Syslinux %s%s but this application only includes the installation files for Syslinux %s%s.\n"
+"\n"
+"As new versions of Syslinux are not compatible with one another, and it wouldn't be possible for Rufus to include them all, two additional files must be downloaded from the Internet ('ldlinux.sys' and 'ldlinux.bss'):\n"
+"- Select 'Yes' to connect to the Internet and download these files\n"
+"- Select 'No' to cancel the operation\n"
+"\n"
+"Note: The files will be downloaded in the current application directory and will be reused automatically if present."
+msgstr ""
+"Imej ini menggunakan Syslinux %s%s tetapi aplikasi ini hanya mempunyai fail pemasangan untukSyslinux %s%s.\n"
+"\n"
+"Oleh kerana versi-versi baharu Syslinux tidak serasi dengan satu sama lain, maka tidakwajar Rufus menyediakan semuanya, dua fail tambahan perlu dimuat turun dariInternet ('ldlinux.sys' dan 'ldlinux.bss'):\n"
+"- Pilih 'Ya' untuk menyambung ke Internet dan memuat turun fail tersebut\n"
+"- Pilih 'Tidak' untuk membatalkan operasi\n"
+"\n"
+"NOTA:Fail akan dimuat turun ke dalam direktori aplikasi ini dan akan digunakan semulasecara automatik sekiranya sedia ada."
+
+#. • MSG_115
+msgid "Download required"
+msgstr "Muat turun diperlukan"
+
+#. • MSG_116
+#.
+#. You should be able to test this message with Super Grub2 Disk ISO:
+#. https://sourceforge.net/projects/supergrub2/files/2.00s2/super_grub2_disk_hybrid_2.00s2.iso/download (11.9 MB)
+msgid ""
+"This image uses Grub %s but the application only includes the installation files for Grub %s.\n"
+"\n"
+"As different versions of Grub may not be compatible with one another, and it is not possible to include them all, Rufus will attempt to locate a version of the Grub installation file ('core.img') that matches the one from your image:\n"
+"- Select 'Yes' to connect to the Internet and attempt to download it\n"
+"- Select 'No' to use the default version from Rufus\n"
+"- Select 'Cancel' to abort the operation\n"
+"\n"
+"Note: The file will be downloaded in the current application directory and will be reused automatically if present. If no match can be found online, then the default version will be used."
+msgstr ""
+"Imej ini menggunakan Grub %s tetapi aplikasi hanya termasuk fail pemasangan untuk Grub %s.\n"
+"\n"
+"Sepertimana versi Grub berlainan mungkin tidak sesuai antara satu sama lain, dan ianya tidak mungkin untuk memasukkan mereka semua, Rufus akan cuba mengesan versi fail pemasangan Grub ('core.img') yang sepadan dengan salah satu daripada imej anda:\n"
+"- Pilih 'Ya' untuk bersambung ke Internet dan cuba memuat turunnya\n"
+"- Pilih 'Tidak' untuk menggunakan versi lalai dari Rufus\n"
+"- Pilih 'Batal' untuk membatalkan operasi\n"
+"\n"
+"Nota: Fail akan dimuat turun dalam direktori aplikasi semasa dan akan digunakan semula secara automatik jika ada. Jika tiada padanan boleh dijumpai dalam talian, versi lalai akan digunakan."
+
+#. • MSG_117
+msgid "Standard Windows installation"
+msgstr "Pemasangan Windows biasa"
+
+#. • MSG_118
+#.
+#. Only translate this message *if* Microsoft has a specific name for
+#. http://en.wikipedia.org/wiki/Windows_To_Go in your language.
+#. Otherwise, you may add a parenthesis eg. "Windows To Go ()"
+msgid "Windows To Go"
+msgstr ""
+
+#. • MSG_119
+msgid "advanced drive properties"
+msgstr "pilihan tambahan pemacu"
+
+#. • MSG_120
+msgid "advanced format options"
+msgstr "pilihan format tambahan"
+
+#. • MSG_121
+msgid "Show %s"
+msgstr "Tunjuk %s"
+
+#. • MSG_122
+msgid "Hide %s"
+msgstr "Sembunyi %s"
+
+#. • MSG_123
+#.
+#. A persistent partitions can be used with "Live" USB media to store data.
+#. It means that data can be preserved across reboots on "Live" USB drives.
+#. To test this feature, please download and select 'casper_test.iso' from:
+#. https://github.com/pbatard/rufus/raw/master/res/loc/test/casper_test.iso
+msgid "Persistent partition size"
+msgstr "Saiz pemetakan berterusan (persistence partition)"
+
+#. • MSG_124
+#.
+#. This message appears in the persistence 'Size' control when the slider is set to 0.
+#. It is okay to use "No partition" or "None" or "Deactivated" to indicate that a persistent partition will not be
+#. created if the width of the control is too small (since the 'Size' edit control is *not* adjusted for width).
+msgid "No persistence"
+msgstr "Tidak berterusan"
+
+#. • MSG_125
+#.
+#. Tooltips used for the peristence size slider and edit control
+msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
+msgstr "Mengeset saiz pemetakan berterusan (persistent partition) untuk media 'live USB'. Setkan saiz kepada 0 untuk melumpuhkan pemetakan berterusan."
+
+#. • MSG_126
+msgid "Set the partition size units."
+msgstr "Set saiz unit pemetakan."
+
+#. • MSG_127
+msgid "Do not show this message again"
+msgstr "Henti papar mesej ini"
+
+#. • MSG_128
+msgid "Important notice about %s"
+msgstr "Notis penting berkenaan %s"
+
+#. • MSG_129
+msgid ""
+"You have just created a media that uses the UEFI:NTFS bootloader. Please remember that, to boot this media, YOU MUST DISABLE SECURE BOOT.\n"
+"For details on why this is necessary, see the 'More Information' button below."
+msgstr ""
+"Anda telah menghasilkan media yang menggunakan bootloader UEFI:NTFS. ANDA PERLU MEMATIKAN PILIHAN SECURE BOOT.\n"
+"Untuk mengetahui dengan lebih lanjut, sila klik butang 'Maklumat Lanjut' di bawah."
+
+#. • MSG_130
+msgid "Windows image selection"
+msgstr "Pemilihan imej Windows"
+
+#. • MSG_131
+msgid ""
+"This ISO contains multiple Windows images.\n"
+"Please select the image you wish to use for this installation:"
+msgstr ""
+"ISO ini mengandungi beberapa imej Windows.\n"
+"Sila pilih imej yang anda ingin gunakan untuk pemasangan:"
+
+#. • MSG_132
+msgid "Another program or process is accessing this drive. Do you want to format it anyway?"
+msgstr "Terdapat program atau proses lain sedang mencapai pemacu ini. Adakah anda mahu memformatnya juga?"
+
+#. • MSG_133
+msgid ""
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
+"\n"
+"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
+"\n"
+"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
+msgstr ""
+"Rufus telah mengesan bahawa anda sedang mencuba untuk mencipta media Windows To Go berasaskan imej ISO 1809.\n"
+"\n"
+"Memandangkan terdapat pepijat dari MICROSOFT, media ini akan menghadapi masalah (Blue Scree Of Death) semasa memulakan Windows, melainkan anda menukar fail 'WppRecorder.sys' kepada versi 1803.\n"
+"\n"
+"Sila ambil perhatian. Rufus tidak akan membaiki masalah ini kerana 'WppRecorder.sys' adalah hak cipta milik Microsoft dan kami tidak dapat menyertakan salinan fail berkenaan bersama-sama aplikasi ini..."
+
+#. • MSG_134
+msgid ""
+"Because MBR has been selected for the partition scheme, Rufus can only create a partition up to 2 TB on this media, which will leave %s of disk space unavailable.\n"
+"\n"
+"Are you sure you want to continue?"
+msgstr ""
+"Memandangkan skema pemetakan MBR telah dipilih, Rufus akan menghasilkan petak storan media dengan saiz maksimum 2 TB, di mana %s ruang cakera adalah tidak tersedia.\n"
+"\n"
+"Adakah anda pasti ingin meneruskan operasi?"
+
+#. • MSG_135
+msgid "Version"
+msgstr "Versi"
+
+#. • MSG_136
+msgid "Release"
+msgstr "Keluaran"
+
+#. • MSG_137
+msgid "Edition"
+msgstr "Edisi"
+
+#. • MSG_138
+msgid "Language"
+msgstr "Bahasa"
+
+#. • MSG_139
+msgid "Architecture"
+msgstr "Kerangka"
+
+#. • MSG_140
+msgid "Continue"
+msgstr "Terus"
+
+#. • MSG_141
+msgid "Back"
+msgstr "Undur"
+
+#. • MSG_142
+msgid "Please wait..."
+msgstr "Sila tunggu..."
+
+#. • MSG_143
+msgid "Download using a browser"
+msgstr "Muat turun menggunakan pelayar web"
+
+#. • MSG_144
+msgid "Download of Windows ISOs is unavailable due to Microsoft having altered their website to prevent it."
+msgstr "Muat turun ISO Windows tidak tersedia kerana Microsoft telah mengubah laman web mereka untuk menghalangnya."
+
+#. • MSG_145
+msgid "PowerShell 3.0 or later is required to run this script."
+msgstr "PowerShell 3.0 atau versi lebih baru diperlukan untuk menjalankan skrip ini."
+
+#. • MSG_146
+msgid "Do you want to go online and download it?"
+msgstr "Adakah anda ingin ke dalam talian dan memuat turun?"
+
+#. • MSG_148
+msgid "Running download script..."
+msgstr "Menjalankan skrip untuk memuat turun..."
+
+#. • MSG_149
+msgid "Download ISO Image"
+msgstr "Memuat turun imej ISO"
+
+#. • MSG_150
+msgid "Type of computer you plan to use this bootable drive with. It is your responsibility to determine whether your target is of BIOS or UEFI type before you start creating the drive, as it may fail to boot otherwise."
+msgstr "Jenis komputer yang anda merancang untuk menggunakan cakera \"bootable\" ini. Adalah menjadi tanggungjawab anda untuk menentukan sama ada sasaran anda adalah jenis BIOS atau UEFI sebelum anda wujudkan cakera tersebut, kerana ia mungkin gagal untuk boot."
+
+#. • MSG_151
+#.
+#. You shouldn't translate 'Legacy Mode' as this is an option that usually appears in English in the UEFI settings.
+msgid "'UEFI-CSM' means that the device will only boot in BIOS emulation mode (also known as 'Legacy Mode') under UEFI, and not in native UEFI mode."
+msgstr "'UEFI-CSM' bermaksud peranti hanya akan boot di dalam mod emulasi BIOS (juga dikenali sebagai 'Legacy Mode') dibawah UEFI, dan bukan dalam mod asli UEFI."
+
+#. • MSG_152
+msgid "'non CSM' means that the device will only boot in native UEFI mode, and not in BIOS emulation mode (also known as 'Legacy Mode')."
+msgstr "'bukan CSM' bermaksud peranti hanya akan boot di dalam mod asli UEFI, dan bukan di mod emulasi BIOS (juga dikenali sebagai 'Legacy Mode')."
+
+#. • MSG_153
+msgid "Test pattern: 0x%02X"
+msgstr "Uji corak: 0x%02X"
+
+#. • MSG_154
+msgid "Test pattern: 0x%02X, 0x%02X"
+msgstr "Uji corak: 0x%02X, 0x%02X"
+
+#. • MSG_155
+msgid "Test pattern: 0x%02X, 0x%02X, 0x%02X"
+msgstr "Uji corak: 0x%02X, 0x%02X, 0x%02X"
+
+#. • MSG_156
+msgid "Test pattern: 0x%02X, 0x%02X, 0x%02X, 0x%02X"
+msgstr "Uji corak: 0x%02X, 0x%02X, 0x%02X, 0x%02X"
+
+#. • MSG_157
+msgid "Sets the target filesystem"
+msgstr "Menetapkan sistem fail sasaran"
+
+#. • MSG_158
+msgid "Minimum size that a block of data will occupy in the filesystem"
+msgstr "Saiz minima satu blok data akan gunakan dalam sistem fail"
+
+#. • MSG_159
+msgid ""
+"Use this field to set the drive label.\n"
+"International characters are accepted."
+msgstr ""
+"Gunakan ini untuk tetapkan label cakera.\n"
+"Huruf antarabangsa boleh digunakan."
+
+#. • MSG_160
+msgid "Toggle advanced options"
+msgstr "Togel pilihan lanjutan"
+
+#. • MSG_161
+msgid "Check the device for bad blocks using a test pattern"
+msgstr "Semak peranti untuk blok rosak menggunakan corak ujian"
+
+#. • MSG_162
+msgid "Uncheck this box to use the \"slow\" format method"
+msgstr "Nyahtanda kotak ini untuk menggunakan kaedah pemformatan perlahan"
+
+#. • MSG_163
+msgid "Method that will be used to create partitions"
+msgstr "Kaedah yang digunakan untuk mencipta partisyen"
+
+#. • MSG_164
+msgid "Method that will be used to make the drive bootable"
+msgstr "Kaedah yang digunakan untuk membuat cakera boot"
+
+#. • MSG_165
+msgid "Click to select or download an image..."
+msgstr "Klik untuk memilih atau memuat turun imej..."
+
+#. • MSG_166
+msgid "Check this box to allow the display of international labels and set a device icon (creates an autorun.inf)"
+msgstr "Klik kotak ini untuk membenarkan paparan label antarabangsa dan menetapkan ikon cakera (akan membuat fail autorun.inf)"
+
+#. • MSG_167
+msgid "Install an MBR that allows boot selection and can masquerade the BIOS USB drive ID"
+msgstr "Memasang MBR yang membenarkan pilihan boot dan mampu menyamar ID BIOS USB"
+
+#. • MSG_168
+msgid ""
+"Try to masquerade first bootable USB drive (usually 0x80) as a different disk.\n"
+"This should only be necessary if you install Windows XP and have more than one disk."
+msgstr ""
+"Cuba menyamarkan cakera USB boot (biasanya 0x80) sebagai cakera lain.\n"
+"Ini hanya diperlukan jika anda memasang Windows XP dan mempunyai lebih daripada satu cakera."
+
+#. • MSG_169
+msgid ""
+"Create an extra hidden partition and try to align partitions boundaries.\n"
+"This can improve boot detection for older BIOSes."
+msgstr ""
+"Ciptakan partisyen tambahan tersembunyi dan cuba melaraskan sempadan partisyen.\n"
+"Ini boleh mempertingkatkan pengesanan boot untuk BIOS lama."
+
+#. • MSG_170
+msgid "Enable the listing of USB Hard Drive enclosures. USE AT YOUR OWN RISKS!!!"
+msgstr "Membolehkan penyenaraian pagaran cakera keras USB. GUNAKAN ATAS RISIKO SENDIRI!!!"
+
+#. • MSG_171
+msgid ""
+"Start the formatting operation.\n"
+"This will DESTROY any data on the target!"
+msgstr ""
+"Mulakan operasi pemformatan.\n"
+"Ini akan MEMADAMKAN semua data pada sasaran!"
+
+#. • MSG_172
+#.
+#. As of Rufus 3.2, *ALL* downloads from the servers are digitally signed, and their signature is validated using the
+#. public key that is embedded in the application. This message appears in an error dialog if the validation fails.
+msgid "Invalid download signature"
+msgstr "Tandatangan digital muat turun tidak sah"
+
+#. • MSG_173
+msgid "Click to select..."
+msgstr "Klik untuk memilih..."
+
+#. • MSG_174
+msgid "Rufus - The Reliable USB Formatting Utility"
+msgstr "Rufus - Utiliti pemformatan USB yang dipercayai"
+
+#. • MSG_175
+msgid "Version %d.%d (Build %d)"
+msgstr "Versi %d.%d (Build %d)"
+
+#. • MSG_176
+msgid "English translation: Pete Batard "
+msgstr ""
+"Terjemahan Bahasa Malaysia:\\line\n"
+"• Muhammad Aman \\line\n"
+"• VGPlayer \\line\n"
+"• Mohamad Ikhwan bin Kori "
+
+#. • MSG_177
+msgid "Report bugs or request enhancements at:"
+msgstr "Laporkan masalah atau cadangan penambahbaikan di:"
+
+#. • MSG_178
+msgid "Additional Copyrights:"
+msgstr "Hak cipta tambahan:"
+
+#. • MSG_179
+msgid "Update Policy:"
+msgstr "Polisi kemaskini:"
+
+#. • MSG_180
+msgid "If you choose to allow this program to check for application updates, you agree that the following information may be collected on our server(s):"
+msgstr "Jika anda pilih untuk membenarkan perisian ini menyemak untuk aplikasi versi baharu, anda bersetuju untuk membenarkan pelayan kami mengumpulkan maklumat berikut:"
+
+#. • MSG_181
+msgid "Your operating system's architecture and version"
+msgstr "Versi dan kerangka sistem operasi"
+
+#. • MSG_182
+msgid "The version of the application you use"
+msgstr "Versi aplikasi yang anda gunakan"
+
+#. • MSG_183
+msgid "Your IP address"
+msgstr "Alamat IP anda"
+
+#. • MSG_184
+msgid "For the purpose of generating private usage statistics, we may keep the information collected, \\b for at most a year\\b0 . However, we will not willingly disclose any of this individual data to third parties."
+msgstr "Untuk tujuan menjana statistik penggunaan peribadi , kami mungkin menyimpan maklumat yang dikumpulkan, \\b untuk sekurang-kurangnya setahun\\b0 . Namun, kami tidak rela untuk mendedahkan maklumat ini kepada mana-mana pihak ketiga."
+
+#. • MSG_185
+msgid "Update Process:"
+msgstr "Proses mengemas kini:"
+
+#. • MSG_186
+msgid ""
+"Rufus does not install or run background services, therefore update checks are performed only when the main application is running.\\line\n"
+"Internet access is of course required when checking for updates."
+msgstr ""
+"Rufus tidak memasang atau menjalankan servis di latar belakang. Oleh itu, semakan kemas kini hanya dijalankan apabila aplikasi utama berjalan.\\line\n"
+"Akses internet diperlukan untuk menyemak untuk versi baru."
+
+#. • MSG_187
+msgid "Invalid image for selected boot option"
+msgstr "Imej tidak sah untuk pilihan boot yang dipilih"
+
+#. • MSG_188
+msgid "The current image doesn't match the boot option selected. Please use a different image or choose a different boot option."
+msgstr "Imej\ttidak serasi dengan pilihan boot yang dipilih. Sila gunakan imej lain atau pilih pilihan boot lain."
+
+#. • MSG_189
+msgid "This ISO image is not compatible with the selected filesystem"
+msgstr "Imej ISO ini tidak serasi dengan sistem fail yang dipilih"
+
+#. • MSG_190
+msgid "Incompatible drive detected"
+msgstr "Pemacu tidak serasi dikesan"
+
+#. • MSG_191
+#.
+#. Used in MSG_235
+msgid "Write pass"
+msgstr "Melepasi tulisan"
+
+#. • MSG_192
+#.
+#. Used in MSG_235
+msgid "Read pass"
+msgstr "Melepasi bacaan"
+
+#. • MSG_193
+msgid "Downloaded %s"
+msgstr "Muat turun %s"
+
+#. • MSG_194
+msgid "Could not download %s"
+msgstr "Tidak boleh muat turun %s"
+
+#. • MSG_195
+#.
+#. Example: "Using embedded version of Grub2 file(s)"
+msgid "Using embedded version of %s file(s)"
+msgstr "Menggunakan %s fail versi dibenam"
+
+#. • MSG_196
+msgid ""
+"IMPORTANT: THIS DRIVE USES A NONSTANDARD SECTOR SIZE!\n"
+"\n"
+"Conventional drives use a 512-byte sector size but this drive uses a %d-byte one. In many cases, this means that you will NOT be able to boot from this drive.\n"
+"Rufus can try to create a bootable drive, but there is NO WARRANTY that it will work."
+msgstr ""
+"PENTING: PEMACU INI MENGGUNAKAN SAIZ SEKTOR BUKAN PIAWAIAN!\n"
+"\n"
+"Pemacu konvensional mengunakan saiz sektor 512 bait tetapi pemacu ini menggunakan %d bait. Dalam banyak kes, ini bermaksud anda TIDAK akan mampu untuk but dari pemacu ini.\n"
+"Rufus boleh cuba untuk mencipta pemacu boleh but, tetapi TIDAK ADA JAMINAN ianya akan berfungsi."
+
+#. • MSG_197
+msgid "Nonstandard sector size detected"
+msgstr "Saiz sektor bukan standard dikesan"
+
+#. • MSG_198
+msgid "'Windows To Go' can only be installed on a GPT partitioned drive if it has the FIXED attribute set. The current drive was not detected as FIXED."
+msgstr "'Windows To Go' hanya boleh dipasang dalam pemacu berpartisyen GPT jika ia mempunyai set atribut 'FIXED'. Pemacu semasa tidak dikesan sebagai 'FIXED'."
+
+#. • MSG_199
+msgid "This feature is not available on this platform."
+msgstr "Ciri ini tidak tersedia di platform ini."
+
+#. • MSG_201
+msgid "Cancelling - Please wait..."
+msgstr "Sedang membatalkan - Sila tunggu..."
+
+#. • MSG_202
+msgid "Scanning image..."
+msgstr "Mengimbas imej..."
+
+#. • MSG_203
+msgid "Failed to scan image"
+msgstr "Imbasan imej gagal"
+
+#. • MSG_204
+#.
+#. %s is the name of an obsolete Syslinux .c32 module. Example: "Obsolete vesamenu.c32 detected"
+msgid "Obsolete %s detected"
+msgstr "%s lapuk dikesan"
+
+#. • MSG_205
+#.
+#. Display the name of the image selected. eg: "Using image: en_win7_x64_sp1.iso"
+msgid "Using image: %s"
+msgstr "Menggunakan imej: %s"
+
+#. • MSG_206
+#.
+#. Example: "Missing ldlinux.c32 file"
+msgid "Missing %s file"
+msgstr "Tidak menjumpai fail %s"
+
+#. • MSG_207
+#.
+#. The name proposed by Windows' Computer Management → Disk Management when you try to format
+#. a drive with an empty label. For an example, see https://rufus.ie/pics/default_name.png.
+msgid "New Volume"
+msgstr "Jilid baharu"
+
+#. • MSG_208
+#.
+#. Singular. Example: "1 device found"
+msgid "%d device found"
+msgstr "%d peranti dijumpai"
+
+#. • MSG_209
+#.
+#. Plural. Example: "3 devices found"
+msgid "%d devices found"
+msgstr "%d peranti dijumpai"
+
+#. • MSG_210
+msgid "READY"
+msgstr "SEDIA"
+
+#. • MSG_211
+msgid "Cancelled"
+msgstr "DIBATALKAN"
+
+#. • MSG_212
+msgid "Failed"
+msgstr "GAGAL"
+
+#. • MSG_213
+#.
+#. Used when a new update has been downloaded and launched
+msgid "Launching new application..."
+msgstr "Melancarkan aplikasi baru..."
+
+#. • MSG_214
+msgid "Failed to launch new application"
+msgstr "Gagal untuk melancarkan aplikasi baru"
+
+#. • MSG_215
+#.
+#. Example: "Opened some_file.txt"
+msgid "Opened %s"
+msgstr "%s dibuka"
+
+#. • MSG_216
+#.
+#. Example: "Saved rufus.log"
+msgid "Saved %s"
+msgstr "%s disimpan"
+
+#. • MSG_217
+#.
+#. Formatting status
+msgid "Formatting: %s"
+msgstr "Pemformatan: %s"
+
+#. • MSG_218
+msgid "Creating file system: Task %d/%d completed"
+msgstr "Mencipta sistem fail: Tugas %d/%d selesai"
+
+#. • MSG_219
+msgid "NTFS Fixup: %d%% completed"
+msgstr "Pembaikian NTFS: %d%% selesai"
+
+#. • MSG_220
+#.
+#. Parameter: the file system and an estimated duration in mins and secs.
+#. Example: "Formatting (UDF) - Estimated duration 3:21..."
+#. If "estimated duration" is too long, just use "estimated" or an abbreviation
+msgid "Formatting (%s) - estimated duration %d:%02d..."
+msgstr "Pemformatan (%s) - Jangka masa anggaran %d:%02d..."
+
+#. • MSG_221
+msgid "Setting label (%s)..."
+msgstr "Menetapkan Label (%s)..."
+
+#. • MSG_222
+#.
+#. Example: "Formatting (FAT32)..."
+msgid "Formatting (%s)..."
+msgstr "Pemformatan (%s)..."
+
+#. • MSG_223
+msgid "NTFS Fixup (Checkdisk)..."
+msgstr "Pembaikian NTFS (Periksa cakera)..."
+
+#. • MSG_224
+msgid "Clearing MBR/PBR/GPT structures..."
+msgstr "Memadam struktur MBR/PBR/GPT..."
+
+#. • MSG_225
+msgid "Requesting disk access..."
+msgstr "Meminta akses cakera..."
+
+#. • MSG_226
+msgid "Analyzing existing boot records..."
+msgstr "Menganalisis rekod boot sedia ada..."
+
+#. • MSG_227
+msgid "Closing existing volume..."
+msgstr "Menutup jilid sedia ada..."
+
+#. • MSG_228
+msgid "Writing Master Boot Record..."
+msgstr "Menulis \"Rekod master boot\"..."
+
+#. • MSG_229
+msgid "Writing Partition Boot Record..."
+msgstr "Menulis \"Rekod boot partisyen\"..."
+
+#. • MSG_230
+msgid "Copying DOS files..."
+msgstr "Menyalin fail DOS..."
+
+#. • MSG_231
+msgid "Copying ISO files: %s"
+msgstr "Menyalin fail ISO: %s"
+
+#. • MSG_232
+msgid "Win7 EFI boot setup (%s)..."
+msgstr "Persediaan boot EFI Win7 (%s)..."
+
+#. • MSG_233
+msgid "Finalizing, please wait..."
+msgstr "Menyiapkan, sila tunggu..."
+
+#. • MSG_234
+#.
+#. Takes a Syslinux version as parameter.
+#. Example: "Installing Syslinux v5.10..."
+msgid "Installing Syslinux %s..."
+msgstr "Memasang Syslinux %s..."
+
+#. • MSG_235
+#.
+#. Bad blocks status. Example: "Bad Blocks: Write pass 1/2 - 12.34% (0/0/1 errors)"
+#. See MSG_191 & MSG_192 for "Write pass"/"Read pass" translation.
+msgid "Bad Blocks: %s %d/%d - %0.2f%% (%d/%d/%d errors)"
+msgstr "Blok rosak: %s %d/%d - %0.2f%% (%d/%d/%d kesilapan)"
+
+#. • MSG_236
+msgid "Bad Blocks: Testing with random pattern"
+msgstr "Blok rosak: menguji dengan corak rawak"
+
+#. • MSG_237
+msgid "Bad Blocks: Testing with pattern 0x%02X"
+msgstr "Blok rosak: Menguji dengan corak 0x%02X"
+
+#. • MSG_238
+#.
+#. Example: "Partitioning (MBR)..."
+msgid "Partitioning (%s)..."
+msgstr "Mempartisyenkan (%s)..."
+
+#. • MSG_239
+msgid "Deleting partitions (%s)..."
+msgstr "Memadam partisyen (%s)..."
+
+#. • MSG_240
+#.
+#. This message has to do with the signature validation that Rufus uses when downloading an update.
+msgid ""
+"The signature for the downloaded update can not be validated. This could mean that your system is improperly configured for signature validation or indicate a malicious download.\n"
+"\n"
+"The download will be deleted. Please check the log for more details."
+msgstr ""
+"Tandatangan untuk pengemaskinian telah dimuat turun tidak dapat disahkan. Ini boleh bermakna bahawa sistem anda dikonfigurasi dengan salah untuk pengesahan tandatangan atau menunjukkan fail yang dimuat turun berisi dengan virus\n"
+"\n"
+"Fail yang dimuat turun akan dihapuskan. Sila periksa log untuk maklumat lanjut."
+
+#. • MSG_241
+msgid "Downloading: %s"
+msgstr "Memuat turun: %s"
+
+#. • MSG_242
+msgid "Failed to download file."
+msgstr "Gagal memuat turun fail."
+
+#. • MSG_243
+msgid "Checking for Rufus updates..."
+msgstr "Memeriksa untuk kemas kini Rufus..."
+
+#. • MSG_244
+msgid "Updates: Unable to connect to the internet"
+msgstr "Kemas kini: Tidak dapat menyambung ke internet"
+
+#. • MSG_245
+msgid "Updates: Unable to access version data"
+msgstr "Kemas kini: Tidak dapat mengakses data versi"
+
+#. • MSG_246
+msgid "A new version of Rufus is available!"
+msgstr "Versi baru Rufus boleh didapati!"
+
+#. • MSG_247
+msgid "No new version of Rufus was found"
+msgstr "Tiada versi baru Rufus didapati"
+
+#. • MSG_248
+msgid "Application registry keys successfully deleted"
+msgstr "Kekunci daftar aplikasi berjaya dipadam"
+
+#. • MSG_249
+msgid "Failed to delete application registry keys"
+msgstr "Gagal memadam kekunci daftar aplikasi"
+
+#. • MSG_250
+#.
+#. Example: "Fixed disk detection enabled", "ISO size check disabled", etc.
+msgid "%s enabled"
+msgstr "%s dibolehkan"
+
+#. • MSG_251
+msgid "%s disabled"
+msgstr "%s tidak dibolehkan"
+
+#. • MSG_252
+msgid "Size checks"
+msgstr "Menyemak saiz"
+
+#. • MSG_253
+msgid "Hard disk detection"
+msgstr "Pengesanan cakera keras"
+
+#. • MSG_254
+msgid "Force large FAT32 formatting"
+msgstr "Memaksa pemformatan FAT32 besar"
+
+#. • MSG_255
+msgid "NoDriveTypeAutorun will be deleted on exit"
+msgstr "NoDriveTypeAutorun akan dipadam apabila keluar"
+
+#. • MSG_256
+msgid "Fake drive detection"
+msgstr "Pengesanan cakera palsu"
+
+#. • MSG_257
+msgid "Joliet support"
+msgstr "Sokongan Joliet"
+
+#. • MSG_258
+msgid "Rock Ridge support"
+msgstr "Sokongan Rock Ridge"
+
+#. • MSG_259
+msgid "Force update"
+msgstr "Paksa kemas kini"
+
+#. • MSG_260
+msgid "NTFS compression"
+msgstr "Mampatan NTFS"
+
+#. • MSG_261
+msgid "Writing image: %s"
+msgstr "Menulis imej: %s"
+
+#. • MSG_262
+#.
+#. Cheat mode message to disable ISO Support, so that only DD images can be opened
+msgid "ISO Support"
+msgstr "Sokongan ISO"
+
+#. • MSG_263
+#.
+#. Cheat mode to force legacy size units, where 1 KB is 1024 bytes and NOT that fake 1000 bytes abomination!
+msgid "Use PROPER size units"
+msgstr "Guna saiz seunit yang BETUL"
+
+#. • MSG_264
+msgid "Deleting directory '%s'"
+msgstr "Memadam direktori '%s'"
+
+#. • MSG_265
+msgid "VMWare disk detection"
+msgstr "Pengesanan cakera VMWare"
+
+#. • MSG_266
+msgid "Dual UEFI/BIOS mode"
+msgstr "Mod dwi UEFI/BIOS"
+
+#. • MSG_267
+msgid "Applying Windows image: %s"
+msgstr "Menggunakan imej Windows: %s"
+
+#. • MSG_268
+msgid "Applying Windows image..."
+msgstr "Menggunakan imej Windows..."
+
+#. • MSG_269
+msgid "Preserve timestamps"
+msgstr "Mengekalkan cap masa"
+
+#. • MSG_270
+msgid "USB debug"
+msgstr "Nyahpijat USB"
+
+#. • MSG_271
+msgid "Computing image checksums: %s"
+msgstr "Mengira semak tambah imej: %s"
+
+#. • MSG_272
+msgid "Compute the MD5, SHA1 and SHA256 checksums for the selected image"
+msgstr "Mengira semak tambah MD5, SHA1 dan SHA256 imej dipilih"
+
+#. • MSG_273
+msgid "Change the application language"
+msgstr "Menukar bahasa aplikasi"
+
+#. • MSG_274
+msgid "%s image detected"
+msgstr "%s imej dikesan"
+
+#. • MSG_275
+#.
+#. '%s' will be replaced with your translations for MSG_036 ("ISO Image") and MSG_095 ("DD Image")
+msgid ""
+"The image you have selected is an 'ISOHybrid' image. This means it can be written either in %s (file copy) mode or %s (disk image) mode.\n"
+"Rufus recommends using %s mode, so that you always have full access to the drive after writing it.\n"
+"However, if you encounter issues during boot, you can try writing this image again in %s mode.\n"
+"\n"
+"Please select the mode that you want to use to write this image:"
+msgstr ""
+"Imej yang anda telah pilih adalah imej 'ISOHybrid'. Ini bermaksud ia boleh ditulis sama ada dalam %s mod (salinan fail) atau %s mod (imej cakera).\n"
+"Rufus galakkan menggunakan mod %s, jadi anda selalu mempunyai akses penuh ke pemacu selepas menulisnya.\n"
+"Bagaimanapun, jika anda menghadapi isu-isu semasa boot, anda boleh cuba menulis imej ini lagi dalam mod %s.\n"
+"\n"
+"Sila pilih mod yang anda mahu guna untuk menulis imej ini:"
+
+#. • MSG_276
+#.
+#. '%s' will be replaced with your translation for MSG_036 ("ISO Image")
+msgid "Write in %s mode (Recommended)"
+msgstr "Menulis dalam mod %s (Digalakkan)"
+
+#. • MSG_277
+#.
+#. '%s' will be replaced with your translation for MSG_095 ("DD Image")
+msgid "Write in %s mode"
+msgstr "Menulis dalam mod %s"
+
+#. • MSG_278
+msgid "Checking for conflicting processes..."
+msgstr "Menyemak proses yang berkonflik."
+
+#. • MSG_279
+msgid "Non bootable"
+msgstr "Tidak boleh boot"
+
+#. • MSG_280
+msgid "Disk or ISO image"
+msgstr "Cakera atau imej ISO"
+
+#. • MSG_281
+msgid "%s (Please select)"
+msgstr "%s (Sila pilih)"
+
+#. • MSG_282
+msgid "Exclusive USB drive locking"
+msgstr "Penguncian pemacu USB eksklusif"
+
+#. • MSG_283
+msgid "Invalid signature"
+msgstr "Tandatangan tidak sah"
+
+#. • MSG_284
+msgid "The downloaded executable is missing a digital signature."
+msgstr "'Executable' yang dimuat turun kehilangan tandatangan digital."
+
+#. • MSG_285
+msgid ""
+"The downloaded executable is signed by '%s'.\n"
+"This is not a signature we recognize and could indicate some form of malicious activity...\n"
+"Are you sure you want to run this file?"
+msgstr ""
+"'Executable' yang dimuat turun ditandatangani oleh '%s'.\n"
+"Ini bukannya tandatangan yang kami kenal dan boleh menunjukkan beberapa bentuk aktiviti berniat jahat...\n"
+"Adakah anda pasti anda mahu menjalankan fail ini?"
+
+#. • MSG_286
+msgid "Zeroing drive: %s"
+msgstr "Mensifarkan pemacu: %s"
+
+#. • MSG_287
+msgid "Detection of non-USB removable drives"
+msgstr "Mengesan cakera bukan USB"
+
+#. • MSG_288
+msgid "Missing elevated privileges"
+msgstr "Hilang hak kebenaran istimewa"
+
+#. • MSG_289
+msgid "This application can only run with elevated privileges"
+msgstr "Aplikasi ini hanya boleh digunakan apabila diberikan hak kebenaran istimewa"
+
+#. • MSG_290
+msgid "File Indexing"
+msgstr "Pengindeksan Fail"
+
+#. • MSG_291
+msgid "Version selection"
+msgstr "Pemilihan versi"
+
+#. • MSG_292
+msgid "Please select the version of Windows you want to install:"
+msgstr "Sila pilih versi Windows yang anda ingin memasang:"
+
+#. • MSG_293
+msgid "Unsupported Windows version"
+msgstr "Versi Windows tidak disokong"
+
+#. • MSG_294
+msgid ""
+"This version of Windows is no longer supported by Rufus.\n"
+"The last version of Rufus compatible with this platform is v%d.%d."
+msgstr ""
+"Versi Windows ini tidak lagi disokong oleh Rufus.\n"
+"Versi terakhir Rufus yang serasi dengan platform ini ialah v%d.%d."
+
+#. • MSG_295
+msgid "Warning: Unofficial version"
+msgstr "Amaran: versi bukan rasmi"
+
+#. • MSG_296
+msgid ""
+"This version of Rufus was not produced by its official developer(s).\n"
+"\n"
+"Are you sure you want to run it?"
+msgstr ""
+"Versi Rufus ini bukan dibuat oleh pemaju-pemaju rasmi Rufus. \n"
+"\n"
+"Adakan anda yakin ingin menggunakannya?"
+
+#. • MSG_297
+msgid "Truncated ISO detected"
+msgstr "ISO yang dipenggal dikesan"
+
+#. • MSG_298
+msgid ""
+"The ISO file you have selected does not match its declared size: %s of data is missing!\n"
+"\n"
+"If you obtained this file from the Internet, you should try to download a new copy and verify that the MD5 or SHA checksums match the official ones.\n"
+"\n"
+"Note that you can compute the MD5 or SHA in Rufus by clicking the (✓) button."
+msgstr ""
+"Saiz fail ISO yang anda pilih adalah tidak sama dengan saiz yang diisytiharkan oleh fail ISO ini. %s data telah hilang!\n"
+"\n"
+"Jika fail ini diperolehi dari intenet, anda sepatutnya muat turun semula fail ini dan sahkan bahawa tandatangan MD5 atau SHA adalah sama dengan versi yang rasmi.\n"
+"\n"
+"Anda boleh dapatkan MD5 atau SHA fail yang dipilih ini dengan menekan butang (✓). Kemudian anda perlu membandingkan dengan MD5 atau SHA daripada fail yang rasmi."
+
+#. • MSG_299
+msgid "Timestamp validation error"
+msgstr "Ralat validasi cap waktu"
+
+#. • MSG_300
+msgid ""
+"Rufus could not validate that the timestamp of the downloaded update is more recent than the one for the current executable.\n"
+"\n"
+"In order to prevent potential attack scenarios, the update process has been aborted and the download will be deleted. Please check the log for more details."
+msgstr ""
+"Rufus tidak dapat mengesahkan bahawa kemas kini yang dimuat turun adalah lebih baru daripada aplikasi yang dijalankan sekarang.\n"
+"\n"
+"Untuk mengelakkan daripada senario dimana PC diserang dengan virus, proses kemaskini telah dibatalkan dan fail yang telah dimuat turun akan dipadam. Sila semak log untuk maklumat lanjut."
+
+#. • MSG_301
+msgid "Show application settings"
+msgstr "Tunjuk tetapan aplikasi"
+
+#. • MSG_302
+msgid "Show information about this application"
+msgstr "Paparkan maklumat tentang aplikasi ini"
+
+#. • MSG_303
+msgid "Show the log"
+msgstr "Paparkan log"
+
+#. • MSG_304
+msgid "Create a disk image of the selected device"
+msgstr "Cipta imej cakera untuk peranti yang dipilih"
+
+#. • MSG_305
+msgid "Use this option to indicate if you plan to install Windows to a different disk, or if you want to run Windows directly from this drive (Windows To Go)."
+msgstr "Pilih pilihan ini jika anda mahu memasang Windows pada komputer lain atau ingin menggunakan Windows terus daripada cakera/media ini (Windows To Go)"
+
+#. • MSG_306
+#.
+#. You can see this status message by pressing -- and then selecting START.
+#. It's the same as MSG_286 but with a process that *may* be faster, hence the name.
+msgid "Fast-zeroing drive: %s"
+msgstr "Mensifarkan pemacu 'Fast': %s"
+
+#. • MSG_307
+msgid "this may take a while"
+msgstr "ini mungkin mengambil sedikit masa"
+
+#. • MSG_308
+msgid "VHD detection"
+msgstr "Pengesanan VHD"
+
+#. • MSG_309
+msgid "Compressed archive"
+msgstr "Arkib termampat"
+
+#. • MSG_310
+msgid ""
+"The ISO you have selected uses UEFI and is small enough to be written as an EFI System Partition (ESP). Writing to an ESP, instead of writing to a generic data partition occupying the whole disk, can be preferable for some types of installations.\n"
+"\n"
+"Please select the mode that you want to use to write this image:"
+msgstr ""
+"ISO yang anda pilih menggunakan UEFI dan cukup kecil untuk ditulis sebagai Partition Sistem EFI (ESP). Menulis kepada ESP, bukannya menulis kepada partition data generik yang menduduki keseluruhan cakera, boleh menjadi lebih baik untuk beberapa jenis pemasangan.\n"
+"\n"
+"Sila pilih mod yang anda mahu gunakan untuk menulis imej ini:"
+
+#. • MSG_311
+msgid "Use %s (in the main application window) to enable."
+msgstr "Gunakan %s (dalam tetingkap aplikasi utama) untuk mendayakan."
+
+#. • MSG_312
+msgid "Extra hashes (SHA512)"
+msgstr "Cincangan tambahan (SHA512)"
+
+#. • MSG_313
+msgid "Save to VHD"
+msgstr "Simpan ke VHD"
+
+#. • MSG_314
+msgid "Compute image checksums"
+msgstr "Pengiraan semakan imej"
+
+#. • MSG_315
+msgid "Multiple buttons"
+msgstr "Pelbagai butang"
+
+#. • MSG_316
+msgid "Number of passes"
+msgstr "Bilangan pas"
+
+#. • MSG_317
+msgid "Disk ID"
+msgstr "ID Cakera"
+
+#. • MSG_318
+msgid "Default thread priority: %d"
+msgstr "Keutamaan benang lalai: %d"
+
+#. • MSG_319
+msgid "Ignore Boot Marker"
+msgstr "Abaikan penanda but"
+
+#. • MSG_320
+msgid "Refreshing partition layout (%s)..."
+msgstr "Tataletak partition yang menyegarkan (%s)..."
+
+#. • MSG_321
+msgid ""
+"The image you have selected is an ISOHybrid, but its creators have not made it compatible with ISO/File copy mode.\n"
+"As a result, DD image writing mode will be enforced."
+msgstr ""
+"Imej yang anda pilih ialah ISOHybrid, tetapi penciptanya tidak menjadikannya serasi dengan mod salinan ISO/Fail.\n"
+"Akibatnya, mod penulisan imej DD akan dikuatkuasakan."
+
+#. • MSG_322
+msgid "Unable to open or read '%s'"
+msgstr "Tidak dapat membuka atau membaca '%s'"
+
+#. • MSG_325
+msgid "Applying Windows customization: %s"
+msgstr "Menggunakan penyesuaian Windows: %s"
+
+#. • MSG_326
+msgid "Applying user options..."
+msgstr "Menggunakan pilihan pengguna..."
+
+#. • MSG_327
+msgid "Windows User Experience"
+msgstr "Pengalaman Pengguna Windows"
+
+#. • MSG_328
+msgid "Customize Windows installation?"
+msgstr "Sesuaikan pemasangan Windows?"
+
+#. • MSG_329
+msgid "Remove requirement for 4GB+ RAM, Secure Boot and TPM 2.0"
+msgstr "Alih keluar keperluan untuk 4GB+ RAM, But Selamat dan TPM 2.0"
+
+#. • MSG_330
+msgid "Remove requirement for an online Microsoft account"
+msgstr "Alih keluar keperluan untuk akaun Microsoft dalam talian"
+
+#. • MSG_331
+msgid "Disable data collection (Skip privacy questions)"
+msgstr "Nyahdayakan pengumpulan data (Langkau soalan privasi)"
+
+#. • MSG_332
+msgid "Prevent Windows To Go from accessing internal disks"
+msgstr "Halang Windows To Go daripada mengakses cakera dalaman"
+
+#. • MSG_333
+msgid "Create a local account with username:"
+msgstr "Buat akaun tempatan dengan nama pengguna:"
+
+#. • MSG_334
+msgid "Set regional options to the same values as this user's"
+msgstr "Mengesetkan opsyen rantau kepada nilai yang sama seperti pengguna ini"
+
+#. • MSG_335
+msgid "Disable BitLocker automatic device encryption"
+msgstr "Lumpuhkan penyulitan peranti automatik BitLocker"
+
+#. • MSG_336
+msgid "Persistent log"
+msgstr "Log berterusan"
+
+#. • MSG_900
+#.
+#. The following messages are for the Windows Store listing only and are not used by the application
+msgid "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
+msgstr "Rufus adalah utiliti yang membantu memformat dan mencipta pemacu kilat USB boot, seperti pemacu pen/kekunci USB, kayu memori, dan lain-lain."
+
+#. • MSG_901
+msgid "Official site: %s"
+msgstr "Laman rasmi: %s"
+
+#. • MSG_902
+msgid "Source Code: %s"
+msgstr "Kod Sumber: %s"
+
+#. • MSG_903
+msgid "ChangeLog: %s"
+msgstr ""
+
+#. • MSG_904
+#.
+#. The gnu.org website has many translations of the GPL (such as https://www.gnu.org/licenses/gpl-3.0.zh-cn.html, https://www.gnu.org/licenses/gpl-3.0.fr.html)
+#. Please make sure you try to locate the relevant https://www.gnu.org/licenses/gpl-3.0..html for your language and use it here.
+msgid ""
+"This application is licensed under the terms of the GNU Public License (GPL) version 3.\n"
+"See https://www.gnu.org/licenses/gpl-3.0.en.html for details."
+msgstr ""
+"Permohonan ini dilesenkan di bawah syarat-syarat Lesen Awam GNU (GPL) versi 3.\n"
+"Lihat https://www.gnu.org/licenses/gpl-3.0.html untuk butiran."
+
+#. • MSG_905
+#.
+#. Keyword for "boot" will be used for search in the Windows Store
+msgid "Boot"
+msgstr ""
+
+#. • MSG_910
+#.
+#. This and subsequent messages will be listed in the 'Features' section of the Windows Store page
+msgid "Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
+msgstr "Formatkan USB, kad flash dan pemacu maya kepada FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
+
+#. • MSG_911
+msgid "Create FreeDOS bootable USB drives"
+msgstr "Buat pemacu USB boleh boot FreeDOS"
+
+#. • MSG_912
+msgid "Create bootable drives from bootable ISOs (Windows, Linux, etc.)"
+msgstr "Buat pemacu boleh boot daripada ISO boleh boot (Windows, Linux, dll.)"
+
+#. • MSG_913
+msgid "Create bootable drives from bootable disk images, including compressed ones"
+msgstr "Buat pemacu boleh boot daripada imej cakera boleh boot, termasuk yang dimampatkan"
+
+#. • MSG_914
+msgid "Create BIOS or UEFI bootable drives, including UEFI bootable NTFS"
+msgstr "Buat pemacu boleh boot BIOS atau UEFI, termasuk NTFS boleh boot UEFI"
+
+#. • MSG_915
+msgid "Create 'Windows To Go' drives"
+msgstr "Buat pemacu 'Windows To Go'"
+
+#. • MSG_916
+msgid "Create Windows 11 installation drives for PCs that don't have TPM or Secure Boot"
+msgstr "Buat pemacu pemasangan Windows 11 untuk PC yang tidak mempunyai TPM atau But Selamat"
+
+#. • MSG_917
+msgid "Create persistent Linux partitions"
+msgstr "Buat partition Linux berterusan"
+
+#. • MSG_918
+msgid "Create VHD/DD images of the selected drive"
+msgstr "Buat imej VHD/DD bagi pemacu yang dipilih"
+
+#. • MSG_919
+msgid "Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of the selected image"
+msgstr "Kira MD5, SHA-1, SHA-256 dan SHA-512 checksum imej yang dipilih"
+
+#. • MSG_920
+msgid "Perform bad blocks checks, including detection of \"fake\" flash drives"
+msgstr "Melakukan pemeriksaan blok buruk, termasuk pengesanan pemacu kilat \"palsu\""
+
+#. • MSG_921
+msgid "Download official Microsoft Windows retail ISOs"
+msgstr "Muat turun rasmi ISO runcit Microsoft Windows"
+
+#. • MSG_922
+msgid "Download UEFI Shell ISOs"
+msgstr "Muat turun ISO Shell UEFI"
diff --git a/res/loc/po/nb-NO.po b/res/loc/po/nb-NO.po
index 624e698f..e2dbc6f7 100644
--- a/res/loc/po/nb-NO.po
+++ b/res/loc/po/nb-NO.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-07 23:05-0700\n"
-"PO-Revision-Date: 2026-04-07 23:19-0700\n"
+"POT-Creation-Date: 2024-05-09 19:38+0100\n"
+"PO-Revision-Date: 2024-05-09 19:44+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: nb_NO\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Norwegian (Norsk)\n"
"X-Rufus-LCID: 0x0414\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -846,7 +846,7 @@ msgstr "Ingen varighet"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Still størrelsen på den vedvarende partisjonen for live USB media. Angir størrelsen til 0 deaktiverer den vedvarende partisjonen."
@@ -887,9 +887,8 @@ msgid "Another program or process is accessing this drive. Do you want to format
msgstr "Et annet program eller en prosess holder tilgang til denne disken. Vil du formatere det uansett?"
#. • MSG_133
-#, fuzzy
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1796,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Kan ikke åpne eller lese '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Bruk SkuSiPolicy.p7b under installasjon (se KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL‑forbedringer (ikke påtving Copilot, OneDrive, Outlook, Hurtig oppstart osv.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Utfører tilpasning av Windows: %s"
@@ -1854,14 +1845,14 @@ msgstr "Behold log"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"En ekstra fil ('%s') må lastes ned fra Microsoft for å bruke denne funksjonen:\n"
-"- Velg 'Ja' for å koble til Internett og laste den ned\n"
+"En ekstra fil ('diskcopy.dll') må lastes ned fra Microsoft for å installere MS-DOS:\n"
+"- Velg \"Ja\" for å koble til Internett og laste den ned\n"
"- Velg 'Nei' for å avbryte operasjonen\n"
"\n"
"Merk: Filen vil bli lastet ned i programmets katalog og vil automatisk bli gjenbrukt hvis den er tilstede."
@@ -1900,7 +1891,7 @@ msgstr "Ukomprimert VHD-imaget"
#. • MSG_344
msgid "Full Flash Update Image"
-msgstr ""
+msgstr "Full Flash Update Image"
#. • MSG_345
msgid ""
@@ -1928,118 +1919,6 @@ msgstr "Pakker ut arkivfiler: %s"
msgid "Use Rufus MBR"
msgstr "Bruk Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Bruk bootloaders signert med «Windows CA 2023» (krever en kompatibel target‑PC)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Søker etter tilbakekalling av UEFI‑bootloader…"
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Søker etter UEFI‑DBX‑oppdateringer..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "UEFI‑DBX‑oppdatering tilgjengelig"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus har funnet en oppdatert versjon av DBX‑filene som brukes til å utføre tilbakekallingssjekk for UEFI Secure Boot. Vil du laste ned denne oppdateringen?\n"
-"– Velg «Ja» for å koble til Internett og laste ned innholdet\n"
-"– Velg «Nei» for å avbryte operasjonen\n"
-"\n"
-"Merk: Filene lastes ned til programmets katalog og vil automatisk bli gjenbrukt hvis de allerede finnes."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠STILLEMODUS⚠ slett disk og installer:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Du har valgt alternativet for «stille» Windows‑installasjon.\n"
-"\n"
-"Dette er et avansert alternativ, beregnet for brukere som ønsker å opprette installasjonsmedier som ikke viser noen spørsmål under Windows‑installasjonen, og som derfor UBETINGET SLETTER den første oppdagede disken på målsystemet. Uforsiktig bruk av dette alternativet kan føre til UGJENKALLELIG TAP AV DATA!\n"
-"\n"
-"Hvis dette ikke er det du ønsker, velg «Nei» for å gå tilbake og fjerne avmerkingen for dette alternativet.\n"
-"Hvis du derimot velger «Ja», bekrefter du at alt ansvar for eventuell datatap fullt og helt ligger hos DEG."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Ugyldig bildelokasjon"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Du kan ikke bruke et bilde som er lagret på måldisken, siden denne disken vil bli fullstendig slettet. Det tilsvarer å sage av grenen du sitter på!\n"
-"\n"
-"Flytt bildet til en annen plassering og prøv igjen."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Det er trygt å la dette alternativet være aktivert selv om systemet har TPM eller mer RAM, siden alternativet kun omgår installasjonskravene og ikke hindrer Windows i å bruke all tilgjengelig maskinvare."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "For at dette alternativet skal fungere, MÅ nettverk/Internett være frakoblet under installasjonen!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Svar automatisk «nei» på Windows‑installasjonsspørsmål som gjelder deling av data med Microsoft, i stedet for å spørre brukeren."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Dette alternativet bør være aktivert, med mindre du aksepterer at «Windows To Go» får tilgang til interne disker og i stillhet utfører irreversible filsystemoppgraderinger."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Opprett automatisk en lokal konto med angitt brukernavn og tomt passord, som må endres ved neste pålogging."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Dupliser regionale innstillinger fra denne PC‑en (tastatur, tidssone, valuta) i stedet for å spørre brukeren."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Ikke krypter systemdisken, med mindre brukeren uttrykkelig ber om det."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Bruk dette alternativet kun hvis du vet hva S‑modus er, og forstår at systemet kan forbli låst i S‑modus selv etter full sletting av disken og ny installasjon av Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Bruk dette alternativet dersom systemet du planlegger å installere Windows på, bruker fullt oppdaterte Secure Boot‑sertifikater. Ved behov kan du vurdere å bruke «Mosby» for å oppdatere systemet."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Bruk dette alternativet hvis du ønsker å tilbakekalle flere potensielt usikre Windows‑bootloaders, men vær oppmerksom på at dette også kan hindre standard Windows‑medier i å starte."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "«Quality of Life»-forbedringer: Deaktiverer de fleste uønskede funksjonene Microsoft forsøker å påtvinge sluttbrukere."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Hvis du bruker dette alternativet, sørg for å koble fra alle disker fra mål‑PC‑en unntatt den du vil installere Windows på, og pass på at installasjonsmediet ikke er koblet til noen PC du ikke ønsker å slette."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/nl-NL.po b/res/loc/po/nl-NL.po
index cfb131c1..a25ffaca 100644
--- a/res/loc/po/nl-NL.po
+++ b/res/loc/po/nl-NL.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-23 18:59+0000\n"
-"PO-Revision-Date: 2026-03-23 19:01+0000\n"
+"POT-Creation-Date: 2024-04-26 11:15+0200\n"
+"PO-Revision-Date: 2024-04-26 11:44+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: nl_NL\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Dutch (Nederlands)\n"
"X-Rufus-LCID: 0x0413, 0x0813\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -137,7 +137,7 @@ msgstr "Nee"
#. • IDD_LOG → IDD_LOG
msgid "Log"
-msgstr "Logboek"
+msgstr ""
#. • IDD_LOG → IDC_LOG_CLEAR
msgid "Clear"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -846,7 +846,7 @@ msgstr "Geen persistentie"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "De grootte van de persistente partitie instellen voor live USB-media. De grootte op 0 instellen schakelt de persistente partitie uit."
@@ -888,17 +888,17 @@ msgstr "Een ander programma of proces gebruikt deze schijf. Wilt u ze toch forma
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus heeft vastgesteld dat u probeert een ‘Windows To Go’-medium te maken op basis van een 1809-ISO.\n"
+"Rufus heeft gedetecteerd dat u probeert om een Windows To Go medium aan te maken gebaseerd op een 1809-ISO\n"
"\n"
-"Vanwege een *MICROSOFT-BUG* zal dit medium tijdens het opstarten van Windows crashen (Blue Screen Of Death), tenzij u het bestand ‘WppRecorder.sys’ handmatig vervangt door een versie uit 1803.\n"
+"Door een *MICROSOFT-BUG* zal dit medium crashen tijdens het opstarten van Windows (Blue Screen Of Death), tenzij u manueel het bestand 'WppRecorder.sys' vervangt door een 1803-versie.\n"
"\n"
-"Houd er ook rekening mee dat Rufus dit niet automatisch voor u kan oplossen omdat ‘WppRecorder.sys’ een door Microsoft auteursrechtelijk beschermd bestand is, waardoor we wettelijk gezien geen kopie van het bestand in de applicatie mogen opnemen..."
+"Merk ook op dat Rufus dit voor u niet automatisch kan oplossen omdat 'WppRecorder.sys' een Microsoft-auteursrecht heeft, dus we kunnen geen kopie van het bestand in de toepassing inbedden op een legale manier..."
#. • MSG_134
msgid ""
@@ -1795,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Kan '%s' niet openen of lezen"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "SkuSiPolicy.p7b toepassen tijdens installatie (zie KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Verbeteringen in de gebruikersvriendelijkheid (Copilot, Onedrive, Outlook, Fast Startup, enz niet forceren)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Windows aanpassen: %s"
@@ -1853,17 +1845,17 @@ msgstr ""
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Om deze functie te kunnen gebruiken, moet u een extra bestand (‘%s’) downloaden van Microsoft:\n"
-"- Selecteer ‘Ja’ om verbinding te maken met internet en het bestand te downloaden\n"
-"- Selecteer ‘Nee’ om de handeling te annuleren\n"
+"Er moet een extra bestand ('diskcopy.dll') worden gedownload van Microsoft om MS-DOS te installeren:\n"
+"- Selecteer 'Ja' om verbinding te maken met internet en het bestand te downloaden\n"
+"- Selecteer 'Nee' om de bewerking te annuleren\n"
"\n"
-"Opmerking: het bestand wordt gedownload naar de map van de toepassing en wordt automatisch opnieuw gebruikt als het daar al aanwezig is."
+"Opmerking: het bestand wordt gedownload in de map van de toepassing en wordt automatisch opnieuw gebruikt als het aanwezig is."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1927,120 +1919,6 @@ msgstr "Archiefbestanden uitpakken: %s"
msgid "Use Rufus MBR"
msgstr "Rufus MBR gebruiken"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "'Windows CA 2023' signed bootloaders gebruiken (alleen voor compatibele doel-pc's)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Controleren of de UEFI-bootloader is ingetrokken..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Controleren op updates voor UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Update voor DBX beschikbaar"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus heeft een bijgewerkte versie gevonden van de DBX-bestanden die worden gebruikt voor het controleren van de intrekking van UEFI Secure Boot. Wilt u deze update downloaden?\n"
-"- Selecteer ‘Ja’ om verbinding te maken met internet en deze inhoud te downloaden\n"
-"- Selecteer ‘Nee’ om de bewerking te annuleren\n"
-"\n"
-"Opmerking: de bestanden worden gedownload naar de map van de toepassing en worden automatisch opnieuw gebruikt als ze daar al aanwezig zijn.\n"
-"\n"
-"Vertaald met DeepL.com (gratis versie)"
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠STIL⚠ schijf wissen en installeren:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"U hebt ervoor gekozen om de “stille” Windows-installatieoptie te gebruiken.\n"
-"\n"
-"Dit is een geavanceerde optie, bedoeld voor gebruikers die installatiemedia willen maken waarbij de gebruiker tijdens de Windows-installatie niet om bevestiging wordt gevraagd en waarbij de eerste gedetecteerde schijf op het doelsysteem daarom ONVOORWAARDELIJK WORDT GEWIST. Als u niet voorzichtig bent, kan het gebruik van deze optie leiden tot ONOMKEERBAAR GEGEVENSVERLIES!\n"
-"\n"
-"Als dit niet is wat u wilt, selecteer dan ‘Nee’ om terug te gaan en vink de optie uit.\n"
-"Anders, als u ‘Ja’ selecteert, gaat u ermee akkoord dat de volledige verantwoordelijkheid voor eventueel gegevensverlies volledig bij uzelf ligt."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Locatie van image niet ondersteund"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"U kunt geen image gebruiken die op de doelschijf staat, aangezien die schijf volledig zal worden gewist. Dat is hetzelfde als proberen de tak door te zagen waarop u zit!\n"
-"\n"
-"Verplaats de image naar een andere locatie en probeer het opnieuw."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "U kunt deze optie gerust ingeschakeld laten, zelfs als u een TPM of meer RAM-geheugen hebt, aangezien deze optie alleen de installatievereisten omzeilt en niet daadwerkelijk verhindert dat Windows alle beschikbare hardware gebruikt."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Om deze optie te laten werken, MOET de netwerk-/internetverbinding tijdens de installatie uitgeschakeld zijn!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Beantwoord de vragen in de Windows-installatieprocedure over het delen van gegevens met Microsoft automatisch met ‘nee’, in plaats van de gebruiker hierom te vragen."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Laat deze optie ingeschakeld, tenzij u ermee akkoord gaat dat ‘Windows To Go’ toegang krijgt tot interne schijven en in de achtergrond onomkeerbare upgrades van het bestandssysteem uitvoert."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Maak automatisch een lokaal account aan met de opgegeven gebruikersnaam en een leeg wachtwoord, dat bij de volgende aanmelding moet worden gewijzigd."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Kopieer de regionale instellingen van deze pc (toetsenbord, tijdzone, valuta), in plaats van de gebruiker hierom te vragen."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "De systeemschijf niet versleutelen, tenzij de gebruiker hier uitdrukkelijk om vraagt."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Gebruik deze optie alleen als u weet wat S-Mode is en u zich ervan bewust bent dat uw systeem mogelijk in S-Mode blijft staan, zelfs nadat u Windows volledig hebt gewist en opnieuw hebt geïnstalleerd."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Gebruik deze optie als het systeem waarop u Windows wilt installeren, volledig bijgewerkte Secure Boot-certificaten gebruikt. Indien nodig kunt u overwegen om ‘Mosby’ te gebruiken om uw systeem bij te werken."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Gebruik deze optie als u extra, mogelijk onveilige Windows-bootloaders wilt uitschakelen, maar houd er rekening mee dat hierdoor mogelijk ook standaard Windows-media niet meer kunnen opstarten."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Verbeteringen op het gebied van levenskwaliteit: schakel de meeste ongewenste functies uit die Microsoft eindgebruikers probeert op te dringen."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Als u deze optie gebruikt, zorg er dan voor dat u alle schijven van de doelcomputer loskoppelt, behalve de schijf waarop u Windows wilt installeren, en laat het installatiemedium niet aangesloten op een computer die u niet wilt wissen."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/pl-PL.po b/res/loc/po/pl-PL.po
index 2bab771e..3d91def0 100644
--- a/res/loc/po/pl-PL.po
+++ b/res/loc/po/pl-PL.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-07 22:23-0700\n"
-"PO-Revision-Date: 2026-04-07 23:04-0700\n"
+"POT-Creation-Date: 2024-05-09 19:08+0100\n"
+"PO-Revision-Date: 2024-05-09 19:38+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pl_PL\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Polish (Polski)\n"
"X-Rufus-LCID: 0x0415\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -173,7 +173,7 @@ msgstr "Szukaj aktualizacji - Rufus"
#. • IDD_NEW_VERSION → IDS_NEW_VERSION_AVAIL_TXT
msgid "A newer version is available. Please download the latest version!"
-msgstr "Nowsza wersja jest dostępna. Proszę pobrać najnowszą wersję!"
+msgstr "Jest dostępna nowsza wersja. Proszę pobrać najnowszą wersję!"
#. • IDD_NEW_VERSION → IDC_WEBSITE
msgid "Click here to go to the website"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -491,7 +491,7 @@ msgstr "Nie można skopiować plików na dysk docelowy."
#. • MSG_070
msgid "Cancelled by user."
-msgstr "Przerwane przez użytkownika."
+msgstr "Przerwane przez użytkwonika."
#. • MSG_071
#.
@@ -517,7 +517,7 @@ msgstr "Nie można ponownie zamontować woluminu."
#. • MSG_076
msgid "Unable to patch/setup files for boot."
-msgstr "Nie można załatać/skonfigurować plików do rozruchu."
+msgstr "Nie można załatać/skonfigurować plików do bootowania."
#. • MSG_077
msgid "Unable to assign a drive letter."
@@ -551,7 +551,7 @@ msgstr "Niewspierany obraz"
#. • MSG_082
msgid "This image is either non-bootable, or it uses a boot or compression method that is not supported by Rufus..."
-msgstr "Ten obraz nie jest rozruchowy lub używa kompresji sektora rozruchowego niewspieranej przez Rufusa..."
+msgstr "Ten obraz nie jest bootowalny lub używa kompresji sektora rozruchowego niewspieranej przez Rufusa..."
#. • MSG_083
msgid "Replace %s?"
@@ -612,7 +612,7 @@ msgstr "Niewspierane ISO"
#. • MSG_091
msgid "When using UEFI Target Type, only EFI bootable ISO images are supported. Please select an EFI bootable ISO or set the Target Type to BIOS."
-msgstr "Podczas używania Systemu Typu UEFI, tylko rozruchowe obrazy ISO EFI są wspierane. Proszę wybrać rozruchowy obraz ISO EFI lub ustawić System Docelowy na BIOS."
+msgstr "Podczas używania Systemu Typu UEFI, tylko bootowalne obrazy ISO EFI są wspierane. Proszę wybrać bootowalny obraz ISO EFI lub ustawić System Docelowy na BIOS."
#. • MSG_092
msgid "Unsupported filesystem"
@@ -652,7 +652,7 @@ msgid ""
"\n"
"Note: The 'FIXED/REMOVABLE' attribute is a hardware property that can only be changed using custom tools from the drive manufacturer. However those tools are ALMOST NEVER provided to the public..."
msgstr ""
-"WAŻNE: Próbujesz zainstalować 'Windows To Go', lecz dysk docelowy nie ma atrybutu 'LOKALNY'. Z tego powodu Windows prawdopodobnie zawiesi się podczas startu, ponieważ Microsoft nie zaprojektował go do działania z dyskami, które zamiast tego mają atrybut 'WYMIENNY'.\n"
+"WAŻNE: Próbujesz zainstalować 'Windows To Go', lecz dysk docelowy nie ma atrybytu 'LOKALNY'. Z tego powodu Windows prawdopodobnie zawiesi się podczas startu, ponieważ Microsoft nie zaprojektował go do działania z dyskami, które zamiast tego mają atrybut 'WYMIENNY'.\n"
"\n"
"Czy nadal chcesz kontynuować?\n"
"\n"
@@ -675,7 +675,7 @@ msgid ""
"Your platform cannot extract files from WIM archives. WIM extraction is required to create EFI bootable Windows 7 and Windows Vista USB drives. You can fix that by installing a recent version of 7-Zip.\n"
"Do you want to visit the 7-zip download page?"
msgstr ""
-"Twoja platforma nie może wypakować plików z archiwów WIM. Wypakowanie WIM jest wymagane aby utworzyć rozruchowy dysk USB EFI z Windows 7 i Windows Vista. Możesz to naprawić instalując aktualną wersję 7-Zip.\n"
+"Twoja platforma nie może wypakować plików z archiwów WIM. Wypakowanie WIM jest wymagane aby utworzyć bootowalny dysk USB EFI z Windows 7 i Windows Vista. Możesz to naprawić instalując aktualną wersję 7-Zip.\n"
"Czy chcesz odwiedzić stronę pobierania 7-zip?"
#. • MSG_103
@@ -700,7 +700,7 @@ msgstr ""
"Ponieważ ten plik jest większy niż 100 KB i zawsze jest obecny na obrazach ISO %s, nie jest dołączony do Rufusa.\n"
"\n"
"Rufus może pobrać brakujący plik dla ciebie:\n"
-"- Wybierz 'Yes', aby połączyć się z internetem i pobrać plik\n"
+"- Wybierz 'Yes', aby połączyć sie z internetem i pobrać plik\n"
"- Wybierz 'No', jeśli chcesz później ręcznie skopiować ten plik na dysk \n"
"\n"
"Informacja: Plik zostanie pobrany do obecnego folderu i jeśli '%s' istnieje, zostanie użyty ponownie automatycznie."
@@ -710,7 +710,7 @@ msgid ""
"Cancelling may leave the device in an UNUSABLE state.\n"
"If you are sure you want to cancel, click YES. Otherwise, click NO."
msgstr ""
-"Przerwanie operacji może pozostawić urządzenie w stanie NIEZDATNYM DO UŻYTKU.\n"
+"Przerwanie operacji może pozostawic urządzenie w stanie NIEZDATNYM DO UŻYTKU.\n"
"Jeśli jesteś pewien, że chcesz przerwać operację, naciśnij TAK. W innym razie naciśnij NIE."
#. • MSG_106
@@ -846,7 +846,7 @@ msgstr "Brak trwałości"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Ustaw rozmiar stałej partycji dla nośnika live USB. Ustawienie rozmiaru na 0 wyłącza trwałą partycję."
@@ -860,7 +860,7 @@ msgstr "Nie pokazuj więcej tej wiadomości"
#. • MSG_128
msgid "Important notice about %s"
-msgstr "Ważna informacja o %s"
+msgstr "Ważna informacjoa o %s"
#. • MSG_129
msgid ""
@@ -888,17 +888,17 @@ msgstr "Inny program lub proces używa tego dysku. Czy chcesz go sformatować mi
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus wykrył, że próbujesz utworzyć nośnik „Windows To Go” na podstawie obrazu ISO systemu Windows 10 w wersji 1809.\n"
+"Rufus wykrył, że próbujesz utworzyć nośnik \"Windows To Go\" bazujący na ISO 1809.\n"
"\n"
-"Z powodu BŁĘDU PO STRONIE MICROSOFTU taki nośnik spowoduje awarię systemu podczas uruchamiania Windows (Blue Screen), chyba że ręcznie zastąpisz plik „WppRecorder.sys” jego wersją z wydania 1803.\n"
+"Z powodu *BŁĘDU MICROSOFTU*, ten nośnik ulegnie awarii podczas bootowania systemu (Blue Screen of Death), chyba że ręcznie zastąpisz plik \"WppRecorder.sys\" wersją z 1803.\n"
"\n"
-"Zauważ również, że powodem, dla którego Rufus nie może automatycznie naprawić tego problemu, jest fakt, iż plik „WppRecorder.sys” jest objęty prawami autorskimi firmy Microsoft, więc nie możemy legalnie dołączyć jego kopii do aplikacji."
+"Należy również pamiętać, że powodem, dla którego Rufus nie może automatycznie rozwiązać tego problemu, jest to, że \"WppRecorder.sys” jest plikiem chronionym prawem autorskim firmy Microsoft, więc nie możemy zgodnie z prawem osadzić kopii pliku w aplikacji."
#. • MSG_134
msgid ""
@@ -968,7 +968,7 @@ msgstr "Pobierz obraz ISO"
#. • MSG_150
msgid "Type of computer you plan to use this bootable drive with. It is your responsibility to determine whether your target is of BIOS or UEFI type before you start creating the drive, as it may fail to boot otherwise."
-msgstr "Typ komputera, na którym chcesz użyć dysku rozruchowego. Przed stworzeniem dysku musisz sam określić, czy docelowy komputer posiada BIOS, czy UEFI, inaczej może się nie uruchomić."
+msgstr "Typ komputera, na którym chcesz użyć bootowalnego dysku. Przed stworzeniem dysku musisz sam określić, czy docelowy komputer posiada BIOS, czy UEFI, inaczej może się nie uruchomić."
#. • MSG_151
#.
@@ -1018,7 +1018,7 @@ msgstr "Przełącz opcje zaawansowane"
#. • MSG_161
msgid "Check the device for bad blocks using a test pattern"
-msgstr "Sprawdź urządzenie pod kątem błędnych sektorów używając wzoru testowego"
+msgstr "Sprawdź urządzenie pod kątem błędnych sektorów używając wzoru testoego"
#. • MSG_162
msgid "Uncheck this box to use the \"slow\" format method"
@@ -1030,7 +1030,7 @@ msgstr "Metoda, która zostanie użyta do stworzenia partycji"
#. • MSG_164
msgid "Method that will be used to make the drive bootable"
-msgstr "Metoda, która zostanie użyta, aby uczynić dysk rozruchowym"
+msgstr "Metoda, która zostanie użyta, aby uczynić dysk bootowalnym"
#. • MSG_165
msgid "Click to select or download an image..."
@@ -1128,7 +1128,7 @@ msgid ""
"Rufus does not install or run background services, therefore update checks are performed only when the main application is running.\\line\n"
"Internet access is of course required when checking for updates."
msgstr ""
-"Rufus nie instaluje lub uruchamia procesów w tle, dlatego aktualizacje są sprawdzane wyłącznie przy starcie głównego okna aplikacji.\\line\n"
+"Rufus nie instaluje lub uruchamia procesów w tle, dlatego aktualizacje są sprawdzane wylącznie przy starcie głównego okna aplikacji.\\line\n"
"Dostęp do internetu jest wymagany podczas sprawdzania aktualizacji."
#. • MSG_187
@@ -1182,7 +1182,7 @@ msgid ""
msgstr ""
"WAŻNE: TEN DYSK UŻYWA NIESTANDARDOWEGO ROZMIARU SEKTORA!\n"
"\n"
-"Standardowe dyski używają 512-bajtowego rozmiaru sektora, lecz ten dysk używa %d-bajtowego. W wielu przypadkach oznacza to, że NIE będziesz mógł startować z tego dysku.\n"
+"Standardowe dyski używają 512-bajtowego rozmiaru sektora, lecz ten dysk używa %d-bajtowego. W wielu przypadkach oznacza to, że NIE będziesz mógł bootować z tego dysku.\n"
"Rufus może spróbować utworzyć dysk rozruchowy, ale NIE MA GWARANCJI, że to zadziała."
#. • MSG_197
@@ -1350,7 +1350,7 @@ msgstr "Kopiowanie plików ISO: %s"
#. • MSG_232
msgid "Win7 EFI boot setup (%s)..."
-msgstr "Ustawianie rozruchu Win7 EFI (%s)..."
+msgstr "Ustawianie bootowania Win7 EFI (%s)..."
#. • MSG_233
msgid "Finalizing, please wait..."
@@ -1552,9 +1552,9 @@ msgid ""
"\n"
"Please select the mode that you want to use to write this image:"
msgstr ""
-"Obraz, który wybrałeś to obraz 'ISOHybrid'. Oznacza to, że może zostać zapisany w trybie %s (kopia plików) lub trybie %s (obraz dysku).\n"
+"Obraz, który wybrałeś to obraz 'ISOHybrid'. To znacza iż może zostać zapisany w trybie %s (kopia plików) lub trybie %s (obraz dysku).\n"
"Rufus zaleca użycie trybu %s, abyś zawsze miał pełny dostęp do dysku po jego zapisaniu.\n"
-"Jednak jeśli napotkasz problemy podczas rozruchu możesz spróbować zapisać ten obraz ponownie w trybie %s.\n"
+"Jednak jeśli napotkasz problemy podczas bootowania możesz spróbować zapisać ten obraz ponownie w trybie %s.\n"
"\n"
"Proszę wybrać tryb którego chcesz użyć do zapisania tego obrazu:"
@@ -1739,13 +1739,13 @@ msgid ""
"\n"
"Please select the mode that you want to use to write this image:"
msgstr ""
-"Wybrany plik ISO używa UEFI i jest na tyle mały, że można go zapisać jako partycję systemową EFI (ESP). Zapisanie na ESP, zamiast zapisywania na ogólnej partycji danych zajmującej cały dysk, może być preferowane dla niektórych typów instalacji.\n"
+"Obraz ISO, który został wybrany używa UEFI i jest dość mały, żeby być zapisanym jako partycja systemowa EFI (ESP). Zapisywanie do ESP zamiast to ogólnej partycji zajmującej cały dysk. Może być bardziej odpowiedni dla niektórych typów instalacji.\n"
"\n"
-"Proszę wybrać tryb, w którym chcesz zapisać ten obraz:"
+"Proszę wybrać tryb którym chesz zapisać ten obraz:"
#. • MSG_311
msgid "Use %s (in the main application window) to enable."
-msgstr "Użyj %s w głównym oknie aplikacji, żeby włączyć."
+msgstr "Użyj %s w głownym oknie aplikacji, żeby włączyć."
#. • MSG_312
msgid "Extra hashes (SHA512)"
@@ -1795,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Nie można otworzyć '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Zastosuj SkuSiPolicy.p7b przy instalacji (Patrz KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Usprawnienia „QoL” (Nie wymuszaj Copilot, OneDrive, Outlook, Szybki Startup, itp.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Zastosuj niestandardowe ustawienia Windows: %s"
@@ -1853,17 +1845,17 @@ msgstr "Stały dziennik (log)"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Aby skorzystać z tej funkcji, należy pobrać z firmy Microsoft dodatkowy plik ('%s'):\n"
-"– Wybierz „Tak”, aby połączyć się z Internetem i pobrać ten plik\n"
-"– Wybierz „Nie”, aby anulować operację\n"
+"Dodatkowy plik (\"diskcopy.dll\") musi zostać pobrany od Microsoft, żeby zainstalować MS-DOS:\n"
+"- Wybierz opcję \"Tak\", aby pobrać pliku z internetu\n"
+"- Wybierz opcję \"Nie\", aby anulować operajcę\n"
"\n"
-"Uwaga: Plik zostanie pobrany do katalogu aplikacji i będzie automatycznie ponownie wykorzystywany, jeśli będzie już obecny."
+"Uwaga: Plik zostanie pobrany do folderu aplikacji i będzie użyty pownownie, gdy będzie dostępny."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1876,9 +1868,9 @@ msgid ""
"- If you obtained this ISO image from a non reputable source, you should consider the possibility that it might contain UEFI malware and avoid booting from it.\n"
"- If you obtained it from a trusted source, you should try to locate a more up to date version, that will not produce this warning."
msgstr ""
-"Rufus wykrył, że wybrany plik ISO zawiera bootloader UEFI, który został unieważniony, i który wygeneruje %s. gdy włączony zostanie \"Secure Boot\" w pełni zaktualizowanym systemie UEFI.\n"
+"Rufus wykrył, że wybrany plik ISO zawiera bootloader UEFI, który został unieważniony, i który wygenereuje %s. gdy włączony zostanie \"Secure Boot\" w pełni zaktualizowanym systemie UEFI.\n"
"\n"
-"- Jeśli uzyskałeś ten obraz ISO z niezaufanego źródła, powinieneś rozważyć możliwość, że może on zawierać złośliwe oprogramowanie dla UEFI i unikać jego uruchamiania.\n"
+"- Jeśli uzyskałeś ten obraz ISO z niezaufanego źródła, powinienneś rozważyć możliwość, że może on zawierać złośliwe oprogramowanie dla UEFI i unikać jego uruchamiania.\n"
"- Jeśli uzyskałeś go z zaufanego źródła, powinieneś spróbować znaleźć nowszą wersję, która nie wygeneruje tego ostrzeżenia."
#. • MSG_340
@@ -1927,123 +1919,11 @@ msgstr "Wypakowywanie plików z archiwum: %s"
msgid "Use Rufus MBR"
msgstr "Użyj Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Użyj programów rozruchowych (bootloaderów) podpisanych przez „Windows CA 2023” (wymaga kompatybilnego komputera docelowego)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Sprawdzanie unieważnienia programu rozruchowego UEFI…"
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Sprawdzanie aktualizacji bazy UEFI DBX…"
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Dostępna aktualizacja DBX"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus wykrył zaktualizowaną wersję plików DBX używanych do sprawdzania unieważnień w UEFI Secure Boot. Czy chcesz pobrać tę aktualizację?\n"
-"– Wybierz „Tak”, aby połączyć się z Internetem i pobrać tę zawartość\n"
-"– Wybierz „Nie”, aby anulować operację\n"
-"\n"
-"Uwaga: Pliki zostaną pobrane do katalogu aplikacji i będą automatycznie ponownie wykorzystywane, jeśli już tam się znajdują."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠AUTOMATYCZNIE I BEZ POTWIERDZENIA⚠ wymaż dysk i zainstaluj:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Wybrałeś opcję „cichej” instalacji systemu Windows.\n"
-"\n"
-"Jest to opcja zaawansowana, przeznaczona dla osób, które chcą utworzyć nośnik instalacyjny niewyświetlający żadnych monitów podczas instalacji systemu Windows, a co za tym idzie BEZWARUNKOWO WYMAZUJĄCY pierwszy wykryty dysk w systemie docelowym. Jeśli nie zachowasz ostrożności, użycie tej opcji może doprowadzić do NIEODWRACALNEJ UTRATY DANYCH!\n"
-"\n"
-"Jeśli nie o to ci chodzi, wybierz „Nie”, aby wrócić i odznaczyć tę opcję.\n"
-"W przeciwnym razie, wybierając „Tak”, zgadzasz się, że cała odpowiedzialność za ewentualną utratę danych spoczywa WYŁĄCZNIE na TOBIE."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Nieobsługiwana lokacja obrazu"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Nie możesz użyć obrazu, który znajduje się na dysku docelowym, ponieważ ten dysk zostanie całkowicie wymazany. To dokładnie to samo, co próba piłowania gałęzi, na której się siedzi!\n"
-"\n"
-"Przenieś obraz w inne miejsce i spróbuj ponownie."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Można bezpiecznie pozostawić tę opcję włączoną, nawet jeśli posiadasz moduł TPM lub większą ilość pamięci RAM, ponieważ opcja ta jedynie omija wymagania instalatora i w rzeczywistości nie uniemożliwia systemowi Windows korzystania z całego dostępnego sprzętu."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Aby ta opcja działała poprawnie, podczas instalacji połączenie sieciowe / internetowe MUSI być odłączone!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automatycznie odpowiadaj „nie” na pytania instalatora systemu Windows dotyczące udostępniania danych firmie Microsoft, zamiast wyświetlać je użytkownikowi."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Należy pozostawić tę opcję włączoną, chyba że akceptujesz sytuację, w której „Windows To Go” uzyskuje dostęp do wewnętrznych dysków i po cichu przeprowadza nieodwracalne aktualizacje systemu plików."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automatycznie utwórz konto lokalne o podanej nazwie użytkownika, używając pustego hasła, które będzie musiało zostać zmienione przy następnym logowaniu."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Automatycznie skopiuj ustawienia regionalne z tego komputera (klawiatura, strefa czasowa, waluta), zamiast pytać użytkownika."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Nie szyfruj dysku systemowego, chyba że użytkownik wyraźnie tego zażąda."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Używaj tej opcji tylko wtedy, gdy wiesz, czym jest tryb S (S‑Mode), i rozumiesz, że system może pozostać zablokowany w trybie S nawet po całkowitym wymazaniu dysku i ponownej instalacji systemu Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Użyj tej opcji, jeśli system, na którym planujesz zainstalować system Windows, korzysta z w pełni aktualnych certyfikatów Secure Boot. W razie potrzeby możesz skorzystać z narzędzia „Mosby”, aby zaktualizować swój system."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Użyj tej opcji, jeśli chcesz unieważnić dodatkowe, potencjalnie niebezpieczne programy rozruchowe systemu Windows, mając jednak świadomość, że może to również uniemożliwić uruchamianie standardowych nośników instalacyjnych Windows."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Usprawnienia jakości życia („Quality of Life”): wyłączenie większości niechcianych funkcji, które Microsoft próbuje narzucać użytkownikom końcowym."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Jeśli korzystasz z tej opcji, upewnij się, że odłączyłeś wszystkie dyski od komputera docelowego z wyjątkiem tego, na którym chcesz zainstalować system Windows, oraz że nie pozostawiasz nośnika podłączonego do żadnego komputera, którego nie chcesz wymazać."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
msgid "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
-msgstr "Rufus to narzędzie, które pomaga formatować i tworzyć dyski rozruchowe flash USB, takie jak klucze USB, pendrive-y itp."
+msgstr "Rufus to narzędzie, które pomaga formatować i tworzyć bootowalne dyski flash USB, takie jak klucze USB / pendrive, pendrive'y itp."
#. • MSG_901
msgid "Official site: %s"
@@ -2082,7 +1962,7 @@ msgstr "Sformatuj nośnik używając: FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
#. • MSG_911
msgid "Create FreeDOS bootable USB drives"
-msgstr "Stwórz nośnik rozruchowy USB FreeDOS"
+msgstr "Stwórz bootowalny nośnik USB FreeDOS"
#. • MSG_912
msgid "Create bootable drives from bootable ISOs (Windows, Linux, etc.)"
@@ -2106,7 +1986,7 @@ msgstr "Twórz dyski instalacyjne systemu Windows 11 dla komputerów, które nie
#. • MSG_917
msgid "Create persistent Linux partitions"
-msgstr "Utwórz trwałe partycje Linux"
+msgstr "Stwórz particje persistent Linuxa"
#. • MSG_918
msgid "Create VHD/DD images of the selected drive"
@@ -2118,7 +1998,7 @@ msgstr "Oblicz sumy kontrolne MD5, SHA-1, SHA-256 i SHA-512 dla wybranego obrazu
#. • MSG_920
msgid "Perform bad blocks checks, including detection of \"fake\" flash drives"
-msgstr "Sprawdź dysk pod względem spójności danych lub wykryj \"nieoryginalny\" pendrive"
+msgstr "Sprawdź dysk pod względem spójności danych lub wykryj \"nieorginalny\" pendrive"
#. • MSG_921
msgid "Download official Microsoft Windows retail ISOs"
diff --git a/res/loc/po/pt-BR.po b/res/loc/po/pt-BR.po
index 9a9a6a67..6ae65be0 100644
--- a/res/loc/po/pt-BR.po
+++ b/res/loc/po/pt-BR.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-05 16:42-0300\n"
-"PO-Revision-Date: 2026-04-05 22:44+0100\n"
+"POT-Creation-Date: 2024-05-01 14:24-0300\n"
+"PO-Revision-Date: 2024-05-04 12:06+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pt_BR\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Portuguese Brazilian (Português do Brasil)\n"
"X-Rufus-LCID: 0x0416\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -849,7 +849,7 @@ msgstr "Sem persistência"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Defina o tamanho da partição persistente para mídia USB ativa. Definir o tamanho como 0 desativa a partição persistente."
@@ -891,16 +891,14 @@ msgstr "Outro programa ou processo está acessando esta unidade. Você quer form
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
"Rufus detectou que você está tentando criar uma mídia do Windows To Go com base em uma ISO 1809.\n"
-"\n"
-"Devido a um *BUG DA MICROSOFT*, esta mídia irá travar durante a inicialização do Windows (Tela Azul da Morte), a menos que você substitua manualmente o arquivo 'WppRecorder.sys' por uma versão 1803.\n"
-"\n"
+"Devido a um *MICROSOFT BUG*, esta mídia irá travar durante a inicialização do Windows (Tela Azul da Morte), a menos que você substitua manualmente o arquivo 'WppRecorder.sys' por uma versão 1803.\n"
"Observe também que a razão pela qual o Rufus não pode corrigir isso automaticamente para você é que 'WppRecorder.sys' é um arquivo protegido por direitos autorais da Microsoft, portanto, não podemos incorporar legalmente uma cópia do arquivo no aplicativo..."
#. • MSG_134
@@ -1088,7 +1086,7 @@ msgstr "Versão %d.%d (Build %d)"
#. • MSG_176
msgid "English translation: Pete Batard "
-msgstr "Tradutores:\\line• Tiago Rinaldi \\line• Chateaubriand Vieira Moura \\line• Maison da Silva \\line• Marcos Mello "
+msgstr "Tradutores:\\line• Tiago Rinaldi \\line• Chateaubriand Vieira Moura \\line• Maison da Silva \\line• Marcos Mello "
#. • MSG_177
msgid "Report bugs or request enhancements at:"
@@ -1798,14 +1796,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Impossível abrir ou ler '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Aplicar SkuSiPolicy.p7b na instalação (Ver KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Melhorias QoL (Não forçar Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Aplicando a personalização do Windows: %s"
@@ -1856,13 +1846,13 @@ msgstr "Registo persistente"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Um arquivo adicional ('%s') precisa ser baixado da Microsoft para usar este recurso:\n"
+"Um arquivo adicional ('diskcopy.dll') precisa ser baixado da Microsoft para instalar o MS-DOS:\n"
"- Selecione 'Sim' para se conectar à Internet e baixá-lo\n"
"- Selecione 'Não' para cancelar a operação\n"
"\n"
@@ -1930,118 +1920,6 @@ msgstr "Extraindo arquivos: %s"
msgid "Use Rufus MBR"
msgstr "Usar MBR do Rufus"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Usar carregadores de inicialização assinados com 'Windows CA 2023' (Requer um PC de destino compatível)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Verificando revogação de carregadores de inicialização UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Verificando atualizações do UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Atualização do DBX disponível"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus encontrou uma versão atualizada dos arquivos DBX usados para realizar verificações de revogação do UEFI Secure Boot. Você quer baixar esta atualização?\n"
-"- Selecione 'Sim' para se conectar à Internet e baixar este conteúdo\n"
-"- Selecione 'Não' para cancelar a operação\n"
-"\n"
-"Nota: Os arquivos serão baixados no diretório da aplicação e serão reutilizados automaticamente caso presentes."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠SILENCIOSAMENTE⚠ apagar o disco e instalar:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Você selecionou a opção de instalação \"silenciosa\" do Windows.\n"
-"\n"
-"Esta é uma opção avançada, reservada para quem pretende criar uma mídia que não questiona o usuário durante a instalação do Windows e que, portanto, INCONDICIONALMENTE APAGA o primeiro disco detectado no sistema de destino. Se você não for cuidadoso, usar esta opção pode resultar em PERDA IRREVERSÍVEL DE DADOS!\n"
-"\n"
-"Se não for isso que você deseja, por favor selecione 'Não' para voltar atrás e desmarcar a opção.\n"
-"Do contrário, se você selecionar 'Sim', concorda que toda a responsabilidade por qualquer perda de dados será inteiramente SUA."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Localização da imagem não suportada"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Você não pode usar uma imagem que está localizada na unidade de destino, já que a unidade será completamente apagada. É a mesma coisa que tentar serrar o galho em que você está sentado!\n"
-"\n"
-"Por favor mova a imagem para um local diferente e tente novamente."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "É seguro deixar esta opção ativada mesmo que você tenha um TPM ou mais RAM, visto que esta opção apenas ignora os requisitos e não impede, de fato, que o Windows utilize todo o hardware disponível."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Para esta opção funcionar, a rede/Internet PRECISA ser desconectada durante a instalação!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Responde automaticamente 'não' às perguntas da instalação do Windows relacionadas ao compartilhamento de dados com a Microsoft em vez de solicitar confirmação do usuário."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Você deve deixar esta opção ativada a menos que não se importe com o 'Windows To Go' acessando os discos internos e realizando silenciosamente atualizações irreversíveis no sistema de arquivos."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Cria automaticamente uma conta local com o nome de usuário especificado, usando uma senha em branco que deverá ser alterada no próximo logon."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Duplica as opções regionais deste PC (teclado, fuso horário, moeda), ao invés de pedir confirmação do usuário."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Não encripta o disco do sistema, a menos que explicitamente solicitado pelo usuário."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Use esta opção apenas se você souber o que é o modo S e compreender que seu sistema poderá ficar travado no modo S mesmo depois de apagar completamente e reinstalar o Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Use esta opção se o sistema onde você pretende instalar o Windows está usando certificados atualizados do Secure Boot. Se necessário, você pode considerar usar o 'Mosby' para atualizar seu sistema."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Use esta opção se você quiser revogar carregadores de inicialização do Windows adicionais potencialmente inseguros, mas com o risco de também impedir que mídias padrão do Windows iniciem."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Melhorias \"Quality of Life\": Desativa a maioria dos recursos indesejados que a Microsoft está tentando forçar sobre os usuários."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Se você usar esta opção, por favor certifique-se de desconectar todos os discos do PC de destino, exceto aquele em que deseja instalar o Windows, bem como não deixar a mídia conectada em qualquer PC que você não queira apagar."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/pt-PT.po b/res/loc/po/pt-PT.po
index e54228cf..740fe1b6 100644
--- a/res/loc/po/pt-PT.po
+++ b/res/loc/po/pt-PT.po
@@ -1,11 +1,11 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-24 11:49+0000\n"
-"PO-Revision-Date: 2026-03-25 13:24+0000\n"
+"POT-Creation-Date: 2024-05-20 22:00+0100\n"
+"PO-Revision-Date: 2024-05-20 22:37+0100\n"
"Last-Translator: Hugo Carvalho \n"
-"Language-Team: \n"
+"Language-Team: Portuguese \n"
"Language: pt_PT\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -13,15 +13,15 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Portuguese Standard (Português)\n"
"X-Rufus-LCID: 0x0816\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
-msgstr "Propriedades da unidade"
+msgstr "Propriedades do dispositivo"
#. • IDD_DIALOG → IDS_DEVICE_TXT
msgid "Device"
-msgstr "Dispositivo"
+msgstr "Dispositivo/Disco"
#. • IDD_DIALOG → IDS_BOOT_SELECTION_TXT
msgid "Boot selection"
@@ -37,7 +37,7 @@ msgstr "Opções da Imagem"
#. • IDD_DIALOG → IDS_PARTITION_TYPE_TXT
msgid "Partition scheme"
-msgstr "Esquema de partições"
+msgstr "Esquema de partição"
#. • IDD_DIALOG → IDS_TARGET_SYSTEM_TXT
msgid "Target system"
@@ -149,11 +149,11 @@ msgstr "Guardar"
#. • IDD_UPDATE_POLICY → IDD_UPDATE_POLICY
msgid "Update policy and settings"
-msgstr "Definições e política das atualizações"
+msgstr "Configuração e política das atualizações"
#. • IDD_UPDATE_POLICY → IDS_UPDATE_SETTINGS_GRP
msgid "Settings"
-msgstr "Definições"
+msgstr "Configurações"
#. • IDD_UPDATE_POLICY → IDS_UPDATE_FREQUENCY_TXT
msgid "Check for updates"
@@ -169,25 +169,25 @@ msgstr "Procurar"
#. • IDD_NEW_VERSION → IDD_NEW_VERSION
msgid "Check For Updates - Rufus"
-msgstr "Procurar atualizações - Rufus"
+msgstr "Procurar atualizações de Rufus"
#. • IDD_NEW_VERSION → IDS_NEW_VERSION_AVAIL_TXT
msgid "A newer version is available. Please download the latest version!"
-msgstr "Está disponível uma versão mais recente. Descarregue a última versão!"
+msgstr "Nova versão disponível. Por favor, descarregue a última versão!"
#. • IDD_NEW_VERSION → IDC_WEBSITE
msgid "Click here to go to the website"
-msgstr "Clicar aqui para aceder à página do Rufus"
+msgstr "Clique aqui para aceder ao Site de Rufus"
#. • IDD_NEW_VERSION → IDS_NEW_VERSION_NOTES_GRP
msgid "Release Notes"
-msgstr "Notas de lançamento"
+msgstr "Notas relativas a esta versão"
#. • IDD_NEW_VERSION → IDS_NEW_VERSION_DOWNLOAD_GRP
#. • IDD_NEW_VERSION → IDC_DOWNLOAD
#. • MSG_040
msgid "Download"
-msgstr "Descarregar"
+msgstr "Transferir"
#. • MSG_001
msgid "Other instance detected"
@@ -199,7 +199,7 @@ msgid ""
"Please close the first application before running another one."
msgstr ""
"Outra instância da aplicação Rufus está em execução.\n"
-"Feche a primeira instância da aplicação antes de iniciar outra."
+"Feche a primeira intância da aplicação antes de iniciar outra."
#. • MSG_003
msgid ""
@@ -211,7 +211,7 @@ msgstr ""
#. • MSG_004
msgid "Rufus update policy"
-msgstr "Política de atualização do Rufus"
+msgstr "Atualização de Rufus"
#. • MSG_005
msgid "Do you want to allow Rufus to check for application updates online?"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -385,7 +385,7 @@ msgstr "Erro: %s"
#. • MSG_044
msgid "File download"
-msgstr "Descarga de ficheiro"
+msgstr "Transferência de ficheiro"
#. • MSG_045
msgid "USB Storage Device (Generic)"
@@ -551,7 +551,7 @@ msgstr "Tipo de imagem não suportada"
#. • MSG_082
msgid "This image is either non-bootable, or it uses a boot or compression method that is not supported by Rufus..."
-msgstr "Esta imagem não é de arranque ou utiliza um método de arranque ou compressão que não é suportado pelo Rufus..."
+msgstr "Esta imagem não é inicializável ou então usa um método de arranque ou compressão não suportado."
#. • MSG_083
msgid "Replace %s?"
@@ -572,17 +572,17 @@ msgstr ""
"Esta imagem ISO usa uma versão obsoleta do ficheiro '%s'.\n"
"Isto pode fazer com que o menu de arranque não seja exibido corretamente.\n"
"\n"
-"O Rufus pode descarregar uma versão mais recente para resolver este problema:\n"
-"- Selecione 'Sim' para ligar-se à Internet e descarregar o ficheiro\n"
+"O Rufus pode transferir uma versão mais recente para resolver este problema:\n"
+"- Selecione 'Sim' para ligar-se à Internet e transferir o ficheiro\n"
"- Selecione 'Não' para deixar o ficheiro ISO tal como está\n"
"Se não sabe o que fazer, é recomendado selecionar 'Sim'.\n"
"\n"
-"Nota: O novo ficheiro será descarregado para a pasta atual, e se o ficheiro\n"
+"Nota: O novo ficheiro será transferido para a pasta atual, e se o ficheiro\n"
" '%s' já existir, será substituído automaticamente."
#. • MSG_085
msgid "Downloading %s"
-msgstr "A descarregar %s"
+msgstr "A transferir %s"
#. • MSG_086
msgid "No image selected"
@@ -613,7 +613,7 @@ msgstr "ISO não suportado"
#. • MSG_091
msgid "When using UEFI Target Type, only EFI bootable ISO images are supported. Please select an EFI bootable ISO or set the Target Type to BIOS."
-msgstr "Ao utilizar o tipo de destino UEFI, apenas são suportadas imagens ISO de arranque por EFI. Selecione uma imagem ISO de arranque por EFI ou defina o tipo de destino para BIOS."
+msgstr "Quando usa UEFI como tipo de destino, só são suportadas imagens ISO inicializáveis tipo EFI. Selecione uma imagem ISO inicializável do tipo EFI ou altere o tipo de destino para BIOS."
#. • MSG_092
msgid "Unsupported filesystem"
@@ -625,7 +625,7 @@ msgid ""
"\n"
"This may include partitions/volumes that aren't listed or even visible from Windows. Should you wish to proceed, you are responsible for any data loss on these partitions."
msgstr ""
-"IMPORTANTE: ESTA UNIDADE CONTÉM VÁRIAS PARTIÇÕES!!\n"
+"IMPORTANTE: ESTA DRIVE CONTÉM VÁRIAS PARTIÇÕES!!\n"
"\n"
"Isto pode incluir partições/volumes que não estão listados ou invisíveis a partir do Windows. Caso queira prosseguir, é responsável por qualquer perda de dados nessas partições."
@@ -639,7 +639,7 @@ msgstr "Imagem DD"
#. • MSG_096
msgid "The file system currently selected can not be used with this type of ISO. Please select a different file system or use a different ISO."
-msgstr "O sistema de ficheiros selecionado não pode ser usado com este tipo de ISO. Selecione um sistema de ficheiros diferente ou use um ISO diferente."
+msgstr "O sistema de ficheiros selecionado não pode ser usado com este tipo de ISO. Por favor, selecione um sistema de ficheiros diferente ou use um ISO diferente."
#. • MSG_097
msgid "'%s' can only be applied if the file system is NTFS."
@@ -676,12 +676,12 @@ msgid ""
"Your platform cannot extract files from WIM archives. WIM extraction is required to create EFI bootable Windows 7 and Windows Vista USB drives. You can fix that by installing a recent version of 7-Zip.\n"
"Do you want to visit the 7-zip download page?"
msgstr ""
-"Não é possível extrair ficheiros comprimidos WIM. A extração WIM é necessária para criar dispositivos USB de arranque tipo EFI com Windows 7 e Windows Vista. Para corrigir, instale uma versão recente do 7-Zip.\n"
+"Não é possível extrair ficheiros comprimidos WIM. A extração WIM é necessária para criar dispositivos USB inicializável tipo EFI com Windows 7 e Windows Vista. Para corrigir, instale uma versão recente do 7-Zip.\n"
"Quer visitar a página de transferências do 7-Zip?"
#. • MSG_103
msgid "Download %s?"
-msgstr "Descarregar %s?"
+msgstr "Pretende transferir %s?"
#. • MSG_104
#.
@@ -701,11 +701,11 @@ msgstr ""
"Dado que este ficheiro tem mais de 100 KB e está sempre presente nas \n"
"imagens ISO %s, Rufus não o inclui na sua distribuição.\n"
"\n"
-"O Rufus pode descarregar o ficheiro em falta:\n"
-"- Selecionar 'Sim' para descarregar o ficheiro\n"
-"- Selecionar 'Não' se pretende copiar manualmente este ficheiro para a unidade mais tarde\n"
+"O Rufus pode transferir o ficheiro em falta:\n"
+"- Selecione 'Sim' transferir o ficheiro\n"
+"- Selecione 'Não' se deseja mais tarde copiar manualmente este ficheiro para a unidade\n"
"\n"
-"Nota: O novo ficheiro será descarregado para a pasta atual, e se o ficheiro\n"
+"Nota: O novo ficheiro será transferido para a pasta atual, e se o ficheiro\n"
" '%s' já existir, será substituído automaticamente."
#. • MSG_105
@@ -769,15 +769,15 @@ msgid ""
msgstr ""
"Esta imagem usa Syslinux %s%s mas a aplicação inclui apenas os ficheiros de instalação para Syslinux %s%s.\n"
"\n"
-"Como as diferentes versões de Syslinux podem não ser compatíveis entre si e não é possível o Rufus incluir todas elas, dois ficheiros adicionais devem ser descarregados ('ldlinux.sys' e 'ldlinux.bss'):\n"
-"- Selecionar 'Sim' para descarregar os ficheiros\n"
-"- Selecionar 'Não' para cancelar\n"
+"Como as diferentes versões de Syslinux podem não ser compatíveis entre si e não é possível o Rufus incluir todas elas, dois ficheiros adicionais devem ser transferidos ('ldlinux.sys' e 'ldlinux.bss'):\n"
+"- Selecione 'Sim' para transferir os ficheiros\n"
+"- Selecione 'Não' para cancelar\n"
"\n"
-"Nota: Os ficheiros serão descarregados para a pasta atual da aplicação e serão usados automaticamente se presentes."
+"Nota: Os ficheiros serão transferidos para a pasta atual da aplicação e serão usados automaticamente se presentes."
#. • MSG_115
msgid "Download required"
-msgstr "Descarregar"
+msgstr "Transferência"
#. • MSG_116
#.
@@ -796,11 +796,11 @@ msgstr ""
"Esta imagem usa Grub %s mas a aplicação inclui apenas os ficheiros de instalação para Grub %s.\n"
"\n"
"As diferentes versões de Grub podem não ser compatíveis entre si e não é possível incluir todas elas. Rufus irá tentar localizar para a versão de Grub o ficheiro de instalação ('core.img') que coincida com o da imagem:\n"
-"- Selecionar 'Sim' para tentar descarregar\n"
-"- Selecionar 'Não' para usar a versão padrão do Rufus\n"
-"- Selecionar 'Cancelar' para abortar a operação\n"
+"- Selecione 'Sim' para tentar transferir\n"
+"- Selecione 'Não' para usar a versão padrão do Rufus\n"
+"- Selecione 'Cancelar' para abortar a operação\n"
"\n"
-"Nota: O ficheiro será descarregado para a pasta atual da aplicação e será usado automaticamente sempre que presente. Se não for possível encontrar online, a versão padrão será utilizada."
+"Nota: O ficheiro será transferido para a pasta atual da aplicação e será usado automaticamente sempre que presente. Se não for possível encontrar online, a versão padrão será utilizada."
#. • MSG_117
msgid "Standard Windows installation"
@@ -849,7 +849,7 @@ msgstr "Nenhuma"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Defina o tamanho da partição persistente para a unidade USB. Definir o tamanho como 0 desabilita a partição persistente."
@@ -891,17 +891,17 @@ msgstr "Outro programa ou processo está a aceder a esta unidade. Mesmo assim, p
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"O Rufus detetou que está a tentar criar um disco Windows To Go com base num ISO da versão 1809.\n"
+"Rufus detetou que está a tentar criar um disco Windows To Go com base num ISO da versão 1809.\n"
"\n"
-"Devido a um *BUG da MICROSOFT*, este disco irá bloquear durante o arranque do Windows (Ecrã Azul da Morte), a menos que substitua manualmente o ficheiro 'WppRecorder.sys' por um da versão 1803.\n"
+"Devido a um *BUG da MICROSOFT*, este disco irá bloquear durante a inicialização do Windows (Ecrã Azul da Morte), a menos que substitua manualmente o ficheiro 'WppRecorder.sys' por um da versão 1803.\n"
"\n"
-"Tenha em atenção também que a razão pela qual o Rufus não consegue corrigir isto automaticamente é que o 'WppRecorder.sys' é um ficheiro protegido por direitos de autor da Microsoft, portanto, não podemos incorporar legalmente uma cópia do ficheiro no Rufus..."
+"Tenha em atenção também que a razão pela qual o Rufus não pode corrigir automaticamente é que 'WppRecorder.sys' é um ficheiro protegido por direitos de autor da Microsoft, portanto, não podemos incorporar legalmente uma cópia do ficheiro no Rufus..."
#. • MSG_134
msgid ""
@@ -943,11 +943,11 @@ msgstr "Voltar"
#. • MSG_142
msgid "Please wait..."
-msgstr "Aguarde..."
+msgstr "Por favor, aguarde..."
#. • MSG_143
msgid "Download using a browser"
-msgstr "Descarregar no navegador"
+msgstr "Transferir no browser"
#. • MSG_144
msgid "Download of Windows ISOs is unavailable due to Microsoft having altered their website to prevent it."
@@ -959,15 +959,15 @@ msgstr "É necessário o PowerShell 3.0 ou posterior para executar este script."
#. • MSG_146
msgid "Do you want to go online and download it?"
-msgstr "Ir à Internet e fazer a descarga?"
+msgstr "Pretende ligar e fazer a transferência?"
#. • MSG_148
msgid "Running download script..."
-msgstr "A executar script da descarga..."
+msgstr "A executar script da transferência..."
#. • MSG_149
msgid "Download ISO Image"
-msgstr "Descarregar imagem ISO"
+msgstr "Transferir imagem ISO"
#. • MSG_150
msgid "Type of computer you plan to use this bootable drive with. It is your responsibility to determine whether your target is of BIOS or UEFI type before you start creating the drive, as it may fail to boot otherwise."
@@ -1037,7 +1037,7 @@ msgstr "Método a usar para tornar a unidade inicializável"
#. • MSG_165
msgid "Click to select or download an image..."
-msgstr "Clique para selecionar ou descarregar uma imagem.."
+msgstr "Clique para selecionar ou transferir uma imagem.."
#. • MSG_166
msgid "Check this box to allow the display of international labels and set a device icon (creates an autorun.inf)"
@@ -1086,7 +1086,7 @@ msgstr "Versão %d.%d (Build %d)"
#. • MSG_176
msgid "English translation: Pete Batard "
-msgstr "Tradução para Português Europeu: Dinis Medeiros, Fernando Baptista, Hugo Carvalho"
+msgstr "Tradução para Português Europeu: Dinis Medeiros, Fernando Baptista"
#. • MSG_177
msgid "Report bugs or request enhancements at:"
@@ -1162,11 +1162,11 @@ msgstr "Leitura"
#. • MSG_193
msgid "Downloaded %s"
-msgstr "Descarregado %s"
+msgstr "Transferido %s"
#. • MSG_194
msgid "Could not download %s"
-msgstr "Não é possível descarregar %s"
+msgstr "Não é possível transferir %s"
#. • MSG_195
#.
@@ -1200,7 +1200,7 @@ msgstr "Esta funcionalidade não está disponível nesta plataforma."
#. • MSG_201
msgid "Cancelling - Please wait..."
-msgstr "A cancelar - aguarde..."
+msgstr "A cancelar - por favor aguarde..."
#. • MSG_202
msgid "Scanning image..."
@@ -1257,7 +1257,7 @@ msgstr "Operação cancelada"
#. • MSG_212
msgid "Failed"
-msgstr "Falha"
+msgstr "A operação FALHOU"
#. • MSG_213
#.
@@ -1397,17 +1397,17 @@ msgid ""
"\n"
"The download will be deleted. Please check the log for more details."
msgstr ""
-"Não é possível validar a assinatura da atualização descarregada. Isto pode significar que o seu sistema não está configurado corretamente para a validação de assinaturas ou indicar que se trata de um ficheiro malicioso.\n"
+"A assinatura da atualização transferida não foi validada. Isto pode significar que o seu sistema está configurado incorretamente para validação de assinaturas ou indicar uma transferência maliciosa.\n"
"\n"
-"O ficheiro descarregado será eliminado. Consulte o registo para obter mais detalhes."
+"O ficheiro transferido será eliminado. Por favor, verifique o registo para mais detalhes."
#. • MSG_241
msgid "Downloading: %s"
-msgstr "A descarregar: %s"
+msgstr "A transferir: %s"
#. • MSG_242
msgid "Failed to download file."
-msgstr "Erro ao descarregar o ficheiro."
+msgstr "Erro ao transferir o ficheiro."
#. • MSG_243
msgid "Checking for Rufus updates..."
@@ -1415,11 +1415,11 @@ msgstr "Procurar atualizações de Rufus..."
#. • MSG_244
msgid "Updates: Unable to connect to the internet"
-msgstr "Atualizações: Não foi possível ligar à Internet"
+msgstr "Atualizações: Não é possível ligar à Internet"
#. • MSG_245
msgid "Updates: Unable to access version data"
-msgstr "Atualizações: Não foi possível aceder aos dados da versão"
+msgstr "Atualizações: Impossível aceder aos dados da versão"
#. • MSG_246
msgid "A new version of Rufus is available!"
@@ -1597,7 +1597,7 @@ msgstr "Assinatura inválida"
#. • MSG_284
msgid "The downloaded executable is missing a digital signature."
-msgstr "Está em falta uma assinatura digital no executável descarregado."
+msgstr "Está em falta uma assinatura digital no executável transferido."
#. • MSG_285
msgid ""
@@ -1605,7 +1605,7 @@ msgid ""
"This is not a signature we recognize and could indicate some form of malicious activity...\n"
"Are you sure you want to run this file?"
msgstr ""
-"O executável descarregado está assinado por '%s'.\n"
+"O executável transferido está assinado por '%s'.\n"
"Não é uma assinatura reconhecida e poderá indiciar algum tipo de atividade mal intencionada...\n"
"Tem a certeza de que pretende executar este ficheiro?"
@@ -1677,7 +1677,7 @@ msgid ""
msgstr ""
"O ficheiro ISO selecionado não corresponde ao tamanho declarado: faltam %s de dados!\n"
"\n"
-"Se obteve este ficheiro da Internet, deve tentar descarregar uma nova cópia e verificar se os checksums MD5 ou SHA correspondem aos oficiais.\n"
+"Se obteve este ficheiro da Internet, deve tentar transferir uma nova cópia e verificar se os checksums MD5 ou SHA correspondem aos oficiais.\n"
"\n"
"Para calcular o MD5 ou SHA com Rufus, clique no botão (✓)."
@@ -1691,13 +1691,13 @@ msgid ""
"\n"
"In order to prevent potential attack scenarios, the update process has been aborted and the download will be deleted. Please check the log for more details."
msgstr ""
-"Não foi possível ao Rufus confirmar que a data e hora da atualização descarregada é mais recente que a do executável atual.\n"
+"Não foi possível ao Rufus confirmar que a data e hora da atualização transferida é mais recente que a do executável atual.\n"
"\n"
-"Para evitar possíveis cenários de ataque informático, o processo de atualização foi cancelado e o ficheiro descarregado será apagado. Para mais detalhes, verifique o registo."
+"Para evitar possíveis cenários de ataque informático, o processo de atualização foi cancelado e o ficheiro transferido será apagado. Para mais detalhes, verifique o registo."
#. • MSG_301
msgid "Show application settings"
-msgstr "Mostrar definições da aplicação"
+msgstr "Mostrar configurações da aplicação"
#. • MSG_302
msgid "Show information about this application"
@@ -1796,14 +1796,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Não foi possível abrir ou ler '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Aplicar o ficheiro SkuSiPolicy.p7b na instalação (ver KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Melhorias na QoL (não forçar o Copilot, o OneDrive, o Outlook, o Arranque Rápido, etc.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "A aplicar personalização do Windows: %s"
@@ -1854,17 +1846,17 @@ msgstr "Registo permanente (log)"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Um ficheiro adicional ('%s') deve ser descarregado da Microsoft para utilizar esta funcionalidade:\n"
-"- Selecionar 'Sim' para se ligar à Internet e descarregá-lo\n"
-"- Selecionar 'Não' para cancelar a operação\n"
+"Um ficheiro adicional ('diskcopy.dll') deve ser transferido da Microsoft para instalar o MS-DOS:\n"
+"- Selecione 'Sim' para se ligar à Internet e descarregá-lo\n"
+"- Selecione 'Não' para cancelar a operação\n"
"\n"
-"Nota: O ficheiro será descarregado para a pasta da aplicação e será reutilizado automaticamente se estiver presente."
+"Nota: O ficheiro será transferido para a pasta da aplicação e será reutilizado automaticamente se estiver presente."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1908,9 +1900,9 @@ msgid ""
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation"
msgstr ""
-"É necessário descarregar alguns dados adicionais da Microsoft para usar esta funcionalidade:\n"
-"- Selecionar 'Sim' para se ligar à Internet e descarregá-los\n"
-"- Selecionar 'Não' para cancelar a operação"
+"É necessário transferir alguns dados adicionais da Microsoft para usar esta funcionalidade:\n"
+"- Selecione 'Sim' para se ligar à Internet e descarregá-los\n"
+"- Selecione 'Não' para cancelar a operação"
#. • MSG_346
msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
@@ -1928,127 +1920,15 @@ msgstr "A extrair ficheiros de arquivo: %s"
msgid "Use Rufus MBR"
msgstr "Usar o MBR do Rufus"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Utilizar carregadores de arranque assinados pelo 'Windows CA 2023' (requer um PC de destino compatível)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "A verificar se o carregador de arranque UEFI foi revogado..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "A verificar se existem atualizações do UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Atualização do DBX disponível"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"O Rufus encontrou uma versão atualizada dos ficheiros DBX utilizados para realizar verificações de revogação do Arranque Seguro UEFI. Pretende descarregar esta atualização?\n"
-"- Selecionar 'Sim' para se ligar à Internet e descarregar este conteúdo\n"
-"- Selecionar 'Não' para cancelar a operação\n"
-"\n"
-"Nota: Os ficheiros serão descarregados para o diretório da aplicação e serão reutilizados automaticamente, caso já existam."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠SILENCIOSAMENTE⚠ apagar o disco e instalar:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Selecionou a opção de instalação \"silenciosa\" do Windows.\n"
-"\n"
-"Esta é uma opção avançada, reservada a quem pretende criar um suporte que não apresente mensagens ao utilizador durante a instalação do Windows e que, por conseguinte, APAGA INCONDICIONALMENTE o primeiro disco detetado no sistema de destino. Se não tiver cuidado, a utilização desta opção pode resultar em PERDA IRREVERSÍVEL DE DADOS!\n"
-"\n"
-"Se não é isso que pretende, selecione 'Não' para voltar atrás e desmarcar a opção.\n"
-"Caso contrário, se selecionar 'Sim', concorda que toda a responsabilidade por qualquer perda de dados será inteiramente SUA."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Localização da imagem não suportada"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Não pode utilizar uma imagem que se encontre na unidade de destino, uma vez que essa unidade vai ser completamente apagada. É o mesmo que tentar serrar o ramo em que está sentado!\n"
-"\n"
-"Mova a imagem para um local diferente e tente novamente."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "É seguro manter esta opção ativada, mesmo que tenha um TPM ou mais memória RAM, uma vez que esta opção apenas ignora os requisitos de configuração e não impede, de facto, que o Windows utilize todo o hardware disponível."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Para que esta opção funcione, a ligação à rede/Internet TEM de ser desligada durante a instalação!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Responda automaticamente 'não' às perguntas da instalação do Windows relacionadas com a partilha de dados com a Microsoft, em vez de solicitar a confirmação do utilizador."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Deve manter esta opção ativada, a menos que não se importe que o \"Windows To Go\" aceda aos discos internos e realize atualizações irreversíveis do sistema de ficheiros sem aviso prévio."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Criar automaticamente uma conta local com o nome de utilizador especificado, utilizando uma palavra-passe em branco que terá de ser alterada no próximo início de sessão."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Copiar as definições regionais deste computador (teclado, fuso horário, moeda), em vez de solicitar a confirmação do utilizador."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Não encriptar o disco do sistema, a menos que o utilizador o solicite explicitamente."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Utilizar esta opção apenas se souber o que é o Modo S e compreender que o seu sistema poderá ficar bloqueado no Modo S, mesmo após apagar completamente e reinstalar o Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Utilizar esta opção se o sistema no qual pretende instalar o Windows estiver a utilizar certificados de Arranque Seguro totalmente atualizados. Se necessário, pode considerar a utilização do 'Mosby' para atualizar o seu sistema."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Utilizar esta opção se pretender revogar carregadores de arranque do Windows adicionais que possam ser inseguros, mas tendo em conta que isso poderá também impedir o arranque a partir de suportes de instalação padrão do Windows."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Melhorias na \"Qualidade de Vida\": Desativa a maioria das funcionalidades indesejadas que a Microsoft está a tentar impor aos utilizadores finais."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Se utilizar esta opção, certifique-se de que desliga todos os discos do computador de destino, exceto aquele em que pretende instalar o Windows, e não deixe o suporte ligado a nenhum computador que não pretenda apagar."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
msgid "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
-msgstr "O Rufus é um utilitário que ajuda a formatar e a criar unidades USB inicializáveis, tais como dispositivos USB/pendrives, cartões de memória, etc."
+msgstr "Rufus é um utilitário que ajuda a formatar e a criar unidades USB inicializáveis, tais como dispositivos USB/pendrives, cartões de memória, etc."
#. • MSG_901
msgid "Official site: %s"
-msgstr "Página oficial: %s"
+msgstr "Site oficial: %s"
#. • MSG_902
msgid "Source Code: %s"
@@ -2073,13 +1953,13 @@ msgstr ""
#.
#. Keyword for "boot" will be used for search in the Windows Store
msgid "Boot"
-msgstr "Arranque"
+msgstr "Inicializável"
#. • MSG_910
#.
#. This and subsequent messages will be listed in the 'Features' section of the Windows Store page
msgid "Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
-msgstr "Formatar dispositivos USB, cartão de memória e unidades virtuais em FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
+msgstr "Formatar dispositivos USB, cartão de memória e drives virtuais em FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
#. • MSG_911
msgid "Create FreeDOS bootable USB drives"
@@ -2123,8 +2003,8 @@ msgstr "Executar verificações de blocos inválidos, incluindo a deteção de u
#. • MSG_921
msgid "Download official Microsoft Windows retail ISOs"
-msgstr "Descarregar ISOs oficiais do Microsoft Windows Retail"
+msgstr "Transferir ISOs oficiais do Microsoft Windows Retail"
#. • MSG_922
msgid "Download UEFI Shell ISOs"
-msgstr "Descarregar ISOs de UEFI Shell"
+msgstr "Transferir ISOs de UEFI Shell"
diff --git a/res/loc/po/ro-RO.po b/res/loc/po/ro-RO.po
index 5e8e0046..d02a28bb 100644
--- a/res/loc/po/ro-RO.po
+++ b/res/loc/po/ro-RO.po
@@ -1,11 +1,11 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-27 17:51+0100\n"
-"PO-Revision-Date: 2026-04-27 17:56+0100\n"
+"POT-Creation-Date: 2024-04-25 21:23+0300\n"
+"PO-Revision-Date: 2024-04-25 22:00+0300\n"
"Last-Translator: \n"
-"Language-Team: Andrei Ilas\n"
+"Language-Team: \n"
"Language: ro_RO\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Romanian (Română)\n"
"X-Rufus-LCID: 0x0418, 0x0818\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -846,7 +846,7 @@ msgstr "Fără persistență"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Setați dimensiunea partiției persistente pentru dispozitivul USB live. Setarea mărimii la 0 va dezactiva partiția persistentă."
@@ -888,13 +888,13 @@ msgstr "Un alt program sau proces utilizează această unitate. Doriți să o fo
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus a observat că încercați să creați un media 'Windows To Go' bazat pe un ISO cu versiunea 1809.\n"
+"Rufus a observat că încercați să creați un media Windows To Go bazat pe un ISO cu versiunea 1809.\n"
"\n"
"Din cauza unui *BUG MICROSOFT*, acest media va eșua în timpul pornirii Windows (Blue Screen Of Death), cu excepția cazului în care înlocuiți manual fișierul 'WppRecorder.sys' cu o versiune 1803.\n"
"\n"
@@ -1793,15 +1793,7 @@ msgstr ""
#. • MSG_322
msgid "Unable to open or read '%s'"
-msgstr "Nu se poate deschide sau citi '%s'"
-
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Aplică SkuSiPolicy.p7b la instalare (Vezi KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Îmbunătățiri QoL (Fără Copilot, OneDrive, Outlook, pornire rapidă forțată, etc.)"
+msgstr "Nu se poate deschide sau citii '%s'"
#. • MSG_325
msgid "Applying Windows customization: %s"
@@ -1809,7 +1801,7 @@ msgstr "Aplicând modificări la Windows: %s"
#. • MSG_326
msgid "Applying user options..."
-msgstr "Aplicând opțiuni de utilizator..."
+msgstr "Aplicând optiuni de utilizator..."
#. • MSG_327
msgid "Windows User Experience"
@@ -1821,7 +1813,7 @@ msgstr "Doriți să modificați instalația de Windows?"
#. • MSG_329
msgid "Remove requirement for 4GB+ RAM, Secure Boot and TPM 2.0"
-msgstr "Elimină necesitatea de 4GB+ RAM, Bootare Securizată și TPM 2.0"
+msgstr "Elimină necesitatea de 4GB+ RAM, Bootare Securizată si TPM 2.0"
#. • MSG_330
msgid "Remove requirement for an online Microsoft account"
@@ -1829,7 +1821,7 @@ msgstr "Elimină necesitatea pentru un cont Microsoft"
#. • MSG_331
msgid "Disable data collection (Skip privacy questions)"
-msgstr "Dezactivează colectarea de date (Sari peste întrebările de confidențialitate)"
+msgstr "Blochează colectarea de date (Sari peste întrebările de intimitate)"
#. • MSG_332
msgid "Prevent Windows To Go from accessing internal disks"
@@ -1837,11 +1829,11 @@ msgstr "Blochează Windows To Go de la accesarea discurilor interne"
#. • MSG_333
msgid "Create a local account with username:"
-msgstr "Creează un cont local cu nume de utilizator:"
+msgstr "Crează un cont local cu nume de utilizator:"
#. • MSG_334
msgid "Set regional options to the same values as this user's"
-msgstr "Setează opțiunile regionale să aibă aceleași valori ca ale acestui utilizator"
+msgstr "Serează opțiunile regionale să aibă aceleași valori ca acestui utilizator"
#. • MSG_335
msgid "Disable BitLocker automatic device encryption"
@@ -1853,17 +1845,17 @@ msgstr "Logare persistentă"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Un fișier suplimentar ('%s') trebuie descărcat de la Microsoft pentru a utiliza această funcție:\n"
-"- Selectați 'Da' pentru a vă conecta la Internet și a-l descărca\n"
-"- Selectați 'Nu' pentru a anula operațiunea\n"
+"Un fișier adițional ('diskcopy.dll') trebuie să fie descărcat de la Microsoft pentru a instala MS-DOS:\n"
+"- Selectează 'Da' ca să te conectezi la Internet și să le descarci\n"
+"- Selectează 'Nu' pentru a anula operațiunea\n"
"\n"
-"Notă: Fișierul va fi descărcat în directorul aplicației și va fi reutilizat automat dacă este prezent."
+"Notiță: Acest fișier va fi descărcat in aceeași locație cu aplicația și va fi reutilizat automat dacă este prezent."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1876,10 +1868,10 @@ msgid ""
"- If you obtained this ISO image from a non reputable source, you should consider the possibility that it might contain UEFI malware and avoid booting from it.\n"
"- If you obtained it from a trusted source, you should try to locate a more up to date version, that will not produce this warning."
msgstr ""
-"Rufus a detectat că fișierul ISO selectat conține un bootloader UEFI care a fost revocat și care va produce %s, când Secure Boot este activat pe un sistem UEFI complet actualizat.\n"
+"Rufus a detectat că fișierul ISO care lai selectat conține un bootloader UEFI care nu este permis si ar produce %s, cand Secure Boot este activat pe un system UEFI actualizat.\n"
"\n"
-"- Dacă ați obținut această imagine ISO dintr-o sursă nesigură, luați în considerare posibilitatea că ar putea conține malware UEFI și evitați pornirea de pe aceasta.\n"
-"- Dacă ați obținut-o dintr-o sursă de încredere, încercați să găsiți o versiune mai recentă, care să nu producă acest avertisment."
+"- Dacă ai făcut rost de aceasta imagine ISO de la o sursă de neîncredere, este recomandat să consideri posibilitatea că ar putea conține malware UEFI ce nu ar permite pornirea de la aceasta.\n"
+"- Dacă ai făcut rost de aceasta de la o sursă de încredere, ar putea fi necesară căutarea unei versiuni mai noi, care nu ar produce acest avertisment."
#. • MSG_340
msgid "a \"Security Violation\" screen"
@@ -1907,9 +1899,9 @@ msgid ""
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation"
msgstr ""
-"Unele date suplimentare trebuie descărcate de la Microsoft pentru a folosi această funcție:\n"
-"- Selectați 'Da' pentru a vă conecta la Internet și a le descărca\n"
-"- Selectați 'Nu' pentru a anula operațiunea"
+"Niște date adiționale trebuie descărcate de la Microsoft pentru a folosii această funție:\n"
+"- Selectează 'Da' ca să te conectezi la Internet și să le descarci\n"
+"- Selectează 'Nu' pentru a anula operațiunea"
#. • MSG_346
msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
@@ -1927,118 +1919,6 @@ msgstr "Extractând fișiere arhivate: %s"
msgid "Use Rufus MBR"
msgstr "Folosește Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Folosește bootloadere semnate cu 'Windows CA 2023' (necesită un PC compatibil)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Se verifică revocarea bootloaderului UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Se verifică actualizările DBX UEFI..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Actualizare DBX disponibilă"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus a găsit o versiune actualizată a fișierelor DBX folosite pentru verificările de revocare Secure Boot UEFI. Doriți să descărcați această actualizare?\n"
-"- Selectați „Da” pentru a vă conecta la internet și a descărca acest conținut\n"
-"- Selectați „Nu” pentru a anula operațiunea\n"
-"\n"
-"Notă: Fișierele vor fi descărcate în directorul aplicației și vor fi reutilizate automat, dacă există."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠ȘTERGE SILENȚIOS⚠ discul și instalează:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Ați selectat opțiunea de instalare Windows \"silențioasă\".\n"
-"\n"
-"Aceasta este o opțiune avansată, rezervată persoanelor care doresc să creeze suporturi media care nu solicită utilizatorilor informații în timpul instalării Windows și, prin urmare, ȘTERGE NECONDIȚIONAT primul disc detectat pe sistemul țintă. Dacă nu sunteți atenți, utilizarea acestei opțiuni poate duce la PIERDERI IREVERSIBILE DE DATE!\n"
-"\n"
-"Dacă acest lucru nu este ceea ce doriți, selectați „Nu” pentru a reveni și a debifa opțiunea.\n"
-"În caz contrar, dacă selectați „Da”, sunteți de acord că întreaga responsabilitate pentru orice pierdere de date vă va aparține în întregime."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Locație imagine neacceptată"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Nu puteți folosi o imagine aflată pe unitatea țintă, deoarece acea unitate va fi complet ștearsă. Este același lucru cu încercarea de a tăia creanga pe care stai!\n"
-"\n"
-"Mută imaginea într-o altă locație și încearcă din nou."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Este sigur să lăsați această opțiune activată chiar dacă aveți un TPM sau mai multă memorie RAM, deoarece aceasta ocolește doar cerințele de configurare și nu împiedică Windows să utilizeze tot hardware-ul disponibil."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Pentru ca această opțiune să funcționeze, rețeaua/Internetul TREBUIE să fie deconectat în timpul instalării!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Răspunde automat cu 'Nu' la întrebările de instalare Windows legate de partajarea datelor cu Microsoft, în loc să întrebe utilizatorul."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Lăsați această opțiune activată dacă nu doriți ca 'Windows To Go' să acceseze discurile interne și să efectueze actualizări ireversibile ale sistemului de fișiere fără avertizare."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Creează automat un cont local cu numele de utilizator specificat, folosind o parolă goală care va trebui schimbată la prima autentificare."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Preia setările regionale de pe acest PC (tastatură, fus orar, monedă), în loc să întrebe utilizatorul."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Nu cripta discul de sistem, cu excepția cazului în care utilizatorul solicită explicit acest lucru."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Folosiți această opțiune doar dacă știți ce este S-Mode și acceptați că sistemul poate rămâne blocat în S-Mode chiar și după reinstalarea completă a Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Folosiți această opțiune dacă sistemul pe care intenționați să instalați Windows utilizează certificate Secure Boot complet actualizate. Dacă este necesar, puteți folosi 'Mosby' pentru a actualiza sistemul."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Folosiți această opțiune pentru a revoca bootloadere Windows potențial nesigure suplimentare, cu riscul de a împiedica și pornirea suporturilor Windows standard."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Îmbunătățiri \"Quality of Life\": Dezactivează majoritatea funcțiilor nedorite pe care Microsoft încearcă să le impună utilizatorilor finali."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Dacă folosiți această opțiune, asigurați-vă că deconectați toate discurile de la computerul țintă, cu excepția celui pe care doriți să instalați Windows, și nu lăsați suportul conectat la niciun computer pe care nu doriți să îl ștergeți."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
@@ -2047,11 +1927,11 @@ msgstr "Rufus este un utilitar care ajută la formatarea și crearea de drive-ur
#. • MSG_901
msgid "Official site: %s"
-msgstr "Site oficial: %s"
+msgstr "Site official: %s"
#. • MSG_902
msgid "Source Code: %s"
-msgstr "Cod sursă: %s"
+msgstr "Codul Sursei: %s"
#. • MSG_903
msgid "ChangeLog: %s"
@@ -2065,14 +1945,14 @@ msgid ""
"This application is licensed under the terms of the GNU Public License (GPL) version 3.\n"
"See https://www.gnu.org/licenses/gpl-3.0.en.html for details."
msgstr ""
-"Această aplicație este licențiată conform termenilor GNU Public License (GPL) versiunea 3.\n"
-"Vezi https://www.gnu.org/licenses/gpl-3.0.en.html pentru detalii."
+"Această aplicație este sub liciența și termenii și condițiile ale lui GNU Public License (GPL) versiunea a 3-a.\n"
+"Vazi https://www.gnu.org/licenses/gpl-3.0.en.html pentru detalii."
#. • MSG_905
#.
#. Keyword for "boot" will be used for search in the Windows Store
msgid "Boot"
-msgstr ""
+msgstr "Bootează"
#. • MSG_910
#.
diff --git a/res/loc/po/ru-RU.po b/res/loc/po/ru-RU.po
index c7f41270..d3a3e80c 100644
--- a/res/loc/po/ru-RU.po
+++ b/res/loc/po/ru-RU.po
@@ -1,11 +1,11 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 3.22\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-23 18:41+0000\n"
-"PO-Revision-Date: 2026-03-23 18:41+0000\n"
-"Last-Translator: \n"
-"Language-Team: \n"
+"POT-Creation-Date: 2023-10-19 09:51+0300\n"
+"PO-Revision-Date: 2024-04-26 02:06+0300\n"
+"Last-Translator: Dmitry Yerokhin \n"
+"Language-Team: LANGUAGE \n"
"Language: ru_RU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Russian (Русский)\n"
"X-Rufus-LCID: 0x0419, 0x0819\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 1.5.7\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -56,7 +56,9 @@ msgstr "Добавить исправления для старых BIOS"
#. • IDD_DIALOG → IDC_UEFI_MEDIA_VALIDATION
#.
-#. It is acceptable to drop the "runtime" if you are running out of space
+#. 'MBR': See http://en.wikipedia.org/wiki/Master_boot_record
+#. Rufus can install it's own custom MBR (the Rufus MBR), which also allows users to
+#. specify a custom disk ID for the BIOS. The tooltip for this control is MSG_167.
msgid "Enable runtime UEFI media validation"
msgstr "Проверка носителя UEFI во время выполнения"
@@ -308,7 +310,7 @@ msgstr "ТБ"
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr "ПБ"
@@ -419,7 +421,8 @@ msgstr "Неизвестная ошибка при форматировании.
#. • MSG_052
msgid "Cannot use the selected file system for this media."
-msgstr "Для этого устройства невозможно использовать выбранную файловую систему."
+msgstr ""
+"Для этого устройства невозможно использовать выбранную файловую систему."
#. • MSG_053
msgid "Access to the device is denied."
@@ -430,8 +433,11 @@ msgid "Media is write protected."
msgstr "Носитель данных защищён от записи."
#. • MSG_055
-msgid "The device is in use by another process. Please close any other process that may be accessing the device."
-msgstr "Это устройство используется другим процессом. Сначала завершите процесс."
+msgid ""
+"The device is in use by another process. Please close any other process that "
+"may be accessing the device."
+msgstr ""
+"Это устройство используется другим процессом. Сначала завершите процесс."
#. • MSG_056
msgid "Quick format is not available for this device."
@@ -478,8 +484,12 @@ msgid "Installation failure"
msgstr "Ошибка установки"
#. • MSG_067
-msgid "Could not open media. It may be in use by another process. Please re-plug the media and try again."
-msgstr "Невозможно открыть носитель информации. Возможно, он используется другим процессом. Извлеките носитель информации и вставьте его вновь."
+msgid ""
+"Could not open media. It may be in use by another process. Please re-plug "
+"the media and try again."
+msgstr ""
+"Невозможно открыть носитель информации. Возможно, он используется другим "
+"процессом. Извлеките носитель информации и вставьте его вновь."
#. • MSG_068
msgid "Could not partition drive."
@@ -533,25 +543,35 @@ msgstr "Устройство не готово."
#. • MSG_080
msgid ""
-"Rufus detected that Windows is still flushing its internal buffers onto the USB device.\n"
+"Rufus detected that Windows is still flushing its internal buffers onto the "
+"USB device.\n"
"\n"
-"Depending on the speed of your USB device, this operation may take a long time to complete, especially for large files.\n"
+"Depending on the speed of your USB device, this operation may take a long "
+"time to complete, especially for large files.\n"
"\n"
-"We recommend that you let Windows finish, to avoid corruption. But if you grow tired of waiting, you can just unplug the device..."
+"We recommend that you let Windows finish, to avoid corruption. But if you "
+"grow tired of waiting, you can just unplug the device..."
msgstr ""
-"Rufus обнаружил, что Windows всё ещё очищает внутренний буфер USB-устройства.\n"
+"Rufus обнаружил, что Windows всё ещё очищает внутренний буфер USB-"
+"устройства.\n"
"\n"
-"В зависимости от скорости USB-устройства, эта операция может занять много времени, особенно для больших файлов.\n"
+"В зависимости от скорости USB-устройства, эта операция может занять много "
+"времени, особенно для больших файлов.\n"
"\n"
-"Чтобы избежать повреждения устройства, дождитесь, пока Windows закончит. Но если Вам надоест ждать, можете просто отключить устройство..."
+"Чтобы избежать повреждения устройства, дождитесь, пока Windows закончит. Но "
+"если вам надоест ждать, можете просто отключить устройство..."
#. • MSG_081
msgid "Unsupported image"
msgstr "Неподдерживаемый образ"
#. • MSG_082
-msgid "This image is either non-bootable, or it uses a boot or compression method that is not supported by Rufus..."
-msgstr "Образ либо незагрузочный, либо использует метод загрузки или сжатия, не поддерживаемый Rufus."
+msgid ""
+"This image is either non-bootable, or it uses a boot or compression method "
+"that is not supported by Rufus..."
+msgstr ""
+"Образ либо незагрузочный, либо использует метод загрузки или сжатия, не "
+"поддерживаемый Rufus."
#. • MSG_083
msgid "Replace %s?"
@@ -567,7 +587,8 @@ msgid ""
"- Choose 'No' to leave the existing ISO file unmodified\n"
"If you don't know what to do, you should select 'Yes'.\n"
"\n"
-"Note: The new file will be downloaded in the current directory and once a '%s' exists there, it will be reused automatically."
+"Note: The new file will be downloaded in the current directory and once a "
+"'%s' exists there, it will be reused automatically."
msgstr ""
"Образ ISO использует устаревшую версию '%s'.\n"
"Загрузочные меню могут отображаться неправильно.\n"
@@ -577,7 +598,8 @@ msgstr ""
"- Выберите 'Нет', чтобы не изменять образ ISO\n"
"Если вы не знаете, что делать, то выберите 'Да'.\n"
"\n"
-"Файл загрузится в текущую папку, а если в ней есть '%s', то он будет автоматически заменён."
+"Файл загрузится в текущую папку, а если в ней есть '%s', то он будет "
+"автоматически заменён."
#. • MSG_085
msgid "Downloading %s"
@@ -611,8 +633,12 @@ msgid "Unsupported ISO"
msgstr "Неподдерживаемый образ ISO"
#. • MSG_091
-msgid "When using UEFI Target Type, only EFI bootable ISO images are supported. Please select an EFI bootable ISO or set the Target Type to BIOS."
-msgstr "При использовании целевого типа UEFI поддерживаются только загрузочные образы ISO. Выберите загрузочный образ EFI или измените целевой тип BIOS."
+msgid ""
+"When using UEFI Target Type, only EFI bootable ISO images are supported. "
+"Please select an EFI bootable ISO or set the Target Type to BIOS."
+msgstr ""
+"При использовании целевого типа UEFI поддерживаются только загрузочные "
+"образы ISO. Выберите загрузочный образ EFI или измените целевой тип BIOS."
#. • MSG_092
msgid "Unsupported filesystem"
@@ -622,11 +648,15 @@ msgstr "Неподдерживаемая файловая система"
msgid ""
"IMPORTANT: THIS DRIVE CONTAINS MULTIPLE PARTITIONS!!\n"
"\n"
-"This may include partitions/volumes that aren't listed or even visible from Windows. Should you wish to proceed, you are responsible for any data loss on these partitions."
+"This may include partitions/volumes that aren't listed or even visible from "
+"Windows. Should you wish to proceed, you are responsible for any data loss "
+"on these partitions."
msgstr ""
"ВАЖНО: НА ЭТОМ ДИСКЕ НЕСКОЛЬКО РАЗДЕЛОВ!!\n"
"\n"
-"Этот диск может содержать разделы/тома, которые отсутствуют в списке или даже не видны в Windows. В случае продолжения Вы несёте ответственность за любую потерю данных на этих разделах."
+"Этот диск может содержать разделы/тома, которые отсутствуют в списке или "
+"даже не видны в Windows. В случае продолжения вы несёте ответственность за "
+"любую потерю данных на этих разделах."
#. • MSG_094
msgid "Multiple partitions detected"
@@ -637,8 +667,12 @@ msgid "DD Image"
msgstr "DD-образ"
#. • MSG_096
-msgid "The file system currently selected can not be used with this type of ISO. Please select a different file system or use a different ISO."
-msgstr "Выбранная файловая система не может использоваться с этим типом образа ISO. Выберите другую файловую систему или другой образ ISO."
+msgid ""
+"The file system currently selected can not be used with this type of ISO. "
+"Please select a different file system or use a different ISO."
+msgstr ""
+"Выбранная файловая система не может использоваться с этим типом образа ISO. "
+"Выберите другую файловую систему или другой образ ISO."
#. • MSG_097
msgid "'%s' can only be applied if the file system is NTFS."
@@ -646,25 +680,39 @@ msgstr "'%s' может использоваться только с файло
#. • MSG_098
msgid ""
-"IMPORTANT: You are trying to install 'Windows To Go', but your target drive doesn't have the 'FIXED' attribute. Because of this Windows will most likely freeze during boot, as Microsoft hasn't designed it to work with drives that instead have the 'REMOVABLE' attribute.\n"
+"IMPORTANT: You are trying to install 'Windows To Go', but your target drive "
+"doesn't have the 'FIXED' attribute. Because of this Windows will most likely "
+"freeze during boot, as Microsoft hasn't designed it to work with drives that "
+"instead have the 'REMOVABLE' attribute.\n"
"\n"
"Do you still want to proceed?\n"
"\n"
-"Note: The 'FIXED/REMOVABLE' attribute is a hardware property that can only be changed using custom tools from the drive manufacturer. However those tools are ALMOST NEVER provided to the public..."
+"Note: The 'FIXED/REMOVABLE' attribute is a hardware property that can only "
+"be changed using custom tools from the drive manufacturer. However those "
+"tools are ALMOST NEVER provided to the public..."
msgstr ""
-"ВАЖНО: Вы пытаетесь установить Windows To Go, но у целевого диска нет атрибута 'FIXED' (несъёмный). Из-за этого Windows, скорее всего, зависнет при загрузке, так как Windows To Go предназначена для работы только с дисками с атрибутом 'REMOVABLE' (съёмный).\n"
+"ВАЖНО: Вы пытаетесь установить Windows To Go, но у целевого диска нет "
+"атрибута 'FIXED' (несъёмный). Из-за этого Windows, скорее всего, зависнет "
+"при загрузке, так как Windows To Go предназначена для работы только с "
+"дисками с атрибутом 'REMOVABLE' (съёмный).\n"
"\n"
"Всё равно хотите продолжить?\n"
"\n"
-"* Атрибут 'FIXED/REMOVABLE' - это свойство оборудования. Его можно изменить только с помощью специальных инструментов от производителя, которые ПОЧТИ НИКОГДА не предоставляются общественности..."
+"* Атрибут 'FIXED/REMOVABLE' - это свойство оборудования. Его можно изменить "
+"только с помощью специальных инструментов от производителя, которые ПОЧТИ "
+"НИКОГДА не предоставляются общественности..."
#. • MSG_099
msgid "Filesystem limitation"
msgstr "Ограничения файловой системы"
#. • MSG_100
-msgid "This ISO image contains a file larger than 4 GB, which is more than the maximum size allowed for a FAT or FAT32 file system."
-msgstr "Этот образ ISO содержит файл размером более 4 ГБ, что превосходит максимальный размер для файловой системы FAT или FAT32."
+msgid ""
+"This ISO image contains a file larger than 4 GB, which is more than the "
+"maximum size allowed for a FAT or FAT32 file system."
+msgstr ""
+"Этот образ ISO содержит файл размером более 4 ГБ, что превосходит "
+"максимальный размер для файловой системы FAT или FAT32."
#. • MSG_101
msgid "Missing WIM support"
@@ -672,10 +720,15 @@ msgstr "Отсутствует поддержка WIM"
#. • MSG_102
msgid ""
-"Your platform cannot extract files from WIM archives. WIM extraction is required to create EFI bootable Windows 7 and Windows Vista USB drives. You can fix that by installing a recent version of 7-Zip.\n"
+"Your platform cannot extract files from WIM archives. WIM extraction is "
+"required to create EFI bootable Windows 7 and Windows Vista USB drives. You "
+"can fix that by installing a recent version of 7-Zip.\n"
"Do you want to visit the 7-zip download page?"
msgstr ""
-"Ваша система не может извлекать файлы из архивов WIM. Распаковка таких архивов необходима для создания загрузочных USB-накопителей EFI для Windows 7 и Windows Vista. Чтобы решить эту проблему, установите новейшую версию 7-Zip.\n"
+"Ваша система не может извлекать файлы из архивов WIM. Распаковка таких "
+"архивов необходима для создания загрузочных USB-накопителей EFI для Windows "
+"7 и Windows Vista. Чтобы решить эту проблему, установите новейшую версию 7-"
+"Zip.\n"
"Открыть страницу загрузки 7-Zip?"
#. • MSG_103
@@ -688,22 +741,26 @@ msgstr "Загрузить %s?"
#. file is more than 100 KB in size, and always present on Grub4DOS ISO images (...)"
msgid ""
"%s or later requires a '%s' file to be installed.\n"
-"Because this file is more than 100 KB in size, and always present on %s ISO images, it is not embedded in Rufus.\n"
+"Because this file is more than 100 KB in size, and always present on %s ISO "
+"images, it is not embedded in Rufus.\n"
"\n"
"Rufus can download the missing file for you:\n"
"- Select 'Yes' to connect to the internet and download the file\n"
"- Select 'No' if you want to manually copy this file on the drive later\n"
"\n"
-"Note: The file will be downloaded in the current directory and once a '%s' exists there, it will be reused automatically."
+"Note: The file will be downloaded in the current directory and once a '%s' "
+"exists there, it will be reused automatically."
msgstr ""
"%s или новее требует наличия файла '%s'.\n"
-"Поскольку размер этого файла больше 100 КБ, и он всегда присутствует в ISO-образах %s, он не встроен в Rufus.\n"
+"Поскольку размер этого файла больше 100 КБ, и он всегда присутствует в ISO-"
+"образах %s, он не встроен в Rufus.\n"
"\n"
"Rufus может скачать недостающий файл:\n"
"- Выберите 'Да', если хотите скачать этот файл\n"
"- Выберите 'Нет', если хотите скачать его вручную позже\n"
"\n"
-"* Файл будет скачан в текущую папку. Если в ней есть '%s', он будет автоматически перезаписан."
+"* Файл будет скачан в текущую папку. Если в ней есть '%s', он будет "
+"автоматически перезаписан."
#. • MSG_105
msgid ""
@@ -711,7 +768,8 @@ msgid ""
"If you are sure you want to cancel, click YES. Otherwise, click NO."
msgstr ""
"При отмене устройство может оказаться в НЕРАБОЧЕМ состоянии.\n"
-"Если Вы уверены, что хотите отменить операцию, нажмите 'Да'. Иначе - нажмите 'Нет'."
+"Если вы уверены, что хотите отменить операцию, нажмите 'Да'. Иначе - нажмите "
+"'Нет'."
#. • MSG_106
msgid "Please select folder"
@@ -747,8 +805,15 @@ msgstr "Несовместимый размер кластеров"
#. • MSG_112
#.
#. "%d:%02d" is a duration (mins:secs)
-msgid "Formatting a large UDF volumes can take a lot of time. At USB 2.0 speeds, the estimated formatting duration is %d:%02d, during which the progress bar will appear frozen. Please be patient!"
-msgstr "Форматирование больших томов UDF может занять много времени. При скоростях USB 2.0 форматирование продлится примерно %d:%02d, в течение этого времени индикатор хода операции будет казаться неработающим. Проявите терпение, пожалуйста!"
+msgid ""
+"Formatting a large UDF volumes can take a lot of time. At USB 2.0 speeds, "
+"the estimated formatting duration is %d:%02d, during which the progress bar "
+"will appear frozen. Please be patient!"
+msgstr ""
+"Форматирование больших томов UDF может занять много времени. При скоростях "
+"USB 2.0 форматирование продлится примерно %d:%02d, в течение этого времени "
+"индикатор хода операции будет казаться неработающим. Проявите терпение, "
+"пожалуйста!"
#. • MSG_113
msgid "Large UDF volume"
@@ -756,21 +821,28 @@ msgstr "Большой UDF-том"
#. • MSG_114
msgid ""
-"This image uses Syslinux %s%s but this application only includes the installation files for Syslinux %s%s.\n"
+"This image uses Syslinux %s%s but this application only includes the "
+"installation files for Syslinux %s%s.\n"
"\n"
-"As new versions of Syslinux are not compatible with one another, and it wouldn't be possible for Rufus to include them all, two additional files must be downloaded from the Internet ('ldlinux.sys' and 'ldlinux.bss'):\n"
+"As new versions of Syslinux are not compatible with one another, and it "
+"wouldn't be possible for Rufus to include them all, two additional files "
+"must be downloaded from the Internet ('ldlinux.sys' and 'ldlinux.bss'):\n"
"- Select 'Yes' to connect to the Internet and download these files\n"
"- Select 'No' to cancel the operation\n"
"\n"
-"Note: The files will be downloaded in the current application directory and will be reused automatically if present."
+"Note: The files will be downloaded in the current application directory and "
+"will be reused automatically if present."
msgstr ""
-"Этот образ использует Syslinux %s%s, но в данном приложении есть только установочные файлы для Syslinux %s%s.\n"
+"Этот образ использует Syslinux %s%s, но в данном приложении есть только "
+"установочные файлы для Syslinux %s%s.\n"
"\n"
-"Так как версии Syslinux несовместимы друг с другом, дополнительные файлы (ldlinux.sys and ldlinux.bss) нужно загрузить из Интернета:\n"
+"Так как версии Syslinux несовместимы друг с другом, дополнительные файлы "
+"(ldlinux.sys and ldlinux.bss) нужно загрузить из Интернета:\n"
"- Выберите 'Да', чтобы скачать файлы из Интернета\n"
"- Выберите 'Нет', чтобы отменить операцию\n"
"\n"
-"* Файлы загрузятся в текущую папку приложения, имеющиеся там одноимённые файлы будут перезаписаны."
+"* Файлы загрузятся в текущую папку приложения, имеющиеся там одноимённые "
+"файлы будут перезаписаны."
#. • MSG_115
msgid "Download required"
@@ -781,23 +853,35 @@ msgstr "Требуется загрузка из Интернета"
#. You should be able to test this message with Super Grub2 Disk ISO:
#. https://sourceforge.net/projects/supergrub2/files/2.00s2/super_grub2_disk_hybrid_2.00s2.iso/download (11.9 MB)
msgid ""
-"This image uses Grub %s but the application only includes the installation files for Grub %s.\n"
+"This image uses Grub %s but the application only includes the installation "
+"files for Grub %s.\n"
"\n"
-"As different versions of Grub may not be compatible with one another, and it is not possible to include them all, Rufus will attempt to locate a version of the Grub installation file ('core.img') that matches the one from your image:\n"
+"As different versions of Grub may not be compatible with one another, and it "
+"is not possible to include them all, Rufus will attempt to locate a version "
+"of the Grub installation file ('core.img') that matches the one from your "
+"image:\n"
"- Select 'Yes' to connect to the Internet and attempt to download it\n"
"- Select 'No' to use the default version from Rufus\n"
"- Select 'Cancel' to abort the operation\n"
"\n"
-"Note: The file will be downloaded in the current application directory and will be reused automatically if present. If no match can be found online, then the default version will be used."
+"Note: The file will be downloaded in the current application directory and "
+"will be reused automatically if present. If no match can be found online, "
+"then the default version will be used."
msgstr ""
-"Этот образ использует загрузчик GRUB %s, но приложение включает только установочные файлы для GRUB %s.\n"
+"Этот образ использует загрузчик GRUB %s, но приложение включает только "
+"установочные файлы для GRUB %s.\n"
"\n"
-"Различные версии GRUB могут быть несовместимы друг с другом. Rufus попытается найти нужную версию установочного файла GRUB (core.img), соответствующую версии загрузчика вашего образа:\n"
+"Различные версии GRUB могут быть несовместимы друг с другом. Rufus "
+"попытается найти нужную версию установочного файла GRUB (core.img), "
+"соответствующую версии загрузчика вашего образа:\n"
"- Выберите 'Да', чтобы скачать установочный файл из Интернета\n"
"- Выберите 'Нет', чтобы использовать версию по умолчанию из Rufus\n"
"- Выберите 'Отмена', чтобы отменить операцию\n"
"\n"
-"* Файл загрузится в текущую папку приложения, если в ней уже есть одноимённый файл, он будет автоматически перезаписан. Если нужную версию установщика не удастся найти в Интернете, будет использоваться версия по умолчанию."
+"* Файл загрузится в текущую папку приложения, если в ней уже есть "
+"одноимённый файл, он будет автоматически перезаписан. Если нужную версию "
+"установщика не удастся найти в Интернете, будет использоваться версия по "
+"умолчанию."
#. • MSG_117
msgid "Standard Windows installation"
@@ -809,7 +893,7 @@ msgstr "Стандартная установка Windows"
#. http://en.wikipedia.org/wiki/Windows_To_Go in your language.
#. Otherwise, you may add a parenthesis eg. "Windows To Go ()"
msgid "Windows To Go"
-msgstr ""
+msgstr "Windows To Go"
#. • MSG_119
msgid "advanced drive properties"
@@ -846,9 +930,13 @@ msgstr "Без раздела"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
-msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
-msgstr "Установите размер постоянного раздела для live-носителя USB. 0 - отключить постоянный раздел."
+#. Tooltips used for the peristence size slider and edit control
+msgid ""
+"Set the size of the persistent partition for live USB media. Setting the "
+"size to 0 disables the persistent partition."
+msgstr ""
+"Установите размер постоянного раздела для live-носителя USB. 0 - отключить "
+"постоянный раздел."
#. • MSG_126
msgid "Set the partition size units."
@@ -864,10 +952,13 @@ msgstr "Важное примечание о %s"
#. • MSG_129
msgid ""
-"You have just created a media that uses the UEFI:NTFS bootloader. Please remember that, to boot this media, YOU MUST DISABLE SECURE BOOT.\n"
-"For details on why this is necessary, see the 'More Information' button below."
+"You have just created a media that uses the UEFI:NTFS bootloader. Please "
+"remember that, to boot this media, YOU MUST DISABLE SECURE BOOT.\n"
+"For details on why this is necessary, see the 'More Information' button "
+"below."
msgstr ""
-"Вы только что создали носитель с загрузчиком UEFI:NTFS. Учтите, что для загрузки этого носителя НУЖНО ОТКЛЮЧИТЬ БЕЗОПАСНУЮ ЗАГРУЗКУ.\n"
+"Вы только что создали носитель с загрузчиком UEFI:NTFS. Учтите, что для "
+"загрузки этого носителя НУЖНО ОТКЛЮЧИТЬ БЕЗОПАСНУЮ ЗАГРУЗКУ.\n"
"Чтобы узнать, почему это необходимо, нажмите кнопку 'Ещё'."
#. • MSG_130
@@ -880,33 +971,51 @@ msgid ""
"Please select the image you wish to use for this installation:"
msgstr ""
"Этот файл ISO содержит несколько образов Windows.\n"
-"Выберите образ, который Вы хотите использовать для этой установки:"
+"Выберите образ, который вы хотите использовать для этой установки:"
#. • MSG_132
-msgid "Another program or process is accessing this drive. Do you want to format it anyway?"
-msgstr "К этому диску обращается другая программа или процесс. Всё равно настаиваете на форматировании?"
+msgid ""
+"Another program or process is accessing this drive. Do you want to format it "
+"anyway?"
+msgstr ""
+"К этому диску обращается другая программа или процесс. Всё равно настаиваете "
+"на форматировании?"
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media "
+"based on a 1809 ISO.\n"
"\n"
-"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
+"Because of a *MICROSOFT BUG*, this media will crash during Windows boot "
+"(Blue Screen Of Death), unless you manually replace the file 'WppRecorder."
+"sys' with a 1803 version.\n"
"\n"
-"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
+"Also note that the reason Rufus cannot automatically fix this for you is "
+"that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally "
+"embed a copy of the file in the application..."
msgstr ""
-"Вы пытаетесь создать носитель Windows To Go на основе ISO 1809.\n"
+"Rufus обнаружил, что вы пытаетесь создать носитель Windows To Go на основе "
+"ISO 1809.\n"
"\n"
-"Из-за *ОШИБКИ MICROSOFT* этот носитель будет давать сбой (BSOD) при загрузке Windows, если вы вручную не замените файл WppRecorder.sys версией 1803.\n"
+"Из-за *ОШИБКИ MICROSOFT* этот носитель будет давать сбой при загрузке "
+"Windows (BSOD), если вы вручную не замените файл WppRecorder.sys версией "
+"1803.\n"
"\n"
-"Rufus не может это исправить автоматически, так как WppRecorder.sys - это файл Microsoft, защищённый авторскими правами, поэтому мы не можем легально встраивать в приложение его копию."
+"Rufus не может это исправить автоматически, так как WppRecorder.sys - это "
+"файл Microsoft, защищённый авторскими правами, поэтому мы не можем легально "
+"встраивать в приложение его копию."
#. • MSG_134
msgid ""
-"Because MBR has been selected for the partition scheme, Rufus can only create a partition up to 2 TB on this media, which will leave %s of disk space unavailable.\n"
+"Because MBR has been selected for the partition scheme, Rufus can only "
+"create a partition up to 2 TB on this media, which will leave %s of disk "
+"space unavailable.\n"
"\n"
"Are you sure you want to continue?"
msgstr ""
-"Поскольку для схемы разделов выбрана MBR, на этом носителе Rufus может создать только раздел размером до 2 ТБ, а %s дискового пространства останутся недоступными.\n"
+"Поскольку для схемы разделов выбрана MBR, на этом носителе Rufus может "
+"создать только раздел размером до 2 ТБ, а %s дискового пространства "
+"останутся недоступными.\n"
"\n"
"Вы действительно хотите продолжить?"
@@ -947,8 +1056,12 @@ msgid "Download using a browser"
msgstr "Скачать в браузере"
#. • MSG_144
-msgid "Download of Windows ISOs is unavailable due to Microsoft having altered their website to prevent it."
-msgstr "Microsoft временно заблокировала скачивание образов Windows из-за большого количества загрузок."
+msgid ""
+"Download of Windows ISOs is unavailable due to Microsoft having altered "
+"their website to prevent it."
+msgstr ""
+"Microsoft временно заблокировала скачивание образов Windows из-за большого "
+"количества загрузок."
#. • MSG_145
msgid "PowerShell 3.0 or later is required to run this script."
@@ -967,18 +1080,32 @@ msgid "Download ISO Image"
msgstr "Загрузить образ ISO"
#. • MSG_150
-msgid "Type of computer you plan to use this bootable drive with. It is your responsibility to determine whether your target is of BIOS or UEFI type before you start creating the drive, as it may fail to boot otherwise."
-msgstr "Тип компьютера, с которым вы планируете использовать этот загрузочный диск. Прежде чем создавать диск, вы должны определить, что используется в вашей системе: BIOS или UEFI, иначе диск может не загрузиться."
+msgid ""
+"Type of computer you plan to use this bootable drive with. It is your "
+"responsibility to determine whether your target is of BIOS or UEFI type "
+"before you start creating the drive, as it may fail to boot otherwise."
+msgstr ""
+"Тип компьютера, с которым вы планируете использовать этот загрузочный диск. "
+"Прежде чем создавать диск, вы должны определить, что используется в вашей "
+"системе: BIOS или UEFI, иначе диск может не загрузиться."
#. • MSG_151
#.
#. You shouldn't translate 'Legacy Mode' as this is an option that usually appears in English in the UEFI settings.
-msgid "'UEFI-CSM' means that the device will only boot in BIOS emulation mode (also known as 'Legacy Mode') under UEFI, and not in native UEFI mode."
-msgstr "'UEFI-CSM' означает, что устройство будет загружаться только в режиме эмуляции BIOS (также называемом 'Legacy Mode') под UEFI, а не в режиме UEFI."
+msgid ""
+"'UEFI-CSM' means that the device will only boot in BIOS emulation mode (also "
+"known as 'Legacy Mode') under UEFI, and not in native UEFI mode."
+msgstr ""
+"'UEFI-CSM' означает, что устройство будет загружаться только в режиме "
+"эмуляции BIOS (также называемом 'Legacy Mode') под UEFI, а не в режиме UEFI."
#. • MSG_152
-msgid "'non CSM' means that the device will only boot in native UEFI mode, and not in BIOS emulation mode (also known as 'Legacy Mode')."
-msgstr "'non-CSM' означает, что устройство будет загружаться только в режиме UEFI, а не в режиме эмуляции BIOS (также известном как 'Legacy Mode')."
+msgid ""
+"'non CSM' means that the device will only boot in native UEFI mode, and not "
+"in BIOS emulation mode (also known as 'Legacy Mode')."
+msgstr ""
+"'non-CSM' означает, что устройство будет загружаться только в режиме UEFI, а "
+"не в режиме эмуляции BIOS (также известном как 'Legacy Mode')."
#. • MSG_153
msgid "Test pattern: 0x%02X"
@@ -1037,25 +1164,44 @@ msgid "Click to select or download an image..."
msgstr "Нажмите, чтобы выбрать или загрузить образ..."
#. • MSG_166
-msgid "Check this box to allow the display of international labels and set a device icon (creates an autorun.inf)"
+msgid ""
+"Check this box to allow the display of international labels and set a device "
+"icon (creates an autorun.inf)"
msgstr ""
-"Разрешить отображение меток с международными символами и задать значок устройства\n"
+"Разрешить отображение меток с международными символами и задать значок "
+"устройства\n"
"(создаётся файл autorun.inf)"
#. • MSG_167
-msgid "Install a UEFI bootloader, that will perform MD5Sum file validation of the media"
+msgid ""
+"Install a UEFI bootloader, that will perform MD5Sum file validation of the "
+"media"
msgstr "Установить загрузчик UEFI, который проверит файл MD5Sum на носителе"
+#. • MSG_168
+msgid ""
+"Try to masquerade first bootable USB drive (usually 0x80) as a different "
+"disk.\n"
+"This should only be necessary if you install Windows XP and have more than "
+"one disk."
+msgstr ""
+"Попробуйте замаскировать первый загрузочный \n"
+"USB-диск (обычно 0x80) как другой диск.\n"
+"Это необходимо только для установки Windows XP,\n"
+"если у вас несколько дисков."
+
#. • MSG_169
msgid ""
"Create an extra hidden partition and try to align partitions boundaries.\n"
"This can improve boot detection for older BIOSes."
msgstr ""
-"Создать дополнительный скрытый раздел и попробовать выровнять границы разделов.\n"
+"Создать дополнительный скрытый раздел и попробовать выровнять границы "
+"разделов.\n"
"Это может улучшить обнаружение загрузчика в старых BIOS."
#. • MSG_170
-msgid "Enable the listing of USB Hard Drive enclosures. USE AT YOUR OWN RISKS!!!"
+msgid ""
+"Enable the listing of USB Hard Drive enclosures. USE AT YOUR OWN RISKS!!!"
msgstr ""
"Отображать внешние жёсткие диски USB.\n"
"ИСПОЛЬЗУЙТЕ НА СВОЙ СТРАХ И РИСК!"
@@ -1104,12 +1250,16 @@ msgid "Update Policy:"
msgstr "Политика обновления:"
#. • MSG_180
-msgid "If you choose to allow this program to check for application updates, you agree that the following information may be collected on our server(s):"
-msgstr "Разрешая проверку обновлений, Вы соглашаетесь, что на наших серверах может собираться следующая информация:"
+msgid ""
+"If you choose to allow this program to check for application updates, you "
+"agree that the following information may be collected on our server(s):"
+msgstr ""
+"Разрешая проверку обновлений, вы соглашаетесь, что на наших серверах может "
+"собираться следующая информация:"
#. • MSG_181
msgid "Your operating system's architecture and version"
-msgstr "Версия и архитектура Вашей операционной системы"
+msgstr "Версия и архитектура вашей операционной системы"
#. • MSG_182
msgid "The version of the application you use"
@@ -1120,8 +1270,14 @@ msgid "Your IP address"
msgstr "Ваш IP-адрес"
#. • MSG_184
-msgid "For the purpose of generating private usage statistics, we may keep the information collected, \\b for at most a year\\b0 . However, we will not willingly disclose any of this individual data to third parties."
-msgstr "Для получения статистики использования программы мы можем хранить собранную информацию \\b не более года\\b0 . Однако мы не будем добровольно раскрывать какие-либо из этих персональных данных сторонним лицам."
+msgid ""
+"For the purpose of generating private usage statistics, we may keep the "
+"information collected, \\b for at most a year\\b0 . However, we will not "
+"willingly disclose any of this individual data to third parties."
+msgstr ""
+"Для получения статистики использования программы мы можем хранить собранную "
+"информацию \\b не более года\\b0 . Однако мы не будем добровольно раскрывать "
+"какие-либо из этих персональных данных сторонним лицам."
#. • MSG_185
msgid "Update Process:"
@@ -1129,10 +1285,13 @@ msgstr "Обновление:"
#. • MSG_186
msgid ""
-"Rufus does not install or run background services, therefore update checks are performed only when the main application is running.\\line\n"
+"Rufus does not install or run background services, therefore update checks "
+"are performed only when the main application is running.\\line\n"
"Internet access is of course required when checking for updates."
msgstr ""
-"Rufus не устанавливает и не запускает фоновые службы, поэтому проверка наличия обновлений выполняется, только когда запущено основное приложение.\\line\n"
+"Rufus не устанавливает и не запускает фоновые службы, поэтому проверка "
+"наличия обновлений выполняется, только когда запущено основное приложение."
+"\\line\n"
"Для проверки обновлений требуется доступ к Интернету."
#. • MSG_187
@@ -1140,8 +1299,12 @@ msgid "Invalid image for selected boot option"
msgstr "Неверный образ для выбранного варианта загрузки"
#. • MSG_188
-msgid "The current image doesn't match the boot option selected. Please use a different image or choose a different boot option."
-msgstr "Текущий образ не соответствует выбранному варианту загрузки. Выберите другой образ или другой вариант загрузки."
+msgid ""
+"The current image doesn't match the boot option selected. Please use a "
+"different image or choose a different boot option."
+msgstr ""
+"Текущий образ не соответствует выбранному варианту загрузки. Выберите другой "
+"образ или другой вариант загрузки."
#. • MSG_189
msgid "This ISO image is not compatible with the selected filesystem"
@@ -1181,21 +1344,32 @@ msgstr "Использовать встроенную версию %s файло
msgid ""
"IMPORTANT: THIS DRIVE USES A NONSTANDARD SECTOR SIZE!\n"
"\n"
-"Conventional drives use a 512-byte sector size but this drive uses a %d-byte one. In many cases, this means that you will NOT be able to boot from this drive.\n"
-"Rufus can try to create a bootable drive, but there is NO WARRANTY that it will work."
+"Conventional drives use a 512-byte sector size but this drive uses a %d-byte "
+"one. In many cases, this means that you will NOT be able to boot from this "
+"drive.\n"
+"Rufus can try to create a bootable drive, but there is NO WARRANTY that it "
+"will work."
msgstr ""
"ВАЖНО: НА ЭТОМ ДИСКЕ СЕКТОРЫ НЕСТАНДАРТНОГО РАЗМЕРА!\n"
"\n"
-"Обычные накопители используют секторы размером 512 байт, а на этом диске они %d-байтовые. Во многих случаях это означает, что Вы НЕ СМОЖЕТЕ загрузиться с этого диска.\n"
-"Rufus попытается создать загрузочный диск, но БЕЗ ГАРАНТИИ, что он будет работать."
+"Обычные накопители используют секторы размером 512 байт, а на этом диске они "
+"%d-байтовые. Во многих случаях это означает, что вы НЕ СМОЖЕТЕ загрузиться с "
+"этого диска.\n"
+"Rufus попытается создать загрузочный диск, но БЕЗ ГАРАНТИИ, что он будет "
+"работать."
#. • MSG_197
msgid "Nonstandard sector size detected"
msgstr "Обнаружен нестандартный размер секторов"
#. • MSG_198
-msgid "'Windows To Go' can only be installed on a GPT partitioned drive if it has the FIXED attribute set. The current drive was not detected as FIXED."
-msgstr "Windows To Go может быть установлена на диск с разделом GPT только в том случае, если у диска есть атрибут FIXED (несъёмный). У выбранного диска такого атрибута не обнаружено."
+msgid ""
+"'Windows To Go' can only be installed on a GPT partitioned drive if it has "
+"the FIXED attribute set. The current drive was not detected as FIXED."
+msgstr ""
+"Windows To Go может быть установлена на диск с разделом GPT только в том "
+"случае, если у диска есть атрибут FIXED (несъёмный). У выбранного диск "
+"такого атрибута не обнаружено."
#. • MSG_199
msgid "This feature is not available on this platform."
@@ -1396,11 +1570,15 @@ msgstr "Удаление разделов (%s)..."
#.
#. This message has to do with the signature validation that Rufus uses when downloading an update.
msgid ""
-"The signature for the downloaded update can not be validated. This could mean that your system is improperly configured for signature validation or indicate a malicious download.\n"
+"The signature for the downloaded update can not be validated. This could "
+"mean that your system is improperly configured for signature validation or "
+"indicate a malicious download.\n"
"\n"
"The download will be deleted. Please check the log for more details."
msgstr ""
-"Невозможно проверить подпись загруженного обновления. Это может означать, что Ваша система неправильно настроена для проверки подписей, либо было загружено вредоносное ПО.\n"
+"Невозможно проверить подпись загруженного обновления. Это может означать, "
+"что ваша система неправильно настроена для проверки подписей, либо что было "
+"загружено вредоносное ПО.\n"
"\n"
"Обновление будет удалено. См. подробности в файле-журнале."
@@ -1550,15 +1728,21 @@ msgstr "Обнаружен образ %s"
#.
#. '%s' will be replaced with your translations for MSG_036 ("ISO Image") and MSG_095 ("DD Image")
msgid ""
-"The image you have selected is an 'ISOHybrid' image. This means it can be written either in %s (file copy) mode or %s (disk image) mode.\n"
-"Rufus recommends using %s mode, so that you always have full access to the drive after writing it.\n"
-"However, if you encounter issues during boot, you can try writing this image again in %s mode.\n"
+"The image you have selected is an 'ISOHybrid' image. This means it can be "
+"written either in %s (file copy) mode or %s (disk image) mode.\n"
+"Rufus recommends using %s mode, so that you always have full access to the "
+"drive after writing it.\n"
+"However, if you encounter issues during boot, you can try writing this image "
+"again in %s mode.\n"
"\n"
"Please select the mode that you want to use to write this image:"
msgstr ""
-"Выбран образ ISOHybrid. Это означает, что его можно записать либо в %s режиме копирования файлов, либо в %s режиме образа диска.\n"
-"Для полного доступа к диску после записи рекомендуется использовать режим %s.\n"
-"Если возникают проблемы при загрузке, ещё раз попробуйте записать образ в режиме %s.\n"
+"Выбран образ ISOHybrid. Это означает, что его можно записать либо в %s "
+"режиме копирования файлов, либо в %s режиме образа диска.\n"
+"Для полного доступа к диску после записи рекомендуется использовать режим "
+"%s.\n"
+"Если возникают проблемы при загрузке, ещё раз попробуйте записать образ в "
+"режиме %s.\n"
"\n"
"Выберите режим записи этого образа:"
@@ -1605,7 +1789,8 @@ msgstr "У загруженного файла отсутствует цифро
#. • MSG_285
msgid ""
"The downloaded executable is signed by '%s'.\n"
-"This is not a signature we recognize and could indicate some form of malicious activity...\n"
+"This is not a signature we recognize and could indicate some form of "
+"malicious activity...\n"
"Are you sure you want to run this file?"
msgstr ""
"Загруженный файл подписан '%s'.\n"
@@ -1672,15 +1857,19 @@ msgstr "Обнаружен усечённый образ ISO"
#. • MSG_298
msgid ""
-"The ISO file you have selected does not match its declared size: %s of data is missing!\n"
+"The ISO file you have selected does not match its declared size: %s of data "
+"is missing!\n"
"\n"
-"If you obtained this file from the Internet, you should try to download a new copy and verify that the MD5 or SHA checksums match the official ones.\n"
+"If you obtained this file from the Internet, you should try to download a "
+"new copy and verify that the MD5 or SHA checksums match the official ones.\n"
"\n"
"Note that you can compute the MD5 or SHA in Rufus by clicking the (✓) button."
msgstr ""
-"Выбранный образ ISO не соответствует заявленному размеру: %s данных отсутствует!\n"
+"Выбранный образ ISO не соответствует заявленному размеру: %s данных "
+"отсутствует!\n"
"\n"
-"Если Вы скачали этот файл из Интернета, загрузите его снова и проверьте, совпадают ли контрольные суммы MD5 или SHA.\n"
+"Если вы скачали этот файл из Интернета, загрузите его снова и проверьте, "
+"совпадают ли контрольные суммы MD5 или SHA.\n"
"\n"
"Чтобы вычислить MD5 или SHA в Rufus, нажмите кнопку (✓)."
@@ -1690,13 +1879,18 @@ msgstr "Ошибка проверки временной метки"
#. • MSG_300
msgid ""
-"Rufus could not validate that the timestamp of the downloaded update is more recent than the one for the current executable.\n"
+"Rufus could not validate that the timestamp of the downloaded update is more "
+"recent than the one for the current executable.\n"
"\n"
-"In order to prevent potential attack scenarios, the update process has been aborted and the download will be deleted. Please check the log for more details."
+"In order to prevent potential attack scenarios, the update process has been "
+"aborted and the download will be deleted. Please check the log for more "
+"details."
msgstr ""
-"Rufus не смог подтвердить, что временная метка загруженного обновления более поздняя, чем дата текущего исполняемого файла.\n"
+"Rufus не смог подтвердить, что временная метка загруженного обновления более "
+"поздняя, чем дата текущего исполняемого файла.\n"
"\n"
-"Чтобы предотвратить возможную атаку, обновление было прервано, а загруженный файл - удалён. См. подробности в файле-журнале."
+"Чтобы предотвратить возможную атаку, обновление было прервано, а загруженный "
+"файл - удалён. См. подробности в файле-журнале."
#. • MSG_301
msgid "Show application settings"
@@ -1715,8 +1909,12 @@ msgid "Create a disk image of the selected device"
msgstr "Создать образ диска выбранного устройства"
#. • MSG_305
-msgid "Use this option to indicate if you plan to install Windows to a different disk, or if you want to run Windows directly from this drive (Windows To Go)."
-msgstr "Используйте эту опцию, если Вы хотите установить Windows на другой диск или запускать Windows прямо с этого диска (Windows To Go)."
+msgid ""
+"Use this option to indicate if you plan to install Windows to a different "
+"disk, or if you want to run Windows directly from this drive (Windows To Go)."
+msgstr ""
+"Используйте эту опцию, если вы хотите установить Windows на другой диск или "
+"запускать Windows прямо с этого диска (Windows To Go)."
#. • MSG_306
#.
@@ -1739,11 +1937,17 @@ msgstr "Сжатый архив"
#. • MSG_310
msgid ""
-"The ISO you have selected uses UEFI and is small enough to be written as an EFI System Partition (ESP). Writing to an ESP, instead of writing to a generic data partition occupying the whole disk, can be preferable for some types of installations.\n"
+"The ISO you have selected uses UEFI and is small enough to be written as an "
+"EFI System Partition (ESP). Writing to an ESP, instead of writing to a "
+"generic data partition occupying the whole disk, can be preferable for some "
+"types of installations.\n"
"\n"
"Please select the mode that you want to use to write this image:"
msgstr ""
-"Выбранный образ ISO использует UEFI и достаточно мал, чтобы его можно было записать как системный раздел EFI (ESP). Запись в ESP вместо записи в общий раздел данных, занимающий весь диск, может быть предпочтительнее для некоторых типов установок.\n"
+"Выбранный образ ISO использует UEFI и достаточно мал, чтобы его можно было "
+"записать как системный раздел EFI (ESP). Запись в ESP вместо записи в общий "
+"раздел данных, занимающий весь диск, может быть предпочтительнее для "
+"некоторых типов установок.\n"
"\n"
"Выберите режим записи этого образа:"
@@ -1789,24 +1993,18 @@ msgstr "Обновление макета разделов (%s)..."
#. • MSG_321
msgid ""
-"The image you have selected is an ISOHybrid, but its creators have not made it compatible with ISO/File copy mode.\n"
+"The image you have selected is an ISOHybrid, but its creators have not made "
+"it compatible with ISO/File copy mode.\n"
"As a result, DD image writing mode will be enforced."
msgstr ""
-"Выбранный образ - ISOHybrid, но создатели не сделали его совместимым с режимом копирования ISO/файла.\n"
+"Выбранный образ - ISOHybrid, но создатели не сделали его совместимым с "
+"режимом копирования ISO/файла.\n"
"Из-за этого будет применён режим записи образа DD."
#. • MSG_322
msgid "Unable to open or read '%s'"
msgstr "Не удалось открыть или прочитать '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Применить SkuSiPolicy.p7b при установке (см. KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Улучшить жизнь (не принуждать к Copilot, OneDrive, Outlook, быстрому запуску и т.д.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Применение настройки Windows: %s"
@@ -1857,17 +2055,21 @@ msgstr "Постоянный журнал"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to "
+"install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
-"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
+"Note: The file will be downloaded in the application's directory and will be "
+"reused automatically if present."
msgstr ""
-"Для использования этой функции необходимо загрузить дополнительный файл ('%s') с сайта Microsoft:\n"
+"Для установки MS-DOS необходимо загрузить дополнительный файл (diskcopy.dll) "
+"с сайта Microsoft:\n"
" 'Да' - загрузить его из Интернета\n"
" 'Нет' - отменить операцию\n"
"\n"
-"* Файл загрузится в папку приложения, если там есть одноимённый файл, он будет автоматически перезаписан."
+"* Файл загрузится в папку приложения, если там есть одноимённый файл, он "
+"будет автоматически перезаписан."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1875,15 +2077,23 @@ msgstr "Обнаружен отозванный загрузчик UEFI"
#. • MSG_339
msgid ""
-"Rufus detected that the ISO you have selected contains a UEFI bootloader that has been revoked and that will produce %s, when Secure Boot is enabled on a fully up to date UEFI system.\n"
+"Rufus detected that the ISO you have selected contains a UEFI bootloader "
+"that has been revoked and that will produce %s, when Secure Boot is enabled "
+"on a fully up to date UEFI system.\n"
"\n"
-"- If you obtained this ISO image from a non reputable source, you should consider the possibility that it might contain UEFI malware and avoid booting from it.\n"
-"- If you obtained it from a trusted source, you should try to locate a more up to date version, that will not produce this warning."
+"- If you obtained this ISO image from a non reputable source, you should "
+"consider the possibility that it might contain UEFI malware and avoid "
+"booting from it.\n"
+"- If you obtained it from a trusted source, you should try to locate a more "
+"up to date version, that will not produce this warning."
msgstr ""
-"Выбранный образ ISO содержит отозванный загрузчик UEFI, который выдаёт %s, когда безопасная загрузка включена в полностью обновленной системе UEFI.\n"
+"Выбранный образ ISO содержит отозванный загрузчик UEFI, который выдаёт %s, "
+"когда безопасная загрузка включена в полностью обновленной системе UEFI.\n"
"\n"
-"- Если Вы получили этот образ ISO из ненадёжного источника, учтите, что он может содержать вредоносное ПО UEFI, и не загружайтесь с него.\n"
-"- Если Вы получили его из надёжного источника, попробуйте найти более новую версию, которая не будет выдавать это предупреждение."
+"- Если вы получили этот образ ISO из ненадёжного источника, учтите, что он "
+"может содержать вредоносное ПО UEFI, и не загружайтесь с него.\n"
+"- Если вы получили его из надёжного источника, попробуйте найти более новую "
+"версию, которая не будет выдавать это предупреждение."
#. • MSG_340
msgid "a \"Security Violation\" screen"
@@ -1907,11 +2117,13 @@ msgstr "Образ Full Flash Update (FFU)"
#. • MSG_345
msgid ""
-"Some additional data must be downloaded from Microsoft to use this functionality:\n"
+"Some additional data must be downloaded from Microsoft to use this "
+"functionality:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation"
msgstr ""
-"Для этой функции необходимо загрузить дополнительные данные с сайта Microsoft:\n"
+"Для этой функции необходимо загрузить дополнительные данные с сайта "
+"Microsoft:\n"
" 'Да' - загрузить их из Интернета\n"
" 'Нет' - отменить операцию"
@@ -1931,123 +2143,15 @@ msgstr "Распаковка архивов: %s"
msgid "Use Rufus MBR"
msgstr "Использовать MBR Rufus"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Использовать загрузчики, подписанные 'Windows CA 2023' (требуется совместимый целевой компьютер)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Проверка отзыва загрузчика UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Проверка обновлений UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Доступно обновление DBX"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Обнаружена обновлённая версия файлов DBX, используемых для проверки отзыва безопасной загрузки UEFI. Загрузить это обновление?\n"
-"- 'Да': подключиться к Интернету и загрузить этот контент.\n"
-"- 'Нет': отменить операцию\n"
-"\n"
-"* Файлы будут загружены в папку приложения с автоматической перезаписью имеющихся."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠ТИХО⚠ стереть диск и установить:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Вы выбрали вариант \"тихой\" установки Windows.\n"
-"\n"
-"Это параметр для тех, кто хочет создать носитель, который не запрашивает реакций пользователя при установке Windows и, следовательно, БЕЗУСЛОВНО УДАЛЯЕТ первый обнаруженный диск в целевой системе. Если вы не будете осторожны, использование этой опции может привести к НЕОБРАТИМОЙ ПОТЕРЕ ДАННЫХ!\n"
-"\n"
-"Если это не то, что вам нужно, выберите 'Нет', чтобы вернуться назад и снять флажок с этой опции.\n"
-"При выборе 'Да' вы соглашаетесь, что вся ответственность за любую потерю данных будет полностью лежать на ВАС."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Неподдерживаемое расположение образа"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Нельзя использовать образ, расположенный на целевом диске, поскольку этот диск будет полностью удалён. Это то же самое, как пилить сук, на котором сидишь!\n"
-"\n"
-"Переместите образ в другое место и повторите попытку."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Эту опцию безопасно оставлять включённой, даже если у вас есть модуль TPM или больше ОЗУ, поскольку данная опция только обходит требования установки и фактически не мешает Windows использовать все доступное оборудование."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Чтобы эта опция работала, сеть/Интернет ДОЛЖНЫ быть отключены во время установки!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Автоматически отвечать 'Нет' на вопросы установщика Windows, касающиеся обмена данными с Microsoft, вместо того, чтобы запрашивать это у пользователя."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Эту опцию следует оставить включённой, если только вас не устраивает доступ Windows To Go к внутренним дискам и автоматическое выполнение необратимых обновлений файловой системы."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Автоматически создавать локальную учётную запись с указанным именем пользователя, используя пустой пароль, который необходимо будет изменить при следующем входе в систему."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Дублировать региональные настройки с этого компьютера (клавиатура, часовой пояс, валюта) вместо запроса пользователя."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Не шифровать системный диск, если это явно не заявлено пользователем."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Используйте эту опцию, только если вы знаете, что такое S-Mode, и понимаете, что ваша система может быть заблокирована в S-Mode даже после того, как вы полностью удалите и переустановите Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Используйте эту опцию, если система, в которой вы планируете установить Windows, использует полностью актуальные сертификаты безопасной загрузки. При необходимости вы можете использовать Mosby для обновления системы."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Используйте эту опцию, чтобы отозвать дополнительные потенциально небезопасные загрузчики Windows, но с возможностью предотвращения загрузки стандартных носителей Windows."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Улучшить жизнь: отключить большинство нежелательных функций, которые Microsoft пытается навязать пользователям."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Если вы используете эту опцию, обязательно отключите от целевого компьютера все диски, кроме того, на котором вы хотите установить Windows, а также не оставляйте носитель подключённым к любому компьютеру, с которого вы не хотите стирать данные."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
-msgid "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
-msgstr "Rufus - это утилита для форматирования и создания загрузочных флеш-накопителей USB."
+msgid ""
+"Rufus is a utility that helps format and create bootable USB flash drives, "
+"such as USB keys/pendrives, memory sticks, etc."
+msgstr ""
+"Rufus - это утилита для форматирования и создания загрузочных флеш-"
+"накопителей USB."
#. • MSG_901
msgid "Official site: %s"
@@ -2066,10 +2170,12 @@ msgstr "Изменения: %s"
#. The gnu.org website has many translations of the GPL (such as https://www.gnu.org/licenses/gpl-3.0.zh-cn.html, https://www.gnu.org/licenses/gpl-3.0.fr.html)
#. Please make sure you try to locate the relevant https://www.gnu.org/licenses/gpl-3.0..html for your language and use it here.
msgid ""
-"This application is licensed under the terms of the GNU Public License (GPL) version 3.\n"
+"This application is licensed under the terms of the GNU Public License (GPL) "
+"version 3.\n"
"See https://www.gnu.org/licenses/gpl-3.0.en.html for details."
msgstr ""
-"Это приложение распространяется по лицензии GNU Public License (GPL) версии 3.\n"
+"Это приложение распространяется по лицензии GNU Public License (GPL) версии "
+"3.\n"
"Подробнее см. https://www.gnu.org/licenses/gpl-3.0.ru.html."
#. • MSG_905
@@ -2081,8 +2187,12 @@ msgstr "Загрузочный"
#. • MSG_910
#.
#. This and subsequent messages will be listed in the 'Features' section of the Windows Store page
-msgid "Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
-msgstr "Форматирование USB, флешек и виртуальных дисков в FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
+msgid ""
+"Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/"
+"ext2/ext3"
+msgstr ""
+"Форматирование USB, флешек и виртуальных дисков в FAT/FAT32/NTFS/UDF/exFAT/"
+"ReFS/ext2/ext3"
#. • MSG_911
msgid "Create FreeDOS bootable USB drives"
@@ -2090,23 +2200,32 @@ msgstr "Создание загрузочных USB-дисков FreeDOS"
#. • MSG_912
msgid "Create bootable drives from bootable ISOs (Windows, Linux, etc.)"
-msgstr "Создание загрузочных дисков из загрузочных образов ISO (Windows, Linux и т.д.)"
+msgstr ""
+"Создание загрузочных дисков из загрузочных образов ISO (Windows, Linux и т."
+"д.)"
#. • MSG_913
-msgid "Create bootable drives from bootable disk images, including compressed ones"
-msgstr "Создание загрузочных дисков из образов загрузочных дисков, в том числе сжатых"
+msgid ""
+"Create bootable drives from bootable disk images, including compressed ones"
+msgstr ""
+"Создание загрузочных дисков из образов загрузочных дисков, в том числе сжатых"
#. • MSG_914
msgid "Create BIOS or UEFI bootable drives, including UEFI bootable NTFS"
-msgstr "Создание загрузочных дисков BIOS или UEFI, включая загрузочный UEFI NTFS"
+msgstr ""
+"Создание загрузочных дисков BIOS или UEFI, включая загрузочный UEFI NTFS"
#. • MSG_915
msgid "Create 'Windows To Go' drives"
msgstr "Создание дисков Windows To Go"
#. • MSG_916
-msgid "Create Windows 11 installation drives for PCs that don't have TPM or Secure Boot"
-msgstr "Создание установочных дисков Windows 11 для компьютеров без TPM или безопасной загрузки"
+msgid ""
+"Create Windows 11 installation drives for PCs that don't have TPM or Secure "
+"Boot"
+msgstr ""
+"Создание установочных дисков Windows 11 для компьютеров без TPM или "
+"безопасной загрузки"
#. • MSG_917
msgid "Create persistent Linux partitions"
@@ -2118,7 +2237,8 @@ msgstr "Создание образов VHD/DD выбранного диска"
#. • MSG_919
msgid "Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of the selected image"
-msgstr "Вычисление контрольных сумм MD5, SHA-1, SHA-256 и SHA-512 выбранного образа"
+msgstr ""
+"Вычисление контрольных сумм MD5, SHA-1, SHA-256 и SHA-512 выбранного образа"
#. • MSG_920
msgid "Perform bad blocks checks, including detection of \"fake\" flash drives"
diff --git a/res/loc/po/sk-SK.po b/res/loc/po/sk-SK.po
index 01f6026e..c9916203 100644
--- a/res/loc/po/sk-SK.po
+++ b/res/loc/po/sk-SK.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-17 06:04+0200\n"
-"PO-Revision-Date: 2026-04-19 10:24+0200\n"
+"POT-Creation-Date: 2024-05-12 10:18+0200\n"
+"PO-Revision-Date: 2024-05-12 10:38+0200\n"
"Last-Translator: martinco78\n"
"Language-Team: \n"
"Language: sk_SK\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Slovak (Slovensky)\n"
"X-Rufus-LCID: 0x041B\n"
-"X-Generator: Poedit 3.6\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -153,7 +153,7 @@ msgstr "Zásady a nastavenia aktualizácií"
#. • IDD_UPDATE_POLICY → IDS_UPDATE_SETTINGS_GRP
msgid "Settings"
-msgstr "Nastavenia"
+msgstr "Nastavenia automatických aktualizácií"
#. • IDD_UPDATE_POLICY → IDS_UPDATE_FREQUENCY_TXT
msgid "Check for updates"
@@ -310,7 +310,7 @@ msgstr "TB"
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr "PB"
@@ -852,7 +852,7 @@ msgstr "Bez partície"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Nastavte veľkosť trvalej partície pre Live USB médium. Nastavením hodnoty na 0 zakážete trvalú partíciu."
@@ -894,15 +894,15 @@ msgstr "Prístup k tejto jednotke má iný program alebo proces. Chcete ho napri
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Program Rufus zistil, že sa pokúšate vytvoriť „Windows To Go\" médium založeného na 1809 ISO.\n"
+"Program Rufus zistil, že sa pokúšate vytvoriť Windows To Go médium založeného na 1809 ISO.\n"
"\n"
-"Kvôli „MICROSOFT BUG*, toto médium môže zlyhať počas zavádzania systému Windows (modrá obrazovka smrti), pokiaľ manuálne nenahradíte súbor „WppRecorder. sys\" verziou 1803.\n"
+"Kvôli *MICROSOFT BUG*, toto médium môže zlyhať počas zavádzania systému Windows (modrá obrazovka smrti), pokiaľ manuálne nenahradíte súbor „WppRecorder. sys\" verziou 1803.\n"
"\n"
"Dôvodom, prečo program Rufus nemôže automaticky toto opraviť to, že súbor „WppRecorder.sys\" je chránený súbor spoločnosti Microsoft, takže nie je legálne vložiť kópiu súboru do aplikácie..."
@@ -1093,7 +1093,7 @@ msgstr "Verzia %d.%d (Build %d)"
#. • MSG_176
msgid "English translation: Pete Batard "
-msgstr "Do slovenčiny preložil martinco78 "
+msgstr "Do slovenčiny preložil martinco78 "
#. • MSG_177
msgid "Report bugs or request enhancements at:"
@@ -1796,21 +1796,13 @@ msgid ""
"The image you have selected is an ISOHybrid, but its creators have not made it compatible with ISO/File copy mode.\n"
"As a result, DD image writing mode will be enforced."
msgstr ""
-"Obraz, ktorý ste vybrali, je ISOHybrid a nie je kompatibilný s ISO/režim kopírovania súboru.\n"
+"Obráz, ktorý ste vybrali, je ISOHybrid a nie je kompatibilný s ISO/režim kopírovania súboru.\n"
"V dôsledku toho sa vynúti režim zápisu obrazu DD."
#. • MSG_322
msgid "Unable to open or read '%s'"
msgstr "Nedá sa otvoriť alebo prečítať „%s\""
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Použiť SkuSiPolicy.p7b pri inštalácii (pozri KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL vylepšenia (nenúťte Copilot, OneDrive, Outlook, Fast Startup a podobne)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Použitie prispôsobenia systému Windows: %s"
@@ -1829,11 +1821,11 @@ msgstr "Prajete si prispôsobiť inštaláciu systému Windows?"
#. • MSG_329
msgid "Remove requirement for 4GB+ RAM, Secure Boot and TPM 2.0"
-msgstr "Odstrániť požiadavky pre 4GB+ RAM, Secure Boot a TPM 2.0"
+msgstr "Odstrániť požiadavku pre 4GB+ RAM, Secure Boot a TPM 2.0"
#. • MSG_330
msgid "Remove requirement for an online Microsoft account"
-msgstr "Odstrániť požiadavku na online konto Microsoft"
+msgstr "Odstrániť požiadavky na online konto Microsoft"
#. • MSG_331
msgid "Disable data collection (Skip privacy questions)"
@@ -1861,13 +1853,13 @@ msgstr "Trvalý záznam činností"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Na použitie tejto funkcie je potrebné prevziať od spoločnosti Microsoft ďalší súbor („%s“):\n"
+"Pre inštaláciu systému MS-DOS je potrebné prevziať od spoločnosti Microsoft ďalší súbor („diskcopy.dll\"):\n"
"- Výberom možnosti „Áno\" ho stiahnete z internetu\n"
"- Výberom možnosti „Nie\" zrušíte operáciu\n"
"\n"
@@ -1935,118 +1927,6 @@ msgstr "Extrahovanie archívnych súborov: %s"
msgid "Use Rufus MBR"
msgstr "Použiť Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Použiť podpísané bootloadery „Windows CA 2023\" (vyžaduje kompatibilný cieľový PC)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Prebieha kontrola zrušenia UEFI zavádzača..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Prebieha kontrola aktualizácie pre UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Dostupná aktualizácia DBX"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus našiel aktualizovanú verziu DBX súborov používaných na kontrolu odvolávania UEFI Secure Boot. Chcete si stiahnuť túto aktualizáciu?\n"
-"- Vyberte „Áno\" ak chcete tieto súbory stiahnuť\n"
-"- Vyberte „Nie\" pre zrušenie operácie\n"
-"\n"
-"Poznámka: Súbory budú stiahnuté do adresára aplikácie a budú automaticky znovu použité, ak budú prítomné."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠BEZ UPOZORNENIA⚠ vymažte disk a nainštaluje:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Vybrali ste možnosť „tichá\" inštalácia Windows.\n"
-"\n"
-"Ide o pokročilú možnosť, vyhradenú pre ľudí, ktorí chcú vytvárať médiá, ktoré počas inštalácie Windows neupozorňujú používateľa a teda BEZPODMIENEČNE VYMAŽÚ prvý zistený disk na cieľovom systéme. Ak nebudete opatrní, pri tejto možnosti môže dôjsť k NEVRATNEJ STRATE DÁT!\n"
-"\n"
-"Ak to nie je to, čo chcete, vyberte prosím „Nie\", aby ste sa vrátili späť a odškrtli túto možnosť.\n"
-"Inak, ak zvolíte „Áno\", súhlasíte, že plná zodpovednosť za akúkoľvek stratu dát bude úplne na VÁS."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Nepodporované umiestnenie obrazu"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Nemôžete použiť obraz, ktorý sa nachádza na cieľovom disku, pretože tento disk bude úplne vymazaný. Je to to isté, ako keby ste sa snažili rezať konár, na ktorom sedíte!\n"
-"\n"
-"Prosím, presuňte tento obraz do iného umiestnenia a skúste to znova."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Je bezpečné nechať túto možnosť zapnutú aj v prípade, že máte TPM alebo viac RAM, pretože táto možnosť len obchádza požiadavky na nastavenie a v skutočnosti nebráni Windows v používaní všetkého dostupného hardvéru."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Aby táto možnosť fungovala, sieť/internet MUSIA byť počas inštalácie odpojené!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automaticky odpovedá „NIE\" na otázky týkajúce sa Windows zdieľania dát s Microsoftom, namiesto toho, aby vyzývali používateľa."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Túto možnosť by ste mali nechať zapnutú, pokiaľ vám nevadí, že „Windows To Go\" pristupuje k interným diskom a potichu vykonáva nezvratné aktualizácie súborového systému."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automaticky vytvorí lokálny účet s určeným používateľským menom s prázdnym heslom, ktoré bude potrebné zmeniť pri ďalšom prihlásení."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Duplikuje regionálne nastavenia z tohto PC (klávesnica, časové pásmo, mena) namiesto toho, aby výzýval používateľa."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Nešifrujte systémový disk, pokiaľ to používateľ výslovne nepožiada."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Použite túto možnosť len vtedy, ak viete, čo je S-Mode a chápete, že váš systém môže byť uzamknutý v S-Mode aj po úplnom vymazaní a preinštalovaní Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Použite túto možnosť, ak systém ktorý plánujete nainštalovať Windows, používa plne aktuálne certifikáty Secure Boot. Ak je to potrebné, môžete zvážiť použitie „Mosby\" na aktualizáciu systému."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Použite túto možnosť, ak chcete zrušiť ďalšie potenciálne nebezpečné bootloadery Windows, ale zároveň potenciálne zabrániť spusteniu štandardných Windows médií."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Vylepšenia „kvality života\": Vypne väčšinu nežiaducich funkcií, ktoré sa Microsoft snaží vnútiť koncovým používateľom."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Ak použijete túto možnosť, uistite sa, že máte odpojené všetky disky od cieľového PC, okrem toho na ktorý chcete nainštalovať systém Windows. Taktiež nenechávajte médium pripojené k žiadnemu PC, ktorý nechcete vymazať."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/sr-RS.po b/res/loc/po/sr-RS.po
index c8b851b0..a325ca9c 100644
--- a/res/loc/po/sr-RS.po
+++ b/res/loc/po/sr-RS.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-07 01:00+0200\n"
-"PO-Revision-Date: 2026-04-07 22:18+0200\n"
+"POT-Creation-Date: 2024-05-10 22:14+0200\n"
+"PO-Revision-Date: 2024-05-10 22:25+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: sr_RS\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Serbian (Srpski)\n"
"X-Rufus-LCID: 0x241a, 0x081a, 0x181a, 0x2c1a, 0x701a, 0x7c1a\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -846,7 +846,7 @@ msgstr "Bez stalne veličine"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Izaberite veličinu stalne particije za live USB datoteku. Podešavanjem na 0 onemogućava stalnu particiju."
@@ -888,7 +888,7 @@ msgstr "NEki drugi program koristi uređaj. Da li idalje želiš da ga formatira
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1795,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Nije moguće otvoriti ili pročitati '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Primenite SkuSiPolicy.p7b prilikom instalacije (pogledajte KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Poboljšanja „QoL“ (Ne forsirajte Copilot, OneDrive, Outlook, brzo pokretanje itd.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Premena prilagođavanja Winodows-a"
@@ -1853,17 +1845,17 @@ msgstr "Trajna evidencija"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Dodatna datoteka („%s“) mora biti preuzeta od kompanije Microsoft da biste koristili ovu funkciju:\n"
-"- Izaberite „Da“ da biste se povezali na internet i preuzeli je\n"
-"- Izaberite „Ne“ da biste otkazali operaciju\n"
+"Додатна датотека ('diskcopy.dll') мора да се преузме са Microsoft-a да би се инсталирао MS-DOS:\n"
+"- Изаберите „Да“ да бисте се повезали на Интернет и преузели га\n"
+"- Изаберите „Не“ да бисте отказали операцију\n"
"\n"
-"Napomena: Datoteka će biti preuzeta u direktorijum aplikacije i biće automatski ponovo korišćena ako postoji."
+"Напомена: Датотека ће бити преузета у директоријум апликације и аутоматски ће се поново користити ако постоји."
#. • MSG_338
msgid "Revoked UEFI bootloader detected"
@@ -1927,118 +1919,6 @@ msgstr "Распакивање архивских датотека: %s"
msgid "Use Rufus MBR"
msgstr "Koritsti Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Koristite bootloadere potpisane od strane 'Windows CA 2023' (potreban je kompatibilan ciljni računar)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Proverava opoziv UEFI bootloadera..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Proverava ažuriranja za UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Dostupno ažuriranje DBX-a"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus je pronašao ažuriranu verziju DBX datoteka koje se koriste za izvođenje proverava opoziva UEFI Secure Boot-a. Želite li preuzeti ovo ažuriranje?\n"
-"- Odaberite 'Da' da biste se povezali na internet i preuzeli ovaj sadržaj\n"
-"- Odaberite 'Ne' da biste otkazali operaciju\n"
-"\n"
-"Napomena: Datoteke će biti preuzete u folderu aplikacije i automatski će se ponovo koristiti ako postoje."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠TIHO⚠ obriši disk i instaliraj:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Izabrali ste opciju „tihe“ instalacije sistema Windows.\n"
-"\n"
-"Ovo je napredna opcija, rezervisana za ljude koji žele da kreiraju medije koji ne obaveštavaju korisnika tokom instalacije sistema Windows i stoga BEZUSLOVNO BRIŠU prvi detektovani disk na ciljnom sistemu. Ako niste pažljivi, korišćenje ove opcije može dovesti do NEPOVRATNOG GUBITKA PODATAKA!\n"
-"\n"
-"Ako ovo nije ono što želite, izaberite „Ne“ da biste se vratili i opozvali izbor opcije.\n"
-"U suprotnom, ako izaberete „Da“, slažete se da će sva odgovornost za bilo kakav gubitak podataka biti u potpunosti na VAMA."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Nepodržana lokacija slike"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Ne možete koristiti sliku koja se nalazi na ciljnom disku, jer će taj disk biti potpuno obrisan. To je isto kao i pokušaj da sečete granu na kojoj sedite!\n"
-"\n"
-"Molimo vas da premestite sliku na drugu lokaciju i pokušate ponovo."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Bezbedno je ostaviti ovu opciju omogućenu čak i ako imate TPM ili više RAM-a, jer ova opcija samo zaobilazi zahteve za podešavanje i zapravo ne sprečava Windows da koristi sav dostupan hardver."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Da bi ova opcija funkcionisala, mreža/internet MORA biti isključen tokom instalacije!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Automatski odgovori sa „ne“ na pitanja o podešavanju sistema Windows u vezi sa deljenjem podataka sa kompanijom Microsoft, umesto da to pita korisnika."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Trebalo bi da ostavite ovu opciju omogućenu, osim ako vam ne smeta da „Windows To Go“ pristupa internim diskovima i tiho izvršava nepovratne nadogradnje sistema datoteka."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Automatski kreirajte lokalni nalog sa navedenim korisničkim imenom, koristeći praznu lozinku koju će biti potrebno promeniti pri sledećem prijavljivanju."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Duplirajte regionalna podešavanja sa ovog računara (tastatura, vremenska zona, valuta), umesto da pitate korisnika."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Ne enkriptuj sistemski disk, osim ako to korisnik eksplicitno ne zahteva."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Koristite ovu opciju samo ako znate šta je S-režim i razumete da vaš sistem može biti zaključan u S-režimu čak i nakon što potpuno obrišete i ponovo instalirate Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Koristite ovu opciju ako sistem na koji planirate da instalirate Windows koristi potpuno ažurirane sertifikate za bezbedno pokretanje (Secure Boot). Ako je potrebno, možete razmotriti korišćenje „Mosby“-ja za ažuriranje sistema."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Koristite ovu opciju ako želite da opozovete dodatne potencijalno nebezbedne Windows pokretačke programe, ali sa mogućnošću da sprečite i pokretanje standardnih Windows medija."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Poboljšanja „Kvaliteta života“: Onemogućite većinu neželjenih funkcija koje Majkrosoft pokušava da nametne krajnjim korisnicima."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Ako koristite ovu opciju, obavezno isključite svaki disk sa ciljnog računara, osim onog na koji želite da instalirate Windows, kao i da ne ostavljate medijum priključen na bilo koji računar koji ne želite da obrišete."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/sv-SE.po b/res/loc/po/sv-SE.po
index 6c3a726a..b21fd5c2 100644
--- a/res/loc/po/sv-SE.po
+++ b/res/loc/po/sv-SE.po
@@ -1,11 +1,11 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-23 18:43+0000\n"
-"PO-Revision-Date: 2026-03-23 18:43+0000\n"
+"POT-Creation-Date: 2024-04-26 00:51+0200\n"
+"PO-Revision-Date: 2024-04-26 14:23+0100\n"
"Last-Translator: \n"
-"Language-Team: \n"
+"Language-Team: Sopor \n"
"Language: sv_SE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Swedish (Svenska)\n"
"X-Rufus-LCID: 0x041d, 0x081d\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -62,7 +62,7 @@ msgstr "Aktivera runtime UEFI-mediavalidering"
#. • IDD_DIALOG → IDS_FORMAT_OPTIONS_TXT
msgid "Format Options"
-msgstr "Formatalternativ"
+msgstr "Formateringsinställningar"
#. • IDD_DIALOG → IDS_FILE_SYSTEM_TXT
msgid "File system"
@@ -309,7 +309,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -845,7 +845,7 @@ msgstr "Ej bestående"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Ställ in den bestående partitionens storlek för live USB-media. Om du ställer in storleken till 0 inaktiveras den bestående partitionen."
@@ -887,7 +887,7 @@ msgstr "Ett annat program eller process använder denna enheten Vill du ändå f
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1134,7 +1134,7 @@ msgstr ""
#. • MSG_187
msgid "Invalid image for selected boot option"
-msgstr "Ogiltig avbild för valt startalternativ"
+msgstr "Ogiltig avbild för vald startinställning"
#. • MSG_188
msgid "The current image doesn't match the boot option selected. Please use a different image or choose a different boot option."
@@ -1796,14 +1796,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Det går inte att öppna eller läsa '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Verkställ SkuSiPolicy.p7b vid installationen (se KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Förbättringar av användarupplevelsen (tvinga inte på Copilot, OneDrive, Outlook, Snabbstart osv.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Verkställer Windows-anpassning: %s"
@@ -1854,13 +1846,13 @@ msgstr "Bestående logg"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"En fil (%s) måste laddas ner från Microsoft för att använda den här funktionen:\n"
+"En fil (diskcopy.dll) måste laddas ner från Microsoft för att installera MS-DOS:\n"
"- Välj \"Ja\" för att ansluta till Internet och ladda ner den\n"
"- Välj \"Nej\" för att avbryta operationen\n"
"\n"
@@ -1928,118 +1920,6 @@ msgstr "Extraherar arkivfiler: %s"
msgid "Use Rufus MBR"
msgstr "Använd Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Använd bootloaders signerade med ’Windows CA 2023’ (kräver en kompatibel mål‑PC)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Kontrollerar om UEFI‑bootloadern är återkallad..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Söker efter UEFI‑DBX‑uppdateringar..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX‑uppdatering tillgänglig"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus har hittat en uppdaterad version av de DBX‑filer som används för att utföra UEFI Secure Boot‑återkallelsekontroller. Vill du ladda ned denna uppdatering?\n"
-"- Välj ”Ja” för att ansluta till Internet och ladda ner innehållet\n"
-"- Välj ”Nej” för att avbryta åtgärden\n"
-"\n"
-"Obs: Filerna laddas ner till programmets katalog och återanvänds automatiskt om de redan finns."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "Radera disken i ⚠TYST LÄGE⚠ och installera:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Du har valt alternativet ”tyst läge” för Windows‑installationen.\n"
-"\n"
-"Detta är ett avancerat alternativ, avsett för personer som vill skapa installationsmedia som inte visar några dialogrutor under Windows‑installationen och därför OVILLKORLIGT RADERAR den första upptäckta disken på målsystemet. Om du inte är försiktig kan användning av detta alternativ leda till OÅTERKALLELIG FÖRLUST AV DATA!\n"
-"\n"
-"Om detta inte är vad du vill, välj ”Nej” för att gå tillbaka och avmarkera alternativet.\n"
-"Annars, om du väljer ”Ja”, godkänner du att hela ansvaret för eventuell dataförlust ligger på DIG."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Platsen för avbilden stöds inte"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Du kan inte använda en avbildning som ligger på målenheten, eftersom den enheten kommer att raderas helt. Det är som att försöka såga av grenen du sitter på!\n"
-"\n"
-"Flytta avbildningen till en annan plats och försök igen."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Det är säkert att lämna det här alternativet aktiverat även om du har en TPM eller mer RAM, eftersom det endast kringgår installationskraven och inte hindrar Windows från att använda all tillgänglig hårdvara."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "För att det här alternativet ska fungera måste nätverket/Internet vara frånkopplat under installationen!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Svara automatiskt ’nej’ på Windows‑installationsfrågorna som rör delning av data med Microsoft, i stället för att fråga användaren."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Du bör lämna det här alternativet aktiverat, om du inte är okej med att ’Windows To Go’ får åtkomst till interna diskar och tyst utför oåterkalleliga filsystemuppgraderingar."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Skapa automatiskt ett lokalt konto med det angivna användarnamnet, med ett tomt lösenord som måste ändras vid nästa inloggning."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Duplicera de regionala inställningarna från den här datorn (tangentbord, tidszon, valuta) i stället för att fråga användaren."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Kryptera inte systemdisken, om det inte uttryckligen begärs av användaren."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Använd det här alternativet endast om du vet vad S‑läge är och förstår att ditt system kan låsas i S‑läge även efter att du helt har raderat och installerat om Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Använd det här alternativet om systemet du planerar att installera Windows på använder helt uppdaterade Secure Boot‑certifikat. Vid behov kan du använda ’Mosby’ för att uppdatera systemet."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Använd det här alternativet om du vill återkalla ytterligare potentiellt osäkra Windows‑startprogram, men med risken att även förhindra att standard‑Windowsmedia kan starta."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Förbättringar för bättre användarupplevelse: Inaktivera de flesta av de oönskade funktioner som Microsoft försöker tvinga på slutanvändare."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Om du använder det här alternativet måste du se till att koppla bort alla diskar från måldatorn, förutom den du vill installera Windows på, och inte lämna mediet anslutet till någon dator som du inte vill radera."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/th-TH.po b/res/loc/po/th-TH.po
index 389ed973..d89a4503 100644
--- a/res/loc/po/th-TH.po
+++ b/res/loc/po/th-TH.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-22 11:42+0700\n"
-"PO-Revision-Date: 2026-03-22 14:37+0700\n"
+"POT-Creation-Date: 2024-04-26 10:51+0700\n"
+"PO-Revision-Date: 2024-04-26 18:32+0700\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: th_TH\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Thai (ไทย)\n"
"X-Rufus-LCID: 0x041e\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -573,9 +573,9 @@ msgstr ""
"ซึ่งอาจทำให้เมนูการบูตไม่สามารถแสดงผลได้ถูกต้อง\n"
"\n"
"Rufus สามารถดาวน์โหลดเวอร์ชันที่ใหม่กว่าให้คุณได้:\n"
-"- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
-"- เลือก 'ไม่ใช่ (No)' เพื่อใช้อิมเมจไฟล์อันเดิม\n"
-"หากไม่รู้จะเลือกวิธีใด ให้เลือก 'ใช่ (Yes)'\n"
+"- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
+"- เลือก 'No' เพื่อใช้อิมเมจไฟล์อันเดิม\n"
+"หากไม่รู้จะเลือกวิธีใด ให้เลือก 'Yes'\n"
"\n"
"หมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
@@ -700,8 +700,8 @@ msgstr ""
"เนื่องจากไฟล์นี้มีขนาดใหญ่กว่า 100 KB และพบเจอได้ใน ISO: %s ซึ่งไม่ได้รวมไว้ในโปรแกรม Rufus\n"
"\n"
"Rufus สามารถดาวน์โหลดไฟล์ดังกล่าวให้คุณได้:\n"
-"- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
-"- เลือก 'ไม่ใช่ (No)' คุณต้องการคัดลอกไฟล์ดังกล่าวด้วยตัวเอง\n"
+"- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
+"- เลือก 'No' คุณต้องการคัดลอกไฟล์ดังกล่าวด้วยตัวเอง\n"
"\n"
"หมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
@@ -767,8 +767,8 @@ msgstr ""
"อิมเมจนี้ใช้ Syslinux %s%s แต่โปรแกรมนี้มีเฉพาะไฟล์ติดตั้งของ Syslinux %s%s \n"
"\n"
"โดยเวอร์ชันใหม่ของ Syslinux อาจไม่รองรับกับรุ่นที่ต่างกันไปไฟล์จำนวน 2 ไฟล์ต่อไปนี้จะถูกดาวน์โหลดจากอินเทอร์เน็ต ('ldlinux.sys' and 'ldlinux.bss'):\n"
-"- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
-"- เลือก 'ไม่ใช่ (No)' เมื่อคุณต้องการคัดลอกไฟล์ดังกล่าวด้วยตัวเอง\n"
+"- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
+"- เลือก 'No' เมื่อคุณต้องการคัดลอกไฟล์ดังกล่าวด้วยตัวเอง\n"
"\n"
"หมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และไฟล์ จะถูกเลือกใช้โดยอัตโนมัติ"
@@ -793,9 +793,9 @@ msgstr ""
"อิมเมจนี้ใช้ Grub %s แต่โปรแกรมนี้มีเฉพาะไฟล์ติดตั้งของ Grub %s \n"
"\n"
"โดยเวอร์ชันใหม่ของ Grub อาจไม่รองรับกับรุ่นที่ต่างกันไป Rufus สามารถค้นหาอิมเมจของ Grub เวอร์ชันล่าสุด ('core.img') ที่เข้ากันได้กับอิมเมจไฟล์ที่คุณเลือก:\n"
-"- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
-"- เลือก 'ไม่ใช่ (No)' เพื่อใช้เวอร์ชันปัจจุบันที่ติดมากับ Rufus\n"
-"-เลือก 'ยกเลิก (Cancel)' เพื่อยกเลิกการดำเนินการนี้\n"
+"- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
+"- เลือก 'No' เพื่อใช้เวอร์ชันปัจจุบันที่ติดมากับ Rufus\n"
+"-เลือก 'Cancel' เพื่อยกเลิกการดำเนินการนี้\n"
"\n"
"หมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และไฟล์จะถูกเลือกใช้โดยอัตโนมัติหากไม่พบไฟล์ที่ใหม่กว่า ไฟล์เวอร์ชันปัจจุบันจะถูกใช้แทน"
@@ -846,7 +846,7 @@ msgstr "ไม่มี Persistent"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "ตั้งค่าขนาดของพาร์ติชันสำหรับ Live USB media (ตั้งขนาดเป็น 0 เพื่อปิดการทำงานของ persistent partition)"
@@ -888,7 +888,7 @@ msgstr "ไดรฟ์นี้กำลังถูกใช้งานอย
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1796,14 +1796,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "ไม่สามารถเปิดหรืออ่าน '%s' ได้"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "เปิดใช้งาน SkuSiPolicy.p7b ในการติดตั้ง (ดูที่ KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "การปรับปรุงคุณภาพการใช้งาน/QoL (ยกเลิกการบังคับใช้: Copilot, OneDrive, Outlook, Fast Startup, เป็นต้น)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "ปรับใช้งานการปรับแต่งขั้นตอนการติดตั้ง Windows: %s"
@@ -1854,15 +1846,15 @@ msgstr "Log แบบถาวร"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"มีความจำเป็นต้องดาวน์โหลดไฟล์ ('%s') จาก Microsoft เพื่อใช้ฟีเจอร์นี้:\n"
-"- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
-"- เลือก 'ไม่ใช่ (No)' เพื่อยกเลิก\n"
+"มีความจำเป็นต้องดาวน์โหลดไฟล์ ('diskcopy.dll') จาก Microsoft เพื่อติดตั้ง MS-DOS:\n"
+"- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
+"- เลือก 'No' เพื่อยกเลิก\n"
"\n"
"หมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
@@ -1900,7 +1892,7 @@ msgstr "อิมเมจ VHDX ที่ไม่บีบอัด"
#. • MSG_344
msgid "Full Flash Update Image"
-msgstr "ไฟล์อิมเมจสำหรับ Full Flash Update"
+msgstr ""
#. • MSG_345
msgid ""
@@ -1909,8 +1901,8 @@ msgid ""
"- Select 'No' to cancel the operation"
msgstr ""
"มีความจำเป็นต้องดาวน์โหลดข้อมูลเพิ่มเติมจาก Microsoft เพื่อใช้งานฟังก์ชั่นนี้:\n"
-"- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
-"- เลือก 'ไม่ใช่ (No)' เพื่อยกเลิก"
+"- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
+"- เลือก 'No' เพื่อยกเลิก"
#. • MSG_346
msgid "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
@@ -1928,118 +1920,6 @@ msgstr "กำลังแตกไฟล์: %s"
msgid "Use Rufus MBR"
msgstr "Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "ใช้งานบูตโหลดเดอร์ที่รับรองโดย 'Windows CA 2023' (ตัวเครื่องคอมพิวเตอร์ปลายทางต้องรองรับด้วย)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "กำลังตรวจสอบการเพิกถอนสิทธิ์ของบูตโหลดเดอร์แบบ UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "กำลังตรวจสอบการอัปเดตรายการเพิกถอนสิทธิ์ของ UEFI (DBX)..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "มีการอัปเดตรายการเพิกถอนสิทธิ์ (DBX) พร้อมใช้งานแล้ว"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus ตรวจเจอเวอร์ชั่นอัพเดตที่ใหม่กว่าของไฟล์ DBX ซึ่งใช้สำหรับตรวจสอบการเพิกถอนสิทธิ์ของ UEFI Secure Boot คุณต้องการดาวน์โหลดไฟล์อัพเดตหรือไม่?\n"
-"- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n"
-"- เลือก 'ไม่ใช่ (No)' เพื่อยกเลิกการดำเนินการ\n"
-"\n"
-"หมายเหตุ: ไฟล์จะถูกดาวน์โหลดลงในไดเรกทอรีของแอปพลิเคชัน และจะถูกนำกลับมาใช้ใหม่โดยอัตโนมัติหากมีไฟล์อยู่แล้ว"
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠จะไม่มีการถามยืนยันซ้ำ⚠ ลบข้อมูลดิสก์ แล้วติดตั้ง:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"คุณเลือกที่จะใช้งานตัวเลือก การติดตั้ง Windows \"แบบเงียบ\"\n"
-"\n"
-"นี่คือตัวเลือกขั้นสูง ซึ่งสงวนไว้สำหรับผู้ที่ต้องการสร้างสื่อติดตั้งที่จะไม่ถามผู้ใช้ในระหว่างการติดตั้ง Windows ดังนั้นมันจะลบข้อมูลในดิสก์ตัวแรกที่ตรวจพบในระบบปลายทาง **โดยไม่มีเงื่อนไข** หากคุณไม่ระมัดระวัง การใช้ตัวเลือกนี้อาจส่งผลให้ **เกิดการสูญเสียข้อมูลอย่างถาวรและไม่สามารถกู้คืนได้!**\n"
-"\n"
-"หากนี่ไม่ใช่สิ่งที่คุณต้องการ โปรดเลือก 'ไม่ใช่ (No)' เพื่อย้อนกลับและยกเลิกการเลือกตัวเลือกดังกล่าว\n"
-"มิฉะนั้น หากคุณเลือก 'ใช่ (Yes)' คุณยอมรับว่าความรับผิดชอบทั้งหมดต่อการสูญหายของข้อมูลใดๆ จะตกอยู่ที่ตัวคุณแต่เพียงผู้เดียว"
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "ไม่รองรับตำแหน่งที่ตั้งของไฟล์อิมเมจ"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"คุณไม่สามารถใช้ไฟล์อิมเมจที่อยู่ในไดรฟ์เป้าหมายได้ เนื่องจากไดรฟ์นั้นกำลังจะถูกลบข้อมูลทั้งหมด มันก็เหมือนกับการพยายามทำลายที่มั่นตัวเองอยู่นั่นแหละ!\n"
-"\n"
-"โปรดย้ายอิมเมจไปยังตำแหน่งอื่นแล้วลองใหม่อีกครั้ง"
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "การเปิดตัวเลือกนี้ทิ้งไว้มีความปลอดภัย ถึงแม้ว่าคุณจะมี TPM หรือแรมที่มากกว่าก็ตาม ตัวเลือกนี้มีผลแค่การข้าม ข้อกำหนดในการติดตั้ง เท่านั้น ไม่ได้ลดทอนการทำงานของ Windows ในการดึงประสิทธิภาพฮาร์ดแวร์มาใช้อย่างเต็มที่"
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "เพื่อให้ตัวเลือกนี้ทำงานได้ จะต้องปิดการเชื่อมต่อเครือข่าย/อินเทอร์เน็ตขณะทำการติดตั้งก่อน"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "ตอบ 'ไม่ใช่ (no)' โดยอัตโนมัติ สำหรับคำถามในการตั้งค่า Windows ที่เกี่ยวกับการแชร์ข้อมูลให้กับ Microsoft โดยไม่ต้องเด้งถามผู้ใช้"
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "คุณควรจะเปิดตัวเลือกนี้ทิ้งไว้ ยกเว้นว่าคุณจะยอมรับได้หาก 'Windows To Go' เข้าถึงดิสก์ภายในเครื่อง และทำการอัปเกรดระบบไฟล์โดยอัตโนมัติ ซึ่งเป็นการดำเนินการที่ไม่สามารถย้อนกลับได้"
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "สร้างบัญชีผู้ใช้ภายในเครื่อง (Local account) ตามชื่อที่ระบุโดยอัตโนมัติ ซึ่งจะไม่มีรหัสผ่าน และอาจจะต้องเปลี่ยนรหัสเมื่อเข้าสู่ระบบครั้งถัดไป"
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "คัดลอกการตั้งค่าภูมิภาคจากพีซีปัจจุบัน (ภาษาแป้นพิมพ์, โซนเวลา, สกุลเงิน, ฯลฯ) โดยไม่ต้องเด้งถามผู้ใช้"
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "อย่าเข้ารหัสดิสก์ระบบ นอกเหนือจากว่าจะเป็นผู้ใช้งานจะเป็นผู้สั่งให้เข้ารหัสเอง"
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "โปรดใช้ตัวเลือกนี้เฉพาะในกรณีที่คุณทราบว่า S-Mode คืออะไร และเข้าใจว่าระบบของคุณอาจถูกล็อกให้อยู่ใน S-Mode ต่อไป แม้ว่าคุณจะทำการล้างข้อมูลทั้งหมดและติดตั้ง Windows ใหม่แล้วก็ตาม"
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "ใช้ตัวเลือกนี้หากระบบที่คุณต้องการติดตั้ง Windows มีการใช้ใบรับรอง Secure Boot ที่อัปเดตเป็นเวอร์ชันล่าสุดแล้ว หากจำเป็น คุณสามารถศึกษาการใช้เครื่องมือ 'Mosby' เพื่อทำการอัปเดตระบบของคุณได้"
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "ใช้ตัวเลือกนี้หากคุณต้องการเพิกถอนสิทธิ์บูตโหลดเดอร์ของ Windows เพิ่มเติมที่อาจจะไม่ปลอดภัย แต่โปรดทราบว่ามีความเสี่ยงที่จะทำให้สื่อติดตั้ง Windows มาตรฐานทั่วไปไม่สามารถบูตได้ด้วยเช่นกัน"
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"การปรับปรุงคุณภาพการใช้งาน (Quality of Life)\": ปิดการใช้งานคุณสมบัติส่วนใหญ่ที่ไม่พึงประสงค์ที่ Microsoft พยายามบังคับให้ผู้ใช้งานทั่วไปต้องใช้"
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "ถ้าหากคุณเลือกตัวเลือกนี้ กรุณาเช็คให้มั่นใจว่าคุณถอดดิสก์ที่เชื่อมกับพีซีเป้าหมาย เหลือไว้เฉพาะดิสก์ที่คุณต้องการจะติดตั้ง Windows เท่านั้น และห้ามเสียบตัวติดตั้ง (เช่น แฟลชไดรฟ์) ทิ้งไว้ในคอมพิวเตอร์เครื่องใดก็ตามที่คุณไม่ต้องการให้ข้อมูลถูกลบ\""
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/tr-TR.po b/res/loc/po/tr-TR.po
index 1b4d7b96..27dd91de 100644
--- a/res/loc/po/tr-TR.po
+++ b/res/loc/po/tr-TR.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-23 20:10+0300\n"
-"PO-Revision-Date: 2026-03-25 16:24+0000\n"
+"POT-Creation-Date: 2024-04-28 09:05+0300\n"
+"PO-Revision-Date: 2024-04-28 09:32+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: tr_TR\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Turkish (Türkçe)\n"
"X-Rufus-LCID: 0x041F\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr "TB"
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr "PB"
@@ -846,7 +846,7 @@ msgstr "Kalıcı bölüm yok"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Canlı USB ortamı için kalıcı disk bölümünün boyutunu ayarlayın. Boyutu 0 olarak ayarlamak, kalıcı bölümü devre dışı bırakır."
@@ -888,17 +888,17 @@ msgstr "Başka bir program ya da işlem bu sürücüye erişiyor. Yine de biçim
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus, 1809 ISO'suna dayalı bir 'Windows To Go' medyası oluşturmaya çalıştığınızı algıladıi.\n"
+"Rufus, 1809 ISO tabanlı bir Windows To Go ortamı oluşturmaya çalıştığınızı algıladı.\n"
"\n"
-"*Bir MICROSOFT HATASI* nedeniyle, 'WppRecorder.sys' dosyasının 1803 sürümünündekini el ile değiştirmediğiniz sürece bu medya Windows önyüklemesi sırasında çökecektir (Mavi Ekran Hatası).\n"
+"Bir *MICROSOFT HATASI* nedeniyle, 'WppRecorder.sys' dosyasını 1803 sürümüyle el ile değiştirmediğiniz sürece, bu medya Windows açılışında (Ölü Mavi Ekran) çökecektir.\n"
"\n"
-"Ayrıca, Rufus'un bunu sizin için otomatik olarak düzeltememesinin nedeni, 'WppRecorder.sys' dosyasının Microsoft'un telif hakkıyla korunan bir dosyası olması ve bu nedenle dosyanın bir kopyasını uygulamaya yasal olarak yerleştiremememizdir..."
+"Ayrıca, Rufus'un bunu sizin için otomatik olarak çözememesinin nedeninin 'WppRecorder.sys' dosyasının Microsoft'un telif hakkı olan bir dosya olduğunu ve bu nedenle dosyanın yasal olarak bir kopyasını uygulamaya koyamayacağımızı unutmayın..."
#. • MSG_134
msgid ""
@@ -1795,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "'%s' açılamıyor veya okunamıyor"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "SkuSiPolicy.p7b yükleme sırasında uygulansın (Bakınız KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "QoL(Yaşam Kalitesi) iyileştirmeleri (Copilot, OneDrive, Outlook, Hızlı Başlat vb. dayatılmasın)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Windows özelleştirmesi uygulanıyor: %s"
@@ -1853,13 +1845,13 @@ msgstr "Kalıcı günlük"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Bu özelliği kullanmak için Microsoft'tan ek bir dosyanın ('%s') indirilmesi gerekmektedir:\n"
+"MS-DOS'u yüklemek için Microsoft'tan ek bir dosyanın ('diskcopy.dll') indirilmesi gerekir:\n"
"- İnternete bağlanıp indirmek için 'Evet'i seçin\n"
"- İşlemden vazgeçmek için 'Hayır'ı seçin\n"
"\n"
@@ -1927,118 +1919,6 @@ msgstr "Arşiv dosyaları çıkarılıyor: %s"
msgid "Use Rufus MBR"
msgstr "Rufus MBR'yi kullanın"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "'Windows CA 2023' imzalı önyükleyicileri kullanılsın (Uyumlu bir hedef bilgisayar gerektirir)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "UEFI önyükleyicisinin etkinlik durumu kontrol ediliyor..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "UEFI DBX güncellemeleri kontrol ediliyor..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "DBX güncellemesi mevcut"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus, UEFI Güvenli Önyükleme etkinlik durum kontrollerini gerçekleştirmek için kullanılan DBX dosyalarının güncellenmiş bir sürümünü buldu. Bu güncellemeyi indirmek ister misiniz?\n"
-"- İnternete bağlanmak ve bu içeriği indirmek için 'Evet'i seçin\n"
-"- İşlemden vazgeçmek için 'Hayır'ı seçin\n"
-"\n"
-"Not: Dosyalar uygulamanın dizinine indirilecek ve mevcutsa otomatik olarak yeniden kullanılacaktır."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠SESSİZCE⚠ diski silin ve yükleyin:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"\"silent\" Katılımsız Windows kurulum seçeneğini kullanmayı seçtiniz.\n"
-"\n"
-"Bu, Windows kurulumu sırasında kullanıcıya sorulmayan ve bu nedenle hedef sistemdeki ilk algılanan diski KOŞULSUZ OLARAK SİLEN bir ortam oluşturmak isteyenler için ayrılmış gelişmiş bir seçenektir. Dikkatli olmazsanız, bu seçeneği kullanmak GERİ DÖNÜŞÜ OLMAYAN VERİ KAYBINA neden olabilir!\n"
-"\n"
-"Bunu istemiyorsanız, geri dönmek ve seçeneğin işaretini kaldırmak için lütfen 'Hayır'ı seçin.\n"
-"Aksi takdirde, 'Evet'i seçerseniz, herhangi bir veri kaybından doğacak tüm sorumluluğun tamamen SİZDE olacağınıı kabul etmiş olursunuz."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Desteklenmeyen yansı konumu"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Hedef sürücüde bulunan bir yansıyı, sürücü tamamen silineceğinden dolayı kullanamazsınız. Bu, oturduğunuz dalı kesmeye çalışmakla aynı şey!\n"
-"\n"
-"Lütfen yansıyı farklı bir konuma taşıyın ve yeniden deneyin."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "TPM veya daha fazla RAM'iniz olsa bile bu seçeneği etkin bırakmak güvenlidir, çünkü bu seçenek yalnızca kurulum gereksinimlerini atlar ve Windows'un mevcut tüm donanımı kullanmasını fiilen engellemez."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Bu seçeneğin çalışması için kurulum sırasında Ağ/Internet bağlantısının KESİLMESİ GEREKMEKTEDİR!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Windows kurulumunda Microsoft ile veri paylaşımıyla ilgili sorulara kullanıcıya sormak yerine otomatik olarak 'hayır' yanıtını verilsin."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "'Windows To Go'nun dahili disklere erişmesine ve geri döndürülemez dosya sistemi yükseltmeleri gerçekleştirmesine istemiyorsanız, bu seçeneği etkin bırakmalısınız."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Belirtilen kullanıcı adıyla otomatik olarak yerel bir hesap oluşturur; bu hesapta, bir sonraki oturum açmada değiştirilmesi gerekecek boş bir parola kullanılacaktır."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Kullanıcıdan onay istemek yerine, bu bilgisayardaki bölgesel ayarları (klavye, saat dilimi, para birimi) kopyalansın."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Kullanıcı tarafından özellikle tercih edilmediği sürece sistem diskini şifrelemeyin."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Bu seçeneği yalnızca S-Modu'nun ne olduğunu biliyorsanız ve Windows'u tamamen silip yeniden yükledikten sonra bile sisteminizin S-Modu'nda kilitli kalabileceğini anlıyorsanız kullanın."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Windows'u kurmayı planladığınız sistemde tamamen güncel Güvenli Önyükleme sertifikaları kullanılıyorsa bu seçeneği kullanın. Gerekirse, sisteminizi güncellemek için 'Mosby'yi kullanmayı düşünebilirsiniz."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Potansiyel olarak güvenli olmayan ek Windows önyükleme yükleyicilerinden vazgeçmek istiyorsanız, ancak bu işlem standart Windows medyalarının önyüklemesini de engelleme olasılığı varsa bu seçeneği kullanın."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "\"Yaşam Kalitesi\" iyileştirmeleri: Microsoft'un son kullanıcılara zorla dayatmaya çalıştığı istenmeyen özelliklerin çoğunu devre dışı bırakın."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Bu seçeneği kullanıyorsanız, lütfen Windows'u kurmak istediğiniz disk dışındaki, hedef bilgisayardaki tüm diskleri çıkarın ve silmek istemediğiniz hiçbir bilgisayara disk takılı bırakmayın."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/uk-UA.po b/res/loc/po/uk-UA.po
index 2fdeaa56..dc93bf4b 100644
--- a/res/loc/po/uk-UA.po
+++ b/res/loc/po/uk-UA.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-03 21:31+0300\n"
-"PO-Revision-Date: 2026-04-10 21:29+0300\n"
+"POT-Creation-Date: 2024-07-23 23:38+0300\n"
+"PO-Revision-Date: 2024-07-23 23:42+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: uk_UA\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Ukrainian (Українська)\n"
"X-Rufus-LCID: 0x0422\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr "Тб"
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr "Пб"
@@ -846,7 +846,7 @@ msgstr "Деактивовано"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Встановіть розмір розділу збереження для Live USB-накопичувача. Щоб вимкнути розділ збереження встановіть розмір 0."
@@ -888,13 +888,13 @@ msgstr "Інша програма чи процес отримують дост
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
msgstr ""
-"Rufus виявив, що ви намагаєтесь створити носій Windows To Go, заснований на версії ISO 1809.\n"
+"Rufus виявив, що ви намагаєтесь створити носій Windows To Go, заснований на версії ISO 1809\n"
"\n"
"Через *ПОМИЛКУ MICROSOFT* цей носій буде припиняти роботу під час завантаження Windows (Синій екран смерті), доки ви вручну не перенесете файл 'WppRecorder.sys' з версії 1803.\n"
"\n"
@@ -1504,7 +1504,7 @@ msgstr "Видалення каталога '%s'"
#. • MSG_265
msgid "VMWare disk detection"
-msgstr "Виявлення дисків VMWare"
+msgstr "Виявлено диск VMWare"
#. • MSG_266
msgid "Dual UEFI/BIOS mode"
@@ -1795,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Неможливо відкрити чи прочитати '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Застосувати SkuSiPolicy.p7b під час встановлення (дивись KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Покращення QoL (виключено Copilot, OneDrive, Outlook, Fast Startup, тощо)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Застосування налаштувань Windows: %s"
@@ -1853,13 +1845,13 @@ msgstr "Постійний журнал"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Щоб скористатися цією функцією, необхідно завантажити додатковий файл ('%s') з веб-сайту Microsoft:\n"
+"Необхідно завантажити додатковий файл ('diskcopy.dll') з сайту Microsoft для встановлення MS-DOS:\n"
"- Виберіть 'Так' для з'єднання з інтернетом та його завантаження\n"
"- Виберіть 'Ні' для скасування операції\n"
"\n"
@@ -1927,118 +1919,6 @@ msgstr "Видобування архівованих файлів: %s"
msgid "Use Rufus MBR"
msgstr "Використовувати Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Використати завантажувач з підписом 'Windows CA 2023' (потребує сумісне обладнання)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Перевірка відкликання завантажувача UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Перевірка оновлень UEFI DBX..."
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Доступне оновлення DBX"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus знайшов оновлену версію файлів DBX, що використовуються для перевірки відкликання завантажувача UEFI. Чи хочете ви їх завантажити?\n"
-"- Виберіть 'Так', щоб завантажити файл з інтернету\n"
-"- Виберіть 'Ні', щоб скасувати операцію\n"
-"\n"
-"Примітка: Файли будуть завантажені в поточний каталог додатку і будуть використовуватися повторно за необхідності."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠ТИХЕ⚠ видалення та встановлення:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Ви вибрали \"тихе\" встановлення Windows.\n"
-"\n"
-"Це додаткова опція, призначена для тих, хто хоче створити завантажувальний диск, який не відволікає користувача під час встановлення Windows, тому ПРИМУСОВО СТИРАЄ перший виявлений диск у цільовій системі. Необачне використання цього параметра може привести до БЕЗПОВОРОТНОЇ ВТРАТИ ДАНИХ!\n"
-"\n"
-"Якщо це не те, чого ви прагнете, будь ласка, виберіть 'Ні', щоб повернутись назад і деактивувати цю опцію.\n"
-"В іншому випадку, якщо ви виберете 'Так', - ви ПОВНІСТЮ берете на себе відповідальність за можливу втрату інформації."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Непідтримуване розташування образа"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Ви не можете використовувати образ, що знаходиться на цільовому диску, так як цей диск буде повністю очищено. Як то кажуть \"не розхитуй човна, бо вивернешся\"!\n"
-"\n"
-"Будь ласка, перемістіть образ в інше місце і спробуйте знову."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Безпечно залишати цю опцію ввімкненою, навіть якщо у вас є TPM чи достатня кількість ОЗП, оскільки ця функція лише обходить вимоги до обладнання та не забороняє Windows використовувати всі наявні ресурси."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Щоб ця опція працювала необхідно вимкнути доступ до інтернету/мережі!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Автоматично відповідати 'ні' на запитання Windows, щодо обміну даними з Microsoft за користувача."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Залиште цю опцію ввімкненою, щоб заборонити 'Windows To Go' доступ до внутрішніх дисків та виконання непомітних безповоротних змін у файловій системі."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Автоматично створити локальний обліковий запис з заданим іменем користувача, використовуючи порожній пароль, який необхідно буде змінити під час наступного входу в систему."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Скопіювати регіональні налаштування з цього ПК (розкладка клавіатури, часовий пояс, валюти) замість того, щоб запитувати користувача."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Не шифрувати системний диск, окрім випадків, коли цього вимагає користувач."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Ввімкніть цю опцію, якщо знаєте, що таке S-Mode та розумієте, що ваша система може бути заблокована в S-Mode навіть після повної очистки та перевстановлення Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Ввімкніть цю опцію, якщо система, на яку ви плануєте встановити Windows має оновлені сертифікати завантажувача. За потреби, ви можете розглянути можливість використання 'Mosby' для оновлення системи."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Ввімкніть цю опцію, якщо хочете відкликати додаткові потенційно небезпечні завантажувачі Windows, але з можливістю також запобігти завантаженню стандартних носіїв Windows."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Покращення \"Quality of Life\": Вимкнення більшості небажаних функцій, які Microsoft намагається нав'язати кінцевому користувачу."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "За використання цієї функції відключіть від ПК будь-які диски за виключенням того, на який ви хочете встановити Windows, а, також, не залишайте носій підключеним до будь-якого ПК, дані з якого ви не хочете стерти."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/vi-VN.po b/res/loc/po/vi-VN.po
index f8c66515..a6d8fdbb 100644
--- a/res/loc/po/vi-VN.po
+++ b/res/loc/po/vi-VN.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-22 21:20+0700\n"
-"PO-Revision-Date: 2026-04-23 16:15+0100\n"
+"POT-Creation-Date: 2024-04-26 02:45+0900\n"
+"PO-Revision-Date: 2024-04-26 03:13+0900\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: vi_VN\n"
@@ -13,19 +13,19 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Vietnamese (Tiếng Việt)\n"
"X-Rufus-LCID: 0x042A\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
-msgstr "Thuộc tính thiết bị lưu"
+msgstr "Thuộc tính ổ đĩa"
#. • IDD_DIALOG → IDS_DEVICE_TXT
msgid "Device"
-msgstr "Thiết bị lưu"
+msgstr "Thiết bị"
#. • IDD_DIALOG → IDS_BOOT_SELECTION_TXT
msgid "Boot selection"
-msgstr "Tùy chọn khởi động"
+msgstr "Phương thức khởi động"
#. • IDD_DIALOG → IDC_SELECT
msgid "Select"
@@ -37,28 +37,28 @@ msgstr "Tùy chọn tệp tin"
#. • IDD_DIALOG → IDS_PARTITION_TYPE_TXT
msgid "Partition scheme"
-msgstr "Sơ đồ phân vùng"
+msgstr "Định dạng phân vùng"
#. • IDD_DIALOG → IDS_TARGET_SYSTEM_TXT
msgid "Target system"
-msgstr "Hệ thống khởi động"
+msgstr "Hệ thống áp dụng"
#. • IDD_DIALOG → IDC_LIST_USB_HDD
msgid "List USB Hard Drives"
-msgstr "Liệt kê danh sách ổ USB"
+msgstr "Danh sách ổ cứng USB"
#. • IDD_DIALOG → IDC_OLD_BIOS_FIXES
#.
#. It is acceptable to drop the parenthesis () if you are running out of space
#. as there is a tooltip (MSG_169) providing these details.
msgid "Add fixes for old BIOSes (extra partition, align, etc.)"
-msgstr "Thêm các bản sửa lỗi cho BIOS cũ (phân vùng phụ, căn lề phân vùng, v.v...)"
+msgstr "Thêm khắc phục cho BIOS cũ (phân vùng, sắp xếp...khác)"
#. • IDD_DIALOG → IDC_UEFI_MEDIA_VALIDATION
#.
#. It is acceptable to drop the "runtime" if you are running out of space
msgid "Enable runtime UEFI media validation"
-msgstr "Bật xác minh thiết bị UEFI trong thời gian chạy"
+msgstr "Bật xác thực phương tiện UEFI tại thời điểm chạy"
#. • IDD_DIALOG → IDS_FORMAT_OPTIONS_TXT
msgid "Format Options"
@@ -70,11 +70,11 @@ msgstr "Hệ thống tập tin"
#. • IDD_DIALOG → IDS_CLUSTER_SIZE_TXT
msgid "Cluster size"
-msgstr "Kích thước cụm"
+msgstr "Kích thước liên cung"
#. • IDD_DIALOG → IDS_LABEL_TXT
msgid "Volume label"
-msgstr "Nhãn thiết bị lưu"
+msgstr "Nhãn ổ đĩa"
#. • IDD_DIALOG → IDC_QUICK_FORMAT
msgid "Quick format"
@@ -82,11 +82,11 @@ msgstr "Định dạng nhanh"
#. • IDD_DIALOG → IDC_BAD_BLOCKS
msgid "Check device for bad blocks"
-msgstr "Kiểm tra lỗi khối trên thiết bị lưu trữ"
+msgstr "Kiểm tra khối hỏng trong thiết bị"
#. • IDD_DIALOG → IDC_EXTENDED_LABEL
msgid "Create extended label and icon files"
-msgstr "Tạo nhãn mở rộng và tệp tin biểu tượng"
+msgstr "Tạo tên mở rộng và tập tin biểu tượng"
#. • IDD_DIALOG → IDS_STATUS_TXT
msgid "Status"
@@ -115,7 +115,7 @@ msgstr "Giấy phép"
#. • IDD_ABOUTBOX → IDOK
msgid "OK"
-msgstr ""
+msgstr "OK"
#. • IDD_LICENSE → IDD_LICENSE
msgid "Rufus License"
@@ -161,7 +161,7 @@ msgstr "Kiểm tra cập nhật"
#. • IDD_UPDATE_POLICY → IDS_INCLUDE_BETAS_TXT
msgid "Include beta versions"
-msgstr "Bao gồm bản thử nghiệm"
+msgstr "Gồm bản thử nghiệm"
#. • IDD_UPDATE_POLICY → IDC_CHECK_NOW
msgid "Check Now"
@@ -173,7 +173,7 @@ msgstr "Kiểm tra cập nhật - Rufus"
#. • IDD_NEW_VERSION → IDS_NEW_VERSION_AVAIL_TXT
msgid "A newer version is available. Please download the latest version!"
-msgstr "Đã có phiên bản mới hơn. Vui lòng tải phiên bản mới nhất!"
+msgstr "Đã có phiên bản mới. Vui lòng tải phiên bản mới nhất!"
#. • IDD_NEW_VERSION → IDC_WEBSITE
msgid "Click here to go to the website"
@@ -191,7 +191,7 @@ msgstr "Tải xuống"
#. • MSG_001
msgid "Other instance detected"
-msgstr "Đã phát hiện tiến trình chạy đồng thời"
+msgstr "Phát hiện tiến trình chạy đồng thời"
#. • MSG_002
msgid ""
@@ -199,14 +199,14 @@ msgid ""
"Please close the first application before running another one."
msgstr ""
"Ứng dụng Rufus khác đang chạy.\n"
-"Vui lòng đóng ứng dụng đầu tiên trước khi chạy một ứng dụng mới."
+"Vui lòng đóng ứng dụng đầu tiên trước khi chạy tiếp."
#. • MSG_003
msgid ""
"WARNING: ALL DATA ON DEVICE '%s' WILL BE DESTROYED.\n"
"To continue with this operation, click OK. To quit click CANCEL."
msgstr ""
-"CẢNH BÁO: TẤT CẢ DỮ LIỆU TRÊN THIẾT BỊ '%s' SẼ BỊ XOÁ.\n"
+"CẢNH BÁO: TẤT CẢ DỮ LIỆU TRÊN THIẾT BỊ '%s' SẼ BỊ HUỶ.\n"
"Để tiếp tục tiến trình này, nhấn OK. Để thoát nhấn HUỶ."
#. • MSG_004
@@ -215,7 +215,7 @@ msgstr "Chính sách cập nhật Rufus"
#. • MSG_005
msgid "Do you want to allow Rufus to check for application updates online?"
-msgstr "Bạn có muốn cho phép Rufus kiểm tra các bản cập nhật ứng dụng trực tuyến?"
+msgstr "Bạn có muốn cho phép Rufus kiểm tra cập nhật ứng dụng trực tuyến?"
#. • MSG_007
msgid "Cancel"
@@ -280,45 +280,45 @@ msgstr "Phiên bản mới nhất: %d.%d (Bản dựng %d)"
#. • MSG_020
#. • MSG_026
msgid "bytes"
-msgstr ""
+msgstr "bytes"
#. • MSG_021
#.
#. *Short* version of the kilobyte size suffix
msgid "KB"
-msgstr ""
+msgstr "KB"
#. • MSG_022
#.
#. *Short* version of the megabyte size suffix
msgid "MB"
-msgstr ""
+msgstr "MB"
#. • MSG_023
#.
#. *Short* version of the gigabyte size suffix
msgid "GB"
-msgstr ""
+msgstr "GB"
#. • MSG_024
#.
#. *Short* version of the terabyte size suffix
msgid "TB"
-msgstr ""
+msgstr "TB"
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
-msgstr ""
+msgstr "PB"
#. • MSG_027
msgid "kilobytes"
-msgstr ""
+msgstr "kilobytes"
#. • MSG_028
msgid "megabytes"
-msgstr ""
+msgstr "megabytes"
#. • MSG_029
msgid "Default"
@@ -346,14 +346,14 @@ msgstr "BIOS hoặc UEFI"
#.
#. Number of bad block check passes (singular for 1 pass)
msgid "%d pass"
-msgstr "Đạt %d lần"
+msgstr "Qua %d lần"
#. • MSG_035
#.
#. Number of bad block check passes (plural for 2 or more passes).
#. See MSG_087 for the message that %s gets replaced with.
msgid "%d passes %s"
-msgstr "Đã đạt %d lần %s"
+msgstr "Qua %d lần %s"
#. • MSG_036
msgid "ISO Image"
@@ -373,7 +373,7 @@ msgstr "Khởi chạy"
#. • MSG_041
msgid "Operation cancelled by the user"
-msgstr "Tiến trình đã bị huỷ bởi người dùng"
+msgstr "Tiến trình bị huỷ bởi người dùng"
#. • MSG_042
msgid "Error"
@@ -403,11 +403,11 @@ msgstr "Đa phân vùng"
#. • MSG_048
msgid "Rufus - Flushing buffers"
-msgstr "Rufus - Đang xả bộ đệm"
+msgstr "Rufus - Xoá bộ đệm"
#. • MSG_049
msgid "Rufus - Cancellation"
-msgstr "Rufus - Hủy bỏ"
+msgstr "Rufus - Huỷ"
#. • MSG_050
msgid "Success."
@@ -423,15 +423,15 @@ msgstr "Không thể dùng hệ thống tập tin đã chọn cho thiết bị n
#. • MSG_053
msgid "Access to the device is denied."
-msgstr "Truy cập tới thiết bị đã bị từ chối."
+msgstr "Thiết bị từ chối truy cập."
#. • MSG_054
msgid "Media is write protected."
-msgstr "Thiết bị đang được bảo vệ ghi."
+msgstr "Thiết bị được bảo vệ ghi."
#. • MSG_055
msgid "The device is in use by another process. Please close any other process that may be accessing the device."
-msgstr "Thiết bị đang được dùng bởi tiến trình khác. Vui lòng đóng mọi tiến trình có thể đang truy cập thiết bị."
+msgstr "Thiết bị đang được dùng bởi tiến trình khác. Vui lòng đóng mọi tiến trình có thể truy cập thiết bị."
#. • MSG_056
msgid "Quick format is not available for this device."
@@ -439,23 +439,23 @@ msgstr "Định dạng nhanh không khả dụng với thiết bị này."
#. • MSG_057
msgid "The volume label is invalid."
-msgstr "Nhãn ổ đĩa không hợp lệ."
+msgstr "Tên ổ đĩa không hợp lệ."
#. • MSG_058
msgid "The device handle is invalid."
-msgstr "Tham chiếu thiết bị không hợp lệ."
+msgstr "Xử lý thiết bị không hợp lệ."
#. • MSG_059
msgid "The selected cluster size is not valid for this device."
-msgstr "Kích thước cụm đã chọn không hợp lệ với thiết bị này."
+msgstr "Kích cỡ liên cung đã chọn không thích hợp với thiết bị này."
#. • MSG_060
msgid "The volume size is invalid."
-msgstr "Kích cỡ thiết bị không hợp lệ."
+msgstr "Kích cỡ ổ đĩa không hợp lệ."
#. • MSG_061
msgid "Please insert a removable media in drive."
-msgstr "Vui lòng cắm thiết bị lưu trữ di động vào ổ."
+msgstr "Vui lòng kết nối ổ gắn ngoài vào."
#. • MSG_062
msgid "An unsupported command was received."
@@ -483,11 +483,11 @@ msgstr "Không thể mở thiết bị. Có thể nó đang được tiến trì
#. • MSG_068
msgid "Could not partition drive."
-msgstr "Không thể phân vùng thiết bị."
+msgstr "Không thể phân vùng ổ đĩa."
#. • MSG_069
msgid "Could not copy files to target drive."
-msgstr "Không thể sao chép tệp vào thiết bị đích."
+msgstr "Không thể chép tập tin vào đĩa."
#. • MSG_070
msgid "Cancelled by user."
@@ -521,11 +521,11 @@ msgstr "Không thể vá/cài đặt tập tin cho việc khởi động."
#. • MSG_077
msgid "Unable to assign a drive letter."
-msgstr "Không thể gán ký tự ổ đĩa."
+msgstr "Không thể định ký tự ổ đĩa."
#. • MSG_078
msgid "Can't mount GUID volume."
-msgstr "Không thể gắn kết phân vùng GUID."
+msgstr "Không thể gắn kết ổ GUID."
#. • MSG_079
msgid "The device is not ready."
@@ -539,11 +539,11 @@ msgid ""
"\n"
"We recommend that you let Windows finish, to avoid corruption. But if you grow tired of waiting, you can just unplug the device..."
msgstr ""
-"Rufus đã phát hiện Windows vẫn đang xả bộ đệm bên trong thiết bị USB.\n"
+"Rufus đã phát hiện Windows vẫn đang làm sạch bộ đệm bên trong thiết bị USB.\n"
"\n"
-"Tuỳ thuộc vào tốc độ thiết bị USB của bạn, hoạt động này có thể mất một thời gian dài để hoàn tất, đặc biệt với những tập tin lớn.\n"
+"Tuỳ thuộc vào tốc độ của thiết bị USB, hoạt động này có thể mất một thời gian dài để hoàn tất, đặc biệt với những tập tin lớn.\n"
"\n"
-"Chúng tôi khuyên rằng bạn nên để Windows kết thúc để phòng hỏng dữ liệu. Nhưng nếu bạn cảm thấy quá lâu, hãy cứ tháo thiết bị ra..."
+"Chúng tôi khuyên bạn nên để Windows kết thúc để phòng hỏng dữ liệu. Nhưng nếu bạn cảm thấy quá lâu, hãy cứ tháo thiết bị ra..."
#. • MSG_081
msgid "Unsupported image"
@@ -551,7 +551,7 @@ msgstr "Tệp tin không được hỗ trợ"
#. • MSG_082
msgid "This image is either non-bootable, or it uses a boot or compression method that is not supported by Rufus..."
-msgstr "Tệp này không có khả năng khởi động hoặc sử dụng một tuỳ chọn khởi động hoặc nén không được Rufus hỗ trợ..."
+msgstr "Tệp này không có khả năng khởi động hoặc sử dụng một phương thức khởi động hoặc nén không được Rufus hỗ trợ..."
#. • MSG_083
msgid "Replace %s?"
@@ -585,7 +585,7 @@ msgstr "Đang tải xuống %s"
#. • MSG_086
msgid "No image selected"
-msgstr "Chưa tệp tin nào được chọn"
+msgstr "Chưa chọn tệp tin"
#. • MSG_087
#.
@@ -604,7 +604,7 @@ msgstr "Tệp tin quá lớn"
#. • MSG_089
msgid "The image is too big for the selected target."
-msgstr "Tệp tin quá lớn cho thiết bị đích đã chọn."
+msgstr "Tệp tin quá lớn cho đĩa đã chọn."
#. • MSG_090
msgid "Unsupported ISO"
@@ -612,7 +612,7 @@ msgstr "ISO không được hỗ trợ"
#. • MSG_091
msgid "When using UEFI Target Type, only EFI bootable ISO images are supported. Please select an EFI bootable ISO or set the Target Type to BIOS."
-msgstr "Khi sử dụng kiểu hệ thống khởi động UEFI, chỉ hỗ trợ các tệp ISO có khả năng khởi động bằng EFI. Vui lòng chọn một tệp ISO có hỗ trợ EFI hoặc chuyển kiểu hệ thống khởi động sang BIOS."
+msgstr "Khi dùng loại hệ thống là UEFI, chỉ có tệp ISO có thể khởi động với EFI được hỗ trợ. Vui lòng chọn tệp phù hợp hoặc chọn loại hệ thống là BIOS."
#. • MSG_092
msgid "Unsupported filesystem"
@@ -638,7 +638,7 @@ msgstr "Tệp tin DD"
#. • MSG_096
msgid "The file system currently selected can not be used with this type of ISO. Please select a different file system or use a different ISO."
-msgstr "Không thể dùng loại ISO này với hệ thống tập tin đã chọn. Vui lòng chọn một hệ thống tập tin hoặc chọn tệp ISO khác."
+msgstr "Không thể dùng loại ISO này với hệ thống tập tin đã chọn. Vui lòng chọn một hệ thống tập tin hoặc ISO khác."
#. • MSG_097
msgid "'%s' can only be applied if the file system is NTFS."
@@ -652,11 +652,11 @@ msgid ""
"\n"
"Note: The 'FIXED/REMOVABLE' attribute is a hardware property that can only be changed using custom tools from the drive manufacturer. However those tools are ALMOST NEVER provided to the public..."
msgstr ""
-"QUAN TRỌNG: Bạn đang cố cài đặt Windows To Go, nhưng ổ đĩa đích của bạn không có thuộc tính “CỐ ĐỊNH” (FIXED). Do đó, Windows có thể bị treo khi khởi động, vì Microsoft không thiết kế Windows To Go để hoạt động với ổ đĩa có thuộc tính “THÁO RỜI” (REMOVABLE).\n"
+"QUAN TRỌNG: Bạn đang cố cài đặt 'Windows To Go', nhưng ổ đĩa không có thuộc tính 'CỐ ĐỊNH'. Vì vậy, Windows có thể sẽ đóng băng tại điểm khởi động, do Microsoft không thiết kế nó để chạy với ổ đĩa có thuộc tính 'CÓ THỂ THÁO ĐƯỢC'. \n"
"\n"
-"Bạn có chắc chắn muốn tiếp tục không?\n"
+"Bạn vẫn muốn tiến hành?\n"
"\n"
-"Lưu ý: Thuộc tính “CỐ ĐỊNH/THÁO RỜI” là một đặc điểm phần cứng và chỉ có thể thay đổi bằng công cụ đặc biệt từ nhà sản xuất ổ đĩa. Tuy nhiên, những công cụ này HẦU NHƯ KHÔNG bao giờ được cung cấp cho người dùng phổ thông..."
+"Ghi chú: Thuộc tính 'CỐ ĐỊNH/CÓ THỂ THÁO ĐƯỢC' là một thuộc tính phần cứng chỉ có thể thay đổi bằng các công cụ tuỳ chỉnh từ nhà sản xuất ổ đĩa. Tuy nhiên những công cụ này HẦU NHƯ KHÔNG BAO GIỜ được cung cấp công khai..."
#. • MSG_099
msgid "Filesystem limitation"
@@ -697,7 +697,7 @@ msgid ""
"Note: The file will be downloaded in the current directory and once a '%s' exists there, it will be reused automatically."
msgstr ""
"%s hoặc mới hơn yêu cầu tập tin '%s' được cài đặt.\n"
-"Vì tập tin này lớn hơn 100 KB, và luôn có trong các tệp ISO %s, nó không được kèm theo trong Rufus.\n"
+"Vì tập tin này lớn hơn 100 KB, và luôn có trong ảnh ISO %s, nó không được kèm theo trong Rufus.\n"
"\n"
"Rufus có thể tải xuống tập tin còn thiếu cho bạn:\n"
"- Chọn 'Có' để kết nối với Internet và tải tập tin\n"
@@ -737,12 +737,12 @@ msgid ""
"MS-DOS cannot boot from a drive using a 64 kilobytes Cluster size.\n"
"Please change the Cluster size or use FreeDOS."
msgstr ""
-"MS-DOS không thể khởi động từ ổ đĩa có kích thước cụm là 64 kilobyte.\n"
-"Vui lòng thay đổi kích thước cụm hoặc sử dụng FreeDOS thay thế."
+"MS-DOS không thể khởi động từ ổ đĩa dùng kích thước liên cung 64 kilobytes.\n"
+"Vui lòng thay đổi kích thước liên cung hoặc dùng FreeDOS."
#. • MSG_111
msgid "Incompatible Cluster size"
-msgstr "Kích thước cụm không tương thích"
+msgstr "Kích thước liên cung không tương thích"
#. • MSG_112
#.
@@ -809,7 +809,7 @@ msgstr "Cài đặt Windows tiêu chuẩn"
#. http://en.wikipedia.org/wiki/Windows_To_Go in your language.
#. Otherwise, you may add a parenthesis eg. "Windows To Go ()"
msgid "Windows To Go"
-msgstr ""
+msgstr "Windows To Go"
#. • MSG_119
msgid "advanced drive properties"
@@ -846,7 +846,7 @@ msgstr "Không cố định"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "Đặt kích thước phân vùng cố định cho live USB. Đặt kích thước là 0 để bỏ phân vùng cố định."
@@ -884,11 +884,11 @@ msgstr ""
#. • MSG_132
msgid "Another program or process is accessing this drive. Do you want to format it anyway?"
-msgstr "Có một chương trình hoặc tiến trình khác đang truy cập ổ. Bạn vẫn muốn định dạng ổ đĩa?"
+msgstr "Có một chương trình hoặc tiến trình nào đó đang truy cập ổ. Bạn vẫn muốn định dạng ổ đĩa?"
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -896,7 +896,7 @@ msgid ""
msgstr ""
"Rufus nhận thấy bạn đang cố gắng tạo ổ đĩa Windows To Go dựa vào ISO phiên bản 1809.\n"
"\n"
-"Bởi vì một *LỖI CỦA MICROSOFT*, ổ đĩa này sẽ bị lỗi trong quá trình khởi động Windows (Màn hình xanh chết chóc), trừ khi bạn tự tay thay thế file 'WppRecorder.sys' của phiên bản 1803.\n"
+"Bởi vì một *LỖI CỦA MICROSOFT*, ổ đĩa này sẽ bị lỗi trong quá trình khởi động Windows (Màn hình xanh chết chóc), trừ khi bạn thay thế thủ công file 'WppRecorder.sys' của phiên bản 1803.\n"
"\n"
"Cũng xin lưu ý rằng Rufus không thể tự động sửa lỗi này vì file 'WppRecorder.sys' thuộc bản quyền của Microsoft, vì vậy chúng tôi không thể nhúng file này vào chương trình..."
@@ -1014,11 +1014,11 @@ msgstr ""
#. • MSG_160
msgid "Toggle advanced options"
-msgstr "Bật/tắt các tuỳ chọn nâng cao"
+msgstr "Bật/tắt tuỳ chọn nâng cao"
#. • MSG_161
msgid "Check the device for bad blocks using a test pattern"
-msgstr "Kiểm tra thiết bị tìm khối lỗi bằng mẫu kiểm tra"
+msgstr "Kiểm tra khối hỏng bằng mẫu thử"
#. • MSG_162
msgid "Uncheck this box to use the \"slow\" format method"
@@ -1054,7 +1054,7 @@ msgstr ""
#. • MSG_170
msgid "Enable the listing of USB Hard Drive enclosures. USE AT YOUR OWN RISKS!!!"
-msgstr "Bật hiển thị các ổ cứng gắn ngoài qua USB. TỰ CHỊU RỦI RO KHI SỬ DỤNG!!!"
+msgstr "Kích hoạt liệt kê ổ cứng USB trong máy. DÙNG CẨN TRỌNG!!!"
#. • MSG_171
msgid ""
@@ -1085,7 +1085,7 @@ msgstr "Phiên bản %d.%d (Bản dựng %d)"
#. • MSG_176
msgid "English translation: Pete Batard "
-msgstr "Bản dịch Tiếng Việt:\\line• thanhtai2009 \\line• caobach \\line• Nguyễn Quang Minh (MinhNQ101) \\line• Trần Thái An "
+msgstr "Bản dịch tiếng Việt:\\line• thanhtai2009 \\line• caobach \\line• VNSpringRice "
#. • MSG_177
msgid "Report bugs or request enhancements at:"
@@ -1580,7 +1580,7 @@ msgstr "Không có khả năng khởi động"
#. • MSG_280
msgid "Disk or ISO image"
-msgstr "Đĩa hoặc tệp tin ISO"
+msgstr "Đĩa hoặc tệp tin"
#. • MSG_281
msgid "%s (Please select)"
@@ -1588,7 +1588,7 @@ msgstr "%s (Vui lòng chọn)"
#. • MSG_282
msgid "Exclusive USB drive locking"
-msgstr "Chặn truy cập ổ USB từ chương trình khác"
+msgstr "Khoá ổ USB đặc biệt"
#. • MSG_283
msgid "Invalid signature"
@@ -1618,7 +1618,7 @@ msgstr "Phát hiện ổ đĩa tháo được không phải USB"
#. • MSG_288
msgid "Missing elevated privileges"
-msgstr "Thiếu quyền quản trị"
+msgstr "Thiếu đặc quyền"
#. • MSG_289
msgid "This application can only run with elevated privileges"
@@ -1727,7 +1727,7 @@ msgstr "điều này có thể mất một thời gian"
#. • MSG_308
msgid "VHD detection"
-msgstr "Phát hiện VHD"
+msgstr "phát hiện VHD"
#. • MSG_309
msgid "Compressed archive"
@@ -1795,14 +1795,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "Không thể mở hoặc đọc '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "Áp dụng SkuSiPolicy.p7b trong khi cài đặt (Xem KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Những cải \"QoL\" (Không ép buộc Copilot, OneDrive, Outlook, Khởi động Nhanh, v.v.)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "Đang áp dụng tuỳ biến Windows: %s"
@@ -1813,7 +1805,7 @@ msgstr "Đang áp dụng các cài đặt người dùng..."
#. • MSG_327
msgid "Windows User Experience"
-msgstr "Trải nghiệm Người dùng Windows"
+msgstr "Trải nghiệm người dùng Windows"
#. • MSG_328
msgid "Customize Windows installation?"
@@ -1837,7 +1829,7 @@ msgstr "Ngăn cản Windows To Go truy cập ổ đĩa trong"
#. • MSG_333
msgid "Create a local account with username:"
-msgstr "Tạo tài khoản nội bộ với tên người dùng:"
+msgstr "Tạo tài khoản nội bộ với tên:"
#. • MSG_334
msgid "Set regional options to the same values as this user's"
@@ -1849,17 +1841,17 @@ msgstr "Vô hiệu tự động mã hoá thiết bị BitLocker"
#. • MSG_336
msgid "Persistent log"
-msgstr "Nhật ký lưu vĩnh viễn"
+msgstr "Nhật ký"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"Một tệp tin bổ sung ('%s') cần được tải xuống từ Microsoft để sử dụng tính năng này:\n"
+"Một tệp tin bổ sung ('diskcopy.dll') phải được tải về từ Microsoft để cài đặt MS-DOS:\n"
"- Chọn 'Có' để kết nối tới Internet và tải nó xuống\n"
"- Chọn 'Không' để huỷ tiến trình\n"
"\n"
@@ -1907,7 +1899,7 @@ msgid ""
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation"
msgstr ""
-"Một vài dữ liệu phải được tải xuống từ Microsoft để sử dụng tính năng này:\n"
+"Một vài dữ lieu phải được tải xuống từ Microsoft để sử dụng tính năng này:\n"
"- Chọn 'Có' để kết nối tới Internet và tải xuống nó\n"
"- Chọn 'Không' để huỷ tiến trình"
@@ -1927,123 +1919,11 @@ msgstr "Đang giải nén tệp lưu trữ: %s"
msgid "Use Rufus MBR"
msgstr "Sử dụng Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "Sử dụng bootloader đã được ký bởi chứng chỉ “Windows UEFI CA 2023” (Cần có PC tương thích)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "Đang kiểm tra trạng thái thu hồi của bootloader UEFI..."
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "Đang kiểm tra cập nhật cơ sở dữ liệu chặn (DBX) của UEFI…"
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "Đã phát hiện bản cập nhật DBX của UEFI"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus đã phát hiện phiên bản cập nhật của các tệp DBX, được dùng để kiểm tra thu hồi Secure Boot trong UEFI. Bạn có muốn tải bản cập nhật này không?\n"
-"- Chọn “Có” để kết nối Internet và tải nội dung này.\n"
-"- Chọn “Không” để hủy thao tác.\n"
-"\n"
-"Lưu ý: Các tệp sẽ được tải về thư mục của ứng dụng và sẽ tự động được sử dụng lại nếu đã có sẵn."
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "Xoá sạch ổ cứng và cài đặt ⚠MỘT CÁCH ÂM THẦM⚠:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"Bạn đã lựa chọn phương thức cài đặt Windows \"im lặng\".\n"
-"\n"
-"Đây là một tuỳ chọn nâng cao, dành riêng cho những người muốn tạo một bản cài đặt không thông báo cho người dung xuyên suốt quá trình cài đặt Windows và qua đó XOÁ SẠCH VÔ ĐIỀU KIỆN ổ đĩa được nhận diện đầu tiên. Nếu bạn không cẩn than, sử dụng tuỳ chọn nào có thể gây ra MẤT HOÀN TOÀN DỮ LIỆU\n"
-"\n"
-"Nếu đó không phải thứ bạn muốn, vui long chọn 'Không' để quay trở lại và huỷ chọn tuỳ chọn đó.\n"
-"Thay vào đó, nếu bạn chọn 'Có', bạn chấp thuận rằng mọi trách nhiệm về dữ liệu bị mất hoàn toàn thuộc về BẠN."
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "Vị trí tập tin ảnh đĩa không được hỗ trợ"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"Bạn không thể sử dụng một ảnh đĩa nằm trên thiết bị mục tiêu, vì thiết bị đó sẽ bị xoá hoàn toàn. Nó giống như việc bạn tự chặt cành cây mà bạn đang đứng lên vậy!\n"
-"\n"
-"Vui lòng di chuyển ảnh đĩa tới một vị trí khác và thử lại."
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "Việc bật tuỳ chọn này là hoàn toàn an toàn kể cả khi bạn có TPM hay nhiều RAM hơn, vì tuỳ chọn này chỉ bỏ qua nhừng yêu cầu cài đặt và không ngăn Windows sử dụng mọi tài nguyên phần cứng có thể."
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "Để tuỳ chọn này có hiệu quả, các mạng PHẢI được ngắt kết nối trong quá trình cài đặt!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "Tự động trả lời 'không' cho những câu hỏi liên quan tới việc chia sẻ dữ liệu cho Microsoft, thay vì thông báo cho người dùng."
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "Bạn nên để tuỳ chọn này ở mức 'Bật', trừ khi bạn ổn với việc Windows To Go truy cập vào các thiết bị nội bộ và âm thầm tạo ra những bản cập nhật hệ thống không thể hoàn tác."
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "Tự động tạo một tài khoản nội bộ với tên người dùng đã nêu, cùng một mật khẩu rỗng sẽ cần phải thay đổi trong lần đăng nhập tiếp theo."
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "Sao chép những cài đặt về vùng từ PC này (bàn phím, múi giờ, đơn vị), thay vì thông báo cho người dùng."
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "Không mã hoá ổ đĩa hệ thống, trừ khi được người dùng đích danh yêu cầu."
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "Chỉ sử dụng tuỳ chọn này khi bạn biết S-Mode là gì và bạn hiểu rằng hệ thống của bạn có thể bị khoá ở S-Mode kể cả khi bạn xoá sạch và cài đặt lại Windows."
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "Dùng tuỳ chọn này nếu hệ thống bạn muốn cài đặt Windows đang sử dụng những chứng chỉ Secure Boot (chế độ khởi động bảo mật) mới nhất. Nếu cần thiết, bạn có thể tìm hiểu việc dùng 'Mosby' để cập nhật hệ thống của bạn."
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "Dùng tuỳ chọn này nếu bạn muốn thu hồi những trình khởi động Windows có nguy cơ, nhưng cũng có khả năng ngăn ảnh đĩa Windows cơ bản khởi động."
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Những nâng cấp \"tiện ích trải nghiệm\": Vô hiệu hoá đa số những tính năng không mong muốn Microsoft đang cố nhồi nhét cho người dùng."
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "Nếu bạn sử dụng tuỳ chọn này, hãy chắc chắn rằng bạn đã ngắt kết nối tất cả các ổ đĩa khỏi PC đích, ngoại trừ ổ bạn muốn cài Windows, cũng như là không cắm ảnh đĩa vào bất kì PC nào bạn không muốn xoá sạch."
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
msgid "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
-msgstr "Rufus là một tiện ích giúp định dạng và tạo khả năng khởi động cho các thiết bị USB, ví dụ như thẻ USB/đĩa di động, thẻ nhớ, v.v..."
+msgstr "Rufus là một tiện ích giúp định dạng và tạo khả năng khởi động cho USB, chẳng hạn như thẻ USB/đĩa di động, thẻ nhớ, vv."
#. • MSG_901
msgid "Official site: %s"
diff --git a/res/loc/po/zh-CN.po b/res/loc/po/zh-CN.po
index c831a062..0ace1d99 100644
--- a/res/loc/po/zh-CN.po
+++ b/res/loc/po/zh-CN.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-03-31 15:46+0800\n"
-"PO-Revision-Date: 2026-03-31 16:20+0800\n"
+"POT-Creation-Date: 2024-04-28 10:38+0800\n"
+"PO-Revision-Date: 2024-04-28 10:59+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_CN\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Chinese Simplified (简体中文)\n"
"X-Rufus-LCID: 0x0804, 0x1004\n"
-"X-Generator: Poedit 3.4.4\n"
+"X-Generator: Poedit 3.4.2\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -850,7 +850,7 @@ msgstr "无持久分区"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "设置Live USB驱动器的持久分区大小。设置为零将禁用持久分区。"
@@ -892,7 +892,7 @@ msgstr "另一程序正在使用此驱动器。您仍然要格式化它吗?"
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -1801,14 +1801,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "无法打开或读取 '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "安装时应用 SkuSiPolicy.p7b(参见 KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "优化使用体验(不强制启用 Copilot、OneDrive、Outlook、快速启动等)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "正在应用 Windows 设置: %s"
@@ -1859,13 +1851,13 @@ msgstr "持久化日志"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"必须从 Microsoft 下载附加文件(“%s”)才能使用此功能:\n"
+"必须从微软下载额外的文件(\"diskcopy.dll\"),以安装 MS-DOS:\n"
"- 选择 '是' 连接网络并下载这些文件\n"
"- 选择 '否' 取消此项操作\n"
"\n"
@@ -1933,118 +1925,6 @@ msgstr "正在解压文件: %s"
msgid "Use Rufus MBR"
msgstr "使用 Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "使用'Windows CA 2023'签名的引导加载程序(需要目标电脑兼容)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "正在检查 UEFI 引导加载程序吊销状态…"
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "正在检查 UEFI DBX 更新…"
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "有可用的 DBX 更新"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus 发现了 DBX 文件的更新版本(用于检查 UEFI 安全启动吊销情况)。是否下载此更新?\n"
-"- 选择'是'以连接互联网并下载该内容\n"
-"- 选择'否'以取消操作\n"
-"\n"
-"注意:该文件将下载到应用程序所在目录,若文件已存在则会自动复用。"
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "⚠静默⚠擦除磁盘并安装:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes, you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"您已选择使用\"静默\"Windows 安装选项。\n"
-"\n"
-"这是一个高级选项,适用于希望创建在 Windows 安装过程中不提示用户、无条件擦除目标系统上首个检测到磁盘的安装介质的用户。如果操作不慎,使用此选项可能导致不可逆的数据丢失!\n"
-"\n"
-"如果这不是您想要的,请选择'否'返回并取消勾选该选项。\n"
-"否则,如果您选择'是',即表示您同意承担数据丢失的全部责任。"
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "不支持的映像位置"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"您不能使用位于目标驱动器上的映像,因为该驱动器将被完全擦除。这就好比坐在树枝上锯树枝!\n"
-"\n"
-"请将映像移动到其他位置后重试。"
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "即使您的电脑配备了 TPM 或拥有充足的内存,启用此选项也是安全的,因为该选项仅绕过安装程序的硬件要求检查,并不会阻止 Windows 使用所有可用硬件。"
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "要使此选项生效,安装过程中必须断开网络/互联网连接!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "自动对 Windows 安装过程中有关与 Microsoft 共享数据的问题回答'否',而非提示用户手动选择。"
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "建议保持此选项启用,除非您允许 'Windows To Go' 访问内部磁盘并静默执行不可逆的文件系统升级。"
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "使用指定的用户名自动创建本地账户,初始密码为空,用户在下次登录时需要更改密码。"
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "从当前电脑复制区域设置(键盘布局、时区、货币格式),而非提示用户手动选择。"
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "除非用户明确要求,不加密系统磁盘。"
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "仅在您了解什么是 S 模式、并理解即使完全擦除并重新安装 Windows 后系统仍可能被锁定在 S 模式下的情况下,才使用此选项。"
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "如果您计划安装 Windows 的系统已使用完全最新的安全启动证书,请使用此选项。如有需要,您可以考虑使用 'Mosby' 来更新您的系统。"
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "如果您希望吊销更多可能不安全的 Windows 引导加载程序,请使用此选项,但请注意这也可能导致标准 Windows 安装介质无法启动。"
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "优化使用体验:禁用 Microsoft 试图强加给用户的大部分不必要功能。"
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "如果您使用此选项,请务必断开目标电脑上除要安装 Windows 的磁盘以外的所有磁盘,同时不要将该安装介质插在任何您不想被擦除数据的电脑上。"
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
diff --git a/res/loc/po/zh-TW.po b/res/loc/po/zh-TW.po
index e405f062..dbec848a 100644
--- a/res/loc/po/zh-TW.po
+++ b/res/loc/po/zh-TW.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: 4.14\n"
+"Project-Id-Version: 4.5\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
-"POT-Creation-Date: 2026-04-14 02:06+0800\n"
-"PO-Revision-Date: 2026-04-14 03:18+0800\n"
+"POT-Creation-Date: 2024-05-25 18:11+0800\n"
+"PO-Revision-Date: 2024-05-25 20:05+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_TW\n"
@@ -13,7 +13,7 @@ msgstr ""
"X-Poedit-SourceCharset: UTF-8\n"
"X-Rufus-LanguageName: Chinese Traditional (正體中文)\n"
"X-Rufus-LCID: 0x0404, 0x0c04, 0x1404, 0x7c04\n"
-"X-Generator: Poedit 3.9\n"
+"X-Generator: Poedit 3.4.4\n"
#. • IDD_DIALOG → IDS_DRIVE_PROPERTIES_TXT
msgid "Drive Properties"
@@ -308,7 +308,7 @@ msgstr ""
#. • MSG_025
#.
-#. *Short* version of the petabyte size suffix
+#. *Short* version of the pentabyte size suffix
msgid "PB"
msgstr ""
@@ -843,7 +843,7 @@ msgstr "不固定"
#. • MSG_125
#.
-#. Tooltips used for the persistence size slider and edit control
+#. Tooltips used for the peristence size slider and edit control
msgid "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
msgstr "設定 live USB 的固定磁區大小。大小設定為 0 則移除固定磁區。"
@@ -885,7 +885,7 @@ msgstr "另一個程式或程序正在使用此裝置,要繼續格式化?"
#. • MSG_133
msgid ""
-"Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n"
+"Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n"
"\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n"
"\n"
@@ -893,7 +893,7 @@ msgid ""
msgstr ""
"Rufus 偵測到您將要建立 'Windows To Go' 1809 版本。\n"
"\n"
-"由於微軟的程式錯誤,您將無法正常開機 (藍底白字當機),除非您自行更換 'WppRecorder.sys' 成 1803 版本。\n"
+"由於微軟的程式錯誤,您將無法正常開機 (藍白當機),除非您自行更換 'WppRecorder.sys' 成 1803 版本。\n"
"\n"
"此檔案版權擁有者為微軟,Rufus 愛莫能助..."
@@ -1790,14 +1790,6 @@ msgstr ""
msgid "Unable to open or read '%s'"
msgstr "無法開啟或讀取 '%s'"
-#. • MSG_323
-msgid "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-msgstr "在安裝時套用 SkuSiPolicy.p7b (參閱 KB5042562)"
-
-#. • MSG_324
-msgid "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
-msgstr "Windows 體驗改善 (不強制安裝 Copilot、OneDrive、Outlook、 快速啟動等功能)"
-
#. • MSG_325
msgid "Applying Windows customization: %s"
msgstr "正在套用 Windows 客製化設定:%s"
@@ -1848,13 +1840,13 @@ msgstr "持久化日誌"
#. • MSG_337
msgid ""
-"An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+"An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n"
"\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
msgstr ""
-"必須從 Microsoft 下載附加檔案 (“%s”) 才能使用此功能:\n"
+"必須從微軟下載額外的 'diskcopy.dll' 檔案,才能安裝 MS-DOS:\n"
"- 選 '是' 將連線到網路並進行下載\n"
"- 選 '否' 將取消操作\n"
"\n"
@@ -1922,120 +1914,6 @@ msgstr "正在擷取封存檔案: %s"
msgid "Use Rufus MBR"
msgstr "使用 Rufus MBR"
-#. • MSG_350
-msgid "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-msgstr "使用以 Windows CA 2023 簽署的開機引導程式 (需搭配相容的電腦)"
-
-#. • MSG_351
-msgid "Checking for UEFI bootloader revocation..."
-msgstr "正在檢查 UEFI 開機引導程式是否被撤銷…"
-
-#. • MSG_352
-msgid "Checking for UEFI DBX updates..."
-msgstr "正在檢查 UEFI DBX 更新…"
-
-#. • MSG_353
-msgid "DBX update available"
-msgstr "有可用的 DBX 更新"
-
-#. • MSG_354
-msgid ""
-"Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
-"- Select 'Yes' to connect to the Internet and download this content\n"
-"- Select 'No' to cancel the operation\n"
-"\n"
-"Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-msgstr ""
-"Rufus 發現用於執行 UEFI 安全開機撤銷檢查的 DBX 檔案更新版本,是否下載此更新?\n"
-"- 選擇 '是': 將連線到網路並進行下載\n"
-"- 選擇 '否': 取消此操作\n"
-"\n"
-"註: 該檔案將被下載到 Rufus 所在的資料夾中,如果已存在將會自動使用。"
-
-#. • MSG_355
-msgid "⚠SILENTLY⚠ erase disk and install:"
-msgstr "以 ⚠靜默模式⚠ 清除磁碟並進行安裝:"
-
-#. • MSG_356
-msgid ""
-"You have selected to use the \"silent\" Windows installation option.\n"
-"\n"
-"This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n"
-"\n"
-"If this is not what you want, please select 'No' to go back and uncheck the option.\n"
-"Otherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-msgstr ""
-"你已選擇使用 \"靜默\" Windows 安裝選項。\n"
-"\n"
-"此為進階選項,僅供希望建立在安裝 Windows 過程中不提示使用者的安裝媒體之使用者使用,過程中會直接清除目標系統中偵測到的第一顆磁碟。\n"
-"\n"
-"若操作不慎,此選項可能導致發生無法復原的資料遺失!\n"
-"\n"
-"如果這不是你想要的結果,請選擇 '否' 返回並取消勾選此選項。\n"
-"若你選擇 '是',表示你了解且同意承擔所有可能發生的資料遺失風險。"
-
-#. • MSG_358
-msgid "Unsupported image location"
-msgstr "不支援的映像檔位置"
-
-#. • MSG_359
-msgid ""
-"You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n"
-"\n"
-"Please move the image to a different location and try again."
-msgstr ""
-"你無法使用位於目標磁碟上的映像檔,因為該磁碟將會被完全清除。這就像是試圖鋸斷自己正坐著的樹枝一樣!\n"
-"\n"
-"請將映像檔移至其它位置後再試一次。"
-
-#. • MSG_360
-msgid "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-msgstr "即使支援 TPM 或有更大的記憶體容量,保持啟用此選項也是安全的,因為此選項僅會略過硬體安裝需求,並不會影響 Windows 使用所有可用的硬體資源。"
-
-#. • MSG_361
-msgid "For this option to work, network/Internet MUST be disconnected during installation!"
-msgstr "為了讓此選項生效,安裝過程中必須切斷網路連線!"
-
-#. • MSG_362
-msgid "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-msgstr "自動拒絕 Windows 初始化中與微軟共享資料的相關問題,而非提示使用者進行選擇。"
-
-#. • MSG_363
-msgid "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-msgstr "除非你可以接受 'Windows To Go' 存取內部磁碟,並在未經提示的情況下執行不可逆的檔案系統升級,否則建議保持啟用此選項。"
-
-#. • MSG_364
-msgid "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-msgstr "自動以指定的使用者名稱建立本機帳戶,並設定空白密碼,該密碼需在下次登入時進行變更。"
-
-#. • MSG_365
-msgid "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-msgstr "複製此電腦的區域設定 (鍵盤、時區、貨幣),而非提示使用者進行選擇。"
-
-#. • MSG_366
-msgid "Don't encrypt the system disk, unless explicitly requested by the user."
-msgstr "除非使用者明確要求,否則不要加密系統磁碟。"
-
-#. • MSG_367
-msgid "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-msgstr "僅在你了解 S 模式是什麼,且知道即使完全清除並重新安裝 Windows,系統仍可能被鎖定在 S 模式的情況下使用此選項。"
-
-#. • MSG_368
-msgid "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-msgstr "若你打算安裝 Windows 的系統已完整更新過安全開機憑證,請使用此選項。若有需要,你可以考慮使用 'Mosby' 來更新系統。"
-
-#. • MSG_369
-msgid "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-msgstr "如果你希望撤銷更多可能不安全的 Windows 開機引導程式,請使用此選項,但此操作有可能導致標準 Windows 安裝媒體無法開機。"
-
-#. • MSG_370
-msgid "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-msgstr "Windows 體驗增強: 停用微軟試圖強制提供給終端使用者的大多數不必要功能。"
-
-#. • MSG_371
-msgid "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-msgstr "如果你使用此選項,請確保目標電腦中除了要安裝 Windows 的磁碟以外,其它所有磁碟都已斷開連接,並且不要將安裝媒體插在任何你不想被清除資料的電腦上。"
-
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
@@ -2116,7 +1994,7 @@ msgstr "計算被選取映像的 MD5、SHA-1、SHA-256 和 SHA-512 檢查碼"
#. • MSG_920
msgid "Perform bad blocks checks, including detection of \"fake\" flash drives"
msgstr ""
-"執行壞軌檢查,包括對 ”假“ USB 快閃磁碟\n"
+"執行壞軌檢查,包括對”假“USB 快閃磁碟\n"
"的偵測"
#. • MSG_921
diff --git a/res/loc/pollock/Pollock.cs b/res/loc/pollock/Pollock.cs
index a532e824..44af459a 100644
--- a/res/loc/pollock/Pollock.cs
+++ b/res/loc/pollock/Pollock.cs
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Poedit <-> rufus.loc conversion utility
- * Copyright © 2018-2026 Pete Batard
+ * Copyright © 2018-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -43,7 +43,7 @@ using System.Windows.Forms;
[assembly: AssemblyProduct("Pollock")]
[assembly: AssemblyCopyright("Copyright © 2018-2024 Pete Batard ")]
[assembly: AssemblyTrademark("GNU GPLv3")]
-[assembly: AssemblyVersion("1.8.*")]
+[assembly: AssemblyVersion("1.6.*")]
namespace pollock
{
@@ -124,6 +124,7 @@ namespace pollock
private static int download_status;
private static int console_x_pos;
private static bool in_progress = false;
+ private static bool in_on_change = false;
private static double speed = 0.0f;
///
@@ -882,9 +883,53 @@ namespace pollock
return (response == ConsoleKey.Y);
}
+ // Event handler for FileSystemWatcher. As usual, this is a completely BACKWARDS
+ // implementation by Microsoft that has to be worked around with timers and stuff...
+ private static void OnChanged(object source, FileSystemEventArgs e)
+ {
+ if (in_on_change)
+ return;
+ in_on_change = true;
+ FileInfo file = new FileInfo(e.FullPath);
+ FileStream stream = null;
+ if (file.LastWriteTime >= last_changed.AddMilliseconds(250))
+ {
+ // File may still be locked by Poedit => detect that
+ bool file_locked = true;
+ do
+ {
+ try
+ {
+ stream = file.Open(FileMode.Open, FileAccess.Read, FileShare.None);
+ file_locked = false;
+ }
+ catch (IOException)
+ {
+ if (cancel_requested)
+ break;
+ Thread.Sleep(100);
+ }
+ finally
+ {
+ if (!file_locked)
+ {
+ if (stream != null)
+ stream.Close();
+ last_changed = file.LastWriteTime;
+ Console.Write(file.LastWriteTime.ToLongTimeString() + " - ");
+ UpdateLocFile(ParsePoFile(e.FullPath));
+ }
+ }
+ }
+ while (file_locked);
+ }
+ in_on_change = false;
+ }
+
//
// Main entrypoint.
//
+ [STAThread]
static void Main(string[] args)
{
// Fix needed for Windows 7 to download from github SSL
@@ -1101,7 +1146,7 @@ Retry:
else
{
var old_loc_file = $"rufus-{list[index][2]}.loc";
- Console.WriteLine($"Note: This language is at v{list[index][2]} but the English base is at v{list[0][2]}.");
+ Console.WriteLine($"Note: This language is at v{list[index][2]} but the English base it at v{list[0][2]}.");
Console.Write($"Checking for the presence of '{old_loc_file}' to compute the differences... ");
if (File.Exists(old_loc_file))
{
@@ -1143,15 +1188,23 @@ Retry:
if (maintainer_mode)
goto Exit;
+ // Watch for file modifications
+ FileSystemWatcher watcher = new FileSystemWatcher();
+ watcher.Path = app_dir;
+ watcher.NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite;
+ watcher.Filter = po_file;
+ watcher.Changed += new FileSystemEventHandler(OnChanged);
+ watcher.EnableRaisingEvents = true;
+
// Open the file in PoEdit if we can
- var poedit = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) + @"\Poedit\Poedit.exe";
+ var poedit = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86) + @"\Poedit\Poedit.exe";
if (File.Exists(poedit))
{
Console.WriteLine();
// Console.WriteLine("Please press any key to launch Poedit and edit the PO file.");
Console.WriteLine("*************************************************************************************");
Console.WriteLine($"* The {list[index][0]} translation file ({list[index][1]}) is now ready to be edited in Poedit.");
- Console.WriteLine("* Please look for entries highlighted in orange: they are the ones requiring an update.");
+ Console.WriteLine("* Please look for entries highlited in orange - they are the ones requiring an update.");
Console.WriteLine("*");
Console.WriteLine("* Whenever you save your changes in Poedit, a new 'rufus.loc' will be generated so");
Console.WriteLine($"* that you can test it with '{rufus_file}' in the same directory.");
@@ -1174,52 +1227,7 @@ Retry:
Console.SetCursorPosition(0, Console.CursorTop - 1);
Console.WriteLine("Running Poedit... ");
DateTime launch_date = DateTime.Now;
-
- // Somehow, Palp... I mean, Microsoft broke FileSystemWatcher, so perform our own file system monitoring
- var info = new FileInfo(po_file);
- var length = info.Length;
- var write_time = info.LastWriteTime;
- var create_time = info.CreationTime;
- while (!process.WaitForExit(500))
- {
- info = new FileInfo(po_file);
- if (info.Length != length || info.LastWriteTime != write_time || info.CreationTime != create_time)
- {
- FileStream stream = null;
- if (info.LastWriteTime >= last_changed.AddMilliseconds(250))
- {
- // File may still be locked by Poedit => detect that
- bool file_locked = true;
- do
- {
- try
- {
- stream = info.Open(FileMode.Open, FileAccess.Read, FileShare.None);
- file_locked = false;
- }
- catch (IOException)
- {
- if (cancel_requested)
- break;
- Thread.Sleep(100);
- }
- finally
- {
- if (!file_locked)
- {
- if (stream != null)
- stream.Close();
- last_changed = info.LastWriteTime;
- Console.Write(info.LastWriteTime.ToLongTimeString() + " - ");
- UpdateLocFile(ParsePoFile(info.FullName));
- }
- }
- }
- while (file_locked);
- }
- }
- }
-
+ process.WaitForExit();
Console.WriteLine($"Poedit {((DateTime.Now - launch_date).Milliseconds < 100? "is already running (?)..." : "was closed.")}");
// Delete the .mo files which we don't need
var dir = new DirectoryInfo(app_dir);
diff --git a/res/loc/pollock/Pollock.csproj b/res/loc/pollock/Pollock.csproj
index d19a421e..ab2e74c0 100644
--- a/res/loc/pollock/Pollock.csproj
+++ b/res/loc/pollock/Pollock.csproj
@@ -8,31 +8,27 @@
Exe
pollock
pollock
- v4.8.1
+ v4.8
512
true
-
+
AnyCPU
true
full
- x64
false
bin\Debug\
DEBUG;TRACE
- 8.0
prompt
4
-
+
AnyCPU
pdbonly
- x64
true
bin\Release\
TRACE
- 8.0
prompt
4
@@ -59,13 +55,6 @@
-
-
- False
- Microsoft .NET Framework 4.8 %28x86 and x64%29
- true
-
-
diff --git a/res/loc/pollock/Pollock.sln b/res/loc/pollock/Pollock.sln
index 601e6b5c..602c1777 100644
--- a/res/loc/pollock/Pollock.sln
+++ b/res/loc/pollock/Pollock.sln
@@ -1,20 +1,20 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.14.37111.16 d17.14
+# Visual Studio 15
+VisualStudioVersion = 15.0.27703.2035
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pollock", "Pollock.csproj", "{759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|x64 = Debug|x64
- Release|x64 = Release|x64
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}.Debug|x64.ActiveCfg = Debug|x64
- {759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}.Debug|x64.Build.0 = Debug|x64
- {759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}.Release|x64.ActiveCfg = Release|x64
- {759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}.Release|x64.Build.0 = Release|x64
+ {759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/res/loc/pollock/app.config b/res/loc/pollock/app.config
index eca069e4..3e0e37cf 100644
--- a/res/loc/pollock/app.config
+++ b/res/loc/pollock/app.config
@@ -1,3 +1,3 @@
-
+
diff --git a/res/loc/rufus.loc b/res/loc/rufus.loc
index 0a8c385e..2b562a4b 100644
--- a/res/loc/rufus.loc
+++ b/res/loc/rufus.loc
@@ -3,48 +3,48 @@
#########################################################################
# List of all languages included in this file (with version)
-# • v4.14 "en-US" "English (English)"
-# • v4.14 "ar-SA" "Arabic (العربية)"
-# • v4.14 "bg-BG" "Bulgarian (Български)"
-# • v4.14 "zh-CN" "Chinese Simplified (简体中文)"
-# • v4.14 "zh-TW" "Chinese Traditional (正體中文)"
-# • v4.14 "hr-HR" "Croatian (Hrvatski)"
-# • v4.14 "cs-CZ" "Czech (Čeština)"
-# • v4.14 "da-DK" "Danish (Dansk)"
-# • v4.14 "nl-NL" "Dutch (Nederlands)"
-# • v4.14 "fi-FI" "Finnish (Suomi)"
-# • v4.14 "fr-FR" "French (Français)"
-# • v4.14 "de-DE" "German (Deutsch)"
-# • v4.14 "el-GR" "Greek (Ελληνικά)"
-# • v4.14 "he-IL" "Hebrew (עברית)"
-# • v4.14 "hu-HU" "Hungarian (Magyar)"
-# • v4.14 "id-ID" "Indonesian (Bahasa Indonesia)"
-# • v4.14 "it-IT" "Italian (Italiano)"
-# • v4.14 "ja-JP" "Japanese (日本語)"
-# • v4.14 "ko-KR" "Korean (한국어)"
-# • v4.14 "lv-LV" "Latvian (Latviešu)"
-# • v4.14 "lt-LT" "Lithuanian (Lietuvių)"
-# • v4.14 "ms-MY" "Malay (Bahasa Malaysia)"
-# • v4.14 "nb-NO" "Norwegian (Norsk)"
-# • v4.14 "fa-IR" "Persian (پارسی)"
-# • v4.14 "pl-PL" "Polish (Polski)"
-# • v4.14 "pt-BR" "Portuguese Brazilian (Português do Brasil)"
-# • v4.14 "pt-PT" "Portuguese Standard (Português)"
-# • v4.14 "ro-RO" "Romanian (Română)"
-# • v4.14 "ru-RU" "Russian (Русский)"
-# • v4.14 "sr-RS" "Serbian (Srpski)"
-# • v4.14 "sk-SK" "Slovak (Slovensky)"
+# • v4.5 "en-US" "English (English)"
+# • v4.5 "ar-SA" "Arabic (العربية)"
+# • v3.22 "bg-BG" "Bulgarian (Български)"
+# • v4.5 "zh-CN" "Chinese Simplified (简体中文)"
+# • v4.5 "zh-TW" "Chinese Traditional (正體中文)"
+# • v4.5 "hr-HR" "Croatian (Hrvatski)"
+# • v4.5 "cs-CZ" "Czech (Čeština)"
+# • v4.5 "da-DK" "Danish (Dansk)"
+# • v4.5 "nl-NL" "Dutch (Nederlands)"
+# • v4.5 "fi-FI" "Finnish (Suomi)"
+# • v4.5 "fr-FR" "French (Français)"
+# • v4.5 "de-DE" "German (Deutsch)"
+# • v4.5 "el-GR" "Greek (Ελληνικά)"
+# • v4.5 "he-IL" "Hebrew (עברית)"
+# • v4.5 "hu-HU" "Hungarian (Magyar)"
+# • v3.22 "id-ID" "Indonesian (Bahasa Indonesia)"
+# • v4.5 "it-IT" "Italian (Italiano)"
+# • v4.5 "ja-JP" "Japanese (日本語)"
+# • v4.5 "ko-KR" "Korean (한국어)"
+# • v4.5 "lv-LV" "Latvian (Latviešu)"
+# • v3.22 "lt-LT" "Lithuanian (Lietuvių)"
+# • v3.22 "ms-MY" "Malay (Bahasa Malaysia)"
+# • v4.5 "nb-NO" "Norwegian (Norsk)"
+# • v4.5 "fa-IR" "Persian (پارسی)"
+# • v4.5 "pl-PL" "Polish (Polski)"
+# • v4.5 "pt-BR" "Portuguese Brazilian (Português do Brasil)"
+# • v4.5 "pt-PT" "Portuguese Standard (Português)"
+# • v4.5 "ro-RO" "Romanian (Română)"
+# • v4.5 "ru-RU" "Russian (Русский)"
+# • v4.5 "sr-RS" "Serbian (Srpski)"
+# • v4.5 "sk-SK" "Slovak (Slovensky)"
# • v4.5 "sl-SI" "Slovenian (Slovenščina)"
-# • v4.14 "es-ES" "Spanish (Español)"
-# • v4.14 "sv-SE" "Swedish (Svenska)"
-# • v4.14 "th-TH" "Thai (ไทย)"
-# • v4.14 "tr-TR" "Turkish (Türkçe)"
-# • v4.14 "uk-UA" "Ukrainian (Українська)"
-# • v4.14 "vi-VN" "Vietnamese (Tiếng Việt)"
+# • v4.5 "es-ES" "Spanish (Español)"
+# • v4.5 "sv-SE" "Swedish (Svenska)"
+# • v4.5 "th-TH" "Thai (ไทย)"
+# • v4.5 "tr-TR" "Turkish (Türkçe)"
+# • v4.5 "uk-UA" "Ukrainian (Українська)"
+# • v4.5 "vi-VN" "Vietnamese (Tiếng Việt)"
#########################################################################
l "en-US" "English (English)" 0x0409, 0x0809, 0x0c09, 0x1009, 0x1409, 0x1809, 0x1c09, 0x2009, 0x2409, 0x2809, 0x2c09, 0x3009, 0x3409, 0x3809, 0x3c09, 0x4009, 0x4409, 0x4809
-v 4.14
+v 4.5
g IDD_DIALOG
t IDS_DRIVE_PROPERTIES_TXT "Drive Properties"
@@ -140,7 +140,7 @@ t MSG_022 "MB"
t MSG_023 "GB"
# *Short* version of the terabyte size suffix
t MSG_024 "TB"
-# *Short* version of the petabyte size suffix
+# *Short* version of the pentabyte size suffix
t MSG_025 "PB"
# We use two different messages with the same translation for convenience
t MSG_026 "bytes"
@@ -319,7 +319,7 @@ t MSG_123 "Persistent partition size"
# It is okay to use "No partition" or "None" or "Deactivated" to indicate that a persistent partition will not be
# created if the width of the control is too small (since the 'Size' edit control is *not* adjusted for width).
t MSG_124 "No persistence"
-# Tooltips used for the persistence size slider and edit control
+# Tooltips used for the peristence size slider and edit control
t MSG_125 "Set the size of the persistent partition for live USB media. Setting the size to 0 disables the persistent partition."
t MSG_126 "Set the partition size units."
t MSG_127 "Do not show this message again"
@@ -329,7 +329,7 @@ t MSG_129 "You have just created a media that uses the UEFI:NTFS bootloader. Ple
t MSG_130 "Windows image selection"
t MSG_131 "This ISO contains multiple Windows images.\nPlease select the image you wish to use for this installation:"
t MSG_132 "Another program or process is accessing this drive. Do you want to format it anyway?"
-t MSG_133 "Rufus has detected that you are attempting to create a 'Windows To Go' media based on a 1809 ISO.\n\n"
+t MSG_133 "Rufus has detected that you are attempting to create a Windows To Go media based on a 1809 ISO.\n\n"
"Because of a *MICROSOFT BUG*, this media will crash during Windows boot (Blue Screen Of Death), unless you manually replace the file 'WppRecorder.sys' with a 1803 version.\n\n"
"Also note that the reason Rufus cannot automatically fix this for you is that 'WppRecorder.sys' is a Microsoft copyrighted file, so we cannot legally embed a copy of the file in the application..."
t MSG_134 "Because MBR has been selected for the partition scheme, Rufus can only create a partition up to 2 TB on this media, which will leave %s of disk space unavailable.\n\n"
@@ -577,8 +577,6 @@ t MSG_320 "Refreshing partition layout (%s)..."
t MSG_321 "The image you have selected is an ISOHybrid, but its creators have not made it compatible with ISO/File "
"copy mode.\nAs a result, DD image writing mode will be enforced."
t MSG_322 "Unable to open or read '%s'"
-t MSG_323 "Apply SkuSiPolicy.p7b on installation (See KB5042562)"
-t MSG_324 "QoL improvements (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
t MSG_325 "Applying Windows customization: %s"
t MSG_326 "Applying user options..."
t MSG_327 "Windows User Experience"
@@ -591,7 +589,7 @@ t MSG_333 "Create a local account with username:"
t MSG_334 "Set regional options to the same values as this user's"
t MSG_335 "Disable BitLocker automatic device encryption"
t MSG_336 "Persistent log"
-t MSG_337 "An additional file ('%s') must be downloaded from Microsoft to use this feature:\n"
+t MSG_337 "An additional file ('diskcopy.dll') must be downloaded from Microsoft to install MS-DOS:\n"
"- Select 'Yes' to connect to the Internet and download it\n"
"- Select 'No' to cancel the operation\n\n"
"Note: The file will be downloaded in the application's directory and will be reused automatically if present."
@@ -611,35 +609,6 @@ t MSG_346 "Restrict Windows to S-Mode (INCOMPATIBLE with online account bypass)"
t MSG_347 "Expert Mode"
t MSG_348 "Extracting archive files: %s"
t MSG_349 "Use Rufus MBR"
-t MSG_350 "Use 'Windows CA 2023' signed bootloaders (Requires a compatible target PC)"
-t MSG_351 "Checking for UEFI bootloader revocation..."
-t MSG_352 "Checking for UEFI DBX updates..."
-t MSG_353 "DBX update available"
-t MSG_354 "Rufus has found an updated version of the DBX files used to perform UEFI Secure Boot revocation checks. Do you want to download this update?\n"
- "- Select 'Yes' to connect to the Internet and download this content\n"
- "- Select 'No' to cancel the operation\n\n"
- "Note: The files will be downloaded in the application's directory and will be reused automatically if present."
-t MSG_355 "⚠SILENTLY⚠ erase disk and install:"
-t MSG_356 "You have selected to use the \"silent\" Windows installation option.\n\n"
- "This is an advanced option, reserved for people who want to create media that does not prompt the user during Windows installation and therefore UNCONDITIONALLY ERASES the "
- "first detected disk on the target system. If you are not careful, using this option can result in IRREVERSIBLE DATA LOSS!\n\nIf this is not what you want, please select 'No' "
- "to go back and uncheck the option.\nOtherwise, if you select 'Yes', you agree that the whole responsibility for any data loss will be entirely with YOU."
-t MSG_358 "Unsupported image location"
-t MSG_359 "You cannot use an image that is located on the target drive, since that drive is going to be completely erased. It's the same thing as trying to saw the branch you are sitting on!\n\n"
- "Please move the image to a different location and try again."
-t MSG_360 "It is safe to leave this option enabled even if you have a TPM or more RAM, as this option only bypasses the setup requirements and does not actually prevent Windows from using all the hardware available."
-t MSG_361 "For this option to work, network/Internet MUST be disconnected during installation!"
-t MSG_362 "Automatically answer 'no' to the Windows setup questions relating to the sharing of data with Microsoft, instead of prompting the user."
-t MSG_363 "You should leave this option enabled, unless you are okay with 'Windows To Go' accessing internal disks and silently performing irreversible file system upgrades."
-t MSG_364 "Automatically create a local account with the specified user name, using an empty password that will need to be changed on next logon."
-t MSG_365 "Duplicate the regional settings from this PC (keyboard, timezone, currency), instead of prompting the user."
-t MSG_366 "Don't encrypt the system disk, unless explicitly requested by the user."
-t MSG_367 "Use this option only if you know what S-Mode is and understand that your system may be locked into S-Mode even after you completely erase and reinstall Windows."
-t MSG_368 "Use this option if the system you plan to install Windows on is using fully up-to-date Secure Boot certificates. If needed, you can look into using 'Mosby' to update your system."
-t MSG_369 "Use this option if you want to revoke additional potentially unsafe Windows bootloaders, but with the potential of also preventing standard Windows media from booting."
-t MSG_370 "\"Quality of Life\" enhancements: Disable most of the unwanted features Microsoft is trying to force onto end users."
-t MSG_371 "If you use this option, please make sure to disconnect every disk from the target PC, except the one you want to install Windows on, as well as not leave the media plugged into any PC you don't want to erase."
-
# The following messages are for the Windows Store listing only and are not used by the application
t MSG_900 "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
t MSG_901 "Official site: %s"
@@ -667,7 +636,7 @@ t MSG_922 "Download UEFI Shell ISOs"
#########################################################################
l "ar-SA" "Arabic (العربية)" 0x0401, 0x0801, 0x0c01, 0x1001, 0x1401, 0x1801, 0x1c01, 0x2001, 0x2401, 0x2801, 0x2c01, 0x3001, 0x3401, 0x3801, 0x3c01, 0x4001
-v 4.14
+v 4.5
b "en-US"
a "r"
@@ -849,7 +818,6 @@ t MSG_114 "تستخدم هذه الصورة Syslinux %s%s لكن هذا التط
t MSG_115 "التنزيل من الانترنت مطلوب"
t MSG_116 "هذه الصورة (image) تستعمل Grub %s لكن التطبيق يحتوي فقط على ملفات تثبيت Grub %s.\n\nبما أن إصدارات Grub المختلفة قد لا تتوافق مع بعضهاالبعض، وبما أنه لا يمكن ضمها كلها، فسيحاول Rufus تحديد مكان إصدار من ملف تثبيت Grub ('core.img') يتوافق مع الموجود في صورتك:\n- إختر 'نعم' للاتصال بلالأنترنت ومحاولة تنزيله\n- إختر 'لا' لاستعمال الإصدار الافتراضي من Rufus\n- إختر 'إلغاء' لوقف العملية\n\nملاحظة: سيتم تنزيل الملف في المجلد الحالي للتطبيق و سيستعمل تلقائيا إذا كان موجداً. إذا لم يتم العثور على إصدار موافق، فسيُستعمل الإصدار الافتراضي كبديل."
t MSG_117 "التثبيت القياسي لنظام التشغيل Windows"
-t MSG_118 "ويندوز المحمول (Windows To Go)"
t MSG_119 "خصائص محرك الأقراص المتقدّمة"
t MSG_120 "خيارات التهّيئة المتقدّمة"
t MSG_121 "أظهار %s"
@@ -864,7 +832,7 @@ t MSG_129 "لقد قمت لتوك بإنشاء وسائط تستخدم محمل
t MSG_130 "اختيار صورة Windows"
t MSG_131 "يحتوي ملف ISO هذا على العديد من صور Windows.\nالرجاء تحديد الصورة التي ترغب في استخدامها لهذا التثبيت:"
t MSG_132 "هذا القرص يستخدم من قبل برنامج آخر. هل تود التهيئة على أية حال ؟"
-t MSG_133 "اكتشف برنامج روفوس Rufus أنك تحاول إنشاء وسائط \"Windows To Go\" باستخدام ملف ISO من إصدار 1809.\n\nبسبب خلل برمجي في مايكروسوفت، ستتعطل هذه الوسائط أثناء تشغيل ويندوز (شاشة الموت الزرقاء)، ما لم تستبدل الملف \"WppRecorder.sys\" يدويًا بنسخة من إصدار 1803.\n\nيُرجى العلم أيضًا أن سبب عدم قدرة روفوس Rufus على إصلاح هذه المشكلة تلقائيًا هو أن الملف \"WppRecorder.sys\" محمي بحقوق الطبع والنشر لمايكروسوفت، لذا لا يمكننا قانونيًا تضمين نسخة منه في التطبيق."
+t MSG_133 "لقد قام Rufus بإكتشاف أنك تحاول إنشاء وسائط Windows To Go بناءً على ISO 1809\n\nبسبب عيب في Microsoft, سوف تتوقف الوسائط خلال إقلاع Windows (شاشة الموت الزرقاء) ما لم تقم يدوياً بإستبدال ملف 'WppRecorder.sys' بإصدار 1803.\n\nيرجى العلم أن سبب عدم إمكانية Rufus من إصلاح المشكلة تلقائيا هو أن ملف 'WppRecorder.sys' محفوظ الحقوق ل Microsoft, لذلك لا يمكننا تضمين نسخة من الملف في التطبيق..."
t MSG_134 "بسبب إختيار نظام التجزئة MBR, Rufus(Rufus) قادر فقط على إنشاء تجزئة لغاية 2 TB على هذه الوسائط, الذي سوف يؤدي إلى عدم توفر %s من مساحة القرص.\n\nهل تريد المتابعة ؟"
t MSG_135 "الإصدار"
t MSG_136 "الإطلاق"
@@ -1052,8 +1020,6 @@ t MSG_319 "تجاهل علامة الإقلاع"
t MSG_320 "جاري تحديث تخطيط القسم (%s) ..."
t MSG_321 "الصورة التي حددتها هي ISO-Hybrid (هجينة) ، لكن منشئوها لم يجعلوها متوافقة مع وضع نسخ ملف ISO. \nنتيجة لذلك ، سيتم فرض وضع DD لكتابة الصورة."
t MSG_322 "غير قادر على فتح أو قراءة '%s'"
-t MSG_323 "قم بتطبيق SkuSiPolicy.p7b عند التثبيت (ألق نظرة على KB5042562)"
-t MSG_324 "تحسينات جودة الحياة QoL (لا تفرض استخدام Copilot أو OneDrive أو Outlook أو Fast Startup، إلخ..)."
t MSG_325 "جاري تطبيق تخصيصات ويندوز: %s"
t MSG_326 "جاري تطبيق خيارات المستخدم ..."
t MSG_327 "تجربة مستخدم ويندوز"
@@ -1066,7 +1032,7 @@ t MSG_333 "قم بإنشاء حساب محلي باسم المستخدم:"
t MSG_334 "قم بتعيين الخيارات الإقليمية لتطابق خيارات المستخدم الحالي"
t MSG_335 "تعطيل التشفير التلقائي BitLocker للجهاز"
t MSG_336 "سجل متواصل"
-t MSG_337 "يجب تنزيل ملف إضافي ('%s') من مايكروسفت Microsoft لاستخدام هذه الميزة:\n- حدد \"نعم\" للاتصال بالإنترنت وتنزيله\n- اختر \"لا\" لإلغاء العملية\n\nملاحظة: سيتم تنزيل الملف في مجلد التطبيق وسيتم إعادة استخدامه تلقائيًا إذا كان موجودًا."
+t MSG_337 "يجب تنزيل ملف إضافي ('diskcopy.dll') من Microsoft لتثبيت MS-DOS:\n- حدد \"نعم\" للاتصال بالإنترنت وتنزيله\n- اختر \"لا\" لإلغاء العملية\n\nملاحظة: سيتم تنزيل الملف في مجلد التطبيق وسيتم إعادة استخدامه تلقائيًا إذا كان موجودًا."
t MSG_338 "تم اكتشاف أداة تحميل التشغيل UEFI التي تم إبطالها سابقا"
t MSG_339 "اكتشف Rufus أن ملف ISO الذي حددته يحتوي على أداة تحميل التشغيل UEFI التي تم إبطالها سابقا والتي ستنتج %s، عند تمكين Secure Boot محدث بالكامل على نظام UEFI .\n\n- إذا حصلت على صورة ISO هذه من مصدر غير حسن السمعة، فيجب أن تفكر في احتمالية احتوائها على برامج UEFI ضارة وتجنب التشغيل منها.\n- إذا حصلت على صورة ISO هذه من مصدر موثوق به، فعليك محاولة العثور على إصدار أكثر حداثة، والذي لن ينتج عنه هذا التحذير."
t MSG_340 "شاشة \"الانتهاكات الأمنية\""
@@ -1075,31 +1041,10 @@ t MSG_342 "صورة VHDX مضغوطة"
t MSG_343 "صورة VHD غير مضغوطة"
t MSG_344 "صورة (image) لتحديث فلاشة كاملة (FFU)"
t MSG_345 "يجب تنزيل بعض البيانات الإضافية من Microsoft لاستخدام هذه الوظيفة:\n- اختر \"نعم\" للاتصال بالإنترنت وتنزيلها\n- اختر \"لا\" لإلغاء العملية"
-t MSG_346 "تقييد Windows على الوضع \"S-Mode\" (غير متوافق مع تجاوز الحساب عبر الإنترنت)"
+t MSG_346 "تقييد Windows على الوضع \"S\" (S-Mode، غير متوافق مع تجاوز الحساب عبر الإنترنت)"
t MSG_347 "وضع الخبير"
t MSG_348 "استخراج ملفات الأرشيف: %s"
t MSG_349 "استخدم Refus MBR"
-t MSG_350 "استخدم برامج الإقلاع المُوَقع \"Windows CA 2023\" (يتطلب أن يكون جهاز كمبيوتر المستهدف متوافقا)"
-t MSG_351 "جارٍ التحقق من إلغاء صلاحية برنامج الإقلاع UEFI bootloader..."
-t MSG_352 "جارٍ التحقق من وجود تحديثات لـ UEFI DBX..."
-t MSG_353 "تحديث الـ DBX متوفر"
-t MSG_354 "عثر روفوس Rufus على نسخة محدثة من ملفات DBX المستخدمة لإجراء فحوصات إلغاء التمهيد الآمن لـ UEFI. هل ترغب بتنزيل هذا التحديث؟\n- اختر «نعم» للاتصال بالإنترنت وتنزيل هذا المحتوى\n- اختر «لا» لإلغاء العملية\n\nملاحظة: سيتم تنزيل الملفات في مجلد التطبيق، وسيتم إعادة استخدامها تلقائيًا في حال وجودها."
-t MSG_355 "⚠بصمت⚠ امسح القرص وقم بالتثبيت:"
-t MSG_356 "لقد اخترتَ استخدام خيار التثبيت الصامت لنظام ويندوز.\n\nحذار: هذا خيار متقدم، مخصص لمن يرغبون في إنشاء وسائط تثبيت لا تُطالب المستخدم بأي إجراء أثناء تثبيت ويندوز، وبالتالي ** تمسح القرص الأول المُكتشف على النظام المستهدف مسحًا تامًا **. في حال عدم توخي الحذر، قد يؤدي استخدام هذا الخيار إلى فقدان البيانات بشكل لا رجعة فيه!\n\nإذا لم يكن هذا ما تريده، يُرجى اختيار \"لا\" للعودة وإلغاء تحديد الخيار.\n\nأما إذا اخترتَ \"نعم\"، فأنتَ تُقرّ بأنك تتحمل كامل المسؤولية عن أي فقدان للبيانات."
-t MSG_358 "موقع الصورة غير مدعوم"
-t MSG_359 "لا يمكنك استخدام صورة موجودة على القرص المستهدف، لأن هذا القرص سيُمسح بالكامل. الأمر أشبه بمحاولة قطع الغصن الذي تجلس عليه!\n\nيرجى نقل الصورة إلى قرص آخر ثم المحاولة مرة أخرى."
-t MSG_360 "من الآمن ترك هذا الخيار مفعلاً حتى لو لم يكن لديك وحدة TPM أو المزيد من ذاكرة الوصول العشوائي، لأن هذا الخيار يتجاوز متطلبات الإعداد فقط ولا يمنع نظام التشغيل Windows فعليًا من استخدام جميع الأجهزة المتاحة."
-t MSG_361 "لكي يعمل هذا الخيار، يجب فصل شبكة الإنترنت أثناء التثبيت!"
-t MSG_362 "قم بالإجابة تلقائيًا بـ \"لا\" على أسئلة إعداد ويندوز Windows المتعلقة بمشاركة البيانات مع مايكروسفت Microsoft، بدلاً من مطالبة المستخدم بذلك."
-t MSG_363 "يجب عليك ترك هذا الخيار مفعلاً، إلا إذا كنت موافقًا على وصول \"Windows To Go\" إلى الأقراص الداخلية والإجراء بصمت ترقيات نظام الملفات التي لا رجعة فيها."
-t MSG_364 "إنشاء حساب محلي تلقائيًا باسم المستخدم المحدد، باستخدام كلمة مرور فارغة والتي يجب تغييرها عند تسجيل الدخول التالي."
-t MSG_365 "قم بإستخدم نفس الإعدادات الإقليمية لهذا الكمبيوتر (لوحة المفاتيح، المنطقة الزمنية، العملة)، بدلاً من مطالبة المستخدم."
-t MSG_366 "لا تقم بتشفير قرص النظام، إلا إذا طلب المستخدم ذلك صراحةً."
-t MSG_367 "حذار: استخدم هذا الخيار فقط إذا كنت تعرف ما هو الوضع S-Mode وتفهم أن نظامك قد يظل عالقًا في الوضع S-Mode حتى بعد مسح نظام التشغيل ويندوز Windows وإعادة تثبيته بالكامل."
-t MSG_368 "استخدم هذا الخيار إذا كان النظام الذي تنوي تثبيت ويندوز عليه يستخدم شهادات التمهيد الآمن Secure Boot المحدثة بالكامل. إذا لزم الأمر، يمكنك البحث في استخدام \"موسبي\" Mosby لتحديث نظامك."
-t MSG_369 "استخدم هذا الخيار إذا كنت ترغب في إلغاء برامج اقلاع نظام التشغيل ويندوز الإضافية التي يحتمل أن تكون غير آمنة bootloaders، ولكن هذا يمكن أن يمنع وسائط ويندوز القياسية من الإقلاع أيضًا."
-t MSG_370 "تحسينات \"جودة الحياة\": تعطيل معظم الميزات غير المرغوب فيها التي تحاول مايكروسوفت فرضها على المستخدمين."
-t MSG_371 "إذا كنت تستخدم هذا الخيار، فيرجى التأكد من فصل كل الأقراص عن جهاز الكمبيوتر المستهدف، باستثناء القرص الذي تريد تثبيت نظام التشغيل ويندوز Windows عليه، وكذلك عدم ترك هذه الفلاشة موصولة بأي جهاز كمبيوتر لا تريد مسحه."
t MSG_900 "برنامج Rufus هو أداة تساعد في تنسيق وإنشاء أقراص الإقلاع USB، مثل مفاتيح USB، بطاقات الذاكرة، وغيرها."
t MSG_901 "الموقع الرسمي: %s"
t MSG_902 "كود المصدر: %s"
@@ -1122,7 +1067,7 @@ t MSG_922 "قم بتنزيل UEFI Shell ISOs"
######################################################################
l "bg-BG" "Bulgarian (Български)" 0x0402
-v 4.14
+v 3.22
b "en-US"
g IDD_ABOUTBOX
@@ -1140,7 +1085,7 @@ t IDS_PARTITION_TYPE_TXT "Дялова схема"
t IDS_TARGET_SYSTEM_TXT "Целева система"
t IDC_LIST_USB_HDD "Изброяване на USB дискове"
t IDC_OLD_BIOS_FIXES "Добави поправки за стари BIOS-и"
-t IDC_UEFI_MEDIA_VALIDATION "Активиране на валидиране на UEFI носителя по време на работа"
+t IDC_UEFI_MEDIA_VALIDATION "Активиране на валидирането на UEFI медия по време на изпълнение"
t IDS_FORMAT_OPTIONS_TXT "Опции за форматиране"
t IDS_FILE_SYSTEM_TXT "Файлова система"
t IDS_CLUSTER_SIZE_TXT "Размер на клъстера"
@@ -1186,7 +1131,7 @@ t IDC_CHECK_NOW "Провери сега"
t MSG_001 "Засечена е друга инстанция"
t MSG_002 "Засечено е друго работещо Rufus приложение.\nМоля, затворете първото приложение преди да стартирате ново."
-t MSG_003 "ВНИМАНИЕ: ВСИЧКАТА ИНФОРМАЦИЯ НА УСТРОЙСТВО '%s' ЩЕ БЪДЕ УНИЩОЖЕНА.\nЗа да продължите с тази операция, натиснете OK. За да я прекратите, натиснете ОТКАЖИ."
+t MSG_003 "ВНИМАНИЕ: ВСИЧКАТА ИНФОРМАЦИЯ НА УСТРОЙСТВО '%s' ЩЕ БЪДЕ УНИЩОЖЕНА.\nЗа да продължите с тази операция, натиснете OK. За да я прекратите, натиснете CANCEL."
t MSG_004 "Rufus политика за актуализации"
t MSG_005 "Желаете ли да разрешите на Rufus да проверява за актуализации в интернет?"
t MSG_006 "Затвори"
@@ -1267,7 +1212,7 @@ t MSG_080 "Rufus засече, че Windows все още прочиства в
t MSG_081 "Неподдържан образ"
t MSG_082 "Този образ не е зареждащ или използва зареждащ или компресиращ метод който не се поддържа от Rufus..."
t MSG_083 "Заместване на %s ?"
-t MSG_084 "Изглежда, че този ISO образ използва стара версия на '%s'.\nПоради тази причина стартиращите менюта може да не бъдат изобразени правилно.\n\nПо-нова версия може да бъде изтеглена от Rufus, за да отстрани този проблем:\n- Изберете 'Да', за да се свържете с интернет и да изтеглите необходимият файл\n- Изберете 'Не', за да продължите с настоящият ISO файл\nАко не знаете какво да правите, е препоръчително да изберете 'Да'.\n\nБележка: Този файл ще бъде изтеглен в настоящата директория и щом '%s' е наличен, процесът ще продължи автоматично."
+t MSG_084 "Изглежда, че този ISO образ използва стара версия на '%s'.\nПоради тази причина стартиращите менюта може да не бъдат изобразени правилно.\n\nПо-нова версия може да бъде изтеглена от Rufus, за да отстрани този проблем:\n- Изберете 'Yes', за да се свържете с интернет и да изтеглите необходимият файл\n- Изберете 'No', за да продължите с настоящият ISO файл\nАко не знаете какво да правите, е препоръчително да изберете 'Yes'.\n\nБележка: Този файл ще бъде изтеглен в настоящата директория и щом '%s' е наличен, процесът ще продължи автоматично."
t MSG_085 "Изтегляне %s"
t MSG_086 "Не е избран образ"
t MSG_087 "за %s NAND"
@@ -1287,7 +1232,7 @@ t MSG_100 "Този ISO образ съдържа файл по голям от
t MSG_101 "Липсваща WIM подръжка"
t MSG_102 "Вашата платформа не може да извлече файлове от WIM архивите. WIM извличането е необходимо за създаване на EFI стартиращи Windows 7 и Windows Vista USB устройства. Може да поправите това като инсталирате последната версия на 7-Zip.\nИскате ли да посетите страницата за изтегляне на 7-zip?"
t MSG_103 "Изтегляне на %s?"
-t MSG_104 "%s или по-нов изисква '%s' файл да бъде инсталиран.\nТъй като този файл е повече от 100 KB в размер и винаги присъства на %s ISO образи, той не е включен в Rufus.\n\nRufus може да изтегли липсващият файл за вас:\n- Изберете 'Да', за да се свържете с интернет и да изтеглите файла\n- Изберете 'Не', ако искате ръчно да копирате този файл\n\nБележка: Този файл ще бъде изтеглен в настоящата директория и щом '%s' е наличен, процесът ще продължи автоматично."
+t MSG_104 "%s или по-нов изисква '%s' файл да бъде инсталиран.\nТъй като този файл е повече от 100 KB в размер и винаги присъства на %s ISO образи, той не е включен в Rufus.\n\nRufus може да изтегли липсващият файл за вас:\n- Изберете 'Yes', за да се свържете с интернет и да изтеглите файла\n- Изберете 'No', ако искате ръчно да копирате този файл\n\nБележка: Този файл ще бъде изтеглен в настоящата директория и щом '%s' е наличен, процесът ще продължи автоматично."
t MSG_105 "Прекратяването може да остави устройството в НЕИЗПОЛЗВАЕМО състояние.\nАко сте сигурни, че искате да прекратите, натиснете YES. В противен случай, натиснете NO."
t MSG_106 "Моля изберете папка"
t MSG_107 "Всички файлове"
@@ -1297,9 +1242,9 @@ t MSG_110 "MS-DOS не може да стартира от устройство
t MSG_111 "Несъвместим размер на клъстера"
t MSG_112 "Форматирането на големи UDF томове може да отнеме много време. При USB 2.0 скорости, изчисленото време за форматиране е %d:%02d, при което процесната лента ще изглежда като замръзнала. Моля, бъдете търпеливи!"
t MSG_113 "Голям UDF дял"
-t MSG_114 "Този образ използва Syslinux %s%s, но тази програма включва само инсталационни файлове за Syslinux %s%s.\n\nТъй като новите версии на Syslinux не са съвместими една с друга и няма да е възможно Rufus да ги включи всичките, два допълнителни файла трябва да бъдат изтеглени от Интернет ('ldlinux.sys' и 'ldlinux.bss'):\n- Изберете 'Да', за да се свържете с интернет и да изтеглите тези файлове\n- Изберете 'Не', за да прекратите тази операция\n\nБележка: Тези файлове ще бъдат изтеглени в настоящата директория на програмата и ще бъдат използвани автоматично щом са налични."
+t MSG_114 "Този образ използва Syslinux %s%s, но тази програма включва само инсталационни файлове за Syslinux %s%s.\n\nТъй като новите версии на Syslinux не са съвместими една с друга и няма да е възможно Rufus да ги включи всичките, два допълнителни файла трябва да бъдат изтеглени от Интернет ('ldlinux.sys' и 'ldlinux.bss'):\n- Изберете 'Yes', за да се свържете с интернет и да изтеглите тези файлове\n- Изберете 'No', за да прекратите тази операция\n\nБележка: Тези файлове ще бъдат изтеглени в настоящата директория на програмата и ще бъдат използвани автоматично щом са налични."
t MSG_115 "Необходимо е изтегляне"
-t MSG_116 "Този образ използва GRUB %s Но приложението съдържа само инсталацйонните файлове за GRUB %s.\n\n Тъй като различните версии на GRUB може да не са съвместими една с друга и не е възможно да се включат всички, Rufus ще опита да намери версия на GRUB инсталационният файл ('core.img'), който съвпада с този от вашият образ: \n- Изберете 'Да', за да се свържете с интернет и да я изтеглите\n- Изберете 'Не', за да използвате версията по подразбиране на Rufus\n- Изберете 'Откажи', за да прекратите операцията\n\nЗабележка: Файлът ще бъде изтеглен в настоящата директория и ще бъде използван автоматично, щом е наличен. Ако не е намерено съвпадение, ще бъде използвана версията по подразбиране."
+t MSG_116 "Този образ използва GRUB %s Но приложението съдържа само инсталацйонните файлове за GRUB %s.\n\n Тъй като различните версии на GRUB може да не са съвместими една с друга и не е възможно да се включат всички, Rufus ще опита да намери версия на GRUB инсталационният файл ('core.img'), който съвпада с този от вашият образ: \n- Изберете 'Yes', за да се свържете с интернет и да я изтеглите\n- Изберете 'No', за да използвате версията по подразбиране на Rufus\n- Изберете 'Cancel', за да прекратите операцията\n\nЗабележка: Файлът ще бъде изтеглен в настоящата директория и ще бъде използван автоматично, щом е наличен. Ако не е намерено съвпадение, ще бъде използвана версията по подразбиране."
t MSG_117 "Стандартна Windows инсталация"
t MSG_118 "Windows To Go (Windows за USB Flash устройство)"
t MSG_119 "разширени свойства на устройството"
@@ -1316,7 +1261,7 @@ t MSG_129 "Създадохте носител, който използва UEFI
t MSG_130 "Избор на образ на Windows"
t MSG_131 "Този ISO съдържа няколко образа на Windows.\nМоля, изберете образа, който искате да използвате за тази инсталация:"
t MSG_132 "Друга програма или процес използва това устройство. Наистина ли искате да го форматирате?"
-t MSG_133 "Rufus установи, че се опитвате да създадете носител с \"Windows To Go\", базиран на ISO с версия 1809.\n\nПоради *БЪГ НА MICROSOFT*, този носител ще крашне при зареждане на Windows (Син екран на смъртта), освен ако не замените ръчно файла 'WppRecorder.sys' с версията от 1803.\n\nЗабележка: Rufus не може автоматично да поправи това, тъй като файлът 'WppRecorder.sys' е обект на авторско право на Microsoft и не можем законно да включим копие от него в приложението..."
+t MSG_133 "Rufus забеляза, че се опитвате да създадете носител с \"Windows To Go\", базиран на 1809 ISO.\n\nПоради *MICROSOFT BUG*, този носител ще крашне при зареждане на Windows (Син екран на смъртта), ако не замените ръчно файла 'WppRecorder.sys' със същия от версия 1803.\n\nЗабележка: Rufus не може автоматично да поправи това, защото файлът 'WppRecorder.sys' е запазен с авторско право от Microsoft, поради което не можем да съхраняваме легално копие на този файл в програмата..."
t MSG_134 "Тъй като за схемата за дял е избрано MBR, Rufus може да създаде дял до максимум 2 ТБ на този носител, което ще остави %s дисково пространство неизползвано.\n\nНаистина ли искате да продължите?"
t MSG_135 "Версия"
t MSG_136 "Издание"
@@ -1349,7 +1294,8 @@ t MSG_163 "Метод по който ще бъдат създадени дял
t MSG_164 "Метод, който ще бъде използван, за да се направи устройството стартиращо"
t MSG_165 "Натиснете, за да изберете или изтеглите образ..."
t MSG_166 "Сложете тази отметка за да разрешите показването на интернационални етикети и да зададете икона на устройството (създава autorun.inf)"
-t MSG_167 "Инсталиране на UEFI bootloader, който извършва MD5 проверка на файловете на носителя"
+t MSG_167 "Инсталира MBR, който позволява избор на операционна система и може да маскира BIOS USB устройствения ИД"
+t MSG_168 "Опитва да маскираш първото USB устройство(обикновено 0x80) като различен диск.\nТова би трябвало да е необходимо само ако инсталирате Windows XP и имате повече от един диск."
t MSG_169 "Създай допълнителен скрит дял и опитай да подредиш границите на дяловете.\nТова може да подобри засичането на стартиращи системи при по-стари версии на BIOS."
t MSG_170 "Разреши изброяването на USB хард дискови заграждения. ИЗПОЛЗВАЙТЕ НА СВОЙ РИСК!!!"
t MSG_171 "Стартиране на форматиращата операция.\nТова ще УНИЩОЖИ всякаква информация на целта!"
@@ -1357,7 +1303,7 @@ t MSG_172 "Невалиден подпис на изтеглянето"
t MSG_173 "Натиснете тук за да изберете..."
t MSG_174 "Rufus - Надеждната USB форматираща програма"
t MSG_175 "Версия %d.%d (Build %d)"
-t MSG_176 "Български превод:\\line• Krasimir Nevenov \\line• Kaloyan Nikolov \\line• Niko "
+t MSG_176 "Български превод:\\line• Krasimir Nevenov \\line• Kaloyan Nikolov "
t MSG_177 "Докладвайте за проблем или поискайте подобрения на:"
t MSG_178 "Допълнителни авторски права:"
t MSG_179 "Политика за актуализации:"
@@ -1488,7 +1434,7 @@ t MSG_303 "Покажи регистъра"
t MSG_304 "Създай дисков образ на избраното устройство"
t MSG_305 "Използвайте тази опция, за да изберете дали искате да използвате това устройство, за да инсталирате Windows на друг диск, или за да създадете преносима инсталация на Windows на това устройство (Windows To Go)."
t MSG_306 "Бързо нулиране на устройството: %s"
-t MSG_307 "това може да отнеме време"
+t MSG_307 "Това може да отнеме време"
t MSG_308 "Засичане на VHD"
t MSG_309 "Компресиран архив"
t MSG_310 "ISO-то, което сте избрали, използва UEFI и е достатъчно малко да бъде записано като EFI System Partition (ESP). Записването в ESP, вместо в обикновен дял, може да е по-подходящо за някои типове инсталации.\n\nМоля, изберете режимът, който искате да използвате, за да запишете този образ:"
@@ -1504,8 +1450,6 @@ t MSG_319 "Игнорирай Boot маркер"
t MSG_320 "Обновяване на дяловете (%s)..."
t MSG_321 "Образът, който сте избрали, е ISOHybrid, но създателите му не са го направили съвместим с ISO/File режим на копиране.\nЗатова ще бъде използван DD метод на записване на образа."
t MSG_322 "Неуспешно отваряне или прочитане на '%s'"
-t MSG_323 "Прилагане на SkuSiPolicy.p7b по време на инсталация (вж. KB5042562)"
-t MSG_324 "Подобрения за улеснение (без принудително активиране на Copilot, OneDrive, Outlook, Fast Startup и др.)"
t MSG_325 "Прилагане на персонализации на Windows: %s"
t MSG_326 "Прилагане на настройки на потребителя..."
t MSG_328 "Персонализиране на инсталацията на Windows?"
@@ -1517,40 +1461,6 @@ t MSG_333 "Създаване на локален акаунт с потреби
t MSG_334 "Задаване на регионални настройки със същите стойности, като на този потребител"
t MSG_335 "Изключване на автоматичното криптиране на устройството с BitLocker"
t MSG_336 "Устойчив лог"
-t MSG_337 "За да използвате тази функция, трябва да бъде изтеглен допълнителен файл ('%s') от Microsoft:\n- Изберете 'Да', за да се свържете с интернет и да го изтеглите\n- Изберете 'Не', за да отмените операцията\n\nЗабележка: Файлът ще бъде изтеглен в директорията на приложението и ще бъде използван повторно автоматично, ако вече е наличен."
-t MSG_338 "Открит е анулиран UEFI bootloader"
-t MSG_339 "Rufus откри, че избраният ISO образ съдържа UEFI bootloader, който е анулиран и който ще доведе до %s, когато Secure Boot е активиран на напълно актуална UEFI система.\n\n- Ако сте получили този ISO образ от ненадежден източник, трябва да обмислите възможността той да съдържа UEFI зловреден софтуер и да избягвате зареждане от него.\n- Ако сте го получили от доверен източник, трябва да потърсите по-нова версия, която няма да предизвиква това предупреждение."
-t MSG_340 "екран \"Security Violation\""
-t MSG_341 "Windows Recovery екран (BSOD) с '%s'"
-t MSG_342 "Компресиран VHDX образ"
-t MSG_343 "Некомпресиран VHD образ"
-t MSG_344 "Full Flash Update образ"
-t MSG_345 "За да използвате тази функционалност, трябва да бъдат изтеглени допълнителни данни от Microsoft:\n- Изберете 'Да', за да се свържете с интернет и да ги изтеглите\n- Изберете 'Не', за да отмените операцията"
-t MSG_346 "Ограничаване на Windows до S режим (НЕСЪВМЕСТИМО с заобикаляне на онлайн акаунт)"
-t MSG_347 "Експертен режим"
-t MSG_348 "Извличане на файлове от архив: %s"
-t MSG_349 "Използване на MBR на Rufus"
-t MSG_350 "Използване на подписани с 'Windows CA 2023' bootloader-и (изисква съвместим целеви компютър)"
-t MSG_351 "Проверка за анулирани UEFI bootloader-и..."
-t MSG_352 "Проверка за актуализации на UEFI DBX..."
-t MSG_353 "Налична е актуализация на DBX"
-t MSG_354 "Rufus откри актуализирана версия на DBX файловете, използвани за проверка на анулирани UEFI Secure Boot заредители. Желаете ли да изтеглите тази актуализация?\n- Изберете 'Да', за да се свържете с интернет и да изтеглите това съдържание\n- Изберете 'Не', за да отмените операцията\n\nЗабележка: Файловете ще бъдат изтеглени в директорията на приложението и ще бъдат използвани повторно автоматично, ако са налични."
-t MSG_355 "⚠ТИХО⚠ изтриване на диска и инсталиране:"
-t MSG_356 "Избрахте опцията за \"тиха\" инсталация на Windows.\n\nТова е разширена настройка, предназначена за потребители, които желаят да създадат носител, който не изисква намеса по време на инсталацията и съответно БЕЗУСЛОВНО ИЗТРИВА първия открит диск на целевата система. Ако не бъдете внимателни, използването на тази опция може да доведе до НЕВЪЗВРАТИМА ЗАГУБА НА ДАННИ!\n\nАко не желаете това, моля, изберете 'Не', за да се върнете назад и да премахнете отметката от тази опция.\nВ противен случай, избирайки 'Да', вие се съгласявате, че цялата отговорност за всякаква загуба на данни ще бъде ИЗЦЯЛО ВАША."
-t MSG_358 "Неподдържано местоположение на образа"
-t MSG_359 "Не можете да използвате образ, който се намира върху целевото устройство, тъй като това устройство ще бъде напълно изтрито. Това е същото като да се опитвате да отрежете клона, на който седите!\n\nМоля, преместете образа на друго място и опитайте отново."
-t MSG_360 "Безопасно е да оставите тази опция включена, дори ако имате TPM или повече RAM, тъй като тя само заобикаля изискванията на инсталатора и не пречи на Windows да използва целия наличен хардуер."
-t MSG_361 "За да работи тази опция, мрежата/интернет ТРЯБВА да бъдат прекъснати по време на инсталацията!"
-t MSG_362 "Автоматично отговаряне с 'не' на въпросите от инсталацията на Windows, свързани със споделянето на данни с Microsoft, вместо да се изисква намеса от потребителя."
-t MSG_363 "Трябва да оставите тази опция включена, освен ако нямате нищо против 'Windows To Go' да осъществява достъп до вътрешните дискове и тихомълком да извършва невъзвратими ъпгрейди на файловата система."
-t MSG_364 "Автоматично създаване на локален акаунт с указаното потребителско име, използвайки празна парола, която ще трябва да бъде променена при следващото влизане."
-t MSG_365 "Дублиране на регионалните настройки от този компютър (клавиатура, часова зона, валута), вместо да се изисква намеса от потребителя."
-t MSG_366 "Системният диск да не се криптира, освен ако това не е изрично поискано от потребителя."
-t MSG_367 "Използвайте тази опция само ако знаете какво е S режим и разбирате, че системата ви може да остане заключена в S режим дори след като напълно изтриете и преинсталирате Windows."
-t MSG_368 "Използвайте тази опция, ако системата, на която планирате да инсталирате Windows, използва напълно актуални сертификати за Secure Boot. Ако е необходимо, можете да проучите възможността за използване на 'Mosby' за актуализиране на вашата система."
-t MSG_369 "Използвайте тази опция, ако желаете да анулирате допълнителни потенциално опасни Windows bootloader-и, но с риск това да попречи на зареждането и на стандартни инсталационни носители на Windows."
-t MSG_370 "Подобрения за по-лесна работа: Изключване на повечето нежелани функции, които Microsoft се опитва да наложи на потребителите."
-t MSG_371 "Ако използвате тази опция, моля, уверете се, че сте изключили всеки диск от целевия компютър, освен този, на който искате да инсталирате Windows, както и че не сте оставили носителя включен в компютър, който не желаете да бъде изтрит."
t MSG_900 "Rufus е програма, с която можете лесно да форматирате и създавате стартиращи USB устройства, карти с памет и др."
t MSG_901 "Официален сайт: %s"
t MSG_902 "Изходен код: %s"
@@ -1572,7 +1482,7 @@ t MSG_922 "Изтегляне на UEFI Shell образи"
#########################################################################
l "zh-CN" "Chinese Simplified (简体中文)" 0x0804, 0x1004
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -1947,8 +1857,6 @@ t MSG_319 "忽视启动标记(Boot Marker)"
t MSG_320 "刷新分区布局 (%s)..."
t MSG_321 "您选择了一个 ISOHybrid 镜像文件,但此文件与 ISO/File 复制模式不兼容。\n因此强制使用DD镜像写入模式。"
t MSG_322 "无法打开或读取 '%s'"
-t MSG_323 "安装时应用 SkuSiPolicy.p7b(参见 KB5042562)"
-t MSG_324 "优化使用体验(不强制启用 Copilot、OneDrive、Outlook、快速启动等)"
t MSG_325 "正在应用 Windows 设置: %s"
t MSG_326 "正在应用用户设置..."
t MSG_327 "Windows 用户体验"
@@ -1961,7 +1869,7 @@ t MSG_333 "创建一个使用此用户名的本地账号:"
t MSG_334 "使用当前用户的区域设置"
t MSG_335 "禁用 BitLocker 自动设备加密"
t MSG_336 "持久化日志"
-t MSG_337 "必须从 Microsoft 下载附加文件(“%s”)才能使用此功能:\n- 选择 '是' 连接网络并下载这些文件\n- 选择 '否' 取消此项操作\n\n注意:文件将会被下载到当前应用程序目录,如果存在则会自动选用。"
+t MSG_337 "必须从微软下载额外的文件(\"diskcopy.dll\"),以安装 MS-DOS:\n- 选择 '是' 连接网络并下载这些文件\n- 选择 '否' 取消此项操作\n\n注意:文件将会被下载到当前应用程序目录,如果存在则会自动选用。"
t MSG_338 "检测到被吊销的 UEFI 引导加载器"
t MSG_339 "Rufus 检测到您选择的 ISO 包含一个已被吊销的 UEFI 引导加载器,当在最新的 UEFI 系统上启用安全启动时,将产生%s。\n\n- 如果您从非可信来源获取此 ISO 镜像,则应考虑其中可能包含 UEFI 恶意软件,应当避免启动此镜像。\n- 如果是从可信来源获取的,则应尝试查找不会产生此警告的最新版本。"
t MSG_340 "一个“安全违规”界面"
@@ -1974,27 +1882,6 @@ t MSG_346 "将 Windows 限制为 S 模式(与绕过在线账户功能不兼容
t MSG_347 "专家模式"
t MSG_348 "正在解压文件: %s"
t MSG_349 "使用 Rufus MBR"
-t MSG_350 "使用'Windows CA 2023'签名的引导加载程序(需要目标电脑兼容)"
-t MSG_351 "正在检查 UEFI 引导加载程序吊销状态…"
-t MSG_352 "正在检查 UEFI DBX 更新…"
-t MSG_353 "有可用的 DBX 更新"
-t MSG_354 "Rufus 发现了 DBX 文件的更新版本(用于检查 UEFI 安全启动吊销情况)。是否下载此更新?\n- 选择'是'以连接互联网并下载该内容\n- 选择'否'以取消操作\n\n注意:该文件将下载到应用程序所在目录,若文件已存在则会自动复用。"
-t MSG_355 "⚠静默⚠擦除磁盘并安装:"
-t MSG_356 "您已选择使用\"静默\"Windows 安装选项。\n\n这是一个高级选项,适用于希望创建在 Windows 安装过程中不提示用户、无条件擦除目标系统上首个检测到磁盘的安装介质的用户。如果操作不慎,使用此选项可能导致不可逆的数据丢失!\n\n如果这不是您想要的,请选择'否'返回并取消勾选该选项。\n否则,如果您选择'是',即表示您同意承担数据丢失的全部责任。"
-t MSG_358 "不支持的映像位置"
-t MSG_359 "您不能使用位于目标驱动器上的映像,因为该驱动器将被完全擦除。这就好比坐在树枝上锯树枝!\n\n请将映像移动到其他位置后重试。"
-t MSG_360 "即使您的电脑配备了 TPM 或拥有充足的内存,启用此选项也是安全的,因为该选项仅绕过安装程序的硬件要求检查,并不会阻止 Windows 使用所有可用硬件。"
-t MSG_361 "要使此选项生效,安装过程中必须断开网络/互联网连接!"
-t MSG_362 "自动对 Windows 安装过程中有关与 Microsoft 共享数据的问题回答'否',而非提示用户手动选择。"
-t MSG_363 "建议保持此选项启用,除非您允许 'Windows To Go' 访问内部磁盘并静默执行不可逆的文件系统升级。"
-t MSG_364 "使用指定的用户名自动创建本地账户,初始密码为空,用户在下次登录时需要更改密码。"
-t MSG_365 "从当前电脑复制区域设置(键盘布局、时区、货币格式),而非提示用户手动选择。"
-t MSG_366 "除非用户明确要求,不加密系统磁盘。"
-t MSG_367 "仅在您了解什么是 S 模式、并理解即使完全擦除并重新安装 Windows 后系统仍可能被锁定在 S 模式下的情况下,才使用此选项。"
-t MSG_368 "如果您计划安装 Windows 的系统已使用完全最新的安全启动证书,请使用此选项。如有需要,您可以考虑使用 'Mosby' 来更新您的系统。"
-t MSG_369 "如果您希望吊销更多可能不安全的 Windows 引导加载程序,请使用此选项,但请注意这也可能导致标准 Windows 安装介质无法启动。"
-t MSG_370 "优化使用体验:禁用 Microsoft 试图强加给用户的大部分不必要功能。"
-t MSG_371 "如果您使用此选项,请务必断开目标电脑上除要安装 Windows 的磁盘以外的所有磁盘,同时不要将该安装介质插在任何您不想被擦除数据的电脑上。"
t MSG_900 "Rufus 是一个帮助您格式化并创建可启动 USB 驱动器(如 U 盘和存储卡)的工具。"
t MSG_901 "官方网站: %s"
t MSG_902 "源代码: %s"
@@ -2017,7 +1904,7 @@ t MSG_922 "下载 UEFI Shell 镜像"
#########################################################################
l "zh-TW" "Chinese Traditional (正體中文)" 0x0404, 0x0c04, 0x1404, 0x7c04
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -2205,7 +2092,7 @@ t MSG_129 "你已建立使用 UEFI:NTFS 開機引導程式的裝置。如要使
t MSG_130 "Windows 映像檔選擇"
t MSG_131 "此 ISO 包含多個 Windows 映像\n請選擇要安裝的映像:"
t MSG_132 "另一個程式或程序正在使用此裝置,要繼續格式化?"
-t MSG_133 "Rufus 偵測到您將要建立 'Windows To Go' 1809 版本。\n\n由於微軟的程式錯誤,您將無法正常開機 (藍底白字當機),除非您自行更換 'WppRecorder.sys' 成 1803 版本。\n\n此檔案版權擁有者為微軟,Rufus 愛莫能助..."
+t MSG_133 "Rufus 偵測到您將要建立 'Windows To Go' 1809 版本。\n\n由於微軟的程式錯誤,您將無法正常開機 (藍白當機),除非您自行更換 'WppRecorder.sys' 成 1803 版本。\n\n此檔案版權擁有者為微軟,Rufus 愛莫能助..."
t MSG_134 "由於選擇使用 MBR 磁區,Rufus 最大只能建立 2 TB 磁區,而剩下空間 %s 將無法使用\n\n請確認是否繼續?"
t MSG_135 "版本"
t MSG_136 "發布版本"
@@ -2392,8 +2279,6 @@ t MSG_319 "忽略 Boot Marker"
t MSG_320 "正在重新整理磁區分割 (%s)..."
t MSG_321 "你選擇的映像檔是 ISOHybrid,但是檔案作者沒有使之與 ISO/檔案複製模式相容。\n因此強制使用 DD 映像寫入模式。"
t MSG_322 "無法開啟或讀取 '%s'"
-t MSG_323 "在安裝時套用 SkuSiPolicy.p7b (參閱 KB5042562)"
-t MSG_324 "Windows 體驗改善 (不強制安裝 Copilot、OneDrive、Outlook、 快速啟動等功能)"
t MSG_325 "正在套用 Windows 客製化設定:%s"
t MSG_326 "正在套用使用者設定..."
t MSG_327 "Windows 使用者體驗"
@@ -2406,7 +2291,7 @@ t MSG_333 "使用此使用者名建立一個本機帳戶:"
t MSG_334 "使用目前用戶的區域設定"
t MSG_335 "關閉 BitLocker 自動設備加密"
t MSG_336 "持久化日誌"
-t MSG_337 "必須從 Microsoft 下載附加檔案 (“%s”) 才能使用此功能:\n- 選 '是' 將連線到網路並進行下載\n- 選 '否' 將取消操作\n\n註: 該檔案將被下載到 Rufus 所在的資料夾中,如果已存在將會自動使用。"
+t MSG_337 "必須從微軟下載額外的 'diskcopy.dll' 檔案,才能安裝 MS-DOS:\n- 選 '是' 將連線到網路並進行下載\n- 選 '否' 將取消操作\n\n註: 該檔案將被下載到 Rufus 所在的資料夾中,如果已存在將會自動使用。"
t MSG_338 "偵測到被撤銷的 UEFI 開機引導程式"
t MSG_339 "Rufus 偵測到選取的 ISO 包含一個被撤銷的 UEFI 開機引導程式,當你在完全更新的 UEFI 系統上啟用安全開機時,將產生 %s。\n\n- 如果你從無法信任的來源取得這個 ISO 映像,應該考慮到它可能包含 UEFI 惡意程式,並避免以此進行開機。\n- 如果你從可以信任的來源取得,應該嘗試找到一個更新的版本,才不會出現這個警告。"
t MSG_340 "一個 \"安全違規\" 畫面"
@@ -2419,27 +2304,6 @@ t MSG_346 "將 Windows 限制為 S-模式 (不相容繞過線上帳號)。"
t MSG_347 "專家模式"
t MSG_348 "正在擷取封存檔案: %s"
t MSG_349 "使用 Rufus MBR"
-t MSG_350 "使用以 Windows CA 2023 簽署的開機引導程式 (需搭配相容的電腦)"
-t MSG_351 "正在檢查 UEFI 開機引導程式是否被撤銷…"
-t MSG_352 "正在檢查 UEFI DBX 更新…"
-t MSG_353 "有可用的 DBX 更新"
-t MSG_354 "Rufus 發現用於執行 UEFI 安全開機撤銷檢查的 DBX 檔案更新版本,是否下載此更新?\n- 選擇 '是': 將連線到網路並進行下載\n- 選擇 '否': 取消此操作\n\n註: 該檔案將被下載到 Rufus 所在的資料夾中,如果已存在將會自動使用。"
-t MSG_355 "以 ⚠靜默模式⚠ 清除磁碟並進行安裝:"
-t MSG_356 "你已選擇使用 \"靜默\" Windows 安裝選項。\n\n此為進階選項,僅供希望建立在安裝 Windows 過程中不提示使用者的安裝媒體之使用者使用,過程中會直接清除目標系統中偵測到的第一顆磁碟。\n\n若操作不慎,此選項可能導致發生無法復原的資料遺失!\n\n如果這不是你想要的結果,請選擇 '否' 返回並取消勾選此選項。\n若你選擇 '是',表示你了解且同意承擔所有可能發生的資料遺失風險。"
-t MSG_358 "不支援的映像檔位置"
-t MSG_359 "你無法使用位於目標磁碟上的映像檔,因為該磁碟將會被完全清除。這就像是試圖鋸斷自己正坐著的樹枝一樣!\n\n請將映像檔移至其它位置後再試一次。"
-t MSG_360 "即使支援 TPM 或有更大的記憶體容量,保持啟用此選項也是安全的,因為此選項僅會略過硬體安裝需求,並不會影響 Windows 使用所有可用的硬體資源。"
-t MSG_361 "為了讓此選項生效,安裝過程中必須切斷網路連線!"
-t MSG_362 "自動拒絕 Windows 初始化中與微軟共享資料的相關問題,而非提示使用者進行選擇。"
-t MSG_363 "除非你可以接受 'Windows To Go' 存取內部磁碟,並在未經提示的情況下執行不可逆的檔案系統升級,否則建議保持啟用此選項。"
-t MSG_364 "自動以指定的使用者名稱建立本機帳戶,並設定空白密碼,該密碼需在下次登入時進行變更。"
-t MSG_365 "複製此電腦的區域設定 (鍵盤、時區、貨幣),而非提示使用者進行選擇。"
-t MSG_366 "除非使用者明確要求,否則不要加密系統磁碟。"
-t MSG_367 "僅在你了解 S 模式是什麼,且知道即使完全清除並重新安裝 Windows,系統仍可能被鎖定在 S 模式的情況下使用此選項。"
-t MSG_368 "若你打算安裝 Windows 的系統已完整更新過安全開機憑證,請使用此選項。若有需要,你可以考慮使用 'Mosby' 來更新系統。"
-t MSG_369 "如果你希望撤銷更多可能不安全的 Windows 開機引導程式,請使用此選項,但此操作有可能導致標準 Windows 安裝媒體無法開機。"
-t MSG_370 "Windows 體驗增強: 停用微軟試圖強制提供給終端使用者的大多數不必要功能。"
-t MSG_371 "如果你使用此選項,請確保目標電腦中除了要安裝 Windows 的磁碟以外,其它所有磁碟都已斷開連接,並且不要將安裝媒體插在任何你不想被清除資料的電腦上。"
t MSG_900 "Rufus 是個能格式化並製作可開機 USB 快閃磁碟 (如 USB 隨身碟等) 的工具。"
t MSG_901 "官方網站: %s"
t MSG_902 "原始碼: %s"
@@ -2456,13 +2320,13 @@ t MSG_916 "為沒有 TPM 或安全開機功能的電腦建立 Windows 11 安裝
t MSG_917 "建立持續性 Linux 磁區"
t MSG_918 "為選取的磁碟機建立 VHD/DD 映像檔"
t MSG_919 "計算被選取映像的 MD5、SHA-1、SHA-256 和 SHA-512 檢查碼"
-t MSG_920 "執行壞軌檢查,包括對 ”假“ USB 快閃磁碟\n的偵測"
+t MSG_920 "執行壞軌檢查,包括對”假“USB 快閃磁碟\n的偵測"
t MSG_921 "下載微軟官方 Windows 映像檔"
t MSG_922 "下載 UEFI Shell 映像檔"
#########################################################################
l "hr-HR" "Croatian (Hrvatski)" 0x041a, 0x081a, 0x101a
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -2650,7 +2514,7 @@ t MSG_129 "Kreirali ste medij koji koristi UEFI:NTFS bootloader. Da bi ste boot-
t MSG_130 "Odabir Windows slike"
t MSG_131 "Ova ISO datoteka sadrži više Windows slika.\nOdaberite sliku koju želite koristiti za instalaciju:"
t MSG_132 "Drugi program ili proces pristupa pogonu. Da li ipak želiš formatirati pogon?"
-t MSG_133 "Rufus je otkrio da pokušavate stvoriti 'Windows To Go' medij na temelju 1809 ISO datoteke.\n\nZbog *MICROSOFTOVE GREŠKE*, ovaj medij će se srušiti tijekom pokretanja sustava Windows (BSOD), osim ako ručno zamijenite datoteku 'WppRecorder.sys' s verzijom 1803.\n\nRufus ne može automatski popraviti ovo za vas jer je 'WppRecorder.sys' datoteka zaštićena autorskim pravima tvrtke Microsoft, pa ne možemo legalno ugraditi kopiju datoteke u aplikaciju..."
+t MSG_133 "Rufus je otkrio da pokušavate kreirati \"Windows To Go\" medij baziran na verziji 1809 ISO.\n\nZbog *MICROSOFT BUG-a*, doći će do fatalne greške kod podizanja Windows-a (Blue Screen Of Death), osim ako ne zamijenite datoteku 'WppRecorder.sys' s verzijom 1803.\n\nRufus nije u mogućnosti ispraviti problem jer datoteka 'WppRecorder.sys' podliježe Microsoft \"copyright-u\", tako da bi to bilo ilegalno."
t MSG_134 "Odabrali ste MBR za shemu particije. Rufus može kreirati maksimalnu partiticiju do 2 TB na ovom mediju, ostaje %s diska neiskorišteno.\n\nJeste li sigurni da želite nastaviti?"
t MSG_135 "Verzija"
t MSG_136 "Podverzija"
@@ -2837,8 +2701,6 @@ t MSG_319 "Zanemari Boot Marker"
t MSG_320 "Osvježavam raspored particija (%s)..."
t MSG_321 "Slika koju ste odabrali je \"ISOHybrid\", ali nije kompatibilna s \"ISO/File\" mod kopiranja.\nZbog toga će DD mod zapisivanja slike biti korišten."
t MSG_322 "Nije moguće otvoriti ili pročitati '%s'"
-t MSG_323 "Primijenite SkuSiPolicy.p7b prilikom instalacije (vidi KB5042562)"
-t MSG_324 "QoL poboljšanja (Nemojte forsirati Copilot, OneDrive, Outlook, Fast Startup, itd.)"
t MSG_325 "Primjena prilagodbe sustava Windows: %s"
t MSG_326 "Primjena korisničkih mogućnosti..."
t MSG_327 "Korisničko iskustvo sustava Windows"
@@ -2851,7 +2713,7 @@ t MSG_333 "Stvorite lokalni račun s korisničkim imenom:"
t MSG_334 "Postavljanje regionalnih mogućnosti na iste vrijednosti kao i vrijednosti ovog korisnika"
t MSG_335 "Onemogući BitLocker automatsko šifriranje uređaja"
t MSG_336 "Stalni zapisnik"
-t MSG_337 "Za korištenje ove značajke potrebno je preuzeti dodatnu datoteku ('%s') od Microsofta:\n- Odaberite 'Da' za povezivanje s internetom i preuzimanje\n- Odaberite 'Ne' za poništavanje operacije\n\nNapomena: Datoteka će se preuzeti u direktorij aplikacije i automatski će se ponovno koristiti ako postoji."
+t MSG_337 "Dodatnu datoteku ('diskcopy.dll') potrebno je preuzeti s Microsofta da biste instalirali MS-DOS:\n- Odaberite 'Da' za spajanje na Internet i preuzimanje\n- Odaberite 'Ne' za poništavanje operacije\n\nNapomena: Datoteka će se preuzeti u imenik aplikacije i automatski će se ponovno koristiti ako postoji."
t MSG_338 "Otkriven opozvani UEFI pokretački program"
t MSG_339 "Rufus je otkrio da ISO koji ste odabrali sadrži UEFI bootloader koji je opozvan i koji će proizvesti %s, kada je Secure Boot omogućen na potpuno ažuriranom UEFI sustavu.\n\n- Ako ste nabavili ovu ISO sliku iz izvora koji nije renomiran, trebali biste razmotriti mogućnost da ona sadrži zlonamjerni softver UEFI i izbjegavati pokretanje ga.\n- Ako ste ga dobili od pouzdanog izvora, trebali biste pokušati locirati noviju verziju koja neće proizvesti ovo upozorenje."
t MSG_340 "zaslon \"Sigurnosna povreda\""
@@ -2864,27 +2726,6 @@ t MSG_346 "Ograniči Windows na S-Mode (NEKOMPATIBILNO s mrežnim zaobilaženjem
t MSG_347 "Stručnog načina rada"
t MSG_348 "Izdvajanje arhivskih datoteka: %s"
t MSG_349 "Koristiti Rufus MBR"
-t MSG_350 "Koristi 'Windows CA 2023' potpisane bootloadere (potrebno je kompatibilno ciljno računalo)"
-t MSG_351 "Provjera za opoziva UEFI bootloadera..."
-t MSG_352 "Provjera ažuriranja za UEFI DBX..."
-t MSG_353 "DBX ažuriranje dostupno"
-t MSG_354 "Rufus je pronašao ažuriranu verziju DBX datoteka koje se koriste za izvođenje provjera opoziva UEFI Secure Boot-a. Želite li preuzeti ovo ažuriranje?\n- Odaberite 'Da' za povezivanje s internetom i preuzimanje ovog sadržaja\n- Odaberite 'Ne' za otkazivanje operacije\n\nNapomena: Datoteke će se preuzeti u direktorij aplikacije i automatski će se ponovno koristiti ako postoje."
-t MSG_355 "⚠TIHO⚠ izbriši disk i instaliraj:"
-t MSG_356 "Odabrali ste korištenje \"tihe\" opcije instalacije sustava Windows.\n\nOvo je napredna opcija, rezervirana za ljude koji žele stvoriti medij koji ne obavještava korisnika tijekom instalacije sustava Windows i stoga BEZUVJETNO BRIŠE prvi otkriveni disk na sustavu. Ako niste oprezni, korištenje ove opcije može rezultirati NEPOVRATNIM GUBITKOM PODATAKA!\n\nAko to ne želite, molim odaberite 'Ne' za povratak i poništite odabir opcije.\nSuprotno, ako odaberete 'Da', slažete se da će sva odgovornost za bilo kakav gubitak podataka biti isključivo na VAMA."
-t MSG_358 "Nepodržana lokacija slike"
-t MSG_359 "Ne možete koristiti sliku koja se nalazi na ciljnom disku, jer će taj disk biti potpuno izbrisan. To je isto kao da pokušavate prepiliti granu na kojoj sjedite!\n\nPremjestite sliku na drugu lokaciju i pokušajte ponovno."
-t MSG_360 "Sigurno je ostaviti ovu opciju omogućenu čak i ako imate TPM ili više RAM-a, jer ova opcija samo zaobilazi zahtjeve za postavljanje i zapravo ne sprječava Windows da koristi sav dostupan hardver."
-t MSG_361 "Da bi ova opcija radila, mreža/internet MORA biti isključeni tijekom instalacije!"
-t MSG_362 "Automatski odgovori s 'ne' na pitanja tijekom postavljanju sustava Windowsa koja se odnose na dijeljenje podataka s Microsoftom, umjesto da to pita korisnika."
-t MSG_363 "Ovu opciju biste trebali ostaviti omogućenu, osim ako vam ne smeta da 'Windows To Go' pristupa internim diskovima i tiho izvršava nepovratne nadogradnje datotečnog sustava."
-t MSG_364 "Automatski stvori lokalni račun s navedenim korisničkim imenom, koristeći praznu lozinku koju će trebati promijeniti pri prvoj prijavi."
-t MSG_365 "Duplicirajte regionalne postavke s ovog računala (tipkovnica, vremenska zona, valuta), umjesto da pita korisnika."
-t MSG_366 "Ne šifrirajte sistemski disk, osim ako to korisnik izričito zatraži."
-t MSG_367 "Koristite ovu opciju samo ako znate što je S-Mode i razumijete da vaš sustav možda bude zaključan u S-Modeu čak i nakon što potpuno izbrišete i ponovno instalirate Windows."
-t MSG_368 "Koristite ovu opciju ako sustav na koji planirate instalirati Windows koristi potpuno ažurirane Secure Boot certifikate. Ako je potrebno, možete pogledati u korištenje 'Mosby' za ažuriranje sustava."
-t MSG_369 "Koristite ovu opciju ako želite opozvati dodatne potencijalno nesigurne Windows bootloadere, ali s mogućnošću sprječavanja pokretanja standardnih Windows medija."
-t MSG_370 "\"kvalitete života\" poboljšanja: Onemogućite većinu neželjenih značajki koje Microsoft pokušava forcirati na korisnicima."
-t MSG_371 "Ako koristite ovu opciju, obavezno odspojite svaki disk od ciljnog računala, osim onog na koji želite instalirati Windows, i ne ostavljajte medij priključen u bilo koj računalo koje ne želite izbrisati."
t MSG_900 "Rufus je aplikacija koja olakšava formatiranje i stvaranje USB pokretačkih jedinica."
t MSG_901 "Službena stranica: %s"
t MSG_902 "Šifra izvora: %s"
@@ -2905,7 +2746,7 @@ t MSG_922 "Preuzmite ISO-ove UEFI ljuske"
#########################################################################
l "cs-CZ" "Czech (Čeština)" 0x0405
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -3090,7 +2931,7 @@ t MSG_129 "Vytvořili jste médium, které používá zavaděč UEFI: NTFS. Pama
t MSG_130 "Vybrat obrazu systému Windows"
t MSG_131 "ISO obsahuje více obrazů Windows..\nVyberte prosím obraz, který chcete použít pro tuto instalaci:"
t MSG_132 "K tomuto disku přistupuje jiný program nebo proces. Chcete ho přesto formátovat?"
-t MSG_133 "Rufus zjistil, že se pokoušíte vytvořit médium „Windows To Go“ založené na 1809 ISO.\n\nKvůli chybě *MICROSOFT BUG* dojde k pádu tohoto média během spouštění systému Windows (modrá obrazovka smrti), pokud ručně nenahradíte soubor 'WppRecorder.sys' verzí 1803..\n\nVšimněte si také, že důvod, proč to Rufus nemůže automaticky opravit za vás, je ten, že „WppRecorder.sys“ je soubor chráněný autorským právem společnosti Microsoft, takže nemůžeme legálně vložit kopii souboru do aplikace..."
+t MSG_133 "Rufus zjistil, že se pokoušíte vytvořit Windows To Go médií založené na 1809 ISO.\n\nVzhledem k tomu, že *MICROSOFT BUG*, toto médium se při spouštění systému Windows zhroutí (Blue Screen), pokud soubor „WppRecorder.sys“ ručně nenahradíte verzí 1803.\n\nDůvodem proč Rufus nemůže automaticky opravit, je, že soubor „WppRecorder.sys“ je souborem chráněným autorskými právy společnosti Microsoft, takže nemůžeme legálně vložit kopii souboru do aplikace..."
t MSG_134 "Pro schéma oddílu byla vybráno MBR, Rufus na tomto médiu vytvořit pouze oddíl o velikosti až 2 TB, což ponechá místo na disku %s nedostupné.\n\nJste si jistý, že chcete pokračovat?"
t MSG_135 "Verze"
t MSG_136 "Vydání"
@@ -3229,7 +3070,7 @@ t MSG_271 "Výpočet kontrolních součtů obrazů: %s"
t MSG_272 "Vypočet MD5, SHA1 a SHA256 kontrolního součty pro vybraný obraz"
t MSG_273 "Změna jazyka aplikace"
t MSG_274 "%s obraz detekován"
-t MSG_275 "Obráz, který jste si vybrali, je obraz 'ISO Hybrid'. To znamená, že může být zapsán buď v %s (kopírování souborů) v režimu %s (obraz disku) režim.\nRufus doporučuje použití %s režim, pokud je plný přístup k jednotce pro zápis.\nPokud narazíte na problémy při startu, můžete zkusit zapsat tento obraz znovu %s režim.\n\nVyberte režim, který chcete použít k zapsání tohoto obrázu:"
+t MSG_275 "Obráz, který jste si vybrali, je obraz 'ISO Hybrid'. To znamená, že může být zapsán buď v %s (kopírování souborů) v režimu %s (obraz disku) režim.\nRufus doporučuje použití %s režim, pokud je plný přístu k jednotce pro zápis.\nPokud narazíte na problémy při startu, můžete zkusit zapsat tento obraz znovu %s režim.\n\nVyberte režim, který chcete použít k zapsání tohoto obrázu:"
t MSG_276 "Režim zápisu %s (Doporučená)"
t MSG_277 "Režim zápisu %s"
t MSG_278 "Kontrola konfliktních procesů..."
@@ -3276,8 +3117,6 @@ t MSG_319 "Ignorovat Boot Marker"
t MSG_320 "Obnovení rozložení oddílu (%s)..."
t MSG_321 "Vybraný obraz je ISOHybrid, ale jeho tvůrci ho neudělali kompatibilní s režimem kopírování ISO/File..\nV důsledku toho bude vynucen režim zápisu obrázků DD."
t MSG_322 "Nelze otevřít nebo přečíst soubor '%s'"
-t MSG_323 "Při instalaci použijte SkuSiPolicy.p7b (viz KB5042562)"
-t MSG_324 "QoL vylepšení (neinstaluje Copilota, OneDrive, Outlook, rychlé spuštění atd.)"
t MSG_325 "Použití přizpůsobení systému Windows: %s"
t MSG_326 "Použití uživatelských možností..."
t MSG_327 "Uživatelské prostředí systému Windows"
@@ -3290,7 +3129,7 @@ t MSG_333 "Vytvořte místní účet s uživatelským jménem:"
t MSG_334 "Nastavení regionálních voleb na stejné hodnoty jako u tohoto uživatele"
t MSG_335 "Zakázání automatického šifrování zařízení nástrojem BitLocker"
t MSG_336 "Trvalý protokol"
-t MSG_337 "Další soubor ('%s') je nutné stáhnout ze stránek společnosti Microsoft, aby bylo možné tuto funkci používat:\n- Výběrem možnosti \"Ano\" se připojíte k Internetu a stáhnete ji.\n- Výběrem možnosti \"Ne\" operaci zrušíte\n\nPoznámka: Soubor bude stažen do adresáře aplikace a bude automaticky znovu použit, pokud je přítomen.."
+t MSG_337 "Pro instalaci systému MS-DOS je nutné stáhnout další soubor ('diskcopy.dll') od společnosti Microsoft:\n- Vyberte 'Ano' pro připojení k internetu a stažení\n- Výběrem možnosti \"Ne\" operaci zrušíte\n\nPoznámka: Soubor bude stažen do adresáře aplikace a bude automaticky znovu použit, pokud je přítomen."
t MSG_338 "Byl zjištěn odvolaný zavaděč UEFI"
t MSG_339 "Rufus zjistil, že vámi vybraný ISO obsahuje zavaděč UEFI, který byl odvolán a který vytvoří %s, když je v plně aktuálním systému UEFI povoleno Secure Boot.\n\n- Pokud jste tento obraz ISO získali z nerenomovaného zdroje, měli byste zvážit možnost, že by mohl obsahovat malware UEFI a vyhnout se bootování z něj.\n- Pokud jste jej získali z důvěryhodného zdroje, měli byste se pokusit najít aktuálnější verzi, která toto varování nevyvolá."
t MSG_340 "obrazovka \"Porušení zabezpečení\""
@@ -3303,27 +3142,6 @@ t MSG_346 "Omezit Windows na S-Mode (NEKOMPATIBILNÍ s online vynecháním účt
t MSG_347 "Expertní režim"
t MSG_348 "Rozbalení archivních souborů: %s"
t MSG_349 "Použijte Rufus MBR"
-t MSG_350 "Použití zavaděčů s podpisem \"Windows CA 2023\" (vyžaduje kompatibilní cílový počítač)."
-t MSG_351 "Kontrola zrušení zavaděče UEFI..."
-t MSG_352 "Kontrola aktualizací UEFI DBX..."
-t MSG_353 "DBX aktualizace k dispozici"
-t MSG_354 "Rufus našel aktualizovanou verzi souborů DBX používaných k provádění kontrol odvolání UEFI Secure Boot. Chcete stáhnout tuto aktualizaci?\n- Chcete-li se připojit k Internetu a stáhnout tento obsah, vyberte možnost \"Ano\".\n- Výběrem možnosti \"Ne\" operaci zrušíte\n\nPoznámka: Soubory budou staženy do adresáře aplikace a budou automaticky znovu použity, pokud jsou k dispozici."
-t MSG_355 "⚠TICHÁ⚠ vymazat disk a nainstalovat:"
-t MSG_356 "Zvolili jste použití možnosti \"tichá“ instalace systému Windows.\n\nToto je pokročilá možnost vyhrazená pro uživatele, kteří chtějí vytvořit médium, jež během instalace Windows uživatele nevyzve k potvrzení a BEZPODMÍNEČNĚ VYMAŽE první detekovaný disk v cílovém systému. Pokud si nedáte pozor, použití této volby může mít za následek NEVRATNOU ZTRÁTU VŠECH DAT!\n\nPokud to není to, co chcete, vyberte 'Ne' pro návrat zpět a zrušte zaškrtnutí této možnosti.\nV opačném případě, pokud zvolíte \"Ano, souhlasíte s tím, že veškerou odpovědnost za případnou ztrátu dat ponesete VY."
-t MSG_358 "Nepodporované umístění obrázku"
-t MSG_359 "Nemůžete použít obraz umístěný na cílové jednotce, protože tato jednotka bude zcela vymazána. Je to stejné, jako když se snažíte uříznout větev, na které sedíte!\n\nPřesuňte prosím obrázek na jiné místo a zkuste to znovu."
-t MSG_360 "Je bezpečné ponechat tuto možnost povolenou i v případě, že máte TPM nebo více RAM, protože tato možnost pouze obchází požadavky na nastavení a ve skutečnosti nebrání systému Windows používat veškerý dostupný hardware."
-t MSG_361 "Aby tato možnost fungovala, MUSÍ být během instalace odpojena síť/internet!"
-t MSG_362 "Automaticky odpovídat 'ne' na otázky nastavení systému Windows týkající se sdílení dat se společností Microsoft namísto dotazování uživatele."
-t MSG_363 "Tuto možnost byste měli ponechat povolenou, pokud vám nevadí, že 'Windows To Go' přistupuje k interním diskům a tiše provádí nevratné aktualizace souborového systému."
-t MSG_364 "Automaticky vytvořit místní účet se zadaným uživatelským jménem, s prázdným heslem, které bude nutné změnit při příštím přihlášení."
-t MSG_365 "Převzít místní nastavení z tohoto počítače (klávesnice, časové pásmo, měna) bez nutnosti zásahu uživatele."
-t MSG_366 "Nešifrovat systémový disk bez výslovného požadavku uživatele."
-t MSG_367 "Tuto možnost použijte pouze v případě, že víte, co je S-Mode, a chápete, že váš systém může být uzamčen v S-Mode i po úplném vymazání a přeinstalaci systému Windows."
-t MSG_368 "Tuto možnost použijte, pokud systém, do kterého plánujete nainstalovat systém Windows, používá plně aktuální certifikáty Secure Boot. V případě potřeby se můžete podívat na možnost aktualizace systému pomocí nástroje Mosby = More Secure Secure Boot."
-t MSG_369 "Tuto možnost použijte, pokud chcete odebrat další potenciálně nebezpečné zavaděče systému Windows, které však mohou zabránit i zavádění standardních médií systému Windows."
-t MSG_370 "\"Vylepšení komfortu uživatele\" vylepšení: Zakázat většinu nežádoucích funkcí, které se Microsoft snaží vnucovat koncovým uživatelům."
-t MSG_371 "Pokud použijete tuto možnost, ujistěte se, že jste od cílového počítače odpojili všechny disky kromě toho, na který chcete nainstalovat systém Windows, a nenechávejte médium připojené k žádnému počítači, který nechcete vymazat."
t MSG_900 "Rufus je nástroj, který pomáhá formátovat a vytvářet bootovací USB flash disky, jako jsou USB klíče, paměťové karty atd."
t MSG_901 "Oficiální stránky: %s"
t MSG_902 "Zdrojový kód: %s"
@@ -3345,7 +3163,7 @@ t MSG_922 "Stažení souborů UEFI Shell ISO"
#########################################################################
l "da-DK" "Danish (Dansk)" 0x0406
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -3527,7 +3345,7 @@ t MSG_129 "Du hare lige oprettet et medie, der bruger UEFI:NTFS bootloader. Husk
t MSG_130 "Windows billedvalg"
t MSG_131 "Denne ISO indeholder flere Windows-billeder.\nVælg venligt billedet, du vil bruge til denne installation:"
t MSG_132 "Et andet program eller en proces er i gang med at tilgå dette drev. Vil du formatere det alligevel?"
-t MSG_133 "Rufus har opdaget, at du forsøger at oprette et Windows To Go medie baseret på en 1809 ISO.\n\nPå grund af en *MICROSOFT BUG* vil dette medie fejle under Windows boot (Blue Screen of Death) medmindre du manuelt erstatter filen 'WppRecorder.sys' med en 1803-version.\n\nBemærk også, at årsagen til, at Rufus ikke automatisk kan løse dette for dig, er at 'WppRecorder.sys' er en Microsoft-ophavsretlig beskyttet fil, så vi kan ikke lovligt inkludere en kopi af filen i applikationen..."
+t MSG_133 "Rufus har opdaget, at du forsøger at oprette et Windows To Go medie baseret på en 1908 ISO.\n\nPå grund af en *MICROSOFT BUG* vil dette medie fejle under Windows boot (Blue Screen of Death) medmindre du manuelt erstatter filen 'WppRecorder.sys' med en 1803-version.\n\nBemærk også, at årsagen til, at Rufus ikke automatisk kan løse dette for dig, er at 'WppRecorder.sys' er en Microsoft-ophavsretlig beskyttet fil, så vi kan ikke lovligt inkludere en kopi af filen i applikationen..."
t MSG_134 "Fordi MBR er udvalgt for partitionsordning, kan Rufus kun oprette en partition op til 2 TB på dette medie, hvilket gør %s af diskplads utilgængelig.\n\nEr du sikker, du vil fortsætte?"
t MSG_136 "Udgave"
t MSG_138 "Sprog"
@@ -3707,8 +3525,6 @@ t MSG_319 "Ignorer boot markering"
t MSG_320 "Genindlæser partition layout (%s)"
t MSG_321 "Det valgte billede er et ISOHybrid, men dets skabere har ikke gjort det kompatibelt med ISO / Fil kopi måde.\nDerfor bruges DD-billedskrivningstilstand."
t MSG_322 "Ude af stand til at åbne eller læse '%s'"
-t MSG_323 "Påfør SkuSiPolicy.p7b efter installationen (Se KB5042562)"
-t MSG_324 "Livskvalitets forbedringer (Ikke påtving Copilot, OneDrive, Outlook, Fast Startup, osv.)"
t MSG_325 "Anvender Windows tilpasninger : %s"
t MSG_326 "Anvender bruger valgmuligheder..."
t MSG_327 "Windows Bruger Oplevelse"
@@ -3721,7 +3537,7 @@ t MSG_333 "Opret en local burger med brugernavn:"
t MSG_334 "Sæt regionale muligheder til de samme værdier some denne brugers"
t MSG_335 "Deaktiver Bitlockers automatiske apparat kryptering"
t MSG_336 "Vedvarende log"
-t MSG_337 "En yderligere fil ('%s') skal downloades fra Microsoft for at bruge denne funktion:\n- Vælg 'Ja' for at tilslutte til internettet og hente den\n- Vælg 'Nej' for at afbryde operationen\n\nNote: Filen vil blive hentet i programmets mappe og vil blive genbrugt automatisk hvis tilstede."
+t MSG_337 "En ekstra fil ('diskcopy.dll') skal hentes fra Microsoft for at installere MS-DOS:\n- Vælg 'Ja' for at tilslutte til internettet og hente den\n- Vælg 'Nej' for at afbryde operationen\n\nNote: Filen vil blive hentet i programmets mappe og vil blive genbrugt automatisk hvis tilstede."
t MSG_338 "Tilbagekaldt UEFI Bootloader opdaget"
t MSG_339 "Rufus har opdaget at ISO filen du har valgt indeholder en UEFI bootloader der er blevet tilbagekaldt og vil producere %s, når Secure Boot er slået til på et fuldt opdateret UEFI system.\n\n- Hvis du har hentet dette ISO billed fra en upålidelig kilde, bør du overveje muligheden for at den muligvis indeholder UEFI malware og undgå at boote fra den.\n- Hvis du har hentet den fra en pålidelig kilde, bør du kigge efter en nyere version, som ikke vil producere denne advarsel."
t MSG_340 "en \"Sikkerhedsbrud\" skærm"
@@ -3734,27 +3550,6 @@ t MSG_346 "Begræns Windows til S-Mode (Inkompatibel med Online bruger bypass)"
t MSG_347 "Ekspert Tilstand"
t MSG_348 "Udpakker arkiv filer: %s"
t MSG_349 "Brug Rufus MBR"
-t MSG_350 "Brug 'Windows CA 2023' signerede bootloaders (Kræver en kompatibel PC)"
-t MSG_351 "Tjekker for UEFI bootloader tilbagekaldelse..."
-t MSG_352 "Tjekker for UEFI DBX opdateringer..."
-t MSG_353 "DBX opdatering tilgængelig"
-t MSG_354 "Rufus har fundet en opdateret version af DBX filerne som bruges til at udføre UEFI Secure Boot tilbagekaldelses tjek. Vil du hente denne opdatering?\n- Vælg 'Ja' for at forbinde til internettet og hente disse filer\n- Vælg 'Nej' for at afbryde operationen\n\nNote: Filerne vil blive hentet i programmets mappe og vil blive genbrugt automatisk hvis tilstede."
-t MSG_355 "⚠STILLE⚠ slet disk og installer:"
-t MSG_356 "Du har valgt at bruge den \"stille\" Windows installations valgmulighed.\n\nDette er en advanceret valgmulighed, som er reserveret for personer som vil lave et media som ikke prompter brugeren under Windows installationen, og vil derfor UBETINGET SLETTE den første disk som er opdaget på systemet. Hvis du ikke er forsigtig, så kan denne valgmulighed resultere i UOPRETTELIG DATA TAB!\n\nHvis dette ikke er noget du vil have, så vælg 'Nej' for at gå tilbage og fravælge denne valgmulighed.\nEllers, hvis du vælger 'Ja', er du enig i at alt ansvaret for enhver data tab ligger på DIG."
-t MSG_358 "Billedeplaceringen er ikke understøttet"
-t MSG_359 "Du kan ikke bruge et billed som er placeret på det valgte drev, da drevet vil blive fuldstændig slettet. Det er som at save i den græn man sidder på!\n\nVær venlig at flytte billedet til en anden placering og prøv igen."
-t MSG_360 "Det er sikkert at have denne indstilling slået til, selv hvis du har en TPM eller mere RAM, da denne valgmulighed kun springer setup kravene over, og forhindre ikke Windows i at bruge alt tilgængelig hardware."
-t MSG_361 "For at denne indstilling virker, SKAL netværk/internettet slåes fra under installationen!"
-t MSG_362 "Automatisk svar 'nej' til alle spørgsmål under Windows opsætningen som vedrører at dele data med Microsoft, i stedet for at prompte brugeren."
-t MSG_363 "Du bør lade denne indstilling være aktiveret, med mindre du er okay med at 'Windows To Go' tilgår de interne diske og udføre uoprettelig fil systems opgraderinger lydløst."
-t MSG_364 "Automatisk opret en local burger, med det specificerede brugernavn, med en tom adganskode som skal laves om næste gang der logges ind."
-t MSG_365 "Dupliker de regionale indstillinger fra denne PC (tastatur, tidszone, valuta), i stedet for at prompte brugeren."
-t MSG_366 "Krypter ikke system disken, med mindre brugeren specifikt har bedt om det."
-t MSG_367 "Brug denne indstilling hvis du ved hvad S-Mode er, og forstår at dit system muligvis bliver låst fast i S-Mode, selv efter en komplet sletning og reinstallering af Windows."
-t MSG_368 "Brug denne indstilling hvis det system du har planlagt at installere Windows på, har fuldt opdateret Secure Boot certifikater. Om nødvendigt, kan du se på at bruge 'Mosby' til at opdatere dit system."
-t MSG_369 "Brug denne instilling hvis du vil tilbagekalde yderligere potentielt usikre Windows bootloaders, men med risiko for at forhindre normale Windows medier fra at boote."
-t MSG_370 "\"Livskvalitets\" forbedringer: Deaktiver de fleste uønskede funktioner Microsoft prøver at tvinge slutbrugerne til at bruge."
-t MSG_371 "Hvis du burger denne indstilling, sørg for at alle diske, på nær den som du vil installere Windows på er frakoblet, og ikke lade mediet side i en PC du ikke vil slette."
t MSG_900 "Rufus er et værktøj, der hjælper med at formatere og skabe startbare USB-flashdrev, såsom USB-nøgler/USB-pinde, USB-stik, osv."
t MSG_901 "Officiel side: %s"
t MSG_902 "Kildekode: %s"
@@ -3779,7 +3574,7 @@ t MSG_922 "Hent UEFI Shell ISOer"
#########################################################################
l "nl-NL" "Dutch (Nederlands)" 0x0413, 0x0813
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -3814,7 +3609,6 @@ t IDD_LICENSE "Rufus-licentie"
g IDD_LOG
t IDCANCEL "Sluiten"
-t IDD_LOG "Logboek"
t IDC_LOG_CLEAR "Wissen"
t IDC_LOG_SAVE "Opslaan"
@@ -3965,7 +3759,7 @@ t MSG_129 "U hebt net een medium aangemaakt dat de UEFI:NTFS-bootloader gebruikt
t MSG_130 "Windows-image selectie"
t MSG_131 "Deze ISO bevat meerdere Windows-images.\nSelecteer de image die u wilt gebruiken voor deze installatie:"
t MSG_132 "Een ander programma of proces gebruikt deze schijf. Wilt u ze toch formatteren?"
-t MSG_133 "Rufus heeft vastgesteld dat u probeert een ‘Windows To Go’-medium te maken op basis van een 1809-ISO.\n\nVanwege een *MICROSOFT-BUG* zal dit medium tijdens het opstarten van Windows crashen (Blue Screen Of Death), tenzij u het bestand ‘WppRecorder.sys’ handmatig vervangt door een versie uit 1803.\n\nHoud er ook rekening mee dat Rufus dit niet automatisch voor u kan oplossen omdat ‘WppRecorder.sys’ een door Microsoft auteursrechtelijk beschermd bestand is, waardoor we wettelijk gezien geen kopie van het bestand in de applicatie mogen opnemen..."
+t MSG_133 "Rufus heeft gedetecteerd dat u probeert om een Windows To Go medium aan te maken gebaseerd op een 1809-ISO\n\nDoor een *MICROSOFT-BUG* zal dit medium crashen tijdens het opstarten van Windows (Blue Screen Of Death), tenzij u manueel het bestand 'WppRecorder.sys' vervangt door een 1803-versie.\n\nMerk ook op dat Rufus dit voor u niet automatisch kan oplossen omdat 'WppRecorder.sys' een Microsoft-auteursrecht heeft, dus we kunnen geen kopie van het bestand in de toepassing inbedden op een legale manier..."
t MSG_134 "Omdat MBR geselecteerd werd als partitie-indeling, kan Rufus slechts een partitie tot 2 TB aanmaken op dit medium, wat %s schijfruimte onbeschikbaar zal laten.\n\nWeet u zeker dat u wilt doorgaan?"
t MSG_135 "Versie"
t MSG_137 "Editie"
@@ -4150,8 +3944,6 @@ t MSG_319 "Opstartmarkering negeren"
t MSG_320 "Partitie-layout verversen (%s)..."
t MSG_321 "De image die u hebt geselecteerd is een ISOHybrid, maar de makers ervan hebben hem niet compatibel gemaakt met de ISO/bestandskopieermodus.\nAls gevolg daarvan zal de DD-image schrijfmodus worden afgedwongen."
t MSG_322 "Kan '%s' niet openen of lezen"
-t MSG_323 "SkuSiPolicy.p7b toepassen tijdens installatie (zie KB5042562)"
-t MSG_324 "Verbeteringen in de gebruikersvriendelijkheid (Copilot, Onedrive, Outlook, Fast Startup, enz niet forceren)"
t MSG_325 "Windows aanpassen: %s"
t MSG_326 "Gebruikersopties toepassen..."
t MSG_327 "Windows gebruikerservaring"
@@ -4163,7 +3955,7 @@ t MSG_332 "Voorkomen dat Windows To Go toegang heeft tot interne schijven"
t MSG_333 "Lokale account met gebruikersnaam aanmaken:"
t MSG_334 "Regionale opties op dezelfde waarden als deze gebruiker instellen"
t MSG_335 "Automatische Bitlocker-apparaatversleuteling uitschakelen"
-t MSG_337 "Om deze functie te kunnen gebruiken, moet u een extra bestand (‘%s’) downloaden van Microsoft:\n- Selecteer ‘Ja’ om verbinding te maken met internet en het bestand te downloaden\n- Selecteer ‘Nee’ om de handeling te annuleren\n\nOpmerking: het bestand wordt gedownload naar de map van de toepassing en wordt automatisch opnieuw gebruikt als het daar al aanwezig is."
+t MSG_337 "Er moet een extra bestand ('diskcopy.dll') worden gedownload van Microsoft om MS-DOS te installeren:\n- Selecteer 'Ja' om verbinding te maken met internet en het bestand te downloaden\n- Selecteer 'Nee' om de bewerking te annuleren\n\nOpmerking: het bestand wordt gedownload in de map van de toepassing en wordt automatisch opnieuw gebruikt als het aanwezig is."
t MSG_338 "Ingetrokken UEFI-bootloader gedetecteerd"
t MSG_339 "Rufus heeft gedetecteerd dat de ISO die u hebt geselecteerd een UEFI-bootloader bevat die is ingetrokken en %s zal produceren wanneer Secure Boot is ingeschakeld op een volledig bijgewerkt UEFI-systeem.\n\n- Als u deze ISO-image hebt verkregen van een niet-vertrouwde bron, houdt u best rekening met de mogelijkheid dat het UEFI-malware bevat en vermijdt u om ervan op te starten.\n- Als u het van een betrouwbare bron hebt verkregen, moet u proberen een meer up-to-date versie te vinden die deze waarschuwing niet produceert."
t MSG_340 "een \"Security Violation\"-scherm"
@@ -4176,27 +3968,6 @@ t MSG_346 "Windows beperken tot S-Modus (NIET COMPATIBEL met omzeiling voor onli
t MSG_347 "Expert-modus"
t MSG_348 "Archiefbestanden uitpakken: %s"
t MSG_349 "Rufus MBR gebruiken"
-t MSG_350 "'Windows CA 2023' signed bootloaders gebruiken (alleen voor compatibele doel-pc's)"
-t MSG_351 "Controleren of de UEFI-bootloader is ingetrokken..."
-t MSG_352 "Controleren op updates voor UEFI DBX..."
-t MSG_353 "Update voor DBX beschikbaar"
-t MSG_354 "Rufus heeft een bijgewerkte versie gevonden van de DBX-bestanden die worden gebruikt voor het controleren van de intrekking van UEFI Secure Boot. Wilt u deze update downloaden?\n- Selecteer ‘Ja’ om verbinding te maken met internet en deze inhoud te downloaden\n- Selecteer ‘Nee’ om de bewerking te annuleren\n\nOpmerking: de bestanden worden gedownload naar de map van de toepassing en worden automatisch opnieuw gebruikt als ze daar al aanwezig zijn.\n\nVertaald met DeepL.com (gratis versie)"
-t MSG_355 "⚠STIL⚠ schijf wissen en installeren:"
-t MSG_356 "U hebt ervoor gekozen om de “stille” Windows-installatieoptie te gebruiken.\n\nDit is een geavanceerde optie, bedoeld voor gebruikers die installatiemedia willen maken waarbij de gebruiker tijdens de Windows-installatie niet om bevestiging wordt gevraagd en waarbij de eerste gedetecteerde schijf op het doelsysteem daarom ONVOORWAARDELIJK WORDT GEWIST. Als u niet voorzichtig bent, kan het gebruik van deze optie leiden tot ONOMKEERBAAR GEGEVENSVERLIES!\n\nAls dit niet is wat u wilt, selecteer dan ‘Nee’ om terug te gaan en vink de optie uit.\nAnders, als u ‘Ja’ selecteert, gaat u ermee akkoord dat de volledige verantwoordelijkheid voor eventueel gegevensverlies volledig bij uzelf ligt."
-t MSG_358 "Locatie van image niet ondersteund"
-t MSG_359 "U kunt geen image gebruiken die op de doelschijf staat, aangezien die schijf volledig zal worden gewist. Dat is hetzelfde als proberen de tak door te zagen waarop u zit!\n\nVerplaats de image naar een andere locatie en probeer het opnieuw."
-t MSG_360 "U kunt deze optie gerust ingeschakeld laten, zelfs als u een TPM of meer RAM-geheugen hebt, aangezien deze optie alleen de installatievereisten omzeilt en niet daadwerkelijk verhindert dat Windows alle beschikbare hardware gebruikt."
-t MSG_361 "Om deze optie te laten werken, MOET de netwerk-/internetverbinding tijdens de installatie uitgeschakeld zijn!"
-t MSG_362 "Beantwoord de vragen in de Windows-installatieprocedure over het delen van gegevens met Microsoft automatisch met ‘nee’, in plaats van de gebruiker hierom te vragen."
-t MSG_363 "Laat deze optie ingeschakeld, tenzij u ermee akkoord gaat dat ‘Windows To Go’ toegang krijgt tot interne schijven en in de achtergrond onomkeerbare upgrades van het bestandssysteem uitvoert."
-t MSG_364 "Maak automatisch een lokaal account aan met de opgegeven gebruikersnaam en een leeg wachtwoord, dat bij de volgende aanmelding moet worden gewijzigd."
-t MSG_365 "Kopieer de regionale instellingen van deze pc (toetsenbord, tijdzone, valuta), in plaats van de gebruiker hierom te vragen."
-t MSG_366 "De systeemschijf niet versleutelen, tenzij de gebruiker hier uitdrukkelijk om vraagt."
-t MSG_367 "Gebruik deze optie alleen als u weet wat S-Mode is en u zich ervan bewust bent dat uw systeem mogelijk in S-Mode blijft staan, zelfs nadat u Windows volledig hebt gewist en opnieuw hebt geïnstalleerd."
-t MSG_368 "Gebruik deze optie als het systeem waarop u Windows wilt installeren, volledig bijgewerkte Secure Boot-certificaten gebruikt. Indien nodig kunt u overwegen om ‘Mosby’ te gebruiken om uw systeem bij te werken."
-t MSG_369 "Gebruik deze optie als u extra, mogelijk onveilige Windows-bootloaders wilt uitschakelen, maar houd er rekening mee dat hierdoor mogelijk ook standaard Windows-media niet meer kunnen opstarten."
-t MSG_370 "Verbeteringen op het gebied van levenskwaliteit: schakel de meeste ongewenste functies uit die Microsoft eindgebruikers probeert op te dringen."
-t MSG_371 "Als u deze optie gebruikt, zorg er dan voor dat u alle schijven van de doelcomputer loskoppelt, behalve de schijf waarop u Windows wilt installeren, en laat het installatiemedium niet aangesloten op een computer die u niet wilt wissen."
t MSG_900 "Rufus is een programma dat helpt bij het formatteren en aanmaken van opstartbare USB-flash-drives, zoals USB-sticks, geheugensticks, enz."
t MSG_901 "Officiële site: %s"
t MSG_902 "Broncode: %s"
@@ -4219,7 +3990,7 @@ t MSG_922 "UEFI Shell ISO's downloaden"
#########################################################################
l "fi-FI" "Finnish (Suomi)" 0x040B
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -4406,7 +4177,7 @@ t MSG_129 "Loit juuri tietovälineen, joka käyttää UEFI:NTFS -käynnistyslata
t MSG_130 "Windows-levykuvan valinta"
t MSG_131 "Tämä ISO-tiedosto sisältää useita Windows-levykuvia.\nValitse levykuva, jota haluat käyttää tähän asennukseen:"
t MSG_132 "Jokin toinen ohjelma tai prosessi käyttää tätä levyä parhaillaan. Haluatko silti alustaa sen?"
-t MSG_133 "Rufus on havainnut, että yrität luoda 'Windows To Go' -tietovälinettä joka pohjautuu 1809 ISO-levykuvaan.\n\n*MICROSOFTIN OHJELMOINTIVIRHEEN* vuoksi tämä tietoväline kaatuu Windowsin käynnistyksen aikana (keskeytysvirhe), ellet manuaalisesti korvaa 'WppRecorder.sys' -tiedostoa 1803-versiolla.\n\nHuomaathan, että 'WppRecorder.sys' on Microsoftin tekijänoikeudellinen tiedosto. Rufus ei voi automaattisesti korjata tätä virhettä, sillä emme voi tarjota kyseistä tiedostoa sovelluksen kautta lakiteknisistä syistä..."
+t MSG_133 "Rufus on havainnut, että yrität luoda Windows to Go -tietovälinettä joka pohjautuu 1809 ISO-levykuvaan.\n\n*MICROSOFTIN OHJELMOINTIVIRHEEN* vuoksi tämä tietoväline kaatuu Windowsin käynnistyksen aikana (Blue Screen Of Death), ellet manuaalisesti korvaa 'WppRecorder.sys' -tiedostoa 1803-versiolla.\n\nHuomaathan, että 'WppRecorder.sys' on Microsoftin tekijänoikeudellinen tiedosto ja täten Rufus ei voi automaattisesti korjata tätä virhettä, sillä emme voi tarjota kyseistä tiedostoa sovelluksemme kautta lakiteknisistä syistä..."
t MSG_134 "Koska osion tyypiksi on valittu MBR, voi Rufus luoda vain maksimissaan 2 TB:n kokoisen osion tälle tietovälineelle jättäen %s levytilaa käyttökelvottomaksi.\n\nHaluatko varmasti jatkaa?"
t MSG_135 "Versio"
t MSG_136 "Julkaisu"
@@ -4593,8 +4364,6 @@ t MSG_319 "Sivuuta Boot Marker"
t MSG_320 "Päivitetään osioiden sijoittelua (%s)..."
t MSG_321 "Valitsemasi levykuva on ISOHybrid-muotoinen, mutta sen tekijät eivät ole tehneet siitä yhteensopivaa ISO/tiedostotyyppisen kopiointitilan kanssa.\nTämän vuoksi käyttöön otetaan DD-kuvan kirjoitustila."
t MSG_322 "Ei voitu avata tai lukea kohdetta '%s'"
-t MSG_323 "Ota käyttöön SkuSiPolicy.p7b-käytäntö asennuksen yhteydessä (Katso KB5042562)"
-t MSG_324 "QoL-parannukset (Älä pakota ominaisuuksia Copilot, OneDrive, Outlook, Fast Startup jne.)"
t MSG_325 "Asetetaan Windowsin mukautusasetuksia: %s"
t MSG_326 "Asetetaan käyttäjäasetuksia..."
t MSG_327 "Windows-käyttäjäkokemus"
@@ -4607,7 +4376,7 @@ t MSG_333 "Luo paikallinen käyttäjätili käyttäjänimellä:"
t MSG_334 "Aseta alueelliset vaihtoehdot samoihin asetuksiin kuin nykyisellä käyttäjällä"
t MSG_335 "Poista käytöstä automaattinen laitteen BitLocker-salaus"
t MSG_336 "Pysyvä lokitiedosto"
-t MSG_337 "Tämän ominaisuuden käyttö vaatii Microsoftilta ladattavan lisätiedoston ('%s'):\n- Valitse 'Kyllä' yhdistääksesi internetiin ja ladataksesi sen\n- Valitse 'Ei' peruuttaaksesi toiminnon\n\nHuomio: Tiedosto ladataan sovelluskansioon ja sitä voidaan uudelleenkäyttää automaattisesti."
+t MSG_337 "Uusi tiedosto ('diskcopy.dll') on ladattava Microsoftilta MS-DOSin asennusta varten:\n- Valitse 'Kyllä' yhdistääksesi internetiin ja ladataksesi sen\n- Valitse 'Ei' peruuttaaksesi toiminnon\n\nHuomio: Tiedosto ladataan sovelluksen kansioon ja sitä uudelleenkäytetään automaattisesti, jos se on jo olemassa."
t MSG_338 "Mitätöity UEFI-käynnistyslataaja havaittu"
t MSG_339 "Rufus havaitsi, että käyttämäsi ISO-levykuva sisältää UEFI-käynnistyslataajan, joka on mitätöity ja tulee aiheuttamaan %s Secure Bootin ollessa päällä ajantasaisessa UEFI-kokoonpanossa.\n\n- Jos olet hankkinut tämän ISO-levykuvan ei-luotettavasta lähteestä, huomioi UEFI-haittaohjelmien mahdollisuus ja vältä siltä käynnistämistä.\n- Jos olet hankkinut sen luotettavasta lähteestä, sinun tulisi yrittää etsiä uudempi versio, joka ei aiheuta tätä varoitusta."
t MSG_340 "\"Turvallisuusrikkomus\"-näkymän"
@@ -4616,31 +4385,10 @@ t MSG_342 "Pakattu VHDX-levykuva"
t MSG_343 "Pakkaamaton VHD-levykuva"
t MSG_344 "Full Flash Update -levykuva"
t MSG_345 "Tämän toiminnon käyttäminen vaatii lisätiedostojen lataamista Microsoftilta:\n- Valitse 'Kyllä' yhdistääksesi internetiin ja ladataksesi ne\n- Valitse 'Ei' peruuttaaksesi toiminnon"
-t MSG_346 "Rajoita Windows käyttämään S Mode -tilaa (EI YHTEENSOPIVA verkkotilin ohituksen kanssa)"
+t MSG_346 "Rajoita Windows S Mode-tilaan (EI YHTEENSOPIVA verkkotilin ohituksen kanssa)"
t MSG_347 "Asiantuntijatila"
t MSG_348 "Puretaan tiedostoarkistoja: %s"
t MSG_349 "Rufusin MBR:n käyttö"
-t MSG_350 "Käytä 'Windows CA 2023' -allekirjoitettuja käynnistyslataajia (Vaatii yhteensopivan kohdetietokoneen)"
-t MSG_351 "Tarkistetaan, onko UEFI-käynnistyslataaja mitätöity..."
-t MSG_352 "Tarkistetaan UEFI DBX-tietokannan päivityksiä..."
-t MSG_353 "DBX-päivitys saatavilla"
-t MSG_354 "Rufus on havainnut päivitetyn version DBX-tiedostoista, joita käytetään UEFI Secure Boot -mitätöintitarkistuksissa. Haluatko ladata päivityksen?\n- Valitse 'Kyllä' yhdistääksesi internetiin ja ladataksesi sisällön\n- Valitse 'Ei' peruuttaaksesi toiminnon\n\nHuomio: Tiedostot ladataan sovelluskansioon ja niitä voidaan uudelleenkäyttää automaattisesti."
-t MSG_355 "Tyhjennä levy ja suorita asennus ⚠VALVOMATTA⚠:"
-t MSG_356 "Olet valinnut Windows-asennustavan, joka tapahtuu \"valvomatta\".\n\nTämä on edistyneille käyttäjille suunnattu toiminto luoden tietovälineen, joka ei vaadi mitään käyttäjän syötettä asennuksen aikana ja täten TYHJENTÄÄ VAROITUKSETTA ensimmäisen havaitun levyn kohdejärjestelmässä. Jos et ole tarkkana, voi tämä valinta johtaa PERUUTTAMATTOMAAN TIEDON MENETYKSEEN!\n\nJos et halua käyttää tätä ominaisuutta, valitse 'Ei' palataksesi ja poista valintaruudun valinta.\nValitsemalla 'Kyllä' hyväksyt, että mahdollinen tietojen menetys on täysin SINUN vastuullasi."
-t MSG_358 "Levykuvan sijaintia ei tueta"
-t MSG_359 "Et voi käyttää kohdeasemalle tallennettua levykuvaa, sillä tämä asema tyhjennetään kokonaisuudessaan. Se on vähän kuin omaa oksaansa sahaisi!\n\nSiirrä levykuva eri sijaintiin ja yritä uudelleen."
-t MSG_360 "Voit turvallisesti käyttää tätä valintaa, vaikka sinulta löytyisi TPM tai enemmän keskusmuistia, sillä se sivuuttaa ainoastaan asennusvaatimuksen eikä rajoita Windowsia käyttämästä saatavilla olevaa laitteistoa."
-t MSG_361 "Tämän valinnan toiminta VAATII verkon/internetin kytkemisen pois päältä asennuksen ajaksi!"
-t MSG_362 "Vastaa automaattisesti käyttäjältä kysymättä 'ei' Windowsin asennusvalintoihin, jotka liittyvät tiedon jakamiseen Microsoftin kanssa."
-t MSG_363 "Tämä valinta kannattaa pitää valittuna, ellet halua sallia 'Windows to Go' -asennukselle pääsyä sisäisiin levyihin ja valvomatonta, peruuttamatonta tiedostojärjestelmien päivitystä."
-t MSG_364 "Luo automaattisesti paikallinen tili määritetyllä käyttäjänimellä ja tyhjällä salasanalla, joka tulee vaihtaa seuraavan sisäänkirjautumisen yhteydessä."
-t MSG_365 "Kopioi alueelliset asetukset (näppäimistö, aikavyöhyke, valuutta) tästä tietokoneesta käyttäjältä kysymisen sijaan."
-t MSG_366 "Älä salaa järjestelmälevyä, ellei käyttäjä sitä erikseen pyydä."
-t MSG_367 "Käytä tätä valintaa vain, jos tiedät mitä S Mode -tila tarkoittaa ja ymmärrät, että järjestelmäsi voi lukittua S Mode -tilaan vaikka poistaisit ja uudelleenasentaisit Windowsin kokonaan."
-t MSG_368 "Käytä tätä valintaa, jos Windows-asennuksen kohdetietokoneesta löytyy täysin ajan tasalla olevat Secure Boot -sertifikaatit. Voit halutessasi tutustua 'Mosby'-ohjelmaan päivitystä varten."
-t MSG_369 "Käytä tätä valintaa, jos haluat mitätöidä useampia mahdollisesti vaarallisia Windows-käynnistyslataajia, mutta samalla mahdollisesti estäen myös joidenkin normaalien Windows-tietovälineiden käynnistymisen."
-t MSG_370 "\"Quality of Life\" -parannukset: Poista käytöstä useimmat ei-halutut ominaisuudet, joita Microsoft yrittää pakottaa käyttäjiä väkisin käyttämään."
-t MSG_371 "Jos käytät tätä valintaa, varmistathan, että kaikki levyt on irroitettu kohdetietokoneesta lukuunottamatta haluttua Windows-asennuksen kohdelevyä. Älä myöskään jätä tietovälinettä yhdistetyksi sellaiseen tietokoneeseen, jonka levyjä et halua tyhjennettävän."
t MSG_900 "Rufus on ohjelma, joka auttaa alustamaan ja luomaan boottaavia USB-laitteita, kuten esimerkiksi USB-avaimia, muistitikkuja jne."
t MSG_901 "Virallinen sivusto: %s"
t MSG_902 "Lähdekoodi: %s"
@@ -4663,7 +4411,7 @@ t MSG_922 "Lataa UEFI Shell ISO-levykuvia"
#########################################################################
l "fr-FR" "French (Français)" 0x040c, 0x080c, 0x0c0c, 0x100c, 0x140c, 0x180c, 0x1c0c, 0x200c, 0x240c, 0x280c, 0x2c0c, 0x300c, 0x340c, 0x380c, 0xe40c
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -4720,7 +4468,7 @@ t IDCANCEL "Fermer"
t IDD_UPDATE_POLICY "Paramètres de mises à jour"
t IDS_UPDATE_SETTINGS_GRP "Options"
t IDS_UPDATE_FREQUENCY_TXT "Recherche mises à jour"
-t IDS_INCLUDE_BETAS_TXT "Inclure les versions bêta"
+t IDS_INCLUDE_BETAS_TXT "Inclure les bétas"
t IDC_CHECK_NOW "Chercher maintenant"
t MSG_001 "Autre instance détectée"
@@ -4781,26 +4529,26 @@ t MSG_058 "Le handle de périphérique est invalide."
t MSG_059 "Cette taille de cluster n'est pas applicable ici."
t MSG_060 "La taille du volume est invalide."
t MSG_061 "Veuillez insérer un média dans le lecteur."
-t MSG_062 "Une commande non prise en charge a été reçue."
+t MSG_062 "Commande non supportée."
t MSG_063 "Erreur d'allocation mémoire."
t MSG_064 "Erreur de lecture."
t MSG_065 "Erreur d'écriture."
t MSG_066 "L'installation a échoué"
t MSG_067 "Impossible d'accéder au média. Il peut être en cours d'utilisation par une autre application. Essayer de déconnecter le média et essayez à nouveau."
-t MSG_068 "Échec de partitionnement."
+t MSG_068 "Echec de partitionnement."
t MSG_069 "Impossible de copier les fichiers sur le périphérique de destination."
t MSG_070 "Opération annulée par l'utilisateur."
t MSG_071 "Impossible de créer le thread."
t MSG_072 "La vérification de blocs défectueux a été interrompue."
-t MSG_073 "Échec d'analyse de l'image ISO."
-t MSG_074 "Échec d'extraction de l'image ISO."
-t MSG_075 "Échec lors du remontage du volume."
-t MSG_076 "Échec de modification des fichiers de démarrage."
-t MSG_077 "Échec d'assignation d'une lettre de volume."
+t MSG_073 "Echec d'analyse de l'image ISO."
+t MSG_074 "Echec d'extraction de l'image ISO."
+t MSG_075 "Echec lors du remontage du volume."
+t MSG_076 "Echec de modification des fichiers de démarrage."
+t MSG_077 "Echec d'assignation d'une lettre de volume."
t MSG_078 "Impossible de monter le volume GUID."
t MSG_079 "Le périphérique n'est pas prêt."
t MSG_080 "Rufus a détecté que Windows est en train de finir de vider la mémoire tampon.\n\nEn fonction de la vitesse de votre périphérique et de la taille du fichier, cette opération peut prendre beaucoup de temps.\n\nNous recommandons d'attendre que Windows complète cette opération pour éviter la corruption du périphérique. Mais si jamais vous en avez marre d'attendre, vous pouvez essayer de déconnecter le média..."
-t MSG_081 "Image non prise en charge"
+t MSG_081 "Image non supportée"
t MSG_082 "Cette image n'est pas démarrable, ou bien elle utilise une méthode de démarrage ou de compression qui n'est pas compatible avec Rufus..."
t MSG_083 "Remplacer %s ?"
t MSG_084 "Cette image ISO utilise une version obsolète du fichier '%s'.\nLes menus de démarrage peuvent de pas fonctionner à cause de cela.\n\nRufus peut télécharger une nouvelle version du fichier pour résoudre ce problème :\n- Choisissez 'Oui' pour télécharger le fichier depuis Internet\n- Choisissez 'Non' pour garder le fichier de l'image ISO\nSi vous ne savez pas quoi faire, sélectionnez 'Oui'.\n\nNote : Le nouveau fichier sera téléchargé dans le répertoire courant. Si un '%s' existe à cet endroit, il sera réutilisé automatiquement."
@@ -4809,9 +4557,9 @@ t MSG_086 "Aucune image sélectionnée"
t MSG_087 "pour NAND %s"
t MSG_088 "Image trop large"
t MSG_089 "L'image est trop large pour être copiée sur le périphérique sélectionné."
-t MSG_090 "Image ISO non prise en charge"
+t MSG_090 "Image ISO non supportée"
t MSG_091 "Quand UEFI est sélectionné, seules les images ISO basées sur EFI sont supportées. Veuillez sélectionner une image ISO démarrable avec EFI ou sélectionner BIOS pour le système de destination."
-t MSG_092 "Système de fichiers non pris en charge"
+t MSG_092 "Système de fichiers non supporté"
t MSG_093 "IMPORTANT : CE PÉRIPHÉRIQUE CONTIENT PLUSIEURS PARTITIONS !!\n\nCeci peut inclure des partitions/volumes qui ne sont pas listées ou bien visibles depuis Windows. Si vous décidez de continuer, vous êtes responsable de toute perte de données intervenant sur ces partitions."
t MSG_094 "Partitions multiples détectées"
t MSG_095 "Image DD"
@@ -4820,7 +4568,7 @@ t MSG_097 "'%s' peut seulement être appliqué pour un système de fichiers NTFS
t MSG_098 "IMPORTANT : Vous essayez d'installer 'Windows To Go', mais votre périphérique de destination ne possède pas l'attribut 'FIXE'. A cause de cela, Windows va très probablement geler lors du démarrage, car Microsoft ne l'a pas conçu pour fonctionner avec des périphériques qui possèdent l'attribut 'AMOVIBLE'.\n\nVoulez vous continuer malgré celà ?\n\nNote : L'attribut 'FIXE/AMOVIBLE' est une propriété matérielle qui peut uniquement être changée avec des outils propriétaires, que les fabriquants de périphériques ne fournissent PRESQUE JAMAIS au public..."
t MSG_099 "Limitation du système de fichiers"
t MSG_100 "Cette image ISO contient un fichier de plus de 4 Go, soit plus que la taille maximale autorisée pour un système de fichiers FAT ou FAT32."
-t MSG_101 "Prise en charge des archives WIM non disponible"
+t MSG_101 "Support pour archives WIM non disponible"
t MSG_102 "Votre plateforme ne peut pas extraire les fichiers depuis les archives WIM. L'extraction de données WIM est nécessaire pour créer des médias USB démarrable avec EFI pour Windows 7/8 ou Windows Vista. Vous pouvez adresser ce problème en téléchargeant une version récente de l'utilitaire 7-Zip.\nVoulez-vous visiter la page de téléchargements de 7-zip ?"
t MSG_103 "Télécharger %s ?"
t MSG_104 "%s ou plus récent requiert l'installation d'un fichier '%s'.\nPuisque ce fichier fait plus de 100 Ko et est toujours présent sur les images ISO à base de %s, il n'est pas inclus dans l'application.\n\nRufus peut télécharger ce fichier pour vous :\n- Choisissez 'Oui' pour télécharger le fichier depuis Internet\n- Choisissez 'Non' si vous compter copier ce fichier manuellement\nNote : Ce fichier est téléchargé dans le répertoire courant. Une fois qu'un fichier'%s' existe à cet endroit, il sera réutilisé automatiquement."
@@ -4852,7 +4600,7 @@ t MSG_130 "Sélection d'image Windows"
t MSG_131 "Cette ISO contient plusieurs images Windows.\nVeuillez sélectionner l'image que vous souhaitez utiliser pour cette installation :"
t MSG_132 "Ce lecteur est utilisé par une autre application ou un autre processus. Voulez-vous quand même le formater ?"
t MSG_133 "Rufus a détecté que vous êtes en train de créer un média 'Windows To Go' à partir d'une ISO 1809.\n\nA cause d'un *BUG MICROSOFT*, ce média va planter durant le démarrage de Windows (Blue Screen Of Death), à moins que vous ne remplaciez le fichier 'WppRecorder.sys' par la version 1803.\n\nVeuillez aussi noter que la raison pour laquelle Rufus ne peut pas corriger ce problème pour vous est que le fichier 'WppRecorder.sys' est sujet au copyright de Microsoft, donc nous ne pouvons pas légalement en produire une copie avec cette application..."
-t MSG_134 "Parce que MBR a été sélectionné pour le schéma de partition, Rufus peut seulement créer une partition sur ce média occupant jusqu’à 2 To, ce qui laissera %s d’espace disque non-disponible.\n\nÊtes-vous sûr de vouloir continuer ?"
+t MSG_134 "Parce que MBR a été sélectionné pour le schéma de partition, Rufus peut seulement créer une partition sur ce média occupant jusqu’à 2 To, ce qui laissera %s d’espace disque non-disponible.\n\nEtes-vous sûr de vouloir continuer ?"
t MSG_137 "Édition"
t MSG_138 "Langue de produit"
t MSG_140 "Continuer"
@@ -4914,7 +4662,7 @@ t MSG_198 "'Windows To Go' peut seulement être installé sur un disque partitio
t MSG_199 "Cette fonctionalité n'est pas disponible pour cette plateforme."
t MSG_201 "Annulation - Veuillez patienter..."
t MSG_202 "Analyse de l'image..."
-t MSG_203 "Échec de l'analyse de l'image"
+t MSG_203 "Echec d'analyse de l'image"
t MSG_204 "Fichier %s obsolète détecté"
t MSG_205 "Image utilisée : %s"
t MSG_206 "Fichier %s manquant"
@@ -4923,27 +4671,27 @@ t MSG_208 "%d périphérique détecté"
t MSG_209 "%d périphériques détectés"
t MSG_210 "PRÊT"
t MSG_211 "Opération annulée"
-t MSG_212 "Échec"
+t MSG_212 "ECHEC"
t MSG_213 "Lancement de la nouvelle application..."
-t MSG_214 "Échec de lancement de l'application"
+t MSG_214 "Echec de lancement de l'application"
t MSG_215 "%s ouvert"
t MSG_216 "%s sauvegardé"
t MSG_217 "Formatage : %s"
-t MSG_218 "Système de fichiers : Tâche %d/%d terminée"
-t MSG_219 "Finalisation NTFS : %d%% terminé"
+t MSG_218 "Système de fichiers : Tâche %d/%d complétée"
+t MSG_219 "Finalisation NTFS : %d%% complété"
t MSG_220 "Formatage (%s) - durée estimée %d :%02d..."
-t MSG_221 "Écriture du label (%s)..."
+t MSG_221 "Ecriture du label (%s)..."
t MSG_222 "Formatage (%s)..."
t MSG_223 "Finalisation NTFS (Checkdisk)..."
t MSG_224 "Effacement des structures MBR/PBR/GPT..."
t MSG_225 "Requête d'accès disque..."
t MSG_226 "Analyse des structures de boot existantes..."
t MSG_227 "Fermeture des volumes existants..."
-t MSG_228 "Écriture du MBR..."
-t MSG_229 "Écriture du PBR..."
+t MSG_228 "Ecriture du MBR..."
+t MSG_229 "Ecriture du PBR..."
t MSG_230 "Copie des fichiers DOS..."
t MSG_231 "Copie des fichiers ISO : %s"
-t MSG_232 "Écriture boot Win7 EFI (%s)..."
+t MSG_232 "Ecriture boot Win7 EFI (%s)..."
t MSG_233 "Finalisation, veuillez patienter..."
t MSG_234 "Installation de Syslinux %s..."
t MSG_235 "Test de défauts : %s %d/%d - %0.2f%% (%d/%d/%d erreurs)"
@@ -4951,16 +4699,16 @@ t MSG_236 "Test de défauts : Test avec motif aléatoire"
t MSG_237 "Test de défauts : Test avec motif 0x%02X"
t MSG_238 "Partitionnement (%s)..."
t MSG_239 "Suppression des partitions (%s)..."
-t MSG_240 "La signature de la mise à jour qui vient d’être téléchargée ne peut pas être validée. Cela peut indiquer que votre système n’est pas configuré correctement pour la validation de signatures numériques, ou que le téléchargement contient un fichier malicieux.\n\nLe téléchargement va être supprimé. Veuillez consulter le log pour plus de détails."
+t MSG_240 "La signature de la mise à jour qui vient d’être téléchargée ne peut pas être validée. Cela peut indiquer que votre système n’est pas configuré correctement pour la validation de signatures digitales, ou que le téléchargement contient un fichier malicieux.\n\nLe téléchargement va être supprimé. Veuillez consulter le log pour plus de détails."
t MSG_241 "Téléchargement : %s"
-t MSG_242 "Échec de téléchargement du fichier."
+t MSG_242 "Echec de téléchargement du fichier."
t MSG_243 "Recherche des mises à jour..."
t MSG_244 "Mises à jour : Impossible de se connecter"
t MSG_245 "Mises à jour : Impossible de lire les données"
t MSG_246 "Une nouvelle version de Rufus est disponible !"
t MSG_247 "Pas de nouvelle mise à jour"
t MSG_248 "Clés de registre supprimées"
-t MSG_249 "Échec de suppression des clés registres"
+t MSG_249 "Echec de suppression des clés registres"
t MSG_250 "%s activé"
t MSG_251 "%s désactivé"
t MSG_252 "Tests de dépassement de taille"
@@ -4972,7 +4720,7 @@ t MSG_257 "Support Joliet"
t MSG_258 "Support Rock Ridge"
t MSG_259 "Forçage de mise à jour"
t MSG_260 "Compression NTFS"
-t MSG_261 "Écriture d'image : %s"
+t MSG_261 "Ecriture d'image : %s"
t MSG_262 "Support ISO"
t MSG_263 "Affichage de tailles avec de VRAIES unités"
t MSG_264 "Suppression du dossier '%s'"
@@ -4982,36 +4730,36 @@ t MSG_267 "Application de l'image Windows : %s"
t MSG_268 "Application de l'image Windows..."
t MSG_269 "Préservation des dates de fichiers"
t MSG_270 "Debug USB"
-t MSG_271 "Calcul des checksums de l'image : %s"
+t MSG_271 "Calculation des checksums de l'image : %s"
t MSG_272 "Calcule les checksums MD5, SHA1 et SHA256 pour l'image sélectionée"
t MSG_273 "Change la langue de l'application"
t MSG_274 "Image %s détectée"
t MSG_275 "L'image que vous avez sélectionnée est une image 'ISOHybrid'. Cela veut dire qu’elle peut être écrite soit en mode %s (copie de fichiers) ou en mode %s (image disque).\nRufus recommande d’utiliser le mode %s, de manière à ce que vous conserviez l’accès à votre périphérique après écriture.\nCependant, si vous rencontrez des erreurs lors du démarrage, vous pouvez à nouveau essayer d’écrire cette image, en mode %s.\n\nVeuillez sélectionner le mode que vous souhaitez utiliser pour écrire cette image :"
-t MSG_276 "Écrire en mode %s (Recommandé)"
-t MSG_277 "Écrire en mode %s"
+t MSG_276 "Ecrire en mode %s (Recommandé)"
+t MSG_277 "Ecrire en mode %s"
t MSG_278 "Recherche de processus en conflit..."
t MSG_279 "Non démarrable"
t MSG_280 "Image disque ou ISO"
t MSG_281 "%s (Veuillez sélectionner)"
t MSG_282 "Verrouillage exclusif de périphérique USB"
t MSG_283 "Signature invalide"
-t MSG_284 "L'exécutable téléchargé ne possède pas de signature numérique."
+t MSG_284 "L'exécutable téléchargé ne possède pas de signature digitale."
t MSG_285 "L'exécutable téléchargé est signé par '%s'.\nIl ne s'agit pas d'une signature que nous connaissons et peut indiquer une activité malicieuse...\nÊtes-vous certain de vouloir lancer ce fichier ?"
t MSG_286 "Effacement à zéro : %s"
-t MSG_287 "Détection des disques détachables non-USB"
+t MSG_287 "Détection disques non-USB détachables"
t MSG_288 "Privilèges élevés manquants"
-t MSG_289 "Cette application peut seulement être exécutée avec les privilèges administrateur"
-t MSG_290 "Indexation des fichiers"
-t MSG_291 "Sélection de la version"
+t MSG_289 "Cette application peut seulement être exécutée avec privilèges administratifs"
+t MSG_290 "Indexation de fichiers"
+t MSG_291 "Sélection de version"
t MSG_292 "Sélectionnez la version de Windows que vous souhaitez installer :"
-t MSG_293 "Version de Windows non prise en charge"
+t MSG_293 "Version de Windows non supportée"
t MSG_294 "Cette version de Windows n'est plus prise en charge par Rufus.\nLa dernière version de Rufus compatible avec cette plateforme est v%d.%d."
t MSG_295 "Alerte: Version non-officielle"
-t MSG_296 "Cette version de Rufus n'a pas produite par ses développeurs officiels.\n\nÊtes-vous sûr de vouloir la lancer ?"
+t MSG_296 "Cette version de Rufus n'a pas produite par ses développeurs officiels.\n\nEtes-vous sur de vouloir la lancer ?"
t MSG_297 "ISO tronquée détectée"
t MSG_298 "Le fichier ISO que vous avez sélectionné ne fait pas la bonne taille : %s de données sont manquantes !\n\nSi vous avez obtenu ce fichier depuis Internet, vous devriez essayer de le télécharger à nouveau et verifier que le MD5 ou SHA correspond aux valeurs officielles.\n\nNotez que vous pouvez calculer le MD5 ou SHA depuis Rufus en cliquant le bouton (✓)."
t MSG_299 "Erreur de validation du timestamp"
-t MSG_300 "Rufus n'a pas pu valider que le timestamp du fichier de mise à jour téléchargé est plus récent que celui de l'exécutable en cours.\n\nAfin d'éviter des scenarios d'attaque potentiels, le processus de mise à jour a été interrompu et le téléchargement va être supprimé. Pour plus de détails, veuillez consulter le log."
+t MSG_300 "Rufus n'a pas pu valider que le timestamp du fichier de mise à jour téléchargé est plus récent que celui de l'exécutable en cours.\n\nAfin de mitiger des scenarios d'attaque potentiels, le processus de mise à jour a été interrompu et le téléchargement va être supprimé. Pour plus de détails, veuillez consulter le log."
t MSG_301 "Affiche les paramètres de l'application"
t MSG_302 "Affiche des informations à propos de cette application"
t MSG_303 "Affiche le log"
@@ -5023,19 +4771,17 @@ t MSG_308 "Détection VHD"
t MSG_309 "Archive compressée"
t MSG_310 "L’image ISO que vous avez sélectionnée utilise EFI et est suffisamment petite pour être contenue entièrement dans une ESP (EFI System Partition). L’écriture en ESP, plutôt qu’en partition générique occupant la totalité de l’espace disque, peut s’avérer préférable pour certaines méthodes d’installation.\nVeuillez sélectionner le mode d’écriture que vous souhaitez utiliser pour écrire cette image :"
t MSG_311 "Utilisez %s (dans la fenêtre d’application principale) pour active."
-t MSG_312 "Checksum supplémentaire (SHA512)"
+t MSG_312 "Checksum hash supplémentaire (SHA512)"
t MSG_313 "Sauver en image VHD"
-t MSG_314 "Calculer les checksums de l’image sélectionnée"
+t MSG_314 "Calculer les checksums the l’image sélectionnée"
t MSG_315 "Multiples boutons"
t MSG_316 "Nombre de passes"
t MSG_317 "ID disque"
-t MSG_318 "Priorité de thread par défaut : %d"
+t MSG_318 "Priorité de thread part default : %d"
t MSG_319 "Ignorer le marqueur de démarrage"
-t MSG_320 "Rafraîchissement du schéma de partition (%s)..."
-t MSG_321 "L’image que vous avez sélectionnée est de type ISOHybrid, mais ses créateurs ne l’ont pas rendue compatible avec le mode ISO (i.e. copie de fichier).\nÀ cause de cela, seule l’écriture en mode DD est applicable."
+t MSG_320 "Rafraichissement du schéma de partition (%s)..."
+t MSG_321 "L’image que vous avez sélectionnée est de type ISOHybrid, mais ses créateurs ne l’ont pas rendue compatible avec le mode ISO (i.e. copie de fichier).\nA cause de cela, seule l’écriture en mode DD est applicable."
t MSG_322 "Impossible d'ouvrir ou de lire '%s'"
-t MSG_323 "Appliquer SkuSiPolicy.p7b après installation (Consultez KB5042562)"
-t MSG_324 "Améliorations 'QoL' (Ne force pas Copilot, OneDrive, Outlook, Fast Startup, etc.)"
t MSG_325 "Application des options de personnalisation de Windows: %s"
t MSG_326 "Application des options utilisateur..."
t MSG_327 "Expérience de l'utilisateur Windows"
@@ -5043,12 +4789,12 @@ t MSG_328 "Personnaliser l'installation de Windows ?"
t MSG_329 "Supprimer la nécessité d'avoir 4Go+ de RAM, Secure Boot et TPM 2.0"
t MSG_330 "Supprimer la nécessité d'utiliser un compte utilisateur Microsoft en ligne"
t MSG_331 "Désactiver la collecte de données (Supprime les questions de confidentialité)"
-t MSG_332 "Empêcher 'Windows To Go' d'accéder aux disques internes"
+t MSG_332 "Empêcher Windows To Go d'accéder aux disques internes"
t MSG_333 "Créer un compte local sous le nom de :"
t MSG_334 "Définir les options régionales avec les mêmes valeurs que celles de cet utilisateur"
-t MSG_335 "Désactiver le chiffrement automatique BitLocker"
+t MSG_335 "Désactiver l'encryption automatique BitLocker"
t MSG_336 "Log persistent"
-t MSG_337 "Un fichier supplémentaire ('%s') doit être téléchargé depuis Microsoft pour utiliser cette fonctionalité :\n- Sélectionnez 'Oui' pour vous connecter à Internet et le télécharger\n- Sélectionnez 'Non' pour annuler l’opération\n\nNote : Ce fichier sera téléchargé dans le répertoire de l'application et réutilisé automatiquement s'il est présent."
+t MSG_337 "Un fichier supplémentaire ('diskcopy.dll') doit être téléchargé depuis Microsoft pour installer MS-DOS :\n- Sélectionnez 'Oui' pour vous connecter à Internet et le télécharger\n- Sélectionnez 'Non' pour annuler l’opération\n\nNote : Ce fichier sera téléchargé dans le répertoire de l'application et réutilisé automatiquement s'il est présent."
t MSG_338 "Bootloader UEFI révoqué détecté"
t MSG_339 "Rufus a détecté que l’ISO que vous avez sélectionnée contient un bootloader UEFI révoqué, qui devrait produire %s sur un système UEFI à jour, lorsque 'Secure Boot' est activé.\n\n- Si vous avez obtenu cette image ISO à partir d’une source douteuse, vous devriez envisager la possibilité qu’elle puisse contenir un logiciel malveillant, et éviter de démarrer à partir de celle-ci.\n- Si vous l’avez obtenu à partir d’une source fiable, vous devriez essayer de trouver une version plus récente, où cette notification ne se produit pas."
t MSG_340 "un écran « Violation de sécurité »"
@@ -5061,27 +4807,6 @@ t MSG_346 "Restreint Windows au mode \"S\" (INCOMPATIBLE avec l'option de désac
t MSG_347 "Mode expert"
t MSG_348 "Extraction d'archive : %s"
t MSG_349 "Utilisation du MBR Rufus"
-t MSG_350 "Utiliser les bootloaders signés par 'Windows CA 2023' (nécessite un PC cible compatible)"
-t MSG_351 "Vérification de la revocation des bootloaders UEFI..."
-t MSG_352 "Vérification des mises à jour de DBX UEFI..."
-t MSG_353 "Mise à jour DBX disponible"
-t MSG_354 "Rufus a trouvé une mise à jour des fichiers DBX utilisés pour effectuer la validation des revocations Secure Boot sous UEFI. Voulez-vous télécharger cette mise à jour ?\n- Sélectionnez 'Oui' pour vous connecter à Internet et le télécharger ce contenu\n- Sélectionnez 'Non' pour annuler l’opération\n\nNote : Ces fichiers seront téléchargés dans le répertoire de l'application et réutilisés automatiquement si ils sont présent."
-t MSG_355 "Effacera le disque ⚠SILENCIEUSEMENT⚠ et installera:"
-t MSG_356 "Vous avez sélectionné l'option d'installation de Windows dite \"silencieuse\".\n\nIl s'agit d'une option avancée, réservée à ceux qui souhaitent créer un média d'installation qui ne posera aucune question à l'utilisateur pendant l'installation de Windows et qui EFFACERA SANS CONDITION le premier disque détecté sur le système cible. Si vous n'y prenez pas garde, l'utilisation de cette option peut résulter en une PERTE DE DONNÉES IRREVERSIBLE !\n\nSi cela n'est pas ce que vous souhaitez veuillez sélectionner 'Non' pour revenir en arrière et désélectionner cette option.\nSinon, si vous sélectionnez 'Oui', vous indiquez que toute perte de donnée en résultant sera entièrement VOTRE responsabilité."
-t MSG_358 "Placement d'image non supporté"
-t MSG_359 "Vous ne pouvez pas utiliser une image située sur le périphérique cible, puisque ce dernier va être complètement effacé. Cela revient au même qu'essayer de scier la branche sur laquelle vous êtes assis !\n\nVeuillez déplacer l'image sur un autre disque et réessayez."
-t MSG_360 "Vous pouvez laisser cette option activée même si vous avez une puce TPM ou plus de RAM, car l'option contourne simplement les prérequis du programme d'installation et n'empêche absolument pas Windows d'utiliser toutes ces ressources si disponibles."
-t MSG_361 "Pour que cette option fonctionne, vous DEVEZ déconnecter le réseau/Internet pendant l'installation !"
-t MSG_362 "Répond automatiquement 'non' aux questions du programme d'installation de Windows en ce qui concerne l'autorisation du partage de données avec Microsoft, au lieu de demander à l'utilisateur."
-t MSG_363 "Laissez cette option activée à moins que vous acceptiez que 'Windows To Go' puisse accéder aux disques internes pour effectuer des mises à jour, silencieuses et irréversible, des systèmes de fichiers."
-t MSG_364 "Crée un compte local automatiquement, pour le nom spécifié, et avec un mot de passe vide qui devra être changé à la prochaine session."
-t MSG_365 "Réplique les options régionales de ce PC (clavier, fuseau horaire, monnaie), au lieu de demander à l'utilisateur."
-t MSG_366 "Ne chiffre pas le disque système, sauf si l'utilisateur le demande explicitement."
-t MSG_367 "Activez cette option seulement si vous savez ce qu'est S-Mode et comprenez que votre système pourra être restreint au S-Mode même si vous supprimez Windows et le réinstallez complètement."
-t MSG_368 "Activez cette option si le système que vous installez utilise des certificats Secure Boot complètement à jour. Si nécessaire, vous pouvez utiliser 'Mosby' pour mettre votre système à jour."
-t MSG_369 "Activez cette option pour révoquer des bootloaders supplémentaires de Windows, mais avec le risque de ne plus pouvoir démarrer depuis des media Windows standard."
-t MSG_370 "Améliorations \"Quality of Life\" : Désactive la plupart des fonctionnalités que Microsoft essaie de pousser, contre leur gré, aux utilisateurs."
-t MSG_371 "Si vous utilisez cette option, veuillez-vous assurer que tous les disques, sauf celui sur lequel vous voulez installer Windows, est déconnecté du PC cible, et aussi que vous ne laisserez pas le média connecté sur un PC que vous ne voulez pas réinstaller."
t MSG_900 "Rufus est un utilitaire permettant de formater et de créer des média USB amorçables, tels que clés USB, mémoire flash, etc."
t MSG_901 "Site officiel : %s"
t MSG_902 "Code source: %s"
@@ -5103,7 +4828,7 @@ t MSG_922 "Téléchargez des images ISOs du Shell UEFI"
#########################################################################
l "de-DE" "German (Deutsch)" 0x0407, 0x0807, 0x0c07, 0x1007, 0x1407
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -5277,7 +5002,7 @@ t MSG_125 "Größe der persistenten Partition des Live-USB-Systems. Eine Größe
t MSG_126 "Einheit der Partitionsgröße festlegen."
t MSG_127 "Diese Nachricht nicht mehr anzeigen"
t MSG_128 "Wichtiger Hinweis zu %s"
-t MSG_129 "Sie haben gerade ein Medium erstellt, welches das UEFI:NTFS-Startprogramm verwendet. Bitte denken Sie daran, dass Sie zum Starten dieses Mediums SECURE BOOT DEAKTIVIEREN müssen.\nNach dem Abschluss des Vorgangs sollten Sie SECURE BOOT wieder aktivieren.\nWeitere Informationen, warum dies notwendig ist, finden Sie über die Schaltfläche \"Weitere Informationen\"."
+t MSG_129 "Sie haben gerade ein Medium erstellt, das den UEFI:NTFS-Bootloader verwendet. Bitte denken Sie daran, dass Sie zum Starten dieses Mediums SECURE BOOT DEAKTIVIEREN müssen.\nNach dem Abschluss des Vorgangs sollten Sie SECURE BOOT wieder aktivieren.\nWeitere Informationen, warum dies notwendig ist, finden Sie über die Schaltfläche \"Weitere Informationen\"."
t MSG_130 "Windows-Image auswählen"
t MSG_131 "Dieses ISO-Image enthält mehrere Windows-Images.\nBitte wählen Sie das Image aus, das Sie für diese Installation verwenden möchten:"
t MSG_132 "Ein anderer Prozess bzw. ein anderes Programm verwendet das Laufwerk gerade. Wollen Sie es trotzdem formatieren?"
@@ -5310,8 +5035,8 @@ t MSG_162 "Wenn nicht aktiviert, wird die \"langsame\" Formatierung verwendet"
t MSG_163 "Methode, mit der das Laufwerk partitioniert wird"
t MSG_164 "Methode, um das Laufwerk startfähig zu machen"
t MSG_165 "Image-Datei oder Download auswählen..."
-t MSG_166 "Wählen Sie diese Option, um die Anzeige internationaler Bezeichnungen zu ermöglichen und ein Gerätesymbol zu erzeugen (autorun.inf)."
-t MSG_167 "Ein UEFI-Startprogramm installieren, das eine MD5Sum-Dateiüberprüfung auf dem Datenträger durchführt"
+t MSG_166 "Wählen Sie diese Option, um die Anzeige internationaler Bezeichnungen zu ermöglichen und ein Gerätesymbol zu erzeugen (autorun.inf)"
+t MSG_167 "Ein UEFI Startprogramm installieren, das eine MD5Sum Dateiüberprüfung auf dem Datenträger durchführt"
t MSG_169 "Eine zusätzliche versteckte Partition erzeugen und die Partitionsgrenzen ausrichten.\nDas kann die Starterkennung für ältere BIOSe verbessern."
t MSG_170 "Erkennung von externen USB-Festplatten aktivieren. VERWENDUNG AUF EIGENES RISIKO!"
t MSG_171 "Formatierung starten.\nAlle Daten auf dem Ziellaufwerk werden GELÖSCHT!"
@@ -5338,7 +5063,7 @@ t MSG_192 "Lesen durchgeführt"
t MSG_193 "%s heruntergeladen"
t MSG_194 "%s konnte nicht heruntergeladen werden"
t MSG_195 "Embedded-Version der %s Datei(en) verwenden"
-t MSG_196 "WICHTIG: DIESES LAUFWERK HAT EINE NICHT STANDARDISIERTE SEKTORGRÖẞE!\n\nHerkömmliche Laufwerke nutzen eine Sektorgröße von 512 Byte, aber dieses Laufwerk nutzt %d Byte. Höchstwahrscheinlich können Sie von diesem Laufwerk NICHT starten.\nRufus kann versuchen, ein startfähiges Laufwerk zu erstellen, aber es gibt KEINE GARANTIE, dass es funktionieren wird."
+t MSG_196 "WICHTIG: DIESES LAUFWERK HAT EINE NICHT STANDARDISIERTE SEKTORGRÖSSE!\n\nHerkömmliche Laufwerke nutzen eine Sektorgröße von 512 Byte, aber dieses Laufwerk nutzt %d Byte. Höchstwahrscheinlich können Sie von diesem Laufwerk NICHT starten.\nRufus kann versuchen, ein startfähiges Laufwerk zu erstellen, aber es gibt KEINE GARANTIE, dass es funktionieren wird."
t MSG_197 "Nicht standardisierte Sektorgröße erkannt"
t MSG_198 "'Windows To Go' kann nur auf ein GPT-partitioniertes Laufwerk installiert werden, wenn das FIXED-Attribut gesetzt ist. Das aktuelle Laufwerk hat dieses nicht."
t MSG_199 "Diese Funktion ist auf dieser Plattform nicht verfügbar."
@@ -5389,7 +5114,7 @@ t MSG_244 "Update: Keine Verbindung zum Internet"
t MSG_245 "Update: Versionsinformationen können nicht ermittelt werden"
t MSG_246 "Eine neue Version von Rufus ist verfügbar!"
t MSG_247 "Es wurde keine neue Version von Rufus gefunden"
-t MSG_248 "Anwendungseinstellungen in der Registrierdatenbank erfolgreich gelöscht"
+t MSG_248 "Anwendungeinstellungen in der Registrierdatenbank erfolgreich gelöscht"
t MSG_249 "Fehler beim Löschen der Anwendungseinstellungen in der Registrierdatenbank"
t MSG_250 "%s aktiviert"
t MSG_251 "%s deaktiviert"
@@ -5451,8 +5176,8 @@ t MSG_306 "Laufwerk mit Nullen überschreiben (schnell): %s"
t MSG_307 "Der Vorgang nimmt einige Zeit in Anspruch"
t MSG_308 "VHD-Erkennung"
t MSG_309 "Archivdatei"
-t MSG_310 "Das ausgewählte ISO-Image verwendet UEFI und ist klein genug, um auf eine EFI-Systempartition (ESP) geschrieben zu werden. Es auf eine ESP anstelle einer normalen Partition zu schreiben, die die gesamte Festplatte belegt, kann für bestimmte Installationsarten vorteilhaft sein.\n\nBitte wählen Sie einen Modus aus:"
-t MSG_311 "Verwende %s (Hauptfenster der Anwendung) zum Aktivieren."
+t MSG_310 "Das ausgewählte ISO-Image verwendet UEFI und ist klein genug, um auf eine EFI System-Partition (ESP) geschrieben zu werden. Es auf eine ESP- anstelle einer normalen Partition zu schrieben, kann für bestimmte Installationsarten vorteilhaft sein.\n\nBitte wählen Sie einen Modus aus:"
+t MSG_311 "Verwende %s (Hauptfenster der Anwendung) zum aktivieren."
t MSG_312 "Zusätzliche Prüfsummen (SHA512)"
t MSG_313 "Als VHD speichern"
t MSG_314 "Prüfsumme des Images berechnen"
@@ -5462,78 +5187,54 @@ t MSG_317 "Disk-ID"
t MSG_318 "Standardmäßige Thread-Priorität: %d"
t MSG_319 "Boot-Markierung ignorieren"
t MSG_320 "Liste der Partitionen aktualisieren (%s)..."
-t MSG_321 "Das ausgewählte Image ist vom Typ ISOHybrid, aber der Ersteller hat es nicht mit dem ISO/Dateikopiermodus kompatibel gemacht.\nDeswegen wird der DD-Schreibmodus verwendet."
-t MSG_322 "'%s' kann nicht geöffnet/gelesen werden"
-t MSG_323 "SkuSiPolicy.p7b auf Installation anwenden. (Siehe KB5042562)"
-t MSG_324 "Komfort-Einstellungen (Copilot, OneDrive, Outlook und Schnellstart nicht aktivieren)"
-t MSG_325 "Windows-Anpassungen anwenden: %s"
+t MSG_321 "Das ausgewählte Image ist vom Typ ISOHybrid, aber der Ersteller hat es nicht mit dem ISO/Datei Kopier-Modus kompatibel gemacht.\nDeswegen wird der DD-Schreibmodus verwendet."
+t MSG_322 "'%' kann nicht geöffnet/gelesen werden"
+t MSG_325 "Windows Anpassungen anwenden: %s"
t MSG_326 "Benutzereinstellungen anwenden..."
-t MSG_327 "Windows-Benutzererfahrung"
+t MSG_327 "Windows Benutzererfahrung"
t MSG_328 "Windows-Installation anpassen?"
t MSG_329 "Anforderung für 4GB+ RAM, Secure Boot und TPM 2.0 entfernen"
-t MSG_330 "Anforderung für Online-Microsoft-Konto entfernen"
+t MSG_330 "Anforderung für Online Microsoft Konto entfernen"
t MSG_331 "Datenerfassung deaktivieren (Fragen zum Datenschutz überspringen)"
t MSG_332 "Verhindern, dass Windows To Go auf interne Laufwerke zugreifen kann"
t MSG_333 "Ein lokales Benutzerkonto erstellen:"
t MSG_334 "Regionale Optionen auf die gleichen Werte wie die dieses Benutzers setzen"
t MSG_335 "Deaktivieren der automatischen BitLocker-Laufwerksverschlüsselung"
t MSG_336 "Dauerhaftes Protokoll"
-t MSG_337 "Eine zusätzliche Datei ('%s') muss von Microsoft heruntergeladen werden, um diese Funktion zu nutzen:\n- Wählen Sie 'Ja', um eine Verbindung mit dem Internet herzustellen und die Datei herunterzuladen\n- Wählen Sie 'Nein', um den Vorgang abzubrechen\n\nHinweis: Die Datei wird ins Programmverzeichnis heruntergeladen und bei Bedarf wiederverwendet."
-t MSG_338 "Zurückgezogenes UEFI-Startprogramm erkannt"
-t MSG_339 "Rufus hat erkannt, dass das gewählte ISO-Image ein UEFI-Startprogramm enthält, das zurückgezogen wurde. Das führt zu %s, wenn das UEFI-System aktuell ist und Secure Boot aktiv ist.\n\n- Wenn Sie das ISO-Image aus einer unzuverlässigen Quelle haben, sollten Sie in Betracht ziehen, dass es UEFI-Schadcode enthält und es deshalb nicht verwenden.\n- Wenn Sie es aus einer vertrauenswürdigen Quelle haben, sollten Sie versuchen, eine aktuellere Version zu bekommen, die dieses Problem nicht hat."
+t MSG_337 "Eine zusätzliche Datei ('diskcopy.dll') muss von Microsoft heruntergeladen werden um MS-DOS zu installieren:\n- 'Ja' um eine Verbindung mit dem Internet herzustellen und die Datei herunterzuladen\n- 'Nein' um den Vorgang abzubrechen\n\nHinweis: Die Datei wird ins Programmverzeichnis heruntergeladen und bei Bedarf wiederverwendet."
+t MSG_338 "Zurückgezogenes UEFI Startprogramm erkannt"
+t MSG_339 "Rufus hat erkannt, dass das gewählte ISO-Image ein UEFI-Startprogramm enthält, dass zurückgezogen wurde und das führt zu %s, wenn das UEFI-System aktuell ist und Secure Boot aktiv ist.\n\n- Wenn Sie das ISO-Image aus einer unzuverlässigen Quelle haben, sollten Sie in Betracht ziehen, dass es UEFI-Schadcode enthält und es deshalb nicht verwenden.\n- Wenn Sie es aus einer vertrauenswürdigen Quelle haben, sollten Sie versuchen eine aktuellere Version zu bekommen, die dieses problem nicht hat."
t MSG_340 "ein Bildschirm \"Sicherheitsverletzung\""
-t MSG_341 "ein Windows-Wiederherstellungsbildschirm (BSOD) mit '%s'"
-t MSG_342 "Komprimiertes VHDX-Image"
-t MSG_343 "Unkomprimiertes VHD-Image"
-t MSG_344 "Vollständiges Flash-Update-Image"
-t MSG_345 "Einige weitere Daten müssen von Microsoft heruntergeladen werden, um diese Funktion zu verwenden:\n- Wählen Sie 'Ja', um eine Verbindung mit dem Internet herzustellen und diese herunterzuladen\n- Wählen Sie 'Nein', um den Vorgang abzubrechen"
+t MSG_341 "ein Windows Wiederherstellung-Bildschirm (BSOD) mit '%s'"
+t MSG_342 "Komprimiertes VHDX Image"
+t MSG_343 "Unkomprimiertes VHD Image"
+t MSG_345 "Einige weitere Daten müssen von Microsoft heruntergeladen werden, um diese Funktion zu verwenden:\n- 'Ja' um eine Verbindung mit dem Internet herzustellen und diese herunterzuladen\n- 'Nein' um den Vorgang abzubrechen"
t MSG_346 "Windows im S-Modus (nicht kompatibel mit Online Konto-Umgehung)"
-t MSG_347 "Expertenmodus"
-t MSG_348 "Archivdatei extrahieren: %s"
+t MSG_347 "Experten-Modus"
+t MSG_348 "Archiv-Datei extrahieren: %s"
t MSG_349 "Rufus MBR verwenden"
-t MSG_350 "Den \"Windows CA 2023\" signierten Bootloader verwenden. Ein kompatibler Computer ist erforderlich!"
-t MSG_351 "Auf gesperrte UEFI-Bootloader prüfen..."
-t MSG_352 "Prüfe auf UEFI DBX-Aktualisierungen..."
-t MSG_353 "DBX-Update verfügbar"
-t MSG_354 "Rufus hat eine aktualisierte Version der DBX-Dateien gefunden, die für die Überprüfung der UEFI-Secure-Boot-Widerrufsstatus verwendet werden. Möchten Sie dieses Update herunterladen?\n- Wählen Sie „Ja“, um eine Verbindung zum Internet herzustellen und diesen Inhalt herunterzuladen.\n- Wählen Sie „Nein“, um den Vorgang abzubrechen.\n\nHinweis: Die Dateien werden in das Verzeichnis der Anwendung heruntergeladen und bei Vorhandensein automatisch wiederverwendet.\n\nÜbersetzt mit DeepL.com (kostenlose Version)"
-t MSG_355 "⚠AUTOMATISCH⚠ Laufwerk löschen und installieren:"
-t MSG_356 "Sie haben die „automatische“ Windows-Installationsoption ausgewählt.\n\nDies ist eine Option für Fortgeschrittene, die für Benutzer gedacht ist, die ein Installationsmedium erstellen möchten, das den Benutzer während der Windows-Installation nicht auffordert, Eingaben vorzunehmen, und daher die erste erkannte Festplatte auf dem Zielsystem AUTOMATISCH LÖSCHT. Wenn Sie nicht vorsichtig sind, kann die Verwendung dieser Option zu UNWIDERRUFLICHEM DATENVERLUST führen!\n\nWenn Sie dies nicht wollen, wählen Sie bitte „Nein“, um zurückzugehen und die Option zu deaktivieren.\nAndernfalls erklären Sie sich mit der Auswahl von „Ja“ damit einverstanden, dass die gesamte Verantwortung für etwaige Datenverluste ausschließlich bei IHNEN liegt."
-t MSG_358 "Nicht unterstützter Abbild-Standort"
-t MSG_359 "Sie können kein Image verwenden, das sich auf dem Ziellaufwerk befindet, da dieses Laufwerk vollständig gelöscht wird. Das ist so, als würde man versuchen, den Ast abzusägen, auf dem man sitzt!\n\nBitte verschieben Sie das Image an einen anderen Speicherort und versuchen Sie es erneut."
-t MSG_360 "Sie können diese Option aktiviert lassen, auch wenn Sie über ein TPM oder mehr Arbeitsspeicher verfügen, da diese Option lediglich die Installationsanforderungen umgeht und Windows nicht daran hindert, die gesamte verfügbare Hardware zu nutzen."
-t MSG_361 "Damit diese Option funktioniert, MUSS die Netzwerk-/Internetverbindung während der Installation unterbrochen sein!"
-t MSG_362 "Beantwortet die Fragen des Windows-Setups bezüglich der Weitergabe von Daten an Microsoft automatisch mit „Nein“, anstatt den Benutzer dazu aufzufordern."
-t MSG_363 "Sie sollten diese Option aktiviert lassen, es sei denn, Sie haben nichts dagegen, dass „Windows To Go“ auf interne Festplatten zugreift und im Hintergrund irreversible Dateisystem-Upgrades durchführt."
-t MSG_364 "Erstellt automatisch ein lokales Konto mit dem angegebenen Benutzernamen und einem leeren Passwort, das bei der nächsten Anmeldung geändert werden muss."
-t MSG_365 "Die regionalen Einstellungen dieses PCs (Tastatur, Zeitzone, Währung) übernehmen, anstatt den Benutzer dazu aufzufordern."
-t MSG_366 "Nicht die Systemfestplatte verschlüsseln, es sei denn, der Benutzer wünscht dies ausdrücklich."
-t MSG_367 "Verwenden Sie diese Option nur, wenn Sie wissen, was der S-Modus ist, und sich darüber im Klaren sind, dass Ihr System möglicherweise auch nach einer vollständigen Löschung und Neuinstallation von Windows im S-Modus verbleibt."
-t MSG_368 "Verwenden Sie diese Option, wenn das System, auf dem Sie Windows installieren möchten, über vollständig aktuelle Secure-Boot-Zertifikate verfügt. Bei Bedarf können Sie die Verwendung von „Mosby“ in Betracht ziehen, um Ihr System zu aktualisieren."
-t MSG_369 "Verwenden Sie diese Option, wenn Sie weitere potenziell unsichere Windows-Bootloader deaktivieren möchten, wobei jedoch die Möglichkeit besteht, dass auch Standard-Windows-Datenträger nicht mehr booten."
-t MSG_370 "Komfort-Funktion: Deaktiviert die meisten unerwünschten Funktionen, die Microsoft den Endnutzern aufzuzwingen versucht."
-t MSG_371 "Wenn Sie diese Option verwenden, stellen Sie bitte sicher, dass Sie alle Festplatten vom Ziel-PC trennen, mit Ausnahme derjenigen, auf der Sie Windows installieren möchten, und dass Sie den Datenträger nicht in einem PC stecken lassen, den Sie nicht löschen möchten."
-t MSG_900 "Rufus ist ein Werkzeug, das beim Formatieren und Erstellen bootfähiger USB-Flash-Laufwerke wie USB-Sticks, Speichersticks usw. hilft."
+t MSG_900 "Rufus ist ein Werkzeug, welches dabei hilft, bootfähige USB-Laufwerke zu erstellen, wie beispielweise USB-Keys, Speichersticks usw."
t MSG_901 "Offizielle Website: %s"
t MSG_902 "Quellcode: %s"
t MSG_903 "Änderungsprotokoll: %s"
t MSG_904 "Diese Anwendung ist unter den Bedingungen der GNU Public License (GPL) Version 3 lizenziert.\nSiehe https://www.gnu.org/licenses/gpl-3.0.de.html für Details."
t MSG_910 "Formatieren von USB, Flash-Karte und virtuellen Laufwerken in FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
t MSG_911 "FreeDOS-bootfähige USB-Laufwerke erstellen"
-t MSG_912 "Erstellen bootfähiger Laufwerke aus bootfähigen ISOs (Windows, Linux etc.)"
+t MSG_912 "Erstellen bootfähiger Laufwerke aus bootfähigen ISOs (Windows, Linux, etc.)"
t MSG_913 "Erstellen bootfähiger Laufwerke aus bootfähigen Festplatten-Images, einschließlich komprimierter Images"
t MSG_914 "Erstellen von BIOS- oder UEFI-bootfähigen Laufwerken, einschließlich UEFI-bootfähigem NTFS"
-t MSG_915 "Erstellen von 'Windows To Go'-Laufwerken"
+t MSG_915 "Erstellen von \"Windows To Go\"-Laufwerken"
t MSG_916 "Erstellen von Windows 11-Installationslaufwerken für PCs ohne TPM oder Secure Boot"
t MSG_917 "Persistente Linux-Partitionen erstellen"
t MSG_918 "VHD/DD-Images des ausgewählten Laufwerks erstellen"
-t MSG_919 "Berechnung von MD5-, SHA-1-, SHA-256- und SHA-512-Prüfsummen für das ausgewählte Image"
+t MSG_919 "Berechnung von MD5-, SHA-1-, SHA-256- und SHA-512-Prüfsummen für das ausgewählte Bild"
t MSG_920 "Durchführung von Prüfungen auf fehlerhafte Blöcke, einschließlich der Erkennung von \"gefälschten\" Flash-Laufwerken"
t MSG_921 "Offizielle Microsoft Windows-ISOs herunterladen"
t MSG_922 "UEFI-Shell-ISOs herunterladen"
#########################################################################
l "el-GR" "Greek (Ελληνικά)" 0x0408
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -5717,7 +5418,7 @@ t MSG_129 "Μόλις δημιουργήσατε ένα μέσο που χρησ
t MSG_130 "Επιλογή αρχείου Windows"
t MSG_131 "Αυτό το ISO περιέχει πολλά ειδώλια των Windows.\nΕπιλέξτε το αρχειο που θέλετε να χρησιμοποιήσετε για αυτήν την εγκατάσταση:"
t MSG_132 "Ένα άλλο πρόγραμμα ή διαδικασία έχει πρόσβαση σε αυτήν τη μονάδα δίσκου. Θέλετε να το διαμορφώσετε ούτως ή άλλως;"
-t MSG_133 "Το Rufus εντόπισε ότι προσπαθείτε να δημιουργήσετε ένα μέσο \"Windows To Go\" με βάση ένα ISO 1809.\n\nΛόγω ενός *ΣΦΑΛΜΑΤΟΣ ΤΗΣ MICROSOFT*, αυτό το μέσο θα παρουσιάσει σφάλμα κατά την εκκίνηση των Windows (Blue Screen of Death), εκτός εάν αντικαταστήσετε χειροκίνητα το αρχείο \"WppRecorder.sys\" με μια έκδοση 1803.\n\nΣημειώστε επίσης ότι ο λόγος για τον οποίο ο Rufus δεν μπορεί να διορθώσει αυτόματα αυτό το πρόβλημα για εσάς είναι ότι το \"WppRecorder.sys\" είναι ένα αρχείο που προστατεύεται από πνευματικά δικαιώματα της Microsoft, επομένως δεν μπορούμε να ενσωματώσουμε νόμιμα ένα αντίγραφο του αρχείου στην εφαρμογή..."
+t MSG_133 "Το Rufus έχει εντοπίσει ότι προσπαθείτε να δημιουργήσετε ένα μέσο Windows To Go βάσει ενός ISO 1809.\n\nΛόγω ενός * MICROSOFT BUG *, αυτό το μέσο θα καταρρεύσει κατά την εκκίνηση των Windows (Blue Screen Of Death), εκτός αν αλλάξετε με το χέρι το αρχείο 'WppRecorder.sys' με εκδοχή 1803.\n\nΕπίσης, σημειώστε ότι ο λόγος για τον οποίο ο Rufus δεν μπορεί να διορθώσει αυτόματα αυτό για εσάς είναι ότι το \"WppRecorder.sys\" είναι αρχείο Microsoft που προστατεύεται από πνευματικά δικαιώματα, επομένως δεν μπορούμε να ενσωματώσουμε νόμιμα ένα αντίγραφο του αρχείου στην εφαρμογή ..."
t MSG_134 "Επειδή το MBR έχει επιλεγεί για το σχήμα διαμέρισης, ο Rufus μπορεί να δημιουργήσει ένα διαμέρισμα έως 2 TB μόνο σε αυτό το μέσο, το οποίο θα αφήσει το %s χώρου στο δίσκο μη διαθέσιμο.\n\nΕίστε σίγουροι οτι θέλετε να συνεχίσετε?"
t MSG_135 "Εκδοχή"
t MSG_136 "Κυκλοφορία"
@@ -5904,8 +5605,6 @@ t MSG_319 "Αγνοήστε τον Boot marker"
t MSG_320 "Ανανέωση διάταξης διαμερισμάτων (%s)..."
t MSG_321 "Η εικόνα που επιλέξατε είναι ISOHybrid, αλλά οι δημιουργοί της δεν την έχουν κάνει συμβατή με τη λειτουργία αντιγραφής ISO/Αρχείου.\nΩς αποτέλεσμα, θα επιβληθεί η λειτουργία εγγραφής εικόνας DD."
t MSG_322 "Δεν είναι δυνατό το άνοιγμα ή η ανάγνωση του '%s'"
-t MSG_323 "Εφαρμογή SkuSiPolicy.p7b κατά την εγκατάσταση (Δείτε KB5042562)"
-t MSG_324 "Βελτιώσεις QoL (χωρίς υποχρεωτική επιβολή του Copilot, του OneDrive, του Outlook, Fast Startup κ.λπ.)"
t MSG_325 "Εφαρμογή προσαρμογής των Windows: %s"
t MSG_326 "Εφαρμογή επιλογών χρήστη..."
t MSG_327 "Εμπειρία χρήστη των Windows"
@@ -5918,7 +5617,7 @@ t MSG_333 "Δημιουργήστε έναν τοπικό λογαριασμό
t MSG_334 "Ορίστε τις τοπικές επιλογές στις ίδιες τιμές με αυτές του χρήστη"
t MSG_335 "Απενεργοποιήστε την αυτόματη κρυπτογράφηση συσκευής BitLocker"
t MSG_336 "Διατήρηση log"
-t MSG_337 "Πρέπει να κατεβάσετε ένα επιπλέον αρχείο ('%s') από τη Microsoft για να χρησιμοποιηθεί αυτή η λειτουργία:\n-Επιλέξτε «Ναι» για να συνδεθείτε στο Internet και να το κατεβάσετε\n-Επιλέξτε «Όχι» για να ακυρώσετε τη λειτουργία\n\nΣημείωση: Το αρχείο θα κατέβει στον φάκελο της εφαρμογής και θα χρησιμοποιείται ξανά αυτόματα αν υπάρχει."
+t MSG_337 "Πρέπει να γίνει λήψη ενός πρόσθετου αρχείου ('diskcopy.dll') από τη Microsoft για να εγκαταστήσετε το MS-DOS:\n- Επιλέξτε 'Ναι' για να συνδεθείτε στο Internet και να το κατεβάσετε\n- Επιλέξτε 'Όχι' για να ακυρώσετε τη λειτουργία\n\nΣημείωση: Το αρχείο θα ληφθεί στον κατάλογο της εφαρμογής και θα επαναχρησιμοποιηθεί αυτόματα εάν υπάρχει."
t MSG_338 "Εντοπίστηκε ανακληθέν bootloader UEFI"
t MSG_339 "Ο Rufus εντόπισε ότι το ISO που επιλέξατε περιέχει έναν bootloader UEFI που έχει ανακληθεί και θα παράγει %s, όταν η Ασφαλής Εκκίνηση είναι ενεργοποιημένη σε ένα πλήρως ενημερωμένο σύστημα UEFI.\n\n- Εάν λάβατε αυτήν την εικόνα ISO από μη αξιόπιστη πηγή, θα πρέπει να εξετάσετε το ενδεχόμενο να περιέχει κακόβουλο λογισμικό UEFI και να αποφύγετε την εκκίνηση από αυτό.\n- Εάν το λάβατε από αξιόπιστη πηγή, θα πρέπει να προσπαθήσετε να εντοπίσετε μια πιο ενημερωμένη έκδοση, η οποία δεν θα παράγει αυτήν την προειδοποίηση."
t MSG_340 "μια οθόνη \"Παραβίαση ασφαλείας\""
@@ -5930,27 +5629,6 @@ t MSG_346 "Περιορισμός των Windows σε S-Mode (ΑΣΥΜΒΑΤΟ
t MSG_347 "Λειτουργία ειδικού"
t MSG_348 "Εξαγωγή αρχείων: %s"
t MSG_349 "Χρησιμοποίηση του Rufus MBR"
-t MSG_350 "Χρησιμοποιήστε bootloader υπογεγραμμένα με «Windows CA 2023» (Απαιτεί συμβατό υπολογιστή)"
-t MSG_351 "Έλεγχος για ανάκληση UEFI bootloader..."
-t MSG_352 "Έλεγχος για ενημερώσεις UEFI DBX..."
-t MSG_353 "Διαθέσιμη ενημέρωση DBX"
-t MSG_354 "Το Rufus εντόπισε μια ενημερωμένη έκδοση των αρχείων DBX που χρησιμοποιούνται για την εκτέλεση ελέγχων ανάκλησης UEFI Secure Boot. Θέλετε να κάνετε λήψη αυτής της ενημέρωσης;\n- Επιλέξτε 'Ναι' για να συνδεθείτε στο Διαδίκτυο και να κατεβάσετε αυτό το περιεχόμενο\n- Επιλέξτε 'Όχι' για να ακυρώσετε τη λειτουργία\n\nΣημείωση: Τα αρχεία θα ληφθούν στον κατάλογο της εφαρμογής και θα επαναχρησιμοποιηθούν αυτόματα, εάν υπάρχουν."
-t MSG_355 "⚠ΣΙΩΠΗΛΑ⚠ διαγραφή δίσκου και εγκατάσταση:"
-t MSG_356 "Έχετε επιλέξει να χρησιμοποιήσετε την επιλογή \"αθόρυβης\" εγκατάστασης των Windows.\n\nΑυτή είναι μια προηγμένη επιλογή, που προορίζεται για άτομα που θέλουν να δημιουργήσουν μέσα που δεν ενημερώνουν τον χρήστη κατά την εγκατάσταση των Windows και επομένως ΔΙΑΓΡΑΦΟΥΝ ΑΝΕΥ ΟΡΩΝ τον πρώτο δίσκο που ανιχνεύεται στο σύστημα-στόχο. Εάν δεν είστε προσεκτικοί, η χρήση αυτής της επιλογής μπορεί να οδηγήσει σε ΜΗ ΑΝΑΣΤΡΕΨΙΜΗ ΑΠΩΛΕΙΑ ΔΕΔΟΜΕΝΩΝ!\n\nΕάν αυτό δεν είναι αυτό που θέλετε, επιλέξτε \"Όχι\" για να επιστρέψετε και καταργήστε την επιλογή της επιλογής.\nΔιαφορετικά, εάν επιλέξετε \"Ναι\", συμφωνείτε ότι ολόκληρη η ευθύνη για οποιαδήποτε απώλεια δεδομένων θα βαρύνει αποκλειστικά ΕΣΑΣ."
-t MSG_358 "Μη υποστηριζόμενη τοποθεσία εικόνας"
-t MSG_359 "Δεν μπορείτε να χρησιμοποιήσετε μια εικόνα που βρίσκεται στη μονάδα δίσκου προορισμού, καθώς αυτή η μονάδα δίσκου θα διαγραφεί εντελώς. Είναι το ίδιο με το να προσπαθείτε να κόψετε το κλαδί στο οποίο βρίσκεστε!\n\nΜετακινήστε την εικόνα σε διαφορετική θέση και προσπαθήστε ξανά."
-t MSG_360 "Είναι ασφαλές να αφήσετε αυτήν την επιλογή ενεργοποιημένη ακόμα κι αν έχετε TPM ή περισσότερη μνήμη RAM, καθώς αυτή η επιλογή παρακάμπτει μόνο τις απαιτήσεις εγκατάστασης και δεν εμποδίζει στην πραγματικότητα τα Windows να χρησιμοποιούν όλο το διαθέσιμο υλικό."
-t MSG_361 "Για να λειτουργήσει αυτή η επιλογή, ΠΡΕΠΕΙ να έχετε αποσυνδέσει το δίκτυο/Internet κατά την εγκατάσταση!"
-t MSG_362 "Απαντήστε αυτόματα με «όχι» στις ερωτήσεις εγκατάστασης των Windows σχετικά με την κοινή χρήση δεδομένων με τη Microsoft, αντί να ζητήσετε από τον χρήστη να απαντήσει."
-t MSG_363 "Θα πρέπει να αφήσετε αυτήν την επιλογή ενεργοποιημένη, εκτός εάν συμφωνείτε με την πρόσβαση των \"Windows To Go\" στους εσωτερικούς δίσκους και την αθόρυβη εκτέλεση μη αναστρέψιμων αναβαθμίσεων συστήματος αρχείων."
-t MSG_364 "Δημιουργήστε αυτόματα έναν τοπικό λογαριασμό με το καθορισμένο όνομα χρήστη, χρησιμοποιώντας έναν κενό κωδικό πρόσβασης που θα πρέπει να αλλάξει στην επόμενη σύνδεση."
-t MSG_365 "Αντιγράψτε τις ρυθμίσεις περιοχής από αυτόν τον υπολογιστή (πληκτρολόγιο, ζώνη ώρας, νόμισμα) αντί να ζητηθεί από τον χρήστη."
-t MSG_366 "Μην κρυπτογραφείτε τον δίσκο συστήματος, εκτός εάν σας το ζητήσει ρητά ο χρήστης."
-t MSG_367 "Χρησιμοποιήστε αυτήν την επιλογή μόνο εάν γνωρίζετε τι είναι η λειτουργία S-Mode και κατανοείτε ότι το σύστημά σας ενδέχεται να είναι κλειδωμένο σε αυτήν ακόμα και μετά την πλήρη διαγραφή και επανεγκατάσταση των Windows."
-t MSG_368 "Χρησιμοποιήστε αυτήν την επιλογή εάν το σύστημα στο οποίο σκοπεύετε να εγκαταστήσετε τα Windows χρησιμοποιεί πλήρως ενημερωμένα πιστοποιητικά Secure Boot. Εάν χρειάζεται, μπορείτε να εξετάσετε το ενδεχόμενο χρήσης του 'Mosby' για την ενημέρωση του συστήματός σας."
-t MSG_369 "Χρησιμοποιήστε αυτήν την επιλογή εάν θέλετε να ανακαλέσετε επιπλέον ενδεχομένως μη ασφαλή προγράμματα εκκίνησης των Windows, αλλά με την πιθανότητα να αποτρέψετε και την εκκίνηση τυπικών μέσων των Windows."
-t MSG_370 "Βελτιώσεις «ποιότητας ζωής»: Απενεργοποιήστε τις περισσότερες ανεπιθύμητες λειτουργίες που η Microsoft προσπαθεί να επιβάλλει στους χρήστες."
-t MSG_371 "Εάν χρησιμοποιήσετε αυτήν την επιλογή, βεβαιωθείτε ότι έχετε αποσυνδέσει κάθε δίσκο από τον υπολογιστή, εκτός από αυτόν στον οποίο θέλετε να εγκαταστήσετε τα Windows, και μην αφήνετε το μέσο συνδεδεμένο σε κάποιο υπολογιστή που δεν θέλετε να διαγράψετε."
t MSG_900 "Το Rufus είναι ένα βοηθητικό πρόγραμμα που βοηθά στη διαμόρφωση και τη δημιουργία μονάδων flash USB με δυνατότητα εκκίνησης, όπως κλειδιά USB/pendrives,κάρτες μνήμης κ.λπ."
t MSG_901 "Επίσημος ιστότοπος: %s"
t MSG_902 "Πηγαίος κώδικας: %s"
@@ -5972,7 +5650,7 @@ t MSG_922 "Κατεβάστε τα ISO Shell UEFI"
#########################################################################
l "he-IL" "Hebrew (עברית)" 0x040d
-v 4.14
+v 4.5
b "en-US"
a "r"
@@ -6113,7 +5791,7 @@ t MSG_080 "Rufus זיהה ש־Windows עדיין מרוקן את החוצצים
t MSG_081 "קובץ לא נתמך"
t MSG_082 "קובץ תמונה זה לא ניתן לאתחול, או שהוא משתמש בשיטת כיווץ או אתחול שלא נתמכת על־ידי Rufus..."
t MSG_083 "האם להחליף את %s?"
-t MSG_084 "נראה שקובץ ה־ISO הזה משתמש בגרסה מיושנת של '%s'.\nלפיכך, ייתכן שתפריטי האתחול לא יוצגו כראוי.\n\nRufus יכול להוריד גרסה חדשה יותר כדי לתקן בעיה זו:\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד את הקובץ\n- יש לבחור 'לא' כדי להשאיר את קובץ ה־ISO ללא שינויים\nאם לא ברור לך מה לעשות, כדאי לבחור באפשרות 'כן'.\n\nהערה: הקובץ החדש יורד לספרייה בה ממוקם היישום וכל עוד ש־'%s' קיים שם, Rufus ישתמש בו באופן אוטומטי במידת הצורך."
+t MSG_084 "נראה שקובץ ה־ISO הזה משתמש בגרסה מיושנת של '%s'.\nלפיכך, ייתכן שתפריטי האתחול לא יוצגו כראוי.\n\nRufus יכול להוריד גרסה חדשה יותר כדי לתקן בעיה זו:\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד את הקובץ\n- יש לבחור 'לא' כדי להשאיר את קובץ ה־ISO ללא שינויים\nאם לא ברור לך מה לעשות, כדאי לבחור באפשרות 'כן'.\n\nהערה: הקובץ החדש יירד לספרייה בה ממוקם היישום וכל עוד ש־'%s' קיים שם, Rufus ישתמש בו באופן אוטומטי במידת הצורך."
t MSG_085 "מוריד את %s"
t MSG_086 "לא נבחר קובץ תמונה"
t MSG_087 "עבור %s NAND"
@@ -6144,9 +5822,9 @@ t MSG_110 "MS-DOS לא יכול לעלות באתחול מכונן המשתמש
t MSG_111 "גודל אשכול לא תואם"
t MSG_112 "אתחול אמצעי אחסון גדולים מסוג UDF עשוי לארוך זמן רב. במהירויות של USB 2.0, זמן האתחול המשוער הוא: %d:%02d, ובזמן הזה מד ההתקדמות ייראה קפוא. נא להיות סבלני!"
t MSG_113 "אמצעי אחסון UDF גדול"
-t MSG_114 "קובץ תמונה זה משתמש ב־Syslinux %s%s אבל יישום זה כולל רק את קובצי ההתקנה עבור Syslinux %s%s.\n\nמכיוון שגרסאות חדשות של Syslinux אינן תואמות אחת לשניה ובלתי אפשרי ש־Rufus יכלול את כולן, יש להוריד 2 קבצים נוספים מהאינטרנט ('ldlinux.sys' ו־'ldlinux.bss'):\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד את הקבצים האלו\n- יש לבחור 'לא' כדי לבטל את הפעולה\n\nהערה: הקבצים יורדו לספרייה בה ממוקם היישום וכל עוד הקבצים יהיו שם, Rufus ישתמש בהם באופן אוטומטי במידת הצורך."
+t MSG_114 "קובץ תמונה זה משתמש ב־Syslinux %s%s אבל יישום זה כולל רק את קובצי ההתקנה עבור Syslinux %s%s.\n\nמכיוון שגרסאות חדשות של Syslinux אינן תואמות אחת לשניה ובלתי אפשרי ש־Rufus יכלול את כולן, יש להוריד 2 קבצים נוספים מהאינטרנט ('ldlinux.sys' ו־'ldlinux.bss'):\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד את הקבצים האלו\n- יש לבחור 'לא' כדי לבטל את הפעולה\n\nהערה: הקבצים יירדו לספרייה בה ממוקם היישום וכל עוד קבצים אלו יהיו שם, Rufus ישתמש בהם באופן אוטומטי במידת הצורך."
t MSG_115 "נדרשת הורדה"
-t MSG_116 "קובץ תמונה זה משתמש ב־Grub %s אבל היישום כולל רק את קובצי ההתקנה עבור Grub %s.\n\nמכיוון שגרסאות שונות של Grub עשויות שלא להיות תואמות אחת לשניה ובלתי אפשרי ש־Rufus יכלול את כולן, Rufus ינסה למצוא גרסה של קובץ ההתקנה של Grub ('core.img') המתאימה לזו שבקובץ התמונה שלך:\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולנסות להוריד אותה\n- יש לבחור 'לא' כדי להשתמש בגרסת ברירת המחדל מ־Rufus\n- יש לבחור 'ביטול' כדי לבטל את הפעולה\n\nהערה: הקובץ יורד לספרייה בה ממוקם היישום ו־Rufus ישתמש בו באופן אוטומטי במידת הצורך. אם לא תימצא התאמה באינטרנט, Rufus ישתמש בגרסה ברירת המחדל."
+t MSG_116 "קובץ תמונה זה משתמש ב־Grub %s אבל היישום כולל רק את קובצי ההתקנה עבור Grub %s.\n\nמכיוון שגרסאות שונות של Grub עשויות שלא להיות תואמות אחת לשניה ובלתי אפשרי ש־Rufus יכלול את כולן, Rufus ינסה למצוא גרסה של קובץ ההתקנה של Grub ('core.img') המתאימה לזו שבקובץ התמונה שלך:\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולנסות להוריד אותה\n- יש לבחור 'לא' כדי להשתמש בגרסת ברירת המחדל מ־Rufus\n- יש לבחור 'ביטול' כדי לבטל את הפעולה\n\nהערה: הקובץ יירד לספרייה בה ממוקם היישום ו־Rufus ישתמש בו באופן אוטומטי במידת הצורך. אם לא תימצא התאמה באינטרנט, Rufus ישתמש בגרסה ברירת המחדל."
t MSG_117 "התקנת Windows רגילה"
t MSG_119 "מאפייני כונן מתקדמים"
t MSG_120 "אפשרויות אתחול מתקדמות"
@@ -6215,7 +5893,7 @@ t MSG_184 "לצורך יצירת סטטיסטיקת שימוש פרטית, יי
t MSG_185 "תהליך העדכון:"
t MSG_186 "Rufus לא מתקין או מפעיל שירותים ברקע, לכן חיפוש אחר עדכונים יתבצע רק כשהיישום הראשי פועל.\\line\nכמובן שנדרשת גישה לאינטרנט כדי לחפש עדכונים."
t MSG_187 "קובץ תמונה שגוי עבור אפשרות האתחול שנבחרה"
-t MSG_188 "קובץ התמונה הנוכחי אינו מתאים לאפשרות האתחול שנבחרה. נא להשתמש בקובץ תמונה אחר או לבחור באפשרות אתחול אחרת."
+t MSG_188 "קובץ התמונה הנוכחי אינו מתאים לאפשרות האתחול שנבחרה. נא להשתמש בקובץ תמונה אחר או לבחור באפשרות אתחול אחרת.."
t MSG_189 "קובץ ה־ISO הזה אינו מותאם למערכת הקבצים שנבחרה"
t MSG_190 "זוהה כונן שאינו תואם"
t MSG_191 "מעבר כתיבה"
@@ -6358,8 +6036,6 @@ t MSG_319 "מצב התעלמות מסמן האתחול (Boot Marker)"
t MSG_320 "מרענן את מבנה המחיצות (%s)..."
t MSG_321 "קובץ התמונה שבחרת הוא מסוג ISOHybrid, אבל היוצרים שלו לא תכננו אותו בצורה שיהיה נתמך במצב העתקת קבצים מ־ISO.\nכתוצאה מכך, ייאכף שימוש במצב כתיבה כקובץ תמונה DD."
t MSG_322 "לא ניתן לפתוח או לקרוא את '%s'"
-t MSG_323 "החלת SkuSiPolicy.p7b בזמן ההתקנה (יש לעיין ב־KB5042562 למידע נוסף)"
-t MSG_324 "שיפורי QoL (לא לכפות Copilot, OneDrive, Outlook, Fast Startup וכו')"
t MSG_325 "מחיל התאמה אישית של Windows: %s"
t MSG_326 "מחיל אפשרויות משתמש..."
t MSG_327 "חוויית המשתמש של Windows"
@@ -6370,9 +6046,9 @@ t MSG_331 "השבתת איסוף נתונים (דילוג על שאלות של
t MSG_332 "למנוע מ־Windows To Go לגשת לדיסקים פנימיים"
t MSG_333 "יצירת חשבון מקומי עם שם המשתמש:"
t MSG_334 "הגדרת אפשרויות האזור לאותם ערכים כמו של משתמש זה"
-t MSG_335 "השבתת הצפנה אוטומטית של המכשיר באמצעות BitLocker"
+t MSG_335 "השבתת הצפנת מכשיר אוטומטית של BitLocker"
t MSG_336 "יומן קבוע"
-t MSG_337 "יש להוריד קובץ נוסף ('%s') מ־Microsoft כדי להשתמש בתכונה זו:\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד אותו\n- יש לבחור 'לא' כדי לבטל את הפעולה\n\nהערה: הקובץ יורד לספרייה בה ממוקם היישום וכל עוד הקובץ יהיה שם, Rufus ישתמש בו באופן אוטומטי במידת הצורך."
+t MSG_337 "יש להוריד קובץ נוסף ('diskcopy.dll') מ־Microsoft על מנת להתקין MS-DOS:\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד אותו\n- יש לבחור 'לא' כדי לבטל את הפעולה\n\nהערה: הקובץ יירד לספרייה בה ממוקם היישום וכל עוד הקובץ יהיה שם, Rufus ישתמש בו באופן אוטומטי במידת הצורך."
t MSG_338 "אותר מנהל אתחול UEFI שנאסר לשימוש"
t MSG_339 "Rufus איתר שקובץ ה־ISO שבחרת מכיל מנהל אתחול UEFI שנאסר לשימוש ושיציג %s, כאשר Secure Boot מופעל על מערכת UEFI מעודכנת לחלוטין.\n\n- אם השגת את קובץ תמונת ISO זה ממקור מפוקפק, כדאי לשקול את האפשרות שייתכן שהוא מכיל נוזקת UEFI, ולהימנע מלאתחל ממנו.\n- אם השגת אותה ממקור מהימן, כדאי לנסות לאתר גרסה יותר עדכנית, שלא תציג אזהרה זו."
t MSG_340 "מסך \"הפרת אבטחה\""
@@ -6385,27 +6061,6 @@ t MSG_346 "הגבלת ההתקנה של Windows למצב S-Mode (אינו נתמ
t MSG_347 "מצב מומחה"
t MSG_348 "מחלץ קובצי ארכיון: %s"
t MSG_349 "שימוש ב־MBR של Rufus"
-t MSG_350 "שימוש במנהלי אתחול חתומים 'Windows CA 2023' (דורש מחשב יעד נתמך)"
-t MSG_351 "בודק אחר ביטול תוקף של מנהל אתחול UEFI..."
-t MSG_352 "בודק אחר עדכונים ל־UEFI DBX..."
-t MSG_353 "עדכון DBX זמין"
-t MSG_354 "Rufus איתר גרסה מעודכנת של קובצי DBX המשמשים לבצע בדיקות ביטול תוקף של UEFI Secure Boot. האם ברצונך להוריד את העדכון הזה?\n- יש לבחור 'כן' כדי להתחבר לאינטרנט ולהוריד את התוכן הזה\n- יש לבחור 'לא' כדי לבטל פעולה זו\n\nהערה: הקבצים יורדו לספרייה בה ממוקם היישום וכל עוד הקבצים יהיו שם, Rufus ישתמש בהם באופן אוטומטי במידת הצורך."
-t MSG_355 "איפוס הדיסק והתקנה ⚠באופן שקט⚠:"
-t MSG_356 "בחרת להשתמש באפשרות התקנת Windows באופן \"שקט\".\n\nזוהי אפשרות מתקדמת, המיועדת לאנשים שרוצים ליצור מדיה שלא מציגה שום בקשות או שאלות מהמשתמש במהלך התקנת Windows, ולכן *מוחקת ומאפסת ללא התראה מוקדמת* את הדיסק הראשון שמזוהה במערכת היעד. אם לא נזהרים, שימוש באפשרות זו עלול לגרום *לאובדן נתונים בלתי הפיך*!\n\nאם זה לא מה שרצית, נא לבחור 'לא' כדי לחזור אחורה ולבטל הסימון של האפשרות הזאת.\nאחרת, אם האפשרות 'כן' תיבחר, מקובל עליך שכל האחריות לכל אובדן הנתונים יהיה *עליך בלבד*."
-t MSG_358 "מיקום קובץ תמונה לא נתמך"
-t MSG_359 "לא ניתן לבחור בקובץ תמונה הממוקם בכונן היעד, מכיוון שכונן זה עומד להימחק ולהתאפס לחלוטין. זה אותו הדבר כמו לנסות לנסר את הענף שעליו יושבים!\n\nנא להעביר את קובץ התמונה למיקום שונה ולנסות שוב."
-t MSG_360 "אפשר להשאיר את האפשרות הזו מופעלת בבטחה גם אם יש לך TPM או יותר זיכרון RAM, מכיוון שהיא רק עוקפת את דרישות ההתקנה ואינה מונעת מ־Windows להשתמש בכל החומרה הזמינה."
-t MSG_361 "כדי שאפשרות זו תעבוד, *חייבים* להתנתק מהרשת/אינטרנט במהלך ההתקנה!"
-t MSG_362 "עונה באופן אוטומטי 'לא' לשאלות ההתקנה של Windows הנוגעות לשיתוף נתונים עם Microsoft, במקום לבקש קלט מהמשתמש."
-t MSG_363 "כדאי להשאיר אפשרות זו מופעלת, אלא אם כן מקובל עליך ש־Windows To Go יקבל גישה לדיסקים פנימיים ויבצע שדרוגי מערכת קבצים בלתי הפיכים באופן שקט."
-t MSG_364 "יצירה אוטומטית של חשבון מקומי עם שם משתמש שמצוין מראש, תוך שימוש בסיסמה ריקה שתצטרך להיות מוחלפת בהתחברות הבאה."
-t MSG_365 "שכפול הגדרות האזור מהמחשב הזה (מקלדת, אזור זמן, מטבע), במקום לבקש קלט מהמשתמש."
-t MSG_366 "לא להצפין את דיסק המערכת, אלא אם המשתמש מבקש זאת באופן מפורש."
-t MSG_367 "יש להשתמש באפשרות זו רק אם ידוע לך מהו S-Mode, ומובן לך שהמערכת שלך עשויה להישאר נעולה ב־S-Mode גם לאחר מחיקה מלאה והתקנה מחדש של Windows."
-t MSG_368 "יש להשתמש באפשרות זו אם המערכת שבה מתוכננת ההתקנה של Windows משתמשת בתעודות Secure Boot מעודכנות לחלוטין. אם יש צורך, ניתן לנסות להשתמש ב־Mosby כדי לעדכן את המערכת."
-t MSG_369 "יש להשתמש באפשרות זו אם ברצונך לאסור את השימוש במנהלי אתחול נוספים של Windows שעשויים להיות לא בטוחים, בידיעה שיש בכך גם סיכון שמדיות סטנדרטיות של Windows לא ייטענו."
-t MSG_370 "שיפורי \"Quality of Life\": השבתת רוב התכונות הבלתי רצויות ש־Microsoft מנסה לכפות על משתמשי קצה."
-t MSG_371 "אם משתמשים באפשרות זו, יש לוודא שכל הכוננים במחשב היעד מנותקים, מלבד הכונן שבו רוצים להתקין את Windows, וכן לא להשאיר את המדיה מחוברת למחשב שאותו לא רוצים למחוק."
t MSG_900 "Rufus הוא כלי המסייע באתחול ויצירת כונני הבזק מסוג USB הניתנים לאתחול, כמו דיסק און קי, כרטיסי זיכרון וכו׳."
t MSG_901 "האתר הרשמי: %s"
t MSG_902 "קוד מקור: %s"
@@ -6428,12 +6083,12 @@ t MSG_922 "הורדת קובצי ISO של מעטפת UEFI"
#########################################################################v
l "hu-HU" "Hungarian (Magyar)" 0x040e
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
t IDD_ABOUTBOX "A Rufus névjegye"
-t IDC_ABOUT_LICENSE "Licenc"
+t IDC_ABOUT_LICENSE "Licensz"
g IDD_DIALOG
t IDS_DRIVE_PROPERTIES_TXT "Meghajtó tulajdonságai"
@@ -6459,7 +6114,7 @@ t IDC_START "Indítás"
g IDD_LICENSE
t IDCANCEL "Bezárás"
-t IDD_LICENSE "Rufus Licenc"
+t IDD_LICENSE "Rufus Licensz"
g IDD_LOG
t IDCANCEL "Bezárás"
@@ -6615,7 +6270,7 @@ t MSG_129 "Egy UEFI:NTFS bootloaderrel rendelkező adathordozót készítettél.
t MSG_130 "Windows kép kiválasztása"
t MSG_131 "Ez az ISO több Windows képet is tartalmaz.\nKérlek, válaszd ki azt a képet, amelyet használni szeretnél a telepítéshez:"
t MSG_132 "Egy másik alkalmazás vagy folyamat használja ezt az eszközt. Így is formázni szeretnéd?"
-t MSG_133 "A Rufus észlelte, hogy egy 1809-es verziójú ISO alapján kíséreltél meg egy Windows To Go meghajtót készíteni.\n\nEgy *MICROSOFT HIBA* miatt ez a meghajtó a Windows indulása során össze fog omlani (kék halál), hacsak nem cseréled ki manuálisan a 'WppRecorder.sys' fájlt egy 1803-as verzióra.\n\nVedd figyelembe azt is, hogy a Rufus azért nem tudja automatikusan kijavítani ezt, mert a 'WppRecorder.sys' a Microsoft jogvédett fájlja, ezért nem tudjuk törvényesen beágyazni a fájl másolatát az alkalmazásba..."
+t MSG_133 "A Rufus észlelte, hogy egy 1809-es verziójú ISO alapján kíséreltél meg egy Windows To Go meghajtót készíteni\n\nEgy *MICROSOFT HIBA* miatt ez a meghajtó a Windows indulása során össze fog omlani (kék halál), hacsak nem cseréled ki manuálisan a 'WppRecorder.sys' fájlt egy 1803-as verzióra.\n\nVedd figyelembe azt is, hogy a Rufus azért nem tudja automatikusan kijavítani ezt, mert a 'WppRecorder.sys' a Microsoft jogvédett fájlja, ezért nem tudjuk törvényesen beágyazni a fájl másolatát az alkalmazásba..."
t MSG_134 "Mivel MBR lett kiválasztva partíciós sémaként, a Rufus legfeljebb 2 TB-os partíciót tud létrehozni ezen az adathordozón, amellyel így %s lemezterület elérhetetlenné válik.\n\nBiztosan folytatni szeretnéd?"
t MSG_135 "Verzió"
t MSG_136 "Kiadás"
@@ -6803,8 +6458,6 @@ t MSG_319 "Boot Marker figyelmen kívül hagyása"
t MSG_320 "Partíció elrendezés frissítése (%s)..."
t MSG_321 "A kiválasztott képfájl egy ISOHybrid képfájl, de a készítői nem tették kompatibilissé az ISO (fájlmásolás) móddal.\nEmiatt a DD képfájl írási mód lesz kényszerítve."
t MSG_322 "Nem lehet megnyitni vagy olvasni ezt: '%s'"
-t MSG_323 "SkuSiPolicy.p7b alkalmazása a telepítésen (Lásd: KB5042562)"
-t MSG_324 "QoL fejlesztések (Ne erőltesse ezeket: Copilot, OneDrive, Outlook, Gyors rendszerindítás stb.)"
t MSG_325 "Windows testreszabás alkalmazása: %s"
t MSG_326 "Felhasználói beállítások alkalmazása..."
t MSG_327 "Windows Felhasználói Élmény"
@@ -6817,7 +6470,7 @@ t MSG_333 "Helyi fiók létrehozása ezzel a felhasználónévvel:"
t MSG_334 "A jelenlegi felhasználó területi beállításainak használata"
t MSG_335 "BitLocker automatikus eszköz titkosítás letiltása"
t MSG_336 "Tartós naplózás"
-t MSG_337 "A funkció használatához egy további fájlt ('%s') kell letölteni a Microsofttól:\n- Válaszd az 'Igen' gombot az internethez történő kapcsolódáshoz, és a fájl letöltéséhez\n- Válaszd a 'Nem' gombot a művelet megszakításához\n\nMegjegyzés: A fájl az alkalmazás mappájába lesz letöltve, és automatikusan újra lesz használva, ha létezik."
+t MSG_337 "Az MS-DOS telepítéséhez egy további fájlt ('diskcopy.dll') kell letölteni a Microsofttól:\n- Válaszd az 'Igen' gombot az internethez történő kapcsolódáshoz, és a fájl letöltéséhez\n- Válaszd a 'Nem' gombot a művelet megszakításához\n\nMegjegyzés: A fájl a program mappájába lesz letöltve, és automatikusan újra lesz használva, ha létezik."
t MSG_338 "Visszavont UEFI rendszerbetöltő detektálva"
t MSG_339 "A Rufus észlelte, hogy a kiválasztott ISO egy olyan UEFI rendszerbetöltőt tartalmaz, amelyet visszavontak, és ha a Secure Boot engedélyezve van egy teljesen naprakész UEFI rendszeren, akkor ehhez vezet: %s.\n\n- Ha ezt az ISO képet nem megbízható forrásból szerezted be, akkor számolnod kell azzal a lehetőséggel, hogy UEFI kártevőt tartalmazhat, és elkerülendő az erről történő rendszerindítás.\n- Ha megbízható forrásból szerezted be, akkor próbálj meg egy naprakészebb verziót találni, amelyre ez a figyelmeztetés nem jelenik meg."
t MSG_340 "\"Security Violation\" képernyő"
@@ -6830,27 +6483,6 @@ t MSG_346 "Windows korlátozása S módra (NEM KOMPATIBILIS az online Microsoft-
t MSG_347 "Szakértő mód"
t MSG_348 "Archív fájlok kibontása: %s"
t MSG_349 "Rufus MBR használata"
-t MSG_350 "A 'Windows CA 2023' tanúsítvánnyal aláírt rendszerbetöltők használata (Kompatibilis célszámítógép szükséges)"
-t MSG_351 "UEFI rendszerbetöltő visszavonásának ellenőrzése..."
-t MSG_352 "UEFI DBX frissítések keresése..."
-t MSG_353 "DBX frissítés elérhető"
-t MSG_354 "A Rufus talált frissített verziót az UEFI Secure Boot visszavonási ellenőrzéséhez használt DBX fájlokból. Szeretnéd letölteni ezt a frissítést?\n- Válaszd az 'Igen' gombot az internethez történő kapcsolódáshoz, és a fájlok letöltéséhez\n- Válaszd a 'Nem' gombot a művelet megszakításához\n\nMegjegyzés: A fájlok az alkalmazás mappájába lesznek letöltve, és automatikusan újra lesznek használva, ha léteznek."
-t MSG_355 "⚠CSENDESEN⚠ törölje a lemezt és telepítse ezt:"
-t MSG_356 "A \"csendes\" Windows telepítési beállítást választottad.\n\nEz egy haladó szintű beállítás azok számára, akik olyan adathordozót szeretnének készíteni, ami nem tesz fel kérdéseket a Windows telepítése során, ezért FELTÉTEL NÉLKÜL TÖRLI az elsőként észlelt lemezt a célrendszeren. Ha nem vagy elővigyázatos, ennek a beállításnak a használata VISSZAFORDÍTHATATLAN ADATVESZTÉST okozhat!\n\nHa nem ezt szeretnéd, akkor válaszd a 'Nem' gombot a visszalépéshez, és töröld ezt a beállítást.\nEgyébként, ha az 'Igen' gombot választod, akkor beleegyezel abba, hogy bármilyen adatvesztésért teljes mértékben TÉGED fog terhelni a felelősség."
-t MSG_358 "Nem támogatott kép hely"
-t MSG_359 "Nem használhatsz célmeghajtón lévő képet, mivel az a meghajtó teljesen törölve lesz. Ez ugyanaz, mint magad alatt vágni a fát!\n\nKérlek, helyezd át a képet egy másik helyre, és próbáld újra."
-t MSG_360 "Ezt a beállítást biztonságosan engedélyezve hagyhatod akkor is, ha rendelkezel TPM-mel vagy több RAM-mal, mivel ez a beállítás csak a telepítési követelményeket kerüli meg, és valójában nem akadályozza meg, hogy a Windows az összes elérhető hardvert használja."
-t MSG_361 "Ezen funkció működéséhez a hálózatot/internetet le KELL választanod a telepítés idejére!"
-t MSG_362 "Automatikus 'nem' válasz a Windows telepítő azon kérdéseire, amelyek az adatok Microsoft számára történő adatmegosztással kapcsolatosak, a felhasználó megkérdezése helyett."
-t MSG_363 "Hagyd bekapcsolva ezt a beállítást, kivéve, ha beleegyezel abba, hogy a 'Windows To Go' hozzáférjen a belső lemezekhez és csendben visszafordíthatatlan fájlrendszer-frissítéseket hajtson végre."
-t MSG_364 "Automatikusan létrehoz egy helyi fiókot a megadott felhasználónévvel, üres jelszót használva, amit a következő belépéskor meg kell változtatni."
-t MSG_365 "A területi beállítások másolása erről a számítógépről (billentyűzet, időzóna, pénznem), a felhasználó megkérdezése helyett."
-t MSG_366 "Ne titkosítsa a rendszerlemezt amíg a felhasználó kifejezetten nem kéri."
-t MSG_367 "Csak akkor használd ezt a beállítást, ha tudod, mi az az S mód, és megértetted, hogy a rendszered beragadhat az S módba még a Windows teljes törlése és újratelepítése esetén is."
-t MSG_368 "Használd ezt a beállítást, ha olyan rendszerre szeretnéd telepíteni a Windows-t, ami teljesen naprakész Secure Boot tanúsítványokat használ. Szükség esetén a 'Mosby' segítségével frissítheted a rendszeredet."
-t MSG_369 "Használd ezt a beállítást, ha szeretnél visszavonni további, potenciálisan nem biztonságos Windows rendszerbetöltőket. Emiatt előfordulhat, hogy a sztenderd Windows adathordozó sem fog elindulni."
-t MSG_370 "\"Quality of Life\" fejlesztések: Letiltja a legtöbb nem kívánt funkciót, amit a Microsoft próbál ráerőltetni a végfelhasználókra."
-t MSG_371 "Ha ezt a beállítást használod, győződj meg arról, hogy minden lemezt leválasztottál a célszámítógépről, kivéve azt az egyet, amelyikre a Windows telepítését szeretnéd, és ne hagyd az adathordozót csatlakoztatva olyan számítógéphez, amit nem akarsz törölni."
t MSG_900 "A Rufus egy segédprogram, amellyel bootolható USB flash meghajtókat formázhat és készíthet, például USB kulcsokat/pendrive-okat, memóriakártyákat, stb."
t MSG_901 "Hivatalos oldal: %s"
t MSG_902 "Forráskód: %s"
@@ -6872,7 +6504,7 @@ t MSG_922 "UEFI Shell ISO képfájlok letöltése"
#########################################################################
l "id-ID" "Indonesian (Bahasa Indonesia)" 0x0421
-v 4.14
+v 3.22
b "en-US"
g IDD_ABOUTBOX
@@ -6890,10 +6522,10 @@ t IDS_PARTITION_TYPE_TXT "Skema partisi"
t IDS_TARGET_SYSTEM_TXT "Sistem target"
t IDC_LIST_USB_HDD "Daftar USB Hard Drives"
t IDC_OLD_BIOS_FIXES "Tambah perbaikan untuk BIOS lama (partisi ekstra, penyesuaian, dll.)"
-t IDC_UEFI_MEDIA_VALIDATION "Aktifkan validasi media UEFI runtime"
+t IDC_UEFI_MEDIA_VALIDATION "Aktifkan validasi media UEFI waktu proses"
t IDS_FORMAT_OPTIONS_TXT "Opsi Format"
t IDS_FILE_SYSTEM_TXT "Sistem berkas"
-t IDS_CLUSTER_SIZE_TXT "Ukuran klaster"
+t IDS_CLUSTER_SIZE_TXT "Ukuran klatser"
t IDS_LABEL_TXT "Label volume"
t IDC_QUICK_FORMAT "Format cepat"
t IDC_BAD_BLOCKS "Periksa blok buruk pada perangkat"
@@ -7086,7 +6718,8 @@ t MSG_163 "Metode yang akan digunakan untuk membuat partisi"
t MSG_164 "Metode yang akan digunakan untuk membuat perangkat bootable"
t MSG_165 "Klik untuk memilih sebuah image..."
t MSG_166 "Centang kotak ini untuk menampilkan label internasional dan menyetel ikon perangkat (membuat autorun.inf)"
-t MSG_167 "Instal bootloader UEFI yang akan memvalidasi MD5Sum dari media"
+t MSG_167 "Menginstal MBR memungkinkan untuk boot dan dapat memanipulasi ID perangkat USB di BIOS"
+t MSG_168 "Mencoba menyamarkan perangkat USB bootable pertama (biasanya 0x80) sebagai disk yang berbeda.\nBiasanya hanya diperlukan jika Anda memasang Windows XP dan memiliki lebih dari satu disk."
t MSG_169 "Membuat partisi tersembunyi tambahan dan memcoba menyelaraskan batas partisi.\nUpaya ini dapat memperbaiki deteksi boot bagi BIOS versi lama."
t MSG_170 "Aktifkan pencantuman USB Hard Drive enclosures. RESIKO DITANGGUNG ANDA SENDIRI!!!"
t MSG_171 "Mulai operasi format.\nTindakan ini akan MENGHAPUS semua data pada target!"
@@ -7238,8 +6871,6 @@ t MSG_319 "Abaikan Penanda Boot"
t MSG_320 "Menyegarkan tata letak partisi (%s)..."
t MSG_321 "Gambar yang Anda pilih adalah ISOHybrid, tetapi pembuatnya belum membuatnya kompatibel dengan mode salin ISO/Berkas.\nAkibatnya, mode penulisan DD image akan diberlakukan."
t MSG_322 "Tidak dapat membuka atau membaca '%s'"
-t MSG_323 "Aktifkan SkuSiPolicy.p7b ketika instalasi (lihat KB5042562)"
-t MSG_324 "Peningkatan QoL (Tidak memaksakan Copilot, OneDrive, Outlook, Fast Startup, dll.)"
t MSG_325 "Menerapkan kustomisasi Windows: %s"
t MSG_326 "Menerapkan pilihan pengguna..."
t MSG_327 "Pengalaman Pengguna Windows"
@@ -7252,38 +6883,6 @@ t MSG_333 "Buat akun lokal dengan username:"
t MSG_334 "Atur pilihan wilayah sama seperti pengguna saat ini"
t MSG_335 "Matikan enkripsi perangkat otomatis BitLocker"
t MSG_336 "Catatan yang tetap/persistent"
-t MSG_337 "Berkas tambahan ('%s') dari Microsoft diperlukan untuk menggunakan fitur tersebut\n- Pilih 'Ya' untuk mengunduh\n- Pilih 'Tidak' untuk membatalkan\n\nCatatan: Berkas tersebut akan disimpan pada folder aplikasi dan akan digunakan di kemudian hari secara otomatis."
-t MSG_338 "Terdeteksi pembatalan bootloader UEFI"
-t MSG_339 "Rufus mendeteksi bahwa ISO yang dipilih terdapat bootloader UEFI yang dibatalkan dan dapat memberikan peringatan %s, ketika Secure Boot diaktifkan pada UEFI system terbaru.\n\n- Kalau berkas ISO ini didapatkan dari sumber yang tidak terpercaya, terdapat kemungkinan ada malware UEFI dan hindarilah menggunakan image ini.\n- Kalau berkas ISO ini didapatkan dari sumber yang terpercaya, carilah versi yang lebih baru yang tidak memberikan peringatan ini."
-t MSG_340 "layar \"Security Violation\""
-t MSG_341 "Windows Recovery Screen (BSOD) dengan '%s'"
-t MSG_342 "VHDX Image terkompresi"
-t MSG_343 "VHDX Image tidak terkompresi"
-t MSG_345 "Data tambahan perlu diunduh dari Microsoft untuk menggunakan fungsi ini:\n- Pilih 'Ya' untuk menyambungkan ke Internet dan mencoba untuk mengunduhnya\n- Pilih 'Tidak' untuk membatalkan operasi"
-t MSG_346 "Batasi Windows menjadi S-Mode (TIDAK KOMPATIBEL dengan bypass akun online)"
-t MSG_347 "Mode Expert"
-t MSG_348 "Mengekstrak berkas arsip: %s"
-t MSG_349 "Gunakan Rufus MBR"
-t MSG_350 "Gunakan bootloader 'Windows CA 2023' (Membutuhkan PC yang kompatibel)"
-t MSG_351 "Sedang cek pembatalan bootloader UEFI..."
-t MSG_352 "Sedang cek pembaruan UEFI DBX..."
-t MSG_353 "Pembaruan DBX tersedia"
-t MSG_354 "Rufus menemukan pembaruan berkas DBX yang digunakan untuk mengecek pembatalan UEFI Secure Boot. Apakah anda ingin mengunduhnya?\n- Pilih 'Ya' untuk menyambungkan ke Internet dan mencoba untuk mengunduhnya\n- Pilih 'Tidak' untuk membatalkan operasi"
-t MSG_355 "Hapus disk secara ⚠SILENT⚠ dan instal:"
-t MSG_356 "Anda memilih untuk menggunakan opsi instalasi Windows secara \"silent\".\n\nIni adalah pilihan lanjutan, yang diperuntukkan untuk membuat media yang tidak memberikan pilihan ketika instalasi Windows dan akan MENGHAPUS TANPA TERKECUALI disk yang terdeteksi pertama kali pada system. Kalau tidak berhati-hati, menggunakan pilihan ini akan menyebabkan KEHILANGAN DATA PERMANEN!\n\nKalau Anda tidak menginginkan ini, pilih 'Tidak' untuk kembali dan membatalkan pilihan tersebut.\nKalau Anda memilih 'Ya', Anda yakin dan bertanggungjawab untuk kehilangan data yang terjadi."
-t MSG_359 "Anda tidak dapat menggunakan berkas image yang terletak pada penyimpanan tujuan, karena penyimpanan tersebut akan dihapus seluruhnya.\n\nTolong pindahkan berkas image tersebut ke lokasi yang lain dan coba lagi."
-t MSG_360 "Pilihan ini aman untuk digunakan walaupun terdapat TPM atau RAM berlebih, karena pilihan ini hanya melewati persyaratan awal dan tidak menghentikan Windows untuk menggunakan seluruh hardware yang tersedia."
-t MSG_361 "Supaya pilihan ini dapat digunakan, Anda HARUS memutuskan Internet ketika instalasi~"
-t MSG_362 "Secara otomatis akan memilih 'Tidak' pada pertanyaan setup Windows terkait dengan pembagian data dengan Microsoft, tanpa menanyakan pada user."
-t MSG_363 "Anda sebaiknya menyalakan opsi ini, kecuali jika Anda ingin 'Windows To Go' untuk mengakses disk internal dan melakukan pembaruan sistem yang tidak dapat diubah secara diam-diam."
-t MSG_364 "Buat akun local dengan nama user pilihan, menggunakan password kosong yang perlu diubah di proses logon selanjutnya."
-t MSG_365 "Gunakan pengaturan regional dari PC ini (keyboard, zona waktu, mata uang), tanpa menanyakan kepada user."
-t MSG_366 "Tidak mengenkripsi disk sistem, kecuali diminta oleh user."
-t MSG_367 "Gunakan pilihan ini jika Anda mengetahui S-Mode dan mengerti bahwa sistem Anda akan dikunci menjadi S-Mode walaupun sudah menghapus dan instal ulang Windows."
-t MSG_368 "Gunakan pilihan ini jika Anda ingin menginstal Windows menggunakan sertifikat Secure Boot terbaru. Jika dibutuhkan, Anda dapat menggunakan 'Mosby\" untuk memperbarui sistem."
-t MSG_369 "Gunakan pilihan ini jika Anda ingin membatalkan penggunaan bootloader Windows yang tidak aman, tapi dengan potensi mencegah media Windows standar untuk booting."
-t MSG_370 "Peningkatan \"Quality of Life\": menonaktifkan fitur Microsoft yang tidak diinginkan."
-t MSG_371 "Jika Anda menggunakan pilihan ini, mohon untuk mencabut semua disk dari PC tujuan agar tidak terjadi kehilangan data, kecuali disk yang digunakan untuk menginstal Windows."
t MSG_900 "Rufus adalah alat yang membantu untuk memformat dan membuat perangkat USB flash menjadi bootable, seperti USB flashdisk, kartu memori, dll."
t MSG_901 "Situs resmi: %s"
t MSG_902 "Kode Sumber: %s"
@@ -7305,7 +6904,7 @@ t MSG_922 "Unduh Shell ISO UEFI"
#########################################################################
l "it-IT" "Italian (Italiano)" 0x0410, 0x0810
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -7324,7 +6923,6 @@ t IDC_LIST_USB_HDD "Elenco unità disco USB"
t IDC_OLD_BIOS_FIXES "Aggiungi correzioni per vecchi BIOS (partizioni extra, allineamento, etc)"
t IDC_UEFI_MEDIA_VALIDATION "Abilita convalida multimediale UEFI in runtime"
t IDS_FORMAT_OPTIONS_TXT "Opzioni formattazione"
-t IDS_FILE_SYSTEM_TXT "Sistema di file"
t IDS_CLUSTER_SIZE_TXT "Dimensione cluster"
t IDS_LABEL_TXT "Etichetta volume"
t IDC_QUICK_FORMAT "Formattazione rapida"
@@ -7350,8 +6948,6 @@ t IDD_NEW_VERSION "Rufus - Controllo aggiornamenti"
t IDS_NEW_VERSION_AVAIL_TXT "È disponibile una nuova versione. Scarica la versione aggiornata!"
t IDC_WEBSITE "Fai clic qui per visitare il sito web"
t IDS_NEW_VERSION_NOTES_GRP "Informazioni versione"
-t IDS_NEW_VERSION_DOWNLOAD_GRP "Scarica"
-t IDC_DOWNLOAD "Scarica"
g IDD_NOTIFICATION
t IDC_MORE_INFO "Altre informazioni"
@@ -7390,7 +6986,6 @@ t MSG_028 "megabyte"
t MSG_029 "Predefinito"
t MSG_030 "%s (predefinito)"
t MSG_031 "BIOS (o UEFI CSM)"
-t MSG_032 "UEFI (senza CSM)"
t MSG_033 "BIOS o UEFI"
t MSG_034 "%d passaggio"
t MSG_035 "%d passaggi %s"
@@ -7398,7 +6993,6 @@ t MSG_036 "Immagine ISO"
t MSG_037 "Applicazione"
t MSG_038 "Annulla"
t MSG_039 "Esegui"
-t MSG_040 "Scarica"
t MSG_041 "Operazione annullata dall'utente"
t MSG_042 "Errore"
t MSG_043 "Errore: %s"
@@ -7472,9 +7066,9 @@ t MSG_110 "Non si può avviare MS-DOS da una unità che usa una dimensione del c
t MSG_111 "Dimensione cluster incompatibile"
t MSG_112 "La formattazione di un volume UDF di grandi dimensioni può richiedere molto tempo. In modo USB 2.0, il tempo stimato per la formattazione sarà di %d:%02d, durante il quale la barra di progresso non verrà aggiornata. Attendi il completamento dell'operazione!"
t MSG_113 "Volume UDF di grandi dimensioni"
-t MSG_114 "Questa immagine usa Syslinux %s%s ma questa applicazione include solo i file di installazione per Syslinux %s%s.\n\nPoiché le nuove versioni di Syslinux non sono compatibili con le precedenti e non sarebbe possibile per Rufus includerle tutte, devono essere scaricati da internet due file aggiuntivi ('ldlinux.sys' e 'ldlinux.bss'):\n- Seleziona 'Sì' per collegarti a internet e scaricare questi due file\n- Seleziona 'No' per annullare l'operazione\nNota: i file verranno scaricati nella cartella attuale dell'applicazione e verranno riusati automaticamente se presenti."
+t MSG_114 "Questa immagine usa Syslinux %s%s ma questa applicazione include solo i file di installazione per Syslinux %s%s.\n\nPoiché le nuove versioni di Syslinux non sono compatibili con le precedenti e non sarebbe possibile per Rufus includerle tutte, devono essere scaricati da internet due file aggiuntivi ('ldlinux.sys' e 'ldlinux.bss'):\n- Seleziona 'Sì' per collegarti a internet e scaricare questi due file\n- Seleziona 'No' per annullare l'operazione\n\nNota: questi file verranno scaricati nella cartella corrente dell'applicazione e se presenti verranno riusati automaticamente."
t MSG_115 "Richiede download"
-t MSG_116 "Questa immagine utilizza Grub %s, ma l'applicazione include solo i file di installazione per Grub %s.\n\nPoiché le diverse versioni di Grub potrebbero non essere compatibili tra loro e non è possibile includerle tutte, Rufus tenterà di individuare una versione del file di installazione di Grub (\"core.img\") che corrisponda a quella presente nella tua immagine:\n- Seleziona “Sì” per connetterti a Internet e tentare di scaricarlo\n- Seleziona “No” per utilizzare la versione predefinita di Rufus\n- Seleziona “Annulla” per interrompere l'operazione\n\nNota: il file verrà scaricato nella directory corrente dell'applicazione e verrà riutilizzato automaticamente se presente. Se online non viene trovata alcuna corrispondenza, verrà utilizzata la versione predefinita."
+t MSG_116 "Questa immagine usa Grub %s ma l'applicazione include solo i file di installazione per Grub %s.\n\nQuesta differente versione di Grub potrebbe non essere compatibile con l'altra, e non è possibile includere i file di installazione. Rufus tenterà di trovare una versione dei file di installazione di Grub ('core.img') che corrisponda a quella dell'immagine.\n- Seleziona 'Sì' per collegarti a internet e tentare il download\n- Seleziona 'No' per usare la versione predefinita di Rufus\n- Seleziona 'Annulla' per interrompere l'operazione.\n\nNote: i file verranno scaricati nella cartella attuale dell'applicazione e verranno riusati automaticamente se presenti. Se non sarà trovata online nessuna corrispondenza, verrà usata la versione predefinita."
t MSG_117 "Installazione Windows standard"
t MSG_119 "opzioni avanzate unità"
t MSG_120 "opzioni avanzate formattazione"
@@ -7490,10 +7084,9 @@ t MSG_129 "Hai appena creato un media che utilizza il bootloader UEFI:NTFS.\nRic
t MSG_130 "Selezione immagine Windows"
t MSG_131 "Questa immagine ISO contiene più immagini di Windows.\nSeleziona l'immagine che vuoi usare per questa installazione:"
t MSG_132 "Un altro programma o processo sta accedendo a questa unità.\nVuoi formattare comunque l'unità?"
-t MSG_133 "Rufus ha rilevato che stai tentando di creare un supporto “Windows To Go” basato su un'immagine ISO della versione Windows 10 1809.\n\nA causa di un *BUG DI MICROSOFT*, questo supporto andrà in crash durante l'avvio di Windows (BSOD), a meno che non sostituisca manualmente il file “WppRecorder.sys” con una versione 1803.\n\nTieni inoltre presente che il motivo per cui Rufus non può risolvere automaticamente questo problema è che “WppRecorder.sys” è un file protetto da copyright di Microsoft, quindi non possiamo legalmente incorporarne una copia nell'applicazione..."
+t MSG_133 "Rufus ha rilevato che stai tentando di creare un media 'Windows To Go' basato su una ISO 1809.\n\nA causa di un *BUG MICROSOFT*, questo supporto si arresta in modo anomalo durante l'avvio di Windows (Blue Screen Of Death), a meno che non si sostituisca manualmente il file 'WppRecorder.sys' con una versione 1803.\n\nNota inoltre che il motivo per cui Rufus non può risolvere automaticamente questo problema è che 'WppRecorder.sys' è un file protetto da copyright di Microsoft, quindi non è possibile incorporare legalmente una copia del file nell'applicazione..."
t MSG_134 "Poiché è stato selezionato 'MBR' per lo schema partizione, Rufus può creare su questo supporto solo una partizione fino ad un massimo di 2 TB, che lascerà %s di spazio su disco non disponibile.\n\nSei sicuro di voler continuare?"
t MSG_135 "Versione"
-t MSG_136 "Pubblicazione"
t MSG_137 "Edizione"
t MSG_138 "Lingua"
t MSG_139 "Architettura"
@@ -7677,8 +7270,6 @@ t MSG_319 "Ignora marcatore boot"
t MSG_320 "Aggiornamento layout partizione (%s)..."
t MSG_321 "L'immagine selezionata è una ISO ibrida, ma i suoi creatori non l'hanno resa compatibile con la modalità di copia ISO/file.\nDi conseguenza, verrà applicata la modalità di scrittura delle immagini DD."
t MSG_322 "Impossibile aprire o leggere '%s'"
-t MSG_323 "Applicare SkuSiPolicy.p7b all'inizio dell'installazione (vedere KB5042562)"
-t MSG_324 "Miglioramenti della QoL (Non forzare Copilot, OneDrive, Outlook, avvio rapido, ecc.)"
t MSG_325 "Applicando personalizzazione Windows: %s"
t MSG_326 "Applicando opzioni utente..."
t MSG_327 "Esperienza utente Windows"
@@ -7691,9 +7282,9 @@ t MSG_333 "Crea account locale con nome utente:"
t MSG_334 "Imposta opzioni regionali agli stessi valori di questo utente"
t MSG_335 "Disabilita la crittografia automatica dei dispositivi BitLocker"
t MSG_336 "Log persistente"
-t MSG_337 "Per utilizzare questa funzionalità, è necessario scaricare un file aggiuntivo ('%s') da Microsoft:\n- Seleziona 'Sì' per connettersi ad internet e scaricarlo\n- Seleziona 'No' per annullare l'operazione\n\nNota: il file verrà scaricato nella directory dell'applicazione e, se presente, verrà riutilizzato automaticamente."
+t MSG_337 "Per installare MS-DOS è necessario scaricare da Microsoft un file aggiuntivo (\"diskcopy.dll\"):\n- Seleziona 'Sì' per connettersi ad internet e scaricarlo\n- Seleziona 'No' per annullare l'operazione\n\nNota: il file verrà scaricato nella cartella dell'applicazione e se presente verrà riutilizzato automaticamente."
t MSG_338 "Rilevato bootloader UEFI revocato"
-t MSG_339 "Rufus ha rilevato che l'ISO selezionata contiene un bootloader UEFI che è stato revocato e che quando Secure Boot è abilitato su un sistema UEFI completamente aggiornato produrrà %s. \n\n- Se hai ottenuto questa immagine ISO da una sorgente non affidabile, dovresti considerare la possibilità che possa contenere malware UEFI ed evitare di eseguire l'avvio da esso.\n- Se l'hai ottenuto da una sorgente attendibile, dovresti provare a cercare una versione più aggiornata, che non genererà questo avviso."
+t MSG_339 "Rufus ha rilevato che l'ISO selezionata contiene un bootloader UEFI che è stato revocato e che quando Secure Boot è abilitato su un sistema UEFI completamente aggiornato produrrà %s. \n\n- Se hai ottenuto questa immagine ISO da una so0egente non affidabile, dovresti considerare la possibilità che possa contenere malware UEFI ed evitare di eseguire l'avvio da esso.\n- Se l'hai ottenuto da una sorgente attendibile, dovresti provare a cercare una versione più aggiornata, che non genererà questo avviso."
t MSG_340 "una schermata \"Violazione sicurezza\""
t MSG_341 "una schermata di ripristino Windows (BSOD) con '%s'"
t MSG_342 "Immagine VHDX compressa"
@@ -7704,26 +7295,6 @@ t MSG_346 "Limita Windows alla modalità S (INCOMPATIBILE con il bypass dell'acc
t MSG_347 "Modalità esperto"
t MSG_348 "Estrazione file archivio: %s"
t MSG_349 "Usa MBR Rufus"
-t MSG_350 "Utilizza bootloader firmati 'Windows CA 2023' (Richiede PC compatibile)"
-t MSG_351 "Verifica della revoca del bootloader UEFI..."
-t MSG_352 "Verifica degli aggiornamenti UEFI DBX..."
-t MSG_353 "Aggiornamento DBX disponibile"
-t MSG_354 "Rufus ha trovato una verzione aggiornamentato dei fili DBX usati per eseguire la verifica di revoca per UEFI Secure Boot. Vuoi scaricare questo aggiornamento?\n- Seleziona \"Sì\" per connettere all'Internet e scaricare questo contenuto\n- Seleziona \"No\" per cancellare l'operazione\n\nNota: "
-t MSG_355 "Cancella disco e installa ⚠SILENZIOSA⚠:"
-t MSG_356 "Hai scelto di utilizzare l'opzione di installazione “silenziosa” di Windows.\n\nSi tratta di un'opzione avanzata, riservata a chi desidera creare un supporto che non richieda l'intervento dell'utente durante l'installazione di Windows e che, di conseguenza, CANCELLI INCONDIZIONATAMENTE il primo disco rilevato sul sistema di destinazione. Se non presti la dovuta attenzione, l'utilizzo di questa opzione può causare una PERDITA IRREVERSIBILE DI DATI!\n\nSe non è questo ciò che desideri, seleziona “No” per tornare indietro e deselezionare l'opzione.\nAltrimenti, selezionando “Sì”, accetti che l'intera responsabilità per qualsiasi perdita di dati ricada interamente su di TE."
-t MSG_358 "Percorso immagine non sopportato."
-t MSG_359 "Non puoi usare un'immagine che si trova nell'unità di destinazione, poiché tale unità verrà completamente formattata. È come cercare di segare il ramo su cui sei seduto!\n\nSposta l'immagine in una posizione diversa e riprova."
-t MSG_360 "È consigliabile lasciare questa opzione attivata anche se si dispone di un TPM o di più RAM, poiché essa si limita a ignorare i requisiti di configurazione e non impedisce effettivamente a Windows di utilizzare tutto l'hardware disponibile."
-t MSG_361 "Affinché questa opzione funzioni, è NECESSARIO disconnettere la rete/Internet durante l'installazione!"
-t MSG_362 "Rispondere automaticamente “no” alle domande della procedura di installazione di Windows relative alla condivisione dei dati con Microsoft, invece di chiedere conferma all'utente."
-t MSG_363 "Ti consigliamo di lasciare questa opzione abilitata, a meno che tu non abbia nulla in contrario al fatto che \"Windows To Go\" acceda ai dischi interni ed esegua in modo silenzioso aggiornamenti irreversibili del file system."
-t MSG_364 "Crea automaticamente un account locale con il nome utente specificato, utilizzando una password vuota che dovrà essere modificata al prossimo accesso."
-t MSG_365 "Duplica le impostazioni regionali di questo PC (tastiera, fuso orario, valuta), invece di chiedere conferma all'utente."
-t MSG_367 "Utilizza questa opzione solo se sai cos'è la modalità S e sei consapevole del fatto che il tuo sistema potrebbe rimanere bloccato in modalità S anche dopo aver cancellato completamente e reinstallato Windows."
-t MSG_368 "Utilizza questa opzione se il sistema su cui intendi installare Windows utilizza certificati Secure Boot completamente aggiornati. Se necessario, puoi valutare l'utilizzo di \"Mosby\" per aggiornare il tuo sistema."
-t MSG_369 "Utilizza questa opzione se desideri revocare ulteriori bootloader di Windows potenzialmente non sicuri, tenendo presente che ciò potrebbe impedire l'avvio anche dei supporti standard di Windows."
-t MSG_370 "Miglioramenti alla “QoL”: disattiva la maggior parte delle funzionalità indesiderate che Microsoft sta cercando di imporre agli utenti finali."
-t MSG_371 "Se si utilizza questa opzione, assicurarsi di scollegare tutti i dischi dal PC di destinazione, tranne quello su cui si desidera installare Windows, e di non lasciare il supporto collegato a nessun PC che non si desidera cancellare."
t MSG_900 "Rufus è un programma che ti aiuta a formattare e creare una unità flash USB avviabile, come una unità USB, memory stick, ecc."
t MSG_901 "Sito ufficiale: %s"
t MSG_902 "Codice sorgente: %s"
@@ -7746,7 +7317,7 @@ t MSG_922 "Scarica le ISO della shell UEFI"
######################################################################
l "ja-JP" "Japanese (日本語)" 0x0411
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -7933,7 +7504,7 @@ t MSG_129 "UEFI:NTFS ブートローダーを使用するメディアを作成
t MSG_130 "Windows イメージの選択"
t MSG_131 "この ISO には複数の Windows イメージが含まれます。\nこのインストールに使用したいイメージを選択してください。"
t MSG_132 "別のプログラムまたはプロセスがこのドライブにアクセスしています。このままフォーマットしますか?"
-t MSG_133 "Rufusは1809 バージョンの ISO を使用して Windows To Go のメディアを作成しようとしていることを検出しました。\n\nこのメディアは、“WppRecorder.sys” を 1803 バージョンのファイルに手動で置き換えない限り、Windowsのブート中にクラッシュ (ブルースクリーン) します。これは * Microsoftのバグ * によるものです。\n\n“WppRecorder.sys” は Microsoft の著作権で保護されたファイルであり、アプリケーションにファイルのコピーを合法的に埋め込めないため、Rufus が自動的にこの不具合を修正することはできません。"
+t MSG_133 "1809 バージョンの ISO を使用して Windows To Go のメディアを作成しようとしていることを検出しました。\n\nこのメディアは、“WppRecorder.sys” を 1803 バージョンのファイルに手動で置き換えない限り、Windowsのブート中にクラッシュ (ブルースクリーン) します。これは * Microsoftのバグ * によるものです。\n\n“WppRecorder.sys” は Microsoft の著作権で保護されたファイルであり、アプリケーションにファイルのコピーを合法的に埋め込めないため、Rufus が自動的にこの不具合を修正することはできません。"
t MSG_134 "パーティション構成に MBR が選択されているため、Rufus はこのメディア上に最大 2 TB のパーティションしか作成できません。そのため、%s のディスク容量が使用できなくなります。\n\n続けますか?"
t MSG_135 "バージョン"
t MSG_136 "リリース"
@@ -8120,8 +7691,6 @@ t MSG_319 "Boot Maker を無視"
t MSG_320 "パーティション レイアウトを更新中 (%s)"
t MSG_321 "選択されたイメージはハイブリッド ISO 形式ですが、 ISO イメージ モード / ファイル コピー モードと互換性がありません。\nそのため、書き込みには DD イメージ モードが適用されます。"
t MSG_322 "'%s'の読み取り"
-t MSG_323 "インストール時にSkuSiPolicy.p7bを適応する(KB5042562を参照)"
-t MSG_324 "利便性向上パッチ(Microsoftの各種ソフトウェアの無効化)"
t MSG_325 "Windowsカスタムを適応: %s"
t MSG_326 "ユーザー設定を適応中..."
t MSG_327 "Windows ユーザーエクスペリエンス"
@@ -8134,7 +7703,7 @@ t MSG_333 "ローカルアカウントを次の名前で作成:"
t MSG_334 "地域設定をこのユーザーと同じものに設定"
t MSG_335 "BitLocker 自動デバイス暗号化を無効化します。"
t MSG_336 "永続ログ"
-t MSG_337 "この機能を使用するには、Microsoft から追加のファイル ('%s') をダウンロードする必要があります:\n- はいを選択すると、インターネットに接続しダウンロードします。\n- いいえを選択すると、キャンセルします\n\n注意:ファイルはアプリケーションのディレクトリへダウンロードされ、今後自動的に再利用されます。"
+t MSG_337 "MS-DOSをインストールするにはMicrosoftから追加のファイル(diskcopy.dll)をダウンロードする必要があります。\n- はいを選択すると、インターネットに接続しダウンロードします。\n- いいえを選択すると、キャンセルします\n\n注意:ファイルはアプリケーションのディレクトリへダウンロードされ、今後自動的に再利用されます。"
t MSG_338 "無効なUEFIブートローダーが検出されました。"
t MSG_339 "Rufusは選択されたISOイメージが無効なUEFIブートローダーを含み、最新のUEFIでセキュアブートが有効である場合%sを引き起こすことを検出しました。\n\n- このファイルが信頼できないソースから入手されたものであれば、マルウェア混入の可能性があるため起動しないことをお勧めします。\n- このファイルが信頼できるソースから取得したものであれば、警告が発生しない新しいバージョンを探すことをお勧めします。"
t MSG_340 "セキュリティ侵害表示"
@@ -8147,27 +7716,6 @@ t MSG_346 "WindowsのSモードを強制する(オンラインアカウント要
t MSG_347 "エキスパートモード"
t MSG_348 "ファイルを展開中: %s"
t MSG_349 "Rufus MBRを使用する"
-t MSG_350 "Windows CA 2023署名のブートローダーを使用する (対応するPCが必要です)"
-t MSG_351 "UEFIブートローダーの有効性を確認中..."
-t MSG_352 "UEFI DBXのアップデートをチェック中..."
-t MSG_353 "DBXのアップデートが利用可能です。"
-t MSG_354 "UEFIセキュアブートの有効性チェックに使用するDBXファイルの新しいバージョンを発見しました。ダウンロードしますか?\n- はいを選択すると、インターネットに接続しダウンロードします。\n- いいえを選択すると、キャンセルします\n\n注意:ファイルはアプリケーションのディレクトリへダウンロードされ、今後自動的に再利用されます。"
-t MSG_355 "⚠サイレント⚠ ディスクの削除とインストール:"
-t MSG_356 "Windowsのサイレントインストールオプションを選択しました。\n\nこれはWindowsのインストールを完全自動化するための高度なオプションであり、システムが最初に検知したディスクを無条件に削除します。操作を誤ると予期せぬデータ喪失を引き起こす可能性があります!\n\nこのオプションを選択したことによるいかなるデータの喪失も自己責任となることに同意する場合、[はい]を選択してください。\n同意しない場合は[いいえ]を選択し、このオプションのチェックを外してください。"
-t MSG_358 "サポートされていないイメージのロケーション"
-t MSG_359 "ターゲットドライブに配置されたファイルは書き込み時に完全に削除されるため、このファイルを使用することはできません。\n\nファイルを移動し再試行してください。"
-t MSG_360 "このオプションはセットアップの要件のみをスキップし、Windowsの機能には影響を与えないため、TPMや十分なRAMがある場合でも有効化しておくことが推奨されます。"
-t MSG_361 "このオプションを利用するためにはインストール時にネットワークから確実に接続解除されなければなりません!"
-t MSG_362 "Windowsのインストール時にMicrosoftのデータ収集オプションに自動的に[いいえ]と回答します。"
-t MSG_363 "Windows To Goが内部ディスクにアクセスし不可逆なアップグレードを行うことを了承しない限りこのオプションを有効にすることが推奨されます。"
-t MSG_364 "指定されたユーザー名で自動的にローカルアカウントを作成します。パスワードは空欄の為、ログイン時に変更が必要です。"
-t MSG_365 "このPCの地域設定(キーボード、タイムゾーン、通貨設定)をコピーすることでユーザー入力を省略します。"
-t MSG_366 "ユーザーの明示的な操作がない限りシステムディスクを暗号化しません。"
-t MSG_367 "Sモードの仕組みとWindowsをクリーンインストールしてもSモードが残る可能性を理解している場合のみこのオプションを有効にしてください。"
-t MSG_368 "最新のセキュアブート証明でWindowsを使用する場合はこのオプションを有効化してください。必要に応じてMosbyを使ってシステムを更新することもできます。"
-t MSG_369 "危険な可能性のあるWindowsブートローダーを無効化したい場合このオプションを有効化してください。ただし、通常のWindowsメディアが起動しなくなる可能性があります。"
-t MSG_370 "Microsoftが強制する不要な機能の大半を無効化することにより利便性を向上します。"
-t MSG_371 "このオプションを使用する場合はWindowsをインストールするディスク以外を全て取り外して、削除しないメディアを残さないでください。"
t MSG_900 "Rufus (ルーファス) とは、起動可能なUSBフラッシュドライブ(USBメモリなど)を作成したり、フォーマットをするためのソフトウェアです。"
t MSG_901 "公式サイト: %s"
t MSG_902 "ソースコード: %s"
@@ -8190,7 +7738,7 @@ t MSG_922 "UEFIシェルのISOをダウンロードします。"
#########################################################################
l "ko-KR" "Korean (한국어)" 0x0412
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -8242,7 +7790,7 @@ t IDC_DOWNLOAD "다운로드"
g IDD_NOTIFICATION
t IDC_MORE_INFO "추가 정보"
t IDYES "예"
-t IDNO "아니요"
+t IDNO "아니오"
g IDD_UPDATE_POLICY
t IDCANCEL "닫기"
@@ -8260,7 +7808,7 @@ t MSG_005 "Rufus가 온라인으로 응용 프로그램 업데이트를 확인
t MSG_006 "닫기"
t MSG_007 "취소"
t MSG_008 "예"
-t MSG_009 "아니요"
+t MSG_009 "아니오"
t MSG_010 "불량 블록을 찾았습니다"
t MSG_011 "검사 완료: %d개의 불량 블록을 찾았습니다\n %d개 읽기 오류\n %d개 쓰기 오류\n %d개 손상 오류"
t MSG_012 "%s\n더 자세한 보고서는 다음에서 확인할 수 있습니다:\n%s"
@@ -8330,7 +7878,7 @@ t MSG_080 "Rufus는 Windows가 여전히 내부 버퍼를 USB 장치로 플러
t MSG_081 "지원되지 않는 이미지"
t MSG_082 "이 이미지는 부팅할 수 없거나 Rufus에서 지원하지 않는 부팅 또는 압축 방식을 사용합니다..."
t MSG_083 "%s를 교체하시겠습니까?"
-t MSG_084 "이 ISO 이미지는 '%s'의 오래된 버전을 사용하는 것 같습니다.\n이로 인해 부팅 메뉴가 제대로 표시되지 않을 수 있습니다.\n\nRufus는 이 문제를 해결하기 위해 최신 버전을 다운로드할 수 있습니다:\n- 인터넷에 연결하고 파일을 다운로드하려면 '예'를 선택합니다\n- 기존 ISO 파일을 수정하지 않은 상태로 두려면 '아니요'를 선택합니다\n무엇을 해야 할지 모르면 '예'를 선택해야 합니다.\n\n참고: 새 파일이 현재 디렉터리에 다운로드되고 '%s'가 있으면 자동으로 재사용됩니다."
+t MSG_084 "이 ISO 이미지는 '%s'의 오래된 버전을 사용하는 것 같습니다.\n이로 인해 부팅 메뉴가 제대로 표시되지 않을 수 있습니다.\n\nRufus는 이 문제를 해결하기 위해 최신 버전을 다운로드할 수 있습니다:\n- 인터넷에 연결하고 파일을 다운로드하려면 '예'를 선택합니다\n- 기존 ISO 파일을 수정하지 않은 상태로 두려면 '아니오'를 선택합니다\n무엇을 해야 할지 모르면 '예'를 선택해야 합니다.\n\n참고: 새 파일이 현재 디렉터리에 다운로드되고 '%s'가 있으면 자동으로 재사용됩니다."
t MSG_085 "%s 다운로드 중"
t MSG_086 "선택된 ISO 이미지가 없습니다"
t MSG_087 "%s 장치"
@@ -8350,19 +7898,19 @@ t MSG_100 "이 ISO 이미지에는 FAT 또는 FAT32 파일 시스템에 허용
t MSG_101 "WIM 지원 누락"
t MSG_102 "플랫폼이 WIM 압축파일에서 파일을 추출할 수 없습니다. EFI 부팅 가능한 Windows 7 및 Windows Vista USB 드라이브를 생성하려면 WIM 압축을 풀어야 합니다. 최신 버전의 7-Zip을 설치하여 이 문제를 해결할 수 있습니다.\n7-zip 다운로드 페이지를 방문하시겠습니까?"
t MSG_103 "%s(을)를 다운로드하시겠습니까?"
-t MSG_104 "%s 이상에서는 '%s' 파일을 설치해야 합니다.\n이 파일은 크기가 100KB 이상이고 항상 %s ISO 이미지에 존재하기 때문에 Rufus에 포함되어 있지 않습니다.\n\nRufus가 누락된 파일을 다운로드할 수 있습니다:\n- 인터넷에 연결하고 파일을 다운로드하려면 '예'를 선택합니다\n- 나중에 드라이브에 이 파일을 수동으로 복사하려면 '아니요'를 선택합니다\n\n참고: 파일이 현재 디렉터리에 다운로드되고 '%s'가 있으면 자동으로 재사용됩니다."
-t MSG_105 "취소하면 장치를 사용할 수 없는 상태가 될 수 있습니다.\n취소하려면 예를 클릭합니다. 그렇지 않으면 아니요를 클릭합니다."
+t MSG_104 "%s 이상에서는 '%s' 파일을 설치해야 합니다.\n이 파일은 크기가 100KB 이상이고 항상 %s ISO 이미지에 존재하기 때문에 Rufus에 포함되어 있지 않습니다.\n\nRufus가 누락된 파일을 다운로드할 수 있습니다:\n- 인터넷에 연결하고 파일을 다운로드하려면 '예'를 선택합니다\n- 나중에 드라이브에 이 파일을 수동으로 복사하려면 '아니오'를 선택합니다\n\n참고: 파일이 현재 디렉터리에 다운로드되고 '%s'가 있으면 자동으로 재사용됩니다."
+t MSG_105 "취소하면 장치를 사용할 수 없는 상태가 될 수 있습니다.\n취소하려면 예를 클릭합니다. 그렇지 않으면 아니오를 클릭합니다."
t MSG_106 "폴더를 선택하세요"
t MSG_107 "모든 파일"
t MSG_108 "Rufus 로그"
t MSG_109 "0x%02X (디스크 %d)"
t MSG_110 "MS-DOS는 64KB 클러스터 크기를 사용하는 드라이브에서 부팅할 수 없습니다.\n클러스터 크기를 변경하거나 FreeDOS를 사용하세요."
t MSG_111 "호환되지 않는 클러스터 크기"
-t MSG_112 "대용량 UDF 볼륨을 포맷하는 데 많은 시간이 걸릴 수 있습니다. USB 2.0 속도에서 예상 포맷 지속 시간은 %d:%02d이며, 이 기간 동안 진행률 표시줄이 고정된 것처럼 보입니다. 기다려주세요!"
+t MSG_112 "대용량 UDF 볼륨을 포맷하는 데 많은 시간이 걸릴 수 있습니다. USB 2.0 속도에서 예상 포맷 지속 시간은 %d:%02d이며, 이 기간 동안 진행률 표시줄이 고정된 것처럼 보입니다. 기다려주십시오!"
t MSG_113 "대용량 UDF 볼륨"
-t MSG_114 "이 이미지에서는 Syslinux %s%s를 사용하지만 이 응용 프로그램에는 Syslinux %s%s에 대한 설치 파일만 포함됩니다.\n\n새 버전의 Syslinux는 서로 호환되지 않으므로 Rufus가 모두 포함할 수 없으므로 인터넷에서 두 개의 추가 파일 ('ldlinux.sys' 및 'ldlinux.bss')을 다운로드해야 합니다:\n- 인터넷에 연결하고 이러한 파일을 다운로드하려면 '예'를 선택합니다\n- 작업을 취소하려면 '아니요'를 선택합니다\n\n참고: 파일은 현재 응용 프로그램 디렉터리에 다운로드되며 있는 경우 자동으로 재사용됩니다."
+t MSG_114 "이 이미지에서는 Syslinux %s%s를 사용하지만 이 응용 프로그램에는 Syslinux %s%s에 대한 설치 파일만 포함됩니다.\n\n새 버전의 Syslinux는 서로 호환되지 않으므로 Rufus가 모두 포함할 수 없으므로 인터넷에서 두 개의 추가 파일 ('ldlinux.sys' 및 'ldlinux.bss')을 다운로드해야 합니다:\n- 인터넷에 연결하고 이러한 파일을 다운로드하려면 '예'를 선택합니다\n- 작업을 취소하려면 '아니오'를 선택합니다\n\n참고: 파일은 현재 응용 프로그램 디렉터리에 다운로드되며 있는 경우 자동으로 재사용됩니다."
t MSG_115 "다운로드가 필요합니다"
-t MSG_116 "이 이미지는 Grub %s을(를) 사용하지만 응용 프로그램에는 Grub %s에 대한 설치 파일만 포함합니다.\n\n다른 버전의 Grub은 서로 호환되지 않을 수 있으며, 모두 포함할 수 없기 때문에 Rufus는 이미지에서 일치하는 Grub 설치 파일 ('core.img')의 버전을 찾으려고 시도합니다:\n- 인터넷에 연결하고 다운로드하려면 '예'를 선택합니다\n- Rufus의 기본 버전을 사용하려면 '아니요'를 선택합니다\n- 작업을 중단하려면 '취소'를 선택합니다\n\n참고: 파일은 현재 응용 프로그램 디렉터리에 다운로드되며 있는 경우 자동으로 재사용됩니다. 일치하는 항목을 온라인으로 찾을 수 없는 경우 기본 버전이 사용됩니다."
+t MSG_116 "이 이미지는 Grub %s을(를) 사용하지만 응용 프로그램에는 Grub %s에 대한 설치 파일만 포함합니다.\n\n다른 버전의 Grub은 서로 호환되지 않을 수 있으며, 모두 포함할 수 없기 때문에 Rufus는 이미지에서 일치하는 Grub 설치 파일 ('core.img')의 버전을 찾으려고 시도합니다:\n- 인터넷에 연결하고 다운로드하려면 '예'를 선택합니다\n- Rufus의 기본 버전을 사용하려면 '아니오'를 선택합니다\n- 작업을 중단하려면 '취소'를 선택합니다\n\n참고: 파일은 현재 응용 프로그램 디렉터리에 다운로드되며 있는 경우 자동으로 재사용됩니다. 일치하는 항목을 온라인으로 찾을 수 없는 경우 기본 버전이 사용됩니다."
t MSG_117 "표준 Windows 설치"
t MSG_119 "고급 드라이브 속성"
t MSG_120 "고급 포맷 옵션"
@@ -8378,7 +7926,7 @@ t MSG_129 "UEFI:NTFS 부트 로더를 사용하는 미디어를 방금 만들었
t MSG_130 "Windows 이미지 선택"
t MSG_131 "이 ISO에는 여러 개의 Windows 이미지가 포함되어 있습니다.\n이 설치에 사용할 이미지를 선택하세요:"
t MSG_132 "다른 프로그램 또는 프로세스가 이 드라이브에 액세스하고 있습니다. 포맷하시겠습니까?"
-t MSG_133 "Rufus에서 현재 1809 버전 ISO를 기반으로 'Windows To Go' 미디어를 생성하려는 것을 감지했습니다.\n\n\"Microsoft의 버그\"로 인해, 사용자가 직접 'WppRecorder.sys' 파일을 1803 버전으로 교체하지 않으면 이 미디어는 Windows 부팅 중에 충돌(블루스크린)을 일으킵니다.\n\n또한 Rufus가 이를 자동으로 수정해 드리지 못하는 이유는 'WppRecorder.sys' 파일이 Microsoft의 저작권 보호를 받는 파일이기 때문입니다. 따라서 법적으로 해당 파일의 복사본을 애플리케이션에 포함할 수 없음을 양해 바랍니다."
+t MSG_133 "Rufus가 1809 ISO를 기반으로 Windows To Go 미디어를 만들려고 하는 것을 감지했습니다.\n\n*MICROSOFT BUG*로 인해 수동으로 'WppRecorder.sys' 파일을 1803 버전으로 교체하지 않으면 Windows 부팅 중 이 미디어가 충돌합니다.\n\n또한 Rufus가 이 문제를 자동으로 해결할 수 없는 이유는 'WppRecorder.sys'가 Microsoft의 저작권이 있는 파일이기 때문에 해당 파일의 복사본을 응용 프로그램에 법적으로 포함할 수 없기 때문입니다..."
t MSG_134 "파티션 구성표에서 MBR이 선택되었기 때문에 Rufus는 이 미디어에 최대 2TB의 파티션만 만들 수 있으며, 이로 인해 %s의 디스크 공간을 사용할 수 없게 됩니다.\n\n계속하시겠습니까?"
t MSG_135 "버전"
t MSG_136 "릴리즈"
@@ -8387,7 +7935,7 @@ t MSG_138 "언어"
t MSG_139 "아키텍처"
t MSG_140 "계속"
t MSG_141 "뒤로"
-t MSG_142 "기다려주세요..."
+t MSG_142 "기다려주십시오..."
t MSG_143 "브라우저를 사용하여 다운로드"
t MSG_144 "Microsoft가 이를 방지하기 위해 웹사이트를 변경했기 때문에 Windows ISO를 다운로드할 수 없습니다."
t MSG_145 "이 스크립트를 실행하려면 PowerShell 3.0 이상이 필요합니다."
@@ -8419,7 +7967,7 @@ t MSG_172 "유효하지 않은 다운로드 서명"
t MSG_173 "선택하려면 클릭..."
t MSG_174 "Rufus - 신뢰할 수 있는 USB 포맷 유틸리티"
t MSG_175 "버전 %d.%d (빌드 %d)"
-t MSG_176 "한국어 번역:\\line• 세상사는이야기-나두 \\line• Uk-Jin Jang \\line• 비너스걸 (VᴇɴᴜsGɪʀʟ♥) "
+t MSG_176 "한국어 번역:\\line• 비너스걸 (VᴇɴᴜsGɪʀʟ♥) "
t MSG_177 "버그 보고 또는 향상된 기능 요청:"
t MSG_178 "추가 저작권:"
t MSG_179 "업데이트 정책:"
@@ -8443,7 +7991,7 @@ t MSG_196 "중요: 이 드라이브는 비표준 섹터 크기를 사용합니
t MSG_197 "비표준 섹터 크기가 감지됨"
t MSG_198 "'Windows To Go'는 고정 속성이 설정된 GPT 파티션 드라이브에만 설치할 수 있습니다. 현재 드라이브가 고정 드라이브로 감지되지 않았습니다."
t MSG_199 "이 플랫폼에서는 이 기능을 사용할 수 없습니다."
-t MSG_201 "취소 중 - 잠시 기다려 주세요..."
+t MSG_201 "취소 중 - 잠시 기다려 주십시오..."
t MSG_202 "이미지 검색 중..."
t MSG_203 "이미지를 검색하지 못했습니다"
t MSG_204 "오래된 %s이(가) 감지되었습니다"
@@ -8475,7 +8023,7 @@ t MSG_229 "파티션 부트 레코드 작성 중..."
t MSG_230 "DOS 파일 복사 중..."
t MSG_231 "ISO 파일 복사 중: %s"
t MSG_232 "Win7 EFI 부팅 설정 (%s)..."
-t MSG_233 "마무리 중, 기다려 주세요..."
+t MSG_233 "마무리 중, 기다려 주십시오..."
t MSG_234 "Syslinux %s 설치 중..."
t MSG_235 "불량 블록: %s %d/%d - %0.2f%% (%d/%d/%d 오류)"
t MSG_236 "불량 블록: 무작위 패턴으로 테스트"
@@ -8565,8 +8113,6 @@ t MSG_319 "부팅 마커 무시"
t MSG_320 "파티션 레이아웃 (%s)을 새로 고치는 중..."
t MSG_321 "선택한 이미지는 ISO 하이브리드이지만 제작자가 ISO/파일 복사 모드와 호환되도록 만들지 않았습니다.\n이에 따라 DD 이미지 쓰기 모드가 적용됩니다."
t MSG_322 "'%s'을(를) 열거나 읽을 수 없습니다"
-t MSG_323 "설치 시 SkuSiPolicy.p7b 적용 (KB5042562 참조)"
-t MSG_324 "QoL 개선 사항 (Copilot, OneDrive, Outlook, Fast Startup 등을 강제하지 않음)"
t MSG_325 "Windows 사용자 지정 적용 중: %s"
t MSG_326 "사용자 옵션을 적용하는 중..."
t MSG_327 "Windows 사용자 환경"
@@ -8579,7 +8125,7 @@ t MSG_333 "사용자 이름으로 로컬 계정 만들기:"
t MSG_334 "이 사용자의 값과 동일한 값을 사용하여 국가별 옵션 설정"
t MSG_335 "BitLocker 자동 장치 암호화 사용 안 함"
t MSG_336 "영구 로그"
-t MSG_337 "이 기능을 사용하려면 Microsoft에서 추가 파일('%s')을 다운로드해야 합니다:\n- 인터넷에 연결하여 다운로드하려면 '예'를 선택하세요.\n- 작업을 취소하려면 '아니요'를 선택하세요.\n\n참고: 파일은 프로그램 실행 디렉토리에 다운로드되며, 파일이 존재하면 자동으로 재사용됩니다."
+t MSG_337 "MS-DOS를 설치하려면 Microsoft에서 추가 파일 ('diskcopy.dll')을 다운로드해야 합니다:\n- 인터넷에 연결하여 다운로드하려면 '예'를 선택합니다\n- 작업을 취소하려면 '아니오'를 선택합니다\n\n참고: 해당 파일은 응용 프로그램의 디렉터리에 다운로드되며 존재하는 경우 자동으로 재사용됩니다."
t MSG_338 "취소된 UEFI 부트로더가 탐지됨"
t MSG_339 "Rufus는 사용자가 선택한 ISO에 취소된 UEFI 부트로더가 포함되어 있으며, 이는 완전히 최신 UEFI 시스템에서 보안 부팅이 활성화된 경우에 %s을(를) 생성한다는 것을 감지했습니다.\n\n- 평판이 좋지 않은 소스에서 이 ISO 이미지를 가져온 경우 UEFI 멀웨어가 포함되어 있을 가능성을 고려하고 부팅을 피해야 합니다.\n- 신뢰할 수 있는 소스에서 가져온 경우에는 보다 최신 버전을 찾아야 합니다. 그러면 이 경고가 발생하지 않습니다.."
t MSG_340 "\"보안 위반\" 화면"
@@ -8587,37 +8133,16 @@ t MSG_341 "%s이(가) 있는 Windows 복구 화면 (BSOD)"
t MSG_342 "압축된 VHDX 이미지"
t MSG_343 "압축되지 않은 VHD 이미지"
t MSG_344 "전체 플래시 업데이트 이미지"
-t MSG_345 "이 기능을 사용하려면 Microsoft에서 몇 가지 추가 데이터를 다운로드해야 합니다:\n- 인터넷에 연결하여 다운로드하려면 '예'를 선택합니다\n- 작업을 취소하려면 '아니요'를 선택합니다"
+t MSG_345 "이 기능을 사용하려면 Microsoft에서 몇 가지 추가 데이터를 다운로드해야 합니다:\n- 인터넷에 연결하여 다운로드하려면 '예'를 선택합니다\n- 작업을 취소하려면 '아니오'를 선택합니다"
t MSG_346 "Windows를 S-Mode로 제한 (온라인 계정 우회와 호환되지 않음)"
t MSG_347 "전문가 모드"
t MSG_348 "압축 파일 추출 중: %s"
t MSG_349 "Rufus MBR 사용"
-t MSG_350 "'Windows CA 2023' 서명 부트로더 사용 (호환되는 대상 PC 필요)"
-t MSG_351 "UEFI 부트로더 취소 여부 확인 중..."
-t MSG_352 "UEFI DBX 업데이트 확인 중..."
-t MSG_353 "DBX 업데이트 사용 가능"
-t MSG_354 "Rufus가 UEFI 보안 부팅 취소 확인에 사용되는 최신 버전의 DBX 파일을 찾았습니다. 이 업데이트를 다운로드하시겠습니까?\n- 인터넷에 연결하여 파일을 다운로드하려면 '예'를 선택하세요.\n- 작업을 취소하려면 '아니오'를 선택하세요.\n\n참고: 파일은 프로그램 실행 디렉토리에 다운로드되며, 파일이 존재하면 자동으로 재사용됩니다."
-t MSG_355 "⚠경고⚠ 묻지 않고 디스크 삭제 및 설치:"
-t MSG_356 "\"무경고(silent)\" Windows 설치 옵션을 선택하셨습니다.\n\n이것은 고급 옵션으로, Windows 설치 중에 사용자에게 확인 과정을 거치지 않고 대상 시스템에서 처음 감지된 디스크를 \"무조건 삭제\"하는 미디어를 만들려는 분들을 위한 기능입니다. 주의하지 않으면 이 옵션 사용으로 인해 \"되돌릴 수 없는 데이터 손실\"이 발생할 수 있습니다!\n\n이것을 원치 않으시면 '아니오'를 선택하여 돌아가서 해당 옵션의 체크를 해제하십시오.\n반대로 '예'를 선택하신다면, 발생하는 모든 데이터 손실에 대한 전적인 책임은 \"사용자 본인\"에게 있음에 동의하는 것으로 간주합니다."
-t MSG_358 "지원되지 않는 이미지 위치"
-t MSG_359 "대상 드라이브가 완전히 삭제될 예정이므로, 해당 드라이브에 있는 이미지는 사용할 수 없습니다. 이는 마치 본인이 앉아 있는 나뭇가지를 톱질하는 것과 같습니다!\n\n이미지 파일을 다른 위치로 이동한 후 다시 시도해 주세요."
-t MSG_360 "TPM이나 넉넉한 RAM을 보유하고 있더라도 이 옵션을 활성화된 상태로 두는 것이 안전합니다. 이 옵션은 설치 요구 사항을 우회할 뿐이며, Windows가 사용 가능한 모든 하드웨어를 사용하는 것을 실제로 방해하지는 않기 때문입니다."
-t MSG_361 "이 옵션이 작동하려면 설치 중에 반드시 네트워크/인터넷 연결을 해제해야 합니다!"
-t MSG_362 "Microsoft와의 데이터 공유에 관한 Windows 설정 질문에 사용자에게 묻는 대신 자동으로 '아니오'라고 응답합니다."
-t MSG_363 "'Windows To Go'가 내부 디스크에 액세스하여 예고 없이 되돌릴 수 없는 파일 시스템 업그레이드를 수행하는 것에 동의하지 않는다면, 이 옵션을 활성화된 상태로 두어야 합니다."
-t MSG_364 "지정된 사용자 이름으로 로컬 계정을 자동으로 생성합니다. 암호는 빈 값으로 설정되며 다음 로그온 시 변경해야 합니다."
-t MSG_365 "사용자에게 묻는 대신 이 PC의 지역 설정(키보드, 시간대, 통화)을 그대로 복제합니다."
-t MSG_366 "사용자가 명시적으로 요청하지 않는 한 시스템 디스크를 암호화하지 않습니다."
-t MSG_367 "S-Mode가 무엇인지 알고 있으며, Windows를 완전히 삭제하고 재설치한 후에도 시스템이 S-Mode로 고정될 수 있음을 이해하는 경우에만 이 옵션을 사용하십시오."
-t MSG_368 "Windows를 설치하려는 시스템이 최신 보안 부팅 인증서를 사용 중인 경우 이 옵션을 사용하십시오. 필요한 경우 'Mosby'를 사용하여 시스템을 업데이트할 수 있습니다."
-t MSG_369 "잠재적으로 안전하지 않은 추가 Windows 부트로더를 차단하려는 경우 이 옵션을 사용하십시오. 단, 표준 Windows 미디어의 부팅도 차단될 가능성이 있습니다."
-t MSG_370 "\"Quality of Life(QoL)\" 개선 사항: Microsoft가 사용자에게 강제하려는 원치 않는 기능 대부분을 비활성화합니다."
-t MSG_371 "이 옵션을 사용하는 경우, Windows를 설치할 디스크를 제외한 대상 PC의 모든 디스크를 분해(연결 해제)했는지 확인하십시오. 또한, 데이터 삭제를 원치 않는 PC에는 미디어를 연결된 상태로 두지 마십시오."
t MSG_900 "Rufus는 USB 메모리 및 플래시 드라이브를 포맷하고 부팅할 수 있도록 만드는 도구입니다."
t MSG_901 "공식 사이트: %s"
t MSG_902 "소스 코드: %s"
t MSG_903 "변경 사항: %s"
-t MSG_904 "이 응용 프로그램은 GNU Public License (GPL) 버전 3의 조건에 따라 라이선스가 부여됩니다.\n자세한 내용은 https://www.gnu.org/licenses/gpl-3.0.html 을 참조하세요."
+t MSG_904 "이 응용 프로그램은 GNU Public License (GPL) 버전 3의 조건에 따라 라이선스가 부여됩니다.\n자세한 내용은 https://www.gnu.org/licenses/gpl-3.0.html 을 참조하십시오."
t MSG_905 "부팅"
t MSG_910 "USB, 플래시 카드 및 가상 드라이브를 FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3로 포맷"
t MSG_911 "FreeDOS 부팅 가능한 USB 드라이브 만들기"
@@ -8635,7 +8160,7 @@ t MSG_922 "UEFI Shell ISO 다운로드"
#########################################################################
l "lv-LV" "Latvian (Latviešu)" 0x0426
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -8823,7 +8348,7 @@ t MSG_129 "Tikko tika izveidots nesējs ar UEFI:NTFS ielādi. Atcerieties, lai p
t MSG_130 "Windows virtuālā attēla izvēle"
t MSG_131 "Šis ISO satur vairāku Windows OS virtuālos attēlus.\nIzvēlieties virtuālo attēlu, kuru vēlaties izmantot instalācijai:"
t MSG_132 "Citai programmai vai procesam ir piekļuve šai ierīcei. Vienalga vēlaties formatēt?"
-t MSG_133 "Rufus noteica, ka mēģinat veidot 'Windows To Go' disku formātā 1809 ISO\n\nAtsaucoties uz *MICROSOFT BUG*, šis nesējs var izsaukt Windows ielādes kļūdu (BSOD), šādā gadījumā nepieciešams manuāli samainīt 'WppRecorder.sys' failu uz 1803 versiju.\n\nRufus automātiski nemaina šo failu, jo 'WppRecorder.sys' ir Microsoft īpašums, un legāli ievietot failu programmā nav iespējams..."
+t MSG_133 "Rufus noteica, ka mēģinat veidot Windows To Go disku formātā 1809 ISO\n\nAtsaucoties uz *MICROSOFT BUG*, šis nesējs var izsaukt Windows ielādes kļūdu (BSOD), šādā gadījumā nepieciešams manuāli samainīt 'WppRecorder.sys' failu uz 1803 versiju.\n\nRufus automātiski nemaina šo failu, jo 'WppRecorder.sys' ir Microsoft īpašums, un legāli ievietot failu programmā nav iespējams..."
t MSG_134 "Tā kā par ielādes sadaļu tika izvēlēts MBR, Rufus var izveidot sadaļu ar apjomu līdz 2 TB, pēc kā paliks %s brīvi pieejamas diska vietas papildus sadaļām.\n\nVēlaties turpināt?"
t MSG_135 "Versija"
t MSG_136 "Laidiens"
@@ -9010,8 +8535,6 @@ t MSG_319 "Ignorēt ielādes marķeri"
t MSG_320 "Atjauno sadaļas izkārtojumu (%s)..."
t MSG_321 "Izvēlētais virtuālais attēls ir ISOHybrid, bet tā veidotājs nav izveidojis ISO/Failu kopēšanas .\nTiks izmantots DD virtuālā attēla kopēšanas režīms."
t MSG_322 "Neizdevās atvērt vai izlasīt '%s'"
-t MSG_323 "Instalēšanas laikā izmantojiet SkuSiPolicy.p7b (skatiet KB5042562)"
-t MSG_324 "QoL uzlabojumi (attiecas uz Copilot, OneDrive, Outlook, Fast Startup utt.)"
t MSG_325 "Pielietot Windows kastomizāciju: %s"
t MSG_326 "Lietotāja opciju pielietošana..."
t MSG_327 "Windows lietotāju pieredze"
@@ -9024,7 +8547,7 @@ t MSG_333 "Izveidot lokālo kontu ar lietotājvārdu:"
t MSG_334 "Izvēlēties reģionālos uzstādījumus kā šim lietotājam"
t MSG_335 "Atslēgt automātisko šifrēšanu ar BitLocker"
t MSG_336 "Pastāvīgs žurnāls"
-t MSG_337 "Lai izmantotu šo funkciju, no Microsoft ir jālejupielādē papildu fails ('%s'):\n- Izvēlieties 'Jā', lai pieslēgties pie Interneta un failu lejuplādēt.\n- Izvēlieties 'Nē', lai atcelt darbību.\n\nPiezīme. Fails tiks lejuplādēts programmas mapē, ja tas jau eksistē, tiks izmantots atkārtoti."
+t MSG_337 "Lai instalēt MS-DOS no Microsoft vietnes nepieciešams lejuplādēt papildus failu («diskcopy.dll»):\n- Izvēlieties «Jā», lai pieslēgties pie Interneta un failu lejuplādēt.\n- Izvēlieties «Nē», lai atcelt darbību.\n\nPiezīme. Fails tiks lejuplādēts programmas mapē, ja tas jau eksistē, tiks izmantots atkārtoti."
t MSG_338 "Pamanīts atceltais UEFI ielādes ieraksts"
t MSG_339 "Rufus konstatēja Jūsu izvēlētais ISO-fails satur atceltu UEFI ielādes ierakstu, kurš izdos %s, ja būs ieslēgta drošā ielāde pilnīgi jauninātajā UEFI sistēmā.\n\n- Ja šis ISO fails ir iegūts no nedrošiem avotiem, vajag ņemt vērā, ka tas var saturēt UEFI ļaunatūru un censties no tā nestartēt.\n- Ja fails iegūts no droša avota, būtu jāatrod jaunāka versija, kurai nerādīs šādu brīdinājumu."
t MSG_340 "a \"Drošības pārkāpuma\" ekrāns"
@@ -9037,27 +8560,6 @@ t MSG_346 "Ierobežot Windows tikai S režīmā (NESADERĪGS ar tiešsaistes kon
t MSG_347 "Eksperta režīms"
t MSG_348 "Atpakot arhīva failus: %s"
t MSG_349 "Izmantot Rufus MBR"
-t MSG_350 "Izmantojiet Windows CA 2023' parakstītus ielādētājus (nepieciešams saderīgs dators)"
-t MSG_351 "Notiek UEFI ielādētāja atsaukšanas pārbaude..."
-t MSG_352 "Notiek UEFI DBX atjauninājumu pārbaude..."
-t MSG_353 "Pieejams DBX atjauninājums"
-t MSG_354 "Rufus ir atradis atjauninātu DBX failu versiju, ko izmanto, lai veiktu UEFI Secure Boot atsaukšanas pārbaudes. Vai vēlaties lejupielādēt šo atjauninājumu?\n- Izvēlieties 'Jā', lai pieslēgties internetam un lejupielādēt šo saturu\n- Izvēlieties 'Nē', lai atceltu darbību\n\nPiezīme. Faili tiks lejupielādēti programmas direktorijā un ja tādi jau ir, tie tiks automātiski izmantoti atkārtoti."
-t MSG_355 "⚠KLUSĀ⚠ diska dzēšana un instalācija:"
-t MSG_356 "Ir izvēlēta \"klusā\" Windows instalēšanas opcija.\n\nŠī ir uzlabota opcija, kas paredzēta tiem, kuri vēlas izveidot datu nesēju, kas lietotājam Windows instalēšanas laikā neko neprasa un BEZNOSACĪJUMĀ DZĒŠ pirmo atrasto disku. Ja neesat piesardzīgs, šīs opcijas izmantošana var izraisīt NEATGRIEZENISKU DATU ZAUDĒJUMU!\n\nJa tas nav tas, ko vēlaties, izvēlieties 'Nē', lai atgrieztos un noņemiet atzīmi no opcijas.\nPretējā gadījumā, ja izvēlaties 'Jā', tad PIEKRĪTAT atbildībai par iespējamo datu zudumu."
-t MSG_358 "Neatbalstīta instalācijas atrašanās vieta"
-t MSG_359 "Nevar izmantot instalāciju, kas atrodas mērķa diskā, jo šis disks tiks pilnībā izdzēsts. Tas ir tas pats, kas mēģināt zāģēt zaru, uz kura sēdi!\n\nPārvietojiet instalāciju uz citu vietu un mēģiniet vēlreiz."
-t MSG_360 "Šo opciju var atstāt iespējotu pat tad, ja ir TPM vai vairāk RAM, jo šī opcija tikai apiet iestatīšanas prasības un faktiski neliedz OS Windows izmantot visu pieejamo aparatūru."
-t MSG_361 "Lai šī opcija darbotos, instalēšanas laikā OBLIGĀTI jāatvieno tīkls/internets!"
-t MSG_362 "Automātiski uz Windows iestatīšanas jautājumiem, kas saistīti datu koplietošanai ar Microsoft, atbilde būs 'nē' tā vietā, lai prasīt lietotājam."
-t MSG_363 "Šī opcija ir jāatstāj iespējota, ja vien 'Windows To Go' nevar piekļūt iekšējiem diskiem un klusi veikt neatgriezeniskus failu sistēmas jauninājumus."
-t MSG_364 "Automātiski izveidos lokālo kontu ar norādīto lietotājvārdu, izmantojot tukšu paroli, kas būs jāmaina nākamajā pieteikšanās reizē."
-t MSG_365 "Dublēs reģionālos iestatījumus no šī datora (tastatūra, laika josla, valūta), tā vietā, lai prasīt lietotājam."
-t MSG_366 "Nešifrēs sistēmas disku, ja vien to neaktivizēs lietotājs."
-t MSG_367 "Izmantojiet šo opciju tikai tad, ja zināt, kas ir S-Mode, un saprotat, ka sistēma var tikt bloķēta S-režīmā pat pēc pilnīgas Windows dzēšanas un atkārtotas instalēšanas."
-t MSG_368 "Izmantojiet šo opciju, ja sistēma, kurā plānojat instalēt sistēmu Windows, izmanto pilnībā atjauninātus Secure Boot sertifikātus. Ja nepieciešams, sistēmas atjaunināšanai varat izmantot Mosby."
-t MSG_369 "Izmantojiet šo opciju, ja vēlaties atsaukt papildu potenciāli nedrošos Windows ielādētājus, taču var arī novērst standarta Windows multivides palaišanu."
-t MSG_370 "\"Quality of Life\" uzlabojumi: Tiks atspējota lielākā daļu nevēlamo funkciju, ko Microsoft mēģina uzspiest lietotājiem."
-t MSG_371 "Ja izmantojat šo opciju, atvienojiet visus diskus no mērķa datora, izņemot to, kurā vēlaties instalēt OS Windows, kā arī neatstājiet multividi, kuru nevēlaties dzēst, pievienotu nevienam no datoriem."
t MSG_900 "Rufus ir instruments ar kura palīdzību var formatēt un izveidot USB ielādes ierīces uz tādiem nesējiem, kā USB pieslēguma zibatmiņas, atmiņas kartes u.c."
t MSG_901 "Oficiālā mājas lapa: %s"
t MSG_902 "Sākotnējais kods: %s"
@@ -9080,7 +8582,7 @@ t MSG_922 "Lejupielādē UEFI OS ISO failus"
#########################################################################
l "lt-LT" "Lithuanian (Lietuvių)" 0x0427
-v 4.14
+v 3.22
b "en-US"
g IDD_ABOUTBOX
@@ -9301,6 +8803,7 @@ t MSG_164 "Būdas, kuris bus naudojamas padaryti diską įkraunamą"
t MSG_165 "Spauskite, jei norite pasirinkti ar atsisiųsti atvaizdą..."
t MSG_166 "Pažymėkite šį langelį, norėdami įgalinti tarptautinių žymių rodymą ir įrenginio piktogramos nustatymą (sukuria autorun.inf)"
t MSG_167 "Įdiegia MBR, kuris įgalina įkrovos pasirinkimą ir gali maskuoti BIOS USB disko ID"
+t MSG_168 "Bandyti maskuoti pirmą įkraunamą USB diską (paprastai 0x80) kaip kitą diską.\nTo turėtų prireikti tik jei diegsite Windows XP ir bus daugiau nei vienas diskas."
t MSG_169 "Sukurti papildomą slaptą skaidinį ir bandyti sulygiuoti skaidinių ribas.\nTai gali pagerinti įkrovos aptikimą su senais BIOSais."
t MSG_170 "Įgalinti išorinių USB kietųjų diskų pateiktį. NAUDOTI SAVO RIZIKA!!!"
t MSG_171 "Pradėti formatavimą.\nTai SUNAIKINS visus duomenis paskirtyje!"
@@ -9454,8 +8957,6 @@ t MSG_319 "Nepasyti įkrovos žymės"
t MSG_320 "Atnaujinamas skaidinių išdėstymas (%s)..."
t MSG_321 "Jūsų pasirinktas atvaizdas yra \"ISOHybrid\" atvaizdas, tačiau jo kūrėjai nepadarė jo suderinamu su ISO/failų kopijavimo režimu.\nDėl to bus įgalintas DD atvaizdo įrašymo režimas."
t MSG_322 "Nepavyksta atidaryti arba perskaityti \"%s\""
-t MSG_323 "Diegimo metu pritaikykite SkuSiPolicy.p7b (žr. KB5042562)"
-t MSG_324 "QoL patobulinimai (Neverskite Copilot, OneDrive, Outlook, Greitas Paleidimas, etc.)"
t MSG_325 "Windows tinkinimo taikymas: %s"
t MSG_326 "Vartotojo parinkčių taikymas..."
t MSG_327 "Windows vartotojo patirtis"
@@ -9468,40 +8969,6 @@ t MSG_333 "Sukurkite vietinę paskyrą naudodami vartotojo vardą:"
t MSG_334 "Regiono parinkčių nustatymas į tas pačias reikšmes kaip ir šio vartotojo"
t MSG_335 "BitLocker automatinio įrenginių šifravimo išjungimas"
t MSG_336 "Nuolatinis žurnalas"
-t MSG_337 "Papildomas failas ('%s') turi būti atsisiųstas iš Microsoft, kad naudotis šią funkcija:\n- Pasirinkite 'Taip' kad prisijungtumėte prie Interneto ir atsisiųstumėte jį\n- Pasirinkite 'Ne' kad atšaukti operacija\n\nPastaba: Failas bus atsisiųstas į programos katalogą ir, jei ten jau yra, bus automatiškai panaudotas."
-t MSG_338 "Aptikta panaikinta UEFI įkrovos tvarkyklė"
-t MSG_339 "Rufus aptiko, kad šis pasirinktas ISO tūri UEFI įkrovos programa kuris buvo panaikintas ir kuris kurs %s, kai visiškai atnaujintoje EUFI sistemoje yra įjungtas saugus įkrovimas.\n\n- Jei ši ISO atvaizdą gavote iš nepatikimo šaltinio, turėtumėte apsvarstyti galimybę, kad jame gali būti UEFI kenkėjiška programa, ir vengti paleisti sistemą iš jos.\n- Jei gavote iš patikimo šaltinio, turėtumėte pabandyti rasti naujesnę versiją, kuri nesukels šio įspėjimo."
-t MSG_340 "ekranas \"Saugumo pažeidimas\""
-t MSG_341 "Windows atkūrimo ekranas (BSOD) su pranešimu '%s'"
-t MSG_342 "Suspaustas VHDX Atvaizdas"
-t MSG_343 "Nesuspaustas VHD Atvaizdas"
-t MSG_344 "Pilnas Flash Atnaujinimo Atvaizdas"
-t MSG_345 "Reikia atsisiųsti papildomų duomenų iš Microsoft, kad naudotis šią funkciją:\n- Pasirinkite 'Taip' kad prisijungtumėte prie Interneto ir atsisiųstumėte jį\n- Pasirinkite 'Ne' kad atšaukti operacija"
-t MSG_346 "Apriboti Windows iki S-režimo (NESUDERINAMA su internetinės paskyros apėjimu)"
-t MSG_347 "Eksperto režimas"
-t MSG_348 "Išskleiskite failus iš čia: %s"
-t MSG_349 "Naudokit Rufus MBR"
-t MSG_350 "Naudokite 'Windows CA 2023' pasirašytus įkrovos tvarkyklės (Reikalingas suderinamas tikslinis kompiuteris)"
-t MSG_351 "Tikrinama, ar nėra UEFI įkrovos tvarkyklės atšaukimo..."
-t MSG_352 "Ieškoma UEFI DBX atnaujinimų..."
-t MSG_353 "DBX atnaujinimas pasiekimas"
-t MSG_354 "Rufus rado atnaujintą DBX failų versija, naudojamų UEFI saugaus įkrovimo atšaukimo patikrinimams atlikti. Ar norite atsisiųsti šį atnaujinimą?\n- Pasirinkite 'Taip' kad prisijungtumėte prie Interneto ir atsisiųstumėte jį\n- Pasirinkite 'Ne' kad atšaukti operacija\n\nPastaba: Failas bus atsisiųstas į programos katalogą ir, jei ten jau yra, bus automatiškai panaudotas."
-t MSG_355 "⚠TYLIAI⚠ ištrinti diską ir įdiegti:"
-t MSG_356 "Jūs pasirinkote naudotis \"tylioji\" Windows diegimo parinkti.\n\nTai išplėstinė parinktis, skirta žmonėms, norintiems sukurti laikmeną, kuri neragina vartotojo diegiant „Windows“ ir todėl BE SĄLYGŲ IŠTRINA pirmąjį aptiktą diską tikslinėje sistemoje. Jei nebūsite atsargūs, naudodami šią parinktį galite NEATGRĄŽINAMAI PRARASTI DUOMENIS!\n\nJei to nenorite, pasirinkite 'Ne', kad grįžtumėte ir panaikintumėte parinkties žymėjimą.\nPriešingu atveju, jei pasirinksite 'Taip', sutinkate, kad visa atsakomybė už bet kokį duomenų praradimą teks JUMS."
-t MSG_358 "Nepalaikoma atvaizdo vieta"
-t MSG_359 "Negalite naudoti atvaizdo, esančio paskirties diske, nes tas diskas bus visiškai ištrintas. Tai tas pats, kas bandyti pjauti šaką, ant kurios sėdite!\n\nPerkelkite atvaizdą į kitą vietą ir bandykite dar kartą."
-t MSG_360 "Šią parinktį galima palikti įjungtą, net jei turite TPM ar daugiau RAM, nes ši parinktis tik apeina sąrankos reikalavimus ir iš tikrųjų netrukdo „Windows“ naudoti visos turimos aparatinės įrangos."
-t MSG_361 "Kad ši parinktis veiktų, diegimo metu BŪTINA atjungti tinklą/Internetą!"
-t MSG_362 "Automatiškai atsakyti 'Ne' į Windows sąrankos klausimus, susijusius su duomenų bendrinimu su Microsoft, užuot raginus vartotoją tai padaryti."
-t MSG_363 "Šią parinktį turėtumėte palikti įjungtą, nebent sutinkate, kad 'Windows To Go' pasiektų vidinius diskus ir tyliai atliktų nepakeičiama failų sistemos atnaujinimą."
-t MSG_364 "Automatiškai sukurti vietinę paskyrą su nurodytu vartotojo vardu, naudojant tuščią slaptažodį, kurį reikės pakeisti kito prisijungimo metu."
-t MSG_365 "Nukopijuokite regioninius nustatymus iš šio kompiuterio (klaviatūrą, laiko juostą, valiutą), užuot raginę vartotoją juos pakeisti."
-t MSG_366 "Nešifruokite sistemos disko, nebent to aiškiai paprašytų vartotojas."
-t MSG_367 "Šią parinktį naudokite tik tuo atveju, jei žinote, kas yra S-režimas, ir suprantate, kad jūsų sistema gali būti užrakinta S-režime net ir visiškai ištrynus ir iš naujo įdiegus 'Windows'."
-t MSG_368 "Naudokite šią parinktį, jei sistema, kurioje planuojate įdiegti Windows, naudoja visiškai atnaujintus „Saugaus Įkrovimo“ sertifikatus. Jei reikia, galite apsvarstyti galimybę atnaujinti sistemą naudodami 'Mosby'."
-t MSG_369 "Naudokite šią parinktį, jei norite atšaukti papildomus potencialiai nesaugius Windows įkrovos tvarkykles, tačiau taip pat galite neleisti paleisti standartinės Windows laikmenos."
-t MSG_370 "\"Quality of Life\" patobulinimai: Išjunkite daugumą nepageidaujamų funkcijų, kurias Microsoft bando primesti galutiniams vartotojams."
-t MSG_371 "Jei naudojate šią parinktį, būtinai atjunkite visus diskus nuo tikslinio kompiuterio, išskyrus tą, kuriame norite įdiegti Windows, ir nepalikite laikmenos prijungtos prie kompiuterio, kurio nenorite ištrinti."
t MSG_900 "Rufus programa leidžia suženklinti ir sukurti sistemų paleidimo laikmenas, kaip pvz. USB atmintukus, atminties korteles ir pan."
t MSG_901 "Oficiali svetainė: %s"
t MSG_902 "Šaltinio kodas: %s"
@@ -9524,7 +8991,7 @@ t MSG_922 "Atsisiųskite UEFI Shell ISO"
#########################################################################
l "ms-MY" "Malay (Bahasa Malaysia)" 0x043e, 0x083e
-v 4.14
+v 3.22
b "en-US"
g IDD_ABOUTBOX
@@ -9709,7 +9176,7 @@ t MSG_129 "Anda telah menghasilkan media yang menggunakan bootloader UEFI:NTFS.
t MSG_130 "Pemilihan imej Windows"
t MSG_131 "ISO ini mengandungi beberapa imej Windows.\nSila pilih imej yang anda ingin gunakan untuk pemasangan:"
t MSG_132 "Terdapat program atau proses lain sedang mencapai pemacu ini. Adakah anda mahu memformatnya juga?"
-t MSG_133 "Rufus telah mengesan bahawa anda sedang mencuba untuk mencipta media Windows To Go berasaskan imej ISO 1809.\n\nMemandangkan terdapat pepijat dari MICROSOFT, media ini akan menghadapi masalah (Blue Screen Of Death) semasa memulakan Windows, melainkan anda menukar fail 'WppRecorder.sys' kepada versi 1803.\n\nSila ambil perhatian. Rufus tidak akan membaiki masalah ini kerana 'WppRecorder.sys' adalah hak cipta milik Microsoft dan kami tidak dapat menyertakan salinan fail berkenaan bersama-sama aplikasi ini..."
+t MSG_133 "Rufus telah mengesan bahawa anda sedang mencuba untuk mencipta media Windows To Go berasaskan imej ISO 1809.\n\nMemandangkan terdapat pepijat dari MICROSOFT, media ini akan menghadapi masalah (Blue Scree Of Death) semasa memulakan Windows, melainkan anda menukar fail 'WppRecorder.sys' kepada versi 1803.\n\nSila ambil perhatian. Rufus tidak akan membaiki masalah ini kerana 'WppRecorder.sys' adalah hak cipta milik Microsoft dan kami tidak dapat menyertakan salinan fail berkenaan bersama-sama aplikasi ini..."
t MSG_134 "Memandangkan skema pemetakan MBR telah dipilih, Rufus akan menghasilkan petak storan media dengan saiz maksimum 2 TB, di mana %s ruang cakera adalah tidak tersedia.\n\nAdakah anda pasti ingin meneruskan operasi?"
t MSG_135 "Versi"
t MSG_136 "Keluaran"
@@ -9742,7 +9209,8 @@ t MSG_163 "Kaedah yang digunakan untuk mencipta partisyen"
t MSG_164 "Kaedah yang digunakan untuk membuat cakera boot"
t MSG_165 "Klik untuk memilih atau memuat turun imej..."
t MSG_166 "Klik kotak ini untuk membenarkan paparan label antarabangsa dan menetapkan ikon cakera (akan membuat fail autorun.inf)"
-t MSG_167 "Pasang pemuat but UEFI, yang akan melakukan pengesahan fail MD5Sum terhadap media"
+t MSG_167 "Memasang MBR yang membenarkan pilihan boot dan mampu menyamar ID BIOS USB"
+t MSG_168 "Cuba menyamarkan cakera USB boot (biasanya 0x80) sebagai cakera lain.\nIni hanya diperlukan jika anda memasang Windows XP dan mempunyai lebih daripada satu cakera."
t MSG_169 "Ciptakan partisyen tambahan tersembunyi dan cuba melaraskan sempadan partisyen.\nIni boleh mempertingkatkan pengesanan boot untuk BIOS lama."
t MSG_170 "Membolehkan penyenaraian pagaran cakera keras USB. GUNAKAN ATAS RISIKO SENDIRI!!!"
t MSG_171 "Mulakan operasi pemformatan.\nIni akan MEMADAMKAN semua data pada sasaran!"
@@ -9750,7 +9218,7 @@ t MSG_172 "Tandatangan digital muat turun tidak sah"
t MSG_173 "Klik untuk memilih..."
t MSG_174 "Rufus - Utiliti pemformatan USB yang dipercayai"
t MSG_175 "Versi %d.%d (Build %d)"
-t MSG_176 "Terjemahan Bahasa Malaysia:\\line\n• Muhammad Aman \\line\n• VGPlayer \\line\n• Mohamad Ikhwan bin Kori \\line\n• Ilya Ignatev "
+t MSG_176 "Terjemahan Bahasa Malaysia:\\line\n• Muhammad Aman \\line\n• VGPlayer \\line\n• Mohamad Ikhwan bin Kori "
t MSG_177 "Laporkan masalah atau cadangan penambahbaikan di:"
t MSG_178 "Hak cipta tambahan:"
t MSG_179 "Polisi kemaskini:"
@@ -9896,8 +9364,6 @@ t MSG_319 "Abaikan penanda but"
t MSG_320 "Tataletak partition yang menyegarkan (%s)..."
t MSG_321 "Imej yang anda pilih ialah ISOHybrid, tetapi penciptanya tidak menjadikannya serasi dengan mod salinan ISO/Fail.\nAkibatnya, mod penulisan imej DD akan dikuatkuasakan."
t MSG_322 "Tidak dapat membuka atau membaca '%s'"
-t MSG_323 "Guna SkuSiPolicy.p7b semasa pemasangan (Lihat KB5042562)"
-t MSG_324 "Penambahbaikan QoL (Jangan paksa Copilot, OneDrive, Outlook, Fast Startup, dll.)"
t MSG_325 "Menggunakan penyesuaian Windows: %s"
t MSG_326 "Menggunakan pilihan pengguna..."
t MSG_327 "Pengalaman Pengguna Windows"
@@ -9910,44 +9376,9 @@ t MSG_333 "Buat akaun tempatan dengan nama pengguna:"
t MSG_334 "Mengesetkan opsyen rantau kepada nilai yang sama seperti pengguna ini"
t MSG_335 "Lumpuhkan penyulitan peranti automatik BitLocker"
t MSG_336 "Log berterusan"
-t MSG_337 "Fail tambahan ('%s') mesti dimuat turun dari Microsoft untuk menggunakan ciri ini:\n- Pilih 'Ya' untuk menyambung ke Internet dan memuat turunnya\n- Pilih 'Tidak' untuk membatalkan operasi\n\nNota: Fail akan dimuat turun ke dalam direktori aplikasi dan akan digunakan semula secara automatik jika tersedia."
-t MSG_338 "Pemuat but UEFI yang dibatalkan dikesan"
-t MSG_339 "Rufus mengesan bahawa ISO yang anda pilih mengandungi pemuat but UEFI yang telah ditarik balik dan akan menghasilkan %s, apabila Secure Boot diaktifkan pada sistem UEFI yang terkini sepenuhnya.\n\n- Jika anda memperoleh imej ISO ini daripada sumber yang tidak dipercayai, anda harus mempertimbangkan kemungkinan ia mengandungi perisian hasad UEFI dan elakkan daripada membuat but daripadanya.\n- Jika anda memperolehnya daripada sumber yang dipercayai, anda harus cuba mencari versi yang lebih terkini, yang tidak akan menghasilkan amaran ini."
-t MSG_340 "skrin \"Pelanggaran Keselamatan\""
-t MSG_341 "skrin Pemulihan Windows (BSOD) dengan '%s'"
-t MSG_342 "Imej VHDX Termampat"
-t MSG_343 "Imej VHD Tidak Termampat"
-t MSG_344 "Imej Kemas Kini Denyar Penuh"
-t MSG_345 "Beberapa data tambahan mesti dimuat turun dari Microsoft untuk menggunakan fungsi ini:\n- Pilih 'Ya' untuk menyambung ke Internet dan memuat turunnya\n- Pilih 'Tidak' untuk membatalkan operasi"
-t MSG_346 "Sekat Windows ke S-Mode (TIDAK SERASI dengan pintasan akaun dalam talian)"
-t MSG_347 "Mod Pakar"
-t MSG_348 "Mengekstrak fail arkib: %s"
-t MSG_349 "Guna MBR Rufus"
-t MSG_350 "Guna pemuat but bertandatangan 'Windows CA 2023' (Memerlukan PC sasaran yang serasi)"
-t MSG_351 "Sedang memeriksa penarikan balik pemuat but UEFI..."
-t MSG_352 "Sedang memeriksa kemas kini DBX UEFI..."
-t MSG_353 "Kemas kini DBX tersedia"
-t MSG_354 "Rufus telah menemui versi kemas kini fail DBX yang digunakan untuk melakukan pemeriksaan penarikan balik Secure Boot UEFI. Adakah anda mahu memuat turun kemas kini ini?\n- Pilih 'Ya' untuk menyambung ke Internet dan memuat turun kandungan ini\n- Pilih 'Tidak' untuk membatalkan operasi\n\nNota: Fail akan dimuat turun ke dalam direktori aplikasi dan akan digunakan semula secara automatik jika tersedia."
-t MSG_355 "⚠SECARA SENYAP⚠ padam cakera dan pasang:"
-t MSG_356 "Anda telah memilih untuk menggunakan pilihan pemasangan Windows \"senyap\".\n\nIni adalah pilihan lanjutan, dikhaskan untuk mereka yang ingin mencipta media yang tidak meminta pengguna semasa pemasangan Windows dan oleh itu MEMADAM SECARA TANPA SYARAT cakera pertama yang dikesan pada sistem sasaran. Jika anda tidak berhati-hati, menggunakan pilihan ini boleh mengakibatkan KEHILANGAN DATA YANG TIDAK BOLEH DIUNDURKAN!"
-t MSG_358 "Lokasi imej tidak disokong"
-t MSG_359 "Anda tidak boleh menggunakan imej yang terletak pada pemacu sasaran, kerana pemacu tersebut akan dipadam sepenuhnya. Ia sama seperti cuba menggergaji dahan yang anda duduki!\n\nSila pindahkan imej ke lokasi lain dan cuba lagi."
-t MSG_360 "Adalah selamat untuk membiarkan pilihan ini didayakan walaupun anda mempunyai TPM atau lebih RAM, kerana pilihan ini hanya memintas keperluan persediaan dan tidak benar-benar menghalang Windows daripada menggunakan semua perkakasan yang tersedia."
-t MSG_361 "Untuk pilihan ini berfungsi, rangkaian/Internet MESTI diputuskan semasa pemasangan!"
-t MSG_362 "Secara automatik jawab 'tidak' kepada soalan persediaan Windows berkaitan perkongsian data dengan Microsoft, dan bukannya meminta pengguna."
-t MSG_363 "Anda sepatutnya membiarkan pilihan ini didayakan, melainkan anda okay dengan 'Windows To Go' mengakses cakera dalaman dan secara senyap melakukan peningkatan sistem fail yang tidak boleh diundurkan."
-t MSG_364 "Secara automatik mencipta akaun tempatan dengan nama pengguna yang ditentukan, menggunakan kata laluan kosong yang perlu ditukar pada log masuk seterusnya."
-t MSG_365 "Salin tetapan rantau dari PC ini (papan kekunci, zon waktu, mata wang), dan bukannya meminta pengguna."
-t MSG_366 "Jangan suliikan cakera sistem, melainkan diminta secara jelas oleh pengguna."
-t MSG_367 "Guna pilihan ini hanya jika anda tahu apa itu S-Mode dan faham bahawa sistem anda mungkin dikunci ke S-Mode walaupun selepas anda memadam sepenuhnya dan memasang semula Windows."
-t MSG_368 "Guna pilihan ini jika sistem yang anda rancang untuk memasang Windows menggunakan sijil Secure Boot yang terkini sepenuhnya. Jika perlu, anda boleh melihat penggunaan 'Mosby' untuk mengemas kini sistem anda."
-t MSG_369 "Guna pilihan ini jika anda ingin menarik balik pemuat but Windows tambahan yang mungkin tidak selamat, tetapi dengan potensi juga menghalang media Windows standard daripada membuat but."
-t MSG_370 "Penambahbaikan \"Kualiti Hidup\": Lumpuhkan kebanyakan ciri yang tidak diingini yang Microsoft cuba paksa kepada pengguna akhir."
-t MSG_371 "Jika anda menggunakan pilihan ini, sila pastikan untuk memutuskan setiap cakera dari PC sasaran, kecuali yang anda ingin pasangkan Windows, serta jangan biarkan media dipasang ke mana-mana PC yang anda tidak mahu padamkan."
t MSG_900 "Rufus adalah utiliti yang membantu memformat dan mencipta pemacu kilat USB boot, seperti pemacu pen/kekunci USB, kayu memori, dan lain-lain."
t MSG_901 "Laman rasmi: %s"
t MSG_902 "Kod Sumber: %s"
-t MSG_903 "Log Perubahan: %s"
t MSG_904 "Permohonan ini dilesenkan di bawah syarat-syarat Lesen Awam GNU (GPL) versi 3.\nLihat https://www.gnu.org/licenses/gpl-3.0.html untuk butiran."
t MSG_910 "Formatkan USB, kad flash dan pemacu maya kepada FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
t MSG_911 "Buat pemacu USB boleh boot FreeDOS"
@@ -9965,7 +9396,7 @@ t MSG_922 "Muat turun ISO Shell UEFI"
#########################################################################
l "nb-NO" "Norwegian (Norsk)" 0x0414
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -10332,8 +9763,6 @@ t MSG_319 "Ignorer oppstartsmarkør"
t MSG_320 "Forfriskende partisjonsoppsett (%s)..."
t MSG_321 "Bildet du har valgt er en ISOHybrid, men skaperne har ikke gjort det kompatibelt med ISO / File copy modus.\nSom et resultat vil DD-skrivemodus bli håndhevet."
t MSG_322 "Kan ikke åpne eller lese '%s'"
-t MSG_323 "Bruk SkuSiPolicy.p7b under installasjon (se KB5042562)"
-t MSG_324 "QoL‑forbedringer (ikke påtving Copilot, OneDrive, Outlook, Hurtig oppstart osv.)"
t MSG_325 "Utfører tilpasning av Windows: %s"
t MSG_326 "Aktiverer brukertilpasninger..."
t MSG_327 "Windows brukeropplevelse"
@@ -10346,7 +9775,7 @@ t MSG_333 "Lag en lokal brukerkonto med brukernavnet:"
t MSG_334 "Sett regionale innstillinger til det samme som den aktive brukerkontoen"
t MSG_335 "Deaktiver BitLocker kryptering av enheten"
t MSG_336 "Behold log"
-t MSG_337 "En ekstra fil ('%s') må lastes ned fra Microsoft for å bruke denne funksjonen:\n- Velg 'Ja' for å koble til Internett og laste den ned\n- Velg 'Nei' for å avbryte operasjonen\n\nMerk: Filen vil bli lastet ned i programmets katalog og vil automatisk bli gjenbrukt hvis den er tilstede."
+t MSG_337 "En ekstra fil ('diskcopy.dll') må lastes ned fra Microsoft for å installere MS-DOS:\n- Velg \"Ja\" for å koble til Internett og laste den ned\n- Velg 'Nei' for å avbryte operasjonen\n\nMerk: Filen vil bli lastet ned i programmets katalog og vil automatisk bli gjenbrukt hvis den er tilstede."
t MSG_338 "Opphevet UEFI bootloader oppdaget"
t MSG_339 "Rufus oppdaget at ISO-en du har valgt inneholder en UEFI-oppstartslaster som har blitt tilbakekalt og som vil produsere %s, når sikker oppstart er aktivert på et fullstendig oppdatert UEFI-system.\n\n- Hvis du har fått dette ISO-bildet fra en ikke-anerkjent kilde, bør du vurdere muligheten for at det kan inneholde UEFI-malware og unngå å starte opp fra det.\n- Hvis du har fått det fra en pålitelig kilde, bør du prøve å finne en mer oppdatert versjon, som ikke vil gi denne advarselen."
t MSG_340 "en \"Sikkerhetsbrudd\"-skjerm"
@@ -10358,27 +9787,6 @@ t MSG_346 "Begrens Windows til S-modus (INKOMPATIBEL med online kontoomgåelse)"
t MSG_347 "Ekspert modus"
t MSG_348 "Pakker ut arkivfiler: %s"
t MSG_349 "Bruk Rufus MBR"
-t MSG_350 "Bruk bootloaders signert med «Windows CA 2023» (krever en kompatibel target‑PC)"
-t MSG_351 "Søker etter tilbakekalling av UEFI‑bootloader…"
-t MSG_352 "Søker etter UEFI‑DBX‑oppdateringer..."
-t MSG_353 "UEFI‑DBX‑oppdatering tilgjengelig"
-t MSG_354 "Rufus har funnet en oppdatert versjon av DBX‑filene som brukes til å utføre tilbakekallingssjekk for UEFI Secure Boot. Vil du laste ned denne oppdateringen?\n– Velg «Ja» for å koble til Internett og laste ned innholdet\n– Velg «Nei» for å avbryte operasjonen\n\nMerk: Filene lastes ned til programmets katalog og vil automatisk bli gjenbrukt hvis de allerede finnes."
-t MSG_355 "⚠STILLEMODUS⚠ slett disk og installer:"
-t MSG_356 "Du har valgt alternativet for «stille» Windows‑installasjon.\n\nDette er et avansert alternativ, beregnet for brukere som ønsker å opprette installasjonsmedier som ikke viser noen spørsmål under Windows‑installasjonen, og som derfor UBETINGET SLETTER den første oppdagede disken på målsystemet. Uforsiktig bruk av dette alternativet kan føre til UGJENKALLELIG TAP AV DATA!\n\nHvis dette ikke er det du ønsker, velg «Nei» for å gå tilbake og fjerne avmerkingen for dette alternativet.\nHvis du derimot velger «Ja», bekrefter du at alt ansvar for eventuell datatap fullt og helt ligger hos DEG."
-t MSG_358 "Ugyldig bildelokasjon"
-t MSG_359 "Du kan ikke bruke et bilde som er lagret på måldisken, siden denne disken vil bli fullstendig slettet. Det tilsvarer å sage av grenen du sitter på!\n\nFlytt bildet til en annen plassering og prøv igjen."
-t MSG_360 "Det er trygt å la dette alternativet være aktivert selv om systemet har TPM eller mer RAM, siden alternativet kun omgår installasjonskravene og ikke hindrer Windows i å bruke all tilgjengelig maskinvare."
-t MSG_361 "For at dette alternativet skal fungere, MÅ nettverk/Internett være frakoblet under installasjonen!"
-t MSG_362 "Svar automatisk «nei» på Windows‑installasjonsspørsmål som gjelder deling av data med Microsoft, i stedet for å spørre brukeren."
-t MSG_363 "Dette alternativet bør være aktivert, med mindre du aksepterer at «Windows To Go» får tilgang til interne disker og i stillhet utfører irreversible filsystemoppgraderinger."
-t MSG_364 "Opprett automatisk en lokal konto med angitt brukernavn og tomt passord, som må endres ved neste pålogging."
-t MSG_365 "Dupliser regionale innstillinger fra denne PC‑en (tastatur, tidssone, valuta) i stedet for å spørre brukeren."
-t MSG_366 "Ikke krypter systemdisken, med mindre brukeren uttrykkelig ber om det."
-t MSG_367 "Bruk dette alternativet kun hvis du vet hva S‑modus er, og forstår at systemet kan forbli låst i S‑modus selv etter full sletting av disken og ny installasjon av Windows."
-t MSG_368 "Bruk dette alternativet dersom systemet du planlegger å installere Windows på, bruker fullt oppdaterte Secure Boot‑sertifikater. Ved behov kan du vurdere å bruke «Mosby» for å oppdatere systemet."
-t MSG_369 "Bruk dette alternativet hvis du ønsker å tilbakekalle flere potensielt usikre Windows‑bootloaders, men vær oppmerksom på at dette også kan hindre standard Windows‑medier i å starte."
-t MSG_370 "«Quality of Life»-forbedringer: Deaktiverer de fleste uønskede funksjonene Microsoft forsøker å påtvinge sluttbrukere."
-t MSG_371 "Hvis du bruker dette alternativet, sørg for å koble fra alle disker fra mål‑PC‑en unntatt den du vil installere Windows på, og pass på at installasjonsmediet ikke er koblet til noen PC du ikke ønsker å slette."
t MSG_900 "Rufus er et verktøy som hjelper til med å formatere og lage oppstartbare USB-stasjoner, for eksempel USB-minnepinner, USB-harddisker, og lignende."
t MSG_901 "Offisiell webside: %s"
t MSG_902 "Kildekode: %s"
@@ -10401,7 +9809,7 @@ t MSG_922 "Last ned UEFI kommandolinje ISOer"
#########################################################################
l "fa-IR" "Persian (پارسی)" 0x0429
-v 4.14
+v 4.5
b "en-US"
a "r"
@@ -10598,7 +10006,7 @@ t MSG_129 "شما درایو UEFI:NTFS ایجاد کردید. لطفا به یا
t MSG_130 "انتخاب ایمیج (Image) ویندوز"
t MSG_131 "این فایل ISO چند ایمیج (Image) مختلف ویندوز دارد.\nلطفا ایمیجی که میخواهید نصب کنید را انتخاب کنید:"
t MSG_132 "برنامه دیگری در حال استفاده از این درایو است. آیا میخواهید در هر صورت این درایو را فرمت کنید؟"
-t MSG_133 "Rufus تشخیص داده است که شما میخواهید با ISO ورژن 1809 درایوی با قابلیت «Windows To Go» ایجاد کنید.\nبه دلیل باگی که شرکت مایکروسافت در این مورد دارد؛ در هنگام راهاندازی ویندوز به خطای «Blue Screen Of Death» برخورد خواهید کرد. برای رفع این مشکل میتوانید فایل 'WppRecorder.sys' را با ورژن 1803 جایگزین کنید.\nهمچنین در نظر داشته باشید به دلیل اینکه حق نشر فایل 'WppRecorder.sys' برای مایکروسافت است؛ Rufus نمیتواند به صورت خودکار این مشکل را برای شما برطرف کند و این فایل را در برنامه خود قرار دهد."
+t MSG_133 "Rufus تشخیص داده است که شما میخواهید با ISO ورژن 1809 درایوی با قابلیت «Windows To Go» ایجاد کنید.\nبه دلیل باگی که شرکت مایکروسافت در این مورد دارد؛ در هنگام راهاندازی ویندوز به خطای «Blue Screen Of Death» خواهید خورد. برای رفع این مشکل میتوانید فایل 'WppRecorder.sys' را با ورژن 1803 جایگزین کنید.\nهمچنین در نظر داشته باشید به دلیل اینکه کپیرایت فایل 'WppRecorder.sys' برای مایکروسافت است؛ Rufus نمیتواند به صورت خودکار این مشکل را برای شما برطرف کند و این فایل را در برنامه خود قرار دهد."
t MSG_134 "چون MBR برای ساختار پارتیشن انتخاب شده است؛ Rufus تنها میتواند پارتیشن با حداکثر ظرفیت 2TB روی این دیسک ایجاد کند. بنابراین %s از ظرفیت دیسک در دسترس نخواهد بود.\nآیا برای ادامه این عملیات مطمئن هستید؟"
t MSG_135 "نسخه"
t MSG_136 "انتشار"
@@ -10639,7 +10047,7 @@ t MSG_172 "امضای فایل دانلود شده معتبر نیست"
t MSG_173 "برای انتخاب کلیک کنید..."
t MSG_174 "Rufus، ابزاری کاربردی و قابلاطمینان برای فرمت کردن درایوهای USB"
t MSG_175 "نسخه %d.%d (Build %d)"
-t MSG_176 "ترجمه فارسی:\\line •روبی \\line •ضیاءالدین عظیمی "
+t MSG_176 "ترجمه فارسی:\\line •سید عرفان \\line •ضیاءالدین عظیمی "
t MSG_177 "گزارش اشکال (Bug) یا درخواست قابلیت جدید و بهبود نرمافزار در:"
t MSG_178 "حقوق نشر دیگران:"
t MSG_179 "سیاست بهروزرسانی:"
@@ -10786,8 +10194,6 @@ t MSG_319 "Boot Marker را نادیده بگیرید"
t MSG_320 "در حال تازه کردن طرح پارتیشن (%s)..."
t MSG_321 "تصویری که انتخاب کردهاید ISOHybrid است، اما سازندگان آن آنرا با حالت کپی ISO/File سازگار نکردهاند.\nدر نتیجه حالت نوشتن تصویر DD اعمال خواهد شد."
t MSG_322 "باز کردن یا خواندن %s ممکن نیست"
-t MSG_323 "اعمال کردن SkuSiPolicy.p7b در هنگام نصب کردن (نگاه کردن به KB5042562)"
-t MSG_324 "بهبود های QoL (Don't force Copilot, OneDrive, Outlook, Fast Startup, etc.)"
t MSG_325 "اعمال سفارشی سازی ویندوز: %s"
t MSG_326 "اعمال گزینه های کاربر..."
t MSG_327 "تجربه کاربری ویندوز"
@@ -10800,7 +10206,7 @@ t MSG_333 "یک حساب کاربری محلی با نام کاربری ایجا
t MSG_334 "گزینه های منطقه ای را روی همان مقادیر این کاربر تنظیم کنید"
t MSG_335 "رمزگذاری خودکار دستگاه BitLocker را غیرفعال کنید"
t MSG_336 "لیست مداوم"
-t MSG_337 "برای استفاده از این ویژگی، باید یک فایل اضافی ('%s') از مایکروسافت دانلود شود:\n- انتخاب :'بله' برای وصل شدن به اینترنت و دانلود آن\n- انتخاب 'نه' برای کنسل کردن این کار\n\nنکته: فایل در مکان نرم افزار دانلود میشود و درصورت نیاز دوباره استفاده خواهد شد."
+t MSG_337 "فایل دیگری ('diskcopy.dll:) نیاز است دانلود شود از مایکروسافت برای نصب MS-DOS:\n- انتخاب :'بله' برای وصل شدن به اینترنت و دانلود آن\n- انتخاب 'نه' برای کنسل کردن این کار\n\nنکته: فایل در مکان نرم افزار دانلود میشود و دوباره استفاده میشود درصورت انجام مجدد این کار."
t MSG_338 "بوت لودر UEFI کنسل شده شناسایی شد"
t MSG_339 "Rufus متوجه شده که فایل ISO که انتخاب کردید دارای UEFI بوت لودری است که لفو شده و باعث %s, درصورتی که بوت امن فعال شده بر روی سیستم کاملا اپدیت شده UEFI\v\v- اگه شما این فایل ISO رو از یک جای غیر قابل اعتماد دریافت کردید ممکن است این فایل دارای ویروس UEFI باشد و نباید آنرا بوت کرد \n\v- اگه شما شما از جای مورد اغفماد دریافت کردیدش, میتونید تلاش کنید برای پیدا کردن نسخه جدیدتر, با اینکار دیگر این هشتار را دریافت نمیکنید."
t MSG_340 "یک صفحه \"مشکلی امنیتی\""
@@ -10812,27 +10218,6 @@ t MSG_346 "مجبور کردن ویندوز به S-Mode ( دارای مشکلا
t MSG_347 "بخش حرفه ای"
t MSG_348 "استراج کردن فایل های آرشیو: %s"
t MSG_349 "استفاده از Rufus MBR"
-t MSG_350 "استفاده از بوتلودر امضا شده 'Windows CA 2023' (نیازمند به یک کامپیوتر سازگار است)"
-t MSG_351 "درحال بررسی برای بوتلودر UEFI باطل."
-t MSG_352 "درحال بررسی بروزرسانی برای UEFI DBX..."
-t MSG_353 "آپدیت DBX موجود است"
-t MSG_354 "Rufus یک نسخه بروزرسانی شده از فایل های DBX که در ابطال بررسی های UEFI Secure Boot استفاده میشوند پیدا کرده است, آیا میخواهید این بروزرسانی را بارگیری کنید؟ \n- انتخاب 'بله' برای وصل شدن به اینترنت و دانلود آن\n- انتخاب 'نه' برای کنسل این عملیات\n\nنکته: فایل در مکان نرم افزار دانلود میشود و درصورت نیاز دوباره استفاده خواهد شد."
-t MSG_355 "⚠مخفیانه⚠ دیسک را پاک کن و نصب کن:"
-t MSG_356 "شما انتخاب کردهاید که از گزینه نصب ویندوز «مخفیانه» استفاده کنید.\n\nاین یک گزینه پیشرفته است که برای افرادی در نظر گرفته شده است که میخواهند مدیا ایجاد کنند که در حین نصب ویندوز به کاربر اطلاع ندهد و بنابراین بدون قید و شرط اولین دیسک شناسایی شده روی سیستم هدف را پاک کند. اگر مراقب نباشید، استفاده از این گزینه میتواند منجر به از دست رفتن غیرقابل برگشت داده ها شود!\n\nاگر این چیزی نیست که میخواهید، لطفاً برای بازگشت و برداشتن تیک گزینه، «خیر» را انتخاب کنید.\n\nدر غیر این صورت، اگر «بله» را انتخاب کنید، موافقید که تمام مسئولیت هرگونه از دست رفتن داده ها کاملاً بر عهده شما خواهد بود."
-t MSG_358 "محل پشتیبانی نشده ایمیج (Image)"
-t MSG_359 "شما نمیتوانید از این ایمیج که در درایو موردنظر است استفاده کنید. زیرا این درایو قرار است کاملا پاک شود, مثل این میماند که میخواهید شاخه درختی که بر روی آن نشسته اید را ببرید! \n\nلطفا ایمیج را به یه محل دیگه منتقل کنید و دوباره تلاش کنید."
-t MSG_360 "روشن گزاشتن این گزینه امن است زیرا حتی اگر TPM و یا RAM بیشتر داشته باشید, زیرا که این گزینه فقط باعث دور زدن الزامات نصب میباشد و باعث جلوگیری ویندوز از استفاده نکردن از تمامی سخت افزار موجود نمیشود."
-t MSG_361 "برای اینکه این گزینه کار کند, باید اینترنت/شبکه در هنگام نصب قطع باشد!"
-t MSG_362 "بصورت خودکار به سوالات ارسال داده به مایکروسافت 'نه' بگو, بجای اینکه از کاربر درخواست کنی."
-t MSG_363 "شما باید این گزینه را فعال بگزارید, مگراینکه میخواهید 'Windows To Go' به دیسک داخلی دسترسی داشته باشد و بصورت مخفیانه بروزرسانی غیرقابل برگشت در File System انجام دهد."
-t MSG_364 "به طور خودکار یک حساب محلی با نام کاربری مشخص شده ایجاد میکند، با استفاده از یک رمز عبور خالی که باید در ورود بعدی تغییر کند."
-t MSG_365 "تنظیمات منطقه ای را از همین کامپیوتر (کیبورد, وقت منطقه ای, واحد پول), بجای اینکه از کاربر پرسیده شود."
-t MSG_366 "هارد سیستم را رمزگزاری نکن, مگر اینکه کاربر صریحاً درخواست کرده باشد."
-t MSG_367 "از این گزینه فقط در صورتی که میدانید S-Mode چیست و میدانید که ممکن است سیستم شما در حالت S-Mode قفل شود حتی بعد از اینکه شما کاملا ویندوز را پاک و دوباره نصب کردید استفاده کنید."
-t MSG_368 "از این گزینه درصورتی استفاده کنید که سیستمی که میخواهید بر روی آن ویندوز نصب کنید از آخرین گواهینامه های Secure Boot دارا است, درصورت نیاز, میتواند با استفاده از 'Mosby' سیستم خود را بروزرسانی کنید."
-t MSG_369 "از این گزینه فقط درصورتی که میخواهید بوتلودر های ناامن ویندوز را لغو کنید, اما با پتانسیل جلوگیری از بوت شدن ویندوز مدیا استاندارد."
-t MSG_370 "\"Quality of Life\""
-t MSG_371 "اگر میخواهید از این گزینه استفاده کنید, لطفا تمامی دیسک ها از کامپیوتر موردنظر قطع کنید, بجز آنکه میخواهید ویندوز را در آن نصب کنید, و همچنین فلش را به کامپیوتری که نمیخواهید اطلاعاتش پاک شود، متصل نگذارید."
t MSG_900 "Rufus ابزاری است که به فرمت و ایجاد درایوهای فلش USB قابل بوت، مانند کلیدهای USB/pendrives، مموری استیک ها و غیره به شما کمک می کند."
t MSG_901 "سایت رسمی: %s"
t MSG_902 "منبع کد: %s"
@@ -10855,7 +10240,7 @@ t MSG_922 "ISO های پوسته UEFI را دانلود کنید"
#########################################################################
l "pl-PL" "Polish (Polski)" 0x0415
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -10895,7 +10280,7 @@ t IDC_LOG_SAVE "Zapisz"
g IDD_NEW_VERSION
t IDCANCEL "Zamknij"
t IDD_NEW_VERSION "Szukaj aktualizacji - Rufus"
-t IDS_NEW_VERSION_AVAIL_TXT "Nowsza wersja jest dostępna. Proszę pobrać najnowszą wersję!"
+t IDS_NEW_VERSION_AVAIL_TXT "Jest dostępna nowsza wersja. Proszę pobrać najnowszą wersję!"
t IDC_WEBSITE "Kliknij tutaj, aby przejść na stronę www"
t IDS_NEW_VERSION_NOTES_GRP "Informacje o wydaniu"
t IDS_NEW_VERSION_DOWNLOAD_GRP "Pobierz"
@@ -10978,19 +10363,19 @@ t MSG_066 "Niepowodzenie instalacji"
t MSG_067 "Nie można otworzyć nośnika. Może być używany przez inny proces. Proszę podłączyć ponownie nośnik i spróbować jeszcze raz."
t MSG_068 "Nie można podzielić dysku na partycje."
t MSG_069 "Nie można skopiować plików na dysk docelowy."
-t MSG_070 "Przerwane przez użytkownika."
+t MSG_070 "Przerwane przez użytkwonika."
t MSG_071 "Nie można rozpocząć wątku."
t MSG_072 "Nie ukończono sprawdzania błędnych sektorów."
t MSG_073 "Niepowodzenie skanowania pliku ISO."
t MSG_074 "Niepowodzenie wypakowywania pliku ISO."
t MSG_075 "Nie można ponownie zamontować woluminu."
-t MSG_076 "Nie można załatać/skonfigurować plików do rozruchu."
+t MSG_076 "Nie można załatać/skonfigurować plików do bootowania."
t MSG_077 "Nie można przypisać litery dysku."
t MSG_078 "Nie można zamontować woluminu GUID."
t MSG_079 "Urządzenie nie jest gotowe."
t MSG_080 "Rufus wykrył, że Windows wciąż opróżnia swoje bufory na urządzenie USB.\n\nZależnie od prędkości twojego urządzenia USB, ta operacja może zająć dużo czasu, zwłaszcza dla dużych plików.\n\nZalecamy, abyś pozwolił Windowsowi skończyć, żeby uniknąć uszkodzeń. Jeśli jesteś już zmęczony czekaniem, możesz po prostu odłączyć urządzenie..."
t MSG_081 "Niewspierany obraz"
-t MSG_082 "Ten obraz nie jest rozruchowy lub używa kompresji sektora rozruchowego niewspieranej przez Rufusa..."
+t MSG_082 "Ten obraz nie jest bootowalny lub używa kompresji sektora rozruchowego niewspieranej przez Rufusa..."
t MSG_083 "Zastąpić %s?"
t MSG_084 "Ten obraz ISO wydaje się używać przestarzałej wersji '%s'.\nZ tego powodu menu rozruchowe może nie wyświetlać się poprawnie.\n\nNowsza wersja może być pobrana przez Rufus, aby naprawić ten błąd:\n- Wybierz 'Tak', aby połączyć się z internetem i pobrać plik\n- Wybierz 'Nie', aby zostawić istniejący plik ISO niezmienionym\nJeśli nie wiesz co zrobić, powinieneś wybrać 'Tak'.\n\nInformacja: Nowy plik będzie pobrany do aktualnej lokalizacji i jeśli '%s' istnieje, zostanie ponownie użyte automatycznie."
t MSG_085 "Pobieranie %s"
@@ -10999,21 +10384,21 @@ t MSG_087 "dla NAND %s"
t MSG_088 "Obraz jest zbyt duży"
t MSG_089 "Ten obraz jest zbyt duży dla wybranego celu."
t MSG_090 "Niewspierane ISO"
-t MSG_091 "Podczas używania Systemu Typu UEFI, tylko rozruchowe obrazy ISO EFI są wspierane. Proszę wybrać rozruchowy obraz ISO EFI lub ustawić System Docelowy na BIOS."
+t MSG_091 "Podczas używania Systemu Typu UEFI, tylko bootowalne obrazy ISO EFI są wspierane. Proszę wybrać bootowalny obraz ISO EFI lub ustawić System Docelowy na BIOS."
t MSG_092 "Niewspierany system plików"
t MSG_093 "WAŻNE: TEN NAPĘD ZAWIERA WIELE PARTYCJI!!\n\nMoże to obejmować partycje/woluminy, które nie są wymienione lub nawet widoczne z poziomu Windows. Jeżeli chcesz kontynuować, jesteś odpowiedzialny za utratę danych na tych partycjach."
t MSG_094 "Wykryto wiele partycji"
t MSG_095 "Obraz DD"
t MSG_096 "Aktualnie zaznaczony system plików nie może zostać użyty z tym typem ISO. Proszę wybrać inny system plików lub użyć innego ISO."
t MSG_097 "'%s' może zostać użyte wyłącznie, jeżeli system plików to NTFS."
-t MSG_098 "WAŻNE: Próbujesz zainstalować 'Windows To Go', lecz dysk docelowy nie ma atrybutu 'LOKALNY'. Z tego powodu Windows prawdopodobnie zawiesi się podczas startu, ponieważ Microsoft nie zaprojektował go do działania z dyskami, które zamiast tego mają atrybut 'WYMIENNY'.\n\nCzy nadal chcesz kontynuować?\n\nInformacja: Atrybut 'LOKALNY/WYMIENNY' to właściwość sprzętowa, która może jedynie zostać zmieniona używając narzędzi dostarczanych przez producenta dysku. Jednak te narzędzia PRAWIE NIGDY nie są udostępniane publicznie..."
+t MSG_098 "WAŻNE: Próbujesz zainstalować 'Windows To Go', lecz dysk docelowy nie ma atrybytu 'LOKALNY'. Z tego powodu Windows prawdopodobnie zawiesi się podczas startu, ponieważ Microsoft nie zaprojektował go do działania z dyskami, które zamiast tego mają atrybut 'WYMIENNY'.\n\nCzy nadal chcesz kontynuować?\n\nInformacja: Atrybut 'LOKALNY/WYMIENNY' to właściwość sprzętowa, która może jedynie zostać zmieniona używając narzędzi dostarczanych przez producenta dysku. Jednak te narzędzia PRAWIE NIGDY nie są udostępniane publicznie..."
t MSG_099 "Ograniczenia systemu plików"
t MSG_100 "Ten obraz ISO zawiera plik większy niż 4 GB, większy niż maksymalny dozwolony rozmiar dla systemu plików FAT lub FAT32."
t MSG_101 "Brakujące wsparcie WIM"
-t MSG_102 "Twoja platforma nie może wypakować plików z archiwów WIM. Wypakowanie WIM jest wymagane aby utworzyć rozruchowy dysk USB EFI z Windows 7 i Windows Vista. Możesz to naprawić instalując aktualną wersję 7-Zip.\nCzy chcesz odwiedzić stronę pobierania 7-zip?"
+t MSG_102 "Twoja platforma nie może wypakować plików z archiwów WIM. Wypakowanie WIM jest wymagane aby utworzyć bootowalny dysk USB EFI z Windows 7 i Windows Vista. Możesz to naprawić instalując aktualną wersję 7-Zip.\nCzy chcesz odwiedzić stronę pobierania 7-zip?"
t MSG_103 "Pobrać %s?"
-t MSG_104 "%s lub późniejszy wymaga zainstalowania pliku '%s'.\nPonieważ ten plik jest większy niż 100 KB i zawsze jest obecny na obrazach ISO %s, nie jest dołączony do Rufusa.\n\nRufus może pobrać brakujący plik dla ciebie:\n- Wybierz 'Yes', aby połączyć się z internetem i pobrać plik\n- Wybierz 'No', jeśli chcesz później ręcznie skopiować ten plik na dysk \n\nInformacja: Plik zostanie pobrany do obecnego folderu i jeśli '%s' istnieje, zostanie użyty ponownie automatycznie."
-t MSG_105 "Przerwanie operacji może pozostawić urządzenie w stanie NIEZDATNYM DO UŻYTKU.\nJeśli jesteś pewien, że chcesz przerwać operację, naciśnij TAK. W innym razie naciśnij NIE."
+t MSG_104 "%s lub późniejszy wymaga zainstalowania pliku '%s'.\nPonieważ ten plik jest większy niż 100 KB i zawsze jest obecny na obrazach ISO %s, nie jest dołączony do Rufusa.\n\nRufus może pobrać brakujący plik dla ciebie:\n- Wybierz 'Yes', aby połączyć sie z internetem i pobrać plik\n- Wybierz 'No', jeśli chcesz później ręcznie skopiować ten plik na dysk \n\nInformacja: Plik zostanie pobrany do obecnego folderu i jeśli '%s' istnieje, zostanie użyty ponownie automatycznie."
+t MSG_105 "Przerwanie operacji może pozostawic urządzenie w stanie NIEZDATNYM DO UŻYTKU.\nJeśli jesteś pewien, że chcesz przerwać operację, naciśnij TAK. W innym razie naciśnij NIE."
t MSG_106 "Proszę wybrać folder"
t MSG_107 "Wszystkie pliki"
t MSG_108 "Dziennik Rufusa"
@@ -11035,12 +10420,12 @@ t MSG_124 "Brak trwałości"
t MSG_125 "Ustaw rozmiar stałej partycji dla nośnika live USB. Ustawienie rozmiaru na 0 wyłącza trwałą partycję."
t MSG_126 "Wybierz jednostkę rozmiaru partycji."
t MSG_127 "Nie pokazuj więcej tej wiadomości"
-t MSG_128 "Ważna informacja o %s"
+t MSG_128 "Ważna informacjoa o %s"
t MSG_129 "Właśnie utworzyłeś nośnik, który używa bootloadera UEFI:NTFS. Pamiętaj, że aby wystartować z tego medium, MUSISZ WYŁĄCZYĆ \"SECURE BOOT\".\nAby dowiedzieć się więcej dlaczego jest to wymagane, kliknij poniżej przycisk \"Więcej informacji\"."
t MSG_130 "Wybór obrazu Windows"
t MSG_131 "To ISO zawiera wiele obrazów Windows.\nWybierz obraz, którego chcesz użyć dla tej instalacji:"
t MSG_132 "Inny program lub proces używa tego dysku. Czy chcesz go sformatować mimo to?"
-t MSG_133 "Rufus wykrył, że próbujesz utworzyć nośnik „Windows To Go” na podstawie obrazu ISO systemu Windows 10 w wersji 1809.\n\nZ powodu BŁĘDU PO STRONIE MICROSOFTU taki nośnik spowoduje awarię systemu podczas uruchamiania Windows (Blue Screen), chyba że ręcznie zastąpisz plik „WppRecorder.sys” jego wersją z wydania 1803.\n\nZauważ również, że powodem, dla którego Rufus nie może automatycznie naprawić tego problemu, jest fakt, iż plik „WppRecorder.sys” jest objęty prawami autorskimi firmy Microsoft, więc nie możemy legalnie dołączyć jego kopii do aplikacji."
+t MSG_133 "Rufus wykrył, że próbujesz utworzyć nośnik \"Windows To Go\" bazujący na ISO 1809.\n\nZ powodu *BŁĘDU MICROSOFTU*, ten nośnik ulegnie awarii podczas bootowania systemu (Blue Screen of Death), chyba że ręcznie zastąpisz plik \"WppRecorder.sys\" wersją z 1803.\n\nNależy również pamiętać, że powodem, dla którego Rufus nie może automatycznie rozwiązać tego problemu, jest to, że \"WppRecorder.sys” jest plikiem chronionym prawem autorskim firmy Microsoft, więc nie możemy zgodnie z prawem osadzić kopii pliku w aplikacji."
t MSG_134 "Ponieważ MBR został wybrany jako schemat partycji, Rufus może utworzyć partycję o rozmiarze do 2 TB na tym nośniku, co spowoduje, że %s miejsca na dysku będzie niedostępne.\n\nJesteś pewien, że chcesz kontynuować?"
t MSG_135 "Wersja"
t MSG_136 "Wydanie"
@@ -11056,7 +10441,7 @@ t MSG_145 "PowerShell 3.0 albo nowszy wymagany do uruchomienia tego skryptu."
t MSG_146 "Czy chcesz przejść do trybu online i go pobrać?"
t MSG_148 "Uruchamianie skryptu pobierania..."
t MSG_149 "Pobierz obraz ISO"
-t MSG_150 "Typ komputera, na którym chcesz użyć dysku rozruchowego. Przed stworzeniem dysku musisz sam określić, czy docelowy komputer posiada BIOS, czy UEFI, inaczej może się nie uruchomić."
+t MSG_150 "Typ komputera, na którym chcesz użyć bootowalnego dysku. Przed stworzeniem dysku musisz sam określić, czy docelowy komputer posiada BIOS, czy UEFI, inaczej może się nie uruchomić."
t MSG_151 "'UEFI-CSM' oznacza, że urządzenie uruchomi się jedynie w trybie emulacji BIOSu (znanej jako 'Legacy Mode') w UEFI, ale nie w natywnym trybie UEFI."
t MSG_152 "'bez CSM' oznacza, że urządzenie uruchomi się jedynie w natywnym trybie UEFI, ale nie w trybie emulacji BIOSu (znanej jako 'Legacy Mode')."
t MSG_153 "Wzorzec testowy: 0x%02X"
@@ -11067,10 +10452,10 @@ t MSG_157 "Ustawia docelowy system plików"
t MSG_158 "Minimalny rozmiar jaki blok będzie zajmował w systemie plików"
t MSG_159 "Użyj tego pola, aby ustawić etykietę dysku.\nZnaki międzynarodowe są dozwolone."
t MSG_160 "Przełącz opcje zaawansowane"
-t MSG_161 "Sprawdź urządzenie pod kątem błędnych sektorów używając wzoru testowego"
+t MSG_161 "Sprawdź urządzenie pod kątem błędnych sektorów używając wzoru testoego"
t MSG_162 "Odznacz to pole, aby użyć \"powolnej\" metody formatowania"
t MSG_163 "Metoda, która zostanie użyta do stworzenia partycji"
-t MSG_164 "Metoda, która zostanie użyta, aby uczynić dysk rozruchowym"
+t MSG_164 "Metoda, która zostanie użyta, aby uczynić dysk bootowalnym"
t MSG_165 "Kliknij, aby wybrać lub pobrać obraz..."
t MSG_166 "Zaznacz to pole, aby zezwolić na wyświetlanie etykiet międzynarodowych i ustawić ikonę urządzenia (tworzy plik autorun.inf)"
t MSG_167 "Zainstaluj bootloader UEFI, który przeprowadzi weryfikację typu MD5SUM na nośniku"
@@ -11091,7 +10476,7 @@ t MSG_182 "Wersja aplikacji, z której korzystasz"
t MSG_183 "Twój adres IP"
t MSG_184 "W celu generowania poufnych statystyk użytkowania tego programu możemy przechowywać zebrane informacje \\b co najwyżej rok\\b0, jednak nie będziemy udostępniać żadnych z indywidualnych danych osobom trzecim."
t MSG_185 "Proces aktualizacji:"
-t MSG_186 "Rufus nie instaluje lub uruchamia procesów w tle, dlatego aktualizacje są sprawdzane wyłącznie przy starcie głównego okna aplikacji.\\line\nDostęp do internetu jest wymagany podczas sprawdzania aktualizacji."
+t MSG_186 "Rufus nie instaluje lub uruchamia procesów w tle, dlatego aktualizacje są sprawdzane wylącznie przy starcie głównego okna aplikacji.\\line\nDostęp do internetu jest wymagany podczas sprawdzania aktualizacji."
t MSG_187 "Obraz nieprawidłowy dla wybranej opcji rozruchowej"
t MSG_188 "Obecny obraz nie pasuje do wybranej opcji rozruchowej. Proszę użyć innego obrazu lub wybrać inną opcję rozruchową."
t MSG_189 "Ten obraz ISO jest niekompatybilny z wybranym systemem plików"
@@ -11101,7 +10486,7 @@ t MSG_192 "Postęp odczytu"
t MSG_193 "Pobrano %s"
t MSG_194 "Nie można pobrać %s"
t MSG_195 "Używanie wbudowanej wersji pliku(ów) %s"
-t MSG_196 "WAŻNE: TEN DYSK UŻYWA NIESTANDARDOWEGO ROZMIARU SEKTORA!\n\nStandardowe dyski używają 512-bajtowego rozmiaru sektora, lecz ten dysk używa %d-bajtowego. W wielu przypadkach oznacza to, że NIE będziesz mógł startować z tego dysku.\nRufus może spróbować utworzyć dysk rozruchowy, ale NIE MA GWARANCJI, że to zadziała."
+t MSG_196 "WAŻNE: TEN DYSK UŻYWA NIESTANDARDOWEGO ROZMIARU SEKTORA!\n\nStandardowe dyski używają 512-bajtowego rozmiaru sektora, lecz ten dysk używa %d-bajtowego. W wielu przypadkach oznacza to, że NIE będziesz mógł bootować z tego dysku.\nRufus może spróbować utworzyć dysk rozruchowy, ale NIE MA GWARANCJI, że to zadziała."
t MSG_197 "Wykryto niestandardowy rozmiar sektora"
t MSG_198 "'Windows To Go' może zostać zainstalowany jedynie na dysku ze strukturą GPT jeżeli ma on ustawiony atrybut LOKALNY. Obecny dysk nie został wykryty jako LOKALNY."
t MSG_199 "Ta funkcja nie jest dostępna na tej platformie."
@@ -11136,7 +10521,7 @@ t MSG_228 "Zapisywanie Master Boot Record..."
t MSG_229 "Zapisywanie Partition Boot Record..."
t MSG_230 "Kopiowanie plików DOS..."
t MSG_231 "Kopiowanie plików ISO: %s"
-t MSG_232 "Ustawianie rozruchu Win7 EFI (%s)..."
+t MSG_232 "Ustawianie bootowania Win7 EFI (%s)..."
t MSG_233 "Finalizacja, proszę czekać..."
t MSG_234 "Instalowanie Syslinux %s..."
t MSG_235 "Błędne Sektory: %s %d/%d - %0.2f%% (%d/%d/%d błędów)"
@@ -11179,7 +10564,7 @@ t MSG_271 "Obliczanie sum kontrolnych obrazu: %s"
t MSG_272 "Oblicz sumy kontrolne MD5, SHA1 oraz SHA256 dla wybranego obrazu"
t MSG_273 "Zmień język aplikacji"
t MSG_274 "Wykryto obraz %s"
-t MSG_275 "Obraz, który wybrałeś to obraz 'ISOHybrid'. Oznacza to, że może zostać zapisany w trybie %s (kopia plików) lub trybie %s (obraz dysku).\nRufus zaleca użycie trybu %s, abyś zawsze miał pełny dostęp do dysku po jego zapisaniu.\nJednak jeśli napotkasz problemy podczas rozruchu możesz spróbować zapisać ten obraz ponownie w trybie %s.\n\nProszę wybrać tryb którego chcesz użyć do zapisania tego obrazu:"
+t MSG_275 "Obraz, który wybrałeś to obraz 'ISOHybrid'. To znacza iż może zostać zapisany w trybie %s (kopia plików) lub trybie %s (obraz dysku).\nRufus zaleca użycie trybu %s, abyś zawsze miał pełny dostęp do dysku po jego zapisaniu.\nJednak jeśli napotkasz problemy podczas bootowania możesz spróbować zapisać ten obraz ponownie w trybie %s.\n\nProszę wybrać tryb którego chcesz użyć do zapisania tego obrazu:"
t MSG_276 "Zapisz w trybie %s (zalecane)"
t MSG_277 "Zapisz w trybie %s"
t MSG_278 "Sprawdzanie kolidujących procesów..."
@@ -11214,8 +10599,8 @@ t MSG_306 "Szybkie zerowanie dysku: %s"
t MSG_307 "to może chwilę potrwać"
t MSG_308 "Detekcja VHD"
t MSG_309 "Skompresowane archiwum"
-t MSG_310 "Wybrany plik ISO używa UEFI i jest na tyle mały, że można go zapisać jako partycję systemową EFI (ESP). Zapisanie na ESP, zamiast zapisywania na ogólnej partycji danych zajmującej cały dysk, może być preferowane dla niektórych typów instalacji.\n\nProszę wybrać tryb, w którym chcesz zapisać ten obraz:"
-t MSG_311 "Użyj %s w głównym oknie aplikacji, żeby włączyć."
+t MSG_310 "Obraz ISO, który został wybrany używa UEFI i jest dość mały, żeby być zapisanym jako partycja systemowa EFI (ESP). Zapisywanie do ESP zamiast to ogólnej partycji zajmującej cały dysk. Może być bardziej odpowiedni dla niektórych typów instalacji.\n\nProszę wybrać tryb którym chesz zapisać ten obraz:"
+t MSG_311 "Użyj %s w głownym oknie aplikacji, żeby włączyć."
t MSG_312 "Dodatkowe hasze (SHA512)"
t MSG_313 "Zapisz do VHD"
t MSG_314 "Oblicz sumy kontrolne obrazu"
@@ -11227,8 +10612,6 @@ t MSG_319 "Zignoruj znacznik 'boot'"
t MSG_320 "Odświeżanie układu partycji (%s)..."
t MSG_321 "Obraz, który został wybrany jest Hybrydą ISO i nie jest zgodny z trybem kopiowania ISO.\nWynikiem tego będzie przymusowe zapisywanie w trybie DD."
t MSG_322 "Nie można otworzyć '%s'"
-t MSG_323 "Zastosuj SkuSiPolicy.p7b przy instalacji (Patrz KB5042562)"
-t MSG_324 "Usprawnienia „QoL” (Nie wymuszaj Copilot, OneDrive, Outlook, Szybki Startup, itp.)"
t MSG_325 "Zastosuj niestandardowe ustawienia Windows: %s"
t MSG_326 "Aplikowanie ustawień użytkownika..."
t MSG_328 "Niestandardowe ustawienia Windows?"
@@ -11240,9 +10623,9 @@ t MSG_333 "Stwórz konto lokalne o nazwie użytkownika:"
t MSG_334 "Ustaw taką samą lokalizację i wartości jak obecny użytkownik"
t MSG_335 "Dezaktywuj automatyczne szyfrowanie BitLocker"
t MSG_336 "Stały dziennik (log)"
-t MSG_337 "Aby skorzystać z tej funkcji, należy pobrać z firmy Microsoft dodatkowy plik ('%s'):\n– Wybierz „Tak”, aby połączyć się z Internetem i pobrać ten plik\n– Wybierz „Nie”, aby anulować operację\n\nUwaga: Plik zostanie pobrany do katalogu aplikacji i będzie automatycznie ponownie wykorzystywany, jeśli będzie już obecny."
+t MSG_337 "Dodatkowy plik (\"diskcopy.dll\") musi zostać pobrany od Microsoft, żeby zainstalować MS-DOS:\n- Wybierz opcję \"Tak\", aby pobrać pliku z internetu\n- Wybierz opcję \"Nie\", aby anulować operajcę\n\nUwaga: Plik zostanie pobrany do folderu aplikacji i będzie użyty pownownie, gdy będzie dostępny."
t MSG_338 "Wykryto unieważniony bootloader UEFI"
-t MSG_339 "Rufus wykrył, że wybrany plik ISO zawiera bootloader UEFI, który został unieważniony, i który wygeneruje %s. gdy włączony zostanie \"Secure Boot\" w pełni zaktualizowanym systemie UEFI.\n\n- Jeśli uzyskałeś ten obraz ISO z niezaufanego źródła, powinieneś rozważyć możliwość, że może on zawierać złośliwe oprogramowanie dla UEFI i unikać jego uruchamiania.\n- Jeśli uzyskałeś go z zaufanego źródła, powinieneś spróbować znaleźć nowszą wersję, która nie wygeneruje tego ostrzeżenia."
+t MSG_339 "Rufus wykrył, że wybrany plik ISO zawiera bootloader UEFI, który został unieważniony, i który wygenereuje %s. gdy włączony zostanie \"Secure Boot\" w pełni zaktualizowanym systemie UEFI.\n\n- Jeśli uzyskałeś ten obraz ISO z niezaufanego źródła, powinienneś rozważyć możliwość, że może on zawierać złośliwe oprogramowanie dla UEFI i unikać jego uruchamiania.\n- Jeśli uzyskałeś go z zaufanego źródła, powinieneś spróbować znaleźć nowszą wersję, która nie wygeneruje tego ostrzeżenia."
t MSG_340 "ekran \"Naruszenie Bezpieczeństwa\""
t MSG_341 "\"Ekran odzyskiwania systemu Windows\" (BSOD) z '%s'"
t MSG_342 "Zkompresowany obraz VHDX"
@@ -11253,49 +10636,28 @@ t MSG_346 "Ogranicz system Windows do trybu S (NIEZGODNY z obejściem konta onli
t MSG_347 "Tryb eksperta"
t MSG_348 "Wypakowywanie plików z archiwum: %s"
t MSG_349 "Użyj Rufus MBR"
-t MSG_350 "Użyj programów rozruchowych (bootloaderów) podpisanych przez „Windows CA 2023” (wymaga kompatybilnego komputera docelowego)"
-t MSG_351 "Sprawdzanie unieważnienia programu rozruchowego UEFI…"
-t MSG_352 "Sprawdzanie aktualizacji bazy UEFI DBX…"
-t MSG_353 "Dostępna aktualizacja DBX"
-t MSG_354 "Rufus wykrył zaktualizowaną wersję plików DBX używanych do sprawdzania unieważnień w UEFI Secure Boot. Czy chcesz pobrać tę aktualizację?\n– Wybierz „Tak”, aby połączyć się z Internetem i pobrać tę zawartość\n– Wybierz „Nie”, aby anulować operację\n\nUwaga: Pliki zostaną pobrane do katalogu aplikacji i będą automatycznie ponownie wykorzystywane, jeśli już tam się znajdują."
-t MSG_355 "⚠AUTOMATYCZNIE I BEZ POTWIERDZENIA⚠ wymaż dysk i zainstaluj:"
-t MSG_356 "Wybrałeś opcję „cichej” instalacji systemu Windows.\n\nJest to opcja zaawansowana, przeznaczona dla osób, które chcą utworzyć nośnik instalacyjny niewyświetlający żadnych monitów podczas instalacji systemu Windows, a co za tym idzie BEZWARUNKOWO WYMAZUJĄCY pierwszy wykryty dysk w systemie docelowym. Jeśli nie zachowasz ostrożności, użycie tej opcji może doprowadzić do NIEODWRACALNEJ UTRATY DANYCH!\n\nJeśli nie o to ci chodzi, wybierz „Nie”, aby wrócić i odznaczyć tę opcję.\nW przeciwnym razie, wybierając „Tak”, zgadzasz się, że cała odpowiedzialność za ewentualną utratę danych spoczywa WYŁĄCZNIE na TOBIE."
-t MSG_358 "Nieobsługiwana lokacja obrazu"
-t MSG_359 "Nie możesz użyć obrazu, który znajduje się na dysku docelowym, ponieważ ten dysk zostanie całkowicie wymazany. To dokładnie to samo, co próba piłowania gałęzi, na której się siedzi!\n\nPrzenieś obraz w inne miejsce i spróbuj ponownie."
-t MSG_360 "Można bezpiecznie pozostawić tę opcję włączoną, nawet jeśli posiadasz moduł TPM lub większą ilość pamięci RAM, ponieważ opcja ta jedynie omija wymagania instalatora i w rzeczywistości nie uniemożliwia systemowi Windows korzystania z całego dostępnego sprzętu."
-t MSG_361 "Aby ta opcja działała poprawnie, podczas instalacji połączenie sieciowe / internetowe MUSI być odłączone!"
-t MSG_362 "Automatycznie odpowiadaj „nie” na pytania instalatora systemu Windows dotyczące udostępniania danych firmie Microsoft, zamiast wyświetlać je użytkownikowi."
-t MSG_363 "Należy pozostawić tę opcję włączoną, chyba że akceptujesz sytuację, w której „Windows To Go” uzyskuje dostęp do wewnętrznych dysków i po cichu przeprowadza nieodwracalne aktualizacje systemu plików."
-t MSG_364 "Automatycznie utwórz konto lokalne o podanej nazwie użytkownika, używając pustego hasła, które będzie musiało zostać zmienione przy następnym logowaniu."
-t MSG_365 "Automatycznie skopiuj ustawienia regionalne z tego komputera (klawiatura, strefa czasowa, waluta), zamiast pytać użytkownika."
-t MSG_366 "Nie szyfruj dysku systemowego, chyba że użytkownik wyraźnie tego zażąda."
-t MSG_367 "Używaj tej opcji tylko wtedy, gdy wiesz, czym jest tryb S (S‑Mode), i rozumiesz, że system może pozostać zablokowany w trybie S nawet po całkowitym wymazaniu dysku i ponownej instalacji systemu Windows."
-t MSG_368 "Użyj tej opcji, jeśli system, na którym planujesz zainstalować system Windows, korzysta z w pełni aktualnych certyfikatów Secure Boot. W razie potrzeby możesz skorzystać z narzędzia „Mosby”, aby zaktualizować swój system."
-t MSG_369 "Użyj tej opcji, jeśli chcesz unieważnić dodatkowe, potencjalnie niebezpieczne programy rozruchowe systemu Windows, mając jednak świadomość, że może to również uniemożliwić uruchamianie standardowych nośników instalacyjnych Windows."
-t MSG_370 "Usprawnienia jakości życia („Quality of Life”): wyłączenie większości niechcianych funkcji, które Microsoft próbuje narzucać użytkownikom końcowym."
-t MSG_371 "Jeśli korzystasz z tej opcji, upewnij się, że odłączyłeś wszystkie dyski od komputera docelowego z wyjątkiem tego, na którym chcesz zainstalować system Windows, oraz że nie pozostawiasz nośnika podłączonego do żadnego komputera, którego nie chcesz wymazać."
-t MSG_900 "Rufus to narzędzie, które pomaga formatować i tworzyć dyski rozruchowe flash USB, takie jak klucze USB, pendrive-y itp."
+t MSG_900 "Rufus to narzędzie, które pomaga formatować i tworzyć bootowalne dyski flash USB, takie jak klucze USB / pendrive, pendrive'y itp."
t MSG_901 "Oficjalna strona: %s"
t MSG_902 "Kod źródłowy: %s"
t MSG_903 "Zmiany: %s"
t MSG_904 "Ta aplikacja jest objęta licencją na warunkach licencji publicznej GNU (GPL) w wersji 3.\nZ obacz https://www.gnu.org/licenses/gpl-3.0.html, aby uzyskać szczegółowe informacje."
t MSG_910 "Sformatuj nośnik używając: FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
-t MSG_911 "Stwórz nośnik rozruchowy USB FreeDOS"
+t MSG_911 "Stwórz bootowalny nośnik USB FreeDOS"
t MSG_912 "Twórz dyski rozruchowe z obrazów ISO (Windows, Linux itp.)"
t MSG_913 "Twórz dyski rozruchowe z obrazów dysków, włączając skompresowane"
t MSG_914 "Stwórz dysk rozruchowy BIOS lub UEFI, włączając bootowalny dysk UEFI NTFS"
t MSG_915 "Stwórz dysk 'Windows To Go'"
t MSG_916 "Twórz dyski instalacyjne systemu Windows 11 dla komputerów, które nie posiadają modułu TPM ani Secure Boot"
-t MSG_917 "Utwórz trwałe partycje Linux"
+t MSG_917 "Stwórz particje persistent Linuxa"
t MSG_918 "Stwórz obraz VHD/DD z wybranego dysku"
t MSG_919 "Oblicz sumy kontrolne MD5, SHA-1, SHA-256 i SHA-512 dla wybranego obrazu"
-t MSG_920 "Sprawdź dysk pod względem spójności danych lub wykryj \"nieoryginalny\" pendrive"
+t MSG_920 "Sprawdź dysk pod względem spójności danych lub wykryj \"nieorginalny\" pendrive"
t MSG_921 "Pobierz oficjalny obraz ISO systemu Microsoft Windows"
t MSG_922 "Ściągnij obrazy ISO UEFI Shell"
#########################################################################
l "pt-BR" "Portuguese Brazilian (Português do Brasil)" 0x0416
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -11478,7 +10840,7 @@ t MSG_129 "Você acabou de criar uma mídia que usa o carregador de inicializaç
t MSG_130 "Seleção de imagem do Windows"
t MSG_131 "Este ISO contém várias imagens do Windows.\nPor favor, selecione a imagem que você deseja usar para esta instalação:"
t MSG_132 "Outro programa ou processo está acessando esta unidade. Você quer formatá-lo mesmo assim?"
-t MSG_133 "Rufus detectou que você está tentando criar uma mídia do Windows To Go com base em uma ISO 1809.\n\nDevido a um *BUG DA MICROSOFT*, esta mídia irá travar durante a inicialização do Windows (Tela Azul da Morte), a menos que você substitua manualmente o arquivo 'WppRecorder.sys' por uma versão 1803.\n\nObserve também que a razão pela qual o Rufus não pode corrigir isso automaticamente para você é que 'WppRecorder.sys' é um arquivo protegido por direitos autorais da Microsoft, portanto, não podemos incorporar legalmente uma cópia do arquivo no aplicativo..."
+t MSG_133 "Rufus detectou que você está tentando criar uma mídia do Windows To Go com base em uma ISO 1809.\nDevido a um *MICROSOFT BUG*, esta mídia irá travar durante a inicialização do Windows (Tela Azul da Morte), a menos que você substitua manualmente o arquivo 'WppRecorder.sys' por uma versão 1803.\nObserve também que a razão pela qual o Rufus não pode corrigir isso automaticamente para você é que 'WppRecorder.sys' é um arquivo protegido por direitos autorais da Microsoft, portanto, não podemos incorporar legalmente uma cópia do arquivo no aplicativo..."
t MSG_134 "Como o MBR foi selecionado para o esquema de partição, o Rufus só pode criar uma partição de até 2 TB nessa mídia, o que deixará %s de espaço em disco indisponível.\n\nVocê tem certeza que quer continuar?"
t MSG_135 "Versão"
t MSG_136 "Lançamento"
@@ -11519,7 +10881,7 @@ t MSG_172 "Assinatura do download inválida"
t MSG_173 "Clique para selecionar..."
t MSG_174 "Rufus - O Utilitário de Formatação USB Confiável"
t MSG_175 "Versão %d.%d (Build %d)"
-t MSG_176 "Tradutores:\\line• Tiago Rinaldi \\line• Chateaubriand Vieira Moura \\line• Maison da Silva \\line• Marcos Mello "
+t MSG_176 "Tradutores:\\line• Tiago Rinaldi \\line• Chateaubriand Vieira Moura \\line• Maison da Silva \\line• Marcos Mello "
t MSG_177 "Relate bugs ou solicite aprimoramentos em:"
t MSG_178 "Direitos Autorais Adicionais:"
t MSG_179 "Política de Atualização:"
@@ -11665,8 +11027,6 @@ t MSG_319 "Ignorar marcador de inicialização"
t MSG_320 "Atualizando o layout da partição (%s)..."
t MSG_321 "A imagem que você selecionou é uma ISOHybrid, mas os criadores não a tornaram compatível com o modo de cópia ISO/Arquivo.\nComo resultado, o modo de gravação de imagem DD será aplicado."
t MSG_322 "Impossível abrir ou ler '%s'"
-t MSG_323 "Aplicar SkuSiPolicy.p7b na instalação (Ver KB5042562)"
-t MSG_324 "Melhorias QoL (Não forçar Copilot, OneDrive, Outlook, Fast Startup, etc.)"
t MSG_325 "Aplicando a personalização do Windows: %s"
t MSG_326 "Aplicando opções do usuário..."
t MSG_327 "Experiência do Usuário do Windows"
@@ -11679,7 +11039,7 @@ t MSG_333 "Criar uma conta local com nome de usuário:"
t MSG_334 "Definir as opções regionais com os mesmos valores deste usuário"
t MSG_335 "Desativar a encriptação automática BitLocker"
t MSG_336 "Registo persistente"
-t MSG_337 "Um arquivo adicional ('%s') precisa ser baixado da Microsoft para usar este recurso:\n- Selecione 'Sim' para se conectar à Internet e baixá-lo\n- Selecione 'Não' para cancelar a operação\n\nNota: O arquivo será baixado no diretório da aplicação e será reutilizado automaticamente caso presente."
+t MSG_337 "Um arquivo adicional ('diskcopy.dll') precisa ser baixado da Microsoft para instalar o MS-DOS:\n- Selecione 'Sim' para se conectar à Internet e baixá-lo\n- Selecione 'Não' para cancelar a operação\n\nNota: O arquivo será baixado no diretório da aplicação e será reutilizado automaticamente caso presente."
t MSG_338 "Detectado carregador de inicialização UEFI revogado"
t MSG_339 "Rufus detectou que o ISO selecionado contém um carregador de inicialização UEFI que foi revogado e produzirá %s quando Secure Boot estiver habilitado em um sistema UEFI atualizado.\n\n- Se você obteve essa imagem ISO de uma fonte não confiável, você deve considerar a possibilidade da mesma conter malware UEFI e evitar inicializar através dela.\n- Se você a obteve de uma fonte confiável, você deve tentar achar uma versão mais recente, que não produza este aviso."
t MSG_340 "uma tela \"Security Violation\""
@@ -11692,27 +11052,6 @@ t MSG_346 "Restringir Windows ao modo S (INCOMPATÍVEL com remoção de exigênc
t MSG_347 "Modo Especialista"
t MSG_348 "Extraindo arquivos: %s"
t MSG_349 "Usar MBR do Rufus"
-t MSG_350 "Usar carregadores de inicialização assinados com 'Windows CA 2023' (Requer um PC de destino compatível)"
-t MSG_351 "Verificando revogação de carregadores de inicialização UEFI..."
-t MSG_352 "Verificando atualizações do UEFI DBX..."
-t MSG_353 "Atualização do DBX disponível"
-t MSG_354 "Rufus encontrou uma versão atualizada dos arquivos DBX usados para realizar verificações de revogação do UEFI Secure Boot. Você quer baixar esta atualização?\n- Selecione 'Sim' para se conectar à Internet e baixar este conteúdo\n- Selecione 'Não' para cancelar a operação\n\nNota: Os arquivos serão baixados no diretório da aplicação e serão reutilizados automaticamente caso presentes."
-t MSG_355 "⚠SILENCIOSAMENTE⚠ apagar o disco e instalar:"
-t MSG_356 "Você selecionou a opção de instalação \"silenciosa\" do Windows.\n\nEsta é uma opção avançada, reservada para quem pretende criar uma mídia que não questiona o usuário durante a instalação do Windows e que, portanto, INCONDICIONALMENTE APAGA o primeiro disco detectado no sistema de destino. Se você não for cuidadoso, usar esta opção pode resultar em PERDA IRREVERSÍVEL DE DADOS!\n\nSe não for isso que você deseja, por favor selecione 'Não' para voltar atrás e desmarcar a opção.\nDo contrário, se você selecionar 'Sim', concorda que toda a responsabilidade por qualquer perda de dados será inteiramente SUA."
-t MSG_358 "Localização da imagem não suportada"
-t MSG_359 "Você não pode usar uma imagem que está localizada na unidade de destino, já que a unidade será completamente apagada. É a mesma coisa que tentar serrar o galho em que você está sentado!\n\nPor favor mova a imagem para um local diferente e tente novamente."
-t MSG_360 "É seguro deixar esta opção ativada mesmo que você tenha um TPM ou mais RAM, visto que esta opção apenas ignora os requisitos e não impede, de fato, que o Windows utilize todo o hardware disponível."
-t MSG_361 "Para esta opção funcionar, a rede/Internet PRECISA ser desconectada durante a instalação!"
-t MSG_362 "Responde automaticamente 'não' às perguntas da instalação do Windows relacionadas ao compartilhamento de dados com a Microsoft em vez de solicitar confirmação do usuário."
-t MSG_363 "Você deve deixar esta opção ativada a menos que não se importe com o 'Windows To Go' acessando os discos internos e realizando silenciosamente atualizações irreversíveis no sistema de arquivos."
-t MSG_364 "Cria automaticamente uma conta local com o nome de usuário especificado, usando uma senha em branco que deverá ser alterada no próximo logon."
-t MSG_365 "Duplica as opções regionais deste PC (teclado, fuso horário, moeda), ao invés de pedir confirmação do usuário."
-t MSG_366 "Não encripta o disco do sistema, a menos que explicitamente solicitado pelo usuário."
-t MSG_367 "Use esta opção apenas se você souber o que é o modo S e compreender que seu sistema poderá ficar travado no modo S mesmo depois de apagar completamente e reinstalar o Windows."
-t MSG_368 "Use esta opção se o sistema onde você pretende instalar o Windows está usando certificados atualizados do Secure Boot. Se necessário, você pode considerar usar o 'Mosby' para atualizar seu sistema."
-t MSG_369 "Use esta opção se você quiser revogar carregadores de inicialização do Windows adicionais potencialmente inseguros, mas com o risco de também impedir que mídias padrão do Windows iniciem."
-t MSG_370 "Melhorias \"Quality of Life\": Desativa a maioria dos recursos indesejados que a Microsoft está tentando forçar sobre os usuários."
-t MSG_371 "Se você usar esta opção, por favor certifique-se de desconectar todos os discos do PC de destino, exceto aquele em que deseja instalar o Windows, bem como não deixar a mídia conectada em qualquer PC que você não queira apagar."
t MSG_900 "Rufus é um utilitário que ajuda a formatar e a criar unidades flash USB inicializáveis, tais como pendrives USB, cartões de memória, etc."
t MSG_901 "Site oficial: %s"
t MSG_902 "Código fonte: %s"
@@ -11735,7 +11074,7 @@ t MSG_922 "Baixar ISOs do Shell UEFI"
#########################################################################
l "pt-PT" "Portuguese Standard (Português)" 0x0816
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -11743,12 +11082,12 @@ t IDD_ABOUTBOX "Acerca do Rufus"
t IDC_ABOUT_LICENSE "Licença"
g IDD_DIALOG
-t IDS_DRIVE_PROPERTIES_TXT "Propriedades da unidade"
-t IDS_DEVICE_TXT "Dispositivo"
+t IDS_DRIVE_PROPERTIES_TXT "Propriedades do dispositivo"
+t IDS_DEVICE_TXT "Dispositivo/Disco"
t IDS_BOOT_SELECTION_TXT "Tipo de arranque"
t IDC_SELECT "Selecionar"
t IDS_IMAGE_OPTION_TXT "Opções da Imagem"
-t IDS_PARTITION_TYPE_TXT "Esquema de partições"
+t IDS_PARTITION_TYPE_TXT "Esquema de partição"
t IDS_TARGET_SYSTEM_TXT "Sistema do destino"
t IDC_LIST_USB_HDD "Mostrar unidades USB"
t IDC_OLD_BIOS_FIXES "Opções de compatibilidade para BIOS antigas"
@@ -11776,12 +11115,12 @@ t IDC_LOG_SAVE "Guardar"
g IDD_NEW_VERSION
t IDCANCEL "Fechar"
-t IDD_NEW_VERSION "Procurar atualizações - Rufus"
-t IDS_NEW_VERSION_AVAIL_TXT "Está disponível uma versão mais recente. Descarregue a última versão!"
-t IDC_WEBSITE "Clicar aqui para aceder à página do Rufus"
-t IDS_NEW_VERSION_NOTES_GRP "Notas de lançamento"
-t IDS_NEW_VERSION_DOWNLOAD_GRP "Descarregar"
-t IDC_DOWNLOAD "Descarregar"
+t IDD_NEW_VERSION "Procurar atualizações de Rufus"
+t IDS_NEW_VERSION_AVAIL_TXT "Nova versão disponível. Por favor, descarregue a última versão!"
+t IDC_WEBSITE "Clique aqui para aceder ao Site de Rufus"
+t IDS_NEW_VERSION_NOTES_GRP "Notas relativas a esta versão"
+t IDS_NEW_VERSION_DOWNLOAD_GRP "Transferir"
+t IDC_DOWNLOAD "Transferir"
g IDD_NOTIFICATION
t IDC_MORE_INFO "Mais informações"
@@ -11790,16 +11129,16 @@ t IDNO "Não"
g IDD_UPDATE_POLICY
t IDCANCEL "Fechar"
-t IDD_UPDATE_POLICY "Definições e política das atualizações"
-t IDS_UPDATE_SETTINGS_GRP "Definições"
+t IDD_UPDATE_POLICY "Configuração e política das atualizações"
+t IDS_UPDATE_SETTINGS_GRP "Configurações"
t IDS_UPDATE_FREQUENCY_TXT "Procurar atualizações"
t IDS_INCLUDE_BETAS_TXT "Incluir versões de teste"
t IDC_CHECK_NOW "Procurar"
t MSG_001 "Foi detetada outra instância da aplicação"
-t MSG_002 "Outra instância da aplicação Rufus está em execução.\nFeche a primeira instância da aplicação antes de iniciar outra."
+t MSG_002 "Outra instância da aplicação Rufus está em execução.\nFeche a primeira intância da aplicação antes de iniciar outra."
t MSG_003 "AVISO: TODOS OS DADOS EM %s SERÃO ELIMINADOS.\nPara continuar, prima OK. Para sair da operação, prima CANCELAR."
-t MSG_004 "Política de atualização do Rufus"
+t MSG_004 "Atualização de Rufus"
t MSG_005 "Permitir que Rufus procure atualizações na Internet?"
t MSG_006 "Fechar"
t MSG_007 "Cancelar"
@@ -11826,11 +11165,11 @@ t MSG_036 "Imagem ISO"
t MSG_037 "Aplicação"
t MSG_038 "Abortar"
t MSG_039 "Iniciar"
-t MSG_040 "Descarregar"
+t MSG_040 "Transferir"
t MSG_041 "Operação cancelada pelo utilizador"
t MSG_042 "Erro"
t MSG_043 "Erro: %s"
-t MSG_044 "Descarga de ficheiro"
+t MSG_044 "Transferência de ficheiro"
t MSG_045 "Dispositivo de armazenamento USB (Genérico)"
t MSG_046 "%s (Disco %d) [%s]"
t MSG_047 "Várias partições"
@@ -11868,29 +11207,29 @@ t MSG_078 "Impossível montar o volume GUID."
t MSG_079 "O dispositivo não está pronto."
t MSG_080 "Rufus detetou que o Windows ainda está a limpar o buffer interno no dispositivo USB.\n\nDependendo da velocidade do dispositivo USB, esta operação pode demorar muito tempo a terminar, especialmente para ficheiros grandes.\n\nRecomendamos que deixe o Windows terminar para evitar corrompimentos; No entanto, se não quiser esperar, pode simplesmente desligar o dispositivo..."
t MSG_081 "Tipo de imagem não suportada"
-t MSG_082 "Esta imagem não é de arranque ou utiliza um método de arranque ou compressão que não é suportado pelo Rufus..."
+t MSG_082 "Esta imagem não é inicializável ou então usa um método de arranque ou compressão não suportado."
t MSG_083 "Substituir %s?"
-t MSG_084 "Esta imagem ISO usa uma versão obsoleta do ficheiro '%s'.\nIsto pode fazer com que o menu de arranque não seja exibido corretamente.\n\nO Rufus pode descarregar uma versão mais recente para resolver este problema:\n- Selecione 'Sim' para ligar-se à Internet e descarregar o ficheiro\n- Selecione 'Não' para deixar o ficheiro ISO tal como está\nSe não sabe o que fazer, é recomendado selecionar 'Sim'.\n\nNota: O novo ficheiro será descarregado para a pasta atual, e se o ficheiro\n '%s' já existir, será substituído automaticamente."
-t MSG_085 "A descarregar %s"
+t MSG_084 "Esta imagem ISO usa uma versão obsoleta do ficheiro '%s'.\nIsto pode fazer com que o menu de arranque não seja exibido corretamente.\n\nO Rufus pode transferir uma versão mais recente para resolver este problema:\n- Selecione 'Sim' para ligar-se à Internet e transferir o ficheiro\n- Selecione 'Não' para deixar o ficheiro ISO tal como está\nSe não sabe o que fazer, é recomendado selecionar 'Sim'.\n\nNota: O novo ficheiro será transferido para a pasta atual, e se o ficheiro\n '%s' já existir, será substituído automaticamente."
+t MSG_085 "A transferir %s"
t MSG_086 "Nenhuma imagem selecionada"
t MSG_087 "para %s TIPO"
t MSG_088 "Imagem demasiado grande"
t MSG_089 "A imagem é demasiado grande para o destino selecionado."
t MSG_090 "ISO não suportado"
-t MSG_091 "Ao utilizar o tipo de destino UEFI, apenas são suportadas imagens ISO de arranque por EFI. Selecione uma imagem ISO de arranque por EFI ou defina o tipo de destino para BIOS."
+t MSG_091 "Quando usa UEFI como tipo de destino, só são suportadas imagens ISO inicializáveis tipo EFI. Selecione uma imagem ISO inicializável do tipo EFI ou altere o tipo de destino para BIOS."
t MSG_092 "Sistema de ficheiros não suportado"
-t MSG_093 "IMPORTANTE: ESTA UNIDADE CONTÉM VÁRIAS PARTIÇÕES!!\n\nIsto pode incluir partições/volumes que não estão listados ou invisíveis a partir do Windows. Caso queira prosseguir, é responsável por qualquer perda de dados nessas partições."
+t MSG_093 "IMPORTANTE: ESTA DRIVE CONTÉM VÁRIAS PARTIÇÕES!!\n\nIsto pode incluir partições/volumes que não estão listados ou invisíveis a partir do Windows. Caso queira prosseguir, é responsável por qualquer perda de dados nessas partições."
t MSG_094 "Várias partições detetadas"
t MSG_095 "Imagem DD"
-t MSG_096 "O sistema de ficheiros selecionado não pode ser usado com este tipo de ISO. Selecione um sistema de ficheiros diferente ou use um ISO diferente."
+t MSG_096 "O sistema de ficheiros selecionado não pode ser usado com este tipo de ISO. Por favor, selecione um sistema de ficheiros diferente ou use um ISO diferente."
t MSG_097 "'%s' apenas pode ser aplicado se o sistema de ficheiros for NTFS."
t MSG_098 "IMPORTANTE: Está a tentar instalar 'Windows To Go', mas a drive de destino não tem o atributos 'FIXO'. Por isso o Windows provalvelmente irá parar durante o arranque, uma vez que não está preparado para trabalhar em drives que tenham o atributo de 'AMOVÍVEL'.\n\nDeseja continuar mesmo assim?\n\nNota: O atributo 'FIXO/AMOVÍVEL' é uma propriedade do hardware que apenas pode se alterado através de ferramentas do fabricante da drive. No entanto, estas ferramentas na MAIORIA dos CASOS, NUNCA são fornecidas aos utilizadores..."
t MSG_099 "Limitação de sistema de ficheiros"
t MSG_100 "Esta imagem ISO contém um ficheiro com mais de 4 GB, que ultrapassa o tamanho máximo permitido para o sistema de ficheiros FAT ou FAT32."
t MSG_101 "O suporte para ficheiro WIM não está disponível"
-t MSG_102 "Não é possível extrair ficheiros comprimidos WIM. A extração WIM é necessária para criar dispositivos USB de arranque tipo EFI com Windows 7 e Windows Vista. Para corrigir, instale uma versão recente do 7-Zip.\nQuer visitar a página de transferências do 7-Zip?"
-t MSG_103 "Descarregar %s?"
-t MSG_104 "%s ou posterior requer que esteja instalado o ficheiro '%s'.\nDado que este ficheiro tem mais de 100 KB e está sempre presente nas \nimagens ISO %s, Rufus não o inclui na sua distribuição.\n\nO Rufus pode descarregar o ficheiro em falta:\n- Selecionar 'Sim' para descarregar o ficheiro\n- Selecionar 'Não' se pretende copiar manualmente este ficheiro para a unidade mais tarde\n\nNota: O novo ficheiro será descarregado para a pasta atual, e se o ficheiro\n '%s' já existir, será substituído automaticamente."
+t MSG_102 "Não é possível extrair ficheiros comprimidos WIM. A extração WIM é necessária para criar dispositivos USB inicializável tipo EFI com Windows 7 e Windows Vista. Para corrigir, instale uma versão recente do 7-Zip.\nQuer visitar a página de transferências do 7-Zip?"
+t MSG_103 "Pretende transferir %s?"
+t MSG_104 "%s ou posterior requer que esteja instalado o ficheiro '%s'.\nDado que este ficheiro tem mais de 100 KB e está sempre presente nas \nimagens ISO %s, Rufus não o inclui na sua distribuição.\n\nO Rufus pode transferir o ficheiro em falta:\n- Selecione 'Sim' transferir o ficheiro\n- Selecione 'Não' se deseja mais tarde copiar manualmente este ficheiro para a unidade\n\nNota: O novo ficheiro será transferido para a pasta atual, e se o ficheiro\n '%s' já existir, será substituído automaticamente."
t MSG_105 "Se cancelar agora pode deixar o dispositivo INUTILIZADO.\nSe pretende mesmo cancelar, selecione SIM. Caso contrário, selecione NÃO."
t MSG_106 "Selecione a pasta"
t MSG_107 "Todos os ficheiros"
@@ -11900,9 +11239,9 @@ t MSG_110 "MS-DOS não arranca de um disco com um tamanho de cluster de 64 kilob
t MSG_111 "Tamanho de cluster incompatível"
t MSG_112 "Formatar um volume UDF de tamanho grande pode demorar muito tempo. À velocidade de USB 2.0, o tempo estimado de formatação é de %d:%02d, durante o qual a barra de progresso parecerá \"congelada\". Por favor, seja paciente!"
t MSG_113 "Volume UDF de tamanho grande"
-t MSG_114 "Esta imagem usa Syslinux %s%s mas a aplicação inclui apenas os ficheiros de instalação para Syslinux %s%s.\n\nComo as diferentes versões de Syslinux podem não ser compatíveis entre si e não é possível o Rufus incluir todas elas, dois ficheiros adicionais devem ser descarregados ('ldlinux.sys' e 'ldlinux.bss'):\n- Selecionar 'Sim' para descarregar os ficheiros\n- Selecionar 'Não' para cancelar\n\nNota: Os ficheiros serão descarregados para a pasta atual da aplicação e serão usados automaticamente se presentes."
-t MSG_115 "Descarregar"
-t MSG_116 "Esta imagem usa Grub %s mas a aplicação inclui apenas os ficheiros de instalação para Grub %s.\n\nAs diferentes versões de Grub podem não ser compatíveis entre si e não é possível incluir todas elas. Rufus irá tentar localizar para a versão de Grub o ficheiro de instalação ('core.img') que coincida com o da imagem:\n- Selecionar 'Sim' para tentar descarregar\n- Selecionar 'Não' para usar a versão padrão do Rufus\n- Selecionar 'Cancelar' para abortar a operação\n\nNota: O ficheiro será descarregado para a pasta atual da aplicação e será usado automaticamente sempre que presente. Se não for possível encontrar online, a versão padrão será utilizada."
+t MSG_114 "Esta imagem usa Syslinux %s%s mas a aplicação inclui apenas os ficheiros de instalação para Syslinux %s%s.\n\nComo as diferentes versões de Syslinux podem não ser compatíveis entre si e não é possível o Rufus incluir todas elas, dois ficheiros adicionais devem ser transferidos ('ldlinux.sys' e 'ldlinux.bss'):\n- Selecione 'Sim' para transferir os ficheiros\n- Selecione 'Não' para cancelar\n\nNota: Os ficheiros serão transferidos para a pasta atual da aplicação e serão usados automaticamente se presentes."
+t MSG_115 "Transferência"
+t MSG_116 "Esta imagem usa Grub %s mas a aplicação inclui apenas os ficheiros de instalação para Grub %s.\n\nAs diferentes versões de Grub podem não ser compatíveis entre si e não é possível incluir todas elas. Rufus irá tentar localizar para a versão de Grub o ficheiro de instalação ('core.img') que coincida com o da imagem:\n- Selecione 'Sim' para tentar transferir\n- Selecione 'Não' para usar a versão padrão do Rufus\n- Selecione 'Cancelar' para abortar a operação\n\nNota: O ficheiro será transferido para a pasta atual da aplicação e será usado automaticamente sempre que presente. Se não for possível encontrar online, a versão padrão será utilizada."
t MSG_117 "Instalação padrão do Windows"
t MSG_119 "propriedades avançadas da unidade"
t MSG_120 "opções avançadas de formatação"
@@ -11918,7 +11257,7 @@ t MSG_129 "Acabou de criar um disco que usa o carregador de inicialização UEFI
t MSG_130 "Seleção de imagem do Windows"
t MSG_131 "Este ISO contém várias imagens do Windows.\nPor favor, selecione a imagem que pretende usar para esta instalação:"
t MSG_132 "Outro programa ou processo está a aceder a esta unidade. Mesmo assim, pretende formatá-la?"
-t MSG_133 "O Rufus detetou que está a tentar criar um disco Windows To Go com base num ISO da versão 1809.\n\nDevido a um *BUG da MICROSOFT*, este disco irá bloquear durante o arranque do Windows (Ecrã Azul da Morte), a menos que substitua manualmente o ficheiro 'WppRecorder.sys' por um da versão 1803.\n\nTenha em atenção também que a razão pela qual o Rufus não consegue corrigir isto automaticamente é que o 'WppRecorder.sys' é um ficheiro protegido por direitos de autor da Microsoft, portanto, não podemos incorporar legalmente uma cópia do ficheiro no Rufus..."
+t MSG_133 "Rufus detetou que está a tentar criar um disco Windows To Go com base num ISO da versão 1809.\n\nDevido a um *BUG da MICROSOFT*, este disco irá bloquear durante a inicialização do Windows (Ecrã Azul da Morte), a menos que substitua manualmente o ficheiro 'WppRecorder.sys' por um da versão 1803.\n\nTenha em atenção também que a razão pela qual o Rufus não pode corrigir automaticamente é que 'WppRecorder.sys' é um ficheiro protegido por direitos de autor da Microsoft, portanto, não podemos incorporar legalmente uma cópia do ficheiro no Rufus..."
t MSG_134 "Uma vez que foi selecionado o MBR para o esquema de partição, o Rufus só pode criar uma partição de até 2 TB neste disco, o que deixará %s de espaço em disco indisponível.\n\nTem a certeza de que pretende continuar?"
t MSG_135 "Versão"
t MSG_136 "Lançamento"
@@ -11927,13 +11266,13 @@ t MSG_138 "Idioma"
t MSG_139 "Arquitetura"
t MSG_140 "Continuar"
t MSG_141 "Voltar"
-t MSG_142 "Aguarde..."
-t MSG_143 "Descarregar no navegador"
+t MSG_142 "Por favor, aguarde..."
+t MSG_143 "Transferir no browser"
t MSG_144 "A transferência de ISOs do Windows não está disponível porque a Microsoft alterou o seu site para evitá-la."
t MSG_145 "É necessário o PowerShell 3.0 ou posterior para executar este script."
-t MSG_146 "Ir à Internet e fazer a descarga?"
-t MSG_148 "A executar script da descarga..."
-t MSG_149 "Descarregar imagem ISO"
+t MSG_146 "Pretende ligar e fazer a transferência?"
+t MSG_148 "A executar script da transferência..."
+t MSG_149 "Transferir imagem ISO"
t MSG_150 "Tipo de computador com o qual pretende usar esta unidade inicializável. É da sua responsabilidade determinar se o computador é do tipo BIOS ou UEFI antes de começar a criar a unidade, pois pode falhar no arranque."
t MSG_151 "'UEFI-CSM' significa que o dispositivo inicializará apenas no modo de emulação da BIOS (também conhecido como 'Legacy Mode') em UEFI e não no modo UEFI nativo."
t MSG_152 "'não CSM' significa que o dispositivo inicializará apenas no modo UEFI nativo, e não no modo de emulação da BIOS (também conhecido como 'Legacy Mode')."
@@ -11949,7 +11288,7 @@ t MSG_161 "Verificação de erros no dispositivo com o padrão de teste"
t MSG_162 "Desmarque esta opção para usar o método de formatação \"lento\""
t MSG_163 "Método a usar para criar partições"
t MSG_164 "Método a usar para tornar a unidade inicializável"
-t MSG_165 "Clique para selecionar ou descarregar uma imagem.."
+t MSG_165 "Clique para selecionar ou transferir uma imagem.."
t MSG_166 "Selecione esta opção para permitir a exibição de caracteres acentuados e atribuir um ícone para a unidade (cria um ficheiro autorun.inf)"
t MSG_167 "Instalar um carregador de arranque UEFI, que irá efetuar a validação do ficheiro MD5Sum do suporte de dados"
t MSG_169 "Criar uma partição extra oculta e tentar alinhar limites das partições. Isto pode melhorar a deteção de USB inicializável para as BIOS antigas."
@@ -11959,7 +11298,7 @@ t MSG_172 "Assinatura do ficheiro inválida"
t MSG_173 "Clique para selecionar..."
t MSG_174 "Rufus - O utilitário de confiança para formatação USB"
t MSG_175 "Versão %d.%d (Build %d)"
-t MSG_176 "Tradução para Português Europeu: Dinis Medeiros, Fernando Baptista, Hugo Carvalho"
+t MSG_176 "Tradução para Português Europeu: Dinis Medeiros, Fernando Baptista"
t MSG_177 "Para reportar erros ou sugerir melhorias, visite:"
t MSG_178 "Direitos de autor adicionais:"
t MSG_179 "Politica de atualização:"
@@ -11976,14 +11315,14 @@ t MSG_189 "Esta imagem ISO não é compatível com o sistema de ficheiros seleci
t MSG_190 "Detetada unidade incompatível"
t MSG_191 "Escrita"
t MSG_192 "Leitura"
-t MSG_193 "Descarregado %s"
-t MSG_194 "Não é possível descarregar %s"
+t MSG_193 "Transferido %s"
+t MSG_194 "Não é possível transferir %s"
t MSG_195 "A usar a versão incorporada do(s) ficheiro(s) %s"
t MSG_196 "IMPORTANTE: ESTA DRIVE USA UM TAMANHO DE SECTOR NÃO CONVENCIONAL!\n\nAs drives convencionais usam o tamanho de sector de 512-byte mas esta drive usa %d-byte. Em muitos casos, isto implica que NÃO será possível fazer arranque com esta drive.\nRufus pode tentar criar uma drive inicializável, mas SEM GARANTIA que funcione."
t MSG_197 "Detetado tamanho de sector não standard"
t MSG_198 "'Windows To Go' apenas pode ser instalado numa drive com partição GPT se o atributo FIXO estiver selecionado. A drive atual não foi detetada como FIXO."
t MSG_199 "Esta funcionalidade não está disponível nesta plataforma."
-t MSG_201 "A cancelar - aguarde..."
+t MSG_201 "A cancelar - por favor aguarde..."
t MSG_202 "A analisar a imagem..."
t MSG_203 "Ocorreu um erro ao analisar a imagem"
t MSG_204 "Foi detetado um ficheiro %s obsoleto"
@@ -11994,7 +11333,7 @@ t MSG_208 "%d dispositivo encontrado"
t MSG_209 "%d dispositivos encontrados"
t MSG_210 "PRONTO"
t MSG_211 "Operação cancelada"
-t MSG_212 "Falha"
+t MSG_212 "A operação FALHOU"
t MSG_213 "A iniciar a nova aplicação..."
t MSG_214 "Erro ao iniciar a nova aplicação"
t MSG_215 "%s aberto"
@@ -12022,12 +11361,12 @@ t MSG_236 "Blocos com erro: A verificar com padrão aleatório"
t MSG_237 "Blocos com erro: A verificar com padrão 0x%02X"
t MSG_238 "A criar partições (%s)..."
t MSG_239 "A apagar partições (%s)..."
-t MSG_240 "Não é possível validar a assinatura da atualização descarregada. Isto pode significar que o seu sistema não está configurado corretamente para a validação de assinaturas ou indicar que se trata de um ficheiro malicioso.\n\nO ficheiro descarregado será eliminado. Consulte o registo para obter mais detalhes."
-t MSG_241 "A descarregar: %s"
-t MSG_242 "Erro ao descarregar o ficheiro."
+t MSG_240 "A assinatura da atualização transferida não foi validada. Isto pode significar que o seu sistema está configurado incorretamente para validação de assinaturas ou indicar uma transferência maliciosa.\n\nO ficheiro transferido será eliminado. Por favor, verifique o registo para mais detalhes."
+t MSG_241 "A transferir: %s"
+t MSG_242 "Erro ao transferir o ficheiro."
t MSG_243 "Procurar atualizações de Rufus..."
-t MSG_244 "Atualizações: Não foi possível ligar à Internet"
-t MSG_245 "Atualizações: Não foi possível aceder aos dados da versão"
+t MSG_244 "Atualizações: Não é possível ligar à Internet"
+t MSG_245 "Atualizações: Impossível aceder aos dados da versão"
t MSG_246 "Está disponível uma nova versão de Rufus!"
t MSG_247 "Não foi encontrada uma nova versão de Rufus"
t MSG_248 "Foram apagadas as chaves de registo da aplicação"
@@ -12066,8 +11405,8 @@ t MSG_280 "Disco ou imagem ISO"
t MSG_281 "%s (selecionar)"
t MSG_282 "Bloqueio exclusivo do dispositivo USB"
t MSG_283 "Assinatura inválida"
-t MSG_284 "Está em falta uma assinatura digital no executável descarregado."
-t MSG_285 "O executável descarregado está assinado por '%s'.\nNão é uma assinatura reconhecida e poderá indiciar algum tipo de atividade mal intencionada...\nTem a certeza de que pretende executar este ficheiro?"
+t MSG_284 "Está em falta uma assinatura digital no executável transferido."
+t MSG_285 "O executável transferido está assinado por '%s'.\nNão é uma assinatura reconhecida e poderá indiciar algum tipo de atividade mal intencionada...\nTem a certeza de que pretende executar este ficheiro?"
t MSG_286 "A limpar disco: %s"
t MSG_287 "Detecção de unidades removíveis não-USB"
t MSG_288 "Sem privilégios de administrador"
@@ -12080,10 +11419,10 @@ t MSG_294 "Esta versão do Windows já não é suportada por Rufus.\nA última v
t MSG_295 "Aviso: versão não oficial"
t MSG_296 "Esta versão de Rufus NÃO foi desenvolvida pelo autor oficial.\n\nTem a certeza de que pretende executar?"
t MSG_297 "Detetado ISO truncado"
-t MSG_298 "O ficheiro ISO selecionado não corresponde ao tamanho declarado: faltam %s de dados!\n\nSe obteve este ficheiro da Internet, deve tentar descarregar uma nova cópia e verificar se os checksums MD5 ou SHA correspondem aos oficiais.\n\nPara calcular o MD5 ou SHA com Rufus, clique no botão (✓)."
+t MSG_298 "O ficheiro ISO selecionado não corresponde ao tamanho declarado: faltam %s de dados!\n\nSe obteve este ficheiro da Internet, deve tentar transferir uma nova cópia e verificar se os checksums MD5 ou SHA correspondem aos oficiais.\n\nPara calcular o MD5 ou SHA com Rufus, clique no botão (✓)."
t MSG_299 "Erro de validação da data/hora"
-t MSG_300 "Não foi possível ao Rufus confirmar que a data e hora da atualização descarregada é mais recente que a do executável atual.\n\nPara evitar possíveis cenários de ataque informático, o processo de atualização foi cancelado e o ficheiro descarregado será apagado. Para mais detalhes, verifique o registo."
-t MSG_301 "Mostrar definições da aplicação"
+t MSG_300 "Não foi possível ao Rufus confirmar que a data e hora da atualização transferida é mais recente que a do executável atual.\n\nPara evitar possíveis cenários de ataque informático, o processo de atualização foi cancelado e o ficheiro transferido será apagado. Para mais detalhes, verifique o registo."
+t MSG_301 "Mostrar configurações da aplicação"
t MSG_302 "Mostrar informações acerca da aplicação"
t MSG_303 "Mostrar registo de eventos"
t MSG_304 "Criar imagem do disco do dispositivo selecionado"
@@ -12105,8 +11444,6 @@ t MSG_319 "Ignorar marcador de arranque"
t MSG_320 "A atualizar a estrutura da partição (%s)..."
t MSG_321 "A imagem que selecionou é ISOHybrid mas os criadores não a tornaram compatível com o modo de cópia ISO/Ficheiro.\nComo resultado, será aplicado o modo de gravação da imagem DD."
t MSG_322 "Não foi possível abrir ou ler '%s'"
-t MSG_323 "Aplicar o ficheiro SkuSiPolicy.p7b na instalação (ver KB5042562)"
-t MSG_324 "Melhorias na QoL (não forçar o Copilot, o OneDrive, o Outlook, o Arranque Rápido, etc.)"
t MSG_325 "A aplicar personalização do Windows: %s"
t MSG_326 "A aplicar as opções do utilizador..."
t MSG_327 "Experiência do Utilizador Windows"
@@ -12119,7 +11456,7 @@ t MSG_333 "Criar uma conta local com o nome de utilizador:"
t MSG_334 "Definir as opções regionais com os mesmos valores deste utilizador"
t MSG_335 "Desativar a encriptação automática BitLocker"
t MSG_336 "Registo permanente (log)"
-t MSG_337 "Um ficheiro adicional ('%s') deve ser descarregado da Microsoft para utilizar esta funcionalidade:\n- Selecionar 'Sim' para se ligar à Internet e descarregá-lo\n- Selecionar 'Não' para cancelar a operação\n\nNota: O ficheiro será descarregado para a pasta da aplicação e será reutilizado automaticamente se estiver presente."
+t MSG_337 "Um ficheiro adicional ('diskcopy.dll') deve ser transferido da Microsoft para instalar o MS-DOS:\n- Selecione 'Sim' para se ligar à Internet e descarregá-lo\n- Selecione 'Não' para cancelar a operação\n\nNota: O ficheiro será transferido para a pasta da aplicação e será reutilizado automaticamente se estiver presente."
t MSG_338 "Detetado carregador de arranque UEFI revogado"
t MSG_339 "O Rufus detetou que a ISO que selecionou contém um carregador de arranque UEFI que foi revogado e que produzirá %s, quando o Arranque Seguro está ativado num sistema UEFI totalmente atualizado.\n\n- Se obteve esta imagem ISO de uma fonte não segura, deve considerar a possibilidade de que a mesma possa conter malware UEFI e evitar arrancar a partir dela.\n- Se a obteve de uma fonte segura, deve tentar localizar uma versão mais atualizada, que não produza este aviso."
t MSG_340 "um ecrã de \"Violação de Segurança\""
@@ -12127,39 +11464,18 @@ t MSG_341 "um ecrã de recuperação do Windows (BSOD) com '%s'"
t MSG_342 "Imagem VHDX comprimida"
t MSG_343 "Imagem VHD não comprimida"
t MSG_344 "Imagem de atualização completa"
-t MSG_345 "É necessário descarregar alguns dados adicionais da Microsoft para usar esta funcionalidade:\n- Selecionar 'Sim' para se ligar à Internet e descarregá-los\n- Selecionar 'Não' para cancelar a operação"
+t MSG_345 "É necessário transferir alguns dados adicionais da Microsoft para usar esta funcionalidade:\n- Selecione 'Sim' para se ligar à Internet e descarregá-los\n- Selecione 'Não' para cancelar a operação"
t MSG_346 "Restringir o Windows ao modo S (INCOMPATÍVEL com o ignorar da conta online)"
t MSG_347 "Modo avançado"
t MSG_348 "A extrair ficheiros de arquivo: %s"
t MSG_349 "Usar o MBR do Rufus"
-t MSG_350 "Utilizar carregadores de arranque assinados pelo 'Windows CA 2023' (requer um PC de destino compatível)"
-t MSG_351 "A verificar se o carregador de arranque UEFI foi revogado..."
-t MSG_352 "A verificar se existem atualizações do UEFI DBX..."
-t MSG_353 "Atualização do DBX disponível"
-t MSG_354 "O Rufus encontrou uma versão atualizada dos ficheiros DBX utilizados para realizar verificações de revogação do Arranque Seguro UEFI. Pretende descarregar esta atualização?\n- Selecionar 'Sim' para se ligar à Internet e descarregar este conteúdo\n- Selecionar 'Não' para cancelar a operação\n\nNota: Os ficheiros serão descarregados para o diretório da aplicação e serão reutilizados automaticamente, caso já existam."
-t MSG_355 "⚠SILENCIOSAMENTE⚠ apagar o disco e instalar:"
-t MSG_356 "Selecionou a opção de instalação \"silenciosa\" do Windows.\n\nEsta é uma opção avançada, reservada a quem pretende criar um suporte que não apresente mensagens ao utilizador durante a instalação do Windows e que, por conseguinte, APAGA INCONDICIONALMENTE o primeiro disco detetado no sistema de destino. Se não tiver cuidado, a utilização desta opção pode resultar em PERDA IRREVERSÍVEL DE DADOS!\n\nSe não é isso que pretende, selecione 'Não' para voltar atrás e desmarcar a opção.\nCaso contrário, se selecionar 'Sim', concorda que toda a responsabilidade por qualquer perda de dados será inteiramente SUA."
-t MSG_358 "Localização da imagem não suportada"
-t MSG_359 "Não pode utilizar uma imagem que se encontre na unidade de destino, uma vez que essa unidade vai ser completamente apagada. É o mesmo que tentar serrar o ramo em que está sentado!\n\nMova a imagem para um local diferente e tente novamente."
-t MSG_360 "É seguro manter esta opção ativada, mesmo que tenha um TPM ou mais memória RAM, uma vez que esta opção apenas ignora os requisitos de configuração e não impede, de facto, que o Windows utilize todo o hardware disponível."
-t MSG_361 "Para que esta opção funcione, a ligação à rede/Internet TEM de ser desligada durante a instalação!"
-t MSG_362 "Responda automaticamente 'não' às perguntas da instalação do Windows relacionadas com a partilha de dados com a Microsoft, em vez de solicitar a confirmação do utilizador."
-t MSG_363 "Deve manter esta opção ativada, a menos que não se importe que o \"Windows To Go\" aceda aos discos internos e realize atualizações irreversíveis do sistema de ficheiros sem aviso prévio."
-t MSG_364 "Criar automaticamente uma conta local com o nome de utilizador especificado, utilizando uma palavra-passe em branco que terá de ser alterada no próximo início de sessão."
-t MSG_365 "Copiar as definições regionais deste computador (teclado, fuso horário, moeda), em vez de solicitar a confirmação do utilizador."
-t MSG_366 "Não encriptar o disco do sistema, a menos que o utilizador o solicite explicitamente."
-t MSG_367 "Utilizar esta opção apenas se souber o que é o Modo S e compreender que o seu sistema poderá ficar bloqueado no Modo S, mesmo após apagar completamente e reinstalar o Windows."
-t MSG_368 "Utilizar esta opção se o sistema no qual pretende instalar o Windows estiver a utilizar certificados de Arranque Seguro totalmente atualizados. Se necessário, pode considerar a utilização do 'Mosby' para atualizar o seu sistema."
-t MSG_369 "Utilizar esta opção se pretender revogar carregadores de arranque do Windows adicionais que possam ser inseguros, mas tendo em conta que isso poderá também impedir o arranque a partir de suportes de instalação padrão do Windows."
-t MSG_370 "Melhorias na \"Qualidade de Vida\": Desativa a maioria das funcionalidades indesejadas que a Microsoft está a tentar impor aos utilizadores finais."
-t MSG_371 "Se utilizar esta opção, certifique-se de que desliga todos os discos do computador de destino, exceto aquele em que pretende instalar o Windows, e não deixe o suporte ligado a nenhum computador que não pretenda apagar."
-t MSG_900 "O Rufus é um utilitário que ajuda a formatar e a criar unidades USB inicializáveis, tais como dispositivos USB/pendrives, cartões de memória, etc."
-t MSG_901 "Página oficial: %s"
+t MSG_900 "Rufus é um utilitário que ajuda a formatar e a criar unidades USB inicializáveis, tais como dispositivos USB/pendrives, cartões de memória, etc."
+t MSG_901 "Site oficial: %s"
t MSG_902 "Código fonte: %s"
t MSG_903 "Alterações: %s"
t MSG_904 "Este software está licenciado sob os termos da GNU Public License (GPL) versão 3.\nConsulte https://www.gnu.org/licenses/gpl-3.0.html para mais detalhes."
-t MSG_905 "Arranque"
-t MSG_910 "Formatar dispositivos USB, cartão de memória e unidades virtuais em FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
+t MSG_905 "Inicializável"
+t MSG_910 "Formatar dispositivos USB, cartão de memória e drives virtuais em FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
t MSG_911 "Criar unidades USB inicializáveis FreeDOS"
t MSG_912 "Criar unidades inicializáveis a partir de ISOs inicializáveis (Windows, Linux, etc.)"
t MSG_913 "Criar unidades inicializáveis a partir de imagens de disco inicializáveis, inclusive de imagens compactadas"
@@ -12170,12 +11486,12 @@ t MSG_917 "Crie partições persistentes para Linux"
t MSG_918 "Criar imagens VHD/DD do dispositivo selecionado"
t MSG_919 "Calcular checksums MD5, SHA-1, SHA-256 e SHA-512 da imagem selecionada"
t MSG_920 "Executar verificações de blocos inválidos, incluindo a deteção de unidades flash \"falsas\""
-t MSG_921 "Descarregar ISOs oficiais do Microsoft Windows Retail"
-t MSG_922 "Descarregar ISOs de UEFI Shell"
+t MSG_921 "Transferir ISOs oficiais do Microsoft Windows Retail"
+t MSG_922 "Transferir ISOs de UEFI Shell"
#########################################################################
l "ro-RO" "Romanian (Română)" 0x0418, 0x0818
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -12361,7 +11677,7 @@ t MSG_129 "Tocmai ați creat un media care utilizează bootloader-ul UEFI:NTFS.
t MSG_130 "Selectare imagine Windows"
t MSG_131 "Acest ISO conține mai multe imagini Windows.\nVă rugăm să selectați imaginea pe care doriți să o utilizați pentru această instalare:"
t MSG_132 "Un alt program sau proces utilizează această unitate. Doriți să o formatați oricum?"
-t MSG_133 "Rufus a observat că încercați să creați un media 'Windows To Go' bazat pe un ISO cu versiunea 1809.\n\nDin cauza unui *BUG MICROSOFT*, acest media va eșua în timpul pornirii Windows (Blue Screen Of Death), cu excepția cazului în care înlocuiți manual fișierul 'WppRecorder.sys' cu o versiune 1803.\n\nDe asemenea, rețineți că motivul pentru care Rufus nu poate remedia automat acest lucru pentru dvs. este că 'WppRecorder.sys' este un fișier Microsoft protejat prin drepturi de autor, deci nu putem încorpora în mod legal o copie a fișierului în aplicație..."
+t MSG_133 "Rufus a observat că încercați să creați un media Windows To Go bazat pe un ISO cu versiunea 1809.\n\nDin cauza unui *BUG MICROSOFT*, acest media va eșua în timpul pornirii Windows (Blue Screen Of Death), cu excepția cazului în care înlocuiți manual fișierul 'WppRecorder.sys' cu o versiune 1803.\n\nDe asemenea, rețineți că motivul pentru care Rufus nu poate remedia automat acest lucru pentru dvs. este că 'WppRecorder.sys' este un fișier Microsoft protejat prin drepturi de autor, deci nu putem încorpora în mod legal o copie a fișierului în aplicație..."
t MSG_134 "Deoarece MBR a fost selectat pentru schema de partiționare, Rufus poate crea doar o partiție de până la 2 TB pe acest suport media, ceea ce va lăsa %s spațiu de disc indisponibil.\n\nSigur doriți să continuați?"
t MSG_135 "Versiune"
t MSG_136 "Lansare"
@@ -12547,60 +11863,38 @@ t MSG_318 "Prioritate implicită pentru firul de execuție: %d"
t MSG_319 "Ignorare Boot Marker"
t MSG_320 "Se reîmprospătează așezarea partițiilor (%s)..."
t MSG_321 "Imaginea selectată este de tip ISOHybrid, însă creatorii acesteia nu au făcut-o să fie compatibilă cu modul ISO/Copiere fișiere.\nDrept urmare, modul imagine DD va fi aplicat."
-t MSG_322 "Nu se poate deschide sau citi '%s'"
-t MSG_323 "Aplică SkuSiPolicy.p7b la instalare (Vezi KB5042562)"
-t MSG_324 "Îmbunătățiri QoL (Fără Copilot, OneDrive, Outlook, pornire rapidă forțată, etc.)"
+t MSG_322 "Nu se poate deschide sau citii '%s'"
t MSG_325 "Aplicând modificări la Windows: %s"
-t MSG_326 "Aplicând opțiuni de utilizator..."
+t MSG_326 "Aplicând optiuni de utilizator..."
t MSG_327 "Experiența utilizatorului de Windows"
t MSG_328 "Doriți să modificați instalația de Windows?"
-t MSG_329 "Elimină necesitatea de 4GB+ RAM, Bootare Securizată și TPM 2.0"
+t MSG_329 "Elimină necesitatea de 4GB+ RAM, Bootare Securizată si TPM 2.0"
t MSG_330 "Elimină necesitatea pentru un cont Microsoft"
-t MSG_331 "Dezactivează colectarea de date (Sari peste întrebările de confidențialitate)"
+t MSG_331 "Blochează colectarea de date (Sari peste întrebările de intimitate)"
t MSG_332 "Blochează Windows To Go de la accesarea discurilor interne"
-t MSG_333 "Creează un cont local cu nume de utilizator:"
-t MSG_334 "Setează opțiunile regionale să aibă aceleași valori ca ale acestui utilizator"
+t MSG_333 "Crează un cont local cu nume de utilizator:"
+t MSG_334 "Serează opțiunile regionale să aibă aceleași valori ca acestui utilizator"
t MSG_335 "Blochează BitLocker de la encriptarea automată a dispozitivului"
t MSG_336 "Logare persistentă"
-t MSG_337 "Un fișier suplimentar ('%s') trebuie descărcat de la Microsoft pentru a utiliza această funcție:\n- Selectați 'Da' pentru a vă conecta la Internet și a-l descărca\n- Selectați 'Nu' pentru a anula operațiunea\n\nNotă: Fișierul va fi descărcat în directorul aplicației și va fi reutilizat automat dacă este prezent."
+t MSG_337 "Un fișier adițional ('diskcopy.dll') trebuie să fie descărcat de la Microsoft pentru a instala MS-DOS:\n- Selectează 'Da' ca să te conectezi la Internet și să le descarci\n- Selectează 'Nu' pentru a anula operațiunea\n\nNotiță: Acest fișier va fi descărcat in aceeași locație cu aplicația și va fi reutilizat automat dacă este prezent."
t MSG_338 "Bootloader UEFI nepermis detectat"
-t MSG_339 "Rufus a detectat că fișierul ISO selectat conține un bootloader UEFI care a fost revocat și care va produce %s, când Secure Boot este activat pe un sistem UEFI complet actualizat.\n\n- Dacă ați obținut această imagine ISO dintr-o sursă nesigură, luați în considerare posibilitatea că ar putea conține malware UEFI și evitați pornirea de pe aceasta.\n- Dacă ați obținut-o dintr-o sursă de încredere, încercați să găsiți o versiune mai recentă, care să nu producă acest avertisment."
+t MSG_339 "Rufus a detectat că fișierul ISO care lai selectat conține un bootloader UEFI care nu este permis si ar produce %s, cand Secure Boot este activat pe un system UEFI actualizat.\n\n- Dacă ai făcut rost de aceasta imagine ISO de la o sursă de neîncredere, este recomandat să consideri posibilitatea că ar putea conține malware UEFI ce nu ar permite pornirea de la aceasta.\n- Dacă ai făcut rost de aceasta de la o sursă de încredere, ar putea fi necesară căutarea unei versiuni mai noi, care nu ar produce acest avertisment."
t MSG_340 "un ecran de \"Încălcare de Securitate\""
t MSG_341 "un ecran de Recuperare Windows (BSOD) cu '%s'"
t MSG_342 "Imagine VHDX comprimată"
t MSG_343 "Imagine VHD necomprimată"
t MSG_344 "Flash complet de imagine de actualizare"
-t MSG_345 "Unele date suplimentare trebuie descărcate de la Microsoft pentru a folosi această funcție:\n- Selectați 'Da' pentru a vă conecta la Internet și a le descărca\n- Selectați 'Nu' pentru a anula operațiunea"
+t MSG_345 "Niște date adiționale trebuie descărcate de la Microsoft pentru a folosii această funție:\n- Selectează 'Da' ca să te conectezi la Internet și să le descarci\n- Selectează 'Nu' pentru a anula operațiunea"
t MSG_346 "Restricționează Windows la S-Mode (INCOMPATIBIL cu bypass-ul pentru un cont online)"
t MSG_347 "Mod expert"
t MSG_348 "Extractând fișiere arhivate: %s"
t MSG_349 "Folosește Rufus MBR"
-t MSG_350 "Folosește bootloadere semnate cu 'Windows CA 2023' (necesită un PC compatibil)"
-t MSG_351 "Se verifică revocarea bootloaderului UEFI..."
-t MSG_352 "Se verifică actualizările DBX UEFI..."
-t MSG_353 "Actualizare DBX disponibilă"
-t MSG_354 "Rufus a găsit o versiune actualizată a fișierelor DBX folosite pentru verificările de revocare Secure Boot UEFI. Doriți să descărcați această actualizare?\n- Selectați „Da” pentru a vă conecta la internet și a descărca acest conținut\n- Selectați „Nu” pentru a anula operațiunea\n\nNotă: Fișierele vor fi descărcate în directorul aplicației și vor fi reutilizate automat, dacă există."
-t MSG_355 "⚠ȘTERGE SILENȚIOS⚠ discul și instalează:"
-t MSG_356 "Ați selectat opțiunea de instalare Windows \"silențioasă\".\n\nAceasta este o opțiune avansată, rezervată persoanelor care doresc să creeze suporturi media care nu solicită utilizatorilor informații în timpul instalării Windows și, prin urmare, ȘTERGE NECONDIȚIONAT primul disc detectat pe sistemul țintă. Dacă nu sunteți atenți, utilizarea acestei opțiuni poate duce la PIERDERI IREVERSIBILE DE DATE!\n\nDacă acest lucru nu este ceea ce doriți, selectați „Nu” pentru a reveni și a debifa opțiunea.\nÎn caz contrar, dacă selectați „Da”, sunteți de acord că întreaga responsabilitate pentru orice pierdere de date vă va aparține în întregime."
-t MSG_358 "Locație imagine neacceptată"
-t MSG_359 "Nu puteți folosi o imagine aflată pe unitatea țintă, deoarece acea unitate va fi complet ștearsă. Este același lucru cu încercarea de a tăia creanga pe care stai!\n\nMută imaginea într-o altă locație și încearcă din nou."
-t MSG_360 "Este sigur să lăsați această opțiune activată chiar dacă aveți un TPM sau mai multă memorie RAM, deoarece aceasta ocolește doar cerințele de configurare și nu împiedică Windows să utilizeze tot hardware-ul disponibil."
-t MSG_361 "Pentru ca această opțiune să funcționeze, rețeaua/Internetul TREBUIE să fie deconectat în timpul instalării!"
-t MSG_362 "Răspunde automat cu 'Nu' la întrebările de instalare Windows legate de partajarea datelor cu Microsoft, în loc să întrebe utilizatorul."
-t MSG_363 "Lăsați această opțiune activată dacă nu doriți ca 'Windows To Go' să acceseze discurile interne și să efectueze actualizări ireversibile ale sistemului de fișiere fără avertizare."
-t MSG_364 "Creează automat un cont local cu numele de utilizator specificat, folosind o parolă goală care va trebui schimbată la prima autentificare."
-t MSG_365 "Preia setările regionale de pe acest PC (tastatură, fus orar, monedă), în loc să întrebe utilizatorul."
-t MSG_366 "Nu cripta discul de sistem, cu excepția cazului în care utilizatorul solicită explicit acest lucru."
-t MSG_367 "Folosiți această opțiune doar dacă știți ce este S-Mode și acceptați că sistemul poate rămâne blocat în S-Mode chiar și după reinstalarea completă a Windows."
-t MSG_368 "Folosiți această opțiune dacă sistemul pe care intenționați să instalați Windows utilizează certificate Secure Boot complet actualizate. Dacă este necesar, puteți folosi 'Mosby' pentru a actualiza sistemul."
-t MSG_369 "Folosiți această opțiune pentru a revoca bootloadere Windows potențial nesigure suplimentare, cu riscul de a împiedica și pornirea suporturilor Windows standard."
-t MSG_370 "Îmbunătățiri \"Quality of Life\": Dezactivează majoritatea funcțiilor nedorite pe care Microsoft încearcă să le impună utilizatorilor finali."
-t MSG_371 "Dacă folosiți această opțiune, asigurați-vă că deconectați toate discurile de la computerul țintă, cu excepția celui pe care doriți să instalați Windows, și nu lăsați suportul conectat la niciun computer pe care nu doriți să îl ștergeți."
t MSG_900 "Rufus este un utilitar care ajută la formatarea și crearea de drive-uri USB bootabile, precum cheile sau pendriverele USB, unități de memorie, etc."
-t MSG_901 "Site oficial: %s"
-t MSG_902 "Cod sursă: %s"
+t MSG_901 "Site official: %s"
+t MSG_902 "Codul Sursei: %s"
t MSG_903 "Listă de schimbări: %s"
-t MSG_904 "Această aplicație este licențiată conform termenilor GNU Public License (GPL) versiunea 3.\nVezi https://www.gnu.org/licenses/gpl-3.0.en.html pentru detalii."
+t MSG_904 "Această aplicație este sub liciența și termenii și condițiile ale lui GNU Public License (GPL) versiunea a 3-a.\nVazi https://www.gnu.org/licenses/gpl-3.0.en.html pentru detalii."
+t MSG_905 "Bootează"
t MSG_910 "Formatează USB, card flash si drive-uri virtuale la FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
t MSG_911 "Crează drive USB bootabil FreeDOS"
t MSG_912 "Crează drive-uri bootabile de la ISO-uri bootabile (Windows, Linux, etc.)"
@@ -12617,7 +11911,7 @@ t MSG_922 "Descarcă UEFI Shell ISO-uri"
#########################################################################
l "ru-RU" "Russian (Русский)" 0x0419, 0x0819
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -12758,7 +12052,7 @@ t MSG_076 "Невозможно исправить/настроить файлы
t MSG_077 "Невозможно назначить букву диска."
t MSG_078 "Невозможно смонтировать том GUID."
t MSG_079 "Устройство не готово."
-t MSG_080 "Rufus обнаружил, что Windows всё ещё очищает внутренний буфер USB-устройства.\n\nВ зависимости от скорости USB-устройства, эта операция может занять много времени, особенно для больших файлов.\n\nЧтобы избежать повреждения устройства, дождитесь, пока Windows закончит. Но если Вам надоест ждать, можете просто отключить устройство..."
+t MSG_080 "Rufus обнаружил, что Windows всё ещё очищает внутренний буфер USB-устройства.\n\nВ зависимости от скорости USB-устройства, эта операция может занять много времени, особенно для больших файлов.\n\nЧтобы избежать повреждения устройства, дождитесь, пока Windows закончит. Но если вам надоест ждать, можете просто отключить устройство..."
t MSG_081 "Неподдерживаемый образ"
t MSG_082 "Образ либо незагрузочный, либо использует метод загрузки или сжатия, не поддерживаемый Rufus."
t MSG_083 "Заменить %s?"
@@ -12771,7 +12065,7 @@ t MSG_089 "Образ слишком большой для выбранного
t MSG_090 "Неподдерживаемый образ ISO"
t MSG_091 "При использовании целевого типа UEFI поддерживаются только загрузочные образы ISO. Выберите загрузочный образ EFI или измените целевой тип BIOS."
t MSG_092 "Неподдерживаемая файловая система"
-t MSG_093 "ВАЖНО: НА ЭТОМ ДИСКЕ НЕСКОЛЬКО РАЗДЕЛОВ!!\n\nЭтот диск может содержать разделы/тома, которые отсутствуют в списке или даже не видны в Windows. В случае продолжения Вы несёте ответственность за любую потерю данных на этих разделах."
+t MSG_093 "ВАЖНО: НА ЭТОМ ДИСКЕ НЕСКОЛЬКО РАЗДЕЛОВ!!\n\nЭтот диск может содержать разделы/тома, которые отсутствуют в списке или даже не видны в Windows. В случае продолжения вы несёте ответственность за любую потерю данных на этих разделах."
t MSG_094 "Обнаружено несколько разделов"
t MSG_095 "DD-образ"
t MSG_096 "Выбранная файловая система не может использоваться с этим типом образа ISO. Выберите другую файловую систему или другой образ ISO."
@@ -12783,7 +12077,7 @@ t MSG_101 "Отсутствует поддержка WIM"
t MSG_102 "Ваша система не может извлекать файлы из архивов WIM. Распаковка таких архивов необходима для создания загрузочных USB-накопителей EFI для Windows 7 и Windows Vista. Чтобы решить эту проблему, установите новейшую версию 7-Zip.\nОткрыть страницу загрузки 7-Zip?"
t MSG_103 "Загрузить %s?"
t MSG_104 "%s или новее требует наличия файла '%s'.\nПоскольку размер этого файла больше 100 КБ, и он всегда присутствует в ISO-образах %s, он не встроен в Rufus.\n\nRufus может скачать недостающий файл:\n- Выберите 'Да', если хотите скачать этот файл\n- Выберите 'Нет', если хотите скачать его вручную позже\n\n* Файл будет скачан в текущую папку. Если в ней есть '%s', он будет автоматически перезаписан."
-t MSG_105 "При отмене устройство может оказаться в НЕРАБОЧЕМ состоянии.\nЕсли Вы уверены, что хотите отменить операцию, нажмите 'Да'. Иначе - нажмите 'Нет'."
+t MSG_105 "При отмене устройство может оказаться в НЕРАБОЧЕМ состоянии.\nЕсли вы уверены, что хотите отменить операцию, нажмите 'Да'. Иначе - нажмите 'Нет'."
t MSG_106 "Выберите папку"
t MSG_107 "Все файлы"
t MSG_108 "Журнал Rufus"
@@ -12808,9 +12102,9 @@ t MSG_127 "Больше это не показывать"
t MSG_128 "Важное примечание о %s"
t MSG_129 "Вы только что создали носитель с загрузчиком UEFI:NTFS. Учтите, что для загрузки этого носителя НУЖНО ОТКЛЮЧИТЬ БЕЗОПАСНУЮ ЗАГРУЗКУ.\nЧтобы узнать, почему это необходимо, нажмите кнопку 'Ещё'."
t MSG_130 "Выбор образа Windows"
-t MSG_131 "Этот файл ISO содержит несколько образов Windows.\nВыберите образ, который Вы хотите использовать для этой установки:"
+t MSG_131 "Этот файл ISO содержит несколько образов Windows.\nВыберите образ, который вы хотите использовать для этой установки:"
t MSG_132 "К этому диску обращается другая программа или процесс. Всё равно настаиваете на форматировании?"
-t MSG_133 "Вы пытаетесь создать носитель Windows To Go на основе ISO 1809.\n\nИз-за *ОШИБКИ MICROSOFT* этот носитель будет давать сбой (BSOD) при загрузке Windows, если вы вручную не замените файл WppRecorder.sys версией 1803.\n\nRufus не может это исправить автоматически, так как WppRecorder.sys - это файл Microsoft, защищённый авторскими правами, поэтому мы не можем легально встраивать в приложение его копию."
+t MSG_133 "Rufus обнаружил, что вы пытаетесь создать носитель Windows To Go на основе ISO 1809.\n\nИз-за *ОШИБКИ MICROSOFT* этот носитель будет давать сбой при загрузке Windows (BSOD), если вы вручную не замените файл WppRecorder.sys версией 1803.\n\nRufus не может это исправить автоматически, так как WppRecorder.sys - это файл Microsoft, защищённый авторскими правами, поэтому мы не можем легально встраивать в приложение его копию."
t MSG_134 "Поскольку для схемы разделов выбрана MBR, на этом носителе Rufus может создать только раздел размером до 2 ТБ, а %s дискового пространства останутся недоступными.\n\nВы действительно хотите продолжить?"
t MSG_135 "Версия"
t MSG_136 "Выпуск"
@@ -12844,6 +12138,7 @@ t MSG_164 "Метод, который будет использоваться д
t MSG_165 "Нажмите, чтобы выбрать или загрузить образ..."
t MSG_166 "Разрешить отображение меток с международными символами и задать значок устройства\n(создаётся файл autorun.inf)"
t MSG_167 "Установить загрузчик UEFI, который проверит файл MD5Sum на носителе"
+t MSG_168 "Попробуйте замаскировать первый загрузочный \nUSB-диск (обычно 0x80) как другой диск.\nЭто необходимо только для установки Windows XP,\nесли у вас несколько дисков."
t MSG_169 "Создать дополнительный скрытый раздел и попробовать выровнять границы разделов.\nЭто может улучшить обнаружение загрузчика в старых BIOS."
t MSG_170 "Отображать внешние жёсткие диски USB.\nИСПОЛЬЗУЙТЕ НА СВОЙ СТРАХ И РИСК!"
t MSG_171 "Начать форматирование.\nВсе данные на диске будут УНИЧТОЖЕНЫ!"
@@ -12855,8 +12150,8 @@ t MSG_176 "Русский перевод: Дмитрий Ерохин "
+t MSG_176 "Do slovenčiny preložil martinco78 "
t MSG_177 "Oznámenie chýb alebo žiadosti o zlepšenie programu:"
t MSG_178 "Doplnkové Copyrighty:"
t MSG_179 "Zásady aktuálizácií:"
@@ -13881,23 +13130,21 @@ t MSG_317 "ID disku"
t MSG_318 "Predvolená priorita vlákna: %d"
t MSG_319 "Ignorovať zavádzaciu značku"
t MSG_320 "Obnovuje sa rozloženie oblasti (%s)..."
-t MSG_321 "Obraz, ktorý ste vybrali, je ISOHybrid a nie je kompatibilný s ISO/režim kopírovania súboru.\nV dôsledku toho sa vynúti režim zápisu obrazu DD."
+t MSG_321 "Obráz, ktorý ste vybrali, je ISOHybrid a nie je kompatibilný s ISO/režim kopírovania súboru.\nV dôsledku toho sa vynúti režim zápisu obrazu DD."
t MSG_322 "Nedá sa otvoriť alebo prečítať „%s\""
-t MSG_323 "Použiť SkuSiPolicy.p7b pri inštalácii (pozri KB5042562)"
-t MSG_324 "QoL vylepšenia (nenúťte Copilot, OneDrive, Outlook, Fast Startup a podobne)"
t MSG_325 "Použitie prispôsobenia systému Windows: %s"
t MSG_326 "Použitie používateľských nastavení..."
t MSG_327 "Používateľská skúsenosť so systémom Windows"
t MSG_328 "Prajete si prispôsobiť inštaláciu systému Windows?"
-t MSG_329 "Odstrániť požiadavky pre 4GB+ RAM, Secure Boot a TPM 2.0"
-t MSG_330 "Odstrániť požiadavku na online konto Microsoft"
+t MSG_329 "Odstrániť požiadavku pre 4GB+ RAM, Secure Boot a TPM 2.0"
+t MSG_330 "Odstrániť požiadavky na online konto Microsoft"
t MSG_331 "Zakázať zhromažďovanie údajov (preskočiť otázky týkajúce sa ochrany osobných údajov)"
t MSG_332 "Zabrániť funkcii Windows To Go v prístupe na interné disky"
t MSG_333 "Vytvorte si lokálny účet s používateľským menom:"
t MSG_334 "Nastaviť miestne možnosti na rovnaké hodnoty, ako možnosti tohto používateľa"
t MSG_335 "Vypnutie automatického šifrovania zariadenia BitLocker"
t MSG_336 "Trvalý záznam činností"
-t MSG_337 "Na použitie tejto funkcie je potrebné prevziať od spoločnosti Microsoft ďalší súbor („%s“):\n- Výberom možnosti „Áno\" ho stiahnete z internetu\n- Výberom možnosti „Nie\" zrušíte operáciu\n\nPoznámka: Súbor sa stiahne do adresára aplikácie a automaticky sa znova použije, ak je k dispozícii."
+t MSG_337 "Pre inštaláciu systému MS-DOS je potrebné prevziať od spoločnosti Microsoft ďalší súbor („diskcopy.dll\"):\n- Výberom možnosti „Áno\" ho stiahnete z internetu\n- Výberom možnosti „Nie\" zrušíte operáciu\n\nPoznámka: Súbor sa stiahne do adresára aplikácie a automaticky sa znova použije, ak je k dispozícii."
t MSG_338 "Bol zistený zrušený zavádzač UEFI"
t MSG_339 "Program Rufus zistil, že ISO, ktoré ste vybrali, obsahuje zavádzač UEFI, ktorý bol zrušený a ktorý bude produkovať %s, keď je povolené zabezpečené spustenie na plne aktuálnom systéme UEFI.\n\n- Ak ste tento obraz ISO získali z neseriózneho zdroja, mali by ste zvážiť možnosť, že by mohol obsahovať malvér UEFI a vyhnúť sa bootovaniu z neho.\n- Ak ste ho získali z dôveryhodného zdroja, mali by ste sa pokúsiť nájsť aktuálnejšiu verziu, ktorá toto upozornenie nespustí."
t MSG_340 "obrazovka „Narušenie bezpečnosti\""
@@ -13910,27 +13157,6 @@ t MSG_346 "Obmedziť systém Windows s režimom S (NEKOMPATIBILNÝ s obídením
t MSG_347 "Expertný režim"
t MSG_348 "Extrahovanie archívnych súborov: %s"
t MSG_349 "Použiť Rufus MBR"
-t MSG_350 "Použiť podpísané bootloadery „Windows CA 2023\" (vyžaduje kompatibilný cieľový PC)"
-t MSG_351 "Prebieha kontrola zrušenia UEFI zavádzača..."
-t MSG_352 "Prebieha kontrola aktualizácie pre UEFI DBX..."
-t MSG_353 "Dostupná aktualizácia DBX"
-t MSG_354 "Rufus našiel aktualizovanú verziu DBX súborov používaných na kontrolu odvolávania UEFI Secure Boot. Chcete si stiahnuť túto aktualizáciu?\n- Vyberte „Áno\" ak chcete tieto súbory stiahnuť\n- Vyberte „Nie\" pre zrušenie operácie\n\nPoznámka: Súbory budú stiahnuté do adresára aplikácie a budú automaticky znovu použité, ak budú prítomné."
-t MSG_355 "⚠BEZ UPOZORNENIA⚠ vymažte disk a nainštaluje:"
-t MSG_356 "Vybrali ste možnosť „tichá\" inštalácia Windows.\n\nIde o pokročilú možnosť, vyhradenú pre ľudí, ktorí chcú vytvárať médiá, ktoré počas inštalácie Windows neupozorňujú používateľa a teda BEZPODMIENEČNE VYMAŽÚ prvý zistený disk na cieľovom systéme. Ak nebudete opatrní, pri tejto možnosti môže dôjsť k NEVRATNEJ STRATE DÁT!\n\nAk to nie je to, čo chcete, vyberte prosím „Nie\", aby ste sa vrátili späť a odškrtli túto možnosť.\nInak, ak zvolíte „Áno\", súhlasíte, že plná zodpovednosť za akúkoľvek stratu dát bude úplne na VÁS."
-t MSG_358 "Nepodporované umiestnenie obrazu"
-t MSG_359 "Nemôžete použiť obraz, ktorý sa nachádza na cieľovom disku, pretože tento disk bude úplne vymazaný. Je to to isté, ako keby ste sa snažili rezať konár, na ktorom sedíte!\n\nProsím, presuňte tento obraz do iného umiestnenia a skúste to znova."
-t MSG_360 "Je bezpečné nechať túto možnosť zapnutú aj v prípade, že máte TPM alebo viac RAM, pretože táto možnosť len obchádza požiadavky na nastavenie a v skutočnosti nebráni Windows v používaní všetkého dostupného hardvéru."
-t MSG_361 "Aby táto možnosť fungovala, sieť/internet MUSIA byť počas inštalácie odpojené!"
-t MSG_362 "Automaticky odpovedá „NIE\" na otázky týkajúce sa Windows zdieľania dát s Microsoftom, namiesto toho, aby vyzývali používateľa."
-t MSG_363 "Túto možnosť by ste mali nechať zapnutú, pokiaľ vám nevadí, že „Windows To Go\" pristupuje k interným diskom a potichu vykonáva nezvratné aktualizácie súborového systému."
-t MSG_364 "Automaticky vytvorí lokálny účet s určeným používateľským menom s prázdnym heslom, ktoré bude potrebné zmeniť pri ďalšom prihlásení."
-t MSG_365 "Duplikuje regionálne nastavenia z tohto PC (klávesnica, časové pásmo, mena) namiesto toho, aby výzýval používateľa."
-t MSG_366 "Nešifrujte systémový disk, pokiaľ to používateľ výslovne nepožiada."
-t MSG_367 "Použite túto možnosť len vtedy, ak viete, čo je S-Mode a chápete, že váš systém môže byť uzamknutý v S-Mode aj po úplnom vymazaní a preinštalovaní Windows."
-t MSG_368 "Použite túto možnosť, ak systém ktorý plánujete nainštalovať Windows, používa plne aktuálne certifikáty Secure Boot. Ak je to potrebné, môžete zvážiť použitie „Mosby\" na aktualizáciu systému."
-t MSG_369 "Použite túto možnosť, ak chcete zrušiť ďalšie potenciálne nebezpečné bootloadery Windows, ale zároveň potenciálne zabrániť spusteniu štandardných Windows médií."
-t MSG_370 "Vylepšenia „kvality života\": Vypne väčšinu nežiaducich funkcií, ktoré sa Microsoft snaží vnútiť koncovým používateľom."
-t MSG_371 "Ak použijete túto možnosť, uistite sa, že máte odpojené všetky disky od cieľového PC, okrem toho na ktorý chcete nainštalovať systém Windows. Taktiež nenechávajte médium pripojené k žiadnemu PC, ktorý nechcete vymazať."
t MSG_900 "Rufus je utilita, ktorá vám pomôže naformátovať a vytvoriť bootovacie jednotky USB Flash, ako sú napr. USB kľúče, pamäťové karty, atď."
t MSG_901 "Oficiálna stránka: %s"
t MSG_902 "Zdrojový kód: %s"
@@ -14340,7 +13566,7 @@ t MSG_333 "Ustvarite lokalni račun z uporabniškim imenom:"
t MSG_334 "Nastavite regionalne možnosti na enake vrednosti, kot jih ima ta uporabnik"
t MSG_335 "Onemogoči samodejno šifriranje naprave BitLocker"
t MSG_336 "Trajni dnevnik"
-t MSG_337 "Za uporabo te funkcije je treba od Microsofta prenesti dodatno datoteko ('%s'):\n- Izberite 'Da', da se povežete z internetom in jo prenesete\n- Izberite 'Ne', da prekličete operacijo\n\nOpomba: datoteka bo prenesena v imenik aplikacije in samodejno ponovno uporabljena, če je prisotna."
+t MSG_337 "Za namestitev MS-DOS je treba od Microsofta prenesti dodatno datoteko ('diskcopy.dll'):\n- Izberite 'Da', da se povežete z internetom in jo prenesete\n- Izberite 'Ne', da prekličete operacijo\n\nOpomba: datoteka bo prenesena v imenik aplikacije in samodejno ponovno uporabljena, če je prisotna."
t MSG_338 "Zaznan preklican zagonski nalagalnik UEFI"
t MSG_339 "Rufus je zaznal, da ISO, ki ste ga izbrali, vsebuje zagonski nalagalnik UEFI, ki je bil preklican in bo ustvaril %s, ko je varen zagon omogočen v popolnoma posodobljenem sistemu UEFI.\n\n- Če ste to ISO sliko pridobili iz neuglednega vira, razmislite o možnosti, da morda vsebuje zlonamerno programsko opremo UEFI, in se izogibajte zagonu iz nje.\n- Če ste jo pridobili iz zaupanja vrednega vira, poskusite poiskati posodobljenejšo različico, ki tega ne bo povzročila tega opozorila."
t MSG_340 "zaslon \"Kršitev varnosti\"."
@@ -14353,8 +13579,6 @@ t MSG_346 "Omejite Windows na S-način (NEZDRUŽLJIVO z obvodom spletnega račun
t MSG_347 "Strokovni način"
t MSG_348 "Ekstrahiranje arhivskih datotek: %s"
t MSG_349 "Uporabite Rufus MBR"
-t MSG_355 "⚠TIHO⚠ izbrišite disk in namestite:"
-t MSG_356 "Izbrali ste možnost \"tihe\" namestitve sistema Windows.\n\nTo je napredna možnost, namenjena uporabnikom, ki želijo ustvariti namestitveni nosilec, ki med namestitvijo sistema Windows ne prikazuje pozivov in zato BREZ POGOJEV IZBRISE prvi zaznan disk v ciljnem sistemu. Če niste previdni, lahko uporaba te možnosti povzroči NEPOPRAVLJIVO IZGUBO PODATKOV!\n\nČe tega ne želite, izberite \"Ne\", da se vrnete nazaj in odkljukate to možnost.\nV nasprotnem primeru, če izberete \"Da\", se strinjate, da boste za morebitno izgubo podatkov v celoti odgovorni VI."
t MSG_900 "Rufus je program za formatiranje in ustvarjanje zagonskih naprav USB."
t MSG_901 "Uradna stran: %s"
t MSG_902 "Šifra vira: %s"
@@ -14377,7 +13601,7 @@ t MSG_922 "Prenos UEFI Shell ISOs"
#########################################################################
l "es-ES" "Spanish (Español)" 0x040a, 0x080a, 0x0c0a, 0x100a, 0x140a, 0x180a, 0x1c0a, 0x200a, 0x240a, 0x280a, 0x2c0a, 0x300a, 0x340a, 0x380a, 0x3c0a, 0x400a, 0x440a, 0x480a, 0x4c0a, 0x500a, 0x540a, 0x580a
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -14556,7 +13780,7 @@ t MSG_129 "Has creado un sistema que usa un bootloader UEFI:NTFS. Por favor, rec
t MSG_130 "Selección de imagen de Windows"
t MSG_131 "Esta ISO contiene múltiples imágenes de Windows.\nPor favor, seleccione la imagen que desea usar para esta instalación:"
t MSG_132 "Otro programa o proceso está accediendo a esta unidad. ¿Deseas formatearlo de todas formas?"
-t MSG_133 "Rufus ha detectado que estás intentando crear un medio Windows To Go basado en la ISO 1809.\n\nDebido a un *FALLO DE MICROSOFT*, este medio se bloqueará durante el arranque de Windows (Pantalla Azul de la Muerte), a menos que reemplaces manualmente el archivo 'WppRecorder.sys' con la versión 1803.\n\nTen en cuenta que el motivo por el que Rufus no puede corregir esto automáticamente es que 'WppRecorder.sys' es un archivo con derechos de autor de Microsoft, por lo que legalmente no podemos incluir una copia en la aplicación..."
+t MSG_133 "Rufus ha detectado que estás intentando crear un medio en Windows To Go basado en la ISO 1809.\n\nDebido a un *FALLO DE MICROSOFT*, este medio no arrancará al iniciar Windows (Pantallazo Azul de la Muerte), a no ser que manualmente reemplaces el fichero 'WppRecorder.sys' con la versión 1803.\n\nTen en cuenta que el motivo por el que Rufus no puede arreglar esto automáticamente es debido a que el fichero 'WppRecorder.sys' es un fichero con copyright, por lo que legalmente no podemos añadir una copia del fichero en la aplicación..."
t MSG_134 "Debido a que has seleccionado MBR para el sistema de particiones, Rufus sólo puede crear una partición de hasta 2TB en este dispositivo, lo que dejará %s del disco no disponibles.\n\n¿Estas seguro de que deseas continuar?"
t MSG_135 "Versión"
t MSG_136 "Emisión"
@@ -14743,8 +13967,6 @@ t MSG_319 "Ignorar marca de arranque (Boot Marker)"
t MSG_320 "Actualizando disposición de partición (%s)..."
t MSG_321 "La imagen seleccionada es ISOHybrid, pero sus creadores no la han creado compatible con el modo de copia ISO/FILE.\nPor consiguiente, se forzará el modo de escritura de imágenes DD."
t MSG_322 "No se puede abrir o leer '%s'"
-t MSG_323 "Aplicar SkuSiPolicy.p7b durante la instalación (ver KB5042562)"
-t MSG_324 "Mejoras \"QoL\" (no forzar Copilot, OneDrive, Outlook, Inicio rápido, etc.)"
t MSG_325 "Aplicando personalización de Windows: %s"
t MSG_326 "Aplicando opciones de usuario..."
t MSG_327 "Experiencia de usuario de Windows"
@@ -14757,7 +13979,7 @@ t MSG_333 "Crear una cuenta local con nombre de usuario:"
t MSG_334 "Establezca las opciones regionales en los mismos valores que las de este usuario"
t MSG_335 "Deshabilitar el cifrado automático de dispositivos BitLocker"
t MSG_336 "Registro persistente"
-t MSG_337 "Se debe descargar un archivo adicional ('%s') de Microsoft para usar esta función:\n- Seleccione 'Sí' para conectarse a Internet y descargarlo\n- Seleccione 'No' para cancelar la operación\n\nNota: El archivo se descargará en la carpeta de la aplicación y se reutilizará automáticamente si está presente."
+t MSG_337 "Se debe descargar un archivo adicional ('diskcopy.dll') de Microsoft para instalar MS-DOS:\n- Seleccione 'Sí' para conectarse a Internet y descargarlo\n- Seleccione 'No' para cancelar la operación.\n\nNota: El archivo se descargará en el directorio de la aplicación y se reutilizará automáticamente si está presente."
t MSG_338 "Se detectó un gestor de arranque UEFI revocado"
t MSG_339 "Rufus detectó que el ISO que seleccionó contiene un gestor de arranque UEFI que ha sido revocado y que producirá %s, cuando el arranque seguro esté habilitado en un sistema UEFI completamente actualizado.\n\n- Si obtuvo esta imagen ISO de una fuente no confiable, debe considerar la posibilidad de que contenga malware UEFI y evitar arrancar desde allí.\n- Si lo obtuvo de una fuente confiable, debe intentar localizar una versión más actualizada, que no producirá esta advertencia."
t MSG_340 "una pantalla de \"violación de seguridad\""
@@ -14770,27 +13992,6 @@ t MSG_346 "Restringir Windows al Modo S (INCOMPATIBLE con la omisión de cuenta
t MSG_347 "Modo experto"
t MSG_348 "Extrayendo archivos comprimidos: %s"
t MSG_349 "Utilice Rufus MBR"
-t MSG_350 "Usar cargadores de arranque firmados con 'Windows CA 2023' (requiere una PC de destino compatible)"
-t MSG_351 "Comprobando la revocación del cargador de arranque UEFI..."
-t MSG_352 "Comprobando actualizaciones de UEFI DBX..."
-t MSG_353 "Actualización de DBX disponible"
-t MSG_354 "Rufus ha encontrado una versión actualizada de los archivos DBX utilizados para realizar comprobaciones de revocación de Secure Boot en UEFI. ¿Desea descargar esta actualización?\n- Seleccione 'Sí' para conectarse a Internet y descargar este contenido\n- Seleccione 'No' para cancelar la operación\n\nNota: Los archivos se descargarán en la carpeta de la aplicación y se reutilizarán automáticamente si están presentes."
-t MSG_355 "⚠EN SILENCIO⚠ borrar el disco e instalar:"
-t MSG_356 "Ha seleccionado usar la opción de instalación \"silenciosa\" de Windows.\n\nEsta es una opción avanzada, reservada para personas que desean crear un medio que no solicite interacción del usuario durante la instalación de Windows y que, por lo tanto, BORRA INCONDICIONALMENTE el primer disco detectado en el sistema de destino. Si no tiene cuidado, usar esta opción puede resultar en UNA PÉRDIDA DE DATOS IRREVERSIBLE.\n\nSi esto no es lo que desea, seleccione 'No' para volver atrás y desmarcar la opción.\nDe lo contrario, si selecciona 'Sí', usted acepta que toda la responsabilidad por cualquier pérdida de datos recaerá únicamente en USTED."
-t MSG_358 "Ubicación de imagen no compatible"
-t MSG_359 "No puede usar una imagen que esté ubicada en la unidad de destino, ya que esa unidad va a ser completamente borrada. Es lo mismo que intentar serrar la rama en la que está sentado.\n\nPor favor, mueva la imagen a una ubicación diferente e inténtelo de nuevo."
-t MSG_360 "Es seguro dejar esta opción habilitada incluso si tiene un TPM o más memoria RAM, ya que esta opción solo omite los requisitos de instalación y no impide que Windows utilice todo el hardware disponible."
-t MSG_361 "Para que esta opción funcione, la red/Internet DEBE estar desconectada durante la instalación."
-t MSG_362 "Responder automáticamente 'No' a las preguntas de instalación de Windows relacionadas con el uso compartido de datos con Microsoft, en lugar de solicitárselo al usuario."
-t MSG_363 "Debe dejar esta opción habilitada, a menos que esté de acuerdo con que 'Windows To Go' acceda a los discos internos y realice en silencio actualizaciones irreversibles del sistema de archivos."
-t MSG_364 "Crear automáticamente una cuenta local con el nombre de usuario especificado, utilizando una contraseña vacía que deberá cambiarse en el próximo inicio de sesión."
-t MSG_365 "Duplicar la configuración regional de esta PC (teclado, zona horaria, moneda), en lugar de solicitársela al usuario."
-t MSG_366 "No cifrar el disco del sistema, a menos que el usuario lo solicite explícitamente."
-t MSG_367 "Use esta opción solo si sabe qué es el Modo S y entiende que su sistema puede quedar bloqueado en Modo S incluso después de borrar completamente e reinstalar Windows."
-t MSG_368 "Use esta opción si el sistema en el que planea instalar Windows utiliza certificados de Secure Boot completamente actualizados. Si es necesario, puede considerar usar 'Mosby' para actualizar su sistema."
-t MSG_369 "Use esta opción si desea revocar cargadores de arranque adicionales de Windows que puedan ser inseguros, pero con la posibilidad de que también se impida que los medios estándar de Windows arranquen."
-t MSG_370 "Mejoras de \"Calidad de Vida\": Deshabilitar la mayoría de las funciones no deseadas que Microsoft intenta imponer a los usuarios finales."
-t MSG_371 "Si usa esta opción, asegúrese de desconectar todos los discos de la PC de destino, excepto aquel en el que desea instalar Windows, así como de no dejar el medio conectado en ninguna PC que no desee borrar."
t MSG_900 "Rufus es una utilidad que le ayuda a formatear y crear dispositivos flash booteables, como «pendrives», tarjetas de memoria, etcétera."
t MSG_901 "Sitio oficial %s"
t MSG_902 "Código fuente %s"
@@ -14813,7 +14014,7 @@ t MSG_922 "Descargar ISO de UEFI Shell"
#########################################################################
l "sv-SE" "Swedish (Svenska)" 0x041d, 0x081d
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -14831,7 +14032,7 @@ t IDS_TARGET_SYSTEM_TXT "Målsystem"
t IDC_LIST_USB_HDD "Lista USB-hårddiskar"
t IDC_OLD_BIOS_FIXES "Lägg till korrigeringar för äldre BIOS:ar (extra partition, etc)"
t IDC_UEFI_MEDIA_VALIDATION "Aktivera runtime UEFI-mediavalidering"
-t IDS_FORMAT_OPTIONS_TXT "Formatalternativ"
+t IDS_FORMAT_OPTIONS_TXT "Formateringsinställningar"
t IDS_FILE_SYSTEM_TXT "Filsystem"
t IDS_CLUSTER_SIZE_TXT "Klusterstorlek"
t IDS_LABEL_TXT "Volymetikett"
@@ -15044,7 +14245,7 @@ t MSG_183 "Din IP-adress"
t MSG_184 "För att kunna skapa användningsstatistik, kommer vi att spara informationen, \\b i högst ett år\\b0 . Vi kommer dock behålla informationen för oss själva."
t MSG_185 "Uppdateringsprocess:"
t MSG_186 "Rufus installerar inga bakgrundsprogram, därför sker endast uppdateringskontrollen när det körs.\\line\nFör att kontrollera efter uppdateringar krävs naturligtvis internettillgång."
-t MSG_187 "Ogiltig avbild för valt startalternativ"
+t MSG_187 "Ogiltig avbild för vald startinställning"
t MSG_188 "Nuvarande avbild matchar inte det startbara valet. Välj en annan avbild eller ändra de startbara valet."
t MSG_189 "Denna ISO-avbild är inte kompatibel med valt filsystem"
t MSG_190 "Enheten är inte kompatibel"
@@ -15179,8 +14380,6 @@ t MSG_319 "Ignorera startmarkör"
t MSG_320 "Uppdaterar partitionslayout (%s)..."
t MSG_321 "Avbilden du har valt är en ISOHybrid, men den som skapade filen har inte gjort den kompatibelt med ISO/Filkopieringsläge.\nDärför kommer skrivläget DD-avbild att användas."
t MSG_322 "Det går inte att öppna eller läsa '%s'"
-t MSG_323 "Verkställ SkuSiPolicy.p7b vid installationen (se KB5042562)"
-t MSG_324 "Förbättringar av användarupplevelsen (tvinga inte på Copilot, OneDrive, Outlook, Snabbstart osv.)"
t MSG_325 "Verkställer Windows-anpassning: %s"
t MSG_326 "Verkställer användaralternativ..."
t MSG_327 "Windows användarupplevelse"
@@ -15193,7 +14392,7 @@ t MSG_333 "Skapa ett lokalt konto med användarnamn:"
t MSG_334 "Ställ in regionala alternativ till samma värden som denna användares"
t MSG_335 "Inaktivera BitLockers automatiska enhetskryptering"
t MSG_336 "Bestående logg"
-t MSG_337 "En fil (%s) måste laddas ner från Microsoft för att använda den här funktionen:\n- Välj \"Ja\" för att ansluta till Internet och ladda ner den\n- Välj \"Nej\" för att avbryta operationen\n\nObs: Filen kommer att laddas ner i programmets katalog och kommer att återanvändas automatiskt om den finns."
+t MSG_337 "En fil (diskcopy.dll) måste laddas ner från Microsoft för att installera MS-DOS:\n- Välj \"Ja\" för att ansluta till Internet och ladda ner den\n- Välj \"Nej\" för att avbryta operationen\n\nObs: Filen kommer att laddas ner i programmets katalog och kommer att återanvändas automatiskt om den finns."
t MSG_338 "Återkallad UEFI-starthanterare upptäcktes"
t MSG_339 "Rufus upptäckte att den ISO-filen du har valt innehåller en UEFI-starthanterare som har återkallats och som kommer att producera %s, när \"Secure Boot\" är aktiverat på ett helt uppdaterat UEFI-system.\n\n- Om du skaffade den här ISO-avbilden från en icke ansedd källa bör du överväga möjligheten att den kan innehålla UEFI-skadlig programvara och undvika att starta från den.\n- Om du har fått det från en pålitlig källa bör du försöka hitta en mer uppdaterad version som inte ger den här varningen."
t MSG_340 "en \"Säkerhetsöverträdelseskärm\""
@@ -15206,27 +14405,6 @@ t MSG_346 "Begränsa Windows till S-läge (INKOMPATIBEL med förbikoppling av on
t MSG_347 "Expertläge"
t MSG_348 "Extraherar arkivfiler: %s"
t MSG_349 "Använd Rufus MBR"
-t MSG_350 "Använd bootloaders signerade med ’Windows CA 2023’ (kräver en kompatibel mål‑PC)"
-t MSG_351 "Kontrollerar om UEFI‑bootloadern är återkallad..."
-t MSG_352 "Söker efter UEFI‑DBX‑uppdateringar..."
-t MSG_353 "DBX‑uppdatering tillgänglig"
-t MSG_354 "Rufus har hittat en uppdaterad version av de DBX‑filer som används för att utföra UEFI Secure Boot‑återkallelsekontroller. Vill du ladda ned denna uppdatering?\n- Välj ”Ja” för att ansluta till Internet och ladda ner innehållet\n- Välj ”Nej” för att avbryta åtgärden\n\nObs: Filerna laddas ner till programmets katalog och återanvänds automatiskt om de redan finns."
-t MSG_355 "Radera disken i ⚠TYST LÄGE⚠ och installera:"
-t MSG_356 "Du har valt alternativet ”tyst läge” för Windows‑installationen.\n\nDetta är ett avancerat alternativ, avsett för personer som vill skapa installationsmedia som inte visar några dialogrutor under Windows‑installationen och därför OVILLKORLIGT RADERAR den första upptäckta disken på målsystemet. Om du inte är försiktig kan användning av detta alternativ leda till OÅTERKALLELIG FÖRLUST AV DATA!\n\nOm detta inte är vad du vill, välj ”Nej” för att gå tillbaka och avmarkera alternativet.\nAnnars, om du väljer ”Ja”, godkänner du att hela ansvaret för eventuell dataförlust ligger på DIG."
-t MSG_358 "Platsen för avbilden stöds inte"
-t MSG_359 "Du kan inte använda en avbildning som ligger på målenheten, eftersom den enheten kommer att raderas helt. Det är som att försöka såga av grenen du sitter på!\n\nFlytta avbildningen till en annan plats och försök igen."
-t MSG_360 "Det är säkert att lämna det här alternativet aktiverat även om du har en TPM eller mer RAM, eftersom det endast kringgår installationskraven och inte hindrar Windows från att använda all tillgänglig hårdvara."
-t MSG_361 "För att det här alternativet ska fungera måste nätverket/Internet vara frånkopplat under installationen!"
-t MSG_362 "Svara automatiskt ’nej’ på Windows‑installationsfrågorna som rör delning av data med Microsoft, i stället för att fråga användaren."
-t MSG_363 "Du bör lämna det här alternativet aktiverat, om du inte är okej med att ’Windows To Go’ får åtkomst till interna diskar och tyst utför oåterkalleliga filsystemuppgraderingar."
-t MSG_364 "Skapa automatiskt ett lokalt konto med det angivna användarnamnet, med ett tomt lösenord som måste ändras vid nästa inloggning."
-t MSG_365 "Duplicera de regionala inställningarna från den här datorn (tangentbord, tidszon, valuta) i stället för att fråga användaren."
-t MSG_366 "Kryptera inte systemdisken, om det inte uttryckligen begärs av användaren."
-t MSG_367 "Använd det här alternativet endast om du vet vad S‑läge är och förstår att ditt system kan låsas i S‑läge även efter att du helt har raderat och installerat om Windows."
-t MSG_368 "Använd det här alternativet om systemet du planerar att installera Windows på använder helt uppdaterade Secure Boot‑certifikat. Vid behov kan du använda ’Mosby’ för att uppdatera systemet."
-t MSG_369 "Använd det här alternativet om du vill återkalla ytterligare potentiellt osäkra Windows‑startprogram, men med risken att även förhindra att standard‑Windowsmedia kan starta."
-t MSG_370 "Förbättringar för bättre användarupplevelse: Inaktivera de flesta av de oönskade funktioner som Microsoft försöker tvinga på slutanvändare."
-t MSG_371 "Om du använder det här alternativet måste du se till att koppla bort alla diskar från måldatorn, förutom den du vill installera Windows på, och inte lämna mediet anslutet till någon dator som du inte vill radera."
t MSG_900 "Rufus är ett program som hjälper dig formatera och skapa startbara USB-diskar, så som USB-minnen, minneskort, etc."
t MSG_901 "Officiell webbplats: %s"
t MSG_902 "Källkod: %s"
@@ -15249,7 +14427,7 @@ t MSG_922 "Ladda ner UEFI-skal ISO-filer"
#########################################################################
l "th-TH" "Thai (ไทย)" 0x041e
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -15387,7 +14565,7 @@ t MSG_080 "Rufus พบว่าขณะนี้ Windows กำลังดำ
t MSG_081 "ไม่รองรับอิมเมจไฟล์นี้"
t MSG_082 "อิมเมจไฟล์นี้ไม่สามารถบูตได้ หรืออาจจะมีการใช้วิธีการบูตอื่นๆ ที่ Rufus ไม่รองรับ"
t MSG_083 "แทนที่ %s?"
-t MSG_084 "ไฟล์ ISO นี้อาจมีการใช้เวอร์ชันที่ล้าสมัยของ '%s'\nซึ่งอาจทำให้เมนูการบูตไม่สามารถแสดงผลได้ถูกต้อง\n\nRufus สามารถดาวน์โหลดเวอร์ชันที่ใหม่กว่าให้คุณได้:\n- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'ไม่ใช่ (No)' เพื่อใช้อิมเมจไฟล์อันเดิม\nหากไม่รู้จะเลือกวิธีใด ให้เลือก 'ใช่ (Yes)'\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
+t MSG_084 "ไฟล์ ISO นี้อาจมีการใช้เวอร์ชันที่ล้าสมัยของ '%s'\nซึ่งอาจทำให้เมนูการบูตไม่สามารถแสดงผลได้ถูกต้อง\n\nRufus สามารถดาวน์โหลดเวอร์ชันที่ใหม่กว่าให้คุณได้:\n- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'No' เพื่อใช้อิมเมจไฟล์อันเดิม\nหากไม่รู้จะเลือกวิธีใด ให้เลือก 'Yes'\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
t MSG_085 "กำลังดาวน์โหลด %s"
t MSG_086 "ยังไม่ได้เลือกอิมเมจไฟล์"
t MSG_087 "สำหรับ %s NAND"
@@ -15406,7 +14584,7 @@ t MSG_100 "ไฟล์ ISO นี้ประกอบไปด้วยไฟ
t MSG_101 "ไม่รองรับรูปแบบ WIM"
t MSG_102 "ระบบปฏิบัติการของคุณไม่สามารถแตกไฟล์แบบ WIM ได้ โดยไฟล์ WIM จำเป็นที่ต้องใช้ในการสร้าง Windows 7 ให้บูตได้แบบ EFI และ Windows Vista บน USB ซึ่งแก้ไขได้โดยการติดตั้ง 7-Zip เวอร์ชันล่าสุด\nต้องการเปิดหน้าดาวน์โหลด 7-zip หรือไม่?"
t MSG_103 "ดาวน์โหลด %s?"
-t MSG_104 "%s หรือใหม่กว่า จำเป็นต้องมี '%s' ติดตั้งไว้\nเนื่องจากไฟล์นี้มีขนาดใหญ่กว่า 100 KB และพบเจอได้ใน ISO: %s ซึ่งไม่ได้รวมไว้ในโปรแกรม Rufus\n\nRufus สามารถดาวน์โหลดไฟล์ดังกล่าวให้คุณได้:\n- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'ไม่ใช่ (No)' คุณต้องการคัดลอกไฟล์ดังกล่าวด้วยตัวเอง\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
+t MSG_104 "%s หรือใหม่กว่า จำเป็นต้องมี '%s' ติดตั้งไว้\nเนื่องจากไฟล์นี้มีขนาดใหญ่กว่า 100 KB และพบเจอได้ใน ISO: %s ซึ่งไม่ได้รวมไว้ในโปรแกรม Rufus\n\nRufus สามารถดาวน์โหลดไฟล์ดังกล่าวให้คุณได้:\n- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'No' คุณต้องการคัดลอกไฟล์ดังกล่าวด้วยตัวเอง\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
t MSG_105 "การยกเลิกอาจทำให้อุปกรณ์ไม่สามารถใช้การได้ !\nหากคุณยืนยันที่จะยกเลิก คลิกที่ปุ่ม ใช่"
t MSG_106 "กรุณาเลือกโฟลเดอร์"
t MSG_107 "ไฟล์ทั้งหมด"
@@ -15415,9 +14593,9 @@ t MSG_110 "MS-DOS ไม่สามารถบูตจากไดรฟ์
t MSG_111 "ไม่รองรับขนาดของคลัสเตอร์นี้"
t MSG_112 "การฟอร์แมต UDF volume ขนาดใหญ่อาจใช้เวลานาน โดยความเร็วการฟอร์แมต USB 2.0 โดยประมาณคือ %d:%02d ซึ่งในระหว่างการฟอร์แมตแถบแสดงความคืบหน้าอาจหยุดนิ่ง โปรดรอ!"
t MSG_113 "UDF volume ขนาดใหญ่"
-t MSG_114 "อิมเมจนี้ใช้ Syslinux %s%s แต่โปรแกรมนี้มีเฉพาะไฟล์ติดตั้งของ Syslinux %s%s \n\nโดยเวอร์ชันใหม่ของ Syslinux อาจไม่รองรับกับรุ่นที่ต่างกันไปไฟล์จำนวน 2 ไฟล์ต่อไปนี้จะถูกดาวน์โหลดจากอินเทอร์เน็ต ('ldlinux.sys' and 'ldlinux.bss'):\n- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'ไม่ใช่ (No)' เมื่อคุณต้องการคัดลอกไฟล์ดังกล่าวด้วยตัวเอง\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และไฟล์ จะถูกเลือกใช้โดยอัตโนมัติ"
+t MSG_114 "อิมเมจนี้ใช้ Syslinux %s%s แต่โปรแกรมนี้มีเฉพาะไฟล์ติดตั้งของ Syslinux %s%s \n\nโดยเวอร์ชันใหม่ของ Syslinux อาจไม่รองรับกับรุ่นที่ต่างกันไปไฟล์จำนวน 2 ไฟล์ต่อไปนี้จะถูกดาวน์โหลดจากอินเทอร์เน็ต ('ldlinux.sys' and 'ldlinux.bss'):\n- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'No' เมื่อคุณต้องการคัดลอกไฟล์ดังกล่าวด้วยตัวเอง\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และไฟล์ จะถูกเลือกใช้โดยอัตโนมัติ"
t MSG_115 "จำเป็นต้องดาวน์โหลดไฟล์"
-t MSG_116 "อิมเมจนี้ใช้ Grub %s แต่โปรแกรมนี้มีเฉพาะไฟล์ติดตั้งของ Grub %s \n\nโดยเวอร์ชันใหม่ของ Grub อาจไม่รองรับกับรุ่นที่ต่างกันไป Rufus สามารถค้นหาอิมเมจของ Grub เวอร์ชันล่าสุด ('core.img') ที่เข้ากันได้กับอิมเมจไฟล์ที่คุณเลือก:\n- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'ไม่ใช่ (No)' เพื่อใช้เวอร์ชันปัจจุบันที่ติดมากับ Rufus\n-เลือก 'ยกเลิก (Cancel)' เพื่อยกเลิกการดำเนินการนี้\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และไฟล์จะถูกเลือกใช้โดยอัตโนมัติหากไม่พบไฟล์ที่ใหม่กว่า ไฟล์เวอร์ชันปัจจุบันจะถูกใช้แทน"
+t MSG_116 "อิมเมจนี้ใช้ Grub %s แต่โปรแกรมนี้มีเฉพาะไฟล์ติดตั้งของ Grub %s \n\nโดยเวอร์ชันใหม่ของ Grub อาจไม่รองรับกับรุ่นที่ต่างกันไป Rufus สามารถค้นหาอิมเมจของ Grub เวอร์ชันล่าสุด ('core.img') ที่เข้ากันได้กับอิมเมจไฟล์ที่คุณเลือก:\n- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'No' เพื่อใช้เวอร์ชันปัจจุบันที่ติดมากับ Rufus\n-เลือก 'Cancel' เพื่อยกเลิกการดำเนินการนี้\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และไฟล์จะถูกเลือกใช้โดยอัตโนมัติหากไม่พบไฟล์ที่ใหม่กว่า ไฟล์เวอร์ชันปัจจุบันจะถูกใช้แทน"
t MSG_117 "ตัวติดตั้ง Windows มาตรฐาน"
t MSG_119 "คุณสมบัติไดรฟ์ขั้นสูง"
t MSG_120 "คุณสมบัติการฟอร์แมตขั้นสูง"
@@ -15620,8 +14798,6 @@ t MSG_319 "ละเว้นการทำ Boot Marker"
t MSG_320 "กำลังรีเฟรชเค้าโครงพาร์ติชัน (%s)..."
t MSG_321 "อิมเมจไฟล์ที่คุณใช้เป็นแบบ ISOHybrid แต่ผู้ผลิตไม่ได้ทำให้รองรับกับการคัดลอกไฟล์ ISO\nนั่นทำให้โหมดการเขียนแบบ DD image writing จะถูกเรียกใช้งาน"
t MSG_322 "ไม่สามารถเปิดหรืออ่าน '%s' ได้"
-t MSG_323 "เปิดใช้งาน SkuSiPolicy.p7b ในการติดตั้ง (ดูที่ KB5042562)"
-t MSG_324 "การปรับปรุงคุณภาพการใช้งาน/QoL (ยกเลิกการบังคับใช้: Copilot, OneDrive, Outlook, Fast Startup, เป็นต้น)"
t MSG_325 "ปรับใช้งานการปรับแต่งขั้นตอนการติดตั้ง Windows: %s"
t MSG_326 "ปรับใช้งานการตั้งค่าของผู้ใช้..."
t MSG_327 "โปรแกรมประสบการณ์ผู้ใช้งาน Windows"
@@ -15634,40 +14810,18 @@ t MSG_333 "สร้างบัญชีผู้ใช้ด้วยชื่
t MSG_334 "ตั้งค่าภูมิภาคให้ตรงกับค่าที่ใช้บนคอมพิวเตอร์เครื่องนี้"
t MSG_335 "ยกเลิกการใช้ BitLocker เข้ารหัสอุปกรณ์อัตโนมัติ"
t MSG_336 "Log แบบถาวร"
-t MSG_337 "มีความจำเป็นต้องดาวน์โหลดไฟล์ ('%s') จาก Microsoft เพื่อใช้ฟีเจอร์นี้:\n- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'ไม่ใช่ (No)' เพื่อยกเลิก\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
+t MSG_337 "มีความจำเป็นต้องดาวน์โหลดไฟล์ ('diskcopy.dll') จาก Microsoft เพื่อติดตั้ง MS-DOS:\n- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'No' เพื่อยกเลิก\n\nหมายเหตุ: ไฟล์ใหม่จะถูกจัดเก็บในโฟลเดอร์ปัจจุบัน และเมื่อไฟล์ '%s มีแล้ว ไฟล์จะถูกเลือกใช้โดยอัตโนมัติ"
t MSG_338 "ตรวจพบ UEFI bootloader ที่ถูกเพิกถอน"
t MSG_339 "Rufus ตรวจพบว่าไฟล์ ISO ที่คุณเลือกมี UEFI bootloader ที่ถูกเพิกถอน ซึ่งตุณอาจจะเจอกับ%s เมื่อ SecureBoot เปิดใช้งานบนระบบ UEFI ที่ทันสมัย\n\n- ถ้าคุณได้ไฟล์ ISO นี้มาจากแหล่งที่ไม่น่าเชื่อถือ คุณควรตระหนักถึงความเป็นไปได้ที่ไฟล์ดังกล่าวอาจมี UEFI malware และหลีกเลี่ยงการบูตจากอิมเมจดังกล่าว\n- ถ้าคุณได้ไฟล์ ISO นี้มาจากแหล่งที่เชื่อถือได้ คุณควรพยายามค้นหาเวอร์ชันที่ทันสมัยกว่านี้ ซึ่งจะไม่ทำให้เกิดคำเตือนนี้"
t MSG_340 "หน้าจอ \"Security Violation\""
t MSG_341 "หน้าจอ Windows Recovery (จอฟ้า; BSOD) พร้อมกับ '%s'"
t MSG_342 "อิมเมจ VHDX ที่ถูกบีบอัด"
t MSG_343 "อิมเมจ VHDX ที่ไม่บีบอัด"
-t MSG_344 "ไฟล์อิมเมจสำหรับ Full Flash Update"
-t MSG_345 "มีความจำเป็นต้องดาวน์โหลดข้อมูลเพิ่มเติมจาก Microsoft เพื่อใช้งานฟังก์ชั่นนี้:\n- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'ไม่ใช่ (No)' เพื่อยกเลิก"
+t MSG_345 "มีความจำเป็นต้องดาวน์โหลดข้อมูลเพิ่มเติมจาก Microsoft เพื่อใช้งานฟังก์ชั่นนี้:\n- เลือก 'Yes' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'No' เพื่อยกเลิก"
t MSG_346 "จำกัด Windows ให้อยู่ใน S-Mode (ไม่รองรับการยกเลิกการบังคับใช้บัญชี Microsoft)"
t MSG_347 "โหมดผู้เชี่ยวชาญ"
t MSG_348 "กำลังแตกไฟล์: %s"
t MSG_349 "Rufus MBR"
-t MSG_350 "ใช้งานบูตโหลดเดอร์ที่รับรองโดย 'Windows CA 2023' (ตัวเครื่องคอมพิวเตอร์ปลายทางต้องรองรับด้วย)"
-t MSG_351 "กำลังตรวจสอบการเพิกถอนสิทธิ์ของบูตโหลดเดอร์แบบ UEFI..."
-t MSG_352 "กำลังตรวจสอบการอัปเดตรายการเพิกถอนสิทธิ์ของ UEFI (DBX)..."
-t MSG_353 "มีการอัปเดตรายการเพิกถอนสิทธิ์ (DBX) พร้อมใช้งานแล้ว"
-t MSG_354 "Rufus ตรวจเจอเวอร์ชั่นอัพเดตที่ใหม่กว่าของไฟล์ DBX ซึ่งใช้สำหรับตรวจสอบการเพิกถอนสิทธิ์ของ UEFI Secure Boot คุณต้องการดาวน์โหลดไฟล์อัพเดตหรือไม่?\n- เลือก 'ใช่ (Yes)' เพื่อดาวน์โหลดไฟล์ผ่านอินเทอร์เน็ต\n- เลือก 'ไม่ใช่ (No)' เพื่อยกเลิกการดำเนินการ\n\nหมายเหตุ: ไฟล์จะถูกดาวน์โหลดลงในไดเรกทอรีของแอปพลิเคชัน และจะถูกนำกลับมาใช้ใหม่โดยอัตโนมัติหากมีไฟล์อยู่แล้ว"
-t MSG_355 "⚠จะไม่มีการถามยืนยันซ้ำ⚠ ลบข้อมูลดิสก์ แล้วติดตั้ง:"
-t MSG_356 "คุณเลือกที่จะใช้งานตัวเลือก การติดตั้ง Windows \"แบบเงียบ\"\n\nนี่คือตัวเลือกขั้นสูง ซึ่งสงวนไว้สำหรับผู้ที่ต้องการสร้างสื่อติดตั้งที่จะไม่ถามผู้ใช้ในระหว่างการติดตั้ง Windows ดังนั้นมันจะลบข้อมูลในดิสก์ตัวแรกที่ตรวจพบในระบบปลายทาง **โดยไม่มีเงื่อนไข** หากคุณไม่ระมัดระวัง การใช้ตัวเลือกนี้อาจส่งผลให้ **เกิดการสูญเสียข้อมูลอย่างถาวรและไม่สามารถกู้คืนได้!**\n\nหากนี่ไม่ใช่สิ่งที่คุณต้องการ โปรดเลือก 'ไม่ใช่ (No)' เพื่อย้อนกลับและยกเลิกการเลือกตัวเลือกดังกล่าว\nมิฉะนั้น หากคุณเลือก 'ใช่ (Yes)' คุณยอมรับว่าความรับผิดชอบทั้งหมดต่อการสูญหายของข้อมูลใดๆ จะตกอยู่ที่ตัวคุณแต่เพียงผู้เดียว"
-t MSG_358 "ไม่รองรับตำแหน่งที่ตั้งของไฟล์อิมเมจ"
-t MSG_359 "คุณไม่สามารถใช้ไฟล์อิมเมจที่อยู่ในไดรฟ์เป้าหมายได้ เนื่องจากไดรฟ์นั้นกำลังจะถูกลบข้อมูลทั้งหมด มันก็เหมือนกับการพยายามทำลายที่มั่นตัวเองอยู่นั่นแหละ!\n\nโปรดย้ายอิมเมจไปยังตำแหน่งอื่นแล้วลองใหม่อีกครั้ง"
-t MSG_360 "การเปิดตัวเลือกนี้ทิ้งไว้มีความปลอดภัย ถึงแม้ว่าคุณจะมี TPM หรือแรมที่มากกว่าก็ตาม ตัวเลือกนี้มีผลแค่การข้าม ข้อกำหนดในการติดตั้ง เท่านั้น ไม่ได้ลดทอนการทำงานของ Windows ในการดึงประสิทธิภาพฮาร์ดแวร์มาใช้อย่างเต็มที่"
-t MSG_361 "เพื่อให้ตัวเลือกนี้ทำงานได้ จะต้องปิดการเชื่อมต่อเครือข่าย/อินเทอร์เน็ตขณะทำการติดตั้งก่อน"
-t MSG_362 "ตอบ 'ไม่ใช่ (no)' โดยอัตโนมัติ สำหรับคำถามในการตั้งค่า Windows ที่เกี่ยวกับการแชร์ข้อมูลให้กับ Microsoft โดยไม่ต้องเด้งถามผู้ใช้"
-t MSG_363 "คุณควรจะเปิดตัวเลือกนี้ทิ้งไว้ ยกเว้นว่าคุณจะยอมรับได้หาก 'Windows To Go' เข้าถึงดิสก์ภายในเครื่อง และทำการอัปเกรดระบบไฟล์โดยอัตโนมัติ ซึ่งเป็นการดำเนินการที่ไม่สามารถย้อนกลับได้"
-t MSG_364 "สร้างบัญชีผู้ใช้ภายในเครื่อง (Local account) ตามชื่อที่ระบุโดยอัตโนมัติ ซึ่งจะไม่มีรหัสผ่าน และอาจจะต้องเปลี่ยนรหัสเมื่อเข้าสู่ระบบครั้งถัดไป"
-t MSG_365 "คัดลอกการตั้งค่าภูมิภาคจากพีซีปัจจุบัน (ภาษาแป้นพิมพ์, โซนเวลา, สกุลเงิน, ฯลฯ) โดยไม่ต้องเด้งถามผู้ใช้"
-t MSG_366 "อย่าเข้ารหัสดิสก์ระบบ นอกเหนือจากว่าจะเป็นผู้ใช้งานจะเป็นผู้สั่งให้เข้ารหัสเอง"
-t MSG_367 "โปรดใช้ตัวเลือกนี้เฉพาะในกรณีที่คุณทราบว่า S-Mode คืออะไร และเข้าใจว่าระบบของคุณอาจถูกล็อกให้อยู่ใน S-Mode ต่อไป แม้ว่าคุณจะทำการล้างข้อมูลทั้งหมดและติดตั้ง Windows ใหม่แล้วก็ตาม"
-t MSG_368 "ใช้ตัวเลือกนี้หากระบบที่คุณต้องการติดตั้ง Windows มีการใช้ใบรับรอง Secure Boot ที่อัปเดตเป็นเวอร์ชันล่าสุดแล้ว หากจำเป็น คุณสามารถศึกษาการใช้เครื่องมือ 'Mosby' เพื่อทำการอัปเดตระบบของคุณได้"
-t MSG_369 "ใช้ตัวเลือกนี้หากคุณต้องการเพิกถอนสิทธิ์บูตโหลดเดอร์ของ Windows เพิ่มเติมที่อาจจะไม่ปลอดภัย แต่โปรดทราบว่ามีความเสี่ยงที่จะทำให้สื่อติดตั้ง Windows มาตรฐานทั่วไปไม่สามารถบูตได้ด้วยเช่นกัน"
-t MSG_370 "\"การปรับปรุงคุณภาพการใช้งาน (Quality of Life)\": ปิดการใช้งานคุณสมบัติส่วนใหญ่ที่ไม่พึงประสงค์ที่ Microsoft พยายามบังคับให้ผู้ใช้งานทั่วไปต้องใช้"
-t MSG_371 "ถ้าหากคุณเลือกตัวเลือกนี้ กรุณาเช็คให้มั่นใจว่าคุณถอดดิสก์ที่เชื่อมกับพีซีเป้าหมาย เหลือไว้เฉพาะดิสก์ที่คุณต้องการจะติดตั้ง Windows เท่านั้น และห้ามเสียบตัวติดตั้ง (เช่น แฟลชไดรฟ์) ทิ้งไว้ในคอมพิวเตอร์เครื่องใดก็ตามที่คุณไม่ต้องการให้ข้อมูลถูกลบ\""
t MSG_900 "Rufus คือ โปรแกรมที่ช่วยฟอร์แมต และสร้างไดรฟ์บูต USB จาก USB keys, pendrives, memory sticks เป็นต้น"
t MSG_901 "เว็บไซต์ทางการ: %s"
t MSG_902 "ซอร์สโค้ด: %s"
@@ -15689,7 +14843,7 @@ t MSG_922 "ดาวน์โหลดไฟล์ ISO ของ UEFI Shell"
#########################################################################
l "tr-TR" "Turkish (Türkçe)" 0x041F
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -15875,7 +15029,7 @@ t MSG_129 "Az önce UEFI:NTFS önyükleyicisini kullanan bir ortam yarattınız.
t MSG_130 "Windows yansı seçimi"
t MSG_131 "Bu ISO birden çok Windows iyansısı içeriyor.\nLütfen bu yükleme için kullanmak istediğiniz yansıyı seçin:"
t MSG_132 "Başka bir program ya da işlem bu sürücüye erişiyor. Yine de biçimlendirmek ister misiniz?"
-t MSG_133 "Rufus, 1809 ISO'suna dayalı bir 'Windows To Go' medyası oluşturmaya çalıştığınızı algıladıi.\n\n*Bir MICROSOFT HATASI* nedeniyle, 'WppRecorder.sys' dosyasının 1803 sürümünündekini el ile değiştirmediğiniz sürece bu medya Windows önyüklemesi sırasında çökecektir (Mavi Ekran Hatası).\n\nAyrıca, Rufus'un bunu sizin için otomatik olarak düzeltememesinin nedeni, 'WppRecorder.sys' dosyasının Microsoft'un telif hakkıyla korunan bir dosyası olması ve bu nedenle dosyanın bir kopyasını uygulamaya yasal olarak yerleştiremememizdir..."
+t MSG_133 "Rufus, 1809 ISO tabanlı bir Windows To Go ortamı oluşturmaya çalıştığınızı algıladı.\n\nBir *MICROSOFT HATASI* nedeniyle, 'WppRecorder.sys' dosyasını 1803 sürümüyle el ile değiştirmediğiniz sürece, bu medya Windows açılışında (Ölü Mavi Ekran) çökecektir.\n\nAyrıca, Rufus'un bunu sizin için otomatik olarak çözememesinin nedeninin 'WppRecorder.sys' dosyasının Microsoft'un telif hakkı olan bir dosya olduğunu ve bu nedenle dosyanın yasal olarak bir kopyasını uygulamaya koyamayacağımızı unutmayın..."
t MSG_134 "MBR, bölüm şeması için seçildiğinden, Rufus bu ortam üzerinde yalnızca 2 TB'a kadar bölüm oluşturabilir ve bu da %s disk alanını kullanılamaz duruma getirir.\n\nDevam etmek istediğine emin misin?"
t MSG_135 "Sürüm"
t MSG_136 "Yayın"
@@ -16062,8 +15216,6 @@ t MSG_319 "Önyükleme İşaretleyicisini Yoksay"
t MSG_320 "Bölüm düzeni yenileniyor (%s)..."
t MSG_321 "Seçtiğiniz yansı bir ISOHybrid, ancak yansı ISO/Dosya kopyalama modu ile uyumlu hale olrak oluşturulmamış.\nSonuç olarak, DD yansısı yazma modu uygulanacaktır."
t MSG_322 "'%s' açılamıyor veya okunamıyor"
-t MSG_323 "SkuSiPolicy.p7b yükleme sırasında uygulansın (Bakınız KB5042562)"
-t MSG_324 "QoL(Yaşam Kalitesi) iyileştirmeleri (Copilot, OneDrive, Outlook, Hızlı Başlat vb. dayatılmasın)"
t MSG_325 "Windows özelleştirmesi uygulanıyor: %s"
t MSG_326 "Kullanıcı seçenekleri uygulanıyor..."
t MSG_327 "Windows Kullanıcı Deneyimi"
@@ -16076,7 +15228,7 @@ t MSG_333 "Kullanıcı adı ile yerel bir hesap oluşturun:"
t MSG_334 "Bölgesel seçenekleri bu kullanıcınınkiyle aynı değerlere ayarlayın"
t MSG_335 "BitLocker otomatik cihaz şifrelemesini devre dışı bırakın"
t MSG_336 "Kalıcı günlük"
-t MSG_337 "Bu özelliği kullanmak için Microsoft'tan ek bir dosyanın ('%s') indirilmesi gerekmektedir:\n- İnternete bağlanıp indirmek için 'Evet'i seçin\n- İşlemden vazgeçmek için 'Hayır'ı seçin\n\nNot: Dosya uygulamanın dizinine indirilecek ve varsa otomatik olarak yeniden kullanılacaktır."
+t MSG_337 "MS-DOS'u yüklemek için Microsoft'tan ek bir dosyanın ('diskcopy.dll') indirilmesi gerekir:\n- İnternete bağlanıp indirmek için 'Evet'i seçin\n- İşlemden vazgeçmek için 'Hayır'ı seçin\n\nNot: Dosya uygulamanın dizinine indirilecek ve varsa otomatik olarak yeniden kullanılacaktır."
t MSG_338 "İptal edilen UEFI önyükleyici algılandı"
t MSG_339 "Rufus, seçtiğiniz ISO'nun iptal edilmiş bir UEFI önyükleyici içerdiğini ve tamamen güncel bir UEFI sisteminde Güvenli Önyükleme etkinleştirildiğinde %s oluşturacağını algıladı.\n\n- Bu ISO görüntüsünü saygın olmayan bir kaynaktan aldıysanız, bunun UEFI kötü amaçlı yazılım içerme olasılığını göz önünde bulundurmalı ve bu görüntüden önyükleme yapmaktan kaçınmalısınız.\n- Eğer güvenilir bir kaynaktan aldıysanız bu uyarıyı vermeyecek daha güncel bir versiyon bulmaya çalışmalısınız."
t MSG_340 "\"Güvenlik İhlali\" ekranı"
@@ -16089,27 +15241,6 @@ t MSG_346 "Windows'u S-Mode ile Kısıtlayın (çevrimiçi hesap atlamayla UYUMS
t MSG_347 "Uzman Modu"
t MSG_348 "Arşiv dosyaları çıkarılıyor: %s"
t MSG_349 "Rufus MBR'yi kullanın"
-t MSG_350 "'Windows CA 2023' imzalı önyükleyicileri kullanılsın (Uyumlu bir hedef bilgisayar gerektirir)"
-t MSG_351 "UEFI önyükleyicisinin etkinlik durumu kontrol ediliyor..."
-t MSG_352 "UEFI DBX güncellemeleri kontrol ediliyor..."
-t MSG_353 "DBX güncellemesi mevcut"
-t MSG_354 "Rufus, UEFI Güvenli Önyükleme etkinlik durum kontrollerini gerçekleştirmek için kullanılan DBX dosyalarının güncellenmiş bir sürümünü buldu. Bu güncellemeyi indirmek ister misiniz?\n- İnternete bağlanmak ve bu içeriği indirmek için 'Evet'i seçin\n- İşlemden vazgeçmek için 'Hayır'ı seçin\n\nNot: Dosyalar uygulamanın dizinine indirilecek ve mevcutsa otomatik olarak yeniden kullanılacaktır."
-t MSG_355 "⚠SESSİZCE⚠ diski silin ve yükleyin:"
-t MSG_356 "\"silent\" Katılımsız Windows kurulum seçeneğini kullanmayı seçtiniz.\n\nBu, Windows kurulumu sırasında kullanıcıya sorulmayan ve bu nedenle hedef sistemdeki ilk algılanan diski KOŞULSUZ OLARAK SİLEN bir ortam oluşturmak isteyenler için ayrılmış gelişmiş bir seçenektir. Dikkatli olmazsanız, bu seçeneği kullanmak GERİ DÖNÜŞÜ OLMAYAN VERİ KAYBINA neden olabilir!\n\nBunu istemiyorsanız, geri dönmek ve seçeneğin işaretini kaldırmak için lütfen 'Hayır'ı seçin.\nAksi takdirde, 'Evet'i seçerseniz, herhangi bir veri kaybından doğacak tüm sorumluluğun tamamen SİZDE olacağınıı kabul etmiş olursunuz."
-t MSG_358 "Desteklenmeyen yansı konumu"
-t MSG_359 "Hedef sürücüde bulunan bir yansıyı, sürücü tamamen silineceğinden dolayı kullanamazsınız. Bu, oturduğunuz dalı kesmeye çalışmakla aynı şey!\n\nLütfen yansıyı farklı bir konuma taşıyın ve yeniden deneyin."
-t MSG_360 "TPM veya daha fazla RAM'iniz olsa bile bu seçeneği etkin bırakmak güvenlidir, çünkü bu seçenek yalnızca kurulum gereksinimlerini atlar ve Windows'un mevcut tüm donanımı kullanmasını fiilen engellemez."
-t MSG_361 "Bu seçeneğin çalışması için kurulum sırasında Ağ/Internet bağlantısının KESİLMESİ GEREKMEKTEDİR!"
-t MSG_362 "Windows kurulumunda Microsoft ile veri paylaşımıyla ilgili sorulara kullanıcıya sormak yerine otomatik olarak 'hayır' yanıtını verilsin."
-t MSG_363 "'Windows To Go'nun dahili disklere erişmesine ve geri döndürülemez dosya sistemi yükseltmeleri gerçekleştirmesine istemiyorsanız, bu seçeneği etkin bırakmalısınız."
-t MSG_364 "Belirtilen kullanıcı adıyla otomatik olarak yerel bir hesap oluşturur; bu hesapta, bir sonraki oturum açmada değiştirilmesi gerekecek boş bir parola kullanılacaktır."
-t MSG_365 "Kullanıcıdan onay istemek yerine, bu bilgisayardaki bölgesel ayarları (klavye, saat dilimi, para birimi) kopyalansın."
-t MSG_366 "Kullanıcı tarafından özellikle tercih edilmediği sürece sistem diskini şifrelemeyin."
-t MSG_367 "Bu seçeneği yalnızca S-Modu'nun ne olduğunu biliyorsanız ve Windows'u tamamen silip yeniden yükledikten sonra bile sisteminizin S-Modu'nda kilitli kalabileceğini anlıyorsanız kullanın."
-t MSG_368 "Windows'u kurmayı planladığınız sistemde tamamen güncel Güvenli Önyükleme sertifikaları kullanılıyorsa bu seçeneği kullanın. Gerekirse, sisteminizi güncellemek için 'Mosby'yi kullanmayı düşünebilirsiniz."
-t MSG_369 "Potansiyel olarak güvenli olmayan ek Windows önyükleme yükleyicilerinden vazgeçmek istiyorsanız, ancak bu işlem standart Windows medyalarının önyüklemesini de engelleme olasılığı varsa bu seçeneği kullanın."
-t MSG_370 "\"Yaşam Kalitesi\" iyileştirmeleri: Microsoft'un son kullanıcılara zorla dayatmaya çalıştığı istenmeyen özelliklerin çoğunu devre dışı bırakın."
-t MSG_371 "Bu seçeneği kullanıyorsanız, lütfen Windows'u kurmak istediğiniz disk dışındaki, hedef bilgisayardaki tüm diskleri çıkarın ve silmek istemediğiniz hiçbir bilgisayara disk takılı bırakmayın."
t MSG_900 "Rufus, USB anahtar/bellekler, hafıza kartları vb. USB sürücüleri, biçimlendirmeye ve önyüklemeli hale getirmeye yardımcı olan bir araçtır."
t MSG_901 "Resmi site: %s"
t MSG_902 "Kaynak Kodu: %s"
@@ -16132,7 +15263,7 @@ t MSG_922 "UEFI Shell ISO'larını indirin"
#########################################################################
l "uk-UA" "Ukrainian (Українська)" 0x0422
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -16325,7 +15456,7 @@ t MSG_129 "Ви тільки що створили носій, що викори
t MSG_130 "Вибір образу Windows"
t MSG_131 "Цей ISO містить декілька образів Windows.\nБудь ласка, виберіть образ, котрий ви хочете використати для встановлення:"
t MSG_132 "Інша програма чи процес отримують доступ до цього диска. Ви все одно бажаєте форматувати його?"
-t MSG_133 "Rufus виявив, що ви намагаєтесь створити носій Windows To Go, заснований на версії ISO 1809.\n\nЧерез *ПОМИЛКУ MICROSOFT* цей носій буде припиняти роботу під час завантаження Windows (Синій екран смерті), доки ви вручну не перенесете файл 'WppRecorder.sys' з версії 1803.\n\nТакож зауважте, що Rufus не може автоматично виправити цю помилку через те, що файл 'WppRecorder.sys' захищено авторським правом Microsoft, тому ми не можемо легально вставити копію файла в додаток..."
+t MSG_133 "Rufus виявив, що ви намагаєтесь створити носій Windows To Go, заснований на версії ISO 1809\n\nЧерез *ПОМИЛКУ MICROSOFT* цей носій буде припиняти роботу під час завантаження Windows (Синій екран смерті), доки ви вручну не перенесете файл 'WppRecorder.sys' з версії 1803.\n\nТакож зауважте, що Rufus не може автоматично виправити цю помилку через те, що файл 'WppRecorder.sys' захищено авторським правом Microsoft, тому ми не можемо легально вставити копію файла в додаток..."
t MSG_134 "Через те, що для схеми розділів вибрано MBR, Rufus може створити розділ на цьому носії лише розміром до 2 Тб, що не дозволить використовувати %s дискового простору.\n\nВи бажаєте продовжити?"
t MSG_135 "Версія"
t MSG_136 "Реліз"
@@ -16454,7 +15585,7 @@ t MSG_261 "Запис образа: %s"
t MSG_262 "Підтримка ISO"
t MSG_263 "Використання ПРАВИЛЬНОГО розміру одиниць"
t MSG_264 "Видалення каталога '%s'"
-t MSG_265 "Виявлення дисків VMWare"
+t MSG_265 "Виявлено диск VMWare"
t MSG_266 "Подвійний режим UEFI/BIOS"
t MSG_267 "Застосування Windows-образа: %s"
t MSG_268 "Застосування Windows-образа..."
@@ -16512,8 +15643,6 @@ t MSG_319 "Ігнорувати Boot Marker"
t MSG_320 "Оновлення макета розділу (%s)..."
t MSG_321 "Вибраний образ має властивості ISOHybrid, проте його автор не потурбувався про сумісність з режимом копіювання ISO-файлів.\nЯк результат, буде примусово застосовано режим запису образів DD."
t MSG_322 "Неможливо відкрити чи прочитати '%s'"
-t MSG_323 "Застосувати SkuSiPolicy.p7b під час встановлення (дивись KB5042562)"
-t MSG_324 "Покращення QoL (виключено Copilot, OneDrive, Outlook, Fast Startup, тощо)"
t MSG_325 "Застосування налаштувань Windows: %s"
t MSG_326 "Застосування параметрів користувача..."
t MSG_327 "Інтерфейс користувача Windows"
@@ -16526,7 +15655,7 @@ t MSG_333 "Створити локальний обліковий запис з
t MSG_334 "Встановити регіональні параметри на такі самі, як у поточного користувача"
t MSG_335 "Вимкнути автоматичне шифрування пристрою BitLocker"
t MSG_336 "Постійний журнал"
-t MSG_337 "Щоб скористатися цією функцією, необхідно завантажити додатковий файл ('%s') з веб-сайту Microsoft:\n- Виберіть 'Так' для з'єднання з інтернетом та його завантаження\n- Виберіть 'Ні' для скасування операції\n\nПримітка: файл буде завантажено в каталог додатку та повторно використано за наявності."
+t MSG_337 "Необхідно завантажити додатковий файл ('diskcopy.dll') з сайту Microsoft для встановлення MS-DOS:\n- Виберіть 'Так' для з'єднання з інтернетом та його завантаження\n- Виберіть 'Ні' для скасування операції\n\nПримітка: файл буде завантажено в каталог додатку та повторно використано за наявності."
t MSG_338 "Виявлено відкликаний завантажувач UEFI"
t MSG_339 "Rufus виявив, що вибраний ISO містить відкликаний завантажувач UEFI, що буде створювати %s, коли в оновленій системі UEFI буде ввімкнено безпечне завантаження.\n\n- Якщо ви отримали цей образ з неперевіреного джерела, Вам слід розглянути можливість того, що він може містити зловмисне ПЗ і уникнути завантаження з нього.\n- Якщо ви отримали цей образ з довіреного джерела, Вам слід спробувати знайти більш актуальну версію, що не буде провокувати це попередження."
t MSG_340 "вікно \"Security Violation\""
@@ -16539,27 +15668,6 @@ t MSG_346 "Обмежити Windows до S-Mode (НЕСУМІСНО з обхо
t MSG_347 "Просунутий режим"
t MSG_348 "Видобування архівованих файлів: %s"
t MSG_349 "Використовувати Rufus MBR"
-t MSG_350 "Використати завантажувач з підписом 'Windows CA 2023' (потребує сумісне обладнання)"
-t MSG_351 "Перевірка відкликання завантажувача UEFI..."
-t MSG_352 "Перевірка оновлень UEFI DBX..."
-t MSG_353 "Доступне оновлення DBX"
-t MSG_354 "Rufus знайшов оновлену версію файлів DBX, що використовуються для перевірки відкликання завантажувача UEFI. Чи хочете ви їх завантажити?\n- Виберіть 'Так', щоб завантажити файл з інтернету\n- Виберіть 'Ні', щоб скасувати операцію\n\nПримітка: Файли будуть завантажені в поточний каталог додатку і будуть використовуватися повторно за необхідності."
-t MSG_355 "⚠ТИХЕ⚠ видалення та встановлення:"
-t MSG_356 "Ви вибрали \"тихе\" встановлення Windows.\n\nЦе додаткова опція, призначена для тих, хто хоче створити завантажувальний диск, який не відволікає користувача під час встановлення Windows, тому ПРИМУСОВО СТИРАЄ перший виявлений диск у цільовій системі. Необачне використання цього параметра може привести до БЕЗПОВОРОТНОЇ ВТРАТИ ДАНИХ!\n\nЯкщо це не те, чого ви прагнете, будь ласка, виберіть 'Ні', щоб повернутись назад і деактивувати цю опцію.\nВ іншому випадку, якщо ви виберете 'Так', - ви ПОВНІСТЮ берете на себе відповідальність за можливу втрату інформації."
-t MSG_358 "Непідтримуване розташування образа"
-t MSG_359 "Ви не можете використовувати образ, що знаходиться на цільовому диску, так як цей диск буде повністю очищено. Як то кажуть \"не розхитуй човна, бо вивернешся\"!\n\nБудь ласка, перемістіть образ в інше місце і спробуйте знову."
-t MSG_360 "Безпечно залишати цю опцію ввімкненою, навіть якщо у вас є TPM чи достатня кількість ОЗП, оскільки ця функція лише обходить вимоги до обладнання та не забороняє Windows використовувати всі наявні ресурси."
-t MSG_361 "Щоб ця опція працювала необхідно вимкнути доступ до інтернету/мережі!"
-t MSG_362 "Автоматично відповідати 'ні' на запитання Windows, щодо обміну даними з Microsoft за користувача."
-t MSG_363 "Залиште цю опцію ввімкненою, щоб заборонити 'Windows To Go' доступ до внутрішніх дисків та виконання непомітних безповоротних змін у файловій системі."
-t MSG_364 "Автоматично створити локальний обліковий запис з заданим іменем користувача, використовуючи порожній пароль, який необхідно буде змінити під час наступного входу в систему."
-t MSG_365 "Скопіювати регіональні налаштування з цього ПК (розкладка клавіатури, часовий пояс, валюти) замість того, щоб запитувати користувача."
-t MSG_366 "Не шифрувати системний диск, окрім випадків, коли цього вимагає користувач."
-t MSG_367 "Ввімкніть цю опцію, якщо знаєте, що таке S-Mode та розумієте, що ваша система може бути заблокована в S-Mode навіть після повної очистки та перевстановлення Windows."
-t MSG_368 "Ввімкніть цю опцію, якщо система, на яку ви плануєте встановити Windows має оновлені сертифікати завантажувача. За потреби, ви можете розглянути можливість використання 'Mosby' для оновлення системи."
-t MSG_369 "Ввімкніть цю опцію, якщо хочете відкликати додаткові потенційно небезпечні завантажувачі Windows, але з можливістю також запобігти завантаженню стандартних носіїв Windows."
-t MSG_370 "Покращення \"Quality of Life\": Вимкнення більшості небажаних функцій, які Microsoft намагається нав'язати кінцевому користувачу."
-t MSG_371 "За використання цієї функції відключіть від ПК будь-які диски за виключенням того, на який ви хочете встановити Windows, а, також, не залишайте носій підключеним до будь-якого ПК, дані з якого ви не хочете стерти."
t MSG_900 "Rufus це утиліта, яка допомагає форматувати та створювати завантажувальні флешки, картки пам'яті, тощо."
t MSG_901 "Офіційний сайт: %s"
t MSG_902 "Сирцевий код: %s"
@@ -16582,7 +15690,7 @@ t MSG_922 "Завантаження командної оболонки UEFI ISO
#########################################################################
l "vi-VN" "Vietnamese (Tiếng Việt)" 0x042A
-v 4.14
+v 4.5
b "en-US"
g IDD_ABOUTBOX
@@ -16590,23 +15698,23 @@ t IDD_ABOUTBOX "Thông tin về Rufus"
t IDC_ABOUT_LICENSE "Giấy phép"
g IDD_DIALOG
-t IDS_DRIVE_PROPERTIES_TXT "Thuộc tính thiết bị lưu"
-t IDS_DEVICE_TXT "Thiết bị lưu"
-t IDS_BOOT_SELECTION_TXT "Tùy chọn khởi động"
+t IDS_DRIVE_PROPERTIES_TXT "Thuộc tính ổ đĩa"
+t IDS_DEVICE_TXT "Thiết bị"
+t IDS_BOOT_SELECTION_TXT "Phương thức khởi động"
t IDC_SELECT "Chọn"
t IDS_IMAGE_OPTION_TXT "Tùy chọn tệp tin"
-t IDS_PARTITION_TYPE_TXT "Sơ đồ phân vùng"
-t IDS_TARGET_SYSTEM_TXT "Hệ thống khởi động"
-t IDC_LIST_USB_HDD "Liệt kê danh sách ổ USB"
-t IDC_OLD_BIOS_FIXES "Thêm các bản sửa lỗi cho BIOS cũ (phân vùng phụ, căn lề phân vùng, v.v...)"
-t IDC_UEFI_MEDIA_VALIDATION "Bật xác minh thiết bị UEFI trong thời gian chạy"
+t IDS_PARTITION_TYPE_TXT "Định dạng phân vùng"
+t IDS_TARGET_SYSTEM_TXT "Hệ thống áp dụng"
+t IDC_LIST_USB_HDD "Danh sách ổ cứng USB"
+t IDC_OLD_BIOS_FIXES "Thêm khắc phục cho BIOS cũ (phân vùng, sắp xếp...khác)"
+t IDC_UEFI_MEDIA_VALIDATION "Bật xác thực phương tiện UEFI tại thời điểm chạy"
t IDS_FORMAT_OPTIONS_TXT "Tùy chọn định dạng"
t IDS_FILE_SYSTEM_TXT "Hệ thống tập tin"
-t IDS_CLUSTER_SIZE_TXT "Kích thước cụm"
-t IDS_LABEL_TXT "Nhãn thiết bị lưu"
+t IDS_CLUSTER_SIZE_TXT "Kích thước liên cung"
+t IDS_LABEL_TXT "Nhãn ổ đĩa"
t IDC_QUICK_FORMAT "Định dạng nhanh"
-t IDC_BAD_BLOCKS "Kiểm tra lỗi khối trên thiết bị lưu trữ"
-t IDC_EXTENDED_LABEL "Tạo nhãn mở rộng và tệp tin biểu tượng"
+t IDC_BAD_BLOCKS "Kiểm tra khối hỏng trong thiết bị"
+t IDC_EXTENDED_LABEL "Tạo tên mở rộng và tập tin biểu tượng"
t IDS_STATUS_TXT "Trạng thái"
t IDCANCEL "Đóng"
t IDC_START "Bắt đầu"
@@ -16624,7 +15732,7 @@ t IDC_LOG_SAVE "Lưu"
g IDD_NEW_VERSION
t IDCANCEL "Đóng"
t IDD_NEW_VERSION "Kiểm tra cập nhật - Rufus"
-t IDS_NEW_VERSION_AVAIL_TXT "Đã có phiên bản mới hơn. Vui lòng tải phiên bản mới nhất!"
+t IDS_NEW_VERSION_AVAIL_TXT "Đã có phiên bản mới. Vui lòng tải phiên bản mới nhất!"
t IDC_WEBSITE "Nhấn vào đây để truy cập website"
t IDS_NEW_VERSION_NOTES_GRP "Ghi chú phát hành"
t IDS_NEW_VERSION_DOWNLOAD_GRP "Tải xuống"
@@ -16640,14 +15748,14 @@ t IDCANCEL "Đóng"
t IDD_UPDATE_POLICY "Cập nhật chính sách và thiết lập"
t IDS_UPDATE_SETTINGS_GRP "Thiết lập"
t IDS_UPDATE_FREQUENCY_TXT "Kiểm tra cập nhật"
-t IDS_INCLUDE_BETAS_TXT "Bao gồm bản thử nghiệm"
+t IDS_INCLUDE_BETAS_TXT "Gồm bản thử nghiệm"
t IDC_CHECK_NOW "Kiểm tra ngay"
-t MSG_001 "Đã phát hiện tiến trình chạy đồng thời"
-t MSG_002 "Ứng dụng Rufus khác đang chạy.\nVui lòng đóng ứng dụng đầu tiên trước khi chạy một ứng dụng mới."
-t MSG_003 "CẢNH BÁO: TẤT CẢ DỮ LIỆU TRÊN THIẾT BỊ '%s' SẼ BỊ XOÁ.\nĐể tiếp tục tiến trình này, nhấn OK. Để thoát nhấn HUỶ."
+t MSG_001 "Phát hiện tiến trình chạy đồng thời"
+t MSG_002 "Ứng dụng Rufus khác đang chạy.\nVui lòng đóng ứng dụng đầu tiên trước khi chạy tiếp."
+t MSG_003 "CẢNH BÁO: TẤT CẢ DỮ LIỆU TRÊN THIẾT BỊ '%s' SẼ BỊ HUỶ.\nĐể tiếp tục tiến trình này, nhấn OK. Để thoát nhấn HUỶ."
t MSG_004 "Chính sách cập nhật Rufus"
-t MSG_005 "Bạn có muốn cho phép Rufus kiểm tra các bản cập nhật ứng dụng trực tuyến?"
+t MSG_005 "Bạn có muốn cho phép Rufus kiểm tra cập nhật ứng dụng trực tuyến?"
t MSG_006 "Đóng"
t MSG_007 "Huỷ"
t MSG_008 "Có"
@@ -16667,42 +15775,42 @@ t MSG_030 "%s (Mặc định)"
t MSG_031 "BIOS (hoặc UEFI-CSM)"
t MSG_032 "UEFI (không CSM)"
t MSG_033 "BIOS hoặc UEFI"
-t MSG_034 "Đạt %d lần"
-t MSG_035 "Đã đạt %d lần %s"
+t MSG_034 "Qua %d lần"
+t MSG_035 "Qua %d lần %s"
t MSG_036 "Tệp ISO"
t MSG_037 "Ứng dụng"
t MSG_038 "Huỷ bỏ"
t MSG_039 "Khởi chạy"
t MSG_040 "Tải xuống"
-t MSG_041 "Tiến trình đã bị huỷ bởi người dùng"
+t MSG_041 "Tiến trình bị huỷ bởi người dùng"
t MSG_042 "Lỗi"
t MSG_043 "Lỗi: %s"
t MSG_044 "Tải xuống tập tin"
t MSG_045 "Thiết bị lưu trữ USB (Cơ bản)"
t MSG_046 "%s (Đĩa %d) [%s]"
t MSG_047 "Đa phân vùng"
-t MSG_048 "Rufus - Đang xả bộ đệm"
-t MSG_049 "Rufus - Hủy bỏ"
+t MSG_048 "Rufus - Xoá bộ đệm"
+t MSG_049 "Rufus - Huỷ"
t MSG_050 "Thành công."
t MSG_051 "Lỗi không xác định khi đang định dạng."
t MSG_052 "Không thể dùng hệ thống tập tin đã chọn cho thiết bị này."
-t MSG_053 "Truy cập tới thiết bị đã bị từ chối."
-t MSG_054 "Thiết bị đang được bảo vệ ghi."
-t MSG_055 "Thiết bị đang được dùng bởi tiến trình khác. Vui lòng đóng mọi tiến trình có thể đang truy cập thiết bị."
+t MSG_053 "Thiết bị từ chối truy cập."
+t MSG_054 "Thiết bị được bảo vệ ghi."
+t MSG_055 "Thiết bị đang được dùng bởi tiến trình khác. Vui lòng đóng mọi tiến trình có thể truy cập thiết bị."
t MSG_056 "Định dạng nhanh không khả dụng với thiết bị này."
-t MSG_057 "Nhãn ổ đĩa không hợp lệ."
-t MSG_058 "Tham chiếu thiết bị không hợp lệ."
-t MSG_059 "Kích thước cụm đã chọn không hợp lệ với thiết bị này."
-t MSG_060 "Kích cỡ thiết bị không hợp lệ."
-t MSG_061 "Vui lòng cắm thiết bị lưu trữ di động vào ổ."
+t MSG_057 "Tên ổ đĩa không hợp lệ."
+t MSG_058 "Xử lý thiết bị không hợp lệ."
+t MSG_059 "Kích cỡ liên cung đã chọn không thích hợp với thiết bị này."
+t MSG_060 "Kích cỡ ổ đĩa không hợp lệ."
+t MSG_061 "Vui lòng kết nối ổ gắn ngoài vào."
t MSG_062 "Đã nhận một lệnh không được hỗ trợ."
t MSG_063 "Lỗi sắp xếp bộ nhớ."
t MSG_064 "Lỗi đọc."
t MSG_065 "Lỗi ghi."
t MSG_066 "Cài đặt thất bại"
t MSG_067 "Không thể mở thiết bị. Có thể nó đang được tiến trình khác sử dụng. Vui lòng cắm lại thiết bị và thử lại."
-t MSG_068 "Không thể phân vùng thiết bị."
-t MSG_069 "Không thể sao chép tệp vào thiết bị đích."
+t MSG_068 "Không thể phân vùng ổ đĩa."
+t MSG_069 "Không thể chép tập tin vào đĩa."
t MSG_070 "Đã huỷ bởi người dùng."
t MSG_071 "Không thể bắt đầu luồng."
t MSG_072 "Kiểm tra khối hỏng chưa hoàn tất."
@@ -16710,41 +15818,41 @@ t MSG_073 "Quét tệp ISO thất bại."
t MSG_074 "Trích xuất tệp ISO thất bại."
t MSG_075 "Không thể tái gắn ổ đĩa."
t MSG_076 "Không thể vá/cài đặt tập tin cho việc khởi động."
-t MSG_077 "Không thể gán ký tự ổ đĩa."
-t MSG_078 "Không thể gắn kết phân vùng GUID."
+t MSG_077 "Không thể định ký tự ổ đĩa."
+t MSG_078 "Không thể gắn kết ổ GUID."
t MSG_079 "Thiết bị chưa sẵn sàng."
-t MSG_080 "Rufus đã phát hiện Windows vẫn đang xả bộ đệm bên trong thiết bị USB.\n\nTuỳ thuộc vào tốc độ thiết bị USB của bạn, hoạt động này có thể mất một thời gian dài để hoàn tất, đặc biệt với những tập tin lớn.\n\nChúng tôi khuyên rằng bạn nên để Windows kết thúc để phòng hỏng dữ liệu. Nhưng nếu bạn cảm thấy quá lâu, hãy cứ tháo thiết bị ra..."
+t MSG_080 "Rufus đã phát hiện Windows vẫn đang làm sạch bộ đệm bên trong thiết bị USB.\n\nTuỳ thuộc vào tốc độ của thiết bị USB, hoạt động này có thể mất một thời gian dài để hoàn tất, đặc biệt với những tập tin lớn.\n\nChúng tôi khuyên bạn nên để Windows kết thúc để phòng hỏng dữ liệu. Nhưng nếu bạn cảm thấy quá lâu, hãy cứ tháo thiết bị ra..."
t MSG_081 "Tệp tin không được hỗ trợ"
-t MSG_082 "Tệp này không có khả năng khởi động hoặc sử dụng một tuỳ chọn khởi động hoặc nén không được Rufus hỗ trợ..."
+t MSG_082 "Tệp này không có khả năng khởi động hoặc sử dụng một phương thức khởi động hoặc nén không được Rufus hỗ trợ..."
t MSG_083 "Thay thế %s?"
t MSG_084 "Tệp ISO này có vẻ là phiên bản lỗi thời của '%s'.\nCác menu khởi động có thể không hiện chính xác vì điều này.\n\nMột phiên bản mới có thể được tải xuống bởi Rufus để khắc phục vấn đề này:\n- Chọn 'Có' để kết nối với Internet và tải tập tin xuống\n- Chọn 'Không' để không thay đổi tập tin ISO đang có\nNếu bạn không biết phải làm gì, bạn nên chọn 'Có'.\n\nGhi chú: Tập tin mới sẽ được tải xuống vào thư mục hiện tại và một khi '%s' tồn tại trong đó, nó sẽ được tự động tái sử dụng."
t MSG_085 "Đang tải xuống %s"
-t MSG_086 "Chưa tệp tin nào được chọn"
+t MSG_086 "Chưa chọn tệp tin"
t MSG_087 "cho %s NAND"
t MSG_088 "Tệp tin quá lớn"
-t MSG_089 "Tệp tin quá lớn cho thiết bị đích đã chọn."
+t MSG_089 "Tệp tin quá lớn cho đĩa đã chọn."
t MSG_090 "ISO không được hỗ trợ"
-t MSG_091 "Khi sử dụng kiểu hệ thống khởi động UEFI, chỉ hỗ trợ các tệp ISO có khả năng khởi động bằng EFI. Vui lòng chọn một tệp ISO có hỗ trợ EFI hoặc chuyển kiểu hệ thống khởi động sang BIOS."
+t MSG_091 "Khi dùng loại hệ thống là UEFI, chỉ có tệp ISO có thể khởi động với EFI được hỗ trợ. Vui lòng chọn tệp phù hợp hoặc chọn loại hệ thống là BIOS."
t MSG_092 "Hệ thống tập tin không được hỗ trợ"
t MSG_093 "QUAN TRỌNG: Ổ ĐĨA NÀY CHỨA NHIỀU PHÂN VÙNG!!\n\nCó thể bao gồm phân vùng/ổ đĩa không có trong danh sách hoặc không hiển thị trong Windows. Nếu bạn tiến hành, bạn sẽ phải chịu trách nhiệm về mọi tổn thất dữ liệu trên những phân vùng này."
t MSG_094 "Đã phát hiện nhiều phân vùng"
t MSG_095 "Tệp tin DD"
-t MSG_096 "Không thể dùng loại ISO này với hệ thống tập tin đã chọn. Vui lòng chọn một hệ thống tập tin hoặc chọn tệp ISO khác."
+t MSG_096 "Không thể dùng loại ISO này với hệ thống tập tin đã chọn. Vui lòng chọn một hệ thống tập tin hoặc ISO khác."
t MSG_097 "Chỉ có thể áp dụng '%s' nếu hệ thống tập tin là NTFS."
-t MSG_098 "QUAN TRỌNG: Bạn đang cố cài đặt Windows To Go, nhưng ổ đĩa đích của bạn không có thuộc tính “CỐ ĐỊNH” (FIXED). Do đó, Windows có thể bị treo khi khởi động, vì Microsoft không thiết kế Windows To Go để hoạt động với ổ đĩa có thuộc tính “THÁO RỜI” (REMOVABLE).\n\nBạn có chắc chắn muốn tiếp tục không?\n\nLưu ý: Thuộc tính “CỐ ĐỊNH/THÁO RỜI” là một đặc điểm phần cứng và chỉ có thể thay đổi bằng công cụ đặc biệt từ nhà sản xuất ổ đĩa. Tuy nhiên, những công cụ này HẦU NHƯ KHÔNG bao giờ được cung cấp cho người dùng phổ thông..."
+t MSG_098 "QUAN TRỌNG: Bạn đang cố cài đặt 'Windows To Go', nhưng ổ đĩa không có thuộc tính 'CỐ ĐỊNH'. Vì vậy, Windows có thể sẽ đóng băng tại điểm khởi động, do Microsoft không thiết kế nó để chạy với ổ đĩa có thuộc tính 'CÓ THỂ THÁO ĐƯỢC'. \n\nBạn vẫn muốn tiến hành?\n\nGhi chú: Thuộc tính 'CỐ ĐỊNH/CÓ THỂ THÁO ĐƯỢC' là một thuộc tính phần cứng chỉ có thể thay đổi bằng các công cụ tuỳ chỉnh từ nhà sản xuất ổ đĩa. Tuy nhiên những công cụ này HẦU NHƯ KHÔNG BAO GIỜ được cung cấp công khai..."
t MSG_099 "Giới hạn tập tin hệ thống"
t MSG_100 "Tệp ISO này có chứa một tập tin lớn hơn 4 GB, lớn hơn kích thước tập tin tối đa được hệ thống FAT hoặc FAT32 cho phép."
t MSG_101 "Thiếu hỗ trợ WIM"
t MSG_102 "Nền tảng của bạn không thể giải nén tệp từ lưu trữ WIM. Việc giải nén WIM là cần thiết để tạo đĩa USB khởi động Windows 7 và Windows Vista có hỗ trợ EFI. Bạn có thể khắc phục điều này bằng cách cài phiên bản mới nhất của 7-Zip.\nBạn muốn truy cập trang tải xuống của 7-Zip?"
t MSG_103 "Tải xuống %s?"
-t MSG_104 "%s hoặc mới hơn yêu cầu tập tin '%s' được cài đặt.\nVì tập tin này lớn hơn 100 KB, và luôn có trong các tệp ISO %s, nó không được kèm theo trong Rufus.\n\nRufus có thể tải xuống tập tin còn thiếu cho bạn:\n- Chọn 'Có' để kết nối với Internet và tải tập tin\n- Chọn 'Không' nếu bạn muốn tự chép tập tin này trên đĩa lúc khác\n\nGhi chú: tập tin sẽ được tải xuống thư mục hiện tại và khi '%s' tồn tại ở đó, nó sẽ tự động được tái sử dụng."
+t MSG_104 "%s hoặc mới hơn yêu cầu tập tin '%s' được cài đặt.\nVì tập tin này lớn hơn 100 KB, và luôn có trong ảnh ISO %s, nó không được kèm theo trong Rufus.\n\nRufus có thể tải xuống tập tin còn thiếu cho bạn:\n- Chọn 'Có' để kết nối với Internet và tải tập tin\n- Chọn 'Không' nếu bạn muốn tự chép tập tin này trên đĩa lúc khác\n\nGhi chú: tập tin sẽ được tải xuống thư mục hiện tại và khi '%s' tồn tại ở đó, nó sẽ tự động được tái sử dụng."
t MSG_105 "Huỷ bỏ có thể làm thiết bị rơi vào trạng thái KHÔNG THỂ SỬ DỤNG.\nNếu bạn chắc chắn muốn huỷ, chọn CÓ. Nếu không, hãy chọn KHÔNG."
t MSG_106 "Vui lòng chọn thư mục"
t MSG_107 "Tất cả tập tin"
t MSG_108 "Nhật ký Rufus"
t MSG_109 "0x%02X (Đĩa %d)"
-t MSG_110 "MS-DOS không thể khởi động từ ổ đĩa có kích thước cụm là 64 kilobyte.\nVui lòng thay đổi kích thước cụm hoặc sử dụng FreeDOS thay thế."
-t MSG_111 "Kích thước cụm không tương thích"
+t MSG_110 "MS-DOS không thể khởi động từ ổ đĩa dùng kích thước liên cung 64 kilobytes.\nVui lòng thay đổi kích thước liên cung hoặc dùng FreeDOS."
+t MSG_111 "Kích thước liên cung không tương thích"
t MSG_112 "Định dạng ổ UDF lớn có thể mất nhiều thời gian. Với tốc độ của USB 2.0, thời gian định dạng dự kiến là %d:%02d, trong lúc này thanh tiến trình sẽ không thay đổi. Vui lòng kiên nhẫn!"
t MSG_113 "Ổ UDF lớn"
t MSG_114 "Tệp này dùng Syslinux %s%s nhưng ứng dụng này chỉ bao gồm tập tin cài đặt cho Syslinux %s%s.\n\nPhiên bản mới của Syslinux không tương thích với các phiên bản khác, và Rufus không thể kèm theo tất cả chúng, bạn phải tải xuống thêm hai tập tin từ Internet ('ldlinux.sys' và 'ldlinux.bss'):\n- Chọn 'Có' để kết nối tới Internet và tải xuống những tập tin này\n- Chọn 'Không' để huỷ hoạt động\n\nChú ý: Các tập tin sẽ được tải xuống vào thư mục ứng dụng hiện tại và sẽ được tự tái sử dụng nếu có."
@@ -16764,8 +15872,8 @@ t MSG_128 "Chú ý quan trọng về %s"
t MSG_129 "Bạn vừa mới tạo ổ đĩa sử dung UEFI:NTFS bootloader. Hãy nhớ rằng để khởi động được đĩa này BẠN PHẢI VÔ HIỆU SECURE BOOT.\nĐể hiểu tại sao nó quan trọng, xem trong phần 'Thông tin thêm' phía dưới."
t MSG_130 "Chọn file ảnh Windows"
t MSG_131 "File ISO này chứa nhiều tệp ảnh Windows.\nHãy chọn tệp ảnh bạn muốn sử dung cho việc cài đặt này:"
-t MSG_132 "Có một chương trình hoặc tiến trình khác đang truy cập ổ. Bạn vẫn muốn định dạng ổ đĩa?"
-t MSG_133 "Rufus nhận thấy bạn đang cố gắng tạo ổ đĩa Windows To Go dựa vào ISO phiên bản 1809.\n\nBởi vì một *LỖI CỦA MICROSOFT*, ổ đĩa này sẽ bị lỗi trong quá trình khởi động Windows (Màn hình xanh chết chóc), trừ khi bạn tự tay thay thế file 'WppRecorder.sys' của phiên bản 1803.\n\nCũng xin lưu ý rằng Rufus không thể tự động sửa lỗi này vì file 'WppRecorder.sys' thuộc bản quyền của Microsoft, vì vậy chúng tôi không thể nhúng file này vào chương trình..."
+t MSG_132 "Có một chương trình hoặc tiến trình nào đó đang truy cập ổ. Bạn vẫn muốn định dạng ổ đĩa?"
+t MSG_133 "Rufus nhận thấy bạn đang cố gắng tạo ổ đĩa Windows To Go dựa vào ISO phiên bản 1809.\n\nBởi vì một *LỖI CỦA MICROSOFT*, ổ đĩa này sẽ bị lỗi trong quá trình khởi động Windows (Màn hình xanh chết chóc), trừ khi bạn thay thế thủ công file 'WppRecorder.sys' của phiên bản 1803.\n\nCũng xin lưu ý rằng Rufus không thể tự động sửa lỗi này vì file 'WppRecorder.sys' thuộc bản quyền của Microsoft, vì vậy chúng tôi không thể nhúng file này vào chương trình..."
t MSG_134 "Bởi vì MBR được chọn để định dạng phân vùng, Rufus chỉ có thể tạo phân vùng tới 2 TB cho ổ đĩa này, việc này sẽ bỏ phí %s không được sử dung.\n\nBạn có muốn tiếp tục?"
t MSG_135 "Phiên bản"
t MSG_136 "Phát hành"
@@ -16791,8 +15899,8 @@ t MSG_156 "Mẫu thử: 0x%02X, 0x%02X, 0x%02X, 0x%02X"
t MSG_157 "Đặt loại hệ thống tập tin"
t MSG_158 "Kích thước tối thiểu của khối dữ liệu sẽ chiếm dụng trong hệ thống tập tin"
t MSG_159 "Dùng trường này để đặt tên đĩa.\nCác ký tự quốc tế được chấp nhận."
-t MSG_160 "Bật/tắt các tuỳ chọn nâng cao"
-t MSG_161 "Kiểm tra thiết bị tìm khối lỗi bằng mẫu kiểm tra"
+t MSG_160 "Bật/tắt tuỳ chọn nâng cao"
+t MSG_161 "Kiểm tra khối hỏng bằng mẫu thử"
t MSG_162 "Bỏ chọn mục này để dùng cách định dạng \"chậm\""
t MSG_163 "Cách thức để tạo phân vùng"
t MSG_164 "Cách thức để tạo ổ đĩa có thể khởi động"
@@ -16800,13 +15908,13 @@ t MSG_165 "Nhấn để chọn hoặc tải file ảnh..."
t MSG_166 "Chọn mục này để cho phép hiện tên ổ đĩa toàn hệ thống và đặt biểu tượng thiết bị (khởi tạo autorun.inf)"
t MSG_167 "Cài đặt bộ khởi động UEFI, cùng với việc tiến trình xác thực MD5Sum của phương tiện"
t MSG_169 "Tạo một phân vùng ẩn khác và thử sắp xếp ranh giới phân vùng.\nĐiều này có thể cải thiện khả năng phát hiện khởi động cho BIOS cũ."
-t MSG_170 "Bật hiển thị các ổ cứng gắn ngoài qua USB. TỰ CHỊU RỦI RO KHI SỬ DỤNG!!!"
+t MSG_170 "Kích hoạt liệt kê ổ cứng USB trong máy. DÙNG CẨN TRỌNG!!!"
t MSG_171 "Bắt đầu hoạt động định dạng.\nViệc này sẽ TIÊU HUỶ mọi dữ liệu trên đĩa đã chọn!"
t MSG_172 "Chữ kí tải xuống không hợp lệ"
t MSG_173 "Nhấn để chọn..."
t MSG_174 "Rufus - Tiện ích Định dạng USB Đáng tin cậy"
t MSG_175 "Phiên bản %d.%d (Bản dựng %d)"
-t MSG_176 "Bản dịch Tiếng Việt:\\line• thanhtai2009 \\line• caobach \\line• Nguyễn Quang Minh (MinhNQ101) \\line• Trần Thái An "
+t MSG_176 "Bản dịch tiếng Việt:\\line• thanhtai2009 \\line• caobach \\line• VNSpringRice "
t MSG_177 "Báo lỗi hoặc yêu cầu cải tiến tại:"
t MSG_178 "Các bản quyền bổ sung:"
t MSG_179 "Chính sách cập nhật:"
@@ -16909,15 +16017,15 @@ t MSG_276 "Ghi với chế độ %s (Khuyến cáo)"
t MSG_277 "Ghi với chế độ %s"
t MSG_278 "Đang kiểm tra các tiến trình xung đột..."
t MSG_279 "Không có khả năng khởi động"
-t MSG_280 "Đĩa hoặc tệp tin ISO"
+t MSG_280 "Đĩa hoặc tệp tin"
t MSG_281 "%s (Vui lòng chọn)"
-t MSG_282 "Chặn truy cập ổ USB từ chương trình khác"
+t MSG_282 "Khoá ổ USB đặc biệt"
t MSG_283 "Chữ ký không hợp lệ"
t MSG_284 "Tập tin thực thi đã tải xuống thiếu chữ ký số."
t MSG_285 "Tập tin thực thi đã tải xuống được ký bởi '%s'.\nĐây không phải chữ ký số chúng tôi công nhận và có thể xác định là một dạng hoạt động nguy hiểm...\nBạn chắc muốn chạy tập tin này?"
t MSG_286 "Đang ghi đè giá trị 0 lên ổ: %s"
t MSG_287 "Phát hiện ổ đĩa tháo được không phải USB"
-t MSG_288 "Thiếu quyền quản trị"
+t MSG_288 "Thiếu đặc quyền"
t MSG_289 "Ứng dụng này chỉ có thể chạy với đặc quyền quản trị"
t MSG_290 "Lập chỉ mục tập tin"
t MSG_291 "Chọn phiên bản"
@@ -16937,7 +16045,7 @@ t MSG_304 "Tạo file ảnh ổ đĩa từ thiết bị được chọn"
t MSG_305 "Sử dụng tùy chọn này để chỉ thị rằng hoặc bạn muốn cài Windows lên một ổ đĩa khác, hoặc nếu bạn muốn chạy Windows trực tiếp từ thiết bị này (Windows To Go)."
t MSG_306 "Đang ghi đè nhanh giá trị 0 lên ổ đĩa: %s"
t MSG_307 "điều này có thể mất một thời gian"
-t MSG_308 "Phát hiện VHD"
+t MSG_308 "phát hiện VHD"
t MSG_309 "Lưu trữ đã nén"
t MSG_310 "ISO bạn đã chọn sử dụng UEFI và đủ nhỏ để ghi dưới dạng Phân vùng hệ thống EFI (ESP). Ghi vào một ESP, thay vì ghi vào một phân vùng dữ liệu chung chiếm toàn bộ đĩa, có thể thích hợp hơn đối với một số loại cài đặt.\n\nVui lòng chọn chế độ mà bạn muốn sử dụng để viết hình ảnh này:"
t MSG_311 "Sử dụng %s (tại cửa sổ chính của phần mềm) để thực thi."
@@ -16952,21 +16060,19 @@ t MSG_319 "Bỏ qua đánh dấu khởi động"
t MSG_320 "Đang làm mới bố cục phân vùng (%s)..."
t MSG_321 "Hình ảnh bạn đã chọn là một ISOHybrid, nhưng những người tạo ra nó đã không làm cho nó tương thích với chế độ sao chép ISO/Tệp.\nDo đó, chế độ ghi hình ảnh DD sẽ được thực thi."
t MSG_322 "Không thể mở hoặc đọc '%s'"
-t MSG_323 "Áp dụng SkuSiPolicy.p7b trong khi cài đặt (Xem KB5042562)"
-t MSG_324 "Những cải \"QoL\" (Không ép buộc Copilot, OneDrive, Outlook, Khởi động Nhanh, v.v.)"
t MSG_325 "Đang áp dụng tuỳ biến Windows: %s"
t MSG_326 "Đang áp dụng các cài đặt người dùng..."
-t MSG_327 "Trải nghiệm Người dùng Windows"
+t MSG_327 "Trải nghiệm người dùng Windows"
t MSG_328 "Tuỳ biến cài đặt Windows?"
t MSG_329 "Loại bỏ yêu cầu 4GB+ RAM, Secure Boot và TPM 2.0"
t MSG_330 "Loại bỏ yêu cầu tài khoản Microsoft trực tuyến"
t MSG_331 "Loại bỏ thu thập thông tin (Bỏ qua các câu hỏi riêng tư)"
t MSG_332 "Ngăn cản Windows To Go truy cập ổ đĩa trong"
-t MSG_333 "Tạo tài khoản nội bộ với tên người dùng:"
+t MSG_333 "Tạo tài khoản nội bộ với tên:"
t MSG_334 "Đặt các cài đặt địa phương cùng giá trị với người dùng hiện tại"
t MSG_335 "Vô hiệu tự động mã hoá thiết bị BitLocker"
-t MSG_336 "Nhật ký lưu vĩnh viễn"
-t MSG_337 "Một tệp tin bổ sung ('%s') cần được tải xuống từ Microsoft để sử dụng tính năng này:\n- Chọn 'Có' để kết nối tới Internet và tải nó xuống\n- Chọn 'Không' để huỷ tiến trình\n\nGhi chú: Tệp tin sẽ được tải xuống tại đường dẫn của phần mềm và sẽ được tự động tái sử dụng nếu có sẵn."
+t MSG_336 "Nhật ký"
+t MSG_337 "Một tệp tin bổ sung ('diskcopy.dll') phải được tải về từ Microsoft để cài đặt MS-DOS:\n- Chọn 'Có' để kết nối tới Internet và tải nó xuống\n- Chọn 'Không' để huỷ tiến trình\n\nGhi chú: Tệp tin sẽ được tải xuống tại đường dẫn của phần mềm và sẽ được tự động tái sử dụng nếu có sẵn."
t MSG_338 "Đã phát hiện bộ khởi động UEFI bị thu hồi"
t MSG_339 "Rufus đã phát hiện ra rằng tệp ISO bạn đã chọn có chứa một bộ khởi động UEFI đã bị thu hồi và nó sẽ tạo ra %s, khi Secure Boot được kích hoạt trên một hệ thống UEFI được cập nhật đầy đủ và mới nhất.\n\n- Nếu bạn sở hữu tệp ISO này từ một nguồn không đáng tin cậy, bạn nên cân nhắc khả năng có thể chứa mã độc UEFI và tránh khởi động từ nó.\n- Nếu bạn sở hữu từ một nguồn uy tín, bạn nên thử tìm một bản mới hơn, theo đó cảnh báo này sẽ không hiện ra."
t MSG_340 "một màn hình \"Vi phạm Bảo mật\""
@@ -16974,33 +16080,12 @@ t MSG_341 "một Màn hình Khôi phục Windows (BSOD) với '%s'"
t MSG_342 "Tệp VHDX đã nén"
t MSG_343 "Tệp VHD chưa nén"
t MSG_344 "Ghi Đầy đủ Tệp Cập nhật"
-t MSG_345 "Một vài dữ liệu phải được tải xuống từ Microsoft để sử dụng tính năng này:\n- Chọn 'Có' để kết nối tới Internet và tải xuống nó\n- Chọn 'Không' để huỷ tiến trình"
+t MSG_345 "Một vài dữ lieu phải được tải xuống từ Microsoft để sử dụng tính năng này:\n- Chọn 'Có' để kết nối tới Internet và tải xuống nó\n- Chọn 'Không' để huỷ tiến trình"
t MSG_346 "Giới hạn Windows vào S-Mode (KHÔNG TƯƠNG THÍCH với việc bỏ qua tài khoản trực tuyến)"
t MSG_347 "Chế độ Chuyên nghiệp"
t MSG_348 "Đang giải nén tệp lưu trữ: %s"
t MSG_349 "Sử dụng Rufus MBR"
-t MSG_350 "Sử dụng bootloader đã được ký bởi chứng chỉ “Windows UEFI CA 2023” (Cần có PC tương thích)"
-t MSG_351 "Đang kiểm tra trạng thái thu hồi của bootloader UEFI..."
-t MSG_352 "Đang kiểm tra cập nhật cơ sở dữ liệu chặn (DBX) của UEFI…"
-t MSG_353 "Đã phát hiện bản cập nhật DBX của UEFI"
-t MSG_354 "Rufus đã phát hiện phiên bản cập nhật của các tệp DBX, được dùng để kiểm tra thu hồi Secure Boot trong UEFI. Bạn có muốn tải bản cập nhật này không?\n- Chọn “Có” để kết nối Internet và tải nội dung này.\n- Chọn “Không” để hủy thao tác.\n\nLưu ý: Các tệp sẽ được tải về thư mục của ứng dụng và sẽ tự động được sử dụng lại nếu đã có sẵn."
-t MSG_355 "Xoá sạch ổ cứng và cài đặt ⚠MỘT CÁCH ÂM THẦM⚠:"
-t MSG_356 "Bạn đã lựa chọn phương thức cài đặt Windows \"im lặng\".\n\nĐây là một tuỳ chọn nâng cao, dành riêng cho những người muốn tạo một bản cài đặt không thông báo cho người dung xuyên suốt quá trình cài đặt Windows và qua đó XOÁ SẠCH VÔ ĐIỀU KIỆN ổ đĩa được nhận diện đầu tiên. Nếu bạn không cẩn than, sử dụng tuỳ chọn nào có thể gây ra MẤT HOÀN TOÀN DỮ LIỆU\n\nNếu đó không phải thứ bạn muốn, vui long chọn 'Không' để quay trở lại và huỷ chọn tuỳ chọn đó.\nThay vào đó, nếu bạn chọn 'Có', bạn chấp thuận rằng mọi trách nhiệm về dữ liệu bị mất hoàn toàn thuộc về BẠN."
-t MSG_358 "Vị trí tập tin ảnh đĩa không được hỗ trợ"
-t MSG_359 "Bạn không thể sử dụng một ảnh đĩa nằm trên thiết bị mục tiêu, vì thiết bị đó sẽ bị xoá hoàn toàn. Nó giống như việc bạn tự chặt cành cây mà bạn đang đứng lên vậy!\n\nVui lòng di chuyển ảnh đĩa tới một vị trí khác và thử lại."
-t MSG_360 "Việc bật tuỳ chọn này là hoàn toàn an toàn kể cả khi bạn có TPM hay nhiều RAM hơn, vì tuỳ chọn này chỉ bỏ qua nhừng yêu cầu cài đặt và không ngăn Windows sử dụng mọi tài nguyên phần cứng có thể."
-t MSG_361 "Để tuỳ chọn này có hiệu quả, các mạng PHẢI được ngắt kết nối trong quá trình cài đặt!"
-t MSG_362 "Tự động trả lời 'không' cho những câu hỏi liên quan tới việc chia sẻ dữ liệu cho Microsoft, thay vì thông báo cho người dùng."
-t MSG_363 "Bạn nên để tuỳ chọn này ở mức 'Bật', trừ khi bạn ổn với việc Windows To Go truy cập vào các thiết bị nội bộ và âm thầm tạo ra những bản cập nhật hệ thống không thể hoàn tác."
-t MSG_364 "Tự động tạo một tài khoản nội bộ với tên người dùng đã nêu, cùng một mật khẩu rỗng sẽ cần phải thay đổi trong lần đăng nhập tiếp theo."
-t MSG_365 "Sao chép những cài đặt về vùng từ PC này (bàn phím, múi giờ, đơn vị), thay vì thông báo cho người dùng."
-t MSG_366 "Không mã hoá ổ đĩa hệ thống, trừ khi được người dùng đích danh yêu cầu."
-t MSG_367 "Chỉ sử dụng tuỳ chọn này khi bạn biết S-Mode là gì và bạn hiểu rằng hệ thống của bạn có thể bị khoá ở S-Mode kể cả khi bạn xoá sạch và cài đặt lại Windows."
-t MSG_368 "Dùng tuỳ chọn này nếu hệ thống bạn muốn cài đặt Windows đang sử dụng những chứng chỉ Secure Boot (chế độ khởi động bảo mật) mới nhất. Nếu cần thiết, bạn có thể tìm hiểu việc dùng 'Mosby' để cập nhật hệ thống của bạn."
-t MSG_369 "Dùng tuỳ chọn này nếu bạn muốn thu hồi những trình khởi động Windows có nguy cơ, nhưng cũng có khả năng ngăn ảnh đĩa Windows cơ bản khởi động."
-t MSG_370 "Những nâng cấp \"tiện ích trải nghiệm\": Vô hiệu hoá đa số những tính năng không mong muốn Microsoft đang cố nhồi nhét cho người dùng."
-t MSG_371 "Nếu bạn sử dụng tuỳ chọn này, hãy chắc chắn rằng bạn đã ngắt kết nối tất cả các ổ đĩa khỏi PC đích, ngoại trừ ổ bạn muốn cài Windows, cũng như là không cắm ảnh đĩa vào bất kì PC nào bạn không muốn xoá sạch."
-t MSG_900 "Rufus là một tiện ích giúp định dạng và tạo khả năng khởi động cho các thiết bị USB, ví dụ như thẻ USB/đĩa di động, thẻ nhớ, v.v..."
+t MSG_900 "Rufus là một tiện ích giúp định dạng và tạo khả năng khởi động cho USB, chẳng hạn như thẻ USB/đĩa di động, thẻ nhớ, vv."
t MSG_901 "Trang web chính thức: %s"
t MSG_902 "Mã nguồn: %s"
t MSG_903 "Nhật ký thay đổi: %s"
diff --git a/res/loc/translation_check.py b/res/loc/translation_check.py
new file mode 100644
index 00000000..a41d4613
--- /dev/null
+++ b/res/loc/translation_check.py
@@ -0,0 +1,181 @@
+#! /usr/bin/env python3
+# -*- coding=utf-8 -*-
+
+# LIMITATIONS
+# this script was written as fast as possible so it is broken/minimalistic:
+# it assumes the first language in rufus.loc in English
+# written for 1.0.23, things may have changes since then
+# horrible code below
+# in multiline messages checks only first one if is the same as in English (should be enough for now)
+
+import sys
+# regex
+import re
+# splitting by "quotes"
+import shlex
+# pretty print for debug
+import pprint
+
+# global variables, I'm no python expert so I'll just dump everything here
+languages = []
+unavailable = []
+untranslated = []
+version = "0.0.0"
+ignored_messages = ['IDOK', 'MSG_020', 'MSG_021', 'MSG_022', 'MSG_023', 'MSG_024', 'MSG_025', 'MSG_026', 'MSG_027', 'MSG_028', 'MSG_118']
+
+class Language:
+ code = "xx-XX"
+ name = "None"
+ version = "0.0.0"
+ base = "en-US"
+ groups = {}
+ #{ "group" => { "MNEMONIC => "transl" }, group2 = (...) }
+ def __init__(self):
+ self.groups = {}
+
+ def get_current_group(self):
+ if len(self.groups) > 0:
+ return list(self.groups.keys())[len(self.groups)-1]
+ else:
+ return "none"
+ def get_current_message(self):
+ current_group = self.get_current_group()
+ if len(self.groups[current_group]) > 0:
+ return list(self.groups[current_group].keys())[len(self.groups[current_group])-1]
+ else:
+ return "none"
+
+
+def print_no_new(data):
+ print(data, end="")
+
+def load_languages():
+ print_no_new("loading rufus.loc file...\t")
+ sys.stdout.flush()
+ #load file
+ lines = [line.strip() for line in open("rufus.loc", "r", encoding="utf8")]
+
+ # remove comments
+ #TODO properly remove comments, now it'll break messages with "#" in them, I just assumes there aren't any
+ #lines = [re.sub(re.compile("#(.*)?" ) ,"" ,line) for line in lines]
+ # remove empty lines
+ #lines = filter(None, lines)
+
+ i = -1
+ exceptions = []
+ for index, line in enumerate(lines):
+ try:
+ if line != "" and line[0] != "#":
+ if line[0] == "l":
+ #this is language declaration
+ i += 1
+ temp_language = Language()
+ temp_language.name = shlex.split(line)[2]
+ temp_language.code = shlex.split(line)[1]
+ languages.append(temp_language)
+ # print("current language: "+languages[i].name)
+
+ elif line[0] == "v":
+ #this is language declaration
+ version = line.split(" ")[1]
+ languages[i].version = line.split(" ")[1]
+ elif line[0] == "b":
+ languages[i].base = shlex.split(line)[1]
+ if line != "b \"en-US\"":
+ print(languages[i].name + " is based on another translation: " + languages[i].base)
+ elif line[0] == "g":
+ languages[i].groups[shlex.split(line)[1]] = {}
+ # print("current group: "+languages[i].get_current_group())
+ elif line[0] == "t":
+ pass
+ try:
+ temp_translation = shlex.split(line) #errors
+ except ValueError as err:
+ exceptions.append(str(err)+" in line "+ str(index+1)+": "+line)
+ languages[i].groups[languages[i].get_current_group()][temp_translation[1]] = temp_translation[2]
+ #print("cur transl: "+languages[i].get_current_message())
+ elif line[0] == "\"":
+ pass
+ elif line[0] == "a":
+ pass #only RTL indication as for now
+ else:
+ raise Exception("unknown line "+str(index+1)+ ": "+line)
+ except Exception as error:
+ exceptions.append("Error: "+ repr(error))
+
+
+ if len(exceptions) > 0:
+ print("[WARNING]")
+ print("\n".join(exceptions))
+ else:
+ print("[OK]")
+ print()
+ print ("Found " + str(len(languages)) + " languages")
+ version = languages[0].version
+ print("Assuming " + version + " is the latest version. Only languages with this version will be checked...")
+ #comment if you want to check every single language, not only newest versions
+ languages[:] = [language for language in languages if language.version==version]
+ print (str(len(languages)) + " languages in " + languages[0].version + " version:")
+ print ("\n".join(language.name for language in languages))
+ print()
+
+def check_unavailable():
+ print_no_new("Checking for possible missing messages...\t")
+ sys.stdout.flush()
+ #for groups in english
+ #every lang
+ #does group exist
+ #for strings in groups
+ #does it exist
+ for group in languages[0].groups:
+ for language in languages[1::]:
+ if group not in language.groups:
+ unavailable.append("Language " + language.name + " is missing group '" + group + "'")
+ else:
+ for string in languages[0].groups[group]:
+ if string not in language.groups[group] and string not in ignored_messages:
+ unavailable.append("Language " + language.name + " is missing message '" + string + "'")
+ # print output
+ if len(unavailable) > 0:
+ print("[WARNING]")
+ print("Possible missing messages:")
+ print("\n".join(unavailable))
+ else:
+ print("[OK]")
+ print()
+
+def check_untranslated():
+ print_no_new("Checking for possible untranslated messages...\t")
+ sys.stdout.flush()
+ #evyerything but english
+ #for group
+ #for string
+ #transl==english?
+ for language in languages[1::]:
+ for group in language.groups:
+ for string in language.groups[group]:
+ try:
+ if language.groups[group][string] == languages[0].groups[group][string] and string not in ignored_messages:
+ untranslated.append("Language " + language.name + ": message '" + string + "' has the same translation as English")
+ except KeyError as error:
+ untranslated.append("Language " + language.name + ": message '" + string + "' doesn't exist in English")
+ # print output
+ if len(untranslated) > 0:
+ print("[WARNING]")
+ print("Possible untranslated messages:")
+ print("\n".join(untranslated))
+ else:
+ print("[OK]")
+ print()
+
+def main():
+ print("Rufus translation helper tool, proof of concept/MVP")
+ load_languages()
+ #pp = pprint.PrettyPrinter(indent=4)
+ #pp.pprint(languages[2].groups)
+ check_unavailable()
+ check_untranslated()
+
+#load main only in ran as stand-alone script
+if __name__ == "__main__":
+ main()
diff --git a/res/mbr/mbr.S b/res/mbr/mbr.S
index 312fa471..746eb2b2 100644
--- a/res/mbr/mbr.S
+++ b/res/mbr/mbr.S
@@ -67,9 +67,9 @@ mbr:
push es
mov ds, ax # Original MBR is in segment 0
mov bx, 0x0413 # McAfee thinks we are a virus if we use 413 directly...
- mov ax,ds:[bx]
+ mov ax,[bx]
dec ax # Remove 1KB from the RAM for our copy
- mov ds:[bx],ax
+ mov [bx],ax
shl ax, 6 # Convert to segment address
sub ax, MBR_ADDR>>4 # For convenience of disassembly, so that irrespective
mov es, ax # of the segment, our base address remains MBR_ADDR
diff --git a/res/md5/bootloongarch64.efi b/res/md5/bootloongarch64.efi
deleted file mode 100644
index 0a06b633..00000000
Binary files a/res/md5/bootloongarch64.efi and /dev/null differ
diff --git a/res/scripts/loadcfg.py b/res/scripts/loadcfg.py
deleted file mode 100644
index 4476c150..00000000
--- a/res/scripts/loadcfg.py
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/env python3
-
-# PE Load Configuration section enabler for MinGW/gcc executables.
-# The PE executable should have a IMAGE_LOAD_CONFIG_DIRECTORY## section
-# in .rdata with a 16-byte IMAGE_DIRECTORY_ENTRY_MARKER marker.
-
-import os
-import sys
-import pefile
-
-IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG = 10
-IMAGE_DIRECTORY_ENTRY_MARKER = b"_RUFUS_LOAD_CFG"
-
-if len(sys.argv) < 2:
- raise RuntimeError("No executable path supplied")
-
-# Create a temp file as our source
-pe_dst = sys.argv[1]
-pe_src = sys.argv[1] + ".tmp"
-os.replace(pe_dst, pe_src)
-
-# Open and parse PE
-pe = pefile.PE(pe_src)
-
-# Find .rdata section
-rdata_section = next(
- (s for s in pe.sections if s.Name.rstrip(b'\x00') == b'.rdata'),
- None
-)
-if not rdata_section:
- raise RuntimeError(".rdata section not found")
-
-# Read the section's raw data to search for the target string
-raw_data = rdata_section.get_data()
-
-# Look for the target data in the raw section data
-offset = raw_data.find(IMAGE_DIRECTORY_ENTRY_MARKER)
-if offset == -1:
- raise RuntimeError("Load Config marker not found")
-
-# Move past our 16 bytes marker
-offset += 0x10
-# Calculate the RVA and size of the Load Config section
-load_config_rva = rdata_section.VirtualAddress + offset
-print(f"RVA of Load Config: 0x{load_config_rva:X}")
-load_config_size = pe.get_dword_at_rva(load_config_rva)
-if (load_config_size < 0x20):
- raise RuntimeError("Size of Load Config section is too small")
-print(f"Size of Load Config: 0x{load_config_size:X}")
-
-# Update Load Config directory entry
-pe.OPTIONAL_HEADER.DATA_DIRECTORY[IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG].VirtualAddress = load_config_rva
-pe.OPTIONAL_HEADER.DATA_DIRECTORY[IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG].Size = load_config_size
-
-# Update the checksum
-pe.OPTIONAL_HEADER.CheckSum = pe.generate_checksum()
-
-# Write the updated PE file and remove temp
-pe.write(pe_dst)
-os.remove(pe_src)
-
-# Can be validated with `DUMPBIN /LOADCONFIG <.exe>` or `objdump -x <.exe> | grep "Load Configuration"`
-print(f"Successfully enabled Load Config section in '{pe_dst}'")
diff --git a/res/setup/.editorconfig b/res/setup/.editorconfig
deleted file mode 100644
index 12383cac..00000000
--- a/res/setup/.editorconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-# indicate this is the root of the project
-root = true
-
-[*]
-indent_style = tab
-indent_size = 4
-trim_trailing_whitespace = true
-insert_final_newline = true
-charset = utf-8
diff --git a/res/setup/readme.txt b/res/setup/readme.txt
deleted file mode 100644
index 5faef42d..00000000
--- a/res/setup/readme.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-Rufus: The Reliable USB Formatting Utility - Windows 11 Setup wrapper
-
-# Description
-
-This small executable aims at solving the issue of Windows 11 24H2 having made the
-bypass requirements for in-place upgrades more difficult to enact.
-
-Basically, per https://github.com/pbatard/rufus/issues/2568#issuecomment-2387934171,
-and if the user chose to apply the hardware requirement bypasses in Rufus, you want
-to apply a set of registry key creation and deletion *before* setup.exe is run.
-
-While we could obviously provide a simple batch file to accomplish this, the fact
-that the registry commands require elevation, combined with expectations of just
-being able double click setup.exe to upgrade makes us want to accomplish this in
-a more user-friendly manner.
-
-Our solution then is to have Rufus rename the original 'setup.exe' to 'setup.dll'
-insert a small 'setup.exe' that'll perform elevation, add the registry key, and
-launch the original setup, which is exactly what this project does.
-
-Oh and it should be noted that, the issues you might see with Setup not restarting
-in the foreground after it updates, or not being able to launch at all for a while
-if you happen to cancel before starting the installation, have *NOTHING* to do with
-using this setup wrapper, but come from Microsoft themselves. You can validate that
-these issues exist even when running setup.exe without the wrapper...
-
-# Security considerations
-
-Obviously, the fact that we "inject" a setup executable may leave people uncomfortable
-about the possibility that we might use this as a malware vector, which is also why we
-make sure that the one we sign and embed in Rufus does get built using GitHub Actions
-and can be validated to not have been tampered through SHA-256 validation (Since we
-produce SHA-256 hashes during the build process per:
-https://github.com/pbatard/rufus/blob/master/.github/workflows/setup.yml).
-
-Per the https://github.com/pbatard/rufus/actions/runs/16191913388 GitHub Actions
-workflow run, the SHA-256 for the executables (before signature was applied) were:
-* f8e1c7c5f1297be7a76d73567d4d82f61bb20c2e5c86d2a2f8d2e5961751d658 *./setup_x64.exe
-* e6ff77b859231cc58c872c7b14ce9def73244641e487bbb074d3a759bdfcbc8d *./setup_arm64.exe
-
-You will also find the VirusTotal reports for the current signed executable at:
-* https://www.virustotal.com/gui/file/11df838dc69378187e1e1aaf32d34384157642d07096c6e49c1d0e7375634544/detection
-* https://www.virustotal.com/gui/file/14bd07f559513890a0f6565df3927392b4fe6b8e6fc3f5e832e9d69c8b7bb7eb/detection
diff --git a/res/setup/resource.h b/res/setup/resource.h
deleted file mode 100644
index 75aac6a4..00000000
--- a/res/setup/resource.h
+++ /dev/null
@@ -1,16 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by setup.rc
-//
-#define IDI_ICON 101
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 102
-#define _APS_NEXT_COMMAND_VALUE 40001
-#define _APS_NEXT_CONTROL_VALUE 1000
-#define _APS_NEXT_SYMED_VALUE 101
-#endif
-#endif
diff --git a/res/setup/setup.c b/res/setup/setup.c
deleted file mode 100644
index c81d29c0..00000000
--- a/res/setup/setup.c
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- * Setup - Wrapper around Microsoft's setup.exe that adds registry
- * bypasses for in-place Windows 11 upgrade.
- *
- * Copyright © 2024 Pete Batard
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-#define WIN32_LEAN_AND_MEAN
-#include
-#include
-#include
-
-static BOOL RegDeleteNodeRecurse(HKEY hKeyRoot, CHAR* lpSubKey)
-{
- CHAR* lpEnd;
- LONG lResult;
- DWORD dwSize;
- CHAR szName[MAX_PATH];
- HKEY hKey;
- FILETIME ftWrite;
-
- // First, see if we can delete the key without having to recurse.
- if (RegDeleteKeyA(hKeyRoot, lpSubKey) == ERROR_SUCCESS)
- return TRUE;
-
- lResult = RegOpenKeyExA(hKeyRoot, lpSubKey, 0, KEY_READ, &hKey);
- if (lResult != ERROR_SUCCESS)
- return (lResult == ERROR_FILE_NOT_FOUND);
-
- // Check for an ending slash and add one if it is missing.
- lpEnd = lpSubKey + strlen(lpSubKey);
- if (*(lpEnd - 1) != '\\') {
- *lpEnd++ = '\\';
- *lpEnd = '\0';
- }
-
- // Enumerate the keys
- dwSize = MAX_PATH;
- if (RegEnumKeyExA(hKey, 0, szName, &dwSize, NULL, NULL, NULL, &ftWrite) == ERROR_SUCCESS) {
- do {
- *lpEnd = '\0';
- strcat_s(lpSubKey, MAX_PATH, szName);
- if (!RegDeleteNodeRecurse(hKeyRoot, lpSubKey))
- break;
- dwSize = MAX_PATH;
- lResult = RegEnumKeyExA(hKey, 0, szName, &dwSize, NULL, NULL, NULL, &ftWrite);
- } while (lResult == ERROR_SUCCESS);
- }
-
- *--lpEnd = '\0';
- RegCloseKey(hKey);
-
- // Try again to delete the key.
- return (RegDeleteKeyA(hKeyRoot, lpSubKey) == ERROR_SUCCESS);
-}
-
-static BOOL RegDeleteNode(HKEY hKeyRoot, CHAR* lpSubKey)
-{
- CHAR szDelKey[MAX_PATH];
-
- strcpy_s(szDelKey, MAX_PATH, lpSubKey);
- return RegDeleteNodeRecurse(hKeyRoot, szDelKey);
-}
-
-static BOOL RegWriteKey(HKEY hKeyRoot, CHAR* lpKeyParent, CHAR* lpKeyName, DWORD dwType, LPBYTE lpData, DWORD dwDataSize)
-{
- BOOL r = FALSE;
- HKEY hRoot = NULL, hApp = NULL;
- DWORD dwDisp;
- HKEY hKey;
-
- if (RegCreateKeyExA(hKeyRoot, lpKeyParent, 0, NULL, 0, KEY_SET_VALUE | KEY_QUERY_VALUE, NULL, &hKey, &dwDisp) != ERROR_SUCCESS)
- return FALSE;
-
- r = (RegSetValueExA(hKey, lpKeyName, 0, dwType, lpData, dwDataSize) == ERROR_SUCCESS);
- RegCloseKey(hKey);
-
- return r;
-}
-
-int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
-{
- CHAR lpBypasses[] = "SQ_SecureBootCapable=TRUE\0SQ_SecureBootEnabled=TRUE\0SQ_TpmVersion=2\0SQ_RamMB=8192\0";
- DWORD dwUpgrade = 1, dwAttrib;
- STARTUPINFOA si = { 0 };
- PROCESS_INFORMATION pi = { 0 };
- SECURITY_ATTRIBUTES sa = { sizeof(SECURITY_ATTRIBUTES), NULL, TRUE };
- WCHAR *wc, wPath[MAX_PATH] = { 0 };
-
- // If invoked from a different directory, cd to where this executable resides
- if (GetModuleFileName(NULL, wPath, ARRAYSIZE(wPath)) != 0 && (wc = wcsrchr(wPath, L'\\')) != NULL) {
- *wc = L'\0';
- SetCurrentDirectory(wPath);
- }
-
- // Make sure we have 'setup.dll' in the same directory
- dwAttrib = GetFileAttributesA("setup.dll");
- if (dwAttrib == INVALID_FILE_ATTRIBUTES || dwAttrib & FILE_ATTRIBUTE_DIRECTORY)
- MessageBoxA(NULL, "ERROR: 'setup.dll' was not found", "Windows setup error", MB_OK | MB_ICONWARNING);
-
- // Apply the registry bypasses to enable Windows 11 24H2 in-place upgrade. Credits to:
- // https://forums.mydigitallife.net/threads/win-11-boot-and-upgrade-fix-kit-v5-0-released.83724/
- RegDeleteNode(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\CompatMarkers");
- RegDeleteNode(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Shared");
- RegDeleteNode(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\TargetVersionUpgradeExperienceIndicators");
- RegWriteKey(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\HwReqChk",
- "HwReqChkVars", REG_MULTI_SZ, lpBypasses, sizeof(lpBypasses));
- RegWriteKey(HKEY_LOCAL_MACHINE, "SYSTEM\\Setup\\MoSetup", "AllowUpgradesWithUnsupportedTPMOrCPU",
- REG_DWORD, (LPBYTE)&dwUpgrade, sizeof(dwUpgrade));
-
- // Launch the original 'setup.exe' (that was renamed to 'setup.dll')
- si.cb = sizeof(si);
- si.dwFlags = STARTF_USESHOWWINDOW;
- si.wShowWindow = SW_SHOWNORMAL;
- CreateProcessA("setup.dll", lpCmdLine, NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &si, &pi);
- CloseHandle(pi.hProcess);
- CloseHandle(pi.hThread);
-
- return GetLastError();
-}
diff --git a/res/setup/setup.rc b/res/setup/setup.rc
deleted file mode 100644
index 0be07642..00000000
--- a/res/setup/setup.rc
+++ /dev/null
@@ -1,116 +0,0 @@
-// Microsoft Visual C++ generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#ifndef _USING_V110_SDK71_
-#define _USING_V110_SDK71_
-#endif
-#include
-#ifndef IDC_STATIC
-#define IDC_STATIC -1
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (Neutral) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
-LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
-#pragma code_page(1252)
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_ICON ICON "../icons/setup.ico"
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,0,0,1
- PRODUCTVERSION 1,0,0,1
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x40004L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "000004b0"
- BEGIN
- VALUE "CompanyName", "Akeo Consulting"
- VALUE "FileDescription", "Windows Setup Wrapper"
- VALUE "FileVersion", "1.0"
- VALUE "InternalName", "Setup"
- VALUE "LegalCopyright", " 2024 Pete Batard (GPL v3)"
- VALUE "LegalTrademarks", "https://rufus.ie/setup"
- VALUE "OriginalFilename", "setup.exe"
- VALUE "ProductName", "Setup"
- VALUE "ProductVersion", "1.0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x0, 1200
- END
-END
-
-#endif // English (Neutral) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
diff --git a/res/setup/setup.sln b/res/setup/setup.sln
deleted file mode 100644
index dc034893..00000000
--- a/res/setup/setup.sln
+++ /dev/null
@@ -1,37 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.29926.136
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "setup", "setup.vcxproj", "{6C2BED99-5A0A-42A2-AEBE-66717FA92232}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|arm64 = Debug|arm64
- Debug|x64 = Debug|x64
- Debug|x86 = Debug|x86
- Release|arm64 = Release|arm64
- Release|x64 = Release|x64
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Debug|arm64.ActiveCfg = Debug|ARM64
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Debug|arm64.Build.0 = Debug|ARM64
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Debug|x64.ActiveCfg = Debug|x64
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Debug|x64.Build.0 = Debug|x64
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Debug|x86.ActiveCfg = Debug|Win32
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Debug|x86.Build.0 = Debug|Win32
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Release|arm64.ActiveCfg = Release|ARM64
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Release|arm64.Build.0 = Release|ARM64
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Release|x64.ActiveCfg = Release|x64
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Release|x64.Build.0 = Release|x64
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Release|x86.ActiveCfg = Release|Win32
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}.Release|x86.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {7994FC0C-9D7C-4AD7-855B-C3525FD8709A}
- EndGlobalSection
-EndGlobal
diff --git a/res/setup/setup.vcxproj b/res/setup/setup.vcxproj
deleted file mode 100644
index b4043bc7..00000000
--- a/res/setup/setup.vcxproj
+++ /dev/null
@@ -1,272 +0,0 @@
-
-
-
-
- Debug
- ARM64
-
-
- Debug
- Win32
-
-
- Release
- ARM64
-
-
- Release
- Win32
-
-
- Debug
- x64
-
-
- Release
- x64
-
-
-
- 16.0
- {6C2BED99-5A0A-42A2-AEBE-66717FA92232}
- Win32Proj
- baseconsole
-
-
-
- Application
- true
- Unicode
- v143
-
-
- Application
- false
- true
- Unicode
- v143
-
-
- Application
- true
- Unicode
- v143
-
-
- Application
- true
- Unicode
- v143
-
-
- Application
- false
- true
- Unicode
- v143
-
-
- Application
- false
- true
- Unicode
- v143
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>10.0.30319.1
- $(SolutionDir)arm64\$(Configuration)\
- $(SolutionDir)arm64\$(Configuration)\$(ProjectName)\
- $(SolutionDir)arm64\$(Configuration)\
- $(SolutionDir)arm64\$(Configuration)\$(ProjectName)\
- $(SolutionDir)x86\$(Configuration)\
- $(SolutionDir)x86\$(Configuration)\$(ProjectName)\
- $(SolutionDir)x86\$(Configuration)\
- $(SolutionDir)x86\$(Configuration)\$(ProjectName)\
- $(SolutionDir)x64\$(Configuration)\
- $(SolutionDir)x64\$(Configuration)\$(ProjectName)\
- $(SolutionDir)x64\$(Configuration)\
- $(SolutionDir)x64\$(Configuration)\$(ProjectName)\
- false
- false
- false
- false
- false
- false
-
-
- true
-
-
- true
-
-
- true
-
-
- false
-
-
- false
-
-
- false
-
-
-
- /DAPP_VERSION=$(AppVersion) %(AdditionalOptions)
-
-
-
-
- /DAPP_FILE_VERSION=$(AppFileVersion) %(AdditionalOptions)
-
-
-
-
- /DAPP_COMMENTS="$(AppComments)" %(AdditionalOptions)
-
-
-
-
- Level3
- WIN32;_DEBUG;%(PreprocessorDefinitions)
- false
- CompileAsC
- MultiThreadedDebug
-
-
-
-
- Windows
- true
- RequireAdministrator
-
-
-
-
- Level3
- _DEBUG;%(PreprocessorDefinitions)
- false
- CompileAsC
- MultiThreadedDebug
-
-
-
-
- Windows
- true
- RequireAdministrator
-
-
-
-
- Level3
- _DEBUG;%(PreprocessorDefinitions)
- false
- CompileAsC
- MultiThreadedDebug
-
-
-
-
- Windows
- true
- RequireAdministrator
-
-
-
-
- Level3
- WIN32;NDEBUG;%(PreprocessorDefinitions)
- false
- CompileAsC
- MultiThreaded
-
-
- MinSpace
- Size
-
-
- Windows
- true
- true
- true
- RequireAdministrator
-
-
-
-
- Level3
- NDEBUG;%(PreprocessorDefinitions)
- false
- CompileAsC
- MultiThreaded
-
-
- MinSpace
- Size
-
-
- Windows
- true
- true
- true
- RequireAdministrator
-
-
-
-
- Level3
- NDEBUG;%(PreprocessorDefinitions)
- false
- CompileAsC
- MultiThreaded
-
-
- MinSpace
- Size
-
-
- Windows
- true
- true
- true
- RequireAdministrator
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/setup/setup.vcxproj.filters b/res/setup/setup.vcxproj.filters
deleted file mode 100644
index 31d4927c..00000000
--- a/res/setup/setup.vcxproj.filters
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
- {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
- cpp;c;cc;cxx;c++;def;odl;idl;hpj;bat;asm;asmx
-
-
- {e9f75410-9e5d-4ea8-b75a-0c45bb23e331}
-
-
-
-
- Source Files
-
-
-
-
- Resources
-
-
-
-
- Source Files
-
-
-
\ No newline at end of file
diff --git a/res/setup/setup_arm64.exe b/res/setup/setup_arm64.exe
deleted file mode 100644
index 213a8166..00000000
Binary files a/res/setup/setup_arm64.exe and /dev/null differ
diff --git a/res/setup/setup_x64.exe b/res/setup/setup_x64.exe
deleted file mode 100644
index e3cca98a..00000000
Binary files a/res/setup/setup_x64.exe and /dev/null differ
diff --git a/res/uefi/readme.txt b/res/uefi/readme.txt
index bf8f3f26..c3ae32d7 100644
--- a/res/uefi/readme.txt
+++ b/res/uefi/readme.txt
@@ -13,11 +13,11 @@ o Secure Boot signed NTFS UEFI drivers, derived from ntfs-3g [1].
ARM driver (ntfs_arm.efi) is not Secure Boot signed.
o Non Secure Boot signed exFAT UEFI drivers from EfiFs [2].
- These drivers are the exact same as the binaries from EfiFs release 1.11 but,
+ These drivers are the exact same as the binaries from EfiFs release 1.9 but,
because they are licensed under GPLv3, cannot be Secure Boot signed.
o Secure Boot signed UEFI:NTFS bootloader binaries [3].
- These drivers are the exact same as the binaries from release 2.6, except for
+ These drivers are the exact same as the binaries from release 2.3, except for
the addition of Microsoft's Secure Boot signature.
Note that, per Microsoft's current Secure Boot signing policies, the 32-bit
ARM bootloader (bootarm.efi) is not Secure Boot signed.
@@ -25,12 +25,10 @@ o Secure Boot signed UEFI:NTFS bootloader binaries [3].
The above means that, if booting an NTFS partition on an x86_32, x86_64 or ARM64
system, Secure Boot does not need to be disabled.
-The FAT partition was created on Debian GNU/Linux using the following commands:
+The FAT partition was created on Debian GNU/Linux using the following commands
dd if=/dev/zero of=uefi-ntfs.img bs=512 count=2048
- chown 1000:100 uefi-ntfs.img
- mkfs.vfat -n RUFUS_BOOT uefi-ntfs.img
- mount -t vfat uefi-ntfs.img /mnt/hd -o rw,uid=1000,gid=100
-and then copying the relevant files.
+ mkfs.vfat -n UEFI_NTFS uefi-ntfs.img
+and then mounting the uefi-ntfs.img image and copying the relevant files.
[1] https://github.com/pbatard/ntfs-3g
[2] https://github.com/pbatard/efifs
diff --git a/res/uefi/uefi-ntfs.img b/res/uefi/uefi-ntfs.img
index d9ff7dc6..8ed9d212 100644
Binary files a/res/uefi/uefi-ntfs.img and b/res/uefi/uefi-ntfs.img differ
diff --git a/rufus.sln b/rufus.sln
index 26a77148..dddbacce 100644
--- a/rufus.sln
+++ b/rufus.sln
@@ -1,11 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.8.34330.188
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29215.179
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rufus", ".vs\rufus.vcxproj", "{731858A7-0303-4988-877B-9C0DD6471864}"
- ProjectSection(ProjectDependencies) = postProject
- {633CFC82-E01B-4777-BDE4-DC0739804332} = {633CFC82-E01B-4777-BDE4-DC0739804332}
- EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ms-sys", ".vs\ms-sys.vcxproj", "{2B1D078D-8EB4-4398-9CA4-23457265A7F6}"
EndProject
@@ -27,8 +24,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bled", ".vs\bled.vcxproj",
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ext2fs", ".vs\ext2fs.vcxproj", "{B01F5886-2B39-4B66-B65C-6427135B6A02}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wimlib", ".vs\wimlib.vcxproj", "{633CFC82-E01B-4777-BDE4-DC0739804332}"
-EndProject
+
+
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|arm = Debug|arm
@@ -217,22 +214,6 @@ Global
{B01F5886-2B39-4B66-B65C-6427135B6A02}.Release|x64.Build.0 = Release|x64
{B01F5886-2B39-4B66-B65C-6427135B6A02}.Release|x86.ActiveCfg = Release|Win32
{B01F5886-2B39-4B66-B65C-6427135B6A02}.Release|x86.Build.0 = Release|Win32
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Debug|arm.ActiveCfg = Debug|ARM
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Debug|arm.Build.0 = Debug|ARM
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Debug|arm64.ActiveCfg = Debug|ARM64
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Debug|arm64.Build.0 = Debug|ARM64
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Debug|x64.ActiveCfg = Debug|x64
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Debug|x64.Build.0 = Debug|x64
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Debug|x86.ActiveCfg = Debug|Win32
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Debug|x86.Build.0 = Debug|Win32
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Release|arm.ActiveCfg = Release|ARM
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Release|arm.Build.0 = Release|ARM
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Release|arm64.ActiveCfg = Release|ARM64
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Release|arm64.Build.0 = Release|ARM64
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Release|x64.ActiveCfg = Release|x64
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Release|x64.Build.0 = Release|x64
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Release|x86.ActiveCfg = Release|Win32
- {633CFC82-E01B-4777-BDE4-DC0739804332}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/src/Makefile.am b/src/Makefile.am
index e88ea327..6d3dc08a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,9 +1,11 @@
-SUBDIRS = ../.mingw bled ext2fs ms-sys syslinux/libfat syslinux/libinstaller syslinux/win libcdio/iso9660 libcdio/udf libcdio/driver wimlib ../res/loc
+SUBDIRS = ../.mingw bled ext2fs ms-sys syslinux/libfat syslinux/libinstaller syslinux/win libcdio/iso9660 libcdio/udf libcdio/driver ../res/loc
# As far as I can tell, the following libraries are *not* vulnerable to side-loading, so we link using their regular version:
-NONVULNERABLE_LIBS = -lole32 -lgdi32 -lshlwapi -lcomctl32 -luuid -lntdll
+NONVULNERABLE_LIBS = -lsetupapi -lole32 -lgdi32 -lshlwapi -lcrypt32 -lcomctl32 -luuid
# The following libraries are vulnerable (or have an unknown vulnerability status), so we link using our delay-loaded replacement:
+# Ideally there would also be virtdisk and wininet as delaylib's below, but the MinGW folks haven't quite sorted out delay-loading
+# for x86_32 so as soon as you try to call APIs from these, the application will crash!
# See https://github.com/pbatard/rufus/issues/2272
-VULNERABLE_LIBS = -lcrypt32-delaylib -ldwmapi-delaylib -lsetupapi-delaylib -luxtheme-delaylib -lversion-delaylib -lvirtdisk-delaylib -lwininet-delaylib -lwintrust-delaylib
+VULNERABLE_LIBS = -ldwmapi-delaylib -lversion-delaylib -lvirtdisk-delaylib -lwininet-delaylib -lwintrust-delaylib
noinst_PROGRAMS = rufus
@@ -15,10 +17,10 @@ AM_V_WINDRES = $(AM_V_WINDRES_$(V))
%_rc.o: %.rc ../res/loc/embedded.loc
$(AM_V_WINDRES) $(AM_RCFLAGS) -i $< -o $@
-rufus_SOURCES = badblocks.c darkmode.c dev.c dos.c dos_locale.c drive.c format.c format_ext.c format_fat32.c hash.c icon.c iso.c localization.c \
- net.c parser.c pki.c process.c cregex_compile.c cregex_parse.c cregex_vm.c rufus.c smart.c stdfn.c stdio.c stdlg.c syslinux.c ui.c vhd.c wue.c xml.c
-rufus_CFLAGS = -I$(srcdir)/ms-sys/inc -I$(srcdir)/syslinux/libfat -I$(srcdir)/syslinux/libinstaller -I$(srcdir)/syslinux/win -I$(srcdir)/libcdio -I$(srcdir)/wimlib -I$(srcdir)/../res $(AM_CFLAGS) \
- -DEXT2_FLAT_INCLUDES=0 -D_RUFUS -DSOLUTION=rufus
-rufus_LDFLAGS = $(AM_LDFLAGS) -mwindows -L../.mingw
+rufus_SOURCES = badblocks.c cpu.c dev.c dos.c dos_locale.c drive.c format.c format_ext.c format_fat32.c hash.c icon.c iso.c \
+ localization.c net.c parser.c pki.c process.c re.c rufus.c smart.c stdfn.c stdio.c stdlg.c syslinux.c ui.c vhd.c wue.c
+rufus_CFLAGS = -I$(srcdir)/ms-sys/inc -I$(srcdir)/syslinux/libfat -I$(srcdir)/syslinux/libinstaller -I$(srcdir)/syslinux/win -I$(srcdir)/libcdio $(AM_CFLAGS) \
+ -DEXT2_FLAT_INCLUDES=0 -DSOLUTION=rufus
+rufus_LDFLAGS = $(AM_LDFLAGS) -mwindows -L ../.mingw
rufus_LDADD = rufus_rc.o bled/libbled.a ext2fs/libext2fs.a ms-sys/libmssys.a syslinux/libfat/libfat.a syslinux/libinstaller/libinstaller.a syslinux/win/libwin.a \
- libcdio/iso9660/libiso9660.a libcdio/udf/libudf.a libcdio/driver/libdriver.a wimlib/libwim.a $(NONVULNERABLE_LIBS) $(VULNERABLE_LIBS)
+ libcdio/iso9660/libiso9660.a libcdio/udf/libudf.a libcdio/driver/libdriver.a $(NONVULNERABLE_LIBS) $(VULNERABLE_LIBS)
diff --git a/src/Makefile.in b/src/Makefile.in
index 317b9d3a..003ffb8e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -87,7 +87,7 @@ mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
PROGRAMS = $(noinst_PROGRAMS)
-am_rufus_OBJECTS = rufus-badblocks.$(OBJEXT) rufus-darkmode.$(OBJEXT) \
+am_rufus_OBJECTS = rufus-badblocks.$(OBJEXT) rufus-cpu.$(OBJEXT) \
rufus-dev.$(OBJEXT) rufus-dos.$(OBJEXT) \
rufus-dos_locale.$(OBJEXT) rufus-drive.$(OBJEXT) \
rufus-format.$(OBJEXT) rufus-format_ext.$(OBJEXT) \
@@ -95,21 +95,19 @@ am_rufus_OBJECTS = rufus-badblocks.$(OBJEXT) rufus-darkmode.$(OBJEXT) \
rufus-icon.$(OBJEXT) rufus-iso.$(OBJEXT) \
rufus-localization.$(OBJEXT) rufus-net.$(OBJEXT) \
rufus-parser.$(OBJEXT) rufus-pki.$(OBJEXT) \
- rufus-process.$(OBJEXT) rufus-cregex_compile.$(OBJEXT) \
- rufus-cregex_parse.$(OBJEXT) rufus-cregex_vm.$(OBJEXT) \
+ rufus-process.$(OBJEXT) rufus-re.$(OBJEXT) \
rufus-rufus.$(OBJEXT) rufus-smart.$(OBJEXT) \
rufus-stdfn.$(OBJEXT) rufus-stdio.$(OBJEXT) \
rufus-stdlg.$(OBJEXT) rufus-syslinux.$(OBJEXT) \
- rufus-ui.$(OBJEXT) rufus-vhd.$(OBJEXT) rufus-wue.$(OBJEXT) \
- rufus-xml.$(OBJEXT)
+ rufus-ui.$(OBJEXT) rufus-vhd.$(OBJEXT) rufus-wue.$(OBJEXT)
rufus_OBJECTS = $(am_rufus_OBJECTS)
am__DEPENDENCIES_1 =
rufus_DEPENDENCIES = rufus_rc.o bled/libbled.a ext2fs/libext2fs.a \
ms-sys/libmssys.a syslinux/libfat/libfat.a \
syslinux/libinstaller/libinstaller.a syslinux/win/libwin.a \
libcdio/iso9660/libiso9660.a libcdio/udf/libudf.a \
- libcdio/driver/libdriver.a wimlib/libwim.a \
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+ libcdio/driver/libdriver.a $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
rufus_LINK = $(CCLD) $(rufus_CFLAGS) $(CFLAGS) $(rufus_LDFLAGS) \
$(LDFLAGS) -o $@
AM_V_P = $(am__v_P_@AM_V@)
@@ -275,25 +273,27 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = ../.mingw bled ext2fs ms-sys syslinux/libfat syslinux/libinstaller syslinux/win libcdio/iso9660 libcdio/udf libcdio/driver wimlib ../res/loc
+SUBDIRS = ../.mingw bled ext2fs ms-sys syslinux/libfat syslinux/libinstaller syslinux/win libcdio/iso9660 libcdio/udf libcdio/driver ../res/loc
# As far as I can tell, the following libraries are *not* vulnerable to side-loading, so we link using their regular version:
-NONVULNERABLE_LIBS = -lole32 -lgdi32 -lshlwapi -lcomctl32 -luuid -lntdll
+NONVULNERABLE_LIBS = -lsetupapi -lole32 -lgdi32 -lshlwapi -lcrypt32 -lcomctl32 -luuid
# The following libraries are vulnerable (or have an unknown vulnerability status), so we link using our delay-loaded replacement:
+# Ideally there would also be virtdisk and wininet as delaylib's below, but the MinGW folks haven't quite sorted out delay-loading
+# for x86_32 so as soon as you try to call APIs from these, the application will crash!
# See https://github.com/pbatard/rufus/issues/2272
-VULNERABLE_LIBS = -lcrypt32-delaylib -ldwmapi-delaylib -lsetupapi-delaylib -luxtheme-delaylib -lversion-delaylib -lvirtdisk-delaylib -lwininet-delaylib -lwintrust-delaylib
+VULNERABLE_LIBS = -ldwmapi-delaylib -lversion-delaylib -lvirtdisk-delaylib -lwininet-delaylib -lwintrust-delaylib
AM_V_WINDRES_0 = @echo " RC $@";$(WINDRES)
AM_V_WINDRES_1 = $(WINDRES)
AM_V_WINDRES_ = $(AM_V_WINDRES_$(AM_DEFAULT_VERBOSITY))
AM_V_WINDRES = $(AM_V_WINDRES_$(V))
-rufus_SOURCES = badblocks.c darkmode.c dev.c dos.c dos_locale.c drive.c format.c format_ext.c format_fat32.c hash.c icon.c iso.c localization.c \
- net.c parser.c pki.c process.c cregex_compile.c cregex_parse.c cregex_vm.c rufus.c smart.c stdfn.c stdio.c stdlg.c syslinux.c ui.c vhd.c wue.c xml.c
+rufus_SOURCES = badblocks.c cpu.c dev.c dos.c dos_locale.c drive.c format.c format_ext.c format_fat32.c hash.c icon.c iso.c \
+ localization.c net.c parser.c pki.c process.c re.c rufus.c smart.c stdfn.c stdio.c stdlg.c syslinux.c ui.c vhd.c wue.c
-rufus_CFLAGS = -I$(srcdir)/ms-sys/inc -I$(srcdir)/syslinux/libfat -I$(srcdir)/syslinux/libinstaller -I$(srcdir)/syslinux/win -I$(srcdir)/libcdio -I$(srcdir)/wimlib -I$(srcdir)/../res $(AM_CFLAGS) \
- -DEXT2_FLAT_INCLUDES=0 -D_RUFUS -DSOLUTION=rufus
+rufus_CFLAGS = -I$(srcdir)/ms-sys/inc -I$(srcdir)/syslinux/libfat -I$(srcdir)/syslinux/libinstaller -I$(srcdir)/syslinux/win -I$(srcdir)/libcdio $(AM_CFLAGS) \
+ -DEXT2_FLAT_INCLUDES=0 -DSOLUTION=rufus
-rufus_LDFLAGS = $(AM_LDFLAGS) -mwindows -L../.mingw
+rufus_LDFLAGS = $(AM_LDFLAGS) -mwindows -L ../.mingw
rufus_LDADD = rufus_rc.o bled/libbled.a ext2fs/libext2fs.a ms-sys/libmssys.a syslinux/libfat/libfat.a syslinux/libinstaller/libinstaller.a syslinux/win/libwin.a \
- libcdio/iso9660/libiso9660.a libcdio/udf/libudf.a libcdio/driver/libdriver.a wimlib/libwim.a $(NONVULNERABLE_LIBS) $(VULNERABLE_LIBS)
+ libcdio/iso9660/libiso9660.a libcdio/udf/libudf.a libcdio/driver/libdriver.a $(NONVULNERABLE_LIBS) $(VULNERABLE_LIBS)
all: all-recursive
@@ -355,11 +355,11 @@ rufus-badblocks.o: badblocks.c
rufus-badblocks.obj: badblocks.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-badblocks.obj `if test -f 'badblocks.c'; then $(CYGPATH_W) 'badblocks.c'; else $(CYGPATH_W) '$(srcdir)/badblocks.c'; fi`
-rufus-darkmode.o: darkmode.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-darkmode.o `test -f 'darkmode.c' || echo '$(srcdir)/'`darkmode.c
+rufus-cpu.o: cpu.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-cpu.o `test -f 'cpu.c' || echo '$(srcdir)/'`cpu.c
-rufus-darkmode.obj: darkmode.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-darkmode.obj `if test -f 'darkmode.c'; then $(CYGPATH_W) 'darkmode.c'; else $(CYGPATH_W) '$(srcdir)/darkmode.c'; fi`
+rufus-cpu.obj: cpu.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-cpu.obj `if test -f 'cpu.c'; then $(CYGPATH_W) 'cpu.c'; else $(CYGPATH_W) '$(srcdir)/cpu.c'; fi`
rufus-dev.o: dev.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-dev.o `test -f 'dev.c' || echo '$(srcdir)/'`dev.c
@@ -451,23 +451,11 @@ rufus-process.o: process.c
rufus-process.obj: process.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-process.obj `if test -f 'process.c'; then $(CYGPATH_W) 'process.c'; else $(CYGPATH_W) '$(srcdir)/process.c'; fi`
-rufus-cregex_compile.o: cregex_compile.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-cregex_compile.o `test -f 'cregex_compile.c' || echo '$(srcdir)/'`cregex_compile.c
+rufus-re.o: re.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-re.o `test -f 're.c' || echo '$(srcdir)/'`re.c
-rufus-cregex_compile.obj: cregex_compile.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-cregex_compile.obj `if test -f 'cregex_compile.c'; then $(CYGPATH_W) 'cregex_compile.c'; else $(CYGPATH_W) '$(srcdir)/cregex_compile.c'; fi`
-
-rufus-cregex_parse.o: cregex_parse.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-cregex_parse.o `test -f 'cregex_parse.c' || echo '$(srcdir)/'`cregex_parse.c
-
-rufus-cregex_parse.obj: cregex_parse.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-cregex_parse.obj `if test -f 'cregex_parse.c'; then $(CYGPATH_W) 'cregex_parse.c'; else $(CYGPATH_W) '$(srcdir)/cregex_parse.c'; fi`
-
-rufus-cregex_vm.o: cregex_vm.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-cregex_vm.o `test -f 'cregex_vm.c' || echo '$(srcdir)/'`cregex_vm.c
-
-rufus-cregex_vm.obj: cregex_vm.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-cregex_vm.obj `if test -f 'cregex_vm.c'; then $(CYGPATH_W) 'cregex_vm.c'; else $(CYGPATH_W) '$(srcdir)/cregex_vm.c'; fi`
+rufus-re.obj: re.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-re.obj `if test -f 're.c'; then $(CYGPATH_W) 're.c'; else $(CYGPATH_W) '$(srcdir)/re.c'; fi`
rufus-rufus.o: rufus.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-rufus.o `test -f 'rufus.c' || echo '$(srcdir)/'`rufus.c
@@ -523,12 +511,6 @@ rufus-wue.o: wue.c
rufus-wue.obj: wue.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-wue.obj `if test -f 'wue.c'; then $(CYGPATH_W) 'wue.c'; else $(CYGPATH_W) '$(srcdir)/wue.c'; fi`
-rufus-xml.o: xml.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-xml.o `test -f 'xml.c' || echo '$(srcdir)/'`xml.c
-
-rufus-xml.obj: xml.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rufus_CFLAGS) $(CFLAGS) -c -o rufus-xml.obj `if test -f 'xml.c'; then $(CYGPATH_W) 'xml.c'; else $(CYGPATH_W) '$(srcdir)/xml.c'; fi`
-
# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
# To change the values of 'make' variables: instead of editing Makefiles,
diff --git a/src/badblocks.c b/src/badblocks.c
index b6847d0e..7a2a3d18 100644
--- a/src/badblocks.c
+++ b/src/badblocks.c
@@ -549,7 +549,7 @@ static unsigned int test_rw(HANDLE hDrive, blk64_t last_block, size_t block_size
if (memcmp(read_buffer + i * block_size,
buffer + i * block_size,
block_size)) {
- if_assert_fails(currently_testing * block_size < 1 * PB)
+ if_not_assert(currently_testing * block_size < 1 * PB)
goto out;
// coverity[overflow_const]
bb_count += bb_output(currently_testing+i-got, CORRUPTION_ERROR);
diff --git a/src/bled/Makefile.am b/src/bled/Makefile.am
index 23b00401..c4e7d800 100644
--- a/src/bled/Makefile.am
+++ b/src/bled/Makefile.am
@@ -2,9 +2,7 @@ noinst_LIBRARIES = libbled.a
libbled_a_SOURCES = bled.c crc32.c data_align.c data_extract_all.c data_skip.c decompress_bunzip2.c \
decompress_gunzip.c decompress_uncompress.c decompress_unlzma.c decompress_unxz.c decompress_unzip.c \
- decompress_unzstd.c decompress_vtsi.c filter_accept_all.c filter_accept_list.c filter_accept_reject_list.c \
- find_list_entry.c fse_decompress.c header_list.c header_skip.c header_verbose_list.c huf_decompress.c \
- init_handle.c open_transformer.c seek_by_jump.c seek_by_read.c xz_dec_bcj.c xz_dec_lzma2.c xz_dec_stream.c \
- xxhash.c zstd_common.c zstd_decompress.c zstd_decompress_block.c zstd_ddict.c zstd_entropy_common.c \
- zstd_error_private.c
+ decompress_vtsi.c filter_accept_all.c filter_accept_list.c filter_accept_reject_list.c find_list_entry.c \
+ header_list.c header_skip.c header_verbose_list.c init_handle.c open_transformer.c \
+ seek_by_jump.c seek_by_read.c xz_dec_bcj.c xz_dec_lzma2.c xz_dec_stream.c
libbled_a_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/.. -Wno-undef -Wno-strict-aliasing
diff --git a/src/bled/Makefile.in b/src/bled/Makefile.in
index 7619dc50..7ca170f8 100644
--- a/src/bled/Makefile.in
+++ b/src/bled/Makefile.in
@@ -103,30 +103,21 @@ am_libbled_a_OBJECTS = libbled_a-bled.$(OBJEXT) \
libbled_a-decompress_unlzma.$(OBJEXT) \
libbled_a-decompress_unxz.$(OBJEXT) \
libbled_a-decompress_unzip.$(OBJEXT) \
- libbled_a-decompress_unzstd.$(OBJEXT) \
libbled_a-decompress_vtsi.$(OBJEXT) \
libbled_a-filter_accept_all.$(OBJEXT) \
libbled_a-filter_accept_list.$(OBJEXT) \
libbled_a-filter_accept_reject_list.$(OBJEXT) \
libbled_a-find_list_entry.$(OBJEXT) \
- libbled_a-fse_decompress.$(OBJEXT) \
libbled_a-header_list.$(OBJEXT) \
libbled_a-header_skip.$(OBJEXT) \
libbled_a-header_verbose_list.$(OBJEXT) \
- libbled_a-huf_decompress.$(OBJEXT) \
libbled_a-init_handle.$(OBJEXT) \
libbled_a-open_transformer.$(OBJEXT) \
libbled_a-seek_by_jump.$(OBJEXT) \
libbled_a-seek_by_read.$(OBJEXT) \
libbled_a-xz_dec_bcj.$(OBJEXT) \
libbled_a-xz_dec_lzma2.$(OBJEXT) \
- libbled_a-xz_dec_stream.$(OBJEXT) libbled_a-xxhash.$(OBJEXT) \
- libbled_a-zstd_common.$(OBJEXT) \
- libbled_a-zstd_decompress.$(OBJEXT) \
- libbled_a-zstd_decompress_block.$(OBJEXT) \
- libbled_a-zstd_ddict.$(OBJEXT) \
- libbled_a-zstd_entropy_common.$(OBJEXT) \
- libbled_a-zstd_error_private.$(OBJEXT)
+ libbled_a-xz_dec_stream.$(OBJEXT)
libbled_a_OBJECTS = $(am_libbled_a_OBJECTS)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
@@ -278,11 +269,9 @@ top_srcdir = @top_srcdir@
noinst_LIBRARIES = libbled.a
libbled_a_SOURCES = bled.c crc32.c data_align.c data_extract_all.c data_skip.c decompress_bunzip2.c \
decompress_gunzip.c decompress_uncompress.c decompress_unlzma.c decompress_unxz.c decompress_unzip.c \
- decompress_unzstd.c decompress_vtsi.c filter_accept_all.c filter_accept_list.c filter_accept_reject_list.c \
- find_list_entry.c fse_decompress.c header_list.c header_skip.c header_verbose_list.c huf_decompress.c \
- init_handle.c open_transformer.c seek_by_jump.c seek_by_read.c xz_dec_bcj.c xz_dec_lzma2.c xz_dec_stream.c \
- xxhash.c zstd_common.c zstd_decompress.c zstd_decompress_block.c zstd_ddict.c zstd_entropy_common.c \
- zstd_error_private.c
+ decompress_vtsi.c filter_accept_all.c filter_accept_list.c filter_accept_reject_list.c find_list_entry.c \
+ header_list.c header_skip.c header_verbose_list.c init_handle.c open_transformer.c \
+ seek_by_jump.c seek_by_read.c xz_dec_bcj.c xz_dec_lzma2.c xz_dec_stream.c
libbled_a_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/.. -Wno-undef -Wno-strict-aliasing
all: all-am
@@ -406,12 +395,6 @@ libbled_a-decompress_unzip.o: decompress_unzip.c
libbled_a-decompress_unzip.obj: decompress_unzip.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-decompress_unzip.obj `if test -f 'decompress_unzip.c'; then $(CYGPATH_W) 'decompress_unzip.c'; else $(CYGPATH_W) '$(srcdir)/decompress_unzip.c'; fi`
-libbled_a-decompress_unzstd.o: decompress_unzstd.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-decompress_unzstd.o `test -f 'decompress_unzstd.c' || echo '$(srcdir)/'`decompress_unzstd.c
-
-libbled_a-decompress_unzstd.obj: decompress_unzstd.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-decompress_unzstd.obj `if test -f 'decompress_unzstd.c'; then $(CYGPATH_W) 'decompress_unzstd.c'; else $(CYGPATH_W) '$(srcdir)/decompress_unzstd.c'; fi`
-
libbled_a-decompress_vtsi.o: decompress_vtsi.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-decompress_vtsi.o `test -f 'decompress_vtsi.c' || echo '$(srcdir)/'`decompress_vtsi.c
@@ -442,12 +425,6 @@ libbled_a-find_list_entry.o: find_list_entry.c
libbled_a-find_list_entry.obj: find_list_entry.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-find_list_entry.obj `if test -f 'find_list_entry.c'; then $(CYGPATH_W) 'find_list_entry.c'; else $(CYGPATH_W) '$(srcdir)/find_list_entry.c'; fi`
-libbled_a-fse_decompress.o: fse_decompress.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-fse_decompress.o `test -f 'fse_decompress.c' || echo '$(srcdir)/'`fse_decompress.c
-
-libbled_a-fse_decompress.obj: fse_decompress.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-fse_decompress.obj `if test -f 'fse_decompress.c'; then $(CYGPATH_W) 'fse_decompress.c'; else $(CYGPATH_W) '$(srcdir)/fse_decompress.c'; fi`
-
libbled_a-header_list.o: header_list.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-header_list.o `test -f 'header_list.c' || echo '$(srcdir)/'`header_list.c
@@ -466,12 +443,6 @@ libbled_a-header_verbose_list.o: header_verbose_list.c
libbled_a-header_verbose_list.obj: header_verbose_list.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-header_verbose_list.obj `if test -f 'header_verbose_list.c'; then $(CYGPATH_W) 'header_verbose_list.c'; else $(CYGPATH_W) '$(srcdir)/header_verbose_list.c'; fi`
-libbled_a-huf_decompress.o: huf_decompress.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-huf_decompress.o `test -f 'huf_decompress.c' || echo '$(srcdir)/'`huf_decompress.c
-
-libbled_a-huf_decompress.obj: huf_decompress.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-huf_decompress.obj `if test -f 'huf_decompress.c'; then $(CYGPATH_W) 'huf_decompress.c'; else $(CYGPATH_W) '$(srcdir)/huf_decompress.c'; fi`
-
libbled_a-init_handle.o: init_handle.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-init_handle.o `test -f 'init_handle.c' || echo '$(srcdir)/'`init_handle.c
@@ -514,48 +485,6 @@ libbled_a-xz_dec_stream.o: xz_dec_stream.c
libbled_a-xz_dec_stream.obj: xz_dec_stream.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-xz_dec_stream.obj `if test -f 'xz_dec_stream.c'; then $(CYGPATH_W) 'xz_dec_stream.c'; else $(CYGPATH_W) '$(srcdir)/xz_dec_stream.c'; fi`
-libbled_a-xxhash.o: xxhash.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-xxhash.o `test -f 'xxhash.c' || echo '$(srcdir)/'`xxhash.c
-
-libbled_a-xxhash.obj: xxhash.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-xxhash.obj `if test -f 'xxhash.c'; then $(CYGPATH_W) 'xxhash.c'; else $(CYGPATH_W) '$(srcdir)/xxhash.c'; fi`
-
-libbled_a-zstd_common.o: zstd_common.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_common.o `test -f 'zstd_common.c' || echo '$(srcdir)/'`zstd_common.c
-
-libbled_a-zstd_common.obj: zstd_common.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_common.obj `if test -f 'zstd_common.c'; then $(CYGPATH_W) 'zstd_common.c'; else $(CYGPATH_W) '$(srcdir)/zstd_common.c'; fi`
-
-libbled_a-zstd_decompress.o: zstd_decompress.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_decompress.o `test -f 'zstd_decompress.c' || echo '$(srcdir)/'`zstd_decompress.c
-
-libbled_a-zstd_decompress.obj: zstd_decompress.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_decompress.obj `if test -f 'zstd_decompress.c'; then $(CYGPATH_W) 'zstd_decompress.c'; else $(CYGPATH_W) '$(srcdir)/zstd_decompress.c'; fi`
-
-libbled_a-zstd_decompress_block.o: zstd_decompress_block.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_decompress_block.o `test -f 'zstd_decompress_block.c' || echo '$(srcdir)/'`zstd_decompress_block.c
-
-libbled_a-zstd_decompress_block.obj: zstd_decompress_block.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_decompress_block.obj `if test -f 'zstd_decompress_block.c'; then $(CYGPATH_W) 'zstd_decompress_block.c'; else $(CYGPATH_W) '$(srcdir)/zstd_decompress_block.c'; fi`
-
-libbled_a-zstd_ddict.o: zstd_ddict.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_ddict.o `test -f 'zstd_ddict.c' || echo '$(srcdir)/'`zstd_ddict.c
-
-libbled_a-zstd_ddict.obj: zstd_ddict.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_ddict.obj `if test -f 'zstd_ddict.c'; then $(CYGPATH_W) 'zstd_ddict.c'; else $(CYGPATH_W) '$(srcdir)/zstd_ddict.c'; fi`
-
-libbled_a-zstd_entropy_common.o: zstd_entropy_common.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_entropy_common.o `test -f 'zstd_entropy_common.c' || echo '$(srcdir)/'`zstd_entropy_common.c
-
-libbled_a-zstd_entropy_common.obj: zstd_entropy_common.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_entropy_common.obj `if test -f 'zstd_entropy_common.c'; then $(CYGPATH_W) 'zstd_entropy_common.c'; else $(CYGPATH_W) '$(srcdir)/zstd_entropy_common.c'; fi`
-
-libbled_a-zstd_error_private.o: zstd_error_private.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_error_private.o `test -f 'zstd_error_private.c' || echo '$(srcdir)/'`zstd_error_private.c
-
-libbled_a-zstd_error_private.obj: zstd_error_private.c
- $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbled_a_CFLAGS) $(CFLAGS) -c -o libbled_a-zstd_error_private.obj `if test -f 'zstd_error_private.c'; then $(CYGPATH_W) 'zstd_error_private.c'; else $(CYGPATH_W) '$(srcdir)/zstd_error_private.c'; fi`
-
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-am
diff --git a/src/bled/bb_archive.h b/src/bled/bb_archive.h
index 36fca55c..5e059a5a 100644
--- a/src/bled/bb_archive.h
+++ b/src/bled/bb_archive.h
@@ -17,9 +17,6 @@ enum {
/* (unsigned) cast suppresses "integer overflow in expression" warning */
XZ_MAGIC1a = 256 * (unsigned)(256 * (256 * 0xfd + '7') + 'z') + 'X',
XZ_MAGIC2a = 256 * 'Z' + 0,
- ZSTD_MAGIC1 = 0x28B5,
- ZSTD_MAGIC2 = 0x2FFD,
- ZSTD_MAGIC = 0x28B52FFD,
#else
COMPRESS_MAGIC = 0x9d1f,
GZIP_MAGIC = 0x8b1f,
@@ -28,9 +25,6 @@ enum {
XZ_MAGIC2 = 'z' + ('X' + ('Z' + 0 * 256) * 256) * 256,
XZ_MAGIC1a = 0xfd + ('7' + ('z' + 'X' * 256) * 256) * 256,
XZ_MAGIC2a = 'Z' + 0 * 256,
- ZSTD_MAGIC1 = 0xB528,
- ZSTD_MAGIC2 = 0xFD2F,
- ZSTD_MAGIC = 0xFD2FB528,
#endif
};
@@ -296,7 +290,6 @@ IF_DESKTOP(long long) int unpack_bz2_stream(transformer_state_t *xstate) FAST_FU
IF_DESKTOP(long long) int unpack_lzma_stream(transformer_state_t *xstate) FAST_FUNC;
IF_DESKTOP(long long) int unpack_xz_stream(transformer_state_t *xstate) FAST_FUNC;
IF_DESKTOP(long long) int unpack_vtsi_stream(transformer_state_t *xstate) FAST_FUNC;
-IF_DESKTOP(long long) int unpack_zstd_stream(transformer_state_t *xstate) FAST_FUNC;
char* append_ext(char *filename, const char *expected_ext) FAST_FUNC;
int bbunpack(char **argv,
diff --git a/src/bled/bled.c b/src/bled/bled.c
index f73508e1..7d1c813c 100644
--- a/src/bled/bled.c
+++ b/src/bled/bled.c
@@ -1,7 +1,7 @@
/*
* Bled (Base Library for Easy Decompression)
*
- * Copyright © 2014-2024 Pete Batard
+ * Copyright © 2014-2023 Pete Batard
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
@@ -31,9 +31,7 @@ jmp_buf bb_error_jmp;
char* bb_virtual_buf = NULL;
size_t bb_virtual_len = 0, bb_virtual_pos = 0;
int bb_virtual_fd = -1;
-// ZSTD has a minimal buffer size of (1 << ZSTD_BLOCKSIZELOG_MAX) + ZSTD_blockHeaderSize = 128 KB + 3
-// So we set our bufsize to 256 KB
-uint32_t BB_BUFSIZE = 0x40000;
+uint32_t BB_BUFSIZE = 0x10000;
static long long int unpack_none(transformer_state_t *xstate)
{
@@ -51,7 +49,6 @@ unpacker_t unpacker[BLED_COMPRESSION_MAX] = {
unpack_xz_stream,
unpack_none,
unpack_vtsi_stream,
- unpack_zstd_stream,
};
/* Uncompress file 'src', compressed using 'type', to file 'dst' */
@@ -270,7 +267,7 @@ int64_t bled_uncompress_from_buffer_to_buffer(const char* src, const size_t src_
/* Initialize the library.
* When the parameters are not NULL or zero you can:
- * - specify the buffer size to use (must be larger than 256KB and a power of two)
+ * - specify the buffer size to use (must be larger than 64KB and a power of two)
* - specify the printf-like function you want to use to output message
* void print_function(const char* format, ...);
* - specify the read/write functions you want to use;
@@ -286,11 +283,11 @@ int bled_init(uint32_t buffer_size, printf_t print_function, read_t read_functio
if (bled_initialized)
return -1;
BB_BUFSIZE = buffer_size;
- /* buffer_size must be larger than 256 KB and a power of two */
- if (buffer_size < 0x40000 || (buffer_size & (buffer_size - 1)) != 0) {
+ /* buffer_size must be larger than 64 KB and a power of two */
+ if (buffer_size < 0x10000 || (buffer_size & (buffer_size - 1)) != 0) {
if (buffer_size != 0 && print_function != NULL)
print_function("bled_init: invalid buffer_size, defaulting to 64 KB");
- BB_BUFSIZE = 0x40000;
+ BB_BUFSIZE = 0x10000;
}
bled_printf = print_function;
bled_read = read_function;
diff --git a/src/bled/bled.h b/src/bled/bled.h
index 7a354cad..480498cf 100644
--- a/src/bled/bled.h
+++ b/src/bled/bled.h
@@ -1,7 +1,7 @@
/*
* Bled (Base Library for Easy Decompression)
*
- * Copyright © 2014-2024 Pete Batard
+ * Copyright © 2014-2015 Pete Batard
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
@@ -31,7 +31,6 @@ typedef enum {
BLED_COMPRESSION_XZ, // .xz
BLED_COMPRESSION_7ZIP, // .7z
BLED_COMPRESSION_VTSI, // .vtsi
- BLED_COMPRESSION_ZSTD, // .zst
BLED_COMPRESSION_MAX
} bled_compression_type;
diff --git a/src/bled/data_align.c b/src/bled/data_align.c
index f61fdd93..a6b84a44 100644
--- a/src/bled/data_align.c
+++ b/src/bled/data_align.c
@@ -2,6 +2,7 @@
/*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
#include "libbb.h"
#include "bb_archive.h"
diff --git a/src/bled/data_skip.c b/src/bled/data_skip.c
index 1a608227..588167f0 100644
--- a/src/bled/data_skip.c
+++ b/src/bled/data_skip.c
@@ -2,6 +2,7 @@
/*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
#include "libbb.h"
#include "bb_archive.h"
diff --git a/src/bled/decompress_bunzip2.c b/src/bled/decompress_bunzip2.c
index 7cb08f93..39ea43e7 100644
--- a/src/bled/decompress_bunzip2.c
+++ b/src/bled/decompress_bunzip2.c
@@ -163,7 +163,7 @@ static int get_next_block(bunzip_data *bd)
uint32_t *dbuf;
unsigned origPtr, t;
unsigned dbufCount, runPos;
- unsigned runCnt = 0; /* for compiler */
+ unsigned runCnt = 0; // runCnt; /* for compiler */
dbuf = bd->dbuf;
selectors = bd->selectors;
@@ -843,7 +843,7 @@ char* FAST_FUNC
unpack_bz2_data(const char *packed, int packed_len, int unpacked_len)
{
char *outbuf = NULL;
- bunzip_data *bd = NULL;
+ bunzip_data *bd;
int i;
jmp_buf jmpbuf;
diff --git a/src/bled/decompress_gunzip.c b/src/bled/decompress_gunzip.c
index beb7fb39..6f0ddcf9 100644
--- a/src/bled/decompress_gunzip.c
+++ b/src/bled/decompress_gunzip.c
@@ -1269,6 +1269,7 @@ unpack_gz_stream(transformer_state_t *xstate)
return -1;
}
to_read = -1;
+// bytebuffer_max = 0x8000;
bytebuffer = xmalloc(bytebuffer_max);
if (bytebuffer == NULL) {
bb_error_msg("alloc error");
diff --git a/src/bled/decompress_unxz.c b/src/bled/decompress_unxz.c
index 731a77e4..5178263d 100644
--- a/src/bled/decompress_unxz.c
+++ b/src/bled/decompress_unxz.c
@@ -11,6 +11,9 @@
#include "bb_archive.h"
#define XZ_EXTERN static
+// We get XZ_OPTIONS_ERROR in xz_dec_stream if this is not defined
+#define XZ_DEC_ANY_CHECK
+
#define XZ_BUFSIZE BB_BUFSIZE
#include "xz_dec_bcj.c"
@@ -86,7 +89,7 @@ IF_DESKTOP(long long) int FAST_FUNC unpack_xz_stream(transformer_state_t *xstate
#ifdef XZ_DEC_ANY_CHECK
if (ret == XZ_UNSUPPORTED_CHECK) {
-// bb_error_msg("unsupported check; not verifying file integrity");
+ bb_error_msg("unsupported check; not verifying file integrity");
continue;
}
#endif
diff --git a/src/bled/decompress_unzip.c b/src/bled/decompress_unzip.c
index ef8745a2..ad698352 100644
--- a/src/bled/decompress_unzip.c
+++ b/src/bled/decompress_unzip.c
@@ -17,6 +17,8 @@
# define dbg(...) ((void)0)
#endif
+#define xread safe_read
+
enum {
#if BB_BIG_ENDIAN
ZIP_FILEHEADER_MAGIC = 0x504b0304,
diff --git a/src/bled/decompress_unzstd.c b/src/bled/decompress_unzstd.c
deleted file mode 100644
index 894ad5cb..00000000
--- a/src/bled/decompress_unzstd.c
+++ /dev/null
@@ -1,141 +0,0 @@
-/* vi: set sw=4 ts=4: */
-/*
- * Glue for zstd decompression
- * Copyright (c) 2021 Norbert Lange
- * Copyright (c) 2024 Pete Batard
- *
- * Based on compress.c from the systemd project,
- * provided by Norbert Lange .
- * Which originally was copied from the streaming_decompression.c
- * example from the zstd project, written by Yann Collet
- *
- * Licensed under GPLv2 or later, see file LICENSE in this source tree.
- */
-
-#include "libbb.h"
-#include "bb_archive.h"
-#include "zstd_deps.h"
-#include "zstd_internal.h"
-
-ALWAYS_INLINE static size_t roundupsize(size_t size, size_t align)
-{
- return (size + align - 1U) & ~(align - 1);
-}
-
-ALWAYS_INLINE static IF_DESKTOP(long long) int
-unpack_zstd_stream_inner(transformer_state_t *xstate,
- ZSTD_DStream *dctx, void *out_buff)
-{
- const U32 zstd_magic = ZSTD_MAGIC;
- const size_t in_allocsize = roundupsize(ZSTD_DStreamInSize(), 1024),
- out_allocsize = roundupsize(ZSTD_DStreamOutSize(), 1024);
-
- IF_DESKTOP(long long int total = 0;)
- size_t last_result = ZSTD_error_maxCode + 1;
- ssize_t nwrote = 0;
- unsigned input_fixup;
- void *in_buff = (char *)out_buff + out_allocsize;
-
- memcpy(in_buff, &zstd_magic, 4);
- input_fixup = xstate->signature_skipped ? 4 : 0;
-
- /* This loop assumes that the input file is one or more concatenated
- * zstd streams. This example won't work if there is trailing non-zstd
- * data at the end, but streaming decompression in general handles this
- * case. ZSTD_decompressStream() returns 0 exactly when the frame is
- * completed, and doesn't consume input after the frame.
- */
- for (;;) {
- bool has_error = false;
- ZSTD_inBuffer input;
- ssize_t red;
-
- red = safe_read(xstate->src_fd, (char *)in_buff + input_fixup, (unsigned int)(in_allocsize - input_fixup));
- if (red < 0) {
- bb_perror_msg(bb_msg_read_error);
- return -1;
- }
- if (red == 0) {
- break;
- }
-
- input.src = in_buff;
- input.size = (size_t)red + input_fixup;
- input.pos = 0;
- input_fixup = 0;
-
- /* Given a valid frame, zstd won't consume the last byte of the
- * frame until it has flushed all of the decompressed data of
- * the frame. So input.pos < input.size means frame is not done
- * or there is still output available.
- */
- while (input.pos < input.size) {
- ZSTD_outBuffer output = { out_buff, out_allocsize, 0 };
- /* The return code is zero if the frame is complete, but
- * there may be multiple frames concatenated together.
- * Zstd will automatically reset the context when a
- * frame is complete. Still, calling ZSTD_DCtx_reset()
- * can be useful to reset the context to a clean state,
- * for instance if the last decompression call returned
- * an error.
- */
- last_result = ZSTD_decompressStream(dctx, &output, &input);
- if (ZSTD_isError(last_result)) {
- has_error = true;
- break;
- }
-
- nwrote = transformer_write(xstate, output.dst, output.pos);
- if (nwrote < 0 && nwrote != -ENOSPC) {
- has_error = true;
- break;
- }
- IF_DESKTOP(total = (nwrote == -ENOSPC) ? xstate->mem_output_size_max : total + output.pos);
- }
- if (has_error)
- break;
- }
-
- if (last_result != 0) {
- /* The last return value from ZSTD_decompressStream did not end
- * on a frame, but we reached the end of the file! We assume
- * this is an error, and the input was truncated.
- */
- if (last_result == ZSTD_error_maxCode + 1) {
- bb_simple_error_msg("could not read zstd data");
- } else {
-#if defined(ZSTD_STRIP_ERROR_STRINGS) && ZSTD_STRIP_ERROR_STRINGS == 1
- bb_error_msg("zstd decoder error: %u", (unsigned)last_result);
-#else
- bb_error_msg("zstd decoder error: %s", ZSTD_getErrorName(last_result));
-#endif
- }
- return -1;
- }
-
- return IF_DESKTOP(total) + 0;
-}
-
-IF_DESKTOP(long long) int FAST_FUNC
-unpack_zstd_stream(transformer_state_t *xstate)
-{
- const size_t in_allocsize = roundupsize(ZSTD_DStreamInSize(), 1024),
- out_allocsize = roundupsize(ZSTD_DStreamOutSize(), 1024);
-
- IF_DESKTOP(long long) int result;
- void *out_buff;
- ZSTD_DStream *dctx;
-
- dctx = ZSTD_createDStream();
- if (!dctx) {
- /* should be the only possibly reason of failure */
- bb_error_msg_and_die("memory exhausted");
- }
-
- out_buff = xmalloc(in_allocsize + out_allocsize);
-
- result = unpack_zstd_stream_inner(xstate, dctx, out_buff);
- free(out_buff);
- ZSTD_freeDStream(dctx);
- return result;
-}
diff --git a/src/bled/filter_accept_all.c b/src/bled/filter_accept_all.c
index 5a0ee9c6..c33f7d3e 100644
--- a/src/bled/filter_accept_all.c
+++ b/src/bled/filter_accept_all.c
@@ -4,6 +4,7 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
#include "libbb.h"
#include "bb_archive.h"
diff --git a/src/bled/filter_accept_list.c b/src/bled/filter_accept_list.c
index 32f80657..a2d4b23e 100644
--- a/src/bled/filter_accept_list.c
+++ b/src/bled/filter_accept_list.c
@@ -4,6 +4,7 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
#include "libbb.h"
#include "bb_archive.h"
diff --git a/src/bled/find_list_entry.c b/src/bled/find_list_entry.c
index 48f3462d..21034dbf 100644
--- a/src/bled/find_list_entry.c
+++ b/src/bled/find_list_entry.c
@@ -5,6 +5,7 @@
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+//#include
#include "libbb.h"
#include "bb_archive.h"
diff --git a/src/bled/fse.h b/src/bled/fse.h
deleted file mode 100644
index 71015df4..00000000
--- a/src/bled/fse.h
+++ /dev/null
@@ -1,640 +0,0 @@
-/* ******************************************************************
- * FSE : Finite State Entropy codec
- * Public Prototypes declaration
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * You can contact the author at :
- * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
-****************************************************************** */
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-#ifndef FSE_H
-#define FSE_H
-
-
-/*-*****************************************
-* Dependencies
-******************************************/
-#include "zstd_deps.h" /* size_t, ptrdiff_t */
-
-
-/*-*****************************************
-* FSE_PUBLIC_API : control library symbols visibility
-******************************************/
-#if defined(FSE_DLL_EXPORT) && (FSE_DLL_EXPORT==1) && defined(__GNUC__) && (__GNUC__ >= 4)
-# define FSE_PUBLIC_API __attribute__ ((visibility ("default")))
-#elif defined(FSE_DLL_EXPORT) && (FSE_DLL_EXPORT==1) /* Visual expected */
-# define FSE_PUBLIC_API __declspec(dllexport)
-#elif defined(FSE_DLL_IMPORT) && (FSE_DLL_IMPORT==1)
-# define FSE_PUBLIC_API __declspec(dllimport) /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/
-#else
-# define FSE_PUBLIC_API
-#endif
-
-/*------ Version ------*/
-#define FSE_VERSION_MAJOR 0
-#define FSE_VERSION_MINOR 9
-#define FSE_VERSION_RELEASE 0
-
-#define FSE_LIB_VERSION FSE_VERSION_MAJOR.FSE_VERSION_MINOR.FSE_VERSION_RELEASE
-#define FSE_QUOTE(str) #str
-#define FSE_EXPAND_AND_QUOTE(str) FSE_QUOTE(str)
-#define FSE_VERSION_STRING FSE_EXPAND_AND_QUOTE(FSE_LIB_VERSION)
-
-#define FSE_VERSION_NUMBER (FSE_VERSION_MAJOR *100*100 + FSE_VERSION_MINOR *100 + FSE_VERSION_RELEASE)
-FSE_PUBLIC_API unsigned FSE_versionNumber(void); /**< library version number; to be used when checking dll version */
-
-
-/*-*****************************************
-* Tool functions
-******************************************/
-FSE_PUBLIC_API size_t FSE_compressBound(size_t size); /* maximum compressed size */
-
-/* Error Management */
-FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error code */
-FSE_PUBLIC_API const char* FSE_getErrorName(size_t code); /* provides error code string (useful for debugging) */
-
-
-/*-*****************************************
-* FSE detailed API
-******************************************/
-/*!
-FSE_compress() does the following:
-1. count symbol occurrence from source[] into table count[] (see hist.h)
-2. normalize counters so that sum(count[]) == Power_of_2 (2^tableLog)
-3. save normalized counters to memory buffer using writeNCount()
-4. build encoding table 'CTable' from normalized counters
-5. encode the data stream using encoding table 'CTable'
-
-FSE_decompress() does the following:
-1. read normalized counters with readNCount()
-2. build decoding table 'DTable' from normalized counters
-3. decode the data stream using decoding table 'DTable'
-
-The following API allows targeting specific sub-functions for advanced tasks.
-For example, it's possible to compress several blocks using the same 'CTable',
-or to save and provide normalized distribution using external method.
-*/
-
-/* *** COMPRESSION *** */
-
-/*! FSE_optimalTableLog():
- dynamically downsize 'tableLog' when conditions are met.
- It saves CPU time, by using smaller tables, while preserving or even improving compression ratio.
- @return : recommended tableLog (necessarily <= 'maxTableLog') */
-FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue);
-
-/*! FSE_normalizeCount():
- normalize counts so that sum(count[]) == Power_of_2 (2^tableLog)
- 'normalizedCounter' is a table of short, of minimum size (maxSymbolValue+1).
- useLowProbCount is a boolean parameter which trades off compressed size for
- faster header decoding. When it is set to 1, the compressed data will be slightly
- smaller. And when it is set to 0, FSE_readNCount() and FSE_buildDTable() will be
- faster. If you are compressing a small amount of data (< 2 KB) then useLowProbCount=0
- is a good default, since header deserialization makes a big speed difference.
- Otherwise, useLowProbCount=1 is a good default, since the speed difference is small.
- @return : tableLog,
- or an errorCode, which can be tested using FSE_isError() */
-FSE_PUBLIC_API size_t FSE_normalizeCount(short* normalizedCounter, unsigned tableLog,
- const unsigned* count, size_t srcSize, unsigned maxSymbolValue, unsigned useLowProbCount);
-
-/*! FSE_NCountWriteBound():
- Provides the maximum possible size of an FSE normalized table, given 'maxSymbolValue' and 'tableLog'.
- Typically useful for allocation purpose. */
-FSE_PUBLIC_API size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog);
-
-/*! FSE_writeNCount():
- Compactly save 'normalizedCounter' into 'buffer'.
- @return : size of the compressed table,
- or an errorCode, which can be tested using FSE_isError(). */
-FSE_PUBLIC_API size_t FSE_writeNCount (void* buffer, size_t bufferSize,
- const short* normalizedCounter,
- unsigned maxSymbolValue, unsigned tableLog);
-
-/*! Constructor and Destructor of FSE_CTable.
- Note that FSE_CTable size depends on 'tableLog' and 'maxSymbolValue' */
-typedef unsigned FSE_CTable; /* don't allocate that. It's only meant to be more restrictive than void* */
-
-/*! FSE_buildCTable():
- Builds `ct`, which must be already allocated, using FSE_createCTable().
- @return : 0, or an errorCode, which can be tested using FSE_isError() */
-FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
-
-/*! FSE_compress_usingCTable():
- Compress `src` using `ct` into `dst` which must be already allocated.
- @return : size of compressed data (<= `dstCapacity`),
- or 0 if compressed data could not fit into `dst`,
- or an errorCode, which can be tested using FSE_isError() */
-FSE_PUBLIC_API size_t FSE_compress_usingCTable (void* dst, size_t dstCapacity, const void* src, size_t srcSize, const FSE_CTable* ct);
-
-/*!
-Tutorial :
-----------
-The first step is to count all symbols. FSE_count() does this job very fast.
-Result will be saved into 'count', a table of unsigned int, which must be already allocated, and have 'maxSymbolValuePtr[0]+1' cells.
-'src' is a table of bytes of size 'srcSize'. All values within 'src' MUST be <= maxSymbolValuePtr[0]
-maxSymbolValuePtr[0] will be updated, with its real value (necessarily <= original value)
-FSE_count() will return the number of occurrence of the most frequent symbol.
-This can be used to know if there is a single symbol within 'src', and to quickly evaluate its compressibility.
-If there is an error, the function will return an ErrorCode (which can be tested using FSE_isError()).
-
-The next step is to normalize the frequencies.
-FSE_normalizeCount() will ensure that sum of frequencies is == 2 ^'tableLog'.
-It also guarantees a minimum of 1 to any Symbol with frequency >= 1.
-You can use 'tableLog'==0 to mean "use default tableLog value".
-If you are unsure of which tableLog value to use, you can ask FSE_optimalTableLog(),
-which will provide the optimal valid tableLog given sourceSize, maxSymbolValue, and a user-defined maximum (0 means "default").
-
-The result of FSE_normalizeCount() will be saved into a table,
-called 'normalizedCounter', which is a table of signed short.
-'normalizedCounter' must be already allocated, and have at least 'maxSymbolValue+1' cells.
-The return value is tableLog if everything proceeded as expected.
-It is 0 if there is a single symbol within distribution.
-If there is an error (ex: invalid tableLog value), the function will return an ErrorCode (which can be tested using FSE_isError()).
-
-'normalizedCounter' can be saved in a compact manner to a memory area using FSE_writeNCount().
-'buffer' must be already allocated.
-For guaranteed success, buffer size must be at least FSE_headerBound().
-The result of the function is the number of bytes written into 'buffer'.
-If there is an error, the function will return an ErrorCode (which can be tested using FSE_isError(); ex : buffer size too small).
-
-'normalizedCounter' can then be used to create the compression table 'CTable'.
-The space required by 'CTable' must be already allocated, using FSE_createCTable().
-You can then use FSE_buildCTable() to fill 'CTable'.
-If there is an error, both functions will return an ErrorCode (which can be tested using FSE_isError()).
-
-'CTable' can then be used to compress 'src', with FSE_compress_usingCTable().
-Similar to FSE_count(), the convention is that 'src' is assumed to be a table of char of size 'srcSize'
-The function returns the size of compressed data (without header), necessarily <= `dstCapacity`.
-If it returns '0', compressed data could not fit into 'dst'.
-If there is an error, the function will return an ErrorCode (which can be tested using FSE_isError()).
-*/
-
-
-/* *** DECOMPRESSION *** */
-
-/*! FSE_readNCount():
- Read compactly saved 'normalizedCounter' from 'rBuffer'.
- @return : size read from 'rBuffer',
- or an errorCode, which can be tested using FSE_isError().
- maxSymbolValuePtr[0] and tableLogPtr[0] will also be updated with their respective values */
-FSE_PUBLIC_API size_t FSE_readNCount (short* normalizedCounter,
- unsigned* maxSymbolValuePtr, unsigned* tableLogPtr,
- const void* rBuffer, size_t rBuffSize);
-
-/*! FSE_readNCount_bmi2():
- * Same as FSE_readNCount() but pass bmi2=1 when your CPU supports BMI2 and 0 otherwise.
- */
-FSE_PUBLIC_API size_t FSE_readNCount_bmi2(short* normalizedCounter,
- unsigned* maxSymbolValuePtr, unsigned* tableLogPtr,
- const void* rBuffer, size_t rBuffSize, int bmi2);
-
-typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */
-
-/*!
-Tutorial :
-----------
-(Note : these functions only decompress FSE-compressed blocks.
- If block is uncompressed, use memcpy() instead
- If block is a single repeated byte, use memset() instead )
-
-The first step is to obtain the normalized frequencies of symbols.
-This can be performed by FSE_readNCount() if it was saved using FSE_writeNCount().
-'normalizedCounter' must be already allocated, and have at least 'maxSymbolValuePtr[0]+1' cells of signed short.
-In practice, that means it's necessary to know 'maxSymbolValue' beforehand,
-or size the table to handle worst case situations (typically 256).
-FSE_readNCount() will provide 'tableLog' and 'maxSymbolValue'.
-The result of FSE_readNCount() is the number of bytes read from 'rBuffer'.
-Note that 'rBufferSize' must be at least 4 bytes, even if useful information is less than that.
-If there is an error, the function will return an error code, which can be tested using FSE_isError().
-
-The next step is to build the decompression tables 'FSE_DTable' from 'normalizedCounter'.
-This is performed by the function FSE_buildDTable().
-The space required by 'FSE_DTable' must be already allocated using FSE_createDTable().
-If there is an error, the function will return an error code, which can be tested using FSE_isError().
-
-`FSE_DTable` can then be used to decompress `cSrc`, with FSE_decompress_usingDTable().
-`cSrcSize` must be strictly correct, otherwise decompression will fail.
-FSE_decompress_usingDTable() result will tell how many bytes were regenerated (<=`dstCapacity`).
-If there is an error, the function will return an error code, which can be tested using FSE_isError(). (ex: dst buffer too small)
-*/
-
-#endif /* FSE_H */
-
-
-#if defined(FSE_STATIC_LINKING_ONLY) && !defined(FSE_H_FSE_STATIC_LINKING_ONLY)
-#define FSE_H_FSE_STATIC_LINKING_ONLY
-
-/* *** Dependency *** */
-#include "fse_bitstream.h"
-
-
-/* *****************************************
-* Static allocation
-*******************************************/
-/* FSE buffer bounds */
-#define FSE_NCOUNTBOUND 512
-#define FSE_BLOCKBOUND(size) ((size) + ((size)>>7) + 4 /* fse states */ + sizeof(size_t) /* bitContainer */)
-#define FSE_COMPRESSBOUND(size) (FSE_NCOUNTBOUND + FSE_BLOCKBOUND(size)) /* Macro version, useful for static allocation */
-
-/* It is possible to statically allocate FSE CTable/DTable as a table of FSE_CTable/FSE_DTable using below macros */
-#define FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) (1 + (1<<((maxTableLog)-1)) + (((maxSymbolValue)+1)*2))
-#define FSE_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<(maxTableLog)))
-
-/* or use the size to malloc() space directly. Pay attention to alignment restrictions though */
-#define FSE_CTABLE_SIZE(maxTableLog, maxSymbolValue) (FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) * sizeof(FSE_CTable))
-#define FSE_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(FSE_DTable))
-
-
-/* *****************************************
- * FSE advanced API
- ***************************************** */
-
-unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue, unsigned minus);
-/**< same as FSE_optimalTableLog(), which used `minus==2` */
-
-size_t FSE_buildCTable_rle (FSE_CTable* ct, unsigned char symbolValue);
-/**< build a fake FSE_CTable, designed to compress always the same symbolValue */
-
-/* FSE_buildCTable_wksp() :
- * Same as FSE_buildCTable(), but using an externally allocated scratch buffer (`workSpace`).
- * `wkspSize` must be >= `FSE_BUILD_CTABLE_WORKSPACE_SIZE_U32(maxSymbolValue, tableLog)` of `unsigned`.
- * See FSE_buildCTable_wksp() for breakdown of workspace usage.
- */
-#define FSE_BUILD_CTABLE_WORKSPACE_SIZE_U32(maxSymbolValue, tableLog) (((maxSymbolValue + 2) + (1ull << (tableLog)))/2 + sizeof(U64)/sizeof(U32) /* additional 8 bytes for potential table overwrite */)
-#define FSE_BUILD_CTABLE_WORKSPACE_SIZE(maxSymbolValue, tableLog) (sizeof(unsigned) * FSE_BUILD_CTABLE_WORKSPACE_SIZE_U32(maxSymbolValue, tableLog))
-size_t FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
-
-#define FSE_BUILD_DTABLE_WKSP_SIZE(maxTableLog, maxSymbolValue) (sizeof(short) * (maxSymbolValue + 1) + (1ULL << maxTableLog) + 8)
-#define FSE_BUILD_DTABLE_WKSP_SIZE_U32(maxTableLog, maxSymbolValue) ((FSE_BUILD_DTABLE_WKSP_SIZE(maxTableLog, maxSymbolValue) + sizeof(unsigned) - 1) / sizeof(unsigned))
-FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
-/**< Same as FSE_buildDTable(), using an externally allocated `workspace` produced with `FSE_BUILD_DTABLE_WKSP_SIZE_U32(maxSymbolValue)` */
-
-#define FSE_DECOMPRESS_WKSP_SIZE_U32(maxTableLog, maxSymbolValue) (FSE_DTABLE_SIZE_U32(maxTableLog) + 1 + FSE_BUILD_DTABLE_WKSP_SIZE_U32(maxTableLog, maxSymbolValue) + (FSE_MAX_SYMBOL_VALUE + 1) / 2 + 1)
-#define FSE_DECOMPRESS_WKSP_SIZE(maxTableLog, maxSymbolValue) (FSE_DECOMPRESS_WKSP_SIZE_U32(maxTableLog, maxSymbolValue) * sizeof(unsigned))
-size_t FSE_decompress_wksp_bmi2(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize, int bmi2);
-/**< same as FSE_decompress(), using an externally allocated `workSpace` produced with `FSE_DECOMPRESS_WKSP_SIZE_U32(maxLog, maxSymbolValue)`.
- * Set bmi2 to 1 if your CPU supports BMI2 or 0 if it doesn't */
-
-typedef enum {
- FSE_repeat_none, /**< Cannot use the previous table */
- FSE_repeat_check, /**< Can use the previous table but it must be checked */
- FSE_repeat_valid /**< Can use the previous table and it is assumed to be valid */
- } FSE_repeat;
-
-/* *****************************************
-* FSE symbol compression API
-*******************************************/
-/*!
- This API consists of small unitary functions, which highly benefit from being inlined.
- Hence their body are included in next section.
-*/
-typedef struct {
- ptrdiff_t value;
- const void* stateTable;
- const void* symbolTT;
- unsigned stateLog;
-} FSE_CState_t;
-
-static void FSE_initCState(FSE_CState_t* CStatePtr, const FSE_CTable* ct);
-
-static void FSE_encodeSymbol(BIT_CStream_t* bitC, FSE_CState_t* CStatePtr, unsigned symbol);
-
-static void FSE_flushCState(BIT_CStream_t* bitC, const FSE_CState_t* CStatePtr);
-
-/**<
-These functions are inner components of FSE_compress_usingCTable().
-They allow the creation of custom streams, mixing multiple tables and bit sources.
-
-A key property to keep in mind is that encoding and decoding are done **in reverse direction**.
-So the first symbol you will encode is the last you will decode, like a LIFO stack.
-
-You will need a few variables to track your CStream. They are :
-
-FSE_CTable ct; // Provided by FSE_buildCTable()
-BIT_CStream_t bitStream; // bitStream tracking structure
-FSE_CState_t state; // State tracking structure (can have several)
-
-
-The first thing to do is to init bitStream and state.
- size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize);
- FSE_initCState(&state, ct);
-
-Note that BIT_initCStream() can produce an error code, so its result should be tested, using FSE_isError();
-You can then encode your input data, byte after byte.
-FSE_encodeSymbol() outputs a maximum of 'tableLog' bits at a time.
-Remember decoding will be done in reverse direction.
- FSE_encodeByte(&bitStream, &state, symbol);
-
-At any time, you can also add any bit sequence.
-Note : maximum allowed nbBits is 25, for compatibility with 32-bits decoders
- BIT_addBits(&bitStream, bitField, nbBits);
-
-The above methods don't commit data to memory, they just store it into local register, for speed.
-Local register size is 64-bits on 64-bits systems, 32-bits on 32-bits systems (size_t).
-Writing data to memory is a manual operation, performed by the flushBits function.
- BIT_flushBits(&bitStream);
-
-Your last FSE encoding operation shall be to flush your last state value(s).
- FSE_flushState(&bitStream, &state);
-
-Finally, you must close the bitStream.
-The function returns the size of CStream in bytes.
-If data couldn't fit into dstBuffer, it will return a 0 ( == not compressible)
-If there is an error, it returns an errorCode (which can be tested using FSE_isError()).
- size_t size = BIT_closeCStream(&bitStream);
-*/
-
-
-/* *****************************************
-* FSE symbol decompression API
-*******************************************/
-typedef struct {
- size_t state;
- const void* table; /* precise table may vary, depending on U16 */
-} FSE_DState_t;
-
-
-static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
-
-static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
-
-static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
-
-/**<
-Let's now decompose FSE_decompress_usingDTable() into its unitary components.
-You will decode FSE-encoded symbols from the bitStream,
-and also any other bitFields you put in, **in reverse order**.
-
-You will need a few variables to track your bitStream. They are :
-
-BIT_DStream_t DStream; // Stream context
-FSE_DState_t DState; // State context. Multiple ones are possible
-FSE_DTable* DTablePtr; // Decoding table, provided by FSE_buildDTable()
-
-The first thing to do is to init the bitStream.
- errorCode = BIT_initDStream(&DStream, srcBuffer, srcSize);
-
-You should then retrieve your initial state(s)
-(in reverse flushing order if you have several ones) :
- errorCode = FSE_initDState(&DState, &DStream, DTablePtr);
-
-You can then decode your data, symbol after symbol.
-For information the maximum number of bits read by FSE_decodeSymbol() is 'tableLog'.
-Keep in mind that symbols are decoded in reverse order, like a LIFO stack (last in, first out).
- unsigned char symbol = FSE_decodeSymbol(&DState, &DStream);
-
-You can retrieve any bitfield you eventually stored into the bitStream (in reverse order)
-Note : maximum allowed nbBits is 25, for 32-bits compatibility
- size_t bitField = BIT_readBits(&DStream, nbBits);
-
-All above operations only read from local register (which size depends on size_t).
-Refueling the register from memory is manually performed by the reload method.
- endSignal = FSE_reloadDStream(&DStream);
-
-BIT_reloadDStream() result tells if there is still some more data to read from DStream.
-BIT_DStream_unfinished : there is still some data left into the DStream.
-BIT_DStream_endOfBuffer : Dstream reached end of buffer. Its container may no longer be completely filled.
-BIT_DStream_completed : Dstream reached its exact end, corresponding in general to decompression completed.
-BIT_DStream_tooFar : Dstream went too far. Decompression result is corrupted.
-
-When reaching end of buffer (BIT_DStream_endOfBuffer), progress slowly, notably if you decode multiple symbols per loop,
-to properly detect the exact end of stream.
-After each decoded symbol, check if DStream is fully consumed using this simple test :
- BIT_reloadDStream(&DStream) >= BIT_DStream_completed
-
-When it's done, verify decompression is fully completed, by checking both DStream and the relevant states.
-Checking if DStream has reached its end is performed by :
- BIT_endOfDStream(&DStream);
-Check also the states. There might be some symbols left there, if some high probability ones (>50%) are possible.
- FSE_endOfDState(&DState);
-*/
-
-
-/* *****************************************
-* FSE unsafe API
-*******************************************/
-static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
-/* faster, but works only if nbBits is always >= 1 (otherwise, result will be corrupted) */
-
-
-/* *****************************************
-* Implementation of inlined functions
-*******************************************/
-typedef struct {
- int deltaFindState;
- U32 deltaNbBits;
-} FSE_symbolCompressionTransform; /* total 8 bytes */
-
-MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct)
-{
- const void* ptr = ct;
- const U16* u16ptr = (const U16*) ptr;
- const U32 tableLog = MEM_read16(ptr);
- statePtr->value = (ptrdiff_t)1<stateTable = u16ptr+2;
- statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1);
- statePtr->stateLog = tableLog;
-}
-
-
-/*! FSE_initCState2() :
-* Same as FSE_initCState(), but the first symbol to include (which will be the last to be read)
-* uses the smallest state value possible, saving the cost of this symbol */
-MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol)
-{
- FSE_initCState(statePtr, ct);
- { const FSE_symbolCompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr->symbolTT))[symbol];
- const U16* stateTable = (const U16*)(statePtr->stateTable);
- U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16);
- statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits;
- statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState];
- }
-}
-
-MEM_STATIC void FSE_encodeSymbol(BIT_CStream_t* bitC, FSE_CState_t* statePtr, unsigned symbol)
-{
- FSE_symbolCompressionTransform const symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr->symbolTT))[symbol];
- const U16* const stateTable = (const U16*)(statePtr->stateTable);
- U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16);
- BIT_addBits(bitC, (size_t)statePtr->value, nbBitsOut);
- statePtr->value = stateTable[ (statePtr->value >> nbBitsOut) + symbolTT.deltaFindState];
-}
-
-MEM_STATIC void FSE_flushCState(BIT_CStream_t* bitC, const FSE_CState_t* statePtr)
-{
- BIT_addBits(bitC, (size_t)statePtr->value, statePtr->stateLog);
- BIT_flushBits(bitC);
-}
-
-
-/* FSE_getMaxNbBits() :
- * Approximate maximum cost of a symbol, in bits.
- * Fractional get rounded up (i.e. a symbol with a normalized frequency of 3 gives the same result as a frequency of 2)
- * note 1 : assume symbolValue is valid (<= maxSymbolValue)
- * note 2 : if freq[symbolValue]==0, @return a fake cost of tableLog+1 bits */
-MEM_STATIC U32 FSE_getMaxNbBits(const void* symbolTTPtr, U32 symbolValue)
-{
- const FSE_symbolCompressionTransform* symbolTT = (const FSE_symbolCompressionTransform*) symbolTTPtr;
- return (symbolTT[symbolValue].deltaNbBits + ((1<<16)-1)) >> 16;
-}
-
-/* FSE_bitCost() :
- * Approximate symbol cost, as fractional value, using fixed-point format (accuracyLog fractional bits)
- * note 1 : assume symbolValue is valid (<= maxSymbolValue)
- * note 2 : if freq[symbolValue]==0, @return a fake cost of tableLog+1 bits */
-MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog)
-{
- const FSE_symbolCompressionTransform* symbolTT = (const FSE_symbolCompressionTransform*) symbolTTPtr;
- U32 const minNbBits = symbolTT[symbolValue].deltaNbBits >> 16;
- U32 const threshold = (minNbBits+1) << 16;
- assert(tableLog < 16);
- assert(accuracyLog < 31-tableLog); /* ensure enough room for renormalization double shift */
- { U32 const tableSize = 1 << tableLog;
- U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
- U32 const normalizedDeltaFromThreshold = (deltaFromThreshold << accuracyLog) >> tableLog; /* linear interpolation (very approximate) */
- U32 const bitMultiplier = 1 << accuracyLog;
- assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);
- assert(normalizedDeltaFromThreshold <= bitMultiplier);
- return (minNbBits+1)*bitMultiplier - normalizedDeltaFromThreshold;
- }
-}
-
-
-/* ====== Decompression ====== */
-
-typedef struct {
- U16 tableLog;
- U16 fastMode;
-} FSE_DTableHeader; /* sizeof U32 */
-
-typedef struct
-{
- unsigned short newState;
- unsigned char symbol;
- unsigned char nbBits;
-} FSE_decode_t; /* size == U32 */
-
-MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt)
-{
- const void* ptr = dt;
- const FSE_DTableHeader* const DTableH = (const FSE_DTableHeader*)ptr;
- DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog);
- BIT_reloadDStream(bitD);
- DStatePtr->table = dt + 1;
-}
-
-MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr)
-{
- FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];
- return DInfo.symbol;
-}
-
-MEM_STATIC void FSE_updateState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD)
-{
- FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];
- U32 const nbBits = DInfo.nbBits;
- size_t const lowBits = BIT_readBits(bitD, nbBits);
- DStatePtr->state = DInfo.newState + lowBits;
-}
-
-MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD)
-{
- FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];
- U32 const nbBits = DInfo.nbBits;
- BYTE const symbol = DInfo.symbol;
- size_t const lowBits = BIT_readBits(bitD, nbBits);
-
- DStatePtr->state = DInfo.newState + lowBits;
- return symbol;
-}
-
-/*! FSE_decodeSymbolFast() :
- unsafe, only works if no symbol has a probability > 50% */
-MEM_STATIC BYTE FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD)
-{
- FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];
- U32 const nbBits = DInfo.nbBits;
- BYTE const symbol = DInfo.symbol;
- size_t const lowBits = BIT_readBitsFast(bitD, nbBits);
-
- DStatePtr->state = DInfo.newState + lowBits;
- return symbol;
-}
-
-MEM_STATIC unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr)
-{
- return DStatePtr->state == 0;
-}
-
-
-
-#ifndef FSE_COMMONDEFS_ONLY
-
-/* **************************************************************
-* Tuning parameters
-****************************************************************/
-/*!MEMORY_USAGE :
-* Memory usage formula : N->2^N Bytes (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; etc.)
-* Increasing memory usage improves compression ratio
-* Reduced memory usage can improve speed, due to cache effect
-* Recommended max value is 14, for 16KB, which nicely fits into Intel x86 L1 cache */
-#ifndef FSE_MAX_MEMORY_USAGE
-# define FSE_MAX_MEMORY_USAGE 14
-#endif
-#ifndef FSE_DEFAULT_MEMORY_USAGE
-# define FSE_DEFAULT_MEMORY_USAGE 13
-#endif
-#if (FSE_DEFAULT_MEMORY_USAGE > FSE_MAX_MEMORY_USAGE)
-# error "FSE_DEFAULT_MEMORY_USAGE must be <= FSE_MAX_MEMORY_USAGE"
-#endif
-
-/*!FSE_MAX_SYMBOL_VALUE :
-* Maximum symbol value authorized.
-* Required for proper stack allocation */
-#ifndef FSE_MAX_SYMBOL_VALUE
-# define FSE_MAX_SYMBOL_VALUE 255
-#endif
-
-/* **************************************************************
-* template functions type & suffix
-****************************************************************/
-#define FSE_FUNCTION_TYPE BYTE
-#define FSE_FUNCTION_EXTENSION
-#define FSE_DECODE_TYPE FSE_decode_t
-
-
-#endif /* !FSE_COMMONDEFS_ONLY */
-
-
-/* ***************************************************************
-* Constants
-*****************************************************************/
-#define FSE_MAX_TABLELOG (FSE_MAX_MEMORY_USAGE-2)
-#define FSE_MAX_TABLESIZE (1U< FSE_TABLELOG_ABSOLUTE_MAX
-# error "FSE_MAX_TABLELOG > FSE_TABLELOG_ABSOLUTE_MAX is not supported"
-#endif
-
-#define FSE_TABLESTEP(tableSize) (((tableSize)>>1) + ((tableSize)>>3) + 3)
-
-
-#endif /* FSE_STATIC_LINKING_ONLY */
-
-
-#if defined (__cplusplus)
-}
-#endif
diff --git a/src/bled/fse_bitstream.h b/src/bled/fse_bitstream.h
deleted file mode 100644
index 5359392d..00000000
--- a/src/bled/fse_bitstream.h
+++ /dev/null
@@ -1,456 +0,0 @@
-/* ******************************************************************
- * bitstream
- * Part of FSE library
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * You can contact the author at :
- * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
-****************************************************************** */
-#ifndef BITSTREAM_H_MODULE
-#define BITSTREAM_H_MODULE
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-/*
-* This API consists of small unitary functions, which must be inlined for best performance.
-* Since link-time-optimization is not available for all compilers,
-* these functions are defined into a .h to be included.
-*/
-
-/*-****************************************
-* Dependencies
-******************************************/
-#include "zstd_mem.h" /* unaligned access routines */
-#include "zstd_compiler.h" /* UNLIKELY() */
-#include "zstd_error_private.h" /* error codes and messages */
-#include "zstd_bits.h" /* ZSTD_highbit32 */
-
-
-/*=========================================
-* Target specific
-=========================================*/
-#ifndef ZSTD_NO_INTRINSICS
-# if (defined(__BMI__) || defined(__BMI2__)) && defined(__GNUC__)
-# include /* support for bextr (experimental)/bzhi */
-# elif defined(__ICCARM__)
-# include
-# endif
-#endif
-
-#define STREAM_ACCUMULATOR_MIN_32 25
-#define STREAM_ACCUMULATOR_MIN_64 57
-#define STREAM_ACCUMULATOR_MIN ((U32)(MEM_32bits() ? STREAM_ACCUMULATOR_MIN_32 : STREAM_ACCUMULATOR_MIN_64))
-
-
-/*-******************************************
-* bitStream encoding API (write forward)
-********************************************/
-/* bitStream can mix input from multiple sources.
- * A critical property of these streams is that they encode and decode in **reverse** direction.
- * So the first bit sequence you add will be the last to be read, like a LIFO stack.
- */
-typedef struct {
- size_t bitContainer;
- unsigned bitPos;
- char* startPtr;
- char* ptr;
- char* endPtr;
-} BIT_CStream_t;
-
-MEM_STATIC size_t BIT_initCStream(BIT_CStream_t* bitC, void* dstBuffer, size_t dstCapacity);
-MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, size_t value, unsigned nbBits);
-MEM_STATIC void BIT_flushBits(BIT_CStream_t* bitC);
-MEM_STATIC size_t BIT_closeCStream(BIT_CStream_t* bitC);
-
-/* Start with initCStream, providing the size of buffer to write into.
-* bitStream will never write outside of this buffer.
-* `dstCapacity` must be >= sizeof(bitD->bitContainer), otherwise @return will be an error code.
-*
-* bits are first added to a local register.
-* Local register is size_t, hence 64-bits on 64-bits systems, or 32-bits on 32-bits systems.
-* Writing data into memory is an explicit operation, performed by the flushBits function.
-* Hence keep track how many bits are potentially stored into local register to avoid register overflow.
-* After a flushBits, a maximum of 7 bits might still be stored into local register.
-*
-* Avoid storing elements of more than 24 bits if you want compatibility with 32-bits bitstream readers.
-*
-* Last operation is to close the bitStream.
-* The function returns the final size of CStream in bytes.
-* If data couldn't fit into `dstBuffer`, it will return a 0 ( == not storable)
-*/
-
-
-/*-********************************************
-* bitStream decoding API (read backward)
-**********************************************/
-typedef size_t BitContainerType;
-typedef struct {
- BitContainerType bitContainer;
- unsigned bitsConsumed;
- const char* ptr;
- const char* start;
- const char* limitPtr;
-} BIT_DStream_t;
-
-typedef enum { BIT_DStream_unfinished = 0, /* fully refilled */
- BIT_DStream_endOfBuffer = 1, /* still some bits left in bitstream */
- BIT_DStream_completed = 2, /* bitstream entirely consumed, bit-exact */
- BIT_DStream_overflow = 3 /* user requested more bits than present in bitstream */
- } BIT_DStream_status; /* result of BIT_reloadDStream() */
-
-MEM_STATIC size_t BIT_initDStream(BIT_DStream_t* bitD, const void* srcBuffer, size_t srcSize);
-MEM_STATIC size_t BIT_readBits(BIT_DStream_t* bitD, unsigned nbBits);
-MEM_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t* bitD);
-MEM_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t* bitD);
-
-
-/* Start by invoking BIT_initDStream().
-* A chunk of the bitStream is then stored into a local register.
-* Local register size is 64-bits on 64-bits systems, 32-bits on 32-bits systems (BitContainerType).
-* You can then retrieve bitFields stored into the local register, **in reverse order**.
-* Local register is explicitly reloaded from memory by the BIT_reloadDStream() method.
-* A reload guarantee a minimum of ((8*sizeof(bitD->bitContainer))-7) bits when its result is BIT_DStream_unfinished.
-* Otherwise, it can be less than that, so proceed accordingly.
-* Checking if DStream has reached its end can be performed with BIT_endOfDStream().
-*/
-
-
-/*-****************************************
-* unsafe API
-******************************************/
-MEM_STATIC void BIT_addBitsFast(BIT_CStream_t* bitC, size_t value, unsigned nbBits);
-/* faster, but works only if value is "clean", meaning all high bits above nbBits are 0 */
-
-MEM_STATIC void BIT_flushBitsFast(BIT_CStream_t* bitC);
-/* unsafe version; does not check buffer overflow */
-
-MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, unsigned nbBits);
-/* faster, but works only if nbBits >= 1 */
-
-/*===== Local Constants =====*/
-static const unsigned BIT_mask[] = {
- 0, 1, 3, 7, 0xF, 0x1F,
- 0x3F, 0x7F, 0xFF, 0x1FF, 0x3FF, 0x7FF,
- 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF, 0x1FFFF,
- 0x3FFFF, 0x7FFFF, 0xFFFFF, 0x1FFFFF, 0x3FFFFF, 0x7FFFFF,
- 0xFFFFFF, 0x1FFFFFF, 0x3FFFFFF, 0x7FFFFFF, 0xFFFFFFF, 0x1FFFFFFF,
- 0x3FFFFFFF, 0x7FFFFFFF}; /* up to 31 bits */
-#define BIT_MASK_SIZE (sizeof(BIT_mask) / sizeof(BIT_mask[0]))
-
-/*-**************************************************************
-* bitStream encoding
-****************************************************************/
-/*! BIT_initCStream() :
- * `dstCapacity` must be > sizeof(size_t)
- * @return : 0 if success,
- * otherwise an error code (can be tested using ERR_isError()) */
-MEM_STATIC size_t BIT_initCStream(BIT_CStream_t* bitC,
- void* startPtr, size_t dstCapacity)
-{
- bitC->bitContainer = 0;
- bitC->bitPos = 0;
- bitC->startPtr = (char*)startPtr;
- bitC->ptr = bitC->startPtr;
- bitC->endPtr = bitC->startPtr + dstCapacity - sizeof(bitC->bitContainer);
- if (dstCapacity <= sizeof(bitC->bitContainer)) return ERROR(dstSize_tooSmall);
- return 0;
-}
-
-FORCE_INLINE_TEMPLATE size_t BIT_getLowerBits(size_t bitContainer, U32 const nbBits)
-{
-#if defined(STATIC_BMI2) && STATIC_BMI2 == 1 && !defined(ZSTD_NO_INTRINSICS)
- return _bzhi_u64(bitContainer, nbBits);
-#else
- assert(nbBits < BIT_MASK_SIZE);
- return bitContainer & BIT_mask[nbBits];
-#endif
-}
-
-/*! BIT_addBits() :
- * can add up to 31 bits into `bitC`.
- * Note : does not check for register overflow ! */
-MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC,
- size_t value, unsigned nbBits)
-{
- DEBUG_STATIC_ASSERT(BIT_MASK_SIZE == 32);
- assert(nbBits < BIT_MASK_SIZE);
- assert(nbBits + bitC->bitPos < sizeof(bitC->bitContainer) * 8);
- bitC->bitContainer |= BIT_getLowerBits(value, nbBits) << bitC->bitPos;
- bitC->bitPos += nbBits;
-}
-
-/*! BIT_addBitsFast() :
- * works only if `value` is _clean_,
- * meaning all high bits above nbBits are 0 */
-MEM_STATIC void BIT_addBitsFast(BIT_CStream_t* bitC,
- size_t value, unsigned nbBits)
-{
- assert((value>>nbBits) == 0);
- assert(nbBits + bitC->bitPos < sizeof(bitC->bitContainer) * 8);
- bitC->bitContainer |= value << bitC->bitPos;
- bitC->bitPos += nbBits;
-}
-
-/*! BIT_flushBitsFast() :
- * assumption : bitContainer has not overflowed
- * unsafe version; does not check buffer overflow */
-MEM_STATIC void BIT_flushBitsFast(BIT_CStream_t* bitC)
-{
- size_t const nbBytes = bitC->bitPos >> 3;
- assert(bitC->bitPos < sizeof(bitC->bitContainer) * 8);
- assert(bitC->ptr <= bitC->endPtr);
- MEM_writeLEST(bitC->ptr, bitC->bitContainer);
- bitC->ptr += nbBytes;
- bitC->bitPos &= 7;
- bitC->bitContainer >>= nbBytes*8;
-}
-
-/*! BIT_flushBits() :
- * assumption : bitContainer has not overflowed
- * safe version; check for buffer overflow, and prevents it.
- * note : does not signal buffer overflow.
- * overflow will be revealed later on using BIT_closeCStream() */
-MEM_STATIC void BIT_flushBits(BIT_CStream_t* bitC)
-{
- size_t const nbBytes = bitC->bitPos >> 3;
- assert(bitC->bitPos < sizeof(bitC->bitContainer) * 8);
- assert(bitC->ptr <= bitC->endPtr);
- MEM_writeLEST(bitC->ptr, bitC->bitContainer);
- bitC->ptr += nbBytes;
- if (bitC->ptr > bitC->endPtr) bitC->ptr = bitC->endPtr;
- bitC->bitPos &= 7;
- bitC->bitContainer >>= nbBytes*8;
-}
-
-/*! BIT_closeCStream() :
- * @return : size of CStream, in bytes,
- * or 0 if it could not fit into dstBuffer */
-MEM_STATIC size_t BIT_closeCStream(BIT_CStream_t* bitC)
-{
- BIT_addBitsFast(bitC, 1, 1); /* endMark */
- BIT_flushBits(bitC);
- if (bitC->ptr >= bitC->endPtr) return 0; /* overflow detected */
- return (bitC->ptr - bitC->startPtr) + (bitC->bitPos > 0);
-}
-
-
-/*-********************************************************
-* bitStream decoding
-**********************************************************/
-/*! BIT_initDStream() :
- * Initialize a BIT_DStream_t.
- * `bitD` : a pointer to an already allocated BIT_DStream_t structure.
- * `srcSize` must be the *exact* size of the bitStream, in bytes.
- * @return : size of stream (== srcSize), or an errorCode if a problem is detected
- */
-MEM_STATIC size_t BIT_initDStream(BIT_DStream_t* bitD, const void* srcBuffer, size_t srcSize)
-{
- if (srcSize < 1) { ZSTD_memset(bitD, 0, sizeof(*bitD)); return ERROR(srcSize_wrong); }
-
- bitD->start = (const char*)srcBuffer;
- bitD->limitPtr = bitD->start + sizeof(bitD->bitContainer);
-
- if (srcSize >= sizeof(bitD->bitContainer)) { /* normal case */
- bitD->ptr = (const char*)srcBuffer + srcSize - sizeof(bitD->bitContainer);
- bitD->bitContainer = MEM_readLEST(bitD->ptr);
- { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1];
- bitD->bitsConsumed = lastByte ? 8 - ZSTD_highbit32(lastByte) : 0; /* ensures bitsConsumed is always set */
- if (lastByte == 0) return ERROR(GENERIC); /* endMark not present */ }
- } else {
- bitD->ptr = bitD->start;
- bitD->bitContainer = *(const BYTE*)(bitD->start);
- switch(srcSize)
- {
- case 7: bitD->bitContainer += (BitContainerType)(((const BYTE*)(srcBuffer))[6]) << (sizeof(bitD->bitContainer)*8 - 16);
- ZSTD_FALLTHROUGH;
-
- case 6: bitD->bitContainer += (BitContainerType)(((const BYTE*)(srcBuffer))[5]) << (sizeof(bitD->bitContainer)*8 - 24);
- ZSTD_FALLTHROUGH;
-
- case 5: bitD->bitContainer += (BitContainerType)(((const BYTE*)(srcBuffer))[4]) << (sizeof(bitD->bitContainer)*8 - 32);
- ZSTD_FALLTHROUGH;
-
- case 4: bitD->bitContainer += (BitContainerType)(((const BYTE*)(srcBuffer))[3]) << 24;
- ZSTD_FALLTHROUGH;
-
- case 3: bitD->bitContainer += (BitContainerType)(((const BYTE*)(srcBuffer))[2]) << 16;
- ZSTD_FALLTHROUGH;
-
- case 2: bitD->bitContainer += (BitContainerType)(((const BYTE*)(srcBuffer))[1]) << 8;
- ZSTD_FALLTHROUGH;
-
- default: break;
- }
- { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1];
- bitD->bitsConsumed = lastByte ? 8 - ZSTD_highbit32(lastByte) : 0;
- if (lastByte == 0) return ERROR(corruption_detected); /* endMark not present */
- }
- bitD->bitsConsumed += (U32)(sizeof(bitD->bitContainer) - srcSize)*8;
- }
-
- return srcSize;
-}
-
-FORCE_INLINE_TEMPLATE size_t BIT_getUpperBits(BitContainerType bitContainer, U32 const start)
-{
- return bitContainer >> start;
-}
-
-FORCE_INLINE_TEMPLATE size_t BIT_getMiddleBits(BitContainerType bitContainer, U32 const start, U32 const nbBits)
-{
- U32 const regMask = sizeof(bitContainer)*8 - 1;
- /* if start > regMask, bitstream is corrupted, and result is undefined */
- assert(nbBits < BIT_MASK_SIZE);
- /* x86 transform & ((1 << nbBits) - 1) to bzhi instruction, it is better
- * than accessing memory. When bmi2 instruction is not present, we consider
- * such cpus old (pre-Haswell, 2013) and their performance is not of that
- * importance.
- */
-#if defined(__x86_64__) || defined(_M_X64)
- return (bitContainer >> (start & regMask)) & ((((U64)1) << nbBits) - 1);
-#else
- return (bitContainer >> (start & regMask)) & BIT_mask[nbBits];
-#endif
-}
-
-/*! BIT_lookBits() :
- * Provides next n bits from local register.
- * local register is not modified.
- * On 32-bits, maxNbBits==24.
- * On 64-bits, maxNbBits==56.
- * @return : value extracted */
-FORCE_INLINE_TEMPLATE size_t BIT_lookBits(const BIT_DStream_t* bitD, U32 nbBits)
-{
- /* arbitrate between double-shift and shift+mask */
-#if 1
- /* if bitD->bitsConsumed + nbBits > sizeof(bitD->bitContainer)*8,
- * bitstream is likely corrupted, and result is undefined */
- return BIT_getMiddleBits(bitD->bitContainer, (sizeof(bitD->bitContainer)*8) - bitD->bitsConsumed - nbBits, nbBits);
-#else
- /* this code path is slower on my os-x laptop */
- U32 const regMask = sizeof(bitD->bitContainer)*8 - 1;
- return ((bitD->bitContainer << (bitD->bitsConsumed & regMask)) >> 1) >> ((regMask-nbBits) & regMask);
-#endif
-}
-
-/*! BIT_lookBitsFast() :
- * unsafe version; only works if nbBits >= 1 */
-MEM_STATIC size_t BIT_lookBitsFast(const BIT_DStream_t* bitD, U32 nbBits)
-{
- U32 const regMask = sizeof(bitD->bitContainer)*8 - 1;
- assert(nbBits >= 1);
- return (bitD->bitContainer << (bitD->bitsConsumed & regMask)) >> (((regMask+1)-nbBits) & regMask);
-}
-
-FORCE_INLINE_TEMPLATE void BIT_skipBits(BIT_DStream_t* bitD, U32 nbBits)
-{
- bitD->bitsConsumed += nbBits;
-}
-
-/*! BIT_readBits() :
- * Read (consume) next n bits from local register and update.
- * Pay attention to not read more than nbBits contained into local register.
- * @return : extracted value. */
-FORCE_INLINE_TEMPLATE size_t BIT_readBits(BIT_DStream_t* bitD, unsigned nbBits)
-{
- size_t const value = BIT_lookBits(bitD, nbBits);
- BIT_skipBits(bitD, nbBits);
- return value;
-}
-
-/*! BIT_readBitsFast() :
- * unsafe version; only works if nbBits >= 1 */
-MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, unsigned nbBits)
-{
- size_t const value = BIT_lookBitsFast(bitD, nbBits);
- assert(nbBits >= 1);
- BIT_skipBits(bitD, nbBits);
- return value;
-}
-
-/*! BIT_reloadDStream_internal() :
- * Simple variant of BIT_reloadDStream(), with two conditions:
- * 1. bitstream is valid : bitsConsumed <= sizeof(bitD->bitContainer)*8
- * 2. look window is valid after shifted down : bitD->ptr >= bitD->start
- */
-MEM_STATIC BIT_DStream_status BIT_reloadDStream_internal(BIT_DStream_t* bitD)
-{
- assert(bitD->bitsConsumed <= sizeof(bitD->bitContainer)*8);
- bitD->ptr -= bitD->bitsConsumed >> 3;
- assert(bitD->ptr >= bitD->start);
- bitD->bitsConsumed &= 7;
- bitD->bitContainer = MEM_readLEST(bitD->ptr);
- return BIT_DStream_unfinished;
-}
-
-/*! BIT_reloadDStreamFast() :
- * Similar to BIT_reloadDStream(), but with two differences:
- * 1. bitsConsumed <= sizeof(bitD->bitContainer)*8 must hold!
- * 2. Returns BIT_DStream_overflow when bitD->ptr < bitD->limitPtr, at this
- * point you must use BIT_reloadDStream() to reload.
- */
-MEM_STATIC BIT_DStream_status BIT_reloadDStreamFast(BIT_DStream_t* bitD)
-{
- if (UNLIKELY(bitD->ptr < bitD->limitPtr))
- return BIT_DStream_overflow;
- return BIT_reloadDStream_internal(bitD);
-}
-
-/*! BIT_reloadDStream() :
- * Refill `bitD` from buffer previously set in BIT_initDStream() .
- * This function is safe, it guarantees it will not never beyond src buffer.
- * @return : status of `BIT_DStream_t` internal register.
- * when status == BIT_DStream_unfinished, internal register is filled with at least 25 or 57 bits */
-FORCE_INLINE_TEMPLATE BIT_DStream_status BIT_reloadDStream(BIT_DStream_t* bitD)
-{
- /* note : once in overflow mode, a bitstream remains in this mode until it's reset */
- if (UNLIKELY(bitD->bitsConsumed > (sizeof(bitD->bitContainer)*8))) {
- static const BitContainerType zeroFilled = 0;
- bitD->ptr = (const char*)&zeroFilled; /* aliasing is allowed for char */
- /* overflow detected, erroneous scenario or end of stream: no update */
- return BIT_DStream_overflow;
- }
-
- assert(bitD->ptr >= bitD->start);
-
- if (bitD->ptr >= bitD->limitPtr) {
- return BIT_reloadDStream_internal(bitD);
- }
- if (bitD->ptr == bitD->start) {
- /* reached end of bitStream => no update */
- if (bitD->bitsConsumed < sizeof(bitD->bitContainer)*8) return BIT_DStream_endOfBuffer;
- return BIT_DStream_completed;
- }
- /* start < ptr < limitPtr => cautious update */
- { U32 nbBytes = bitD->bitsConsumed >> 3;
- BIT_DStream_status result = BIT_DStream_unfinished;
- if (bitD->ptr - nbBytes < bitD->start) {
- nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */
- result = BIT_DStream_endOfBuffer;
- }
- bitD->ptr -= nbBytes;
- bitD->bitsConsumed -= nbBytes*8;
- bitD->bitContainer = MEM_readLEST(bitD->ptr); /* reminder : srcSize > sizeof(bitD->bitContainer), otherwise bitD->ptr == bitD->start */
- return result;
- }
-}
-
-/*! BIT_endOfDStream() :
- * @return : 1 if DStream has _exactly_ reached its end (all bits consumed).
- */
-MEM_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t* DStream)
-{
- return ((DStream->ptr == DStream->start) && (DStream->bitsConsumed == sizeof(DStream->bitContainer)*8));
-}
-
-#if defined (__cplusplus)
-}
-#endif
-
-#endif /* BITSTREAM_H_MODULE */
diff --git a/src/bled/fse_decompress.c b/src/bled/fse_decompress.c
deleted file mode 100644
index 63e478e5..00000000
--- a/src/bled/fse_decompress.c
+++ /dev/null
@@ -1,314 +0,0 @@
-/* ******************************************************************
- * FSE : Finite State Entropy decoder
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * You can contact the author at :
- * - FSE source repository : https://github.com/Cyan4973/FiniteStateEntropy
- * - Public forum : https://groups.google.com/forum/#!forum/lz4c
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
-****************************************************************** */
-
-
-/* **************************************************************
-* Includes
-****************************************************************/
-#include "fse_bitstream.h"
-#include "zstd_compiler.h"
-#define FSE_STATIC_LINKING_ONLY
-#include "fse.h"
-#include "zstd_error_private.h"
-#include "zstd_deps.h" /* ZSTD_memcpy */
-#include "zstd_bits.h" /* ZSTD_highbit32 */
-
-
-/* **************************************************************
-* Error Management
-****************************************************************/
-#define FSE_isError ERR_isError
-#define FSE_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) /* use only *after* variable declarations */
-
-
-/* **************************************************************
-* Templates
-****************************************************************/
-/*
- designed to be included
- for type-specific functions (template emulation in C)
- Objective is to write these functions only once, for improved maintenance
-*/
-
-/* safety checks */
-#ifndef FSE_FUNCTION_EXTENSION
-# error "FSE_FUNCTION_EXTENSION must be defined"
-#endif
-#ifndef FSE_FUNCTION_TYPE
-# error "FSE_FUNCTION_TYPE must be defined"
-#endif
-
-/* Function names */
-#define FSE_CAT(X,Y) X##Y
-#define FSE_FUNCTION_NAME(X,Y) FSE_CAT(X,Y)
-#define FSE_TYPE_NAME(X,Y) FSE_CAT(X,Y)
-
-static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize)
-{
- void* const tdPtr = dt+1; /* because *dt is unsigned, 32-bits aligned on 32-bits */
- FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr);
- U16* symbolNext = (U16*)workSpace;
- BYTE* spread = (BYTE*)(symbolNext + maxSymbolValue + 1);
-
- U32 const maxSV1 = maxSymbolValue + 1;
- U32 const tableSize = 1 << tableLog;
- U32 highThreshold = tableSize-1;
-
- /* Sanity Checks */
- if (FSE_BUILD_DTABLE_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(maxSymbolValue_tooLarge);
- if (maxSymbolValue > FSE_MAX_SYMBOL_VALUE) return ERROR(maxSymbolValue_tooLarge);
- if (tableLog > FSE_MAX_TABLELOG) return ERROR(tableLog_tooLarge);
-
- /* Init, lay down lowprob symbols */
- { FSE_DTableHeader DTableH;
- DTableH.tableLog = (U16)tableLog;
- DTableH.fastMode = 1;
- { S16 const largeLimit= (S16)(1 << (tableLog-1));
- U32 s;
- for (s=0; s= largeLimit) DTableH.fastMode=0;
- symbolNext[s] = (U16)normalizedCounter[s];
- } } }
- ZSTD_memcpy(dt, &DTableH, sizeof(DTableH));
- }
-
- /* Spread symbols */
- if (highThreshold == tableSize - 1) {
- size_t const tableMask = tableSize-1;
- size_t const step = FSE_TABLESTEP(tableSize);
- /* First lay down the symbols in order.
- * We use a uint64_t to lay down 8 bytes at a time. This reduces branch
- * misses since small blocks generally have small table logs, so nearly
- * all symbols have counts <= 8. We ensure we have 8 bytes at the end of
- * our buffer to handle the over-write.
- */
- { U64 const add = 0x0101010101010101ull;
- size_t pos = 0;
- U64 sv = 0;
- U32 s;
- for (s=0; s highThreshold) position = (position + step) & tableMask; /* lowprob area */
- } }
- if (position!=0) return ERROR(GENERIC); /* position must reach all cells once, otherwise normalizedCounter is incorrect */
- }
-
- /* Build Decoding table */
- { U32 u;
- for (u=0; u sizeof(bitD.bitContainer)*8) /* This test must be static */
- BIT_reloadDStream(&bitD);
-
- op[1] = FSE_GETSYMBOL(&state2);
-
- if (FSE_MAX_TABLELOG*4+7 > sizeof(bitD.bitContainer)*8) /* This test must be static */
- { if (BIT_reloadDStream(&bitD) > BIT_DStream_unfinished) { op+=2; break; } }
-
- op[2] = FSE_GETSYMBOL(&state1);
-
- if (FSE_MAX_TABLELOG*2+7 > sizeof(bitD.bitContainer)*8) /* This test must be static */
- BIT_reloadDStream(&bitD);
-
- op[3] = FSE_GETSYMBOL(&state2);
- }
-
- /* tail */
- /* note : BIT_reloadDStream(&bitD) >= FSE_DStream_partiallyFilled; Ends at exactly BIT_DStream_completed */
- while (1) {
- if (op>(omax-2)) return ERROR(dstSize_tooSmall);
- *op++ = FSE_GETSYMBOL(&state1);
- if (BIT_reloadDStream(&bitD)==BIT_DStream_overflow) {
- *op++ = FSE_GETSYMBOL(&state2);
- break;
- }
-
- if (op>(omax-2)) return ERROR(dstSize_tooSmall);
- *op++ = FSE_GETSYMBOL(&state2);
- if (BIT_reloadDStream(&bitD)==BIT_DStream_overflow) {
- *op++ = FSE_GETSYMBOL(&state1);
- break;
- } }
-
- assert(op >= ostart);
- return (size_t)(op-ostart);
-}
-
-typedef struct {
- short ncount[FSE_MAX_SYMBOL_VALUE + 1];
-} FSE_DecompressWksp;
-
-
-FORCE_INLINE_TEMPLATE size_t FSE_decompress_wksp_body(
- void* dst, size_t dstCapacity,
- const void* cSrc, size_t cSrcSize,
- unsigned maxLog, void* workSpace, size_t wkspSize,
- int bmi2)
-{
- const BYTE* const istart = (const BYTE*)cSrc;
- const BYTE* ip = istart;
- unsigned tableLog;
- unsigned maxSymbolValue = FSE_MAX_SYMBOL_VALUE;
- FSE_DecompressWksp* const wksp = (FSE_DecompressWksp*)workSpace;
- size_t const dtablePos = sizeof(FSE_DecompressWksp) / sizeof(FSE_DTable);
- FSE_DTable* const dtable = (FSE_DTable*)workSpace + dtablePos;
-
- FSE_STATIC_ASSERT((FSE_MAX_SYMBOL_VALUE + 1) % 2 == 0);
- if (wkspSize < sizeof(*wksp)) return ERROR(GENERIC);
-
- /* correct offset to dtable depends on this property */
- FSE_STATIC_ASSERT(sizeof(FSE_DecompressWksp) % sizeof(FSE_DTable) == 0);
-
- /* normal FSE decoding mode */
- { size_t const NCountLength =
- FSE_readNCount_bmi2(wksp->ncount, &maxSymbolValue, &tableLog, istart, cSrcSize, bmi2);
- if (FSE_isError(NCountLength)) return NCountLength;
- if (tableLog > maxLog) return ERROR(tableLog_tooLarge);
- assert(NCountLength <= cSrcSize);
- ip += NCountLength;
- cSrcSize -= NCountLength;
- }
-
- if (FSE_DECOMPRESS_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(tableLog_tooLarge);
- assert(sizeof(*wksp) + FSE_DTABLE_SIZE(tableLog) <= wkspSize);
- workSpace = (BYTE*)workSpace + sizeof(*wksp) + FSE_DTABLE_SIZE(tableLog);
- wkspSize -= sizeof(*wksp) + FSE_DTABLE_SIZE(tableLog);
-
- CHECK_F( FSE_buildDTable_internal(dtable, wksp->ncount, maxSymbolValue, tableLog, workSpace, wkspSize) );
-
- {
- const void* ptr = dtable;
- const FSE_DTableHeader* DTableH = (const FSE_DTableHeader*)ptr;
- const U32 fastMode = DTableH->fastMode;
-
- /* select fast mode (static) */
- if (fastMode) return FSE_decompress_usingDTable_generic(dst, dstCapacity, ip, cSrcSize, dtable, 1);
- return FSE_decompress_usingDTable_generic(dst, dstCapacity, ip, cSrcSize, dtable, 0);
- }
-}
-
-/* Avoids the FORCE_INLINE of the _body() function. */
-static size_t FSE_decompress_wksp_body_default(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize)
-{
- return FSE_decompress_wksp_body(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, 0);
-}
-
-#if DYNAMIC_BMI2
-BMI2_TARGET_ATTRIBUTE static size_t FSE_decompress_wksp_body_bmi2(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize)
-{
- return FSE_decompress_wksp_body(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, 1);
-}
-#endif
-
-size_t FSE_decompress_wksp_bmi2(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize, int bmi2)
-{
-#if DYNAMIC_BMI2
- if (bmi2) {
- return FSE_decompress_wksp_body_bmi2(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize);
- }
-#endif
- (void)bmi2;
- return FSE_decompress_wksp_body_default(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize);
-}
-
-#endif /* FSE_COMMONDEFS_ONLY */
diff --git a/src/bled/header_verbose_list.c b/src/bled/header_verbose_list.c
index 74b97f95..73e1fee4 100644
--- a/src/bled/header_verbose_list.c
+++ b/src/bled/header_verbose_list.c
@@ -11,6 +11,7 @@ void FAST_FUNC header_verbose_list(const file_header_t *file_header)
struct tm *ptm = &tm_time; //localtime(&file_header->mtime);
#if ENABLE_FEATURE_TAR_UNAME_GNAME
+ char modestr[12];
char uid[sizeof(int)*3 + 2];
/*char gid[sizeof(int)*3 + 2];*/
char *user;
@@ -28,8 +29,8 @@ void FAST_FUNC header_verbose_list(const file_header_t *file_header)
/*sprintf(gid, "%u", (unsigned)file_header->gid);*/
group = utoa(file_header->gid);
}
- printf("%u %s/%s %9"OFF_FMT"u %4u-%02u-%02u %02u:%02u:%02u %s",
- file_header->mode,
+ printf("%s %s/%s %9"OFF_FMT"u %4u-%02u-%02u %02u:%02u:%02u %s",
+ bb_mode_string(modestr, file_header->mode),
user,
group,
file_header->size,
@@ -45,8 +46,8 @@ void FAST_FUNC header_verbose_list(const file_header_t *file_header)
localtime_r(&file_header->mtime, ptm);
- printf("%u %u/%u %9"OFF_FMT"u %4u-%02u-%02u %02u:%02u:%02u %s",
- file_header->mode,
+ printf("%s %u/%u %9"OFF_FMT"u %4u-%02u-%02u %02u:%02u:%02u %s",
+ bb_mode_string(modestr, file_header->mode),
(unsigned)file_header->uid,
(unsigned)file_header->gid,
file_header->size,
diff --git a/src/bled/huf.h b/src/bled/huf.h
deleted file mode 100644
index e4f5a6f4..00000000
--- a/src/bled/huf.h
+++ /dev/null
@@ -1,286 +0,0 @@
-/* ******************************************************************
- * huff0 huffman codec,
- * part of Finite State Entropy library
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * You can contact the author at :
- * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
-****************************************************************** */
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-#ifndef HUF_H_298734234
-#define HUF_H_298734234
-
-/* *** Dependencies *** */
-#include "zstd_deps.h" /* size_t */
-#include "zstd_mem.h" /* U32 */
-#define FSE_STATIC_LINKING_ONLY
-#include "fse.h"
-
-
-/* *** Tool functions *** */
-#define HUF_BLOCKSIZE_MAX (128 * 1024) /**< maximum input size for a single block compressed with HUF_compress */
-size_t HUF_compressBound(size_t size); /**< maximum compressed size (worst case) */
-
-/* Error Management */
-unsigned HUF_isError(size_t code); /**< tells if a return value is an error code */
-const char* HUF_getErrorName(size_t code); /**< provides error code string (useful for debugging) */
-
-
-#define HUF_WORKSPACE_SIZE ((8 << 10) + 512 /* sorting scratch space */)
-#define HUF_WORKSPACE_SIZE_U64 (HUF_WORKSPACE_SIZE / sizeof(U64))
-
-/* *** Constants *** */
-#define HUF_TABLELOG_MAX 12 /* max runtime value of tableLog (due to static allocation); can be modified up to HUF_TABLELOG_ABSOLUTEMAX */
-#define HUF_TABLELOG_DEFAULT 11 /* default tableLog value when none specified */
-#define HUF_SYMBOLVALUE_MAX 255
-
-#define HUF_TABLELOG_ABSOLUTEMAX 12 /* absolute limit of HUF_MAX_TABLELOG. Beyond that value, code does not work */
-#if (HUF_TABLELOG_MAX > HUF_TABLELOG_ABSOLUTEMAX)
-# error "HUF_TABLELOG_MAX is too large !"
-#endif
-
-
-/* ****************************************
-* Static allocation
-******************************************/
-/* HUF buffer bounds */
-#define HUF_CTABLEBOUND 129
-#define HUF_BLOCKBOUND(size) (size + (size>>8) + 8) /* only true when incompressible is pre-filtered with fast heuristic */
-#define HUF_COMPRESSBOUND(size) (HUF_CTABLEBOUND + HUF_BLOCKBOUND(size)) /* Macro version, useful for static allocation */
-
-/* static allocation of HUF's Compression Table */
-/* this is a private definition, just exposed for allocation and strict aliasing purpose. never EVER access its members directly */
-typedef size_t HUF_CElt; /* consider it an incomplete type */
-#define HUF_CTABLE_SIZE_ST(maxSymbolValue) ((maxSymbolValue)+2) /* Use tables of size_t, for proper alignment */
-#define HUF_CTABLE_SIZE(maxSymbolValue) (HUF_CTABLE_SIZE_ST(maxSymbolValue) * sizeof(size_t))
-#define HUF_CREATE_STATIC_CTABLE(name, maxSymbolValue) \
- HUF_CElt name[HUF_CTABLE_SIZE_ST(maxSymbolValue)] /* no final ; */
-
-/* static allocation of HUF's DTable */
-typedef U32 HUF_DTable;
-#define HUF_DTABLE_SIZE(maxTableLog) (1 + (1<<(maxTableLog)))
-#define HUF_CREATE_STATIC_DTABLEX1(DTable, maxTableLog) \
- HUF_DTable DTable[HUF_DTABLE_SIZE((maxTableLog)-1)] = { ((U32)((maxTableLog)-1) * 0x01000001) }
-#define HUF_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \
- HUF_DTable DTable[HUF_DTABLE_SIZE(maxTableLog)] = { ((U32)(maxTableLog) * 0x01000001) }
-
-
-/* ****************************************
-* Advanced decompression functions
-******************************************/
-
-/**
- * Huffman flags bitset.
- * For all flags, 0 is the default value.
- */
-typedef enum {
- /**
- * If compiled with DYNAMIC_BMI2: Set flag only if the CPU supports BMI2 at runtime.
- * Otherwise: Ignored.
- */
- HUF_flags_bmi2 = (1 << 0),
- /**
- * If set: Test possible table depths to find the one that produces the smallest header + encoded size.
- * If unset: Use heuristic to find the table depth.
- */
- HUF_flags_optimalDepth = (1 << 1),
- /**
- * If set: If the previous table can encode the input, always reuse the previous table.
- * If unset: If the previous table can encode the input, reuse the previous table if it results in a smaller output.
- */
- HUF_flags_preferRepeat = (1 << 2),
- /**
- * If set: Sample the input and check if the sample is uncompressible, if it is then don't attempt to compress.
- * If unset: Always histogram the entire input.
- */
- HUF_flags_suspectUncompressible = (1 << 3),
- /**
- * If set: Don't use assembly implementations
- * If unset: Allow using assembly implementations
- */
- HUF_flags_disableAsm = (1 << 4),
- /**
- * If set: Don't use the fast decoding loop, always use the fallback decoding loop.
- * If unset: Use the fast decoding loop when possible.
- */
- HUF_flags_disableFast = (1 << 5)
-} HUF_flags_e;
-
-
-/* ****************************************
- * HUF detailed API
- * ****************************************/
-#define HUF_OPTIMAL_DEPTH_THRESHOLD ZSTD_btultra
-
-/*! HUF_compress() does the following:
- * 1. count symbol occurrence from source[] into table count[] using FSE_count() (exposed within "fse.h")
- * 2. (optional) refine tableLog using HUF_optimalTableLog()
- * 3. build Huffman table from count using HUF_buildCTable()
- * 4. save Huffman table to memory buffer using HUF_writeCTable()
- * 5. encode the data stream using HUF_compress4X_usingCTable()
- *
- * The following API allows targeting specific sub-functions for advanced tasks.
- * For example, it's possible to compress several blocks using the same 'CTable',
- * or to save and regenerate 'CTable' using external methods.
- */
-unsigned HUF_minTableLog(unsigned symbolCardinality);
-unsigned HUF_cardinality(const unsigned* count, unsigned maxSymbolValue);
-unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue, void* workSpace,
- size_t wkspSize, HUF_CElt* table, const unsigned* count, int flags); /* table is used as scratch space for building and testing tables, not a return value */
-size_t HUF_writeCTable_wksp(void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, void* workspace, size_t workspaceSize);
-size_t HUF_compress4X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable, int flags);
-size_t HUF_estimateCompressedSize(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue);
-int HUF_validateCTable(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue);
-
-typedef enum {
- HUF_repeat_none, /**< Cannot use the previous table */
- HUF_repeat_check, /**< Can use the previous table but it must be checked. Note : The previous table must have been constructed by HUF_compress{1, 4}X_repeat */
- HUF_repeat_valid /**< Can use the previous table and it is assumed to be valid */
- } HUF_repeat;
-
-/** HUF_compress4X_repeat() :
- * Same as HUF_compress4X_wksp(), but considers using hufTable if *repeat != HUF_repeat_none.
- * If it uses hufTable it does not modify hufTable or repeat.
- * If it doesn't, it sets *repeat = HUF_repeat_none, and it sets hufTable to the table used.
- * If preferRepeat then the old table will always be used if valid.
- * If suspectUncompressible then some sampling checks will be run to potentially skip huffman coding */
-size_t HUF_compress4X_repeat(void* dst, size_t dstSize,
- const void* src, size_t srcSize,
- unsigned maxSymbolValue, unsigned tableLog,
- void* workSpace, size_t wkspSize, /**< `workSpace` must be aligned on 4-bytes boundaries, `wkspSize` must be >= HUF_WORKSPACE_SIZE */
- HUF_CElt* hufTable, HUF_repeat* repeat, int flags);
-
-/** HUF_buildCTable_wksp() :
- * Same as HUF_buildCTable(), but using externally allocated scratch buffer.
- * `workSpace` must be aligned on 4-bytes boundaries, and its size must be >= HUF_CTABLE_WORKSPACE_SIZE.
- */
-#define HUF_CTABLE_WORKSPACE_SIZE_U32 ((4 * (HUF_SYMBOLVALUE_MAX + 1)) + 192)
-#define HUF_CTABLE_WORKSPACE_SIZE (HUF_CTABLE_WORKSPACE_SIZE_U32 * sizeof(unsigned))
-size_t HUF_buildCTable_wksp (HUF_CElt* tree,
- const unsigned* count, U32 maxSymbolValue, U32 maxNbBits,
- void* workSpace, size_t wkspSize);
-
-/*! HUF_readStats() :
- * Read compact Huffman tree, saved by HUF_writeCTable().
- * `huffWeight` is destination buffer.
- * @return : size read from `src` , or an error Code .
- * Note : Needed by HUF_readCTable() and HUF_readDTableXn() . */
-size_t HUF_readStats(BYTE* huffWeight, size_t hwSize,
- U32* rankStats, U32* nbSymbolsPtr, U32* tableLogPtr,
- const void* src, size_t srcSize);
-
-/*! HUF_readStats_wksp() :
- * Same as HUF_readStats() but takes an external workspace which must be
- * 4-byte aligned and its size must be >= HUF_READ_STATS_WORKSPACE_SIZE.
- * If the CPU has BMI2 support, pass bmi2=1, otherwise pass bmi2=0.
- */
-#define HUF_READ_STATS_WORKSPACE_SIZE_U32 FSE_DECOMPRESS_WKSP_SIZE_U32(6, HUF_TABLELOG_MAX-1)
-#define HUF_READ_STATS_WORKSPACE_SIZE (HUF_READ_STATS_WORKSPACE_SIZE_U32 * sizeof(unsigned))
-size_t HUF_readStats_wksp(BYTE* huffWeight, size_t hwSize,
- U32* rankStats, U32* nbSymbolsPtr, U32* tableLogPtr,
- const void* src, size_t srcSize,
- void* workspace, size_t wkspSize,
- int flags);
-
-/** HUF_readCTable() :
- * Loading a CTable saved with HUF_writeCTable() */
-size_t HUF_readCTable (HUF_CElt* CTable, unsigned* maxSymbolValuePtr, const void* src, size_t srcSize, unsigned *hasZeroWeights);
-
-/** HUF_getNbBitsFromCTable() :
- * Read nbBits from CTable symbolTable, for symbol `symbolValue` presumed <= HUF_SYMBOLVALUE_MAX
- * Note 1 : If symbolValue > HUF_readCTableHeader(symbolTable).maxSymbolValue, returns 0
- * Note 2 : is not inlined, as HUF_CElt definition is private
- */
-U32 HUF_getNbBitsFromCTable(const HUF_CElt* symbolTable, U32 symbolValue);
-
-typedef struct {
- BYTE tableLog;
- BYTE maxSymbolValue;
- BYTE unused[sizeof(size_t) - 2];
-} HUF_CTableHeader;
-
-/** HUF_readCTableHeader() :
- * @returns The header from the CTable specifying the tableLog and the maxSymbolValue.
- */
-HUF_CTableHeader HUF_readCTableHeader(HUF_CElt const* ctable);
-
-/*
- * HUF_decompress() does the following:
- * 1. select the decompression algorithm (X1, X2) based on pre-computed heuristics
- * 2. build Huffman table from save, using HUF_readDTableX?()
- * 3. decode 1 or 4 segments in parallel using HUF_decompress?X?_usingDTable()
- */
-
-/** HUF_selectDecoder() :
- * Tells which decoder is likely to decode faster,
- * based on a set of pre-computed metrics.
- * @return : 0==HUF_decompress4X1, 1==HUF_decompress4X2 .
- * Assumption : 0 < dstSize <= 128 KB */
-U32 HUF_selectDecoder (size_t dstSize, size_t cSrcSize);
-
-/**
- * The minimum workspace size for the `workSpace` used in
- * HUF_readDTableX1_wksp() and HUF_readDTableX2_wksp().
- *
- * The space used depends on HUF_TABLELOG_MAX, ranging from ~1500 bytes when
- * HUF_TABLE_LOG_MAX=12 to ~1850 bytes when HUF_TABLE_LOG_MAX=15.
- * Buffer overflow errors may potentially occur if code modifications result in
- * a required workspace size greater than that specified in the following
- * macro.
- */
-#define HUF_DECOMPRESS_WORKSPACE_SIZE ((2 << 10) + (1 << 9))
-#define HUF_DECOMPRESS_WORKSPACE_SIZE_U32 (HUF_DECOMPRESS_WORKSPACE_SIZE / sizeof(U32))
-
-
-/* ====================== */
-/* single stream variants */
-/* ====================== */
-
-size_t HUF_compress1X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable, int flags);
-/** HUF_compress1X_repeat() :
- * Same as HUF_compress1X_wksp(), but considers using hufTable if *repeat != HUF_repeat_none.
- * If it uses hufTable it does not modify hufTable or repeat.
- * If it doesn't, it sets *repeat = HUF_repeat_none, and it sets hufTable to the table used.
- * If preferRepeat then the old table will always be used if valid.
- * If suspectUncompressible then some sampling checks will be run to potentially skip huffman coding */
-size_t HUF_compress1X_repeat(void* dst, size_t dstSize,
- const void* src, size_t srcSize,
- unsigned maxSymbolValue, unsigned tableLog,
- void* workSpace, size_t wkspSize, /**< `workSpace` must be aligned on 4-bytes boundaries, `wkspSize` must be >= HUF_WORKSPACE_SIZE */
- HUF_CElt* hufTable, HUF_repeat* repeat, int flags);
-
-size_t HUF_decompress1X_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int flags);
-#ifndef HUF_FORCE_DECOMPRESS_X1
-size_t HUF_decompress1X2_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int flags); /**< double-symbols decoder */
-#endif
-
-/* BMI2 variants.
- * If the CPU has BMI2 support, pass bmi2=1, otherwise pass bmi2=0.
- */
-size_t HUF_decompress1X_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const HUF_DTable* DTable, int flags);
-#ifndef HUF_FORCE_DECOMPRESS_X2
-size_t HUF_decompress1X1_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int flags);
-#endif
-size_t HUF_decompress4X_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const HUF_DTable* DTable, int flags);
-size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int flags);
-#ifndef HUF_FORCE_DECOMPRESS_X2
-size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize, int flags);
-#endif
-#ifndef HUF_FORCE_DECOMPRESS_X1
-size_t HUF_readDTableX2_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize, int flags);
-#endif
-
-#endif /* HUF_H_298734234 */
-
-#if defined (__cplusplus)
-}
-#endif
diff --git a/src/bled/huf_decompress.c b/src/bled/huf_decompress.c
deleted file mode 100644
index 1f38c40e..00000000
--- a/src/bled/huf_decompress.c
+++ /dev/null
@@ -1,1945 +0,0 @@
-/* ******************************************************************
- * huff0 huffman decoder,
- * part of Finite State Entropy library
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * You can contact the author at :
- * - FSE+HUF source repository : https://github.com/Cyan4973/FiniteStateEntropy
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
-****************************************************************** */
-
-/* **************************************************************
-* Dependencies
-****************************************************************/
-#include "zstd_deps.h" /* ZSTD_memcpy, ZSTD_memset */
-#include "zstd_compiler.h"
-#include "fse_bitstream.h" /* BIT_* */
-#include "fse.h" /* to compress headers */
-#include "huf.h"
-#include "zstd_error_private.h"
-#include "zstd_internal.h"
-#include "zstd_bits.h" /* ZSTD_highbit32, ZSTD_countTrailingZeros64 */
-
-/* **************************************************************
-* Constants
-****************************************************************/
-
-#define HUF_DECODER_FAST_TABLELOG 11
-
-/* **************************************************************
-* Macros
-****************************************************************/
-
-#ifdef HUF_DISABLE_FAST_DECODE
-# define HUF_ENABLE_FAST_DECODE 0
-#else
-# define HUF_ENABLE_FAST_DECODE 1
-#endif
-
-/* These two optional macros force the use one way or another of the two
- * Huffman decompression implementations. You can't force in both directions
- * at the same time.
- */
-#if defined(HUF_FORCE_DECOMPRESS_X1) && \
- defined(HUF_FORCE_DECOMPRESS_X2)
-#error "Cannot force the use of the X1 and X2 decoders at the same time!"
-#endif
-
-/* When DYNAMIC_BMI2 is enabled, fast decoders are only called when bmi2 is
- * supported at runtime, so we can add the BMI2 target attribute.
- * When it is disabled, we will still get BMI2 if it is enabled statically.
- */
-#if DYNAMIC_BMI2
-# define HUF_FAST_BMI2_ATTRS BMI2_TARGET_ATTRIBUTE
-#else
-# define HUF_FAST_BMI2_ATTRS
-#endif
-
-#ifdef __cplusplus
-# define HUF_EXTERN_C extern "C"
-#else
-# define HUF_EXTERN_C
-#endif
-#define HUF_ASM_DECL HUF_EXTERN_C
-
-#if DYNAMIC_BMI2
-# define HUF_NEED_BMI2_FUNCTION 1
-#else
-# define HUF_NEED_BMI2_FUNCTION 0
-#endif
-
-/* **************************************************************
-* Error Management
-****************************************************************/
-#define HUF_isError ERR_isError
-
-
-/* **************************************************************
-* Byte alignment for workSpace management
-****************************************************************/
-#define HUF_ALIGN(x, a) HUF_ALIGN_MASK((x), (a) - 1)
-#define HUF_ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask))
-
-
-/* **************************************************************
-* BMI2 Variant Wrappers
-****************************************************************/
-typedef size_t (*HUF_DecompressUsingDTableFn)(void *dst, size_t dstSize,
- const void *cSrc,
- size_t cSrcSize,
- const HUF_DTable *DTable);
-
-#if DYNAMIC_BMI2
-
-#define HUF_DGEN(fn) \
- \
- static size_t fn##_default( \
- void* dst, size_t dstSize, \
- const void* cSrc, size_t cSrcSize, \
- const HUF_DTable* DTable) \
- { \
- return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
- } \
- \
- static BMI2_TARGET_ATTRIBUTE size_t fn##_bmi2( \
- void* dst, size_t dstSize, \
- const void* cSrc, size_t cSrcSize, \
- const HUF_DTable* DTable) \
- { \
- return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
- } \
- \
- static size_t fn(void* dst, size_t dstSize, void const* cSrc, \
- size_t cSrcSize, HUF_DTable const* DTable, int flags) \
- { \
- if (flags & HUF_flags_bmi2) { \
- return fn##_bmi2(dst, dstSize, cSrc, cSrcSize, DTable); \
- } \
- return fn##_default(dst, dstSize, cSrc, cSrcSize, DTable); \
- }
-
-#else
-
-#define HUF_DGEN(fn) \
- static size_t fn(void* dst, size_t dstSize, void const* cSrc, \
- size_t cSrcSize, HUF_DTable const* DTable, int flags) \
- { \
- (void)flags; \
- return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
- }
-
-#endif
-
-
-/*-***************************/
-/* generic DTableDesc */
-/*-***************************/
-typedef struct { BYTE maxTableLog; BYTE tableType; BYTE tableLog; BYTE reserved; } DTableDesc;
-
-static DTableDesc HUF_getDTableDesc(const HUF_DTable* table)
-{
- DTableDesc dtd;
- ZSTD_memcpy(&dtd, table, sizeof(dtd));
- return dtd;
-}
-
-static size_t HUF_initFastDStream(BYTE const* ip) {
- BYTE const lastByte = ip[7];
- size_t const bitsConsumed = lastByte ? 8 - ZSTD_highbit32(lastByte) : 0;
- size_t const value = MEM_readLEST(ip) | 1;
- assert(bitsConsumed <= 8);
- assert(sizeof(size_t) == 8);
- return value << bitsConsumed;
-}
-
-
-/**
- * The input/output arguments to the Huffman fast decoding loop:
- *
- * ip [in/out] - The input pointers, must be updated to reflect what is consumed.
- * op [in/out] - The output pointers, must be updated to reflect what is written.
- * bits [in/out] - The bitstream containers, must be updated to reflect the current state.
- * dt [in] - The decoding table.
- * ilowest [in] - The beginning of the valid range of the input. Decoders may read
- * down to this pointer. It may be below iend[0].
- * oend [in] - The end of the output stream. op[3] must not cross oend.
- * iend [in] - The end of each input stream. ip[i] may cross iend[i],
- * as long as it is above ilowest, but that indicates corruption.
- */
-typedef struct {
- BYTE const* ip[4];
- BYTE* op[4];
- U64 bits[4];
- void const* dt;
- BYTE const* ilowest;
- BYTE* oend;
- BYTE const* iend[4];
-} HUF_DecompressFastArgs;
-
-typedef void (*HUF_DecompressFastLoopFn)(HUF_DecompressFastArgs*);
-
-/**
- * Initializes args for the fast decoding loop.
- * @returns 1 on success
- * 0 if the fallback implementation should be used.
- * Or an error code on failure.
- */
-static size_t HUF_DecompressFastArgs_init(HUF_DecompressFastArgs* args, void* dst, size_t dstSize, void const* src, size_t srcSize, const HUF_DTable* DTable)
-{
- void const* dt = DTable + 1;
- U32 const dtLog = HUF_getDTableDesc(DTable).tableLog;
-
- const BYTE* const istart = (const BYTE*)src;
-
- BYTE* const oend = ZSTD_maybeNullPtrAdd((BYTE*)dst, dstSize);
-
- /* The fast decoding loop assumes 64-bit little-endian.
- * This condition is false on x32.
- */
- if (!MEM_isLittleEndian() || MEM_32bits())
- return 0;
-
- /* Avoid nullptr addition */
- if (dstSize == 0)
- return 0;
- assert(dst != NULL);
-
- /* strict minimum : jump table + 1 byte per stream */
- if (srcSize < 10)
- return ERROR(corruption_detected);
-
- /* Must have at least 8 bytes per stream because we don't handle initializing smaller bit containers.
- * If table log is not correct at this point, fallback to the old decoder.
- * On small inputs we don't have enough data to trigger the fast loop, so use the old decoder.
- */
- if (dtLog != HUF_DECODER_FAST_TABLELOG)
- return 0;
-
- /* Read the jump table. */
- {
- size_t const length1 = MEM_readLE16(istart);
- size_t const length2 = MEM_readLE16(istart+2);
- size_t const length3 = MEM_readLE16(istart+4);
- size_t const length4 = srcSize - (length1 + length2 + length3 + 6);
- args->iend[0] = istart + 6; /* jumpTable */
- args->iend[1] = args->iend[0] + length1;
- args->iend[2] = args->iend[1] + length2;
- args->iend[3] = args->iend[2] + length3;
-
- /* HUF_initFastDStream() requires this, and this small of an input
- * won't benefit from the ASM loop anyways.
- */
- if (length1 < 8 || length2 < 8 || length3 < 8 || length4 < 8)
- return 0;
- if (length4 > srcSize) return ERROR(corruption_detected); /* overflow */
- }
- /* ip[] contains the position that is currently loaded into bits[]. */
- args->ip[0] = args->iend[1] - sizeof(U64);
- args->ip[1] = args->iend[2] - sizeof(U64);
- args->ip[2] = args->iend[3] - sizeof(U64);
- args->ip[3] = (BYTE const*)src + srcSize - sizeof(U64);
-
- /* op[] contains the output pointers. */
- args->op[0] = (BYTE*)dst;
- args->op[1] = args->op[0] + (dstSize+3)/4;
- args->op[2] = args->op[1] + (dstSize+3)/4;
- args->op[3] = args->op[2] + (dstSize+3)/4;
-
- /* No point to call the ASM loop for tiny outputs. */
- if (args->op[3] >= oend)
- return 0;
-
- /* bits[] is the bit container.
- * It is read from the MSB down to the LSB.
- * It is shifted left as it is read, and zeros are
- * shifted in. After the lowest valid bit a 1 is
- * set, so that CountTrailingZeros(bits[]) can be used
- * to count how many bits we've consumed.
- */
- args->bits[0] = HUF_initFastDStream(args->ip[0]);
- args->bits[1] = HUF_initFastDStream(args->ip[1]);
- args->bits[2] = HUF_initFastDStream(args->ip[2]);
- args->bits[3] = HUF_initFastDStream(args->ip[3]);
-
- /* The decoders must be sure to never read beyond ilowest.
- * This is lower than iend[0], but allowing decoders to read
- * down to ilowest can allow an extra iteration or two in the
- * fast loop.
- */
- args->ilowest = istart;
-
- args->oend = oend;
- args->dt = dt;
-
- return 1;
-}
-
-static size_t HUF_initRemainingDStream(BIT_DStream_t* bit, HUF_DecompressFastArgs const* args, int stream, BYTE* segmentEnd)
-{
- /* Validate that we haven't overwritten. */
- if (args->op[stream] > segmentEnd)
- return ERROR(corruption_detected);
- /* Validate that we haven't read beyond iend[].
- * Note that ip[] may be < iend[] because the MSB is
- * the next bit to read, and we may have consumed 100%
- * of the stream, so down to iend[i] - 8 is valid.
- */
- if (args->ip[stream] < args->iend[stream] - 8)
- return ERROR(corruption_detected);
-
- /* Construct the BIT_DStream_t. */
- assert(sizeof(size_t) == 8);
- bit->bitContainer = MEM_readLEST(args->ip[stream]);
- bit->bitsConsumed = ZSTD_countTrailingZeros64(args->bits[stream]);
- bit->start = (const char*)args->ilowest;
- bit->limitPtr = bit->start + sizeof(size_t);
- bit->ptr = (const char*)args->ip[stream];
-
- return 0;
-}
-
-/* Calls X(N) for each stream 0, 1, 2, 3. */
-#define HUF_4X_FOR_EACH_STREAM(X) \
- do { \
- X(0); \
- X(1); \
- X(2); \
- X(3); \
- } while (0)
-
-/* Calls X(N, var) for each stream 0, 1, 2, 3. */
-#define HUF_4X_FOR_EACH_STREAM_WITH_VAR(X, var) \
- do { \
- X(0, (var)); \
- X(1, (var)); \
- X(2, (var)); \
- X(3, (var)); \
- } while (0)
-
-
-#ifndef HUF_FORCE_DECOMPRESS_X2
-
-/*-***************************/
-/* single-symbol decoding */
-/*-***************************/
-typedef struct { BYTE nbBits; BYTE byte; } HUF_DEltX1; /* single-symbol decoding */
-
-/**
- * Packs 4 HUF_DEltX1 structs into a U64. This is used to lay down 4 entries at
- * a time.
- */
-static U64 HUF_DEltX1_set4(BYTE symbol, BYTE nbBits) {
- U64 D4;
- if (MEM_isLittleEndian()) {
- D4 = (U64)((symbol << 8) + nbBits);
- } else {
- D4 = (U64)(symbol + (nbBits << 8));
- }
- assert(D4 < (1U << 16));
- D4 *= 0x0001000100010001ULL;
- return D4;
-}
-
-/**
- * Increase the tableLog to targetTableLog and rescales the stats.
- * If tableLog > targetTableLog this is a no-op.
- * @returns New tableLog
- */
-static U32 HUF_rescaleStats(BYTE* huffWeight, U32* rankVal, U32 nbSymbols, U32 tableLog, U32 targetTableLog)
-{
- if (tableLog > targetTableLog)
- return tableLog;
- if (tableLog < targetTableLog) {
- U32 const scale = targetTableLog - tableLog;
- U32 s;
- /* Increase the weight for all non-zero probability symbols by scale. */
- for (s = 0; s < nbSymbols; ++s) {
- huffWeight[s] += (BYTE)((huffWeight[s] == 0) ? 0 : scale);
- }
- /* Update rankVal to reflect the new weights.
- * All weights except 0 get moved to weight + scale.
- * Weights [1, scale] are empty.
- */
- for (s = targetTableLog; s > scale; --s) {
- rankVal[s] = rankVal[s - scale];
- }
- for (s = scale; s > 0; --s) {
- rankVal[s] = 0;
- }
- }
- return targetTableLog;
-}
-
-typedef struct {
- U32 rankVal[HUF_TABLELOG_ABSOLUTEMAX + 1];
- U32 rankStart[HUF_TABLELOG_ABSOLUTEMAX + 1];
- U32 statsWksp[HUF_READ_STATS_WORKSPACE_SIZE_U32];
- BYTE symbols[HUF_SYMBOLVALUE_MAX + 1];
- BYTE huffWeight[HUF_SYMBOLVALUE_MAX + 1];
-} HUF_ReadDTableX1_Workspace;
-
-size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize, int flags)
-{
- U32 tableLog = 0;
- U32 nbSymbols = 0;
- size_t iSize;
- void* const dtPtr = DTable + 1;
- HUF_DEltX1* const dt = (HUF_DEltX1*)dtPtr;
- HUF_ReadDTableX1_Workspace* wksp = (HUF_ReadDTableX1_Workspace*)workSpace;
-
- DEBUG_STATIC_ASSERT(HUF_DECOMPRESS_WORKSPACE_SIZE >= sizeof(*wksp));
- if (sizeof(*wksp) > wkspSize) return ERROR(tableLog_tooLarge);
-
- DEBUG_STATIC_ASSERT(sizeof(DTableDesc) == sizeof(HUF_DTable));
- /* ZSTD_memset(huffWeight, 0, sizeof(huffWeight)); */ /* is not necessary, even though some analyzer complain ... */
-
- iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &tableLog, src, srcSize, wksp->statsWksp, sizeof(wksp->statsWksp), flags);
- if (HUF_isError(iSize)) return iSize;
-
-
- /* Table header */
- { DTableDesc dtd = HUF_getDTableDesc(DTable);
- U32 const maxTableLog = dtd.maxTableLog + 1;
- U32 const targetTableLog = MIN(maxTableLog, HUF_DECODER_FAST_TABLELOG);
- tableLog = HUF_rescaleStats(wksp->huffWeight, wksp->rankVal, nbSymbols, tableLog, targetTableLog);
- if (tableLog > (U32)(dtd.maxTableLog+1)) return ERROR(tableLog_tooLarge); /* DTable too small, Huffman tree cannot fit in */
- dtd.tableType = 0;
- dtd.tableLog = (BYTE)tableLog;
- ZSTD_memcpy(DTable, &dtd, sizeof(dtd));
- }
-
- /* Compute symbols and rankStart given rankVal:
- *
- * rankVal already contains the number of values of each weight.
- *
- * symbols contains the symbols ordered by weight. First are the rankVal[0]
- * weight 0 symbols, followed by the rankVal[1] weight 1 symbols, and so on.
- * symbols[0] is filled (but unused) to avoid a branch.
- *
- * rankStart contains the offset where each rank belongs in the DTable.
- * rankStart[0] is not filled because there are no entries in the table for
- * weight 0.
- */
- { int n;
- U32 nextRankStart = 0;
- int const unroll = 4;
- int const nLimit = (int)nbSymbols - unroll + 1;
- for (n=0; n<(int)tableLog+1; n++) {
- U32 const curr = nextRankStart;
- nextRankStart += wksp->rankVal[n];
- wksp->rankStart[n] = curr;
- }
- for (n=0; n < nLimit; n += unroll) {
- int u;
- for (u=0; u < unroll; ++u) {
- size_t const w = wksp->huffWeight[n+u];
- wksp->symbols[wksp->rankStart[w]++] = (BYTE)(n+u);
- }
- }
- for (; n < (int)nbSymbols; ++n) {
- size_t const w = wksp->huffWeight[n];
- wksp->symbols[wksp->rankStart[w]++] = (BYTE)n;
- }
- }
-
- /* fill DTable
- * We fill all entries of each weight in order.
- * That way length is a constant for each iteration of the outer loop.
- * We can switch based on the length to a different inner loop which is
- * optimized for that particular case.
- */
- { U32 w;
- int symbol = wksp->rankVal[0];
- int rankStart = 0;
- for (w=1; wrankVal[w];
- int const length = (1 << w) >> 1;
- int uStart = rankStart;
- BYTE const nbBits = (BYTE)(tableLog + 1 - w);
- int s;
- int u;
- switch (length) {
- case 1:
- for (s=0; ssymbols[symbol + s];
- D.nbBits = nbBits;
- dt[uStart] = D;
- uStart += 1;
- }
- break;
- case 2:
- for (s=0; ssymbols[symbol + s];
- D.nbBits = nbBits;
- dt[uStart+0] = D;
- dt[uStart+1] = D;
- uStart += 2;
- }
- break;
- case 4:
- for (s=0; ssymbols[symbol + s], nbBits);
- MEM_write64(dt + uStart, D4);
- uStart += 4;
- }
- break;
- case 8:
- for (s=0; ssymbols[symbol + s], nbBits);
- MEM_write64(dt + uStart, D4);
- MEM_write64(dt + uStart + 4, D4);
- uStart += 8;
- }
- break;
- default:
- for (s=0; ssymbols[symbol + s], nbBits);
- for (u=0; u < length; u += 16) {
- MEM_write64(dt + uStart + u + 0, D4);
- MEM_write64(dt + uStart + u + 4, D4);
- MEM_write64(dt + uStart + u + 8, D4);
- MEM_write64(dt + uStart + u + 12, D4);
- }
- assert(u == length);
- uStart += length;
- }
- break;
- }
- symbol += symbolCount;
- rankStart += symbolCount * length;
- }
- }
- return iSize;
-}
-
-FORCE_INLINE_TEMPLATE BYTE
-HUF_decodeSymbolX1(BIT_DStream_t* Dstream, const HUF_DEltX1* dt, const U32 dtLog)
-{
- size_t const val = BIT_lookBitsFast(Dstream, dtLog); /* note : dtLog >= 1 */
- BYTE const c = dt[val].byte;
- BIT_skipBits(Dstream, dt[val].nbBits);
- return c;
-}
-
-#define HUF_DECODE_SYMBOLX1_0(ptr, DStreamPtr) \
- do { *ptr++ = HUF_decodeSymbolX1(DStreamPtr, dt, dtLog); } while (0)
-
-#define HUF_DECODE_SYMBOLX1_1(ptr, DStreamPtr) \
- do { \
- if (MEM_64bits() || (HUF_TABLELOG_MAX<=12)) \
- HUF_DECODE_SYMBOLX1_0(ptr, DStreamPtr); \
- } while (0)
-
-#define HUF_DECODE_SYMBOLX1_2(ptr, DStreamPtr) \
- do { \
- if (MEM_64bits()) \
- HUF_DECODE_SYMBOLX1_0(ptr, DStreamPtr); \
- } while (0)
-
-HINT_INLINE size_t
-HUF_decodeStreamX1(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, const HUF_DEltX1* const dt, const U32 dtLog)
-{
- BYTE* const pStart = p;
-
- /* up to 4 symbols at a time */
- if ((pEnd - p) > 3) {
- while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-3)) {
- HUF_DECODE_SYMBOLX1_2(p, bitDPtr);
- HUF_DECODE_SYMBOLX1_1(p, bitDPtr);
- HUF_DECODE_SYMBOLX1_2(p, bitDPtr);
- HUF_DECODE_SYMBOLX1_0(p, bitDPtr);
- }
- } else {
- BIT_reloadDStream(bitDPtr);
- }
-
- /* [0-3] symbols remaining */
- if (MEM_32bits())
- while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd))
- HUF_DECODE_SYMBOLX1_0(p, bitDPtr);
-
- /* no more data to retrieve from bitstream, no need to reload */
- while (p < pEnd)
- HUF_DECODE_SYMBOLX1_0(p, bitDPtr);
-
- return (size_t)(pEnd-pStart);
-}
-
-FORCE_INLINE_TEMPLATE size_t
-HUF_decompress1X1_usingDTable_internal_body(
- void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- const HUF_DTable* DTable)
-{
- BYTE* op = (BYTE*)dst;
- BYTE* const oend = ZSTD_maybeNullPtrAdd(op, dstSize);
- const void* dtPtr = DTable + 1;
- const HUF_DEltX1* const dt = (const HUF_DEltX1*)dtPtr;
- BIT_DStream_t bitD;
- DTableDesc const dtd = HUF_getDTableDesc(DTable);
- U32 const dtLog = dtd.tableLog;
-
- CHECK_F( BIT_initDStream(&bitD, cSrc, cSrcSize) );
-
- HUF_decodeStreamX1(op, &bitD, oend, dt, dtLog);
-
- if (!BIT_endOfDStream(&bitD)) return ERROR(corruption_detected);
-
- return dstSize;
-}
-
-/* HUF_decompress4X1_usingDTable_internal_body():
- * Conditions :
- * @dstSize >= 6
- */
-FORCE_INLINE_TEMPLATE size_t
-HUF_decompress4X1_usingDTable_internal_body(
- void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- const HUF_DTable* DTable)
-{
- /* Check */
- if (cSrcSize < 10) return ERROR(corruption_detected); /* strict minimum : jump table + 1 byte per stream */
- if (dstSize < 6) return ERROR(corruption_detected); /* stream 4-split doesn't work */
-
- { const BYTE* const istart = (const BYTE*) cSrc;
- BYTE* const ostart = (BYTE*) dst;
- BYTE* const oend = ostart + dstSize;
- BYTE* const olimit = oend - 3;
- const void* const dtPtr = DTable + 1;
- const HUF_DEltX1* const dt = (const HUF_DEltX1*)dtPtr;
-
- /* Init */
- BIT_DStream_t bitD1;
- BIT_DStream_t bitD2;
- BIT_DStream_t bitD3;
- BIT_DStream_t bitD4;
- size_t const length1 = MEM_readLE16(istart);
- size_t const length2 = MEM_readLE16(istart+2);
- size_t const length3 = MEM_readLE16(istart+4);
- size_t const length4 = cSrcSize - (length1 + length2 + length3 + 6);
- const BYTE* const istart1 = istart + 6; /* jumpTable */
- const BYTE* const istart2 = istart1 + length1;
- const BYTE* const istart3 = istart2 + length2;
- const BYTE* const istart4 = istart3 + length3;
- const size_t segmentSize = (dstSize+3) / 4;
- BYTE* const opStart2 = ostart + segmentSize;
- BYTE* const opStart3 = opStart2 + segmentSize;
- BYTE* const opStart4 = opStart3 + segmentSize;
- BYTE* op1 = ostart;
- BYTE* op2 = opStart2;
- BYTE* op3 = opStart3;
- BYTE* op4 = opStart4;
- DTableDesc const dtd = HUF_getDTableDesc(DTable);
- U32 const dtLog = dtd.tableLog;
- U32 endSignal = 1;
-
- if (length4 > cSrcSize) return ERROR(corruption_detected); /* overflow */
- if (opStart4 > oend) return ERROR(corruption_detected); /* overflow */
- assert(dstSize >= 6); /* validated above */
- CHECK_F( BIT_initDStream(&bitD1, istart1, length1) );
- CHECK_F( BIT_initDStream(&bitD2, istart2, length2) );
- CHECK_F( BIT_initDStream(&bitD3, istart3, length3) );
- CHECK_F( BIT_initDStream(&bitD4, istart4, length4) );
-
- /* up to 16 symbols per loop (4 symbols per stream) in 64-bit mode */
- if ((size_t)(oend - op4) >= sizeof(size_t)) {
- for ( ; (endSignal) & (op4 < olimit) ; ) {
- HUF_DECODE_SYMBOLX1_2(op1, &bitD1);
- HUF_DECODE_SYMBOLX1_2(op2, &bitD2);
- HUF_DECODE_SYMBOLX1_2(op3, &bitD3);
- HUF_DECODE_SYMBOLX1_2(op4, &bitD4);
- HUF_DECODE_SYMBOLX1_1(op1, &bitD1);
- HUF_DECODE_SYMBOLX1_1(op2, &bitD2);
- HUF_DECODE_SYMBOLX1_1(op3, &bitD3);
- HUF_DECODE_SYMBOLX1_1(op4, &bitD4);
- HUF_DECODE_SYMBOLX1_2(op1, &bitD1);
- HUF_DECODE_SYMBOLX1_2(op2, &bitD2);
- HUF_DECODE_SYMBOLX1_2(op3, &bitD3);
- HUF_DECODE_SYMBOLX1_2(op4, &bitD4);
- HUF_DECODE_SYMBOLX1_0(op1, &bitD1);
- HUF_DECODE_SYMBOLX1_0(op2, &bitD2);
- HUF_DECODE_SYMBOLX1_0(op3, &bitD3);
- HUF_DECODE_SYMBOLX1_0(op4, &bitD4);
- endSignal &= BIT_reloadDStreamFast(&bitD1) == BIT_DStream_unfinished;
- endSignal &= BIT_reloadDStreamFast(&bitD2) == BIT_DStream_unfinished;
- endSignal &= BIT_reloadDStreamFast(&bitD3) == BIT_DStream_unfinished;
- endSignal &= BIT_reloadDStreamFast(&bitD4) == BIT_DStream_unfinished;
- }
- }
-
- /* check corruption */
- /* note : should not be necessary : op# advance in lock step, and we control op4.
- * but curiously, binary generated by gcc 7.2 & 7.3 with -mbmi2 runs faster when >=1 test is present */
- if (op1 > opStart2) return ERROR(corruption_detected);
- if (op2 > opStart3) return ERROR(corruption_detected);
- if (op3 > opStart4) return ERROR(corruption_detected);
- /* note : op4 supposed already verified within main loop */
-
- /* finish bitStreams one by one */
- HUF_decodeStreamX1(op1, &bitD1, opStart2, dt, dtLog);
- HUF_decodeStreamX1(op2, &bitD2, opStart3, dt, dtLog);
- HUF_decodeStreamX1(op3, &bitD3, opStart4, dt, dtLog);
- HUF_decodeStreamX1(op4, &bitD4, oend, dt, dtLog);
-
- /* check */
- { U32 const endCheck = BIT_endOfDStream(&bitD1) & BIT_endOfDStream(&bitD2) & BIT_endOfDStream(&bitD3) & BIT_endOfDStream(&bitD4);
- if (!endCheck) return ERROR(corruption_detected); }
-
- /* decoded size */
- return dstSize;
- }
-}
-
-#if HUF_NEED_BMI2_FUNCTION
-static BMI2_TARGET_ATTRIBUTE
-size_t HUF_decompress4X1_usingDTable_internal_bmi2(void* dst, size_t dstSize, void const* cSrc,
- size_t cSrcSize, HUF_DTable const* DTable) {
- return HUF_decompress4X1_usingDTable_internal_body(dst, dstSize, cSrc, cSrcSize, DTable);
-}
-#endif
-
-static
-size_t HUF_decompress4X1_usingDTable_internal_default(void* dst, size_t dstSize, void const* cSrc,
- size_t cSrcSize, HUF_DTable const* DTable) {
- return HUF_decompress4X1_usingDTable_internal_body(dst, dstSize, cSrc, cSrcSize, DTable);
-}
-
-#if ZSTD_ENABLE_ASM_X86_64_BMI2
-
-HUF_ASM_DECL void HUF_decompress4X1_usingDTable_internal_fast_asm_loop(HUF_DecompressFastArgs* args) ZSTDLIB_HIDDEN;
-
-#endif
-
-static HUF_FAST_BMI2_ATTRS
-void HUF_decompress4X1_usingDTable_internal_fast_c_loop(HUF_DecompressFastArgs* args)
-{
- U64 bits[4];
- BYTE const* ip[4];
- BYTE* op[4];
- U16 const* const dtable = (U16 const*)args->dt;
- BYTE* const oend = args->oend;
- BYTE const* const ilowest = args->ilowest;
-
- /* Copy the arguments to local variables */
- ZSTD_memcpy(&bits, &args->bits, sizeof(bits));
- ZSTD_memcpy((void*)(&ip), &args->ip, sizeof(ip));
- ZSTD_memcpy(&op, &args->op, sizeof(op));
-
- assert(MEM_isLittleEndian());
- assert(!MEM_32bits());
-
- for (;;) {
- BYTE* olimit;
- int stream;
-
- /* Assert loop preconditions */
-#ifndef NDEBUG
- for (stream = 0; stream < 4; ++stream) {
- assert(op[stream] <= (stream == 3 ? oend : op[stream + 1]));
- assert(ip[stream] >= ilowest);
- }
-#endif
- /* Compute olimit */
- {
- /* Each iteration produces 5 output symbols per stream */
- size_t const oiters = (size_t)(oend - op[3]) / 5;
- /* Each iteration consumes up to 11 bits * 5 = 55 bits < 7 bytes
- * per stream.
- */
- size_t const iiters = (size_t)(ip[0] - ilowest) / 7;
- /* We can safely run iters iterations before running bounds checks */
- size_t const iters = MIN(oiters, iiters);
- size_t const symbols = iters * 5;
-
- /* We can simply check that op[3] < olimit, instead of checking all
- * of our bounds, since we can't hit the other bounds until we've run
- * iters iterations, which only happens when op[3] == olimit.
- */
- olimit = op[3] + symbols;
-
- /* Exit fast decoding loop once we reach the end. */
- if (op[3] == olimit)
- break;
-
- /* Exit the decoding loop if any input pointer has crossed the
- * previous one. This indicates corruption, and a precondition
- * to our loop is that ip[i] >= ip[0].
- */
- for (stream = 1; stream < 4; ++stream) {
- if (ip[stream] < ip[stream - 1])
- goto _out;
- }
- }
-
-#ifndef NDEBUG
- for (stream = 1; stream < 4; ++stream) {
- assert(ip[stream] >= ip[stream - 1]);
- }
-#endif
-
-#define HUF_4X1_DECODE_SYMBOL(_stream, _symbol) \
- do { \
- int const index = (int)(bits[(_stream)] >> 53); \
- int const entry = (int)dtable[index]; \
- bits[(_stream)] <<= (entry & 0x3F); \
- op[(_stream)][(_symbol)] = (BYTE)((entry >> 8) & 0xFF); \
- } while (0)
-
-#define HUF_4X1_RELOAD_STREAM(_stream) \
- do { \
- int const ctz = ZSTD_countTrailingZeros64(bits[(_stream)]); \
- int const nbBits = ctz & 7; \
- int const nbBytes = ctz >> 3; \
- op[(_stream)] += 5; \
- ip[(_stream)] -= nbBytes; \
- bits[(_stream)] = MEM_read64(ip[(_stream)]) | 1; \
- bits[(_stream)] <<= nbBits; \
- } while (0)
-
- /* Manually unroll the loop because compilers don't consistently
- * unroll the inner loops, which destroys performance.
- */
- do {
- /* Decode 5 symbols in each of the 4 streams */
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X1_DECODE_SYMBOL, 0);
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X1_DECODE_SYMBOL, 1);
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X1_DECODE_SYMBOL, 2);
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X1_DECODE_SYMBOL, 3);
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X1_DECODE_SYMBOL, 4);
-
- /* Reload each of the 4 the bitstreams */
- HUF_4X_FOR_EACH_STREAM(HUF_4X1_RELOAD_STREAM);
- } while (op[3] < olimit);
-
-#undef HUF_4X1_DECODE_SYMBOL
-#undef HUF_4X1_RELOAD_STREAM
- }
-
-_out:
-
- /* Save the final values of each of the state variables back to args. */
- ZSTD_memcpy(&args->bits, &bits, sizeof(bits));
- ZSTD_memcpy((void*)(&args->ip), &ip, sizeof(ip));
- ZSTD_memcpy(&args->op, &op, sizeof(op));
-}
-
-/**
- * @returns @p dstSize on success (>= 6)
- * 0 if the fallback implementation should be used
- * An error if an error occurred
- */
-static HUF_FAST_BMI2_ATTRS
-size_t
-HUF_decompress4X1_usingDTable_internal_fast(
- void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- const HUF_DTable* DTable,
- HUF_DecompressFastLoopFn loopFn)
-{
- void const* dt = DTable + 1;
- BYTE const* const ilowest = (BYTE const*)cSrc;
- BYTE* const oend = ZSTD_maybeNullPtrAdd((BYTE*)dst, dstSize);
- HUF_DecompressFastArgs args;
- { size_t const ret = HUF_DecompressFastArgs_init(&args, dst, dstSize, cSrc, cSrcSize, DTable);
- FORWARD_IF_ERROR(ret, "Failed to init fast loop args");
- if (ret == 0)
- return 0;
- }
-
- assert(args.ip[0] >= args.ilowest);
- loopFn(&args);
-
- /* Our loop guarantees that ip[] >= ilowest and that we haven't
- * overwritten any op[].
- */
- assert(args.ip[0] >= ilowest);
- assert(args.ip[0] >= ilowest);
- assert(args.ip[1] >= ilowest);
- assert(args.ip[2] >= ilowest);
- assert(args.ip[3] >= ilowest);
- assert(args.op[3] <= oend);
-
- assert(ilowest == args.ilowest);
- assert(ilowest + 6 == args.iend[0]);
- (void)ilowest;
-
- /* finish bit streams one by one. */
- { size_t const segmentSize = (dstSize+3) / 4;
- BYTE* segmentEnd = (BYTE*)dst;
- int i;
- for (i = 0; i < 4; ++i) {
- BIT_DStream_t bit;
- if (segmentSize <= (size_t)(oend - segmentEnd))
- segmentEnd += segmentSize;
- else
- segmentEnd = oend;
- FORWARD_IF_ERROR(HUF_initRemainingDStream(&bit, &args, i, segmentEnd), "corruption");
- /* Decompress and validate that we've produced exactly the expected length. */
- args.op[i] += HUF_decodeStreamX1(args.op[i], &bit, segmentEnd, (HUF_DEltX1 const*)dt, HUF_DECODER_FAST_TABLELOG);
- if (args.op[i] != segmentEnd) return ERROR(corruption_detected);
- }
- }
-
- /* decoded size */
- assert(dstSize != 0);
- return dstSize;
-}
-
-HUF_DGEN(HUF_decompress1X1_usingDTable_internal)
-
-static size_t HUF_decompress4X1_usingDTable_internal(void* dst, size_t dstSize, void const* cSrc,
- size_t cSrcSize, HUF_DTable const* DTable, int flags)
-{
- HUF_DecompressUsingDTableFn fallbackFn = HUF_decompress4X1_usingDTable_internal_default;
- HUF_DecompressFastLoopFn loopFn = HUF_decompress4X1_usingDTable_internal_fast_c_loop;
-
-#if DYNAMIC_BMI2
- if (flags & HUF_flags_bmi2) {
- fallbackFn = HUF_decompress4X1_usingDTable_internal_bmi2;
-# if ZSTD_ENABLE_ASM_X86_64_BMI2
- if (!(flags & HUF_flags_disableAsm)) {
- loopFn = HUF_decompress4X1_usingDTable_internal_fast_asm_loop;
- }
-# endif
- } else {
- return fallbackFn(dst, dstSize, cSrc, cSrcSize, DTable);
- }
-#endif
-
-#if ZSTD_ENABLE_ASM_X86_64_BMI2 && defined(__BMI2__)
- if (!(flags & HUF_flags_disableAsm)) {
- loopFn = HUF_decompress4X1_usingDTable_internal_fast_asm_loop;
- }
-#endif
-
- if (HUF_ENABLE_FAST_DECODE && !(flags & HUF_flags_disableFast)) {
- size_t const ret = HUF_decompress4X1_usingDTable_internal_fast(dst, dstSize, cSrc, cSrcSize, DTable, loopFn);
- if (ret != 0)
- return ret;
- }
- return fallbackFn(dst, dstSize, cSrc, cSrcSize, DTable);
-}
-
-static size_t HUF_decompress4X1_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- void* workSpace, size_t wkspSize, int flags)
-{
- const BYTE* ip = (const BYTE*) cSrc;
-
- size_t const hSize = HUF_readDTableX1_wksp(dctx, cSrc, cSrcSize, workSpace, wkspSize, flags);
- if (HUF_isError(hSize)) return hSize;
- if (hSize >= cSrcSize) return ERROR(srcSize_wrong);
- ip += hSize; cSrcSize -= hSize;
-
- return HUF_decompress4X1_usingDTable_internal(dst, dstSize, ip, cSrcSize, dctx, flags);
-}
-
-#endif /* HUF_FORCE_DECOMPRESS_X2 */
-
-
-#ifndef HUF_FORCE_DECOMPRESS_X1
-
-/* *************************/
-/* double-symbols decoding */
-/* *************************/
-
-typedef struct { U16 sequence; BYTE nbBits; BYTE length; } HUF_DEltX2; /* double-symbols decoding */
-typedef struct { BYTE symbol; } sortedSymbol_t;
-typedef U32 rankValCol_t[HUF_TABLELOG_MAX + 1];
-typedef rankValCol_t rankVal_t[HUF_TABLELOG_MAX];
-
-/**
- * Constructs a HUF_DEltX2 in a U32.
- */
-static U32 HUF_buildDEltX2U32(U32 symbol, U32 nbBits, U32 baseSeq, int level)
-{
- U32 seq;
- DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, sequence) == 0);
- DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, nbBits) == 2);
- DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, length) == 3);
- DEBUG_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(U32));
- if (MEM_isLittleEndian()) {
- seq = level == 1 ? symbol : (baseSeq + (symbol << 8));
- return seq + (nbBits << 16) + ((U32)level << 24);
- } else {
- seq = level == 1 ? (symbol << 8) : ((baseSeq << 8) + symbol);
- return (seq << 16) + (nbBits << 8) + (U32)level;
- }
-}
-
-/**
- * Constructs a HUF_DEltX2.
- */
-static HUF_DEltX2 HUF_buildDEltX2(U32 symbol, U32 nbBits, U32 baseSeq, int level)
-{
- HUF_DEltX2 DElt;
- U32 const val = HUF_buildDEltX2U32(symbol, nbBits, baseSeq, level);
- DEBUG_STATIC_ASSERT(sizeof(DElt) == sizeof(val));
- ZSTD_memcpy(&DElt, &val, sizeof(val));
- return DElt;
-}
-
-/**
- * Constructs 2 HUF_DEltX2s and packs them into a U64.
- */
-static U64 HUF_buildDEltX2U64(U32 symbol, U32 nbBits, U16 baseSeq, int level)
-{
- U32 DElt = HUF_buildDEltX2U32(symbol, nbBits, baseSeq, level);
- return (U64)DElt + ((U64)DElt << 32);
-}
-
-/**
- * Fills the DTable rank with all the symbols from [begin, end) that are each
- * nbBits long.
- *
- * @param DTableRank The start of the rank in the DTable.
- * @param begin The first symbol to fill (inclusive).
- * @param end The last symbol to fill (exclusive).
- * @param nbBits Each symbol is nbBits long.
- * @param tableLog The table log.
- * @param baseSeq If level == 1 { 0 } else { the first level symbol }
- * @param level The level in the table. Must be 1 or 2.
- */
-static void HUF_fillDTableX2ForWeight(
- HUF_DEltX2* DTableRank,
- sortedSymbol_t const* begin, sortedSymbol_t const* end,
- U32 nbBits, U32 tableLog,
- U16 baseSeq, int const level)
-{
- U32 const length = 1U << ((tableLog - nbBits) & 0x1F /* quiet static-analyzer */);
- const sortedSymbol_t* ptr;
- assert(level >= 1 && level <= 2);
- switch (length) {
- case 1:
- for (ptr = begin; ptr != end; ++ptr) {
- HUF_DEltX2 const DElt = HUF_buildDEltX2(ptr->symbol, nbBits, baseSeq, level);
- *DTableRank++ = DElt;
- }
- break;
- case 2:
- for (ptr = begin; ptr != end; ++ptr) {
- HUF_DEltX2 const DElt = HUF_buildDEltX2(ptr->symbol, nbBits, baseSeq, level);
- DTableRank[0] = DElt;
- DTableRank[1] = DElt;
- DTableRank += 2;
- }
- break;
- case 4:
- for (ptr = begin; ptr != end; ++ptr) {
- U64 const DEltX2 = HUF_buildDEltX2U64(ptr->symbol, nbBits, baseSeq, level);
- ZSTD_memcpy(DTableRank + 0, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTableRank + 2, &DEltX2, sizeof(DEltX2));
- DTableRank += 4;
- }
- break;
- case 8:
- for (ptr = begin; ptr != end; ++ptr) {
- U64 const DEltX2 = HUF_buildDEltX2U64(ptr->symbol, nbBits, baseSeq, level);
- ZSTD_memcpy(DTableRank + 0, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTableRank + 2, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTableRank + 4, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTableRank + 6, &DEltX2, sizeof(DEltX2));
- DTableRank += 8;
- }
- break;
- default:
- for (ptr = begin; ptr != end; ++ptr) {
- U64 const DEltX2 = HUF_buildDEltX2U64(ptr->symbol, nbBits, baseSeq, level);
- HUF_DEltX2* const DTableRankEnd = DTableRank + length;
- for (; DTableRank != DTableRankEnd; DTableRank += 8) {
- ZSTD_memcpy(DTableRank + 0, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTableRank + 2, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTableRank + 4, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTableRank + 6, &DEltX2, sizeof(DEltX2));
- }
- }
- break;
- }
-}
-
-/* HUF_fillDTableX2Level2() :
- * `rankValOrigin` must be a table of at least (HUF_TABLELOG_MAX + 1) U32 */
-static void HUF_fillDTableX2Level2(HUF_DEltX2* DTable, U32 targetLog, const U32 consumedBits,
- const U32* rankVal, const int minWeight, const int maxWeight1,
- const sortedSymbol_t* sortedSymbols, U32 const* rankStart,
- U32 nbBitsBaseline, U16 baseSeq)
-{
- /* Fill skipped values (all positions up to rankVal[minWeight]).
- * These are positions only get a single symbol because the combined weight
- * is too large.
- */
- if (minWeight>1) {
- U32 const length = 1U << ((targetLog - consumedBits) & 0x1F /* quiet static-analyzer */);
- U64 const DEltX2 = HUF_buildDEltX2U64(baseSeq, consumedBits, /* baseSeq */ 0, /* level */ 1);
- int const skipSize = rankVal[minWeight];
- assert(length > 1);
- assert((U32)skipSize < length);
- switch (length) {
- case 2:
- assert(skipSize == 1);
- ZSTD_memcpy(DTable, &DEltX2, sizeof(DEltX2));
- break;
- case 4:
- assert(skipSize <= 4);
- ZSTD_memcpy(DTable + 0, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTable + 2, &DEltX2, sizeof(DEltX2));
- break;
- default:
- {
- int i;
- for (i = 0; i < skipSize; i += 8) {
- ZSTD_memcpy(DTable + i + 0, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTable + i + 2, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTable + i + 4, &DEltX2, sizeof(DEltX2));
- ZSTD_memcpy(DTable + i + 6, &DEltX2, sizeof(DEltX2));
- }
- }
- }
- }
-
- /* Fill each of the second level symbols by weight. */
- {
- int w;
- for (w = minWeight; w < maxWeight1; ++w) {
- int const begin = rankStart[w];
- int const end = rankStart[w+1];
- U32 const nbBits = nbBitsBaseline - w;
- U32 const totalBits = nbBits + consumedBits;
- HUF_fillDTableX2ForWeight(
- DTable + rankVal[w],
- sortedSymbols + begin, sortedSymbols + end,
- totalBits, targetLog,
- baseSeq, /* level */ 2);
- }
- }
-}
-
-static void HUF_fillDTableX2(HUF_DEltX2* DTable, const U32 targetLog,
- const sortedSymbol_t* sortedList,
- const U32* rankStart, rankValCol_t* rankValOrigin, const U32 maxWeight,
- const U32 nbBitsBaseline)
-{
- U32* const rankVal = rankValOrigin[0];
- const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */
- const U32 minBits = nbBitsBaseline - maxWeight;
- int w;
- int const wEnd = (int)maxWeight + 1;
-
- /* Fill DTable in order of weight. */
- for (w = 1; w < wEnd; ++w) {
- int const begin = (int)rankStart[w];
- int const end = (int)rankStart[w+1];
- U32 const nbBits = nbBitsBaseline - w;
-
- if (targetLog-nbBits >= minBits) {
- /* Enough room for a second symbol. */
- int start = rankVal[w];
- U32 const length = 1U << ((targetLog - nbBits) & 0x1F /* quiet static-analyzer */);
- int minWeight = nbBits + scaleLog;
- int s;
- if (minWeight < 1) minWeight = 1;
- /* Fill the DTable for every symbol of weight w.
- * These symbols get at least 1 second symbol.
- */
- for (s = begin; s != end; ++s) {
- HUF_fillDTableX2Level2(
- DTable + start, targetLog, nbBits,
- rankValOrigin[nbBits], minWeight, wEnd,
- sortedList, rankStart,
- nbBitsBaseline, sortedList[s].symbol);
- start += length;
- }
- } else {
- /* Only a single symbol. */
- HUF_fillDTableX2ForWeight(
- DTable + rankVal[w],
- sortedList + begin, sortedList + end,
- nbBits, targetLog,
- /* baseSeq */ 0, /* level */ 1);
- }
- }
-}
-
-typedef struct {
- rankValCol_t rankVal[HUF_TABLELOG_MAX];
- U32 rankStats[HUF_TABLELOG_MAX + 1];
- U32 rankStart0[HUF_TABLELOG_MAX + 3];
- sortedSymbol_t sortedSymbol[HUF_SYMBOLVALUE_MAX + 1];
- BYTE weightList[HUF_SYMBOLVALUE_MAX + 1];
- U32 calleeWksp[HUF_READ_STATS_WORKSPACE_SIZE_U32];
-} HUF_ReadDTableX2_Workspace;
-
-size_t HUF_readDTableX2_wksp(HUF_DTable* DTable,
- const void* src, size_t srcSize,
- void* workSpace, size_t wkspSize, int flags)
-{
- U32 tableLog, maxW, nbSymbols;
- DTableDesc dtd = HUF_getDTableDesc(DTable);
- U32 maxTableLog = dtd.maxTableLog;
- size_t iSize;
- void* dtPtr = DTable+1; /* force compiler to avoid strict-aliasing */
- HUF_DEltX2* const dt = (HUF_DEltX2*)dtPtr;
- U32 *rankStart;
-
- HUF_ReadDTableX2_Workspace* const wksp = (HUF_ReadDTableX2_Workspace*)workSpace;
-
- if (sizeof(*wksp) > wkspSize) return ERROR(GENERIC);
-
- rankStart = wksp->rankStart0 + 1;
- ZSTD_memset(wksp->rankStats, 0, sizeof(wksp->rankStats));
- ZSTD_memset(wksp->rankStart0, 0, sizeof(wksp->rankStart0));
-
- DEBUG_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(HUF_DTable)); /* if compiler fails here, assertion is wrong */
- if (maxTableLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge);
- /* ZSTD_memset(weightList, 0, sizeof(weightList)); */ /* is not necessary, even though some analyzer complain ... */
-
- iSize = HUF_readStats_wksp(wksp->weightList, HUF_SYMBOLVALUE_MAX + 1, wksp->rankStats, &nbSymbols, &tableLog, src, srcSize, wksp->calleeWksp, sizeof(wksp->calleeWksp), flags);
- if (HUF_isError(iSize)) return iSize;
-
- /* check result */
- if (tableLog > maxTableLog) return ERROR(tableLog_tooLarge); /* DTable can't fit code depth */
- if (tableLog <= HUF_DECODER_FAST_TABLELOG && maxTableLog > HUF_DECODER_FAST_TABLELOG) maxTableLog = HUF_DECODER_FAST_TABLELOG;
-
- /* find maxWeight */
- // coverity[underflow]
- for (maxW = tableLog; wksp->rankStats[maxW]==0; maxW--) {} /* necessarily finds a solution before 0 */
-
- /* Get start index of each weight */
- { U32 w, nextRankStart = 0;
- for (w=1; wrankStats[w];
- rankStart[w] = curr;
- }
- rankStart[0] = nextRankStart; /* put all 0w symbols at the end of sorted list*/
- rankStart[maxW+1] = nextRankStart;
- }
-
- /* sort symbols by weight */
- { U32 s;
- for (s=0; sweightList[s];
- U32 const r = rankStart[w]++;
- wksp->sortedSymbol[r].symbol = (BYTE)s;
- }
- rankStart[0] = 0; /* forget 0w symbols; this is beginning of weight(1) */
- }
-
- /* Build rankVal */
- { U32* const rankVal0 = wksp->rankVal[0];
- { int const rescale = (maxTableLog-tableLog) - 1; /* tableLog <= maxTableLog */
- U32 nextRankVal = 0;
- U32 w;
- for (w=1; wrankStats[w] << (w+rescale);
- rankVal0[w] = curr;
- } }
- { U32 const minBits = tableLog+1 - maxW;
- U32 consumed;
- for (consumed = minBits; consumed < maxTableLog - minBits + 1; consumed++) {
- U32* const rankValPtr = wksp->rankVal[consumed];
- U32 w;
- for (w = 1; w < maxW+1; w++) {
- rankValPtr[w] = rankVal0[w] >> consumed;
- } } } }
-
- HUF_fillDTableX2(dt, maxTableLog,
- wksp->sortedSymbol,
- wksp->rankStart0, wksp->rankVal, maxW,
- tableLog+1);
-
- dtd.tableLog = (BYTE)maxTableLog;
- dtd.tableType = 1;
- ZSTD_memcpy(DTable, &dtd, sizeof(dtd));
- return iSize;
-}
-
-
-FORCE_INLINE_TEMPLATE U32
-HUF_decodeSymbolX2(void* op, BIT_DStream_t* DStream, const HUF_DEltX2* dt, const U32 dtLog)
-{
- size_t const val = BIT_lookBitsFast(DStream, dtLog); /* note : dtLog >= 1 */
- ZSTD_memcpy(op, &dt[val].sequence, 2);
- BIT_skipBits(DStream, dt[val].nbBits);
- return dt[val].length;
-}
-
-FORCE_INLINE_TEMPLATE U32
-HUF_decodeLastSymbolX2(void* op, BIT_DStream_t* DStream, const HUF_DEltX2* dt, const U32 dtLog)
-{
- size_t const val = BIT_lookBitsFast(DStream, dtLog); /* note : dtLog >= 1 */
- ZSTD_memcpy(op, &dt[val].sequence, 1);
- if (dt[val].length==1) {
- BIT_skipBits(DStream, dt[val].nbBits);
- } else {
- if (DStream->bitsConsumed < (sizeof(DStream->bitContainer)*8)) {
- BIT_skipBits(DStream, dt[val].nbBits);
- if (DStream->bitsConsumed > (sizeof(DStream->bitContainer)*8))
- /* ugly hack; works only because it's the last symbol. Note : can't easily extract nbBits from just this symbol */
- DStream->bitsConsumed = (sizeof(DStream->bitContainer)*8);
- }
- }
- return 1;
-}
-
-#define HUF_DECODE_SYMBOLX2_0(ptr, DStreamPtr) \
- do { ptr += HUF_decodeSymbolX2(ptr, DStreamPtr, dt, dtLog); } while (0)
-
-#define HUF_DECODE_SYMBOLX2_1(ptr, DStreamPtr) \
- do { \
- if (MEM_64bits() || (HUF_TABLELOG_MAX<=12)) \
- ptr += HUF_decodeSymbolX2(ptr, DStreamPtr, dt, dtLog); \
- } while (0)
-
-#define HUF_DECODE_SYMBOLX2_2(ptr, DStreamPtr) \
- do { \
- if (MEM_64bits()) \
- ptr += HUF_decodeSymbolX2(ptr, DStreamPtr, dt, dtLog); \
- } while (0)
-
-HINT_INLINE size_t
-HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd,
- const HUF_DEltX2* const dt, const U32 dtLog)
-{
- BYTE* const pStart = p;
-
- /* up to 8 symbols at a time */
- if ((size_t)(pEnd - p) >= sizeof(bitDPtr->bitContainer)) {
- if (dtLog <= 11 && MEM_64bits()) {
- /* up to 10 symbols at a time */
- while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-9)) {
- HUF_DECODE_SYMBOLX2_0(p, bitDPtr);
- HUF_DECODE_SYMBOLX2_0(p, bitDPtr);
- HUF_DECODE_SYMBOLX2_0(p, bitDPtr);
- HUF_DECODE_SYMBOLX2_0(p, bitDPtr);
- HUF_DECODE_SYMBOLX2_0(p, bitDPtr);
- }
- } else {
- /* up to 8 symbols at a time */
- while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-(sizeof(bitDPtr->bitContainer)-1))) {
- HUF_DECODE_SYMBOLX2_2(p, bitDPtr);
- HUF_DECODE_SYMBOLX2_1(p, bitDPtr);
- HUF_DECODE_SYMBOLX2_2(p, bitDPtr);
- HUF_DECODE_SYMBOLX2_0(p, bitDPtr);
- }
- }
- } else {
- BIT_reloadDStream(bitDPtr);
- }
-
- /* closer to end : up to 2 symbols at a time */
- if ((size_t)(pEnd - p) >= 2) {
- while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p <= pEnd-2))
- HUF_DECODE_SYMBOLX2_0(p, bitDPtr);
-
- while (p <= pEnd-2)
- HUF_DECODE_SYMBOLX2_0(p, bitDPtr); /* no need to reload : reached the end of DStream */
- }
-
- if (p < pEnd)
- p += HUF_decodeLastSymbolX2(p, bitDPtr, dt, dtLog);
-
- return p-pStart;
-}
-
-FORCE_INLINE_TEMPLATE size_t
-HUF_decompress1X2_usingDTable_internal_body(
- void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- const HUF_DTable* DTable)
-{
- BIT_DStream_t bitD;
-
- /* Init */
- CHECK_F( BIT_initDStream(&bitD, cSrc, cSrcSize) );
-
- /* decode */
- { BYTE* const ostart = (BYTE*) dst;
- BYTE* const oend = ZSTD_maybeNullPtrAdd(ostart, dstSize);
- const void* const dtPtr = DTable+1; /* force compiler to not use strict-aliasing */
- const HUF_DEltX2* const dt = (const HUF_DEltX2*)dtPtr;
- DTableDesc const dtd = HUF_getDTableDesc(DTable);
- HUF_decodeStreamX2(ostart, &bitD, oend, dt, dtd.tableLog);
- }
-
- /* check */
- if (!BIT_endOfDStream(&bitD)) return ERROR(corruption_detected);
-
- /* decoded size */
- return dstSize;
-}
-
-/* HUF_decompress4X2_usingDTable_internal_body():
- * Conditions:
- * @dstSize >= 6
- */
-FORCE_INLINE_TEMPLATE size_t
-HUF_decompress4X2_usingDTable_internal_body(
- void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- const HUF_DTable* DTable)
-{
- if (cSrcSize < 10) return ERROR(corruption_detected); /* strict minimum : jump table + 1 byte per stream */
- if (dstSize < 6) return ERROR(corruption_detected); /* stream 4-split doesn't work */
-
- { const BYTE* const istart = (const BYTE*) cSrc;
- BYTE* const ostart = (BYTE*) dst;
- BYTE* const oend = ostart + dstSize;
- BYTE* const olimit = oend - (sizeof(size_t)-1);
- const void* const dtPtr = DTable+1;
- const HUF_DEltX2* const dt = (const HUF_DEltX2*)dtPtr;
-
- /* Init */
- BIT_DStream_t bitD1;
- BIT_DStream_t bitD2;
- BIT_DStream_t bitD3;
- BIT_DStream_t bitD4;
- size_t const length1 = MEM_readLE16(istart);
- size_t const length2 = MEM_readLE16(istart+2);
- size_t const length3 = MEM_readLE16(istart+4);
- size_t const length4 = cSrcSize - (length1 + length2 + length3 + 6);
- const BYTE* const istart1 = istart + 6; /* jumpTable */
- const BYTE* const istart2 = istart1 + length1;
- const BYTE* const istart3 = istart2 + length2;
- const BYTE* const istart4 = istart3 + length3;
- size_t const segmentSize = (dstSize+3) / 4;
- BYTE* const opStart2 = ostart + segmentSize;
- BYTE* const opStart3 = opStart2 + segmentSize;
- BYTE* const opStart4 = opStart3 + segmentSize;
- BYTE* op1 = ostart;
- BYTE* op2 = opStart2;
- BYTE* op3 = opStart3;
- BYTE* op4 = opStart4;
- U32 endSignal = 1;
- DTableDesc const dtd = HUF_getDTableDesc(DTable);
- U32 const dtLog = dtd.tableLog;
-
- if (length4 > cSrcSize) return ERROR(corruption_detected); /* overflow */
- if (opStart4 > oend) return ERROR(corruption_detected); /* overflow */
- assert(dstSize >= 6 /* validated above */);
- CHECK_F( BIT_initDStream(&bitD1, istart1, length1) );
- CHECK_F( BIT_initDStream(&bitD2, istart2, length2) );
- CHECK_F( BIT_initDStream(&bitD3, istart3, length3) );
- CHECK_F( BIT_initDStream(&bitD4, istart4, length4) );
-
- /* 16-32 symbols per loop (4-8 symbols per stream) */
- if ((size_t)(oend - op4) >= sizeof(size_t)) {
- for ( ; (endSignal) & (op4 < olimit); ) {
-#if defined(__clang__) && (defined(__x86_64__) || defined(__i386__))
- HUF_DECODE_SYMBOLX2_2(op1, &bitD1);
- HUF_DECODE_SYMBOLX2_1(op1, &bitD1);
- HUF_DECODE_SYMBOLX2_2(op1, &bitD1);
- HUF_DECODE_SYMBOLX2_0(op1, &bitD1);
- HUF_DECODE_SYMBOLX2_2(op2, &bitD2);
- HUF_DECODE_SYMBOLX2_1(op2, &bitD2);
- HUF_DECODE_SYMBOLX2_2(op2, &bitD2);
- HUF_DECODE_SYMBOLX2_0(op2, &bitD2);
- endSignal &= BIT_reloadDStreamFast(&bitD1) == BIT_DStream_unfinished;
- endSignal &= BIT_reloadDStreamFast(&bitD2) == BIT_DStream_unfinished;
- HUF_DECODE_SYMBOLX2_2(op3, &bitD3);
- HUF_DECODE_SYMBOLX2_1(op3, &bitD3);
- HUF_DECODE_SYMBOLX2_2(op3, &bitD3);
- HUF_DECODE_SYMBOLX2_0(op3, &bitD3);
- HUF_DECODE_SYMBOLX2_2(op4, &bitD4);
- HUF_DECODE_SYMBOLX2_1(op4, &bitD4);
- HUF_DECODE_SYMBOLX2_2(op4, &bitD4);
- HUF_DECODE_SYMBOLX2_0(op4, &bitD4);
- endSignal &= BIT_reloadDStreamFast(&bitD3) == BIT_DStream_unfinished;
- endSignal &= BIT_reloadDStreamFast(&bitD4) == BIT_DStream_unfinished;
-#else
- HUF_DECODE_SYMBOLX2_2(op1, &bitD1);
- HUF_DECODE_SYMBOLX2_2(op2, &bitD2);
- HUF_DECODE_SYMBOLX2_2(op3, &bitD3);
- HUF_DECODE_SYMBOLX2_2(op4, &bitD4);
- HUF_DECODE_SYMBOLX2_1(op1, &bitD1);
- HUF_DECODE_SYMBOLX2_1(op2, &bitD2);
- HUF_DECODE_SYMBOLX2_1(op3, &bitD3);
- HUF_DECODE_SYMBOLX2_1(op4, &bitD4);
- HUF_DECODE_SYMBOLX2_2(op1, &bitD1);
- HUF_DECODE_SYMBOLX2_2(op2, &bitD2);
- HUF_DECODE_SYMBOLX2_2(op3, &bitD3);
- HUF_DECODE_SYMBOLX2_2(op4, &bitD4);
- HUF_DECODE_SYMBOLX2_0(op1, &bitD1);
- HUF_DECODE_SYMBOLX2_0(op2, &bitD2);
- HUF_DECODE_SYMBOLX2_0(op3, &bitD3);
- HUF_DECODE_SYMBOLX2_0(op4, &bitD4);
- endSignal = (U32)LIKELY((U32)
- (BIT_reloadDStreamFast(&bitD1) == BIT_DStream_unfinished)
- & (BIT_reloadDStreamFast(&bitD2) == BIT_DStream_unfinished)
- & (BIT_reloadDStreamFast(&bitD3) == BIT_DStream_unfinished)
- & (BIT_reloadDStreamFast(&bitD4) == BIT_DStream_unfinished));
-#endif
- }
- }
-
- /* check corruption */
- if (op1 > opStart2) return ERROR(corruption_detected);
- if (op2 > opStart3) return ERROR(corruption_detected);
- if (op3 > opStart4) return ERROR(corruption_detected);
- /* note : op4 already verified within main loop */
-
- /* finish bitStreams one by one */
- HUF_decodeStreamX2(op1, &bitD1, opStart2, dt, dtLog);
- HUF_decodeStreamX2(op2, &bitD2, opStart3, dt, dtLog);
- HUF_decodeStreamX2(op3, &bitD3, opStart4, dt, dtLog);
- HUF_decodeStreamX2(op4, &bitD4, oend, dt, dtLog);
-
- /* check */
- { U32 const endCheck = BIT_endOfDStream(&bitD1) & BIT_endOfDStream(&bitD2) & BIT_endOfDStream(&bitD3) & BIT_endOfDStream(&bitD4);
- if (!endCheck) return ERROR(corruption_detected); }
-
- /* decoded size */
- return dstSize;
- }
-}
-
-#if HUF_NEED_BMI2_FUNCTION
-static BMI2_TARGET_ATTRIBUTE
-size_t HUF_decompress4X2_usingDTable_internal_bmi2(void* dst, size_t dstSize, void const* cSrc,
- size_t cSrcSize, HUF_DTable const* DTable) {
- return HUF_decompress4X2_usingDTable_internal_body(dst, dstSize, cSrc, cSrcSize, DTable);
-}
-#endif
-
-static
-size_t HUF_decompress4X2_usingDTable_internal_default(void* dst, size_t dstSize, void const* cSrc,
- size_t cSrcSize, HUF_DTable const* DTable) {
- return HUF_decompress4X2_usingDTable_internal_body(dst, dstSize, cSrc, cSrcSize, DTable);
-}
-
-#if ZSTD_ENABLE_ASM_X86_64_BMI2
-
-HUF_ASM_DECL void HUF_decompress4X2_usingDTable_internal_fast_asm_loop(HUF_DecompressFastArgs* args) ZSTDLIB_HIDDEN;
-
-#endif
-
-static HUF_FAST_BMI2_ATTRS
-void HUF_decompress4X2_usingDTable_internal_fast_c_loop(HUF_DecompressFastArgs* args)
-{
- U64 bits[4];
- BYTE const* ip[4];
- BYTE* op[4];
- BYTE* oend[4];
- HUF_DEltX2 const* const dtable = (HUF_DEltX2 const*)args->dt;
- BYTE const* const ilowest = args->ilowest;
-
- /* Copy the arguments to local registers. */
- ZSTD_memcpy(&bits, &args->bits, sizeof(bits));
- ZSTD_memcpy((void*)(&ip), &args->ip, sizeof(ip));
- ZSTD_memcpy(&op, &args->op, sizeof(op));
-
- oend[0] = op[1];
- oend[1] = op[2];
- oend[2] = op[3];
- oend[3] = args->oend;
-
- assert(MEM_isLittleEndian());
- assert(!MEM_32bits());
-
- for (;;) {
- BYTE* olimit;
- int stream;
-
- /* Assert loop preconditions */
-#ifndef NDEBUG
- for (stream = 0; stream < 4; ++stream) {
- assert(op[stream] <= oend[stream]);
- assert(ip[stream] >= ilowest);
- }
-#endif
- /* Compute olimit */
- {
- /* Each loop does 5 table lookups for each of the 4 streams.
- * Each table lookup consumes up to 11 bits of input, and produces
- * up to 2 bytes of output.
- */
- /* We can consume up to 7 bytes of input per iteration per stream.
- * We also know that each input pointer is >= ip[0]. So we can run
- * iters loops before running out of input.
- */
- size_t iters = (size_t)(ip[0] - ilowest) / 7;
- /* Each iteration can produce up to 10 bytes of output per stream.
- * Each output stream my advance at different rates. So take the
- * minimum number of safe iterations among all the output streams.
- */
- for (stream = 0; stream < 4; ++stream) {
- size_t const oiters = (size_t)(oend[stream] - op[stream]) / 10;
- iters = MIN(iters, oiters);
- }
-
- /* Each iteration produces at least 5 output symbols. So until
- * op[3] crosses olimit, we know we haven't executed iters
- * iterations yet. This saves us maintaining an iters counter,
- * at the expense of computing the remaining # of iterations
- * more frequently.
- */
- olimit = op[3] + (iters * 5);
-
- /* Exit the fast decoding loop once we reach the end. */
- if (op[3] == olimit)
- break;
-
- /* Exit the decoding loop if any input pointer has crossed the
- * previous one. This indicates corruption, and a precondition
- * to our loop is that ip[i] >= ip[0].
- */
- for (stream = 1; stream < 4; ++stream) {
- if (ip[stream] < ip[stream - 1])
- goto _out;
- }
- }
-
-#ifndef NDEBUG
- for (stream = 1; stream < 4; ++stream) {
- assert(ip[stream] >= ip[stream - 1]);
- }
-#endif
-
-#define HUF_4X2_DECODE_SYMBOL(_stream, _decode3) \
- do { \
- if ((_decode3) || (_stream) != 3) { \
- int const index = (int)(bits[(_stream)] >> 53); \
- HUF_DEltX2 const entry = dtable[index]; \
- MEM_write16(op[(_stream)], entry.sequence); \
- bits[(_stream)] <<= (entry.nbBits) & 0x3F; \
- op[(_stream)] += (entry.length); \
- } \
- } while (0)
-
-#define HUF_4X2_RELOAD_STREAM(_stream) \
- do { \
- HUF_4X2_DECODE_SYMBOL(3, 1); \
- { \
- int const ctz = ZSTD_countTrailingZeros64(bits[(_stream)]); \
- int const nbBits = ctz & 7; \
- int const nbBytes = ctz >> 3; \
- ip[(_stream)] -= nbBytes; \
- bits[(_stream)] = MEM_read64(ip[(_stream)]) | 1; \
- bits[(_stream)] <<= nbBits; \
- } \
- } while (0)
-
- /* Manually unroll the loop because compilers don't consistently
- * unroll the inner loops, which destroys performance.
- */
- do {
- /* Decode 5 symbols from each of the first 3 streams.
- * The final stream will be decoded during the reload phase
- * to reduce register pressure.
- */
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X2_DECODE_SYMBOL, 0);
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X2_DECODE_SYMBOL, 0);
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X2_DECODE_SYMBOL, 0);
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X2_DECODE_SYMBOL, 0);
- HUF_4X_FOR_EACH_STREAM_WITH_VAR(HUF_4X2_DECODE_SYMBOL, 0);
-
- /* Decode one symbol from the final stream */
- HUF_4X2_DECODE_SYMBOL(3, 1);
-
- /* Decode 4 symbols from the final stream & reload bitstreams.
- * The final stream is reloaded last, meaning that all 5 symbols
- * are decoded from the final stream before it is reloaded.
- */
- HUF_4X_FOR_EACH_STREAM(HUF_4X2_RELOAD_STREAM);
- } while (op[3] < olimit);
- }
-
-#undef HUF_4X2_DECODE_SYMBOL
-#undef HUF_4X2_RELOAD_STREAM
-
-_out:
-
- /* Save the final values of each of the state variables back to args. */
- ZSTD_memcpy(&args->bits, &bits, sizeof(bits));
- ZSTD_memcpy((void*)(&args->ip), &ip, sizeof(ip));
- ZSTD_memcpy(&args->op, &op, sizeof(op));
-}
-
-
-static HUF_FAST_BMI2_ATTRS size_t
-HUF_decompress4X2_usingDTable_internal_fast(
- void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- const HUF_DTable* DTable,
- HUF_DecompressFastLoopFn loopFn) {
- void const* dt = DTable + 1;
- const BYTE* const ilowest = (const BYTE*)cSrc;
- BYTE* const oend = ZSTD_maybeNullPtrAdd((BYTE*)dst, dstSize);
- HUF_DecompressFastArgs args;
- {
- size_t const ret = HUF_DecompressFastArgs_init(&args, dst, dstSize, cSrc, cSrcSize, DTable);
- FORWARD_IF_ERROR(ret, "Failed to init asm args");
- if (ret == 0)
- return 0;
- }
-
- assert(args.ip[0] >= args.ilowest);
- loopFn(&args);
-
- /* note : op4 already verified within main loop */
- assert(args.ip[0] >= ilowest);
- assert(args.ip[1] >= ilowest);
- assert(args.ip[2] >= ilowest);
- assert(args.ip[3] >= ilowest);
- assert(args.op[3] <= oend);
-
- assert(ilowest == args.ilowest);
- assert(ilowest + 6 == args.iend[0]);
- (void)ilowest;
-
- /* finish bitStreams one by one */
- {
- size_t const segmentSize = (dstSize+3) / 4;
- BYTE* segmentEnd = (BYTE*)dst;
- int i;
- for (i = 0; i < 4; ++i) {
- BIT_DStream_t bit;
- if (segmentSize <= (size_t)(oend - segmentEnd))
- segmentEnd += segmentSize;
- else
- segmentEnd = oend;
- FORWARD_IF_ERROR(HUF_initRemainingDStream(&bit, &args, i, segmentEnd), "corruption");
- args.op[i] += HUF_decodeStreamX2(args.op[i], &bit, segmentEnd, (HUF_DEltX2 const*)dt, HUF_DECODER_FAST_TABLELOG);
- if (args.op[i] != segmentEnd)
- return ERROR(corruption_detected);
- }
- }
-
- /* decoded size */
- return dstSize;
-}
-
-static size_t HUF_decompress4X2_usingDTable_internal(void* dst, size_t dstSize, void const* cSrc,
- size_t cSrcSize, HUF_DTable const* DTable, int flags)
-{
- HUF_DecompressUsingDTableFn fallbackFn = HUF_decompress4X2_usingDTable_internal_default;
- HUF_DecompressFastLoopFn loopFn = HUF_decompress4X2_usingDTable_internal_fast_c_loop;
-
-#if DYNAMIC_BMI2
- if (flags & HUF_flags_bmi2) {
- fallbackFn = HUF_decompress4X2_usingDTable_internal_bmi2;
-# if ZSTD_ENABLE_ASM_X86_64_BMI2
- if (!(flags & HUF_flags_disableAsm)) {
- loopFn = HUF_decompress4X2_usingDTable_internal_fast_asm_loop;
- }
-# endif
- } else {
- return fallbackFn(dst, dstSize, cSrc, cSrcSize, DTable);
- }
-#endif
-
-#if ZSTD_ENABLE_ASM_X86_64_BMI2 && defined(__BMI2__)
- if (!(flags & HUF_flags_disableAsm)) {
- loopFn = HUF_decompress4X2_usingDTable_internal_fast_asm_loop;
- }
-#endif
-
- if (HUF_ENABLE_FAST_DECODE && !(flags & HUF_flags_disableFast)) {
- size_t const ret = HUF_decompress4X2_usingDTable_internal_fast(dst, dstSize, cSrc, cSrcSize, DTable, loopFn);
- if (ret != 0)
- return ret;
- }
- return fallbackFn(dst, dstSize, cSrc, cSrcSize, DTable);
-}
-
-HUF_DGEN(HUF_decompress1X2_usingDTable_internal)
-
-size_t HUF_decompress1X2_DCtx_wksp(HUF_DTable* DCtx, void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- void* workSpace, size_t wkspSize, int flags)
-{
- const BYTE* ip = (const BYTE*) cSrc;
-
- size_t const hSize = HUF_readDTableX2_wksp(DCtx, cSrc, cSrcSize,
- workSpace, wkspSize, flags);
- if (HUF_isError(hSize)) return hSize;
- if (hSize >= cSrcSize) return ERROR(srcSize_wrong);
- ip += hSize; cSrcSize -= hSize;
-
- return HUF_decompress1X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, DCtx, flags);
-}
-
-static size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- void* workSpace, size_t wkspSize, int flags)
-{
- const BYTE* ip = (const BYTE*) cSrc;
-
- size_t hSize = HUF_readDTableX2_wksp(dctx, cSrc, cSrcSize,
- workSpace, wkspSize, flags);
- if (HUF_isError(hSize)) return hSize;
- if (hSize >= cSrcSize) return ERROR(srcSize_wrong);
- ip += hSize; cSrcSize -= hSize;
-
- return HUF_decompress4X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, dctx, flags);
-}
-
-#endif /* HUF_FORCE_DECOMPRESS_X1 */
-
-
-/* ***********************************/
-/* Universal decompression selectors */
-/* ***********************************/
-
-
-#if !defined(HUF_FORCE_DECOMPRESS_X1) && !defined(HUF_FORCE_DECOMPRESS_X2)
-typedef struct { U32 tableTime; U32 decode256Time; } algo_time_t;
-static const algo_time_t algoTime[16 /* Quantization */][2 /* single, double */] =
-{
- /* single, double, quad */
- {{0,0}, {1,1}}, /* Q==0 : impossible */
- {{0,0}, {1,1}}, /* Q==1 : impossible */
- {{ 150,216}, { 381,119}}, /* Q == 2 : 12-18% */
- {{ 170,205}, { 514,112}}, /* Q == 3 : 18-25% */
- {{ 177,199}, { 539,110}}, /* Q == 4 : 25-32% */
- {{ 197,194}, { 644,107}}, /* Q == 5 : 32-38% */
- {{ 221,192}, { 735,107}}, /* Q == 6 : 38-44% */
- {{ 256,189}, { 881,106}}, /* Q == 7 : 44-50% */
- {{ 359,188}, {1167,109}}, /* Q == 8 : 50-56% */
- {{ 582,187}, {1570,114}}, /* Q == 9 : 56-62% */
- {{ 688,187}, {1712,122}}, /* Q ==10 : 62-69% */
- {{ 825,186}, {1965,136}}, /* Q ==11 : 69-75% */
- {{ 976,185}, {2131,150}}, /* Q ==12 : 75-81% */
- {{1180,186}, {2070,175}}, /* Q ==13 : 81-87% */
- {{1377,185}, {1731,202}}, /* Q ==14 : 87-93% */
- {{1412,185}, {1695,202}}, /* Q ==15 : 93-99% */
-};
-#endif
-
-/** HUF_selectDecoder() :
- * Tells which decoder is likely to decode faster,
- * based on a set of pre-computed metrics.
- * @return : 0==HUF_decompress4X1, 1==HUF_decompress4X2 .
- * Assumption : 0 < dstSize <= 128 KB */
-U32 HUF_selectDecoder (size_t dstSize, size_t cSrcSize)
-{
- assert(dstSize > 0);
- assert(dstSize <= 128*1024);
-#if defined(HUF_FORCE_DECOMPRESS_X1)
- (void)dstSize;
- (void)cSrcSize;
- return 0;
-#elif defined(HUF_FORCE_DECOMPRESS_X2)
- (void)dstSize;
- (void)cSrcSize;
- return 1;
-#else
- /* decoder timing evaluation */
- { U32 const Q = (cSrcSize >= dstSize) ? 15 : (U32)(cSrcSize * 16 / dstSize); /* Q < 16 */
- U32 const D256 = (U32)(dstSize >> 8);
- U32 const DTime0 = algoTime[Q][0].tableTime + (algoTime[Q][0].decode256Time * D256);
- U32 DTime1 = algoTime[Q][1].tableTime + (algoTime[Q][1].decode256Time * D256);
- DTime1 += DTime1 >> 5; /* small advantage to algorithm using less memory, to reduce cache eviction */
- return DTime1 < DTime0;
- }
-#endif
-}
-
-size_t HUF_decompress1X_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize,
- const void* cSrc, size_t cSrcSize,
- void* workSpace, size_t wkspSize, int flags)
-{
- /* validation checks */
- if (dstSize == 0) return ERROR(dstSize_tooSmall);
- if (cSrcSize > dstSize) return ERROR(corruption_detected); /* invalid */
- if (cSrcSize == dstSize) { ZSTD_memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */
- if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */
-
- { U32 const algoNb = HUF_selectDecoder(dstSize, cSrcSize);
-#if defined(HUF_FORCE_DECOMPRESS_X1)
- (void)algoNb;
- assert(algoNb == 0);
- return HUF_decompress1X1_DCtx_wksp(dctx, dst, dstSize, cSrc,
- cSrcSize, workSpace, wkspSize, flags);
-#elif defined(HUF_FORCE_DECOMPRESS_X2)
- (void)algoNb;
- assert(algoNb == 1);
- return HUF_decompress1X2_DCtx_wksp(dctx, dst, dstSize, cSrc,
- cSrcSize, workSpace, wkspSize, flags);
-#else
- return algoNb ? HUF_decompress1X2_DCtx_wksp(dctx, dst, dstSize, cSrc,
- cSrcSize, workSpace, wkspSize, flags):
- HUF_decompress1X1_DCtx_wksp(dctx, dst, dstSize, cSrc,
- cSrcSize, workSpace, wkspSize, flags);
-#endif
- }
-}
-
-
-size_t HUF_decompress1X_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const HUF_DTable* DTable, int flags)
-{
- DTableDesc const dtd = HUF_getDTableDesc(DTable);
-#if defined(HUF_FORCE_DECOMPRESS_X1)
- (void)dtd;
- assert(dtd.tableType == 0);
- return HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, flags);
-#elif defined(HUF_FORCE_DECOMPRESS_X2)
- (void)dtd;
- assert(dtd.tableType == 1);
- return HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, flags);
-#else
- return dtd.tableType ? HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, flags) :
- HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, flags);
-#endif
-}
-
-#ifndef HUF_FORCE_DECOMPRESS_X2
-size_t HUF_decompress1X1_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int flags)
-{
- const BYTE* ip = (const BYTE*) cSrc;
-
- size_t const hSize = HUF_readDTableX1_wksp(dctx, cSrc, cSrcSize, workSpace, wkspSize, flags);
- if (HUF_isError(hSize)) return hSize;
- if (hSize >= cSrcSize) return ERROR(srcSize_wrong);
- ip += hSize; cSrcSize -= hSize;
-
- return HUF_decompress1X1_usingDTable_internal(dst, dstSize, ip, cSrcSize, dctx, flags);
-}
-#endif
-
-size_t HUF_decompress4X_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const HUF_DTable* DTable, int flags)
-{
- DTableDesc const dtd = HUF_getDTableDesc(DTable);
-#if defined(HUF_FORCE_DECOMPRESS_X1)
- (void)dtd;
- assert(dtd.tableType == 0);
- return HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, flags);
-#elif defined(HUF_FORCE_DECOMPRESS_X2)
- (void)dtd;
- assert(dtd.tableType == 1);
- return HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, flags);
-#else
- return dtd.tableType ? HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, flags) :
- HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, flags);
-#endif
-}
-
-size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int flags)
-{
- /* validation checks */
- if (dstSize == 0) return ERROR(dstSize_tooSmall);
- if (cSrcSize == 0) return ERROR(corruption_detected);
-
- { U32 const algoNb = HUF_selectDecoder(dstSize, cSrcSize);
-#if defined(HUF_FORCE_DECOMPRESS_X1)
- (void)algoNb;
- assert(algoNb == 0);
- return HUF_decompress4X1_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workSpace, wkspSize, flags);
-#elif defined(HUF_FORCE_DECOMPRESS_X2)
- (void)algoNb;
- assert(algoNb == 1);
- return HUF_decompress4X2_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workSpace, wkspSize, flags);
-#else
- return algoNb ? HUF_decompress4X2_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workSpace, wkspSize, flags) :
- HUF_decompress4X1_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workSpace, wkspSize, flags);
-#endif
- }
-}
diff --git a/src/bled/init_handle.c b/src/bled/init_handle.c
index b2d1d984..c9c3e511 100644
--- a/src/bled/init_handle.c
+++ b/src/bled/init_handle.c
@@ -2,6 +2,7 @@
/*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
#include "libbb.h"
#include "bb_archive.h"
diff --git a/src/bled/libbb.h b/src/bled/libbb.h
index eb799206..000a1a66 100644
--- a/src/bled/libbb.h
+++ b/src/bled/libbb.h
@@ -23,6 +23,7 @@
#include "platform.h"
#include "msapi_utf8.h"
+#include
#include
#include
#include
@@ -39,37 +40,24 @@
#include
#include
-#define ONE_TB 1099511627776ULL
+#define ONE_TB 1099511627776ULL
-#define ENABLE_DESKTOP 1
+#define ENABLE_DESKTOP 1
#if ENABLE_DESKTOP
-#define IF_DESKTOP(x) x
+#define IF_DESKTOP(x) x
#define IF_NOT_DESKTOP(x)
#else
#define IF_DESKTOP(x)
-#define IF_NOT_DESKTOP(x) x
+#define IF_NOT_DESKTOP(x) x
#endif
-#define IF_NOT_FEATURE_LZMA_FAST(x) x
-#define ENABLE_FEATURE_UNZIP_CDF 1
-#define ENABLE_FEATURE_UNZIP_BZIP2 1
-#define ENABLE_FEATURE_UNZIP_LZMA 1
-#define ENABLE_FEATURE_UNZIP_XZ 1
-#define ENABLE_FEATURE_CLEAN_UP 1
-#define uoff_t unsigned off_t
-#define OFF_FMT "ll"
+#define IF_NOT_FEATURE_LZMA_FAST(x) x
+#define ENABLE_FEATURE_UNZIP_CDF 1
+#define ENABLE_FEATURE_UNZIP_BZIP2 1
+#define ENABLE_FEATURE_UNZIP_LZMA 1
+#define ENABLE_FEATURE_UNZIP_XZ 1
-#define SEAMLESS_COMPRESSION 0
-#if (SEAMLESS_COMPRESSION)
-#define ENABLE_FEATURE_SEAMLESS_BZ2 1
-#define ENABLE_FEATURE_SEAMLESS_GZ 1
-#define ENABLE_FEATURE_SEAMLESS_LZMA 1
-#define ENABLE_FEATURE_SEAMLESS_XZ 1
-#define ENABLE_FEATURE_SEAMLESS_Z 1
-#define ENABLE_FEATURE_SEAMLESS_ZSTD 1
-#define IF_FEATURE_SEAMLESS_BZ2(x) x
-#define IF_FEATURE_SEAMLESS_XZ(x) x
-#define IF_FEATURE_SEAMLESS_ZSTD(x) x
-#endif
+#define uoff_t unsigned off_t
+#define OFF_FMT "ll"
#ifndef _MODE_T_
#define _MODE_T_
@@ -162,8 +150,8 @@ extern unsigned long* bled_cancel_request;
#define bb_printf(...) do { if (bled_printf != NULL) bled_printf(__VA_ARGS__); \
else { printf(__VA_ARGS__); putchar('\n'); } } while(0)
#define bb_error_msg(...) bb_printf("\nError: " __VA_ARGS__)
-#define bb_error_msg_and_die(...) do { bb_error_msg(__VA_ARGS__); xfunc_die(); } while(0)
-#define bb_error_msg_and_err(...) do { bb_error_msg(__VA_ARGS__); goto err; } while(0)
+#define bb_error_msg_and_die(...) do {bb_error_msg(__VA_ARGS__); xfunc_die();} while(0)
+#define bb_error_msg_and_err(...) do {bb_error_msg(__VA_ARGS__); goto err;} while(0)
#define bb_perror_msg bb_error_msg
#define bb_perror_msg_and_die bb_error_msg_and_die
#define bb_simple_error_msg bb_error_msg
@@ -180,14 +168,15 @@ static inline void *xrealloc(void *ptr, size_t size) {
#define bb_msg_read_error "read error"
#define bb_msg_write_error "write error"
+#define bb_mode_string(str, mode) "[not implemented]"
#define bb_make_directory(path, mode, flags) SHCreateDirectoryExU(NULL, path, NULL)
-static inline int link(const char *oldpath, const char *newpath) { errno = ENOSYS; return -1; }
-static inline int symlink(const char *oldpath, const char *newpath) { errno = ENOSYS; return -1; }
-static inline int chown(const char *path, uid_t owner, gid_t group) { errno = ENOSYS; return -1; }
-static inline int mknod(const char *pathname, mode_t mode, dev_t dev) { errno = ENOSYS; return -1; }
+static inline int link(const char *oldpath, const char *newpath) {errno = ENOSYS; return -1;}
+static inline int symlink(const char *oldpath, const char *newpath) {errno = ENOSYS; return -1;}
+static inline int chown(const char *path, uid_t owner, gid_t group) {errno = ENOSYS; return -1;}
+static inline int mknod(const char *pathname, mode_t mode, dev_t dev) {errno = ENOSYS; return -1;}
static inline int utimes64(const char* filename, const struct timeval64 times64[2]) { errno = ENOSYS; return -1; }
-static inline int fnmatch(const char *pattern, const char *string, int flags) { return PathMatchSpecA(string, pattern) ? 0 : 1; }
+static inline int fnmatch(const char *pattern, const char *string, int flags) {return PathMatchSpecA(string, pattern)?0:1;}
static inline pid_t wait(int* status) { *status = 4; return -1; }
#define wait_any_nohang wait
@@ -295,19 +284,6 @@ static inline struct tm *localtime_r(const time_t *timep, struct tm *result) {
#define xzalloc(x) calloc(x, 1)
#define malloc_or_warn malloc
#define mkdir(x, y) _mkdirU(x)
-struct fd_pair { int rd; int wr; };
-void xpipe(int filedes[2]) FAST_FUNC;
-#define xpiped_pair(pair) xpipe(&((pair).rd))
-#define xpipe(filedes) _pipe(filedes, 0x1000, _O_BINARY)
-#define xlseek lseek
-#define xread safe_read
-static inline void xmove_fd(int from, int to)
-{
- if (from != to) {
- (void)_dup2(from, to);
- _close(from);
- }
-}
#if defined(_MSC_VER)
#define _S_IFBLK 0x3000
diff --git a/src/bled/open_transformer.c b/src/bled/open_transformer.c
index 2528023f..4e420c7e 100644
--- a/src/bled/open_transformer.c
+++ b/src/bled/open_transformer.c
@@ -2,6 +2,7 @@
/*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
#include "libbb.h"
#include "bb_archive.h"
@@ -16,9 +17,12 @@ int FAST_FUNC check_signature16(transformer_state_t *xstate, unsigned magic16)
uint16_t magic2;
if (full_read(xstate->src_fd, &magic2, 2) != 2 || magic2 != magic16) {
bb_error_msg("invalid magic");
+#if 0 /* possible future extension */
+ if (xstate->check_signature > 1)
+ xfunc_die();
+#endif
return -1;
}
- xstate->signature_skipped = 2;
}
return 0;
}
@@ -97,7 +101,7 @@ void check_errors_in_children(int signo)
/* transformer(), more than meets the eye */
#if BB_MMU
void FAST_FUNC fork_transformer(int fd,
- int signature_skipped,
+ int check_signature,
IF_DESKTOP(long long) int FAST_FUNC (*transformer)(transformer_state_t *xstate)
)
#else
@@ -111,20 +115,20 @@ void FAST_FUNC fork_transformer(int fd, const char *transform_prog)
pid = BB_MMU ? xfork() : xvfork();
if (pid == 0) {
/* Child */
- _close(fd_pipe.rd); /* we don't want to read from the parent */
+ close(fd_pipe.rd); /* we don't want to read from the parent */
// FIXME: error check?
#if BB_MMU
{
IF_DESKTOP(long long) int r;
transformer_state_t xstate;
init_transformer_state(&xstate);
- xstate.signature_skipped = signature_skipped;
+ xstate.check_signature = check_signature;
xstate.src_fd = fd;
xstate.dst_fd = fd_pipe.wr;
r = transformer(&xstate);
if (ENABLE_FEATURE_CLEAN_UP) {
- _close(fd_pipe.wr); /* send EOF */
- _close(fd);
+ close(fd_pipe.wr); /* send EOF */
+ close(fd);
}
/* must be _exit! bug was actually seen here */
_exit(/*error if:*/ r < 0);
@@ -146,7 +150,7 @@ void FAST_FUNC fork_transformer(int fd, const char *transform_prog)
}
/* parent process */
- _close(fd_pipe.wr); /* don't want to write to the child */
+ close(fd_pipe.wr); /* don't want to write to the child */
xmove_fd(fd_pipe.rd, fd);
}
@@ -155,69 +159,59 @@ void FAST_FUNC fork_transformer(int fd, const char *transform_prog)
*/
static transformer_state_t *setup_transformer_on_fd(int fd, int fail_if_not_compressed)
{
+ union {
+ uint8_t b[4];
+ uint16_t b16[2];
+ uint32_t b32[1];
+ } magic;
+ int offset;
transformer_state_t *xstate;
+ offset = -2;
xstate = xzalloc(sizeof(*xstate));
xstate->src_fd = fd;
/* .gz and .bz2 both have 2-byte signature, and their
* unpack_XXX_stream wants this header skipped. */
- xstate->signature_skipped = 2;
- xread(fd, xstate->magic.b16, 2);
+ xread(fd, magic.b16, sizeof(magic.b16[0]));
if (ENABLE_FEATURE_SEAMLESS_GZ
- && xstate->magic.b16[0] == GZIP_MAGIC
+ && magic.b16[0] == GZIP_MAGIC
) {
xstate->xformer = unpack_gz_stream;
USE_FOR_NOMMU(xstate->xformer_prog = "gunzip";)
goto found_magic;
}
if (ENABLE_FEATURE_SEAMLESS_Z
- && xstate->magic.b16[0] == COMPRESS_MAGIC
+ && magic.b16[0] == COMPRESS_MAGIC
) {
xstate->xformer = unpack_Z_stream;
USE_FOR_NOMMU(xstate->xformer_prog = "uncompress";)
goto found_magic;
}
if (ENABLE_FEATURE_SEAMLESS_BZ2
- && xstate->magic.b16[0] == BZIP2_MAGIC
+ && magic.b16[0] == BZIP2_MAGIC
) {
xstate->xformer = unpack_bz2_stream;
USE_FOR_NOMMU(xstate->xformer_prog = "bunzip2";)
goto found_magic;
}
if (ENABLE_FEATURE_SEAMLESS_XZ
- && xstate->magic.b16[0] == XZ_MAGIC1
+ && magic.b16[0] == XZ_MAGIC1
) {
- uint32_t v32;
- xstate->signature_skipped = 6;
- xread(fd, &xstate->magic.b16[1], 4);
- move_from_unaligned32(v32, &xstate->magic.b16[1]);
- if (v32 == XZ_MAGIC2) {
+ offset = -6;
+ xread(fd, magic.b32, sizeof(magic.b32[0]));
+ if (magic.b32[0] == XZ_MAGIC2) {
xstate->xformer = unpack_xz_stream;
USE_FOR_NOMMU(xstate->xformer_prog = "unxz";)
goto found_magic;
}
}
- if (ENABLE_FEATURE_SEAMLESS_ZSTD
- && xstate->magic.b16[0] == ZSTD_MAGIC1
- ) {
- uint16_t v16;
- xstate->signature_skipped = 4;
- xread(fd, &xstate->magic.b16[1], 2);
- move_from_unaligned16(v16, &xstate->magic.b16[1]);
- if (v16 == ZSTD_MAGIC2) {
- xstate->xformer = unpack_zstd_stream;
- USE_FOR_NOMMU(xstate->xformer_prog = "unzstd";)
- goto found_magic;
- }
- }
/* No known magic seen */
if (fail_if_not_compressed)
bb_error_msg_and_die("no gzip"
IF_FEATURE_SEAMLESS_BZ2("/bzip2")
IF_FEATURE_SEAMLESS_XZ("/xz")
- IF_FEATURE_SEAMLESS_ZSTD("/zstd")
" magic");
/* Some callers expect this function to "consume" fd
@@ -226,25 +220,19 @@ static transformer_state_t *setup_transformer_on_fd(int fd, int fail_if_not_comp
*/
// USE_FOR_MMU(xstate->xformer = copy_stream;)
// USE_FOR_NOMMU(xstate->xformer_prog = "cat";)
+ /* fall through to seeking bck over bytes we read earlier */
- found_magic:
- return xstate;
-}
-
-static void fork_transformer_and_free(transformer_state_t *xstate)
-{
-# if BB_MMU
- fork_transformer_with_no_sig(xstate->src_fd, xstate->xformer);
-# else
+ USE_FOR_NOMMU(found_magic:)
/* NOMMU version of fork_transformer execs
* an external unzipper that wants
* file position at the start of the file.
*/
- xlseek(xstate->src_fd, - xstate->signature_skipped, SEEK_CUR);
- xstate->signature_skipped = 0;
- fork_transformer_with_sig(xstate->src_fd, xstate->xformer, xstate->xformer_prog);
-# endif
- free(xstate);
+ xlseek(fd, offset, SEEK_CUR);
+
+ USE_FOR_MMU(found_magic:)
+ /* In MMU case, if magic was found, seeking back is not necessary */
+
+ return xstate;
}
/* Used by e.g. rpm which gives us a fd without filename,
@@ -259,27 +247,21 @@ int FAST_FUNC setup_unzip_on_fd(int fd, int fail_if_not_compressed)
return 1;
}
- fork_transformer_and_free(xstate);
+# if BB_MMU
+ fork_transformer_with_no_sig(xstate->src_fd, xstate->xformer);
+# else
+ fork_transformer_with_sig(xstate->src_fd, xstate->xformer, xstate->xformer_prog);
+# endif
+ free(xstate);
return 0;
}
-#if ENABLE_FEATURE_SEAMLESS_LZMA
-/* ...and custom version for LZMA */
-void FAST_FUNC setup_lzma_on_fd(int fd)
-{
- transformer_state_t *xstate = xzalloc(sizeof(*xstate));
- xstate->src_fd = fd;
- xstate->xformer = unpack_lzma_stream;
- USE_FOR_NOMMU(xstate->xformer_prog = "unlzma";)
- fork_transformer_and_free(xstate);
-}
-#endif
static transformer_state_t *open_transformer(const char *fname, int fail_if_not_compressed)
{
transformer_state_t *xstate;
int fd;
- fd = _open(fname, O_RDONLY);
+ fd = open(fname, O_RDONLY);
if (fd < 0)
return NULL;
@@ -310,22 +292,14 @@ int FAST_FUNC open_zipped(const char *fname, int fail_if_not_compressed)
return -1;
fd = xstate->src_fd;
+ if (xstate->xformer) {
# if BB_MMU
- if (xstate->xformer) {
- fork_transformer_with_no_sig(fd, xstate->xformer);
- } else {
- /* the file is not compressed */
- xlseek(fd, - xstate->signature_skipped, SEEK_CUR);
- xstate->signature_skipped = 0;
- }
+ fork_transformer_with_no_sig(xstate->src_fd, xstate->xformer);
# else
- /* NOMMU can't avoid the seek :( */
- xlseek(fd, - xstate->signature_skipped, SEEK_CUR);
- xstate->signature_skipped = 0;
- if (xstate->xformer) {
- fork_transformer_with_sig(fd, xstate->xformer, xstate->xformer_prog);
- } /* else: the file is not compressed */
+ fork_transformer_with_sig(xstate->src_fd, xstate->xformer, xstate->xformer_prog);
# endif
+ }
+ /* else: the file is not compressed */
free(xstate);
return fd;
@@ -352,29 +326,13 @@ void* FAST_FUNC xmalloc_open_zipped_read_close(const char *fname, size_t *maxsz_
*maxsz_p = xstate->mem_output_size;
}
} else {
- /* File is not compressed.
- * We already read first few bytes, account for that.
- * Example where it happens:
- * "modinfo MODULE.ko" (not compressed)
- * open("MODULE.ko", O_RDONLY|O_LARGEFILE) = 4
- * read(4, "\177E", 2) = 2
- * fstat64(4, ...)
- * mmap(...)
- * read(4, "LF\2\1\1\0\0\0\0"...
- * ...and we avoided seeking on the fd! :)
- */
- image = xmalloc_read_with_initial_buf(
- xstate->src_fd,
- maxsz_p,
- xmemdup(&xstate->magic, xstate->signature_skipped),
- xstate->signature_skipped
- );
- xstate->signature_skipped = 0;
+ /* File is not compressed */
+ image = xmalloc_read(xstate->src_fd, maxsz_p);
}
if (!image)
bb_perror_msg("read error from '%s'", fname);
- _close(xstate->src_fd);
+ close(xstate->src_fd);
free(xstate);
return image;
# else
diff --git a/src/bled/platform.h b/src/bled/platform.h
index 7c05d31f..ce0cf5f3 100644
--- a/src/bled/platform.h
+++ b/src/bled/platform.h
@@ -261,7 +261,7 @@ typedef uint64_t bb__aliased_uint64_t FIX_ALIASING;
/* NB: unaligned parameter should be a pointer, aligned one -
* a lvalue. This makes it more likely to not swap them by mistake
*/
-#if defined(i386) || defined(__x86_64__) || defined(_M_IX86) || defined(_M_X64) || defined(__powerpc__)
+#if defined(i386) || defined(__x86_64__) || defined(__powerpc__)
# define BB_UNALIGNED_MEMACCESS_OK 1
# define move_from_unaligned_int(v, intp) ((v) = *(bb__aliased_int*)(intp))
# define move_from_unaligned_long(v, longp) ((v) = *(bb__aliased_long*)(longp))
diff --git a/src/bled/seek_by_jump.c b/src/bled/seek_by_jump.c
index 232d97e5..4fcd99ac 100644
--- a/src/bled/seek_by_jump.c
+++ b/src/bled/seek_by_jump.c
@@ -2,6 +2,7 @@
/*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
#include "libbb.h"
#include "bb_archive.h"
diff --git a/src/bled/seek_by_read.c b/src/bled/seek_by_read.c
index df234635..c0fde966 100644
--- a/src/bled/seek_by_read.c
+++ b/src/bled/seek_by_read.c
@@ -2,6 +2,7 @@
/*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
#include "libbb.h"
#include "bb_archive.h"
diff --git a/src/bled/xxhash.c b/src/bled/xxhash.c
deleted file mode 100644
index 052cd522..00000000
--- a/src/bled/xxhash.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * xxHash - Extremely Fast Hash algorithm
- * Copyright (c) Yann Collet - Meta Platforms, Inc
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-/*
- * xxhash.c instantiates functions defined in xxhash.h
- */
-
-#define XXH_STATIC_LINKING_ONLY /* access advanced declarations */
-#define XXH_IMPLEMENTATION /* access definitions */
-
-#include "xxhash.h"
diff --git a/src/bled/xxhash.h b/src/bled/xxhash.h
deleted file mode 100644
index 76f541b5..00000000
--- a/src/bled/xxhash.h
+++ /dev/null
@@ -1,7021 +0,0 @@
-/*
- * xxHash - Extremely Fast Hash algorithm
- * Header File
- * Copyright (c) Yann Collet - Meta Platforms, Inc
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-/* Local adaptations for Zstandard */
-
-#ifndef XXH_NO_XXH3
-# define XXH_NO_XXH3
-#endif
-
-#ifndef XXH_NAMESPACE
-# define XXH_NAMESPACE ZSTD_
-#endif
-
-/*!
- * @mainpage xxHash
- *
- * xxHash is an extremely fast non-cryptographic hash algorithm, working at RAM speed
- * limits.
- *
- * It is proposed in four flavors, in three families:
- * 1. @ref XXH32_family
- * - Classic 32-bit hash function. Simple, compact, and runs on almost all
- * 32-bit and 64-bit systems.
- * 2. @ref XXH64_family
- * - Classic 64-bit adaptation of XXH32. Just as simple, and runs well on most
- * 64-bit systems (but _not_ 32-bit systems).
- * 3. @ref XXH3_family
- * - Modern 64-bit and 128-bit hash function family which features improved
- * strength and performance across the board, especially on smaller data.
- * It benefits greatly from SIMD and 64-bit without requiring it.
- *
- * Benchmarks
- * ---
- * The reference system uses an Intel i7-9700K CPU, and runs Ubuntu x64 20.04.
- * The open source benchmark program is compiled with clang v10.0 using -O3 flag.
- *
- * | Hash Name | ISA ext | Width | Large Data Speed | Small Data Velocity |
- * | -------------------- | ------- | ----: | ---------------: | ------------------: |
- * | XXH3_64bits() | @b AVX2 | 64 | 59.4 GB/s | 133.1 |
- * | MeowHash | AES-NI | 128 | 58.2 GB/s | 52.5 |
- * | XXH3_128bits() | @b AVX2 | 128 | 57.9 GB/s | 118.1 |
- * | CLHash | PCLMUL | 64 | 37.1 GB/s | 58.1 |
- * | XXH3_64bits() | @b SSE2 | 64 | 31.5 GB/s | 133.1 |
- * | XXH3_128bits() | @b SSE2 | 128 | 29.6 GB/s | 118.1 |
- * | RAM sequential read | | N/A | 28.0 GB/s | N/A |
- * | ahash | AES-NI | 64 | 22.5 GB/s | 107.2 |
- * | City64 | | 64 | 22.0 GB/s | 76.6 |
- * | T1ha2 | | 64 | 22.0 GB/s | 99.0 |
- * | City128 | | 128 | 21.7 GB/s | 57.7 |
- * | FarmHash | AES-NI | 64 | 21.3 GB/s | 71.9 |
- * | XXH64() | | 64 | 19.4 GB/s | 71.0 |
- * | SpookyHash | | 64 | 19.3 GB/s | 53.2 |
- * | Mum | | 64 | 18.0 GB/s | 67.0 |
- * | CRC32C | SSE4.2 | 32 | 13.0 GB/s | 57.9 |
- * | XXH32() | | 32 | 9.7 GB/s | 71.9 |
- * | City32 | | 32 | 9.1 GB/s | 66.0 |
- * | Blake3* | @b AVX2 | 256 | 4.4 GB/s | 8.1 |
- * | Murmur3 | | 32 | 3.9 GB/s | 56.1 |
- * | SipHash* | | 64 | 3.0 GB/s | 43.2 |
- * | Blake3* | @b SSE2 | 256 | 2.4 GB/s | 8.1 |
- * | HighwayHash | | 64 | 1.4 GB/s | 6.0 |
- * | FNV64 | | 64 | 1.2 GB/s | 62.7 |
- * | Blake2* | | 256 | 1.1 GB/s | 5.1 |
- * | SHA1* | | 160 | 0.8 GB/s | 5.6 |
- * | MD5* | | 128 | 0.6 GB/s | 7.8 |
- * @note
- * - Hashes which require a specific ISA extension are noted. SSE2 is also noted,
- * even though it is mandatory on x64.
- * - Hashes with an asterisk are cryptographic. Note that MD5 is non-cryptographic
- * by modern standards.
- * - Small data velocity is a rough average of algorithm's efficiency for small
- * data. For more accurate information, see the wiki.
- * - More benchmarks and strength tests are found on the wiki:
- * https://github.com/Cyan4973/xxHash/wiki
- *
- * Usage
- * ------
- * All xxHash variants use a similar API. Changing the algorithm is a trivial
- * substitution.
- *
- * @pre
- * For functions which take an input and length parameter, the following
- * requirements are assumed:
- * - The range from [`input`, `input + length`) is valid, readable memory.
- * - The only exception is if the `length` is `0`, `input` may be `NULL`.
- * - For C++, the objects must have the *TriviallyCopyable* property, as the
- * functions access bytes directly as if it was an array of `unsigned char`.
- *
- * @anchor single_shot_example
- * **Single Shot**
- *
- * These functions are stateless functions which hash a contiguous block of memory,
- * immediately returning the result. They are the easiest and usually the fastest
- * option.
- *
- * XXH32(), XXH64(), XXH3_64bits(), XXH3_128bits()
- *
- * @code{.c}
- * #include
- * #include "xxhash.h"
- *
- * // Example for a function which hashes a null terminated string with XXH32().
- * XXH32_hash_t hash_string(const char* string, XXH32_hash_t seed)
- * {
- * // NULL pointers are only valid if the length is zero
- * size_t length = (string == NULL) ? 0 : strlen(string);
- * return XXH32(string, length, seed);
- * }
- * @endcode
- *
- *
- * @anchor streaming_example
- * **Streaming**
- *
- * These groups of functions allow incremental hashing of unknown size, even
- * more than what would fit in a size_t.
- *
- * XXH32_reset(), XXH64_reset(), XXH3_64bits_reset(), XXH3_128bits_reset()
- *
- * @code{.c}
- * #include
- * #include
- * #include "xxhash.h"
- * // Example for a function which hashes a FILE incrementally with XXH3_64bits().
- * XXH64_hash_t hashFile(FILE* f)
- * {
- * // Allocate a state struct. Do not just use malloc() or new.
- * XXH3_state_t* state = XXH3_createState();
- * assert(state != NULL && "Out of memory!");
- * // Reset the state to start a new hashing session.
- * XXH3_64bits_reset(state);
- * char buffer[4096];
- * size_t count;
- * // Read the file in chunks
- * while ((count = fread(buffer, 1, sizeof(buffer), f)) != 0) {
- * // Run update() as many times as necessary to process the data
- * XXH3_64bits_update(state, buffer, count);
- * }
- * // Retrieve the finalized hash. This will not change the state.
- * XXH64_hash_t result = XXH3_64bits_digest(state);
- * // Free the state. Do not use free().
- * XXH3_freeState(state);
- * return result;
- * }
- * @endcode
- *
- * Streaming functions generate the xxHash value from an incremental input.
- * This method is slower than single-call functions, due to state management.
- * For small inputs, prefer `XXH32()` and `XXH64()`, which are better optimized.
- *
- * An XXH state must first be allocated using `XXH*_createState()`.
- *
- * Start a new hash by initializing the state with a seed using `XXH*_reset()`.
- *
- * Then, feed the hash state by calling `XXH*_update()` as many times as necessary.
- *
- * The function returns an error code, with 0 meaning OK, and any other value
- * meaning there is an error.
- *
- * Finally, a hash value can be produced anytime, by using `XXH*_digest()`.
- * This function returns the nn-bits hash as an int or long long.
- *
- * It's still possible to continue inserting input into the hash state after a
- * digest, and generate new hash values later on by invoking `XXH*_digest()`.
- *
- * When done, release the state using `XXH*_freeState()`.
- *
- *
- * @anchor canonical_representation_example
- * **Canonical Representation**
- *
- * The default return values from XXH functions are unsigned 32, 64 and 128 bit
- * integers.
- * This the simplest and fastest format for further post-processing.
- *
- * However, this leaves open the question of what is the order on the byte level,
- * since little and big endian conventions will store the same number differently.
- *
- * The canonical representation settles this issue by mandating big-endian
- * convention, the same convention as human-readable numbers (large digits first).
- *
- * When writing hash values to storage, sending them over a network, or printing
- * them, it's highly recommended to use the canonical representation to ensure
- * portability across a wider range of systems, present and future.
- *
- * The following functions allow transformation of hash values to and from
- * canonical format.
- *
- * XXH32_canonicalFromHash(), XXH32_hashFromCanonical(),
- * XXH64_canonicalFromHash(), XXH64_hashFromCanonical(),
- * XXH128_canonicalFromHash(), XXH128_hashFromCanonical(),
- *
- * @code{.c}
- * #include
- * #include "xxhash.h"
- *
- * // Example for a function which prints XXH32_hash_t in human readable format
- * void printXxh32(XXH32_hash_t hash)
- * {
- * XXH32_canonical_t cano;
- * XXH32_canonicalFromHash(&cano, hash);
- * size_t i;
- * for(i = 0; i < sizeof(cano.digest); ++i) {
- * printf("%02x", cano.digest[i]);
- * }
- * printf("\n");
- * }
- *
- * // Example for a function which converts XXH32_canonical_t to XXH32_hash_t
- * XXH32_hash_t convertCanonicalToXxh32(XXH32_canonical_t cano)
- * {
- * XXH32_hash_t hash = XXH32_hashFromCanonical(&cano);
- * return hash;
- * }
- * @endcode
- *
- *
- * @file xxhash.h
- * xxHash prototypes and implementation
- */
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-/* ****************************
- * INLINE mode
- ******************************/
-/*!
- * @defgroup public Public API
- * Contains details on the public xxHash functions.
- * @{
- */
-#ifdef XXH_DOXYGEN
-/*!
- * @brief Gives access to internal state declaration, required for static allocation.
- *
- * Incompatible with dynamic linking, due to risks of ABI changes.
- *
- * Usage:
- * @code{.c}
- * #define XXH_STATIC_LINKING_ONLY
- * #include "xxhash.h"
- * @endcode
- */
-# define XXH_STATIC_LINKING_ONLY
-/* Do not undef XXH_STATIC_LINKING_ONLY for Doxygen */
-
-/*!
- * @brief Gives access to internal definitions.
- *
- * Usage:
- * @code{.c}
- * #define XXH_STATIC_LINKING_ONLY
- * #define XXH_IMPLEMENTATION
- * #include "xxhash.h"
- * @endcode
- */
-# define XXH_IMPLEMENTATION
-/* Do not undef XXH_IMPLEMENTATION for Doxygen */
-
-/*!
- * @brief Exposes the implementation and marks all functions as `inline`.
- *
- * Use these build macros to inline xxhash into the target unit.
- * Inlining improves performance on small inputs, especially when the length is
- * expressed as a compile-time constant:
- *
- * https://fastcompression.blogspot.com/2018/03/xxhash-for-small-keys-impressive-power.html
- *
- * It also keeps xxHash symbols private to the unit, so they are not exported.
- *
- * Usage:
- * @code{.c}
- * #define XXH_INLINE_ALL
- * #include "xxhash.h"
- * @endcode
- * Do not compile and link xxhash.o as a separate object, as it is not useful.
- */
-# define XXH_INLINE_ALL
-# undef XXH_INLINE_ALL
-/*!
- * @brief Exposes the implementation without marking functions as inline.
- */
-# define XXH_PRIVATE_API
-# undef XXH_PRIVATE_API
-/*!
- * @brief Emulate a namespace by transparently prefixing all symbols.
- *
- * If you want to include _and expose_ xxHash functions from within your own
- * library, but also want to avoid symbol collisions with other libraries which
- * may also include xxHash, you can use @ref XXH_NAMESPACE to automatically prefix
- * any public symbol from xxhash library with the value of @ref XXH_NAMESPACE
- * (therefore, avoid empty or numeric values).
- *
- * Note that no change is required within the calling program as long as it
- * includes `xxhash.h`: Regular symbol names will be automatically translated
- * by this header.
- */
-# define XXH_NAMESPACE /* YOUR NAME HERE */
-# undef XXH_NAMESPACE
-#endif
-
-#if (defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API)) \
- && !defined(XXH_INLINE_ALL_31684351384)
- /* this section should be traversed only once */
-# define XXH_INLINE_ALL_31684351384
- /* give access to the advanced API, required to compile implementations */
-# undef XXH_STATIC_LINKING_ONLY /* avoid macro redef */
-# define XXH_STATIC_LINKING_ONLY
- /* make all functions private */
-# undef XXH_PUBLIC_API
-# if defined(__GNUC__)
-# define XXH_PUBLIC_API static __inline __attribute__((unused))
-# elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)
-# define XXH_PUBLIC_API static inline
-# elif defined(_MSC_VER)
-# define XXH_PUBLIC_API static __inline
-# else
- /* note: this version may generate warnings for unused static functions */
-# define XXH_PUBLIC_API static
-# endif
-
- /*
- * This part deals with the special case where a unit wants to inline xxHash,
- * but "xxhash.h" has previously been included without XXH_INLINE_ALL,
- * such as part of some previously included *.h header file.
- * Without further action, the new include would just be ignored,
- * and functions would effectively _not_ be inlined (silent failure).
- * The following macros solve this situation by prefixing all inlined names,
- * avoiding naming collision with previous inclusions.
- */
- /* Before that, we unconditionally #undef all symbols,
- * in case they were already defined with XXH_NAMESPACE.
- * They will then be redefined for XXH_INLINE_ALL
- */
-# undef XXH_versionNumber
- /* XXH32 */
-# undef XXH32
-# undef XXH32_createState
-# undef XXH32_freeState
-# undef XXH32_reset
-# undef XXH32_update
-# undef XXH32_digest
-# undef XXH32_copyState
-# undef XXH32_canonicalFromHash
-# undef XXH32_hashFromCanonical
- /* XXH64 */
-# undef XXH64
-# undef XXH64_createState
-# undef XXH64_freeState
-# undef XXH64_reset
-# undef XXH64_update
-# undef XXH64_digest
-# undef XXH64_copyState
-# undef XXH64_canonicalFromHash
-# undef XXH64_hashFromCanonical
- /* XXH3_64bits */
-# undef XXH3_64bits
-# undef XXH3_64bits_withSecret
-# undef XXH3_64bits_withSeed
-# undef XXH3_64bits_withSecretandSeed
-# undef XXH3_createState
-# undef XXH3_freeState
-# undef XXH3_copyState
-# undef XXH3_64bits_reset
-# undef XXH3_64bits_reset_withSeed
-# undef XXH3_64bits_reset_withSecret
-# undef XXH3_64bits_update
-# undef XXH3_64bits_digest
-# undef XXH3_generateSecret
- /* XXH3_128bits */
-# undef XXH128
-# undef XXH3_128bits
-# undef XXH3_128bits_withSeed
-# undef XXH3_128bits_withSecret
-# undef XXH3_128bits_reset
-# undef XXH3_128bits_reset_withSeed
-# undef XXH3_128bits_reset_withSecret
-# undef XXH3_128bits_reset_withSecretandSeed
-# undef XXH3_128bits_update
-# undef XXH3_128bits_digest
-# undef XXH128_isEqual
-# undef XXH128_cmp
-# undef XXH128_canonicalFromHash
-# undef XXH128_hashFromCanonical
- /* Finally, free the namespace itself */
-# undef XXH_NAMESPACE
-
- /* employ the namespace for XXH_INLINE_ALL */
-# define XXH_NAMESPACE XXH_INLINE_
- /*
- * Some identifiers (enums, type names) are not symbols,
- * but they must nonetheless be renamed to avoid redeclaration.
- * Alternative solution: do not redeclare them.
- * However, this requires some #ifdefs, and has a more dispersed impact.
- * Meanwhile, renaming can be achieved in a single place.
- */
-# define XXH_IPREF(Id) XXH_NAMESPACE ## Id
-# define XXH_OK XXH_IPREF(XXH_OK)
-# define XXH_ERROR XXH_IPREF(XXH_ERROR)
-# define XXH_errorcode XXH_IPREF(XXH_errorcode)
-# define XXH32_canonical_t XXH_IPREF(XXH32_canonical_t)
-# define XXH64_canonical_t XXH_IPREF(XXH64_canonical_t)
-# define XXH128_canonical_t XXH_IPREF(XXH128_canonical_t)
-# define XXH32_state_s XXH_IPREF(XXH32_state_s)
-# define XXH32_state_t XXH_IPREF(XXH32_state_t)
-# define XXH64_state_s XXH_IPREF(XXH64_state_s)
-# define XXH64_state_t XXH_IPREF(XXH64_state_t)
-# define XXH3_state_s XXH_IPREF(XXH3_state_s)
-# define XXH3_state_t XXH_IPREF(XXH3_state_t)
-# define XXH128_hash_t XXH_IPREF(XXH128_hash_t)
- /* Ensure the header is parsed again, even if it was previously included */
-# undef XXHASH_H_5627135585666179
-# undef XXHASH_H_STATIC_13879238742
-#endif /* XXH_INLINE_ALL || XXH_PRIVATE_API */
-
-/* ****************************************************************
- * Stable API
- *****************************************************************/
-#ifndef XXHASH_H_5627135585666179
-#define XXHASH_H_5627135585666179 1
-
-/*! @brief Marks a global symbol. */
-#if !defined(XXH_INLINE_ALL) && !defined(XXH_PRIVATE_API)
-# if defined(WIN32) && defined(_MSC_VER) && (defined(XXH_IMPORT) || defined(XXH_EXPORT))
-# ifdef XXH_EXPORT
-# define XXH_PUBLIC_API __declspec(dllexport)
-# elif XXH_IMPORT
-# define XXH_PUBLIC_API __declspec(dllimport)
-# endif
-# else
-# define XXH_PUBLIC_API /* do nothing */
-# endif
-#endif
-
-#ifdef XXH_NAMESPACE
-# define XXH_CAT(A,B) A##B
-# define XXH_NAME2(A,B) XXH_CAT(A,B)
-# define XXH_versionNumber XXH_NAME2(XXH_NAMESPACE, XXH_versionNumber)
-/* XXH32 */
-# define XXH32 XXH_NAME2(XXH_NAMESPACE, XXH32)
-# define XXH32_createState XXH_NAME2(XXH_NAMESPACE, XXH32_createState)
-# define XXH32_freeState XXH_NAME2(XXH_NAMESPACE, XXH32_freeState)
-# define XXH32_reset XXH_NAME2(XXH_NAMESPACE, XXH32_reset)
-# define XXH32_update XXH_NAME2(XXH_NAMESPACE, XXH32_update)
-# define XXH32_digest XXH_NAME2(XXH_NAMESPACE, XXH32_digest)
-# define XXH32_copyState XXH_NAME2(XXH_NAMESPACE, XXH32_copyState)
-# define XXH32_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH32_canonicalFromHash)
-# define XXH32_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH32_hashFromCanonical)
-/* XXH64 */
-# define XXH64 XXH_NAME2(XXH_NAMESPACE, XXH64)
-# define XXH64_createState XXH_NAME2(XXH_NAMESPACE, XXH64_createState)
-# define XXH64_freeState XXH_NAME2(XXH_NAMESPACE, XXH64_freeState)
-# define XXH64_reset XXH_NAME2(XXH_NAMESPACE, XXH64_reset)
-# define XXH64_update XXH_NAME2(XXH_NAMESPACE, XXH64_update)
-# define XXH64_digest XXH_NAME2(XXH_NAMESPACE, XXH64_digest)
-# define XXH64_copyState XXH_NAME2(XXH_NAMESPACE, XXH64_copyState)
-# define XXH64_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH64_canonicalFromHash)
-# define XXH64_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH64_hashFromCanonical)
-/* XXH3_64bits */
-# define XXH3_64bits XXH_NAME2(XXH_NAMESPACE, XXH3_64bits)
-# define XXH3_64bits_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_withSecret)
-# define XXH3_64bits_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_withSeed)
-# define XXH3_64bits_withSecretandSeed XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_withSecretandSeed)
-# define XXH3_createState XXH_NAME2(XXH_NAMESPACE, XXH3_createState)
-# define XXH3_freeState XXH_NAME2(XXH_NAMESPACE, XXH3_freeState)
-# define XXH3_copyState XXH_NAME2(XXH_NAMESPACE, XXH3_copyState)
-# define XXH3_64bits_reset XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset)
-# define XXH3_64bits_reset_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset_withSeed)
-# define XXH3_64bits_reset_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset_withSecret)
-# define XXH3_64bits_reset_withSecretandSeed XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_reset_withSecretandSeed)
-# define XXH3_64bits_update XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_update)
-# define XXH3_64bits_digest XXH_NAME2(XXH_NAMESPACE, XXH3_64bits_digest)
-# define XXH3_generateSecret XXH_NAME2(XXH_NAMESPACE, XXH3_generateSecret)
-# define XXH3_generateSecret_fromSeed XXH_NAME2(XXH_NAMESPACE, XXH3_generateSecret_fromSeed)
-/* XXH3_128bits */
-# define XXH128 XXH_NAME2(XXH_NAMESPACE, XXH128)
-# define XXH3_128bits XXH_NAME2(XXH_NAMESPACE, XXH3_128bits)
-# define XXH3_128bits_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_withSeed)
-# define XXH3_128bits_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_withSecret)
-# define XXH3_128bits_withSecretandSeed XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_withSecretandSeed)
-# define XXH3_128bits_reset XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset)
-# define XXH3_128bits_reset_withSeed XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset_withSeed)
-# define XXH3_128bits_reset_withSecret XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset_withSecret)
-# define XXH3_128bits_reset_withSecretandSeed XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_reset_withSecretandSeed)
-# define XXH3_128bits_update XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_update)
-# define XXH3_128bits_digest XXH_NAME2(XXH_NAMESPACE, XXH3_128bits_digest)
-# define XXH128_isEqual XXH_NAME2(XXH_NAMESPACE, XXH128_isEqual)
-# define XXH128_cmp XXH_NAME2(XXH_NAMESPACE, XXH128_cmp)
-# define XXH128_canonicalFromHash XXH_NAME2(XXH_NAMESPACE, XXH128_canonicalFromHash)
-# define XXH128_hashFromCanonical XXH_NAME2(XXH_NAMESPACE, XXH128_hashFromCanonical)
-#endif
-
-
-/* *************************************
-* Compiler specifics
-***************************************/
-
-/* specific declaration modes for Windows */
-#if !defined(XXH_INLINE_ALL) && !defined(XXH_PRIVATE_API)
-# if defined(WIN32) && defined(_MSC_VER) && (defined(XXH_IMPORT) || defined(XXH_EXPORT))
-# ifdef XXH_EXPORT
-# define XXH_PUBLIC_API __declspec(dllexport)
-# elif XXH_IMPORT
-# define XXH_PUBLIC_API __declspec(dllimport)
-# endif
-# else
-# define XXH_PUBLIC_API /* do nothing */
-# endif
-#endif
-
-#if defined (__GNUC__)
-# define XXH_CONSTF __attribute__((const))
-# define XXH_PUREF __attribute__((pure))
-# define XXH_MALLOCF __attribute__((malloc))
-#else
-# define XXH_CONSTF /* disable */
-# define XXH_PUREF
-# define XXH_MALLOCF
-#endif
-
-/* *************************************
-* Version
-***************************************/
-#define XXH_VERSION_MAJOR 0
-#define XXH_VERSION_MINOR 8
-#define XXH_VERSION_RELEASE 2
-/*! @brief Version number, encoded as two digits each */
-#define XXH_VERSION_NUMBER (XXH_VERSION_MAJOR *100*100 + XXH_VERSION_MINOR *100 + XXH_VERSION_RELEASE)
-
-/*!
- * @brief Obtains the xxHash version.
- *
- * This is mostly useful when xxHash is compiled as a shared library,
- * since the returned value comes from the library, as opposed to header file.
- *
- * @return @ref XXH_VERSION_NUMBER of the invoked library.
- */
-XXH_PUBLIC_API XXH_CONSTF unsigned XXH_versionNumber (void);
-
-
-/* ****************************
-* Common basic types
-******************************/
-#include /* size_t */
-/*!
- * @brief Exit code for the streaming API.
- */
-typedef enum {
- XXH_OK = 0, /*!< OK */
- XXH_ERROR /*!< Error */
-} XXH_errorcode;
-
-
-/*-**********************************************************************
-* 32-bit hash
-************************************************************************/
-#if defined(XXH_DOXYGEN) /* Don't show include */
-/*!
- * @brief An unsigned 32-bit integer.
- *
- * Not necessarily defined to `uint32_t` but functionally equivalent.
- */
-typedef uint32_t XXH32_hash_t;
-
-#elif !defined (__VMS) \
- && (defined (__cplusplus) \
- || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
-# ifdef _AIX
-# include
-# else
-# include
-# endif
- typedef uint32_t XXH32_hash_t;
-
-#else
-# include
-# if UINT_MAX == 0xFFFFFFFFUL
- typedef unsigned int XXH32_hash_t;
-# elif ULONG_MAX == 0xFFFFFFFFUL
- typedef unsigned long XXH32_hash_t;
-# else
-# error "unsupported platform: need a 32-bit type"
-# endif
-#endif
-
-/*!
- * @}
- *
- * @defgroup XXH32_family XXH32 family
- * @ingroup public
- * Contains functions used in the classic 32-bit xxHash algorithm.
- *
- * @note
- * XXH32 is useful for older platforms, with no or poor 64-bit performance.
- * Note that the @ref XXH3_family provides competitive speed for both 32-bit
- * and 64-bit systems, and offers true 64/128 bit hash results.
- *
- * @see @ref XXH64_family, @ref XXH3_family : Other xxHash families
- * @see @ref XXH32_impl for implementation details
- * @{
- */
-
-/*!
- * @brief Calculates the 32-bit hash of @p input using xxHash32.
- *
- * @param input The block of data to be hashed, at least @p length bytes in size.
- * @param length The length of @p input, in bytes.
- * @param seed The 32-bit seed to alter the hash's output predictably.
- *
- * @pre
- * The memory between @p input and @p input + @p length must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p input may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * @return The calculated 32-bit xxHash32 value.
- *
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH32_hash_t XXH32 (const void* input, size_t length, XXH32_hash_t seed);
-
-#ifndef XXH_NO_STREAM
-/*!
- * @typedef struct XXH32_state_s XXH32_state_t
- * @brief The opaque state struct for the XXH32 streaming API.
- *
- * @see XXH32_state_s for details.
- */
-typedef struct XXH32_state_s XXH32_state_t;
-
-/*!
- * @brief Allocates an @ref XXH32_state_t.
- *
- * @return An allocated pointer of @ref XXH32_state_t on success.
- * @return `NULL` on failure.
- *
- * @note Must be freed with XXH32_freeState().
- */
-XXH_PUBLIC_API XXH_MALLOCF XXH32_state_t* XXH32_createState(void);
-/*!
- * @brief Frees an @ref XXH32_state_t.
- *
- * @param statePtr A pointer to an @ref XXH32_state_t allocated with @ref XXH32_createState().
- *
- * @return @ref XXH_OK.
- *
- * @note @p statePtr must be allocated with XXH32_createState().
- *
- */
-XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr);
-/*!
- * @brief Copies one @ref XXH32_state_t to another.
- *
- * @param dst_state The state to copy to.
- * @param src_state The state to copy from.
- * @pre
- * @p dst_state and @p src_state must not be `NULL` and must not overlap.
- */
-XXH_PUBLIC_API void XXH32_copyState(XXH32_state_t* dst_state, const XXH32_state_t* src_state);
-
-/*!
- * @brief Resets an @ref XXH32_state_t to begin a new hash.
- *
- * @param statePtr The state struct to reset.
- * @param seed The 32-bit seed to alter the hash result predictably.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note This function resets and seeds a state. Call it before @ref XXH32_update().
- */
-XXH_PUBLIC_API XXH_errorcode XXH32_reset (XXH32_state_t* statePtr, XXH32_hash_t seed);
-
-/*!
- * @brief Consumes a block of @p input to an @ref XXH32_state_t.
- *
- * @param statePtr The state struct to update.
- * @param input The block of data to be hashed, at least @p length bytes in size.
- * @param length The length of @p input, in bytes.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- * @pre
- * The memory between @p input and @p input + @p length must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p input may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note Call this to incrementally consume blocks of data.
- */
-XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t length);
-
-/*!
- * @brief Returns the calculated hash value from an @ref XXH32_state_t.
- *
- * @param statePtr The state struct to calculate the hash from.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return The calculated 32-bit xxHash32 value from that state.
- *
- * @note
- * Calling XXH32_digest() will not affect @p statePtr, so you can update,
- * digest, and update again.
- */
-XXH_PUBLIC_API XXH_PUREF XXH32_hash_t XXH32_digest (const XXH32_state_t* statePtr);
-#endif /* !XXH_NO_STREAM */
-
-/******* Canonical representation *******/
-
-/*!
- * @brief Canonical (big endian) representation of @ref XXH32_hash_t.
- */
-typedef struct {
- unsigned char digest[4]; /*!< Hash bytes, big endian */
-} XXH32_canonical_t;
-
-/*!
- * @brief Converts an @ref XXH32_hash_t to a big endian @ref XXH32_canonical_t.
- *
- * @param dst The @ref XXH32_canonical_t pointer to be stored to.
- * @param hash The @ref XXH32_hash_t to be converted.
- *
- * @pre
- * @p dst must not be `NULL`.
- *
- * @see @ref canonical_representation_example "Canonical Representation Example"
- */
-XXH_PUBLIC_API void XXH32_canonicalFromHash(XXH32_canonical_t* dst, XXH32_hash_t hash);
-
-/*!
- * @brief Converts an @ref XXH32_canonical_t to a native @ref XXH32_hash_t.
- *
- * @param src The @ref XXH32_canonical_t to convert.
- *
- * @pre
- * @p src must not be `NULL`.
- *
- * @return The converted hash.
- *
- * @see @ref canonical_representation_example "Canonical Representation Example"
- */
-XXH_PUBLIC_API XXH_PUREF XXH32_hash_t XXH32_hashFromCanonical(const XXH32_canonical_t* src);
-
-
-/*! @cond Doxygen ignores this part */
-#ifdef __has_attribute
-# define XXH_HAS_ATTRIBUTE(x) __has_attribute(x)
-#else
-# define XXH_HAS_ATTRIBUTE(x) 0
-#endif
-/*! @endcond */
-
-/*! @cond Doxygen ignores this part */
-/*
- * C23 __STDC_VERSION__ number hasn't been specified yet. For now
- * leave as `201711L` (C17 + 1).
- * TODO: Update to correct value when its been specified.
- */
-#define XXH_C23_VN 201711L
-/*! @endcond */
-
-/*! @cond Doxygen ignores this part */
-/* C-language Attributes are added in C23. */
-#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= XXH_C23_VN) && defined(__has_c_attribute)
-# define XXH_HAS_C_ATTRIBUTE(x) __has_c_attribute(x)
-#else
-# define XXH_HAS_C_ATTRIBUTE(x) 0
-#endif
-/*! @endcond */
-
-/*! @cond Doxygen ignores this part */
-#if defined(__cplusplus) && defined(__has_cpp_attribute)
-# define XXH_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x)
-#else
-# define XXH_HAS_CPP_ATTRIBUTE(x) 0
-#endif
-/*! @endcond */
-
-/*! @cond Doxygen ignores this part */
-/*
- * Define XXH_FALLTHROUGH macro for annotating switch case with the 'fallthrough' attribute
- * introduced in CPP17 and C23.
- * CPP17 : https://en.cppreference.com/w/cpp/language/attributes/fallthrough
- * C23 : https://en.cppreference.com/w/c/language/attributes/fallthrough
- */
-#if XXH_HAS_C_ATTRIBUTE(fallthrough) || XXH_HAS_CPP_ATTRIBUTE(fallthrough)
-# define XXH_FALLTHROUGH [[fallthrough]]
-#elif XXH_HAS_ATTRIBUTE(__fallthrough__)
-# define XXH_FALLTHROUGH __attribute__ ((__fallthrough__))
-#else
-# define XXH_FALLTHROUGH /* fallthrough */
-#endif
-/*! @endcond */
-
-/*! @cond Doxygen ignores this part */
-/*
- * Define XXH_NOESCAPE for annotated pointers in public API.
- * https://clang.llvm.org/docs/AttributeReference.html#noescape
- * As of writing this, only supported by clang.
- */
-#if XXH_HAS_ATTRIBUTE(noescape)
-# define XXH_NOESCAPE __attribute__((noescape))
-#else
-# define XXH_NOESCAPE
-#endif
-/*! @endcond */
-
-
-/*!
- * @}
- * @ingroup public
- * @{
- */
-
-#ifndef XXH_NO_LONG_LONG
-/*-**********************************************************************
-* 64-bit hash
-************************************************************************/
-#if defined(XXH_DOXYGEN) /* don't include */
-/*!
- * @brief An unsigned 64-bit integer.
- *
- * Not necessarily defined to `uint64_t` but functionally equivalent.
- */
-typedef uint64_t XXH64_hash_t;
-#elif !defined (__VMS) \
- && (defined (__cplusplus) \
- || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
-# ifdef _AIX
-# include
-# else
-# include
-# endif
- typedef uint64_t XXH64_hash_t;
-#else
-# include
-# if defined(__LP64__) && ULONG_MAX == 0xFFFFFFFFFFFFFFFFULL
- /* LP64 ABI says uint64_t is unsigned long */
- typedef unsigned long XXH64_hash_t;
-# else
- /* the following type must have a width of 64-bit */
- typedef unsigned long long XXH64_hash_t;
-# endif
-#endif
-
-/*!
- * @}
- *
- * @defgroup XXH64_family XXH64 family
- * @ingroup public
- * @{
- * Contains functions used in the classic 64-bit xxHash algorithm.
- *
- * @note
- * XXH3 provides competitive speed for both 32-bit and 64-bit systems,
- * and offers true 64/128 bit hash results.
- * It provides better speed for systems with vector processing capabilities.
- */
-
-/*!
- * @brief Calculates the 64-bit hash of @p input using xxHash64.
- *
- * @param input The block of data to be hashed, at least @p length bytes in size.
- * @param length The length of @p input, in bytes.
- * @param seed The 64-bit seed to alter the hash's output predictably.
- *
- * @pre
- * The memory between @p input and @p input + @p length must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p input may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * @return The calculated 64-bit xxHash64 value.
- *
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH64(XXH_NOESCAPE const void* input, size_t length, XXH64_hash_t seed);
-
-/******* Streaming *******/
-#ifndef XXH_NO_STREAM
-/*!
- * @brief The opaque state struct for the XXH64 streaming API.
- *
- * @see XXH64_state_s for details.
- */
-typedef struct XXH64_state_s XXH64_state_t; /* incomplete type */
-
-/*!
- * @brief Allocates an @ref XXH64_state_t.
- *
- * @return An allocated pointer of @ref XXH64_state_t on success.
- * @return `NULL` on failure.
- *
- * @note Must be freed with XXH64_freeState().
- */
-XXH_PUBLIC_API XXH_MALLOCF XXH64_state_t* XXH64_createState(void);
-
-/*!
- * @brief Frees an @ref XXH64_state_t.
- *
- * @param statePtr A pointer to an @ref XXH64_state_t allocated with @ref XXH64_createState().
- *
- * @return @ref XXH_OK.
- *
- * @note @p statePtr must be allocated with XXH64_createState().
- */
-XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr);
-
-/*!
- * @brief Copies one @ref XXH64_state_t to another.
- *
- * @param dst_state The state to copy to.
- * @param src_state The state to copy from.
- * @pre
- * @p dst_state and @p src_state must not be `NULL` and must not overlap.
- */
-XXH_PUBLIC_API void XXH64_copyState(XXH_NOESCAPE XXH64_state_t* dst_state, const XXH64_state_t* src_state);
-
-/*!
- * @brief Resets an @ref XXH64_state_t to begin a new hash.
- *
- * @param statePtr The state struct to reset.
- * @param seed The 64-bit seed to alter the hash result predictably.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note This function resets and seeds a state. Call it before @ref XXH64_update().
- */
-XXH_PUBLIC_API XXH_errorcode XXH64_reset (XXH_NOESCAPE XXH64_state_t* statePtr, XXH64_hash_t seed);
-
-/*!
- * @brief Consumes a block of @p input to an @ref XXH64_state_t.
- *
- * @param statePtr The state struct to update.
- * @param input The block of data to be hashed, at least @p length bytes in size.
- * @param length The length of @p input, in bytes.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- * @pre
- * The memory between @p input and @p input + @p length must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p input may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note Call this to incrementally consume blocks of data.
- */
-XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH_NOESCAPE XXH64_state_t* statePtr, XXH_NOESCAPE const void* input, size_t length);
-
-/*!
- * @brief Returns the calculated hash value from an @ref XXH64_state_t.
- *
- * @param statePtr The state struct to calculate the hash from.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return The calculated 64-bit xxHash64 value from that state.
- *
- * @note
- * Calling XXH64_digest() will not affect @p statePtr, so you can update,
- * digest, and update again.
- */
-XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH64_digest (XXH_NOESCAPE const XXH64_state_t* statePtr);
-#endif /* !XXH_NO_STREAM */
-/******* Canonical representation *******/
-
-/*!
- * @brief Canonical (big endian) representation of @ref XXH64_hash_t.
- */
-typedef struct { unsigned char digest[sizeof(XXH64_hash_t)]; } XXH64_canonical_t;
-
-/*!
- * @brief Converts an @ref XXH64_hash_t to a big endian @ref XXH64_canonical_t.
- *
- * @param dst The @ref XXH64_canonical_t pointer to be stored to.
- * @param hash The @ref XXH64_hash_t to be converted.
- *
- * @pre
- * @p dst must not be `NULL`.
- *
- * @see @ref canonical_representation_example "Canonical Representation Example"
- */
-XXH_PUBLIC_API void XXH64_canonicalFromHash(XXH_NOESCAPE XXH64_canonical_t* dst, XXH64_hash_t hash);
-
-/*!
- * @brief Converts an @ref XXH64_canonical_t to a native @ref XXH64_hash_t.
- *
- * @param src The @ref XXH64_canonical_t to convert.
- *
- * @pre
- * @p src must not be `NULL`.
- *
- * @return The converted hash.
- *
- * @see @ref canonical_representation_example "Canonical Representation Example"
- */
-XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH64_hashFromCanonical(XXH_NOESCAPE const XXH64_canonical_t* src);
-
-#ifndef XXH_NO_XXH3
-
-/*!
- * @}
- * ************************************************************************
- * @defgroup XXH3_family XXH3 family
- * @ingroup public
- * @{
- *
- * XXH3 is a more recent hash algorithm featuring:
- * - Improved speed for both small and large inputs
- * - True 64-bit and 128-bit outputs
- * - SIMD acceleration
- * - Improved 32-bit viability
- *
- * Speed analysis methodology is explained here:
- *
- * https://fastcompression.blogspot.com/2019/03/presenting-xxh3.html
- *
- * Compared to XXH64, expect XXH3 to run approximately
- * ~2x faster on large inputs and >3x faster on small ones,
- * exact differences vary depending on platform.
- *
- * XXH3's speed benefits greatly from SIMD and 64-bit arithmetic,
- * but does not require it.
- * Most 32-bit and 64-bit targets that can run XXH32 smoothly can run XXH3
- * at competitive speeds, even without vector support. Further details are
- * explained in the implementation.
- *
- * XXH3 has a fast scalar implementation, but it also includes accelerated SIMD
- * implementations for many common platforms:
- * - AVX512
- * - AVX2
- * - SSE2
- * - ARM NEON
- * - WebAssembly SIMD128
- * - POWER8 VSX
- * - s390x ZVector
- * This can be controlled via the @ref XXH_VECTOR macro, but it automatically
- * selects the best version according to predefined macros. For the x86 family, an
- * automatic runtime dispatcher is included separately in @ref xxh_x86dispatch.c.
- *
- * XXH3 implementation is portable:
- * it has a generic C90 formulation that can be compiled on any platform,
- * all implementations generate exactly the same hash value on all platforms.
- * Starting from v0.8.0, it's also labelled "stable", meaning that
- * any future version will also generate the same hash value.
- *
- * XXH3 offers 2 variants, _64bits and _128bits.
- *
- * When only 64 bits are needed, prefer invoking the _64bits variant, as it
- * reduces the amount of mixing, resulting in faster speed on small inputs.
- * It's also generally simpler to manipulate a scalar return type than a struct.
- *
- * The API supports one-shot hashing, streaming mode, and custom secrets.
- */
-/*-**********************************************************************
-* XXH3 64-bit variant
-************************************************************************/
-
-/*!
- * @brief Calculates 64-bit unseeded variant of XXH3 hash of @p input.
- *
- * @param input The block of data to be hashed, at least @p length bytes in size.
- * @param length The length of @p input, in bytes.
- *
- * @pre
- * The memory between @p input and @p input + @p length must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p input may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * @return The calculated 64-bit XXH3 hash value.
- *
- * @note
- * This is equivalent to @ref XXH3_64bits_withSeed() with a seed of `0`, however
- * it may have slightly better performance due to constant propagation of the
- * defaults.
- *
- * @see
- * XXH3_64bits_withSeed(), XXH3_64bits_withSecret(): other seeding variants
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH3_64bits(XXH_NOESCAPE const void* input, size_t length);
-
-/*!
- * @brief Calculates 64-bit seeded variant of XXH3 hash of @p input.
- *
- * @param input The block of data to be hashed, at least @p length bytes in size.
- * @param length The length of @p input, in bytes.
- * @param seed The 64-bit seed to alter the hash result predictably.
- *
- * @pre
- * The memory between @p input and @p input + @p length must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p input may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * @return The calculated 64-bit XXH3 hash value.
- *
- * @note
- * seed == 0 produces the same results as @ref XXH3_64bits().
- *
- * This variant generates a custom secret on the fly based on default secret
- * altered using the @p seed value.
- *
- * While this operation is decently fast, note that it's not completely free.
- *
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH3_64bits_withSeed(XXH_NOESCAPE const void* input, size_t length, XXH64_hash_t seed);
-
-/*!
- * The bare minimum size for a custom secret.
- *
- * @see
- * XXH3_64bits_withSecret(), XXH3_64bits_reset_withSecret(),
- * XXH3_128bits_withSecret(), XXH3_128bits_reset_withSecret().
- */
-#define XXH3_SECRET_SIZE_MIN 136
-
-/*!
- * @brief Calculates 64-bit variant of XXH3 with a custom "secret".
- *
- * @param data The block of data to be hashed, at least @p len bytes in size.
- * @param len The length of @p data, in bytes.
- * @param secret The secret data.
- * @param secretSize The length of @p secret, in bytes.
- *
- * @return The calculated 64-bit XXH3 hash value.
- *
- * @pre
- * The memory between @p data and @p data + @p len must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p data may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * It's possible to provide any blob of bytes as a "secret" to generate the hash.
- * This makes it more difficult for an external actor to prepare an intentional collision.
- * The main condition is that @p secretSize *must* be large enough (>= @ref XXH3_SECRET_SIZE_MIN).
- * However, the quality of the secret impacts the dispersion of the hash algorithm.
- * Therefore, the secret _must_ look like a bunch of random bytes.
- * Avoid "trivial" or structured data such as repeated sequences or a text document.
- * Whenever in doubt about the "randomness" of the blob of bytes,
- * consider employing @ref XXH3_generateSecret() instead (see below).
- * It will generate a proper high entropy secret derived from the blob of bytes.
- * Another advantage of using XXH3_generateSecret() is that
- * it guarantees that all bits within the initial blob of bytes
- * will impact every bit of the output.
- * This is not necessarily the case when using the blob of bytes directly
- * because, when hashing _small_ inputs, only a portion of the secret is employed.
- *
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH3_64bits_withSecret(XXH_NOESCAPE const void* data, size_t len, XXH_NOESCAPE const void* secret, size_t secretSize);
-
-
-/******* Streaming *******/
-#ifndef XXH_NO_STREAM
-/*
- * Streaming requires state maintenance.
- * This operation costs memory and CPU.
- * As a consequence, streaming is slower than one-shot hashing.
- * For better performance, prefer one-shot functions whenever applicable.
- */
-
-/*!
- * @brief The opaque state struct for the XXH3 streaming API.
- *
- * @see XXH3_state_s for details.
- */
-typedef struct XXH3_state_s XXH3_state_t;
-XXH_PUBLIC_API XXH_MALLOCF XXH3_state_t* XXH3_createState(void);
-XXH_PUBLIC_API XXH_errorcode XXH3_freeState(XXH3_state_t* statePtr);
-
-/*!
- * @brief Copies one @ref XXH3_state_t to another.
- *
- * @param dst_state The state to copy to.
- * @param src_state The state to copy from.
- * @pre
- * @p dst_state and @p src_state must not be `NULL` and must not overlap.
- */
-XXH_PUBLIC_API void XXH3_copyState(XXH_NOESCAPE XXH3_state_t* dst_state, XXH_NOESCAPE const XXH3_state_t* src_state);
-
-/*!
- * @brief Resets an @ref XXH3_state_t to begin a new hash.
- *
- * @param statePtr The state struct to reset.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note
- * - This function resets `statePtr` and generate a secret with default parameters.
- * - Call this function before @ref XXH3_64bits_update().
- * - Digest will be equivalent to `XXH3_64bits()`.
- *
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset(XXH_NOESCAPE XXH3_state_t* statePtr);
-
-/*!
- * @brief Resets an @ref XXH3_state_t with 64-bit seed to begin a new hash.
- *
- * @param statePtr The state struct to reset.
- * @param seed The 64-bit seed to alter the hash result predictably.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note
- * - This function resets `statePtr` and generate a secret from `seed`.
- * - Call this function before @ref XXH3_64bits_update().
- * - Digest will be equivalent to `XXH3_64bits_withSeed()`.
- *
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset_withSeed(XXH_NOESCAPE XXH3_state_t* statePtr, XXH64_hash_t seed);
-
-/*!
- * @brief Resets an @ref XXH3_state_t with secret data to begin a new hash.
- *
- * @param statePtr The state struct to reset.
- * @param secret The secret data.
- * @param secretSize The length of @p secret, in bytes.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note
- * `secret` is referenced, it _must outlive_ the hash streaming session.
- *
- * Similar to one-shot API, `secretSize` must be >= @ref XXH3_SECRET_SIZE_MIN,
- * and the quality of produced hash values depends on secret's entropy
- * (secret's content should look like a bunch of random bytes).
- * When in doubt about the randomness of a candidate `secret`,
- * consider employing `XXH3_generateSecret()` instead (see below).
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset_withSecret(XXH_NOESCAPE XXH3_state_t* statePtr, XXH_NOESCAPE const void* secret, size_t secretSize);
-
-/*!
- * @brief Consumes a block of @p input to an @ref XXH3_state_t.
- *
- * @param statePtr The state struct to update.
- * @param input The block of data to be hashed, at least @p length bytes in size.
- * @param length The length of @p input, in bytes.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- * @pre
- * The memory between @p input and @p input + @p length must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p input may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note Call this to incrementally consume blocks of data.
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_64bits_update (XXH_NOESCAPE XXH3_state_t* statePtr, XXH_NOESCAPE const void* input, size_t length);
-
-/*!
- * @brief Returns the calculated XXH3 64-bit hash value from an @ref XXH3_state_t.
- *
- * @param statePtr The state struct to calculate the hash from.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return The calculated XXH3 64-bit hash value from that state.
- *
- * @note
- * Calling XXH3_64bits_digest() will not affect @p statePtr, so you can update,
- * digest, and update again.
- */
-XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH3_64bits_digest (XXH_NOESCAPE const XXH3_state_t* statePtr);
-#endif /* !XXH_NO_STREAM */
-
-/* note : canonical representation of XXH3 is the same as XXH64
- * since they both produce XXH64_hash_t values */
-
-
-/*-**********************************************************************
-* XXH3 128-bit variant
-************************************************************************/
-
-/*!
- * @brief The return value from 128-bit hashes.
- *
- * Stored in little endian order, although the fields themselves are in native
- * endianness.
- */
-typedef struct {
- XXH64_hash_t low64; /*!< `value & 0xFFFFFFFFFFFFFFFF` */
- XXH64_hash_t high64; /*!< `value >> 64` */
-} XXH128_hash_t;
-
-/*!
- * @brief Calculates 128-bit unseeded variant of XXH3 of @p data.
- *
- * @param data The block of data to be hashed, at least @p length bytes in size.
- * @param len The length of @p data, in bytes.
- *
- * @return The calculated 128-bit variant of XXH3 value.
- *
- * The 128-bit variant of XXH3 has more strength, but it has a bit of overhead
- * for shorter inputs.
- *
- * This is equivalent to @ref XXH3_128bits_withSeed() with a seed of `0`, however
- * it may have slightly better performance due to constant propagation of the
- * defaults.
- *
- * @see XXH3_128bits_withSeed(), XXH3_128bits_withSecret(): other seeding variants
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH128_hash_t XXH3_128bits(XXH_NOESCAPE const void* data, size_t len);
-/*! @brief Calculates 128-bit seeded variant of XXH3 hash of @p data.
- *
- * @param data The block of data to be hashed, at least @p length bytes in size.
- * @param len The length of @p data, in bytes.
- * @param seed The 64-bit seed to alter the hash result predictably.
- *
- * @return The calculated 128-bit variant of XXH3 value.
- *
- * @note
- * seed == 0 produces the same results as @ref XXH3_64bits().
- *
- * This variant generates a custom secret on the fly based on default secret
- * altered using the @p seed value.
- *
- * While this operation is decently fast, note that it's not completely free.
- *
- * @see XXH3_128bits(), XXH3_128bits_withSecret(): other seeding variants
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH128_hash_t XXH3_128bits_withSeed(XXH_NOESCAPE const void* data, size_t len, XXH64_hash_t seed);
-/*!
- * @brief Calculates 128-bit variant of XXH3 with a custom "secret".
- *
- * @param data The block of data to be hashed, at least @p len bytes in size.
- * @param len The length of @p data, in bytes.
- * @param secret The secret data.
- * @param secretSize The length of @p secret, in bytes.
- *
- * @return The calculated 128-bit variant of XXH3 value.
- *
- * It's possible to provide any blob of bytes as a "secret" to generate the hash.
- * This makes it more difficult for an external actor to prepare an intentional collision.
- * The main condition is that @p secretSize *must* be large enough (>= @ref XXH3_SECRET_SIZE_MIN).
- * However, the quality of the secret impacts the dispersion of the hash algorithm.
- * Therefore, the secret _must_ look like a bunch of random bytes.
- * Avoid "trivial" or structured data such as repeated sequences or a text document.
- * Whenever in doubt about the "randomness" of the blob of bytes,
- * consider employing @ref XXH3_generateSecret() instead (see below).
- * It will generate a proper high entropy secret derived from the blob of bytes.
- * Another advantage of using XXH3_generateSecret() is that
- * it guarantees that all bits within the initial blob of bytes
- * will impact every bit of the output.
- * This is not necessarily the case when using the blob of bytes directly
- * because, when hashing _small_ inputs, only a portion of the secret is employed.
- *
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH128_hash_t XXH3_128bits_withSecret(XXH_NOESCAPE const void* data, size_t len, XXH_NOESCAPE const void* secret, size_t secretSize);
-
-/******* Streaming *******/
-#ifndef XXH_NO_STREAM
-/*
- * Streaming requires state maintenance.
- * This operation costs memory and CPU.
- * As a consequence, streaming is slower than one-shot hashing.
- * For better performance, prefer one-shot functions whenever applicable.
- *
- * XXH3_128bits uses the same XXH3_state_t as XXH3_64bits().
- * Use already declared XXH3_createState() and XXH3_freeState().
- *
- * All reset and streaming functions have same meaning as their 64-bit counterpart.
- */
-
-/*!
- * @brief Resets an @ref XXH3_state_t to begin a new hash.
- *
- * @param statePtr The state struct to reset.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note
- * - This function resets `statePtr` and generate a secret with default parameters.
- * - Call it before @ref XXH3_128bits_update().
- * - Digest will be equivalent to `XXH3_128bits()`.
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset(XXH_NOESCAPE XXH3_state_t* statePtr);
-
-/*!
- * @brief Resets an @ref XXH3_state_t with 64-bit seed to begin a new hash.
- *
- * @param statePtr The state struct to reset.
- * @param seed The 64-bit seed to alter the hash result predictably.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note
- * - This function resets `statePtr` and generate a secret from `seed`.
- * - Call it before @ref XXH3_128bits_update().
- * - Digest will be equivalent to `XXH3_128bits_withSeed()`.
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset_withSeed(XXH_NOESCAPE XXH3_state_t* statePtr, XXH64_hash_t seed);
-/*!
- * @brief Resets an @ref XXH3_state_t with secret data to begin a new hash.
- *
- * @param statePtr The state struct to reset.
- * @param secret The secret data.
- * @param secretSize The length of @p secret, in bytes.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * `secret` is referenced, it _must outlive_ the hash streaming session.
- * Similar to one-shot API, `secretSize` must be >= @ref XXH3_SECRET_SIZE_MIN,
- * and the quality of produced hash values depends on secret's entropy
- * (secret's content should look like a bunch of random bytes).
- * When in doubt about the randomness of a candidate `secret`,
- * consider employing `XXH3_generateSecret()` instead (see below).
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset_withSecret(XXH_NOESCAPE XXH3_state_t* statePtr, XXH_NOESCAPE const void* secret, size_t secretSize);
-
-/*!
- * @brief Consumes a block of @p input to an @ref XXH3_state_t.
- *
- * Call this to incrementally consume blocks of data.
- *
- * @param statePtr The state struct to update.
- * @param input The block of data to be hashed, at least @p length bytes in size.
- * @param length The length of @p input, in bytes.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @note
- * The memory between @p input and @p input + @p length must be valid,
- * readable, contiguous memory. However, if @p length is `0`, @p input may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_128bits_update (XXH_NOESCAPE XXH3_state_t* statePtr, XXH_NOESCAPE const void* input, size_t length);
-
-/*!
- * @brief Returns the calculated XXH3 128-bit hash value from an @ref XXH3_state_t.
- *
- * @param statePtr The state struct to calculate the hash from.
- *
- * @pre
- * @p statePtr must not be `NULL`.
- *
- * @return The calculated XXH3 128-bit hash value from that state.
- *
- * @note
- * Calling XXH3_128bits_digest() will not affect @p statePtr, so you can update,
- * digest, and update again.
- *
- */
-XXH_PUBLIC_API XXH_PUREF XXH128_hash_t XXH3_128bits_digest (XXH_NOESCAPE const XXH3_state_t* statePtr);
-#endif /* !XXH_NO_STREAM */
-
-/* Following helper functions make it possible to compare XXH128_hast_t values.
- * Since XXH128_hash_t is a structure, this capability is not offered by the language.
- * Note: For better performance, these functions can be inlined using XXH_INLINE_ALL */
-
-/*!
- * @brief Check equality of two XXH128_hash_t values
- *
- * @param h1 The 128-bit hash value.
- * @param h2 Another 128-bit hash value.
- *
- * @return `1` if `h1` and `h2` are equal.
- * @return `0` if they are not.
- */
-XXH_PUBLIC_API XXH_PUREF int XXH128_isEqual(XXH128_hash_t h1, XXH128_hash_t h2);
-
-/*!
- * @brief Compares two @ref XXH128_hash_t
- *
- * This comparator is compatible with stdlib's `qsort()`/`bsearch()`.
- *
- * @param h128_1 Left-hand side value
- * @param h128_2 Right-hand side value
- *
- * @return >0 if @p h128_1 > @p h128_2
- * @return =0 if @p h128_1 == @p h128_2
- * @return <0 if @p h128_1 < @p h128_2
- */
-XXH_PUBLIC_API XXH_PUREF int XXH128_cmp(XXH_NOESCAPE const void* h128_1, XXH_NOESCAPE const void* h128_2);
-
-
-/******* Canonical representation *******/
-typedef struct { unsigned char digest[sizeof(XXH128_hash_t)]; } XXH128_canonical_t;
-
-
-/*!
- * @brief Converts an @ref XXH128_hash_t to a big endian @ref XXH128_canonical_t.
- *
- * @param dst The @ref XXH128_canonical_t pointer to be stored to.
- * @param hash The @ref XXH128_hash_t to be converted.
- *
- * @pre
- * @p dst must not be `NULL`.
- * @see @ref canonical_representation_example "Canonical Representation Example"
- */
-XXH_PUBLIC_API void XXH128_canonicalFromHash(XXH_NOESCAPE XXH128_canonical_t* dst, XXH128_hash_t hash);
-
-/*!
- * @brief Converts an @ref XXH128_canonical_t to a native @ref XXH128_hash_t.
- *
- * @param src The @ref XXH128_canonical_t to convert.
- *
- * @pre
- * @p src must not be `NULL`.
- *
- * @return The converted hash.
- * @see @ref canonical_representation_example "Canonical Representation Example"
- */
-XXH_PUBLIC_API XXH_PUREF XXH128_hash_t XXH128_hashFromCanonical(XXH_NOESCAPE const XXH128_canonical_t* src);
-
-
-#endif /* !XXH_NO_XXH3 */
-#endif /* XXH_NO_LONG_LONG */
-
-/*!
- * @}
- */
-#endif /* XXHASH_H_5627135585666179 */
-
-
-
-#if defined(XXH_STATIC_LINKING_ONLY) && !defined(XXHASH_H_STATIC_13879238742)
-#define XXHASH_H_STATIC_13879238742
-/* ****************************************************************************
- * This section contains declarations which are not guaranteed to remain stable.
- * They may change in future versions, becoming incompatible with a different
- * version of the library.
- * These declarations should only be used with static linking.
- * Never use them in association with dynamic linking!
- ***************************************************************************** */
-
-/*
- * These definitions are only present to allow static allocation
- * of XXH states, on stack or in a struct, for example.
- * Never **ever** access their members directly.
- */
-
-/*!
- * @internal
- * @brief Structure for XXH32 streaming API.
- *
- * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY,
- * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined. Otherwise it is
- * an opaque type. This allows fields to safely be changed.
- *
- * Typedef'd to @ref XXH32_state_t.
- * Do not access the members of this struct directly.
- * @see XXH64_state_s, XXH3_state_s
- */
-struct XXH32_state_s {
- XXH32_hash_t total_len_32; /*!< Total length hashed, modulo 2^32 */
- XXH32_hash_t large_len; /*!< Whether the hash is >= 16 (handles @ref total_len_32 overflow) */
- XXH32_hash_t v[4]; /*!< Accumulator lanes */
- XXH32_hash_t mem32[4]; /*!< Internal buffer for partial reads. Treated as unsigned char[16]. */
- XXH32_hash_t memsize; /*!< Amount of data in @ref mem32 */
- XXH32_hash_t reserved; /*!< Reserved field. Do not read nor write to it. */
-}; /* typedef'd to XXH32_state_t */
-
-
-#ifndef XXH_NO_LONG_LONG /* defined when there is no 64-bit support */
-
-/*!
- * @internal
- * @brief Structure for XXH64 streaming API.
- *
- * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY,
- * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined. Otherwise it is
- * an opaque type. This allows fields to safely be changed.
- *
- * Typedef'd to @ref XXH64_state_t.
- * Do not access the members of this struct directly.
- * @see XXH32_state_s, XXH3_state_s
- */
-struct XXH64_state_s {
- XXH64_hash_t total_len; /*!< Total length hashed. This is always 64-bit. */
- XXH64_hash_t v[4]; /*!< Accumulator lanes */
- XXH64_hash_t mem64[4]; /*!< Internal buffer for partial reads. Treated as unsigned char[32]. */
- XXH32_hash_t memsize; /*!< Amount of data in @ref mem64 */
- XXH32_hash_t reserved32; /*!< Reserved field, needed for padding anyways*/
- XXH64_hash_t reserved64; /*!< Reserved field. Do not read or write to it. */
-}; /* typedef'd to XXH64_state_t */
-
-#ifndef XXH_NO_XXH3
-
-#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* >= C11 */
-# include
-# define XXH_ALIGN(n) alignas(n)
-#elif defined(__cplusplus) && (__cplusplus >= 201103L) /* >= C++11 */
-/* In C++ alignas() is a keyword */
-# define XXH_ALIGN(n) alignas(n)
-#elif defined(__GNUC__)
-# define XXH_ALIGN(n) __attribute__ ((aligned(n)))
-#elif defined(_MSC_VER)
-# define XXH_ALIGN(n) __declspec(align(n))
-#else
-# define XXH_ALIGN(n) /* disabled */
-#endif
-
-/* Old GCC versions only accept the attribute after the type in structures. */
-#if !(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)) /* C11+ */ \
- && ! (defined(__cplusplus) && (__cplusplus >= 201103L)) /* >= C++11 */ \
- && defined(__GNUC__)
-# define XXH_ALIGN_MEMBER(align, type) type XXH_ALIGN(align)
-#else
-# define XXH_ALIGN_MEMBER(align, type) XXH_ALIGN(align) type
-#endif
-
-/*!
- * @brief The size of the internal XXH3 buffer.
- *
- * This is the optimal update size for incremental hashing.
- *
- * @see XXH3_64b_update(), XXH3_128b_update().
- */
-#define XXH3_INTERNALBUFFER_SIZE 256
-
-/*!
- * @internal
- * @brief Default size of the secret buffer (and @ref XXH3_kSecret).
- *
- * This is the size used in @ref XXH3_kSecret and the seeded functions.
- *
- * Not to be confused with @ref XXH3_SECRET_SIZE_MIN.
- */
-#define XXH3_SECRET_DEFAULT_SIZE 192
-
-/*!
- * @internal
- * @brief Structure for XXH3 streaming API.
- *
- * @note This is only defined when @ref XXH_STATIC_LINKING_ONLY,
- * @ref XXH_INLINE_ALL, or @ref XXH_IMPLEMENTATION is defined.
- * Otherwise it is an opaque type.
- * Never use this definition in combination with dynamic library.
- * This allows fields to safely be changed in the future.
- *
- * @note ** This structure has a strict alignment requirement of 64 bytes!! **
- * Do not allocate this with `malloc()` or `new`,
- * it will not be sufficiently aligned.
- * Use @ref XXH3_createState() and @ref XXH3_freeState(), or stack allocation.
- *
- * Typedef'd to @ref XXH3_state_t.
- * Do never access the members of this struct directly.
- *
- * @see XXH3_INITSTATE() for stack initialization.
- * @see XXH3_createState(), XXH3_freeState().
- * @see XXH32_state_s, XXH64_state_s
- */
-struct XXH3_state_s {
- XXH_ALIGN_MEMBER(64, XXH64_hash_t acc[8]);
- /*!< The 8 accumulators. See @ref XXH32_state_s::v and @ref XXH64_state_s::v */
- XXH_ALIGN_MEMBER(64, unsigned char customSecret[XXH3_SECRET_DEFAULT_SIZE]);
- /*!< Used to store a custom secret generated from a seed. */
- XXH_ALIGN_MEMBER(64, unsigned char buffer[XXH3_INTERNALBUFFER_SIZE]);
- /*!< The internal buffer. @see XXH32_state_s::mem32 */
- XXH32_hash_t bufferedSize;
- /*!< The amount of memory in @ref buffer, @see XXH32_state_s::memsize */
- XXH32_hash_t useSeed;
- /*!< Reserved field. Needed for padding on 64-bit. */
- size_t nbStripesSoFar;
- /*!< Number or stripes processed. */
- XXH64_hash_t totalLen;
- /*!< Total length hashed. 64-bit even on 32-bit targets. */
- size_t nbStripesPerBlock;
- /*!< Number of stripes per block. */
- size_t secretLimit;
- /*!< Size of @ref customSecret or @ref extSecret */
- XXH64_hash_t seed;
- /*!< Seed for _withSeed variants. Must be zero otherwise, @see XXH3_INITSTATE() */
- XXH64_hash_t reserved64;
- /*!< Reserved field. */
- const unsigned char* extSecret;
- /*!< Reference to an external secret for the _withSecret variants, NULL
- * for other variants. */
- /* note: there may be some padding at the end due to alignment on 64 bytes */
-}; /* typedef'd to XXH3_state_t */
-
-#undef XXH_ALIGN_MEMBER
-
-/*!
- * @brief Initializes a stack-allocated `XXH3_state_s`.
- *
- * When the @ref XXH3_state_t structure is merely emplaced on stack,
- * it should be initialized with XXH3_INITSTATE() or a memset()
- * in case its first reset uses XXH3_NNbits_reset_withSeed().
- * This init can be omitted if the first reset uses default or _withSecret mode.
- * This operation isn't necessary when the state is created with XXH3_createState().
- * Note that this doesn't prepare the state for a streaming operation,
- * it's still necessary to use XXH3_NNbits_reset*() afterwards.
- */
-#define XXH3_INITSTATE(XXH3_state_ptr) \
- do { \
- XXH3_state_t* tmp_xxh3_state_ptr = (XXH3_state_ptr); \
- tmp_xxh3_state_ptr->seed = 0; \
- tmp_xxh3_state_ptr->extSecret = NULL; \
- } while(0)
-
-
-/*!
- * @brief Calculates the 128-bit hash of @p data using XXH3.
- *
- * @param data The block of data to be hashed, at least @p len bytes in size.
- * @param len The length of @p data, in bytes.
- * @param seed The 64-bit seed to alter the hash's output predictably.
- *
- * @pre
- * The memory between @p data and @p data + @p len must be valid,
- * readable, contiguous memory. However, if @p len is `0`, @p data may be
- * `NULL`. In C++, this also must be *TriviallyCopyable*.
- *
- * @return The calculated 128-bit XXH3 value.
- *
- * @see @ref single_shot_example "Single Shot Example" for an example.
- */
-XXH_PUBLIC_API XXH_PUREF XXH128_hash_t XXH128(XXH_NOESCAPE const void* data, size_t len, XXH64_hash_t seed);
-
-
-/* === Experimental API === */
-/* Symbols defined below must be considered tied to a specific library version. */
-
-/*!
- * @brief Derive a high-entropy secret from any user-defined content, named customSeed.
- *
- * @param secretBuffer A writable buffer for derived high-entropy secret data.
- * @param secretSize Size of secretBuffer, in bytes. Must be >= XXH3_SECRET_DEFAULT_SIZE.
- * @param customSeed A user-defined content.
- * @param customSeedSize Size of customSeed, in bytes.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * The generated secret can be used in combination with `*_withSecret()` functions.
- * The `_withSecret()` variants are useful to provide a higher level of protection
- * than 64-bit seed, as it becomes much more difficult for an external actor to
- * guess how to impact the calculation logic.
- *
- * The function accepts as input a custom seed of any length and any content,
- * and derives from it a high-entropy secret of length @p secretSize into an
- * already allocated buffer @p secretBuffer.
- *
- * The generated secret can then be used with any `*_withSecret()` variant.
- * The functions @ref XXH3_128bits_withSecret(), @ref XXH3_64bits_withSecret(),
- * @ref XXH3_128bits_reset_withSecret() and @ref XXH3_64bits_reset_withSecret()
- * are part of this list. They all accept a `secret` parameter
- * which must be large enough for implementation reasons (>= @ref XXH3_SECRET_SIZE_MIN)
- * _and_ feature very high entropy (consist of random-looking bytes).
- * These conditions can be a high bar to meet, so @ref XXH3_generateSecret() can
- * be employed to ensure proper quality.
- *
- * @p customSeed can be anything. It can have any size, even small ones,
- * and its content can be anything, even "poor entropy" sources such as a bunch
- * of zeroes. The resulting `secret` will nonetheless provide all required qualities.
- *
- * @pre
- * - @p secretSize must be >= @ref XXH3_SECRET_SIZE_MIN
- * - When @p customSeedSize > 0, supplying NULL as customSeed is undefined behavior.
- *
- * Example code:
- * @code{.c}
- * #include
- * #include
- * #include
- * #define XXH_STATIC_LINKING_ONLY // expose unstable API
- * #include "xxhash.h"
- * // Hashes argv[2] using the entropy from argv[1].
- * int main(int argc, char* argv[])
- * {
- * char secret[XXH3_SECRET_SIZE_MIN];
- * if (argv != 3) { return 1; }
- * XXH3_generateSecret(secret, sizeof(secret), argv[1], strlen(argv[1]));
- * XXH64_hash_t h = XXH3_64bits_withSecret(
- * argv[2], strlen(argv[2]),
- * secret, sizeof(secret)
- * );
- * printf("%016llx\n", (unsigned long long) h);
- * }
- * @endcode
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_generateSecret(XXH_NOESCAPE void* secretBuffer, size_t secretSize, XXH_NOESCAPE const void* customSeed, size_t customSeedSize);
-
-/*!
- * @brief Generate the same secret as the _withSeed() variants.
- *
- * @param secretBuffer A writable buffer of @ref XXH3_SECRET_SIZE_MIN bytes
- * @param seed The 64-bit seed to alter the hash result predictably.
- *
- * The generated secret can be used in combination with
- *`*_withSecret()` and `_withSecretandSeed()` variants.
- *
- * Example C++ `std::string` hash class:
- * @code{.cpp}
- * #include
- * #define XXH_STATIC_LINKING_ONLY // expose unstable API
- * #include "xxhash.h"
- * // Slow, seeds each time
- * class HashSlow {
- * XXH64_hash_t seed;
- * public:
- * HashSlow(XXH64_hash_t s) : seed{s} {}
- * size_t operator()(const std::string& x) const {
- * return size_t{XXH3_64bits_withSeed(x.c_str(), x.length(), seed)};
- * }
- * };
- * // Fast, caches the seeded secret for future uses.
- * class HashFast {
- * unsigned char secret[XXH3_SECRET_SIZE_MIN];
- * public:
- * HashFast(XXH64_hash_t s) {
- * XXH3_generateSecret_fromSeed(secret, seed);
- * }
- * size_t operator()(const std::string& x) const {
- * return size_t{
- * XXH3_64bits_withSecret(x.c_str(), x.length(), secret, sizeof(secret))
- * };
- * }
- * };
- * @endcode
- */
-XXH_PUBLIC_API void XXH3_generateSecret_fromSeed(XXH_NOESCAPE void* secretBuffer, XXH64_hash_t seed);
-
-/*!
- * @brief Calculates 64/128-bit seeded variant of XXH3 hash of @p data.
- *
- * @param data The block of data to be hashed, at least @p len bytes in size.
- * @param len The length of @p data, in bytes.
- * @param secret The secret data.
- * @param secretSize The length of @p secret, in bytes.
- * @param seed The 64-bit seed to alter the hash result predictably.
- *
- * These variants generate hash values using either
- * @p seed for "short" keys (< @ref XXH3_MIDSIZE_MAX = 240 bytes)
- * or @p secret for "large" keys (>= @ref XXH3_MIDSIZE_MAX).
- *
- * This generally benefits speed, compared to `_withSeed()` or `_withSecret()`.
- * `_withSeed()` has to generate the secret on the fly for "large" keys.
- * It's fast, but can be perceptible for "not so large" keys (< 1 KB).
- * `_withSecret()` has to generate the masks on the fly for "small" keys,
- * which requires more instructions than _withSeed() variants.
- * Therefore, _withSecretandSeed variant combines the best of both worlds.
- *
- * When @p secret has been generated by XXH3_generateSecret_fromSeed(),
- * this variant produces *exactly* the same results as `_withSeed()` variant,
- * hence offering only a pure speed benefit on "large" input,
- * by skipping the need to regenerate the secret for every large input.
- *
- * Another usage scenario is to hash the secret to a 64-bit hash value,
- * for example with XXH3_64bits(), which then becomes the seed,
- * and then employ both the seed and the secret in _withSecretandSeed().
- * On top of speed, an added benefit is that each bit in the secret
- * has a 50% chance to swap each bit in the output, via its impact to the seed.
- *
- * This is not guaranteed when using the secret directly in "small data" scenarios,
- * because only portions of the secret are employed for small data.
- */
-XXH_PUBLIC_API XXH_PUREF XXH64_hash_t
-XXH3_64bits_withSecretandSeed(XXH_NOESCAPE const void* data, size_t len,
- XXH_NOESCAPE const void* secret, size_t secretSize,
- XXH64_hash_t seed);
-/*!
- * @brief Calculates 128-bit seeded variant of XXH3 hash of @p data.
- *
- * @param input The block of data to be hashed, at least @p len bytes in size.
- * @param length The length of @p data, in bytes.
- * @param secret The secret data.
- * @param secretSize The length of @p secret, in bytes.
- * @param seed64 The 64-bit seed to alter the hash result predictably.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @see XXH3_64bits_withSecretandSeed()
- */
-XXH_PUBLIC_API XXH_PUREF XXH128_hash_t
-XXH3_128bits_withSecretandSeed(XXH_NOESCAPE const void* input, size_t length,
- XXH_NOESCAPE const void* secret, size_t secretSize,
- XXH64_hash_t seed64);
-#ifndef XXH_NO_STREAM
-/*!
- * @brief Resets an @ref XXH3_state_t with secret data to begin a new hash.
- *
- * @param statePtr A pointer to an @ref XXH3_state_t allocated with @ref XXH3_createState().
- * @param secret The secret data.
- * @param secretSize The length of @p secret, in bytes.
- * @param seed64 The 64-bit seed to alter the hash result predictably.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @see XXH3_64bits_withSecretandSeed()
- */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_64bits_reset_withSecretandSeed(XXH_NOESCAPE XXH3_state_t* statePtr,
- XXH_NOESCAPE const void* secret, size_t secretSize,
- XXH64_hash_t seed64);
-/*!
- * @brief Resets an @ref XXH3_state_t with secret data to begin a new hash.
- *
- * @param statePtr A pointer to an @ref XXH3_state_t allocated with @ref XXH3_createState().
- * @param secret The secret data.
- * @param secretSize The length of @p secret, in bytes.
- * @param seed64 The 64-bit seed to alter the hash result predictably.
- *
- * @return @ref XXH_OK on success.
- * @return @ref XXH_ERROR on failure.
- *
- * @see XXH3_64bits_withSecretandSeed()
- */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_128bits_reset_withSecretandSeed(XXH_NOESCAPE XXH3_state_t* statePtr,
- XXH_NOESCAPE const void* secret, size_t secretSize,
- XXH64_hash_t seed64);
-#endif /* !XXH_NO_STREAM */
-
-#endif /* !XXH_NO_XXH3 */
-#endif /* XXH_NO_LONG_LONG */
-#if defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API)
-# define XXH_IMPLEMENTATION
-#endif
-
-#endif /* defined(XXH_STATIC_LINKING_ONLY) && !defined(XXHASH_H_STATIC_13879238742) */
-
-
-/* ======================================================================== */
-/* ======================================================================== */
-/* ======================================================================== */
-
-
-/*-**********************************************************************
- * xxHash implementation
- *-**********************************************************************
- * xxHash's implementation used to be hosted inside xxhash.c.
- *
- * However, inlining requires implementation to be visible to the compiler,
- * hence be included alongside the header.
- * Previously, implementation was hosted inside xxhash.c,
- * which was then #included when inlining was activated.
- * This construction created issues with a few build and install systems,
- * as it required xxhash.c to be stored in /include directory.
- *
- * xxHash implementation is now directly integrated within xxhash.h.
- * As a consequence, xxhash.c is no longer needed in /include.
- *
- * xxhash.c is still available and is still useful.
- * In a "normal" setup, when xxhash is not inlined,
- * xxhash.h only exposes the prototypes and public symbols,
- * while xxhash.c can be built into an object file xxhash.o
- * which can then be linked into the final binary.
- ************************************************************************/
-
-#if ( defined(XXH_INLINE_ALL) || defined(XXH_PRIVATE_API) \
- || defined(XXH_IMPLEMENTATION) ) && !defined(XXH_IMPLEM_13a8737387)
-# define XXH_IMPLEM_13a8737387
-
-/* *************************************
-* Tuning parameters
-***************************************/
-
-/*!
- * @defgroup tuning Tuning parameters
- * @{
- *
- * Various macros to control xxHash's behavior.
- */
-#ifdef XXH_DOXYGEN
-/*!
- * @brief Define this to disable 64-bit code.
- *
- * Useful if only using the @ref XXH32_family and you have a strict C90 compiler.
- */
-# define XXH_NO_LONG_LONG
-# undef XXH_NO_LONG_LONG /* don't actually */
-/*!
- * @brief Controls how unaligned memory is accessed.
- *
- * By default, access to unaligned memory is controlled by `memcpy()`, which is
- * safe and portable.
- *
- * Unfortunately, on some target/compiler combinations, the generated assembly
- * is sub-optimal.
- *
- * The below switch allow selection of a different access method
- * in the search for improved performance.
- *
- * @par Possible options:
- *
- * - `XXH_FORCE_MEMORY_ACCESS=0` (default): `memcpy`
- * @par
- * Use `memcpy()`. Safe and portable. Note that most modern compilers will
- * eliminate the function call and treat it as an unaligned access.
- *
- * - `XXH_FORCE_MEMORY_ACCESS=1`: `__attribute__((aligned(1)))`
- * @par
- * Depends on compiler extensions and is therefore not portable.
- * This method is safe _if_ your compiler supports it,
- * and *generally* as fast or faster than `memcpy`.
- *
- * - `XXH_FORCE_MEMORY_ACCESS=2`: Direct cast
- * @par
- * Casts directly and dereferences. This method doesn't depend on the
- * compiler, but it violates the C standard as it directly dereferences an
- * unaligned pointer. It can generate buggy code on targets which do not
- * support unaligned memory accesses, but in some circumstances, it's the
- * only known way to get the most performance.
- *
- * - `XXH_FORCE_MEMORY_ACCESS=3`: Byteshift
- * @par
- * Also portable. This can generate the best code on old compilers which don't
- * inline small `memcpy()` calls, and it might also be faster on big-endian
- * systems which lack a native byteswap instruction. However, some compilers
- * will emit literal byteshifts even if the target supports unaligned access.
- *
- *
- * @warning
- * Methods 1 and 2 rely on implementation-defined behavior. Use these with
- * care, as what works on one compiler/platform/optimization level may cause
- * another to read garbage data or even crash.
- *
- * See https://fastcompression.blogspot.com/2015/08/accessing-unaligned-memory.html for details.
- *
- * Prefer these methods in priority order (0 > 3 > 1 > 2)
- */
-# define XXH_FORCE_MEMORY_ACCESS 0
-
-/*!
- * @def XXH_SIZE_OPT
- * @brief Controls how much xxHash optimizes for size.
- *
- * xxHash, when compiled, tends to result in a rather large binary size. This
- * is mostly due to heavy usage to forced inlining and constant folding of the
- * @ref XXH3_family to increase performance.
- *
- * However, some developers prefer size over speed. This option can
- * significantly reduce the size of the generated code. When using the `-Os`
- * or `-Oz` options on GCC or Clang, this is defined to 1 by default,
- * otherwise it is defined to 0.
- *
- * Most of these size optimizations can be controlled manually.
- *
- * This is a number from 0-2.
- * - `XXH_SIZE_OPT` == 0: Default. xxHash makes no size optimizations. Speed
- * comes first.
- * - `XXH_SIZE_OPT` == 1: Default for `-Os` and `-Oz`. xxHash is more
- * conservative and disables hacks that increase code size. It implies the
- * options @ref XXH_NO_INLINE_HINTS == 1, @ref XXH_FORCE_ALIGN_CHECK == 0,
- * and @ref XXH3_NEON_LANES == 8 if they are not already defined.
- * - `XXH_SIZE_OPT` == 2: xxHash tries to make itself as small as possible.
- * Performance may cry. For example, the single shot functions just use the
- * streaming API.
- */
-# define XXH_SIZE_OPT 0
-
-/*!
- * @def XXH_FORCE_ALIGN_CHECK
- * @brief If defined to non-zero, adds a special path for aligned inputs (XXH32()
- * and XXH64() only).
- *
- * This is an important performance trick for architectures without decent
- * unaligned memory access performance.
- *
- * It checks for input alignment, and when conditions are met, uses a "fast
- * path" employing direct 32-bit/64-bit reads, resulting in _dramatically
- * faster_ read speed.
- *
- * The check costs one initial branch per hash, which is generally negligible,
- * but not zero.
- *
- * Moreover, it's not useful to generate an additional code path if memory
- * access uses the same instruction for both aligned and unaligned
- * addresses (e.g. x86 and aarch64).
- *
- * In these cases, the alignment check can be removed by setting this macro to 0.
- * Then the code will always use unaligned memory access.
- * Align check is automatically disabled on x86, x64, ARM64, and some ARM chips
- * which are platforms known to offer good unaligned memory accesses performance.
- *
- * It is also disabled by default when @ref XXH_SIZE_OPT >= 1.
- *
- * This option does not affect XXH3 (only XXH32 and XXH64).
- */
-# define XXH_FORCE_ALIGN_CHECK 0
-
-/*!
- * @def XXH_NO_INLINE_HINTS
- * @brief When non-zero, sets all functions to `static`.
- *
- * By default, xxHash tries to force the compiler to inline almost all internal
- * functions.
- *
- * This can usually improve performance due to reduced jumping and improved
- * constant folding, but significantly increases the size of the binary which
- * might not be favorable.
- *
- * Additionally, sometimes the forced inlining can be detrimental to performance,
- * depending on the architecture.
- *
- * XXH_NO_INLINE_HINTS marks all internal functions as static, giving the
- * compiler full control on whether to inline or not.
- *
- * When not optimizing (-O0), using `-fno-inline` with GCC or Clang, or if
- * @ref XXH_SIZE_OPT >= 1, this will automatically be defined.
- */
-# define XXH_NO_INLINE_HINTS 0
-
-/*!
- * @def XXH3_INLINE_SECRET
- * @brief Determines whether to inline the XXH3 withSecret code.
- *
- * When the secret size is known, the compiler can improve the performance
- * of XXH3_64bits_withSecret() and XXH3_128bits_withSecret().
- *
- * However, if the secret size is not known, it doesn't have any benefit. This
- * happens when xxHash is compiled into a global symbol. Therefore, if
- * @ref XXH_INLINE_ALL is *not* defined, this will be defined to 0.
- *
- * Additionally, this defaults to 0 on GCC 12+, which has an issue with function pointers
- * that are *sometimes* force inline on -Og, and it is impossible to automatically
- * detect this optimization level.
- */
-# define XXH3_INLINE_SECRET 0
-
-/*!
- * @def XXH32_ENDJMP
- * @brief Whether to use a jump for `XXH32_finalize`.
- *
- * For performance, `XXH32_finalize` uses multiple branches in the finalizer.
- * This is generally preferable for performance,
- * but depending on exact architecture, a jmp may be preferable.
- *
- * This setting is only possibly making a difference for very small inputs.
- */
-# define XXH32_ENDJMP 0
-
-/*!
- * @internal
- * @brief Redefines old internal names.
- *
- * For compatibility with code that uses xxHash's internals before the names
- * were changed to improve namespacing. There is no other reason to use this.
- */
-# define XXH_OLD_NAMES
-# undef XXH_OLD_NAMES /* don't actually use, it is ugly. */
-
-/*!
- * @def XXH_NO_STREAM
- * @brief Disables the streaming API.
- *
- * When xxHash is not inlined and the streaming functions are not used, disabling
- * the streaming functions can improve code size significantly, especially with
- * the @ref XXH3_family which tends to make constant folded copies of itself.
- */
-# define XXH_NO_STREAM
-# undef XXH_NO_STREAM /* don't actually */
-#endif /* XXH_DOXYGEN */
-/*!
- * @}
- */
-
-#ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */
- /* prefer __packed__ structures (method 1) for GCC
- * < ARMv7 with unaligned access (e.g. Raspbian armhf) still uses byte shifting, so we use memcpy
- * which for some reason does unaligned loads. */
-# if defined(__GNUC__) && !(defined(__ARM_ARCH) && __ARM_ARCH < 7 && defined(__ARM_FEATURE_UNALIGNED))
-# define XXH_FORCE_MEMORY_ACCESS 1
-# endif
-#endif
-
-#ifndef XXH_SIZE_OPT
- /* default to 1 for -Os or -Oz */
-# if (defined(__GNUC__) || defined(__clang__)) && defined(__OPTIMIZE_SIZE__)
-# define XXH_SIZE_OPT 1
-# else
-# define XXH_SIZE_OPT 0
-# endif
-#endif
-
-#ifndef XXH_FORCE_ALIGN_CHECK /* can be defined externally */
- /* don't check on sizeopt, x86, aarch64, or arm when unaligned access is available */
-# if XXH_SIZE_OPT >= 1 || \
- defined(__i386) || defined(__x86_64__) || defined(__aarch64__) || defined(__ARM_FEATURE_UNALIGNED) \
- || defined(_M_IX86) || defined(_M_X64) || defined(_M_ARM64) || defined(_M_ARM) /* visual */
-# define XXH_FORCE_ALIGN_CHECK 0
-# else
-# define XXH_FORCE_ALIGN_CHECK 1
-# endif
-#endif
-
-#ifndef XXH_NO_INLINE_HINTS
-# if XXH_SIZE_OPT >= 1 || defined(__NO_INLINE__) /* -O0, -fno-inline */
-# define XXH_NO_INLINE_HINTS 1
-# else
-# define XXH_NO_INLINE_HINTS 0
-# endif
-#endif
-
-#ifndef XXH3_INLINE_SECRET
-# if (defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 12) \
- || !defined(XXH_INLINE_ALL)
-# define XXH3_INLINE_SECRET 0
-# else
-# define XXH3_INLINE_SECRET 1
-# endif
-#endif
-
-#ifndef XXH32_ENDJMP
-/* generally preferable for performance */
-# define XXH32_ENDJMP 0
-#endif
-
-/*!
- * @defgroup impl Implementation
- * @{
- */
-
-
-/* *************************************
-* Includes & Memory related functions
-***************************************/
-#if defined(XXH_NO_STREAM)
-/* nothing */
-#elif defined(XXH_NO_STDLIB)
-
-/* When requesting to disable any mention of stdlib,
- * the library loses the ability to invoked malloc / free.
- * In practice, it means that functions like `XXH*_createState()`
- * will always fail, and return NULL.
- * This flag is useful in situations where
- * xxhash.h is integrated into some kernel, embedded or limited environment
- * without access to dynamic allocation.
- */
-
-static XXH_CONSTF void* XXH_malloc(size_t s) { (void)s; return NULL; }
-static void XXH_free(void* p) { (void)p; }
-
-#else
-
-/*
- * Modify the local functions below should you wish to use
- * different memory routines for malloc() and free()
- */
-#include
-
-/*!
- * @internal
- * @brief Modify this function to use a different routine than malloc().
- */
-static XXH_MALLOCF void* XXH_malloc(size_t s) { return malloc(s); }
-
-/*!
- * @internal
- * @brief Modify this function to use a different routine than free().
- */
-static void XXH_free(void* p) { free(p); }
-
-#endif /* XXH_NO_STDLIB */
-
-#include
-
-/*!
- * @internal
- * @brief Modify this function to use a different routine than memcpy().
- */
-static void* XXH_memcpy(void* dest, const void* src, size_t size)
-{
- return memcpy(dest,src,size);
-}
-
-#include /* ULLONG_MAX */
-
-
-/* *************************************
-* Compiler Specific Options
-***************************************/
-#ifdef _MSC_VER /* Visual Studio warning fix */
-# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
-#endif
-
-#if XXH_NO_INLINE_HINTS /* disable inlining hints */
-# if defined(__GNUC__) || defined(__clang__)
-# define XXH_FORCE_INLINE static __attribute__((unused))
-# else
-# define XXH_FORCE_INLINE static
-# endif
-# define XXH_NO_INLINE static
-/* enable inlining hints */
-#elif defined(__GNUC__) || defined(__clang__)
-# define XXH_FORCE_INLINE static __inline__ __attribute__((always_inline, unused))
-# define XXH_NO_INLINE static __attribute__((noinline))
-#elif defined(_MSC_VER) /* Visual Studio */
-# define XXH_FORCE_INLINE static __forceinline
-# define XXH_NO_INLINE static __declspec(noinline)
-#elif defined (__cplusplus) \
- || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) /* C99 */
-# define XXH_FORCE_INLINE static inline
-# define XXH_NO_INLINE static
-#else
-# define XXH_FORCE_INLINE static
-# define XXH_NO_INLINE static
-#endif
-
-#if XXH3_INLINE_SECRET
-# define XXH3_WITH_SECRET_INLINE XXH_FORCE_INLINE
-#else
-# define XXH3_WITH_SECRET_INLINE XXH_NO_INLINE
-#endif
-
-
-/* *************************************
-* Debug
-***************************************/
-/*!
- * @ingroup tuning
- * @def XXH_DEBUGLEVEL
- * @brief Sets the debugging level.
- *
- * XXH_DEBUGLEVEL is expected to be defined externally, typically via the
- * compiler's command line options. The value must be a number.
- */
-#ifndef XXH_DEBUGLEVEL
-# ifdef DEBUGLEVEL /* backwards compat */
-# define XXH_DEBUGLEVEL DEBUGLEVEL
-# else
-# define XXH_DEBUGLEVEL 0
-# endif
-#endif
-
-#if (XXH_DEBUGLEVEL>=1)
-# include /* note: can still be disabled with NDEBUG */
-# define XXH_ASSERT(c) assert(c)
-#else
-# if defined(__INTEL_COMPILER)
-# define XXH_ASSERT(c) XXH_ASSUME((unsigned char) (c))
-# else
-# define XXH_ASSERT(c) XXH_ASSUME(c)
-# endif
-#endif
-
-/* note: use after variable declarations */
-#ifndef XXH_STATIC_ASSERT
-# if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */
-# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { _Static_assert((c),m); } while(0)
-# elif defined(__cplusplus) && (__cplusplus >= 201103L) /* C++11 */
-# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { static_assert((c),m); } while(0)
-# else
-# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { struct xxh_sa { char x[(c) ? 1 : -1]; }; } while(0)
-# endif
-# define XXH_STATIC_ASSERT(c) XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c)
-#endif
-
-/*!
- * @internal
- * @def XXH_COMPILER_GUARD(var)
- * @brief Used to prevent unwanted optimizations for @p var.
- *
- * It uses an empty GCC inline assembly statement with a register constraint
- * which forces @p var into a general purpose register (eg eax, ebx, ecx
- * on x86) and marks it as modified.
- *
- * This is used in a few places to avoid unwanted autovectorization (e.g.
- * XXH32_round()). All vectorization we want is explicit via intrinsics,
- * and _usually_ isn't wanted elsewhere.
- *
- * We also use it to prevent unwanted constant folding for AArch64 in
- * XXH3_initCustomSecret_scalar().
- */
-#if defined(__GNUC__) || defined(__clang__)
-# define XXH_COMPILER_GUARD(var) __asm__("" : "+r" (var))
-#else
-# define XXH_COMPILER_GUARD(var) ((void)0)
-#endif
-
-/* Specifically for NEON vectors which use the "w" constraint, on
- * Clang. */
-#if defined(__clang__) && defined(__ARM_ARCH) && !defined(__wasm__)
-# define XXH_COMPILER_GUARD_CLANG_NEON(var) __asm__("" : "+w" (var))
-#else
-# define XXH_COMPILER_GUARD_CLANG_NEON(var) ((void)0)
-#endif
-
-/* *************************************
-* Basic Types
-***************************************/
-#if !defined (__VMS) \
- && (defined (__cplusplus) \
- || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
-# ifdef _AIX
-# include
-# else
-# include
-# endif
- typedef uint8_t xxh_u8;
-#else
- typedef unsigned char xxh_u8;
-#endif
-typedef XXH32_hash_t xxh_u32;
-
-#ifdef XXH_OLD_NAMES
-# warning "XXH_OLD_NAMES is planned to be removed starting v0.9. If the program depends on it, consider moving away from it by employing newer type names directly"
-# define BYTE xxh_u8
-# define U8 xxh_u8
-# define U32 xxh_u32
-#endif
-
-/* *** Memory access *** */
-
-/*!
- * @internal
- * @fn xxh_u32 XXH_read32(const void* ptr)
- * @brief Reads an unaligned 32-bit integer from @p ptr in native endianness.
- *
- * Affected by @ref XXH_FORCE_MEMORY_ACCESS.
- *
- * @param ptr The pointer to read from.
- * @return The 32-bit native endian integer from the bytes at @p ptr.
- */
-
-/*!
- * @internal
- * @fn xxh_u32 XXH_readLE32(const void* ptr)
- * @brief Reads an unaligned 32-bit little endian integer from @p ptr.
- *
- * Affected by @ref XXH_FORCE_MEMORY_ACCESS.
- *
- * @param ptr The pointer to read from.
- * @return The 32-bit little endian integer from the bytes at @p ptr.
- */
-
-/*!
- * @internal
- * @fn xxh_u32 XXH_readBE32(const void* ptr)
- * @brief Reads an unaligned 32-bit big endian integer from @p ptr.
- *
- * Affected by @ref XXH_FORCE_MEMORY_ACCESS.
- *
- * @param ptr The pointer to read from.
- * @return The 32-bit big endian integer from the bytes at @p ptr.
- */
-
-/*!
- * @internal
- * @fn xxh_u32 XXH_readLE32_align(const void* ptr, XXH_alignment align)
- * @brief Like @ref XXH_readLE32(), but has an option for aligned reads.
- *
- * Affected by @ref XXH_FORCE_MEMORY_ACCESS.
- * Note that when @ref XXH_FORCE_ALIGN_CHECK == 0, the @p align parameter is
- * always @ref XXH_alignment::XXH_unaligned.
- *
- * @param ptr The pointer to read from.
- * @param align Whether @p ptr is aligned.
- * @pre
- * If @p align == @ref XXH_alignment::XXH_aligned, @p ptr must be 4 byte
- * aligned.
- * @return The 32-bit little endian integer from the bytes at @p ptr.
- */
-
-#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3))
-/*
- * Manual byteshift. Best for old compilers which don't inline memcpy.
- * We actually directly use XXH_readLE32 and XXH_readBE32.
- */
-#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==2))
-
-/*
- * Force direct memory access. Only works on CPU which support unaligned memory
- * access in hardware.
- */
-static xxh_u32 XXH_read32(const void* memPtr) { return *(const xxh_u32*) memPtr; }
-
-#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==1))
-
-/*
- * __attribute__((aligned(1))) is supported by gcc and clang. Originally the
- * documentation claimed that it only increased the alignment, but actually it
- * can decrease it on gcc, clang, and icc:
- * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69502,
- * https://gcc.godbolt.org/z/xYez1j67Y.
- */
-#ifdef XXH_OLD_NAMES
-typedef union { xxh_u32 u32; } __attribute__((packed)) unalign;
-#endif
-static xxh_u32 XXH_read32(const void* ptr)
-{
- typedef __attribute__((aligned(1))) xxh_u32 xxh_unalign32;
- return *((const xxh_unalign32*)ptr);
-}
-
-#else
-
-/*
- * Portable and safe solution. Generally efficient.
- * see: https://fastcompression.blogspot.com/2015/08/accessing-unaligned-memory.html
- */
-static xxh_u32 XXH_read32(const void* memPtr)
-{
- xxh_u32 val;
- XXH_memcpy(&val, memPtr, sizeof(val));
- return val;
-}
-
-#endif /* XXH_FORCE_DIRECT_MEMORY_ACCESS */
-
-
-/* *** Endianness *** */
-
-/*!
- * @ingroup tuning
- * @def XXH_CPU_LITTLE_ENDIAN
- * @brief Whether the target is little endian.
- *
- * Defined to 1 if the target is little endian, or 0 if it is big endian.
- * It can be defined externally, for example on the compiler command line.
- *
- * If it is not defined,
- * a runtime check (which is usually constant folded) is used instead.
- *
- * @note
- * This is not necessarily defined to an integer constant.
- *
- * @see XXH_isLittleEndian() for the runtime check.
- */
-#ifndef XXH_CPU_LITTLE_ENDIAN
-/*
- * Try to detect endianness automatically, to avoid the nonstandard behavior
- * in `XXH_isLittleEndian()`
- */
-# if defined(_WIN32) /* Windows is always little endian */ \
- || defined(__LITTLE_ENDIAN__) \
- || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
-# define XXH_CPU_LITTLE_ENDIAN 1
-# elif defined(__BIG_ENDIAN__) \
- || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
-# define XXH_CPU_LITTLE_ENDIAN 0
-# else
-/*!
- * @internal
- * @brief Runtime check for @ref XXH_CPU_LITTLE_ENDIAN.
- *
- * Most compilers will constant fold this.
- */
-static int XXH_isLittleEndian(void)
-{
- /*
- * Portable and well-defined behavior.
- * Don't use static: it is detrimental to performance.
- */
- const union { xxh_u32 u; xxh_u8 c[4]; } one = { 1 };
- return one.c[0];
-}
-# define XXH_CPU_LITTLE_ENDIAN XXH_isLittleEndian()
-# endif
-#endif
-
-
-
-
-/* ****************************************
-* Compiler-specific Functions and Macros
-******************************************/
-#define XXH_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
-
-#ifdef __has_builtin
-# define XXH_HAS_BUILTIN(x) __has_builtin(x)
-#else
-# define XXH_HAS_BUILTIN(x) 0
-#endif
-
-
-
-/*
- * C23 and future versions have standard "unreachable()".
- * Once it has been implemented reliably we can add it as an
- * additional case:
- *
- * ```
- * #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= XXH_C23_VN)
- * # include
- * # ifdef unreachable
- * # define XXH_UNREACHABLE() unreachable()
- * # endif
- * #endif
- * ```
- *
- * Note C++23 also has std::unreachable() which can be detected
- * as follows:
- * ```
- * #if defined(__cpp_lib_unreachable) && (__cpp_lib_unreachable >= 202202L)
- * # include
- * # define XXH_UNREACHABLE() std::unreachable()
- * #endif
- * ```
- * NB: `__cpp_lib_unreachable` is defined in the `` header.
- * We don't use that as including `` in `extern "C"` blocks
- * doesn't work on GCC12
- */
-
-#if XXH_HAS_BUILTIN(__builtin_unreachable)
-# define XXH_UNREACHABLE() __builtin_unreachable()
-
-#elif defined(_MSC_VER)
-# define XXH_UNREACHABLE() __assume(0)
-
-#else
-# define XXH_UNREACHABLE()
-#endif
-
-#if XXH_HAS_BUILTIN(__builtin_assume)
-# define XXH_ASSUME(c) __builtin_assume(c)
-#else
-# define XXH_ASSUME(c) if (!(c)) { XXH_UNREACHABLE(); }
-#endif
-
-/*!
- * @internal
- * @def XXH_rotl32(x,r)
- * @brief 32-bit rotate left.
- *
- * @param x The 32-bit integer to be rotated.
- * @param r The number of bits to rotate.
- * @pre
- * @p r > 0 && @p r < 32
- * @note
- * @p x and @p r may be evaluated multiple times.
- * @return The rotated result.
- */
-#if !defined(NO_CLANG_BUILTIN) && XXH_HAS_BUILTIN(__builtin_rotateleft32) \
- && XXH_HAS_BUILTIN(__builtin_rotateleft64)
-# define XXH_rotl32 __builtin_rotateleft32
-# define XXH_rotl64 __builtin_rotateleft64
-/* Note: although _rotl exists for minGW (GCC under windows), performance seems poor */
-#elif defined(_MSC_VER)
-# define XXH_rotl32(x,r) _rotl(x,r)
-# define XXH_rotl64(x,r) _rotl64(x,r)
-#else
-# define XXH_rotl32(x,r) (((x) << (r)) | ((x) >> (32 - (r))))
-# define XXH_rotl64(x,r) (((x) << (r)) | ((x) >> (64 - (r))))
-#endif
-
-/*!
- * @internal
- * @fn xxh_u32 XXH_swap32(xxh_u32 x)
- * @brief A 32-bit byteswap.
- *
- * @param x The 32-bit integer to byteswap.
- * @return @p x, byteswapped.
- */
-#if defined(_MSC_VER) /* Visual Studio */
-# define XXH_swap32 _byteswap_ulong
-#elif XXH_GCC_VERSION >= 403
-# define XXH_swap32 __builtin_bswap32
-#else
-static xxh_u32 XXH_swap32 (xxh_u32 x)
-{
- return ((x << 24) & 0xff000000 ) |
- ((x << 8) & 0x00ff0000 ) |
- ((x >> 8) & 0x0000ff00 ) |
- ((x >> 24) & 0x000000ff );
-}
-#endif
-
-
-/* ***************************
-* Memory reads
-*****************************/
-
-/*!
- * @internal
- * @brief Enum to indicate whether a pointer is aligned.
- */
-typedef enum {
- XXH_aligned, /*!< Aligned */
- XXH_unaligned /*!< Possibly unaligned */
-} XXH_alignment;
-
-/*
- * XXH_FORCE_MEMORY_ACCESS==3 is an endian-independent byteshift load.
- *
- * This is ideal for older compilers which don't inline memcpy.
- */
-#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3))
-
-XXH_FORCE_INLINE xxh_u32 XXH_readLE32(const void* memPtr)
-{
- const xxh_u8* bytePtr = (const xxh_u8 *)memPtr;
- return bytePtr[0]
- | ((xxh_u32)bytePtr[1] << 8)
- | ((xxh_u32)bytePtr[2] << 16)
- | ((xxh_u32)bytePtr[3] << 24);
-}
-
-XXH_FORCE_INLINE xxh_u32 XXH_readBE32(const void* memPtr)
-{
- const xxh_u8* bytePtr = (const xxh_u8 *)memPtr;
- return bytePtr[3]
- | ((xxh_u32)bytePtr[2] << 8)
- | ((xxh_u32)bytePtr[1] << 16)
- | ((xxh_u32)bytePtr[0] << 24);
-}
-
-#else
-XXH_FORCE_INLINE xxh_u32 XXH_readLE32(const void* ptr)
-{
- return XXH_CPU_LITTLE_ENDIAN ? XXH_read32(ptr) : XXH_swap32(XXH_read32(ptr));
-}
-
-static xxh_u32 XXH_readBE32(const void* ptr)
-{
- return XXH_CPU_LITTLE_ENDIAN ? XXH_swap32(XXH_read32(ptr)) : XXH_read32(ptr);
-}
-#endif
-
-XXH_FORCE_INLINE xxh_u32
-XXH_readLE32_align(const void* ptr, XXH_alignment align)
-{
- if (align==XXH_unaligned) {
- return XXH_readLE32(ptr);
- } else {
- return XXH_CPU_LITTLE_ENDIAN ? *(const xxh_u32*)ptr : XXH_swap32(*(const xxh_u32*)ptr);
- }
-}
-
-
-/* *************************************
-* Misc
-***************************************/
-/*! @ingroup public */
-XXH_PUBLIC_API unsigned XXH_versionNumber (void) { return XXH_VERSION_NUMBER; }
-
-
-/* *******************************************************************
-* 32-bit hash functions
-*********************************************************************/
-/*!
- * @}
- * @defgroup XXH32_impl XXH32 implementation
- * @ingroup impl
- *
- * Details on the XXH32 implementation.
- * @{
- */
- /* #define instead of static const, to be used as initializers */
-#define XXH_PRIME32_1 0x9E3779B1U /*!< 0b10011110001101110111100110110001 */
-#define XXH_PRIME32_2 0x85EBCA77U /*!< 0b10000101111010111100101001110111 */
-#define XXH_PRIME32_3 0xC2B2AE3DU /*!< 0b11000010101100101010111000111101 */
-#define XXH_PRIME32_4 0x27D4EB2FU /*!< 0b00100111110101001110101100101111 */
-#define XXH_PRIME32_5 0x165667B1U /*!< 0b00010110010101100110011110110001 */
-
-#ifdef XXH_OLD_NAMES
-# define PRIME32_1 XXH_PRIME32_1
-# define PRIME32_2 XXH_PRIME32_2
-# define PRIME32_3 XXH_PRIME32_3
-# define PRIME32_4 XXH_PRIME32_4
-# define PRIME32_5 XXH_PRIME32_5
-#endif
-
-/*!
- * @internal
- * @brief Normal stripe processing routine.
- *
- * This shuffles the bits so that any bit from @p input impacts several bits in
- * @p acc.
- *
- * @param acc The accumulator lane.
- * @param input The stripe of input to mix.
- * @return The mixed accumulator lane.
- */
-static xxh_u32 XXH32_round(xxh_u32 acc, xxh_u32 input)
-{
- acc += input * XXH_PRIME32_2;
- acc = XXH_rotl32(acc, 13);
- acc *= XXH_PRIME32_1;
-#if (defined(__SSE4_1__) || defined(__aarch64__) || defined(__wasm_simd128__)) && !defined(XXH_ENABLE_AUTOVECTORIZE)
- /*
- * UGLY HACK:
- * A compiler fence is the only thing that prevents GCC and Clang from
- * autovectorizing the XXH32 loop (pragmas and attributes don't work for some
- * reason) without globally disabling SSE4.1.
- *
- * The reason we want to avoid vectorization is because despite working on
- * 4 integers at a time, there are multiple factors slowing XXH32 down on
- * SSE4:
- * - There's a ridiculous amount of lag from pmulld (10 cycles of latency on
- * newer chips!) making it slightly slower to multiply four integers at
- * once compared to four integers independently. Even when pmulld was
- * fastest, Sandy/Ivy Bridge, it is still not worth it to go into SSE
- * just to multiply unless doing a long operation.
- *
- * - Four instructions are required to rotate,
- * movqda tmp, v // not required with VEX encoding
- * pslld tmp, 13 // tmp <<= 13
- * psrld v, 19 // x >>= 19
- * por v, tmp // x |= tmp
- * compared to one for scalar:
- * roll v, 13 // reliably fast across the board
- * shldl v, v, 13 // Sandy Bridge and later prefer this for some reason
- *
- * - Instruction level parallelism is actually more beneficial here because
- * the SIMD actually serializes this operation: While v1 is rotating, v2
- * can load data, while v3 can multiply. SSE forces them to operate
- * together.
- *
- * This is also enabled on AArch64, as Clang is *very aggressive* in vectorizing
- * the loop. NEON is only faster on the A53, and with the newer cores, it is less
- * than half the speed.
- *
- * Additionally, this is used on WASM SIMD128 because it JITs to the same
- * SIMD instructions and has the same issue.
- */
- XXH_COMPILER_GUARD(acc);
-#endif
- return acc;
-}
-
-/*!
- * @internal
- * @brief Mixes all bits to finalize the hash.
- *
- * The final mix ensures that all input bits have a chance to impact any bit in
- * the output digest, resulting in an unbiased distribution.
- *
- * @param hash The hash to avalanche.
- * @return The avalanched hash.
- */
-static xxh_u32 XXH32_avalanche(xxh_u32 hash)
-{
- hash ^= hash >> 15;
- hash *= XXH_PRIME32_2;
- hash ^= hash >> 13;
- hash *= XXH_PRIME32_3;
- hash ^= hash >> 16;
- return hash;
-}
-
-#define XXH_get32bits(p) XXH_readLE32_align(p, align)
-
-/*!
- * @internal
- * @brief Processes the last 0-15 bytes of @p ptr.
- *
- * There may be up to 15 bytes remaining to consume from the input.
- * This final stage will digest them to ensure that all input bytes are present
- * in the final mix.
- *
- * @param hash The hash to finalize.
- * @param ptr The pointer to the remaining input.
- * @param len The remaining length, modulo 16.
- * @param align Whether @p ptr is aligned.
- * @return The finalized hash.
- * @see XXH64_finalize().
- */
-static XXH_PUREF xxh_u32
-XXH32_finalize(xxh_u32 hash, const xxh_u8* ptr, size_t len, XXH_alignment align)
-{
-#define XXH_PROCESS1 do { \
- hash += (*ptr++) * XXH_PRIME32_5; \
- hash = XXH_rotl32(hash, 11) * XXH_PRIME32_1; \
-} while (0)
-
-#define XXH_PROCESS4 do { \
- hash += XXH_get32bits(ptr) * XXH_PRIME32_3; \
- ptr += 4; \
- hash = XXH_rotl32(hash, 17) * XXH_PRIME32_4; \
-} while (0)
-
- if (ptr==NULL) XXH_ASSERT(len == 0);
-
- /* Compact rerolled version; generally faster */
- if (!XXH32_ENDJMP) {
- len &= 15;
- while (len >= 4) {
- XXH_PROCESS4;
- len -= 4;
- }
- while (len > 0) {
- XXH_PROCESS1;
- --len;
- }
- return XXH32_avalanche(hash);
- } else {
- switch(len&15) /* or switch(bEnd - p) */ {
- case 12: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 8: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 4: XXH_PROCESS4;
- return XXH32_avalanche(hash);
-
- case 13: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 9: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 5: XXH_PROCESS4;
- XXH_PROCESS1;
- return XXH32_avalanche(hash);
-
- case 14: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 10: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 6: XXH_PROCESS4;
- XXH_PROCESS1;
- XXH_PROCESS1;
- return XXH32_avalanche(hash);
-
- case 15: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 11: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 7: XXH_PROCESS4;
- XXH_FALLTHROUGH; /* fallthrough */
- case 3: XXH_PROCESS1;
- XXH_FALLTHROUGH; /* fallthrough */
- case 2: XXH_PROCESS1;
- XXH_FALLTHROUGH; /* fallthrough */
- case 1: XXH_PROCESS1;
- XXH_FALLTHROUGH; /* fallthrough */
- case 0: return XXH32_avalanche(hash);
- }
- XXH_ASSERT(0);
- return hash; /* reaching this point is deemed impossible */
- }
-}
-
-#ifdef XXH_OLD_NAMES
-# define PROCESS1 XXH_PROCESS1
-# define PROCESS4 XXH_PROCESS4
-#else
-# undef XXH_PROCESS1
-# undef XXH_PROCESS4
-#endif
-
-/*!
- * @internal
- * @brief The implementation for @ref XXH32().
- *
- * @param input , len , seed Directly passed from @ref XXH32().
- * @param align Whether @p input is aligned.
- * @return The calculated hash.
- */
-XXH_FORCE_INLINE XXH_PUREF xxh_u32
-XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align)
-{
- xxh_u32 h32;
-
- if (input==NULL) XXH_ASSERT(len == 0);
-
- if (len>=16) {
- const xxh_u8* const bEnd = input + len;
- const xxh_u8* const limit = bEnd - 15;
- xxh_u32 v1 = seed + XXH_PRIME32_1 + XXH_PRIME32_2;
- xxh_u32 v2 = seed + XXH_PRIME32_2;
- xxh_u32 v3 = seed + 0;
- xxh_u32 v4 = seed - XXH_PRIME32_1;
-
- do {
- v1 = XXH32_round(v1, XXH_get32bits(input)); input += 4;
- v2 = XXH32_round(v2, XXH_get32bits(input)); input += 4;
- v3 = XXH32_round(v3, XXH_get32bits(input)); input += 4;
- v4 = XXH32_round(v4, XXH_get32bits(input)); input += 4;
- } while (input < limit);
-
- h32 = XXH_rotl32(v1, 1) + XXH_rotl32(v2, 7)
- + XXH_rotl32(v3, 12) + XXH_rotl32(v4, 18);
- } else {
- h32 = seed + XXH_PRIME32_5;
- }
-
- h32 += (xxh_u32)len;
-
- return XXH32_finalize(h32, input, len&15, align);
-}
-
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t len, XXH32_hash_t seed)
-{
-#if !defined(XXH_NO_STREAM) && XXH_SIZE_OPT >= 2
- /* Simple version, good for code maintenance, but unfortunately slow for small inputs */
- XXH32_state_t state;
- XXH32_reset(&state, seed);
- XXH32_update(&state, (const xxh_u8*)input, len);
- return XXH32_digest(&state);
-#else
- if (XXH_FORCE_ALIGN_CHECK) {
- if ((((size_t)input) & 3) == 0) { /* Input is 4-bytes aligned, leverage the speed benefit */
- return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_aligned);
- } }
-
- return XXH32_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned);
-#endif
-}
-
-
-
-/******* Hash streaming *******/
-#ifndef XXH_NO_STREAM
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API XXH32_state_t* XXH32_createState(void)
-{
- return (XXH32_state_t*)XXH_malloc(sizeof(XXH32_state_t));
-}
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr)
-{
- XXH_free(statePtr);
- return XXH_OK;
-}
-
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API void XXH32_copyState(XXH32_state_t* dstState, const XXH32_state_t* srcState)
-{
- XXH_memcpy(dstState, srcState, sizeof(*dstState));
-}
-
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API XXH_errorcode XXH32_reset(XXH32_state_t* statePtr, XXH32_hash_t seed)
-{
- XXH_ASSERT(statePtr != NULL);
- memset(statePtr, 0, sizeof(*statePtr));
- statePtr->v[0] = seed + XXH_PRIME32_1 + XXH_PRIME32_2;
- statePtr->v[1] = seed + XXH_PRIME32_2;
- statePtr->v[2] = seed + 0;
- statePtr->v[3] = seed - XXH_PRIME32_1;
- return XXH_OK;
-}
-
-
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH32_update(XXH32_state_t* state, const void* input, size_t len)
-{
- if (input==NULL) {
- XXH_ASSERT(len == 0);
- return XXH_OK;
- }
-
- { const xxh_u8* p = (const xxh_u8*)input;
- const xxh_u8* const bEnd = p + len;
-
- state->total_len_32 += (XXH32_hash_t)len;
- state->large_len |= (XXH32_hash_t)((len>=16) | (state->total_len_32>=16));
-
- if (state->memsize + len < 16) { /* fill in tmp buffer */
- XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, len);
- state->memsize += (XXH32_hash_t)len;
- return XXH_OK;
- }
-
- if (state->memsize) { /* some data left from previous update */
- XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, 16-state->memsize);
- { const xxh_u32* p32 = state->mem32;
- state->v[0] = XXH32_round(state->v[0], XXH_readLE32(p32)); p32++;
- state->v[1] = XXH32_round(state->v[1], XXH_readLE32(p32)); p32++;
- state->v[2] = XXH32_round(state->v[2], XXH_readLE32(p32)); p32++;
- state->v[3] = XXH32_round(state->v[3], XXH_readLE32(p32));
- }
- p += 16-state->memsize;
- state->memsize = 0;
- }
-
- if (p <= bEnd-16) {
- const xxh_u8* const limit = bEnd - 16;
-
- do {
- state->v[0] = XXH32_round(state->v[0], XXH_readLE32(p)); p+=4;
- state->v[1] = XXH32_round(state->v[1], XXH_readLE32(p)); p+=4;
- state->v[2] = XXH32_round(state->v[2], XXH_readLE32(p)); p+=4;
- state->v[3] = XXH32_round(state->v[3], XXH_readLE32(p)); p+=4;
- } while (p<=limit);
-
- }
-
- if (p < bEnd) {
- XXH_memcpy(state->mem32, p, (size_t)(bEnd-p));
- state->memsize = (unsigned)(bEnd-p);
- }
- }
-
- return XXH_OK;
-}
-
-
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API XXH32_hash_t XXH32_digest(const XXH32_state_t* state)
-{
- xxh_u32 h32;
-
- if (state->large_len) {
- h32 = XXH_rotl32(state->v[0], 1)
- + XXH_rotl32(state->v[1], 7)
- + XXH_rotl32(state->v[2], 12)
- + XXH_rotl32(state->v[3], 18);
- } else {
- h32 = state->v[2] /* == seed */ + XXH_PRIME32_5;
- }
-
- h32 += state->total_len_32;
-
- return XXH32_finalize(h32, (const xxh_u8*)state->mem32, state->memsize, XXH_aligned);
-}
-#endif /* !XXH_NO_STREAM */
-
-/******* Canonical representation *******/
-
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API void XXH32_canonicalFromHash(XXH32_canonical_t* dst, XXH32_hash_t hash)
-{
- XXH_STATIC_ASSERT(sizeof(XXH32_canonical_t) == sizeof(XXH32_hash_t));
- if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap32(hash);
- XXH_memcpy(dst, &hash, sizeof(*dst));
-}
-/*! @ingroup XXH32_family */
-XXH_PUBLIC_API XXH32_hash_t XXH32_hashFromCanonical(const XXH32_canonical_t* src)
-{
- return XXH_readBE32(src);
-}
-
-
-#ifndef XXH_NO_LONG_LONG
-
-/* *******************************************************************
-* 64-bit hash functions
-*********************************************************************/
-/*!
- * @}
- * @ingroup impl
- * @{
- */
-/******* Memory access *******/
-
-typedef XXH64_hash_t xxh_u64;
-
-#ifdef XXH_OLD_NAMES
-# define U64 xxh_u64
-#endif
-
-#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3))
-/*
- * Manual byteshift. Best for old compilers which don't inline memcpy.
- * We actually directly use XXH_readLE64 and XXH_readBE64.
- */
-#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==2))
-
-/* Force direct memory access. Only works on CPU which support unaligned memory access in hardware */
-static xxh_u64 XXH_read64(const void* memPtr)
-{
- return *(const xxh_u64*) memPtr;
-}
-
-#elif (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==1))
-
-/*
- * __attribute__((aligned(1))) is supported by gcc and clang. Originally the
- * documentation claimed that it only increased the alignment, but actually it
- * can decrease it on gcc, clang, and icc:
- * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69502,
- * https://gcc.godbolt.org/z/xYez1j67Y.
- */
-#ifdef XXH_OLD_NAMES
-typedef union { xxh_u32 u32; xxh_u64 u64; } __attribute__((packed)) unalign64;
-#endif
-static xxh_u64 XXH_read64(const void* ptr)
-{
- typedef __attribute__((aligned(1))) xxh_u64 xxh_unalign64;
- return *((const xxh_unalign64*)ptr);
-}
-
-#else
-
-/*
- * Portable and safe solution. Generally efficient.
- * see: https://fastcompression.blogspot.com/2015/08/accessing-unaligned-memory.html
- */
-static xxh_u64 XXH_read64(const void* memPtr)
-{
- xxh_u64 val;
- XXH_memcpy(&val, memPtr, sizeof(val));
- return val;
-}
-
-#endif /* XXH_FORCE_DIRECT_MEMORY_ACCESS */
-
-#if defined(_MSC_VER) /* Visual Studio */
-# define XXH_swap64 _byteswap_uint64
-#elif XXH_GCC_VERSION >= 403
-# define XXH_swap64 __builtin_bswap64
-#else
-static xxh_u64 XXH_swap64(xxh_u64 x)
-{
- return ((x << 56) & 0xff00000000000000ULL) |
- ((x << 40) & 0x00ff000000000000ULL) |
- ((x << 24) & 0x0000ff0000000000ULL) |
- ((x << 8) & 0x000000ff00000000ULL) |
- ((x >> 8) & 0x00000000ff000000ULL) |
- ((x >> 24) & 0x0000000000ff0000ULL) |
- ((x >> 40) & 0x000000000000ff00ULL) |
- ((x >> 56) & 0x00000000000000ffULL);
-}
-#endif
-
-
-/* XXH_FORCE_MEMORY_ACCESS==3 is an endian-independent byteshift load. */
-#if (defined(XXH_FORCE_MEMORY_ACCESS) && (XXH_FORCE_MEMORY_ACCESS==3))
-
-XXH_FORCE_INLINE xxh_u64 XXH_readLE64(const void* memPtr)
-{
- const xxh_u8* bytePtr = (const xxh_u8 *)memPtr;
- return bytePtr[0]
- | ((xxh_u64)bytePtr[1] << 8)
- | ((xxh_u64)bytePtr[2] << 16)
- | ((xxh_u64)bytePtr[3] << 24)
- | ((xxh_u64)bytePtr[4] << 32)
- | ((xxh_u64)bytePtr[5] << 40)
- | ((xxh_u64)bytePtr[6] << 48)
- | ((xxh_u64)bytePtr[7] << 56);
-}
-
-XXH_FORCE_INLINE xxh_u64 XXH_readBE64(const void* memPtr)
-{
- const xxh_u8* bytePtr = (const xxh_u8 *)memPtr;
- return bytePtr[7]
- | ((xxh_u64)bytePtr[6] << 8)
- | ((xxh_u64)bytePtr[5] << 16)
- | ((xxh_u64)bytePtr[4] << 24)
- | ((xxh_u64)bytePtr[3] << 32)
- | ((xxh_u64)bytePtr[2] << 40)
- | ((xxh_u64)bytePtr[1] << 48)
- | ((xxh_u64)bytePtr[0] << 56);
-}
-
-#else
-XXH_FORCE_INLINE xxh_u64 XXH_readLE64(const void* ptr)
-{
- return XXH_CPU_LITTLE_ENDIAN ? XXH_read64(ptr) : XXH_swap64(XXH_read64(ptr));
-}
-
-static xxh_u64 XXH_readBE64(const void* ptr)
-{
- return XXH_CPU_LITTLE_ENDIAN ? XXH_swap64(XXH_read64(ptr)) : XXH_read64(ptr);
-}
-#endif
-
-XXH_FORCE_INLINE xxh_u64
-XXH_readLE64_align(const void* ptr, XXH_alignment align)
-{
- if (align==XXH_unaligned)
- return XXH_readLE64(ptr);
- else
- return XXH_CPU_LITTLE_ENDIAN ? *(const xxh_u64*)ptr : XXH_swap64(*(const xxh_u64*)ptr);
-}
-
-
-/******* xxh64 *******/
-/*!
- * @}
- * @defgroup XXH64_impl XXH64 implementation
- * @ingroup impl
- *
- * Details on the XXH64 implementation.
- * @{
- */
-/* #define rather that static const, to be used as initializers */
-#define XXH_PRIME64_1 0x9E3779B185EBCA87ULL /*!< 0b1001111000110111011110011011000110000101111010111100101010000111 */
-#define XXH_PRIME64_2 0xC2B2AE3D27D4EB4FULL /*!< 0b1100001010110010101011100011110100100111110101001110101101001111 */
-#define XXH_PRIME64_3 0x165667B19E3779F9ULL /*!< 0b0001011001010110011001111011000110011110001101110111100111111001 */
-#define XXH_PRIME64_4 0x85EBCA77C2B2AE63ULL /*!< 0b1000010111101011110010100111011111000010101100101010111001100011 */
-#define XXH_PRIME64_5 0x27D4EB2F165667C5ULL /*!< 0b0010011111010100111010110010111100010110010101100110011111000101 */
-
-#ifdef XXH_OLD_NAMES
-# define PRIME64_1 XXH_PRIME64_1
-# define PRIME64_2 XXH_PRIME64_2
-# define PRIME64_3 XXH_PRIME64_3
-# define PRIME64_4 XXH_PRIME64_4
-# define PRIME64_5 XXH_PRIME64_5
-#endif
-
-/*! @copydoc XXH32_round */
-static xxh_u64 XXH64_round(xxh_u64 acc, xxh_u64 input)
-{
- acc += input * XXH_PRIME64_2;
- acc = XXH_rotl64(acc, 31);
- acc *= XXH_PRIME64_1;
-#if (defined(__AVX512F__)) && !defined(XXH_ENABLE_AUTOVECTORIZE)
- /*
- * DISABLE AUTOVECTORIZATION:
- * A compiler fence is used to prevent GCC and Clang from
- * autovectorizing the XXH64 loop (pragmas and attributes don't work for some
- * reason) without globally disabling AVX512.
- *
- * Autovectorization of XXH64 tends to be detrimental,
- * though the exact outcome may change depending on exact cpu and compiler version.
- * For information, it has been reported as detrimental for Skylake-X,
- * but possibly beneficial for Zen4.
- *
- * The default is to disable auto-vectorization,
- * but you can select to enable it instead using `XXH_ENABLE_AUTOVECTORIZE` build variable.
- */
- XXH_COMPILER_GUARD(acc);
-#endif
- return acc;
-}
-
-static xxh_u64 XXH64_mergeRound(xxh_u64 acc, xxh_u64 val)
-{
- val = XXH64_round(0, val);
- acc ^= val;
- acc = acc * XXH_PRIME64_1 + XXH_PRIME64_4;
- return acc;
-}
-
-/*! @copydoc XXH32_avalanche */
-static xxh_u64 XXH64_avalanche(xxh_u64 hash)
-{
- hash ^= hash >> 33;
- hash *= XXH_PRIME64_2;
- hash ^= hash >> 29;
- hash *= XXH_PRIME64_3;
- hash ^= hash >> 32;
- return hash;
-}
-
-
-#define XXH_get64bits(p) XXH_readLE64_align(p, align)
-
-/*!
- * @internal
- * @brief Processes the last 0-31 bytes of @p ptr.
- *
- * There may be up to 31 bytes remaining to consume from the input.
- * This final stage will digest them to ensure that all input bytes are present
- * in the final mix.
- *
- * @param hash The hash to finalize.
- * @param ptr The pointer to the remaining input.
- * @param len The remaining length, modulo 32.
- * @param align Whether @p ptr is aligned.
- * @return The finalized hash
- * @see XXH32_finalize().
- */
-static XXH_PUREF xxh_u64
-XXH64_finalize(xxh_u64 hash, const xxh_u8* ptr, size_t len, XXH_alignment align)
-{
- if (ptr==NULL) XXH_ASSERT(len == 0);
- len &= 31;
- while (len >= 8) {
- xxh_u64 const k1 = XXH64_round(0, XXH_get64bits(ptr));
- ptr += 8;
- hash ^= k1;
- hash = XXH_rotl64(hash,27) * XXH_PRIME64_1 + XXH_PRIME64_4;
- len -= 8;
- }
- if (len >= 4) {
- hash ^= (xxh_u64)(XXH_get32bits(ptr)) * XXH_PRIME64_1;
- ptr += 4;
- hash = XXH_rotl64(hash, 23) * XXH_PRIME64_2 + XXH_PRIME64_3;
- // coverity[overflow_const]
- len -= 4;
- }
- while (len > 0) {
- hash ^= (*ptr++) * XXH_PRIME64_5;
- hash = XXH_rotl64(hash, 11) * XXH_PRIME64_1;
- --len;
- }
- return XXH64_avalanche(hash);
-}
-
-#ifdef XXH_OLD_NAMES
-# define PROCESS1_64 XXH_PROCESS1_64
-# define PROCESS4_64 XXH_PROCESS4_64
-# define PROCESS8_64 XXH_PROCESS8_64
-#else
-# undef XXH_PROCESS1_64
-# undef XXH_PROCESS4_64
-# undef XXH_PROCESS8_64
-#endif
-
-/*!
- * @internal
- * @brief The implementation for @ref XXH64().
- *
- * @param input , len , seed Directly passed from @ref XXH64().
- * @param align Whether @p input is aligned.
- * @return The calculated hash.
- */
-XXH_FORCE_INLINE XXH_PUREF xxh_u64
-XXH64_endian_align(const xxh_u8* input, size_t len, xxh_u64 seed, XXH_alignment align)
-{
- xxh_u64 h64;
- if (input==NULL) XXH_ASSERT(len == 0);
-
- if (len>=32) {
- const xxh_u8* const bEnd = input + len;
- const xxh_u8* const limit = bEnd - 31;
- xxh_u64 v1 = seed + XXH_PRIME64_1 + XXH_PRIME64_2;
- xxh_u64 v2 = seed + XXH_PRIME64_2;
- xxh_u64 v3 = seed + 0;
- xxh_u64 v4 = seed - XXH_PRIME64_1;
-
- do {
- v1 = XXH64_round(v1, XXH_get64bits(input)); input+=8;
- v2 = XXH64_round(v2, XXH_get64bits(input)); input+=8;
- v3 = XXH64_round(v3, XXH_get64bits(input)); input+=8;
- v4 = XXH64_round(v4, XXH_get64bits(input)); input+=8;
- } while (input= 2
- /* Simple version, good for code maintenance, but unfortunately slow for small inputs */
- XXH64_state_t state;
- XXH64_reset(&state, seed);
- XXH64_update(&state, (const xxh_u8*)input, len);
- return XXH64_digest(&state);
-#else
- if (XXH_FORCE_ALIGN_CHECK) {
- if ((((size_t)input) & 7)==0) { /* Input is aligned, let's leverage the speed advantage */
- return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_aligned);
- } }
-
- return XXH64_endian_align((const xxh_u8*)input, len, seed, XXH_unaligned);
-
-#endif
-}
-
-/******* Hash Streaming *******/
-#ifndef XXH_NO_STREAM
-/*! @ingroup XXH64_family*/
-XXH_PUBLIC_API XXH64_state_t* XXH64_createState(void)
-{
- return (XXH64_state_t*)XXH_malloc(sizeof(XXH64_state_t));
-}
-/*! @ingroup XXH64_family */
-XXH_PUBLIC_API XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr)
-{
- XXH_free(statePtr);
- return XXH_OK;
-}
-
-/*! @ingroup XXH64_family */
-XXH_PUBLIC_API void XXH64_copyState(XXH_NOESCAPE XXH64_state_t* dstState, const XXH64_state_t* srcState)
-{
- XXH_memcpy(dstState, srcState, sizeof(*dstState));
-}
-
-/*! @ingroup XXH64_family */
-XXH_PUBLIC_API XXH_errorcode XXH64_reset(XXH_NOESCAPE XXH64_state_t* statePtr, XXH64_hash_t seed)
-{
- XXH_ASSERT(statePtr != NULL);
- memset(statePtr, 0, sizeof(*statePtr));
- statePtr->v[0] = seed + XXH_PRIME64_1 + XXH_PRIME64_2;
- statePtr->v[1] = seed + XXH_PRIME64_2;
- statePtr->v[2] = seed + 0;
- statePtr->v[3] = seed - XXH_PRIME64_1;
- return XXH_OK;
-}
-
-/*! @ingroup XXH64_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH64_update (XXH_NOESCAPE XXH64_state_t* state, XXH_NOESCAPE const void* input, size_t len)
-{
- if (input==NULL) {
- XXH_ASSERT(len == 0);
- return XXH_OK;
- }
-
- { const xxh_u8* p = (const xxh_u8*)input;
- const xxh_u8* const bEnd = p + len;
-
- state->total_len += len;
-
- if (state->memsize + len < 32) { /* fill in tmp buffer */
- XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, len);
- state->memsize += (xxh_u32)len;
- return XXH_OK;
- }
-
- if (state->memsize) { /* tmp buffer is full */
- XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, 32-state->memsize);
- state->v[0] = XXH64_round(state->v[0], XXH_readLE64(state->mem64+0));
- state->v[1] = XXH64_round(state->v[1], XXH_readLE64(state->mem64+1));
- state->v[2] = XXH64_round(state->v[2], XXH_readLE64(state->mem64+2));
- state->v[3] = XXH64_round(state->v[3], XXH_readLE64(state->mem64+3));
- p += 32 - state->memsize;
- state->memsize = 0;
- }
-
- if (p+32 <= bEnd) {
- const xxh_u8* const limit = bEnd - 32;
-
- do {
- state->v[0] = XXH64_round(state->v[0], XXH_readLE64(p)); p+=8;
- state->v[1] = XXH64_round(state->v[1], XXH_readLE64(p)); p+=8;
- state->v[2] = XXH64_round(state->v[2], XXH_readLE64(p)); p+=8;
- state->v[3] = XXH64_round(state->v[3], XXH_readLE64(p)); p+=8;
- } while (p<=limit);
-
- }
-
- if (p < bEnd) {
- XXH_memcpy(state->mem64, p, (size_t)(bEnd-p));
- state->memsize = (unsigned)(bEnd-p);
- }
- }
-
- return XXH_OK;
-}
-
-
-/*! @ingroup XXH64_family */
-XXH_PUBLIC_API XXH64_hash_t XXH64_digest(XXH_NOESCAPE const XXH64_state_t* state)
-{
- xxh_u64 h64;
-
- if (state->total_len >= 32) {
- h64 = XXH_rotl64(state->v[0], 1) + XXH_rotl64(state->v[1], 7) + XXH_rotl64(state->v[2], 12) + XXH_rotl64(state->v[3], 18);
- h64 = XXH64_mergeRound(h64, state->v[0]);
- h64 = XXH64_mergeRound(h64, state->v[1]);
- h64 = XXH64_mergeRound(h64, state->v[2]);
- h64 = XXH64_mergeRound(h64, state->v[3]);
- } else {
- h64 = state->v[2] /*seed*/ + XXH_PRIME64_5;
- }
-
- h64 += (xxh_u64) state->total_len;
-
- return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned);
-}
-#endif /* !XXH_NO_STREAM */
-
-/******* Canonical representation *******/
-
-/*! @ingroup XXH64_family */
-XXH_PUBLIC_API void XXH64_canonicalFromHash(XXH_NOESCAPE XXH64_canonical_t* dst, XXH64_hash_t hash)
-{
- XXH_STATIC_ASSERT(sizeof(XXH64_canonical_t) == sizeof(XXH64_hash_t));
- if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap64(hash);
- XXH_memcpy(dst, &hash, sizeof(*dst));
-}
-
-/*! @ingroup XXH64_family */
-XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(XXH_NOESCAPE const XXH64_canonical_t* src)
-{
- return XXH_readBE64(src);
-}
-
-#ifndef XXH_NO_XXH3
-
-/* *********************************************************************
-* XXH3
-* New generation hash designed for speed on small keys and vectorization
-************************************************************************ */
-/*!
- * @}
- * @defgroup XXH3_impl XXH3 implementation
- * @ingroup impl
- * @{
- */
-
-/* === Compiler specifics === */
-
-#if ((defined(sun) || defined(__sun)) && __cplusplus) /* Solaris includes __STDC_VERSION__ with C++. Tested with GCC 5.5 */
-# define XXH_RESTRICT /* disable */
-#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* >= C99 */
-# define XXH_RESTRICT restrict
-#elif (defined (__GNUC__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))) \
- || (defined (__clang__)) \
- || (defined (_MSC_VER) && (_MSC_VER >= 1400)) \
- || (defined (__INTEL_COMPILER) && (__INTEL_COMPILER >= 1300))
-/*
- * There are a LOT more compilers that recognize __restrict but this
- * covers the major ones.
- */
-# define XXH_RESTRICT __restrict
-#else
-# define XXH_RESTRICT /* disable */
-#endif
-
-#if (defined(__GNUC__) && (__GNUC__ >= 3)) \
- || (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 800)) \
- || defined(__clang__)
-# define XXH_likely(x) __builtin_expect(x, 1)
-# define XXH_unlikely(x) __builtin_expect(x, 0)
-#else
-# define XXH_likely(x) (x)
-# define XXH_unlikely(x) (x)
-#endif
-
-#ifndef XXH_HAS_INCLUDE
-# ifdef __has_include
-/*
- * Not defined as XXH_HAS_INCLUDE(x) (function-like) because
- * this causes segfaults in Apple Clang 4.2 (on Mac OS X 10.7 Lion)
- */
-# define XXH_HAS_INCLUDE __has_include
-# else
-# define XXH_HAS_INCLUDE(x) 0
-# endif
-#endif
-
-#if defined(__GNUC__) || defined(__clang__)
-# if defined(__ARM_FEATURE_SVE)
-# include
-# endif
-# if defined(__ARM_NEON__) || defined(__ARM_NEON) \
- || (defined(_M_ARM) && _M_ARM >= 7) \
- || defined(_M_ARM64) || defined(_M_ARM64EC) \
- || (defined(__wasm_simd128__) && XXH_HAS_INCLUDE()) /* WASM SIMD128 via SIMDe */
-# define inline __inline__ /* circumvent a clang bug */
-# include
-# undef inline
-# elif defined(__AVX2__)
-# include
-# elif defined(__SSE2__)
-# include
-# endif
-#endif
-
-#if defined(_MSC_VER)
-# include
-#endif
-
-/*
- * One goal of XXH3 is to make it fast on both 32-bit and 64-bit, while
- * remaining a true 64-bit/128-bit hash function.
- *
- * This is done by prioritizing a subset of 64-bit operations that can be
- * emulated without too many steps on the average 32-bit machine.
- *
- * For example, these two lines seem similar, and run equally fast on 64-bit:
- *
- * xxh_u64 x;
- * x ^= (x >> 47); // good
- * x ^= (x >> 13); // bad
- *
- * However, to a 32-bit machine, there is a major difference.
- *
- * x ^= (x >> 47) looks like this:
- *
- * x.lo ^= (x.hi >> (47 - 32));
- *
- * while x ^= (x >> 13) looks like this:
- *
- * // note: funnel shifts are not usually cheap.
- * x.lo ^= (x.lo >> 13) | (x.hi << (32 - 13));
- * x.hi ^= (x.hi >> 13);
- *
- * The first one is significantly faster than the second, simply because the
- * shift is larger than 32. This means:
- * - All the bits we need are in the upper 32 bits, so we can ignore the lower
- * 32 bits in the shift.
- * - The shift result will always fit in the lower 32 bits, and therefore,
- * we can ignore the upper 32 bits in the xor.
- *
- * Thanks to this optimization, XXH3 only requires these features to be efficient:
- *
- * - Usable unaligned access
- * - A 32-bit or 64-bit ALU
- * - If 32-bit, a decent ADC instruction
- * - A 32 or 64-bit multiply with a 64-bit result
- * - For the 128-bit variant, a decent byteswap helps short inputs.
- *
- * The first two are already required by XXH32, and almost all 32-bit and 64-bit
- * platforms which can run XXH32 can run XXH3 efficiently.
- *
- * Thumb-1, the classic 16-bit only subset of ARM's instruction set, is one
- * notable exception.
- *
- * First of all, Thumb-1 lacks support for the UMULL instruction which
- * performs the important long multiply. This means numerous __aeabi_lmul
- * calls.
- *
- * Second of all, the 8 functional registers are just not enough.
- * Setup for __aeabi_lmul, byteshift loads, pointers, and all arithmetic need
- * Lo registers, and this shuffling results in thousands more MOVs than A32.
- *
- * A32 and T32 don't have this limitation. They can access all 14 registers,
- * do a 32->64 multiply with UMULL, and the flexible operand allowing free
- * shifts is helpful, too.
- *
- * Therefore, we do a quick sanity check.
- *
- * If compiling Thumb-1 for a target which supports ARM instructions, we will
- * emit a warning, as it is not a "sane" platform to compile for.
- *
- * Usually, if this happens, it is because of an accident and you probably need
- * to specify -march, as you likely meant to compile for a newer architecture.
- *
- * Credit: large sections of the vectorial and asm source code paths
- * have been contributed by @easyaspi314
- */
-#if defined(__thumb__) && !defined(__thumb2__) && defined(__ARM_ARCH_ISA_ARM)
-# warning "XXH3 is highly inefficient without ARM or Thumb-2."
-#endif
-
-/* ==========================================
- * Vectorization detection
- * ========================================== */
-
-#ifdef XXH_DOXYGEN
-/*!
- * @ingroup tuning
- * @brief Overrides the vectorization implementation chosen for XXH3.
- *
- * Can be defined to 0 to disable SIMD or any of the values mentioned in
- * @ref XXH_VECTOR_TYPE.
- *
- * If this is not defined, it uses predefined macros to determine the best
- * implementation.
- */
-# define XXH_VECTOR XXH_SCALAR
-/*!
- * @ingroup tuning
- * @brief Possible values for @ref XXH_VECTOR.
- *
- * Note that these are actually implemented as macros.
- *
- * If this is not defined, it is detected automatically.
- * internal macro XXH_X86DISPATCH overrides this.
- */
-enum XXH_VECTOR_TYPE /* fake enum */ {
- XXH_SCALAR = 0, /*!< Portable scalar version */
- XXH_SSE2 = 1, /*!<
- * SSE2 for Pentium 4, Opteron, all x86_64.
- *
- * @note SSE2 is also guaranteed on Windows 10, macOS, and
- * Android x86.
- */
- XXH_AVX2 = 2, /*!< AVX2 for Haswell and Bulldozer */
- XXH_AVX512 = 3, /*!< AVX512 for Skylake and Icelake */
- XXH_NEON = 4, /*!<
- * NEON for most ARMv7-A, all AArch64, and WASM SIMD128
- * via the SIMDeverywhere polyfill provided with the
- * Emscripten SDK.
- */
- XXH_VSX = 5, /*!< VSX and ZVector for POWER8/z13 (64-bit) */
- XXH_SVE = 6, /*!< SVE for some ARMv8-A and ARMv9-A */
-};
-/*!
- * @ingroup tuning
- * @brief Selects the minimum alignment for XXH3's accumulators.
- *
- * When using SIMD, this should match the alignment required for said vector
- * type, so, for example, 32 for AVX2.
- *
- * Default: Auto detected.
- */
-# define XXH_ACC_ALIGN 8
-#endif
-
-/* Actual definition */
-#ifndef XXH_DOXYGEN
-# define XXH_SCALAR 0
-# define XXH_SSE2 1
-# define XXH_AVX2 2
-# define XXH_AVX512 3
-# define XXH_NEON 4
-# define XXH_VSX 5
-# define XXH_SVE 6
-#endif
-
-#ifndef XXH_VECTOR /* can be defined on command line */
-# if defined(__ARM_FEATURE_SVE)
-# define XXH_VECTOR XXH_SVE
-# elif ( \
- defined(__ARM_NEON__) || defined(__ARM_NEON) /* gcc */ \
- || defined(_M_ARM) || defined(_M_ARM64) || defined(_M_ARM64EC) /* msvc */ \
- || (defined(__wasm_simd128__) && XXH_HAS_INCLUDE()) /* wasm simd128 via SIMDe */ \
- ) && ( \
- defined(_WIN32) || defined(__LITTLE_ENDIAN__) /* little endian only */ \
- || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) \
- )
-# define XXH_VECTOR XXH_NEON
-# elif defined(__AVX512F__)
-# define XXH_VECTOR XXH_AVX512
-# elif defined(__AVX2__)
-# define XXH_VECTOR XXH_AVX2
-# elif defined(__SSE2__) || defined(_M_AMD64) || defined(_M_X64) || (defined(_M_IX86_FP) && (_M_IX86_FP == 2))
-# define XXH_VECTOR XXH_SSE2
-# elif (defined(__PPC64__) && defined(__POWER8_VECTOR__)) \
- || (defined(__s390x__) && defined(__VEC__)) \
- && defined(__GNUC__) /* TODO: IBM XL */
-# define XXH_VECTOR XXH_VSX
-# else
-# define XXH_VECTOR XXH_SCALAR
-# endif
-#endif
-
-/* __ARM_FEATURE_SVE is only supported by GCC & Clang. */
-#if (XXH_VECTOR == XXH_SVE) && !defined(__ARM_FEATURE_SVE)
-# ifdef _MSC_VER
-# pragma warning(once : 4606)
-# else
-# warning "__ARM_FEATURE_SVE isn't supported. Use SCALAR instead."
-# endif
-# undef XXH_VECTOR
-# define XXH_VECTOR XXH_SCALAR
-#endif
-
-/*
- * Controls the alignment of the accumulator,
- * for compatibility with aligned vector loads, which are usually faster.
- */
-#ifndef XXH_ACC_ALIGN
-# if defined(XXH_X86DISPATCH)
-# define XXH_ACC_ALIGN 64 /* for compatibility with avx512 */
-# elif XXH_VECTOR == XXH_SCALAR /* scalar */
-# define XXH_ACC_ALIGN 8
-# elif XXH_VECTOR == XXH_SSE2 /* sse2 */
-# define XXH_ACC_ALIGN 16
-# elif XXH_VECTOR == XXH_AVX2 /* avx2 */
-# define XXH_ACC_ALIGN 32
-# elif XXH_VECTOR == XXH_NEON /* neon */
-# define XXH_ACC_ALIGN 16
-# elif XXH_VECTOR == XXH_VSX /* vsx */
-# define XXH_ACC_ALIGN 16
-# elif XXH_VECTOR == XXH_AVX512 /* avx512 */
-# define XXH_ACC_ALIGN 64
-# elif XXH_VECTOR == XXH_SVE /* sve */
-# define XXH_ACC_ALIGN 64
-# endif
-#endif
-
-#if defined(XXH_X86DISPATCH) || XXH_VECTOR == XXH_SSE2 \
- || XXH_VECTOR == XXH_AVX2 || XXH_VECTOR == XXH_AVX512
-# define XXH_SEC_ALIGN XXH_ACC_ALIGN
-#elif XXH_VECTOR == XXH_SVE
-# define XXH_SEC_ALIGN XXH_ACC_ALIGN
-#else
-# define XXH_SEC_ALIGN 8
-#endif
-
-#if defined(__GNUC__) || defined(__clang__)
-# define XXH_ALIASING __attribute__((may_alias))
-#else
-# define XXH_ALIASING /* nothing */
-#endif
-
-/*
- * UGLY HACK:
- * GCC usually generates the best code with -O3 for xxHash.
- *
- * However, when targeting AVX2, it is overzealous in its unrolling resulting
- * in code roughly 3/4 the speed of Clang.
- *
- * There are other issues, such as GCC splitting _mm256_loadu_si256 into
- * _mm_loadu_si128 + _mm256_inserti128_si256. This is an optimization which
- * only applies to Sandy and Ivy Bridge... which don't even support AVX2.
- *
- * That is why when compiling the AVX2 version, it is recommended to use either
- * -O2 -mavx2 -march=haswell
- * or
- * -O2 -mavx2 -mno-avx256-split-unaligned-load
- * for decent performance, or to use Clang instead.
- *
- * Fortunately, we can control the first one with a pragma that forces GCC into
- * -O2, but the other one we can't control without "failed to inline always
- * inline function due to target mismatch" warnings.
- */
-#if XXH_VECTOR == XXH_AVX2 /* AVX2 */ \
- && defined(__GNUC__) && !defined(__clang__) /* GCC, not Clang */ \
- && defined(__OPTIMIZE__) && XXH_SIZE_OPT <= 0 /* respect -O0 and -Os */
-# pragma GCC push_options
-# pragma GCC optimize("-O2")
-#endif
-
-#if XXH_VECTOR == XXH_NEON
-
-/*
- * UGLY HACK: While AArch64 GCC on Linux does not seem to care, on macOS, GCC -O3
- * optimizes out the entire hashLong loop because of the aliasing violation.
- *
- * However, GCC is also inefficient at load-store optimization with vld1q/vst1q,
- * so the only option is to mark it as aliasing.
- */
-typedef uint64x2_t xxh_aliasing_uint64x2_t XXH_ALIASING;
-
-/*!
- * @internal
- * @brief `vld1q_u64` but faster and alignment-safe.
- *
- * On AArch64, unaligned access is always safe, but on ARMv7-a, it is only
- * *conditionally* safe (`vld1` has an alignment bit like `movdq[ua]` in x86).
- *
- * GCC for AArch64 sees `vld1q_u8` as an intrinsic instead of a load, so it
- * prohibits load-store optimizations. Therefore, a direct dereference is used.
- *
- * Otherwise, `vld1q_u8` is used with `vreinterpretq_u8_u64` to do a safe
- * unaligned load.
- */
-#if defined(__aarch64__) && defined(__GNUC__) && !defined(__clang__)
-XXH_FORCE_INLINE uint64x2_t XXH_vld1q_u64(void const* ptr) /* silence -Wcast-align */
-{
- return *(xxh_aliasing_uint64x2_t const *)ptr;
-}
-#else
-XXH_FORCE_INLINE uint64x2_t XXH_vld1q_u64(void const* ptr)
-{
- return vreinterpretq_u64_u8(vld1q_u8((uint8_t const*)ptr));
-}
-#endif
-
-/*!
- * @internal
- * @brief `vmlal_u32` on low and high halves of a vector.
- *
- * This is a workaround for AArch64 GCC < 11 which implemented arm_neon.h with
- * inline assembly and were therefore incapable of merging the `vget_{low, high}_u32`
- * with `vmlal_u32`.
- */
-#if defined(__aarch64__) && defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 11
-XXH_FORCE_INLINE uint64x2_t
-XXH_vmlal_low_u32(uint64x2_t acc, uint32x4_t lhs, uint32x4_t rhs)
-{
- /* Inline assembly is the only way */
- __asm__("umlal %0.2d, %1.2s, %2.2s" : "+w" (acc) : "w" (lhs), "w" (rhs));
- return acc;
-}
-XXH_FORCE_INLINE uint64x2_t
-XXH_vmlal_high_u32(uint64x2_t acc, uint32x4_t lhs, uint32x4_t rhs)
-{
- /* This intrinsic works as expected */
- return vmlal_high_u32(acc, lhs, rhs);
-}
-#else
-/* Portable intrinsic versions */
-XXH_FORCE_INLINE uint64x2_t
-XXH_vmlal_low_u32(uint64x2_t acc, uint32x4_t lhs, uint32x4_t rhs)
-{
- return vmlal_u32(acc, vget_low_u32(lhs), vget_low_u32(rhs));
-}
-/*! @copydoc XXH_vmlal_low_u32
- * Assume the compiler converts this to vmlal_high_u32 on aarch64 */
-XXH_FORCE_INLINE uint64x2_t
-XXH_vmlal_high_u32(uint64x2_t acc, uint32x4_t lhs, uint32x4_t rhs)
-{
- return vmlal_u32(acc, vget_high_u32(lhs), vget_high_u32(rhs));
-}
-#endif
-
-/*!
- * @ingroup tuning
- * @brief Controls the NEON to scalar ratio for XXH3
- *
- * This can be set to 2, 4, 6, or 8.
- *
- * ARM Cortex CPUs are _very_ sensitive to how their pipelines are used.
- *
- * For example, the Cortex-A73 can dispatch 3 micro-ops per cycle, but only 2 of those
- * can be NEON. If you are only using NEON instructions, you are only using 2/3 of the CPU
- * bandwidth.
- *
- * This is even more noticeable on the more advanced cores like the Cortex-A76 which
- * can dispatch 8 micro-ops per cycle, but still only 2 NEON micro-ops at once.
- *
- * Therefore, to make the most out of the pipeline, it is beneficial to run 6 NEON lanes
- * and 2 scalar lanes, which is chosen by default.
- *
- * This does not apply to Apple processors or 32-bit processors, which run better with
- * full NEON. These will default to 8. Additionally, size-optimized builds run 8 lanes.
- *
- * This change benefits CPUs with large micro-op buffers without negatively affecting
- * most other CPUs:
- *
- * | Chipset | Dispatch type | NEON only | 6:2 hybrid | Diff. |
- * |:----------------------|:--------------------|----------:|-----------:|------:|
- * | Snapdragon 730 (A76) | 2 NEON/8 micro-ops | 8.8 GB/s | 10.1 GB/s | ~16% |
- * | Snapdragon 835 (A73) | 2 NEON/3 micro-ops | 5.1 GB/s | 5.3 GB/s | ~5% |
- * | Marvell PXA1928 (A53) | In-order dual-issue | 1.9 GB/s | 1.9 GB/s | 0% |
- * | Apple M1 | 4 NEON/8 micro-ops | 37.3 GB/s | 36.1 GB/s | ~-3% |
- *
- * It also seems to fix some bad codegen on GCC, making it almost as fast as clang.
- *
- * When using WASM SIMD128, if this is 2 or 6, SIMDe will scalarize 2 of the lanes meaning
- * it effectively becomes worse 4.
- *
- * @see XXH3_accumulate_512_neon()
- */
-# ifndef XXH3_NEON_LANES
-# if (defined(__aarch64__) || defined(__arm64__) || defined(_M_ARM64) || defined(_M_ARM64EC)) \
- && !defined(__APPLE__) && XXH_SIZE_OPT <= 0
-# define XXH3_NEON_LANES 6
-# else
-# define XXH3_NEON_LANES XXH_ACC_NB
-# endif
-# endif
-#endif /* XXH_VECTOR == XXH_NEON */
-
-/*
- * VSX and Z Vector helpers.
- *
- * This is very messy, and any pull requests to clean this up are welcome.
- *
- * There are a lot of problems with supporting VSX and s390x, due to
- * inconsistent intrinsics, spotty coverage, and multiple endiannesses.
- */
-#if XXH_VECTOR == XXH_VSX
-/* Annoyingly, these headers _may_ define three macros: `bool`, `vector`,
- * and `pixel`. This is a problem for obvious reasons.
- *
- * These keywords are unnecessary; the spec literally says they are
- * equivalent to `__bool`, `__vector`, and `__pixel` and may be undef'd
- * after including the header.
- *
- * We use pragma push_macro/pop_macro to keep the namespace clean. */
-# pragma push_macro("bool")
-# pragma push_macro("vector")
-# pragma push_macro("pixel")
-/* silence potential macro redefined warnings */
-# undef bool
-# undef vector
-# undef pixel
-
-# if defined(__s390x__)
-# include
-# else
-# include
-# endif
-
-/* Restore the original macro values, if applicable. */
-# pragma pop_macro("pixel")
-# pragma pop_macro("vector")
-# pragma pop_macro("bool")
-
-typedef __vector unsigned long long xxh_u64x2;
-typedef __vector unsigned char xxh_u8x16;
-typedef __vector unsigned xxh_u32x4;
-
-/*
- * UGLY HACK: Similar to aarch64 macOS GCC, s390x GCC has the same aliasing issue.
- */
-typedef xxh_u64x2 xxh_aliasing_u64x2 XXH_ALIASING;
-
-# ifndef XXH_VSX_BE
-# if defined(__BIG_ENDIAN__) \
- || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
-# define XXH_VSX_BE 1
-# elif defined(__VEC_ELEMENT_REG_ORDER__) && __VEC_ELEMENT_REG_ORDER__ == __ORDER_BIG_ENDIAN__
-# warning "-maltivec=be is not recommended. Please use native endianness."
-# define XXH_VSX_BE 1
-# else
-# define XXH_VSX_BE 0
-# endif
-# endif /* !defined(XXH_VSX_BE) */
-
-# if XXH_VSX_BE
-# if defined(__POWER9_VECTOR__) || (defined(__clang__) && defined(__s390x__))
-# define XXH_vec_revb vec_revb
-# else
-/*!
- * A polyfill for POWER9's vec_revb().
- */
-XXH_FORCE_INLINE xxh_u64x2 XXH_vec_revb(xxh_u64x2 val)
-{
- xxh_u8x16 const vByteSwap = { 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00,
- 0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A, 0x09, 0x08 };
- return vec_perm(val, val, vByteSwap);
-}
-# endif
-# endif /* XXH_VSX_BE */
-
-/*!
- * Performs an unaligned vector load and byte swaps it on big endian.
- */
-XXH_FORCE_INLINE xxh_u64x2 XXH_vec_loadu(const void *ptr)
-{
- xxh_u64x2 ret;
- XXH_memcpy(&ret, ptr, sizeof(xxh_u64x2));
-# if XXH_VSX_BE
- ret = XXH_vec_revb(ret);
-# endif
- return ret;
-}
-
-/*
- * vec_mulo and vec_mule are very problematic intrinsics on PowerPC
- *
- * These intrinsics weren't added until GCC 8, despite existing for a while,
- * and they are endian dependent. Also, their meaning swap depending on version.
- * */
-# if defined(__s390x__)
- /* s390x is always big endian, no issue on this platform */
-# define XXH_vec_mulo vec_mulo
-# define XXH_vec_mule vec_mule
-# elif defined(__clang__) && XXH_HAS_BUILTIN(__builtin_altivec_vmuleuw) && !defined(__ibmxl__)
-/* Clang has a better way to control this, we can just use the builtin which doesn't swap. */
- /* The IBM XL Compiler (which defined __clang__) only implements the vec_* operations */
-# define XXH_vec_mulo __builtin_altivec_vmulouw
-# define XXH_vec_mule __builtin_altivec_vmuleuw
-# else
-/* gcc needs inline assembly */
-/* Adapted from https://github.com/google/highwayhash/blob/master/highwayhash/hh_vsx.h. */
-XXH_FORCE_INLINE xxh_u64x2 XXH_vec_mulo(xxh_u32x4 a, xxh_u32x4 b)
-{
- xxh_u64x2 result;
- __asm__("vmulouw %0, %1, %2" : "=v" (result) : "v" (a), "v" (b));
- return result;
-}
-XXH_FORCE_INLINE xxh_u64x2 XXH_vec_mule(xxh_u32x4 a, xxh_u32x4 b)
-{
- xxh_u64x2 result;
- __asm__("vmuleuw %0, %1, %2" : "=v" (result) : "v" (a), "v" (b));
- return result;
-}
-# endif /* XXH_vec_mulo, XXH_vec_mule */
-#endif /* XXH_VECTOR == XXH_VSX */
-
-#if XXH_VECTOR == XXH_SVE
-#define ACCRND(acc, offset) \
-do { \
- svuint64_t input_vec = svld1_u64(mask, xinput + offset); \
- svuint64_t secret_vec = svld1_u64(mask, xsecret + offset); \
- svuint64_t mixed = sveor_u64_x(mask, secret_vec, input_vec); \
- svuint64_t swapped = svtbl_u64(input_vec, kSwap); \
- svuint64_t mixed_lo = svextw_u64_x(mask, mixed); \
- svuint64_t mixed_hi = svlsr_n_u64_x(mask, mixed, 32); \
- svuint64_t mul = svmad_u64_x(mask, mixed_lo, mixed_hi, swapped); \
- acc = svadd_u64_x(mask, acc, mul); \
-} while (0)
-#endif /* XXH_VECTOR == XXH_SVE */
-
-/* prefetch
- * can be disabled, by declaring XXH_NO_PREFETCH build macro */
-#if defined(XXH_NO_PREFETCH)
-# define XXH_PREFETCH(ptr) (void)(ptr) /* disabled */
-#else
-# if XXH_SIZE_OPT >= 1
-# define XXH_PREFETCH(ptr) (void)(ptr)
-# elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86)) /* _mm_prefetch() not defined outside of x86/x64 */
-# include /* https://msdn.microsoft.com/fr-fr/library/84szxsww(v=vs.90).aspx */
-# define XXH_PREFETCH(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T0)
-# elif defined(__GNUC__) && ( (__GNUC__ >= 4) || ( (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1) ) )
-# define XXH_PREFETCH(ptr) __builtin_prefetch((ptr), 0 /* rw==read */, 3 /* locality */)
-# else
-# define XXH_PREFETCH(ptr) (void)(ptr) /* disabled */
-# endif
-#endif /* XXH_NO_PREFETCH */
-
-
-/* ==========================================
- * XXH3 default settings
- * ========================================== */
-
-#define XXH_SECRET_DEFAULT_SIZE 192 /* minimum XXH3_SECRET_SIZE_MIN */
-
-#if (XXH_SECRET_DEFAULT_SIZE < XXH3_SECRET_SIZE_MIN)
-# error "default keyset is not large enough"
-#endif
-
-/*! Pseudorandom secret taken directly from FARSH. */
-XXH_ALIGN(64) static const xxh_u8 XXH3_kSecret[XXH_SECRET_DEFAULT_SIZE] = {
- 0xb8, 0xfe, 0x6c, 0x39, 0x23, 0xa4, 0x4b, 0xbe, 0x7c, 0x01, 0x81, 0x2c, 0xf7, 0x21, 0xad, 0x1c,
- 0xde, 0xd4, 0x6d, 0xe9, 0x83, 0x90, 0x97, 0xdb, 0x72, 0x40, 0xa4, 0xa4, 0xb7, 0xb3, 0x67, 0x1f,
- 0xcb, 0x79, 0xe6, 0x4e, 0xcc, 0xc0, 0xe5, 0x78, 0x82, 0x5a, 0xd0, 0x7d, 0xcc, 0xff, 0x72, 0x21,
- 0xb8, 0x08, 0x46, 0x74, 0xf7, 0x43, 0x24, 0x8e, 0xe0, 0x35, 0x90, 0xe6, 0x81, 0x3a, 0x26, 0x4c,
- 0x3c, 0x28, 0x52, 0xbb, 0x91, 0xc3, 0x00, 0xcb, 0x88, 0xd0, 0x65, 0x8b, 0x1b, 0x53, 0x2e, 0xa3,
- 0x71, 0x64, 0x48, 0x97, 0xa2, 0x0d, 0xf9, 0x4e, 0x38, 0x19, 0xef, 0x46, 0xa9, 0xde, 0xac, 0xd8,
- 0xa8, 0xfa, 0x76, 0x3f, 0xe3, 0x9c, 0x34, 0x3f, 0xf9, 0xdc, 0xbb, 0xc7, 0xc7, 0x0b, 0x4f, 0x1d,
- 0x8a, 0x51, 0xe0, 0x4b, 0xcd, 0xb4, 0x59, 0x31, 0xc8, 0x9f, 0x7e, 0xc9, 0xd9, 0x78, 0x73, 0x64,
- 0xea, 0xc5, 0xac, 0x83, 0x34, 0xd3, 0xeb, 0xc3, 0xc5, 0x81, 0xa0, 0xff, 0xfa, 0x13, 0x63, 0xeb,
- 0x17, 0x0d, 0xdd, 0x51, 0xb7, 0xf0, 0xda, 0x49, 0xd3, 0x16, 0x55, 0x26, 0x29, 0xd4, 0x68, 0x9e,
- 0x2b, 0x16, 0xbe, 0x58, 0x7d, 0x47, 0xa1, 0xfc, 0x8f, 0xf8, 0xb8, 0xd1, 0x7a, 0xd0, 0x31, 0xce,
- 0x45, 0xcb, 0x3a, 0x8f, 0x95, 0x16, 0x04, 0x28, 0xaf, 0xd7, 0xfb, 0xca, 0xbb, 0x4b, 0x40, 0x7e,
-};
-
-static const xxh_u64 PRIME_MX1 = 0x165667919E3779F9ULL; /*!< 0b0001011001010110011001111001000110011110001101110111100111111001 */
-static const xxh_u64 PRIME_MX2 = 0x9FB21C651E98DF25ULL; /*!< 0b1001111110110010000111000110010100011110100110001101111100100101 */
-
-#ifdef XXH_OLD_NAMES
-# define kSecret XXH3_kSecret
-#endif
-
-#ifdef XXH_DOXYGEN
-/*!
- * @brief Calculates a 32-bit to 64-bit long multiply.
- *
- * Implemented as a macro.
- *
- * Wraps `__emulu` on MSVC x86 because it tends to call `__allmul` when it doesn't
- * need to (but it shouldn't need to anyways, it is about 7 instructions to do
- * a 64x64 multiply...). Since we know that this will _always_ emit `MULL`, we
- * use that instead of the normal method.
- *
- * If you are compiling for platforms like Thumb-1 and don't have a better option,
- * you may also want to write your own long multiply routine here.
- *
- * @param x, y Numbers to be multiplied
- * @return 64-bit product of the low 32 bits of @p x and @p y.
- */
-XXH_FORCE_INLINE xxh_u64
-XXH_mult32to64(xxh_u64 x, xxh_u64 y)
-{
- return (x & 0xFFFFFFFF) * (y & 0xFFFFFFFF);
-}
-#elif defined(_MSC_VER) && defined(_M_IX86)
-# define XXH_mult32to64(x, y) __emulu((unsigned)(x), (unsigned)(y))
-#else
-/*
- * Downcast + upcast is usually better than masking on older compilers like
- * GCC 4.2 (especially 32-bit ones), all without affecting newer compilers.
- *
- * The other method, (x & 0xFFFFFFFF) * (y & 0xFFFFFFFF), will AND both operands
- * and perform a full 64x64 multiply -- entirely redundant on 32-bit.
- */
-# define XXH_mult32to64(x, y) ((xxh_u64)(xxh_u32)(x) * (xxh_u64)(xxh_u32)(y))
-#endif
-
-/*!
- * @brief Calculates a 64->128-bit long multiply.
- *
- * Uses `__uint128_t` and `_umul128` if available, otherwise uses a scalar
- * version.
- *
- * @param lhs , rhs The 64-bit integers to be multiplied
- * @return The 128-bit result represented in an @ref XXH128_hash_t.
- */
-static XXH128_hash_t
-XXH_mult64to128(xxh_u64 lhs, xxh_u64 rhs)
-{
- /*
- * GCC/Clang __uint128_t method.
- *
- * On most 64-bit targets, GCC and Clang define a __uint128_t type.
- * This is usually the best way as it usually uses a native long 64-bit
- * multiply, such as MULQ on x86_64 or MUL + UMULH on aarch64.
- *
- * Usually.
- *
- * Despite being a 32-bit platform, Clang (and emscripten) define this type
- * despite not having the arithmetic for it. This results in a laggy
- * compiler builtin call which calculates a full 128-bit multiply.
- * In that case it is best to use the portable one.
- * https://github.com/Cyan4973/xxHash/issues/211#issuecomment-515575677
- */
-#if (defined(__GNUC__) || defined(__clang__)) && !defined(__wasm__) \
- && defined(__SIZEOF_INT128__) \
- || (defined(_INTEGRAL_MAX_BITS) && _INTEGRAL_MAX_BITS >= 128)
-
- __uint128_t const product = (__uint128_t)lhs * (__uint128_t)rhs;
- XXH128_hash_t r128;
- r128.low64 = (xxh_u64)(product);
- r128.high64 = (xxh_u64)(product >> 64);
- return r128;
-
- /*
- * MSVC for x64's _umul128 method.
- *
- * xxh_u64 _umul128(xxh_u64 Multiplier, xxh_u64 Multiplicand, xxh_u64 *HighProduct);
- *
- * This compiles to single operand MUL on x64.
- */
-#elif (defined(_M_X64) || defined(_M_IA64)) && !defined(_M_ARM64EC)
-
-#ifndef _MSC_VER
-# pragma intrinsic(_umul128)
-#endif
- xxh_u64 product_high;
- xxh_u64 const product_low = _umul128(lhs, rhs, &product_high);
- XXH128_hash_t r128;
- r128.low64 = product_low;
- r128.high64 = product_high;
- return r128;
-
- /*
- * MSVC for ARM64's __umulh method.
- *
- * This compiles to the same MUL + UMULH as GCC/Clang's __uint128_t method.
- */
-#elif defined(_M_ARM64) || defined(_M_ARM64EC)
-
-#ifndef _MSC_VER
-# pragma intrinsic(__umulh)
-#endif
- XXH128_hash_t r128;
- r128.low64 = lhs * rhs;
- r128.high64 = __umulh(lhs, rhs);
- return r128;
-
-#else
- /*
- * Portable scalar method. Optimized for 32-bit and 64-bit ALUs.
- *
- * This is a fast and simple grade school multiply, which is shown below
- * with base 10 arithmetic instead of base 0x100000000.
- *
- * 9 3 // D2 lhs = 93
- * x 7 5 // D2 rhs = 75
- * ----------
- * 1 5 // D2 lo_lo = (93 % 10) * (75 % 10) = 15
- * 4 5 | // D2 hi_lo = (93 / 10) * (75 % 10) = 45
- * 2 1 | // D2 lo_hi = (93 % 10) * (75 / 10) = 21
- * + 6 3 | | // D2 hi_hi = (93 / 10) * (75 / 10) = 63
- * ---------
- * 2 7 | // D2 cross = (15 / 10) + (45 % 10) + 21 = 27
- * + 6 7 | | // D2 upper = (27 / 10) + (45 / 10) + 63 = 67
- * ---------
- * 6 9 7 5 // D4 res = (27 * 10) + (15 % 10) + (67 * 100) = 6975
- *
- * The reasons for adding the products like this are:
- * 1. It avoids manual carry tracking. Just like how
- * (9 * 9) + 9 + 9 = 99, the same applies with this for UINT64_MAX.
- * This avoids a lot of complexity.
- *
- * 2. It hints for, and on Clang, compiles to, the powerful UMAAL
- * instruction available in ARM's Digital Signal Processing extension
- * in 32-bit ARMv6 and later, which is shown below:
- *
- * void UMAAL(xxh_u32 *RdLo, xxh_u32 *RdHi, xxh_u32 Rn, xxh_u32 Rm)
- * {
- * xxh_u64 product = (xxh_u64)*RdLo * (xxh_u64)*RdHi + Rn + Rm;
- * *RdLo = (xxh_u32)(product & 0xFFFFFFFF);
- * *RdHi = (xxh_u32)(product >> 32);
- * }
- *
- * This instruction was designed for efficient long multiplication, and
- * allows this to be calculated in only 4 instructions at speeds
- * comparable to some 64-bit ALUs.
- *
- * 3. It isn't terrible on other platforms. Usually this will be a couple
- * of 32-bit ADD/ADCs.
- */
-
- /* First calculate all of the cross products. */
- xxh_u64 const lo_lo = XXH_mult32to64(lhs & 0xFFFFFFFF, rhs & 0xFFFFFFFF);
- xxh_u64 const hi_lo = XXH_mult32to64(lhs >> 32, rhs & 0xFFFFFFFF);
- xxh_u64 const lo_hi = XXH_mult32to64(lhs & 0xFFFFFFFF, rhs >> 32);
- xxh_u64 const hi_hi = XXH_mult32to64(lhs >> 32, rhs >> 32);
-
- /* Now add the products together. These will never overflow. */
- xxh_u64 const cross = (lo_lo >> 32) + (hi_lo & 0xFFFFFFFF) + lo_hi;
- xxh_u64 const upper = (hi_lo >> 32) + (cross >> 32) + hi_hi;
- xxh_u64 const lower = (cross << 32) | (lo_lo & 0xFFFFFFFF);
-
- XXH128_hash_t r128;
- r128.low64 = lower;
- r128.high64 = upper;
- return r128;
-#endif
-}
-
-/*!
- * @brief Calculates a 64-bit to 128-bit multiply, then XOR folds it.
- *
- * The reason for the separate function is to prevent passing too many structs
- * around by value. This will hopefully inline the multiply, but we don't force it.
- *
- * @param lhs , rhs The 64-bit integers to multiply
- * @return The low 64 bits of the product XOR'd by the high 64 bits.
- * @see XXH_mult64to128()
- */
-static xxh_u64
-XXH3_mul128_fold64(xxh_u64 lhs, xxh_u64 rhs)
-{
- XXH128_hash_t product = XXH_mult64to128(lhs, rhs);
- return product.low64 ^ product.high64;
-}
-
-/*! Seems to produce slightly better code on GCC for some reason. */
-XXH_FORCE_INLINE XXH_CONSTF xxh_u64 XXH_xorshift64(xxh_u64 v64, int shift)
-{
- XXH_ASSERT(0 <= shift && shift < 64);
- return v64 ^ (v64 >> shift);
-}
-
-/*
- * This is a fast avalanche stage,
- * suitable when input bits are already partially mixed
- */
-static XXH64_hash_t XXH3_avalanche(xxh_u64 h64)
-{
- h64 = XXH_xorshift64(h64, 37);
- h64 *= PRIME_MX1;
- h64 = XXH_xorshift64(h64, 32);
- return h64;
-}
-
-/*
- * This is a stronger avalanche,
- * inspired by Pelle Evensen's rrmxmx
- * preferable when input has not been previously mixed
- */
-static XXH64_hash_t XXH3_rrmxmx(xxh_u64 h64, xxh_u64 len)
-{
- /* this mix is inspired by Pelle Evensen's rrmxmx */
- h64 ^= XXH_rotl64(h64, 49) ^ XXH_rotl64(h64, 24);
- h64 *= PRIME_MX2;
- h64 ^= (h64 >> 35) + len ;
- h64 *= PRIME_MX2;
- return XXH_xorshift64(h64, 28);
-}
-
-
-/* ==========================================
- * Short keys
- * ==========================================
- * One of the shortcomings of XXH32 and XXH64 was that their performance was
- * sub-optimal on short lengths. It used an iterative algorithm which strongly
- * favored lengths that were a multiple of 4 or 8.
- *
- * Instead of iterating over individual inputs, we use a set of single shot
- * functions which piece together a range of lengths and operate in constant time.
- *
- * Additionally, the number of multiplies has been significantly reduced. This
- * reduces latency, especially when emulating 64-bit multiplies on 32-bit.
- *
- * Depending on the platform, this may or may not be faster than XXH32, but it
- * is almost guaranteed to be faster than XXH64.
- */
-
-/*
- * At very short lengths, there isn't enough input to fully hide secrets, or use
- * the entire secret.
- *
- * There is also only a limited amount of mixing we can do before significantly
- * impacting performance.
- *
- * Therefore, we use different sections of the secret and always mix two secret
- * samples with an XOR. This should have no effect on performance on the
- * seedless or withSeed variants because everything _should_ be constant folded
- * by modern compilers.
- *
- * The XOR mixing hides individual parts of the secret and increases entropy.
- *
- * This adds an extra layer of strength for custom secrets.
- */
-XXH_FORCE_INLINE XXH_PUREF XXH64_hash_t
-XXH3_len_1to3_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed)
-{
- XXH_ASSERT(input != NULL);
- XXH_ASSERT(1 <= len && len <= 3);
- XXH_ASSERT(secret != NULL);
- /*
- * len = 1: combined = { input[0], 0x01, input[0], input[0] }
- * len = 2: combined = { input[1], 0x02, input[0], input[1] }
- * len = 3: combined = { input[2], 0x03, input[0], input[1] }
- */
- { xxh_u8 const c1 = input[0];
- xxh_u8 const c2 = input[len >> 1];
- xxh_u8 const c3 = input[len - 1];
- xxh_u32 const combined = ((xxh_u32)c1 << 16) | ((xxh_u32)c2 << 24)
- | ((xxh_u32)c3 << 0) | ((xxh_u32)len << 8);
- xxh_u64 const bitflip = (XXH_readLE32(secret) ^ XXH_readLE32(secret+4)) + seed;
- xxh_u64 const keyed = (xxh_u64)combined ^ bitflip;
- return XXH64_avalanche(keyed);
- }
-}
-
-XXH_FORCE_INLINE XXH_PUREF XXH64_hash_t
-XXH3_len_4to8_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed)
-{
- XXH_ASSERT(input != NULL);
- XXH_ASSERT(secret != NULL);
- XXH_ASSERT(4 <= len && len <= 8);
- seed ^= (xxh_u64)XXH_swap32((xxh_u32)seed) << 32;
- { xxh_u32 const input1 = XXH_readLE32(input);
- xxh_u32 const input2 = XXH_readLE32(input + len - 4);
- xxh_u64 const bitflip = (XXH_readLE64(secret+8) ^ XXH_readLE64(secret+16)) - seed;
- xxh_u64 const input64 = input2 + (((xxh_u64)input1) << 32);
- xxh_u64 const keyed = input64 ^ bitflip;
- return XXH3_rrmxmx(keyed, len);
- }
-}
-
-XXH_FORCE_INLINE XXH_PUREF XXH64_hash_t
-XXH3_len_9to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed)
-{
- XXH_ASSERT(input != NULL);
- XXH_ASSERT(secret != NULL);
- XXH_ASSERT(9 <= len && len <= 16);
- { xxh_u64 const bitflip1 = (XXH_readLE64(secret+24) ^ XXH_readLE64(secret+32)) + seed;
- xxh_u64 const bitflip2 = (XXH_readLE64(secret+40) ^ XXH_readLE64(secret+48)) - seed;
- xxh_u64 const input_lo = XXH_readLE64(input) ^ bitflip1;
- xxh_u64 const input_hi = XXH_readLE64(input + len - 8) ^ bitflip2;
- xxh_u64 const acc = len
- + XXH_swap64(input_lo) + input_hi
- + XXH3_mul128_fold64(input_lo, input_hi);
- return XXH3_avalanche(acc);
- }
-}
-
-XXH_FORCE_INLINE XXH_PUREF XXH64_hash_t
-XXH3_len_0to16_64b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed)
-{
- XXH_ASSERT(len <= 16);
- { if (XXH_likely(len > 8)) return XXH3_len_9to16_64b(input, len, secret, seed);
- if (XXH_likely(len >= 4)) return XXH3_len_4to8_64b(input, len, secret, seed);
- if (len) return XXH3_len_1to3_64b(input, len, secret, seed);
- return XXH64_avalanche(seed ^ (XXH_readLE64(secret+56) ^ XXH_readLE64(secret+64)));
- }
-}
-
-/*
- * DISCLAIMER: There are known *seed-dependent* multicollisions here due to
- * multiplication by zero, affecting hashes of lengths 17 to 240.
- *
- * However, they are very unlikely.
- *
- * Keep this in mind when using the unseeded XXH3_64bits() variant: As with all
- * unseeded non-cryptographic hashes, it does not attempt to defend itself
- * against specially crafted inputs, only random inputs.
- *
- * Compared to classic UMAC where a 1 in 2^31 chance of 4 consecutive bytes
- * cancelling out the secret is taken an arbitrary number of times (addressed
- * in XXH3_accumulate_512), this collision is very unlikely with random inputs
- * and/or proper seeding:
- *
- * This only has a 1 in 2^63 chance of 8 consecutive bytes cancelling out, in a
- * function that is only called up to 16 times per hash with up to 240 bytes of
- * input.
- *
- * This is not too bad for a non-cryptographic hash function, especially with
- * only 64 bit outputs.
- *
- * The 128-bit variant (which trades some speed for strength) is NOT affected
- * by this, although it is always a good idea to use a proper seed if you care
- * about strength.
- */
-XXH_FORCE_INLINE xxh_u64 XXH3_mix16B(const xxh_u8* XXH_RESTRICT input,
- const xxh_u8* XXH_RESTRICT secret, xxh_u64 seed64)
-{
-#if defined(__GNUC__) && !defined(__clang__) /* GCC, not Clang */ \
- && defined(__i386__) && defined(__SSE2__) /* x86 + SSE2 */ \
- && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable like XXH32 hack */
- /*
- * UGLY HACK:
- * GCC for x86 tends to autovectorize the 128-bit multiply, resulting in
- * slower code.
- *
- * By forcing seed64 into a register, we disrupt the cost model and
- * cause it to scalarize. See `XXH32_round()`
- *
- * FIXME: Clang's output is still _much_ faster -- On an AMD Ryzen 3600,
- * XXH3_64bits @ len=240 runs at 4.6 GB/s with Clang 9, but 3.3 GB/s on
- * GCC 9.2, despite both emitting scalar code.
- *
- * GCC generates much better scalar code than Clang for the rest of XXH3,
- * which is why finding a more optimal codepath is an interest.
- */
- XXH_COMPILER_GUARD(seed64);
-#endif
- { xxh_u64 const input_lo = XXH_readLE64(input);
- xxh_u64 const input_hi = XXH_readLE64(input+8);
- return XXH3_mul128_fold64(
- input_lo ^ (XXH_readLE64(secret) + seed64),
- input_hi ^ (XXH_readLE64(secret+8) - seed64)
- );
- }
-}
-
-/* For mid range keys, XXH3 uses a Mum-hash variant. */
-XXH_FORCE_INLINE XXH_PUREF XXH64_hash_t
-XXH3_len_17to128_64b(const xxh_u8* XXH_RESTRICT input, size_t len,
- const xxh_u8* XXH_RESTRICT secret, size_t secretSize,
- XXH64_hash_t seed)
-{
- XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize;
- XXH_ASSERT(16 < len && len <= 128);
-
- { xxh_u64 acc = len * XXH_PRIME64_1;
-#if XXH_SIZE_OPT >= 1
- /* Smaller and cleaner, but slightly slower. */
- unsigned int i = (unsigned int)(len - 1) / 32;
- do {
- acc += XXH3_mix16B(input+16 * i, secret+32*i, seed);
- acc += XXH3_mix16B(input+len-16*(i+1), secret+32*i+16, seed);
- } while (i-- != 0);
-#else
- if (len > 32) {
- if (len > 64) {
- if (len > 96) {
- acc += XXH3_mix16B(input+48, secret+96, seed);
- acc += XXH3_mix16B(input+len-64, secret+112, seed);
- }
- acc += XXH3_mix16B(input+32, secret+64, seed);
- acc += XXH3_mix16B(input+len-48, secret+80, seed);
- }
- acc += XXH3_mix16B(input+16, secret+32, seed);
- acc += XXH3_mix16B(input+len-32, secret+48, seed);
- }
- acc += XXH3_mix16B(input+0, secret+0, seed);
- acc += XXH3_mix16B(input+len-16, secret+16, seed);
-#endif
- return XXH3_avalanche(acc);
- }
-}
-
-/*!
- * @brief Maximum size of "short" key in bytes.
- */
-#define XXH3_MIDSIZE_MAX 240
-
-XXH_NO_INLINE XXH_PUREF XXH64_hash_t
-XXH3_len_129to240_64b(const xxh_u8* XXH_RESTRICT input, size_t len,
- const xxh_u8* XXH_RESTRICT secret, size_t secretSize,
- XXH64_hash_t seed)
-{
- XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize;
- XXH_ASSERT(128 < len && len <= XXH3_MIDSIZE_MAX);
-
- #define XXH3_MIDSIZE_STARTOFFSET 3
- #define XXH3_MIDSIZE_LASTOFFSET 17
-
- { xxh_u64 acc = len * XXH_PRIME64_1;
- xxh_u64 acc_end;
- unsigned int const nbRounds = (unsigned int)len / 16;
- unsigned int i;
- XXH_ASSERT(128 < len && len <= XXH3_MIDSIZE_MAX);
- for (i=0; i<8; i++) {
- acc += XXH3_mix16B(input+(16*i), secret+(16*i), seed);
- }
- /* last bytes */
- acc_end = XXH3_mix16B(input + len - 16, secret + XXH3_SECRET_SIZE_MIN - XXH3_MIDSIZE_LASTOFFSET, seed);
- XXH_ASSERT(nbRounds >= 8);
- acc = XXH3_avalanche(acc);
-#if defined(__clang__) /* Clang */ \
- && (defined(__ARM_NEON) || defined(__ARM_NEON__)) /* NEON */ \
- && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable */
- /*
- * UGLY HACK:
- * Clang for ARMv7-A tries to vectorize this loop, similar to GCC x86.
- * In everywhere else, it uses scalar code.
- *
- * For 64->128-bit multiplies, even if the NEON was 100% optimal, it
- * would still be slower than UMAAL (see XXH_mult64to128).
- *
- * Unfortunately, Clang doesn't handle the long multiplies properly and
- * converts them to the nonexistent "vmulq_u64" intrinsic, which is then
- * scalarized into an ugly mess of VMOV.32 instructions.
- *
- * This mess is difficult to avoid without turning autovectorization
- * off completely, but they are usually relatively minor and/or not
- * worth it to fix.
- *
- * This loop is the easiest to fix, as unlike XXH32, this pragma
- * _actually works_ because it is a loop vectorization instead of an
- * SLP vectorization.
- */
- #pragma clang loop vectorize(disable)
-#endif
- for (i=8 ; i < nbRounds; i++) {
- /*
- * Prevents clang for unrolling the acc loop and interleaving with this one.
- */
- XXH_COMPILER_GUARD(acc);
- acc_end += XXH3_mix16B(input+(16*i), secret+(16*(i-8)) + XXH3_MIDSIZE_STARTOFFSET, seed);
- }
- return XXH3_avalanche(acc + acc_end);
- }
-}
-
-
-/* ======= Long Keys ======= */
-
-#define XXH_STRIPE_LEN 64
-#define XXH_SECRET_CONSUME_RATE 8 /* nb of secret bytes consumed at each accumulation */
-#define XXH_ACC_NB (XXH_STRIPE_LEN / sizeof(xxh_u64))
-
-#ifdef XXH_OLD_NAMES
-# define STRIPE_LEN XXH_STRIPE_LEN
-# define ACC_NB XXH_ACC_NB
-#endif
-
-#ifndef XXH_PREFETCH_DIST
-# ifdef __clang__
-# define XXH_PREFETCH_DIST 320
-# else
-# if (XXH_VECTOR == XXH_AVX512)
-# define XXH_PREFETCH_DIST 512
-# else
-# define XXH_PREFETCH_DIST 384
-# endif
-# endif /* __clang__ */
-#endif /* XXH_PREFETCH_DIST */
-
-/*
- * These macros are to generate an XXH3_accumulate() function.
- * The two arguments select the name suffix and target attribute.
- *
- * The name of this symbol is XXH3_accumulate_() and it calls
- * XXH3_accumulate_512_().
- *
- * It may be useful to hand implement this function if the compiler fails to
- * optimize the inline function.
- */
-#define XXH3_ACCUMULATE_TEMPLATE(name) \
-void \
-XXH3_accumulate_##name(xxh_u64* XXH_RESTRICT acc, \
- const xxh_u8* XXH_RESTRICT input, \
- const xxh_u8* XXH_RESTRICT secret, \
- size_t nbStripes) \
-{ \
- size_t n; \
- for (n = 0; n < nbStripes; n++ ) { \
- const xxh_u8* const in = input + n*XXH_STRIPE_LEN; \
- XXH_PREFETCH(in + XXH_PREFETCH_DIST); \
- XXH3_accumulate_512_##name( \
- acc, \
- in, \
- secret + n*XXH_SECRET_CONSUME_RATE); \
- } \
-}
-
-
-XXH_FORCE_INLINE void XXH_writeLE64(void* dst, xxh_u64 v64)
-{
- if (!XXH_CPU_LITTLE_ENDIAN) v64 = XXH_swap64(v64);
- XXH_memcpy(dst, &v64, sizeof(v64));
-}
-
-/* Several intrinsic functions below are supposed to accept __int64 as argument,
- * as documented in https://software.intel.com/sites/landingpage/IntrinsicsGuide/ .
- * However, several environments do not define __int64 type,
- * requiring a workaround.
- */
-#if !defined (__VMS) \
- && (defined (__cplusplus) \
- || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
- typedef int64_t xxh_i64;
-#else
- /* the following type must have a width of 64-bit */
- typedef long long xxh_i64;
-#endif
-
-
-/*
- * XXH3_accumulate_512 is the tightest loop for long inputs, and it is the most optimized.
- *
- * It is a hardened version of UMAC, based off of FARSH's implementation.
- *
- * This was chosen because it adapts quite well to 32-bit, 64-bit, and SIMD
- * implementations, and it is ridiculously fast.
- *
- * We harden it by mixing the original input to the accumulators as well as the product.
- *
- * This means that in the (relatively likely) case of a multiply by zero, the
- * original input is preserved.
- *
- * On 128-bit inputs, we swap 64-bit pairs when we add the input to improve
- * cross-pollination, as otherwise the upper and lower halves would be
- * essentially independent.
- *
- * This doesn't matter on 64-bit hashes since they all get merged together in
- * the end, so we skip the extra step.
- *
- * Both XXH3_64bits and XXH3_128bits use this subroutine.
- */
-
-#if (XXH_VECTOR == XXH_AVX512) \
- || (defined(XXH_DISPATCH_AVX512) && XXH_DISPATCH_AVX512 != 0)
-
-#ifndef XXH_TARGET_AVX512
-# define XXH_TARGET_AVX512 /* disable attribute target */
-#endif
-
-XXH_FORCE_INLINE XXH_TARGET_AVX512 void
-XXH3_accumulate_512_avx512(void* XXH_RESTRICT acc,
- const void* XXH_RESTRICT input,
- const void* XXH_RESTRICT secret)
-{
- __m512i* const xacc = (__m512i *) acc;
- XXH_ASSERT((((size_t)acc) & 63) == 0);
- XXH_STATIC_ASSERT(XXH_STRIPE_LEN == sizeof(__m512i));
-
- {
- /* data_vec = input[0]; */
- __m512i const data_vec = _mm512_loadu_si512 (input);
- /* key_vec = secret[0]; */
- __m512i const key_vec = _mm512_loadu_si512 (secret);
- /* data_key = data_vec ^ key_vec; */
- __m512i const data_key = _mm512_xor_si512 (data_vec, key_vec);
- /* data_key_lo = data_key >> 32; */
- __m512i const data_key_lo = _mm512_srli_epi64 (data_key, 32);
- /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */
- __m512i const product = _mm512_mul_epu32 (data_key, data_key_lo);
- /* xacc[0] += swap(data_vec); */
- __m512i const data_swap = _mm512_shuffle_epi32(data_vec, (_MM_PERM_ENUM)_MM_SHUFFLE(1, 0, 3, 2));
- __m512i const sum = _mm512_add_epi64(*xacc, data_swap);
- /* xacc[0] += product; */
- *xacc = _mm512_add_epi64(product, sum);
- }
-}
-XXH_FORCE_INLINE XXH_TARGET_AVX512 XXH3_ACCUMULATE_TEMPLATE(avx512)
-
-/*
- * XXH3_scrambleAcc: Scrambles the accumulators to improve mixing.
- *
- * Multiplication isn't perfect, as explained by Google in HighwayHash:
- *
- * // Multiplication mixes/scrambles bytes 0-7 of the 64-bit result to
- * // varying degrees. In descending order of goodness, bytes
- * // 3 4 2 5 1 6 0 7 have quality 228 224 164 160 100 96 36 32.
- * // As expected, the upper and lower bytes are much worse.
- *
- * Source: https://github.com/google/highwayhash/blob/0aaf66b/highwayhash/hh_avx2.h#L291
- *
- * Since our algorithm uses a pseudorandom secret to add some variance into the
- * mix, we don't need to (or want to) mix as often or as much as HighwayHash does.
- *
- * This isn't as tight as XXH3_accumulate, but still written in SIMD to avoid
- * extraction.
- *
- * Both XXH3_64bits and XXH3_128bits use this subroutine.
- */
-
-XXH_FORCE_INLINE XXH_TARGET_AVX512 void
-XXH3_scrambleAcc_avx512(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret)
-{
- XXH_ASSERT((((size_t)acc) & 63) == 0);
- XXH_STATIC_ASSERT(XXH_STRIPE_LEN == sizeof(__m512i));
- { __m512i* const xacc = (__m512i*) acc;
- const __m512i prime32 = _mm512_set1_epi32((int)XXH_PRIME32_1);
-
- /* xacc[0] ^= (xacc[0] >> 47) */
- __m512i const acc_vec = *xacc;
- __m512i const shifted = _mm512_srli_epi64 (acc_vec, 47);
- /* xacc[0] ^= secret; */
- __m512i const key_vec = _mm512_loadu_si512 (secret);
- __m512i const data_key = _mm512_ternarylogic_epi32(key_vec, acc_vec, shifted, 0x96 /* key_vec ^ acc_vec ^ shifted */);
-
- /* xacc[0] *= XXH_PRIME32_1; */
- __m512i const data_key_hi = _mm512_srli_epi64 (data_key, 32);
- __m512i const prod_lo = _mm512_mul_epu32 (data_key, prime32);
- __m512i const prod_hi = _mm512_mul_epu32 (data_key_hi, prime32);
- *xacc = _mm512_add_epi64(prod_lo, _mm512_slli_epi64(prod_hi, 32));
- }
-}
-
-XXH_FORCE_INLINE XXH_TARGET_AVX512 void
-XXH3_initCustomSecret_avx512(void* XXH_RESTRICT customSecret, xxh_u64 seed64)
-{
- XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 63) == 0);
- XXH_STATIC_ASSERT(XXH_SEC_ALIGN == 64);
- XXH_ASSERT(((size_t)customSecret & 63) == 0);
- (void)(&XXH_writeLE64);
- { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / sizeof(__m512i);
- __m512i const seed_pos = _mm512_set1_epi64((xxh_i64)seed64);
- __m512i const seed = _mm512_mask_sub_epi64(seed_pos, 0xAA, _mm512_set1_epi8(0), seed_pos);
-
- const __m512i* const src = (const __m512i*) ((const void*) XXH3_kSecret);
- __m512i* const dest = ( __m512i*) customSecret;
- int i;
- XXH_ASSERT(((size_t)src & 63) == 0); /* control alignment */
- XXH_ASSERT(((size_t)dest & 63) == 0);
- for (i=0; i < nbRounds; ++i) {
- dest[i] = _mm512_add_epi64(_mm512_load_si512(src + i), seed);
- } }
-}
-
-#endif
-
-#if (XXH_VECTOR == XXH_AVX2) \
- || (defined(XXH_DISPATCH_AVX2) && XXH_DISPATCH_AVX2 != 0)
-
-#ifndef XXH_TARGET_AVX2
-# define XXH_TARGET_AVX2 /* disable attribute target */
-#endif
-
-XXH_FORCE_INLINE XXH_TARGET_AVX2 void
-XXH3_accumulate_512_avx2( void* XXH_RESTRICT acc,
- const void* XXH_RESTRICT input,
- const void* XXH_RESTRICT secret)
-{
- XXH_ASSERT((((size_t)acc) & 31) == 0);
- { __m256i* const xacc = (__m256i *) acc;
- /* Unaligned. This is mainly for pointer arithmetic, and because
- * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */
- const __m256i* const xinput = (const __m256i *) input;
- /* Unaligned. This is mainly for pointer arithmetic, and because
- * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */
- const __m256i* const xsecret = (const __m256i *) secret;
-
- size_t i;
- for (i=0; i < XXH_STRIPE_LEN/sizeof(__m256i); i++) {
- /* data_vec = xinput[i]; */
- __m256i const data_vec = _mm256_loadu_si256 (xinput+i);
- /* key_vec = xsecret[i]; */
- __m256i const key_vec = _mm256_loadu_si256 (xsecret+i);
- /* data_key = data_vec ^ key_vec; */
- __m256i const data_key = _mm256_xor_si256 (data_vec, key_vec);
- /* data_key_lo = data_key >> 32; */
- __m256i const data_key_lo = _mm256_srli_epi64 (data_key, 32);
- /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */
- __m256i const product = _mm256_mul_epu32 (data_key, data_key_lo);
- /* xacc[i] += swap(data_vec); */
- __m256i const data_swap = _mm256_shuffle_epi32(data_vec, _MM_SHUFFLE(1, 0, 3, 2));
- __m256i const sum = _mm256_add_epi64(xacc[i], data_swap);
- /* xacc[i] += product; */
- xacc[i] = _mm256_add_epi64(product, sum);
- } }
-}
-XXH_FORCE_INLINE XXH_TARGET_AVX2 XXH3_ACCUMULATE_TEMPLATE(avx2)
-
-XXH_FORCE_INLINE XXH_TARGET_AVX2 void
-XXH3_scrambleAcc_avx2(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret)
-{
- XXH_ASSERT((((size_t)acc) & 31) == 0);
- { __m256i* const xacc = (__m256i*) acc;
- /* Unaligned. This is mainly for pointer arithmetic, and because
- * _mm256_loadu_si256 requires a const __m256i * pointer for some reason. */
- const __m256i* const xsecret = (const __m256i *) secret;
- const __m256i prime32 = _mm256_set1_epi32((int)XXH_PRIME32_1);
-
- size_t i;
- for (i=0; i < XXH_STRIPE_LEN/sizeof(__m256i); i++) {
- /* xacc[i] ^= (xacc[i] >> 47) */
- __m256i const acc_vec = xacc[i];
- __m256i const shifted = _mm256_srli_epi64 (acc_vec, 47);
- __m256i const data_vec = _mm256_xor_si256 (acc_vec, shifted);
- /* xacc[i] ^= xsecret; */
- __m256i const key_vec = _mm256_loadu_si256 (xsecret+i);
- __m256i const data_key = _mm256_xor_si256 (data_vec, key_vec);
-
- /* xacc[i] *= XXH_PRIME32_1; */
- __m256i const data_key_hi = _mm256_srli_epi64 (data_key, 32);
- __m256i const prod_lo = _mm256_mul_epu32 (data_key, prime32);
- __m256i const prod_hi = _mm256_mul_epu32 (data_key_hi, prime32);
- xacc[i] = _mm256_add_epi64(prod_lo, _mm256_slli_epi64(prod_hi, 32));
- }
- }
-}
-
-XXH_FORCE_INLINE XXH_TARGET_AVX2 void XXH3_initCustomSecret_avx2(void* XXH_RESTRICT customSecret, xxh_u64 seed64)
-{
- XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 31) == 0);
- XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE / sizeof(__m256i)) == 6);
- XXH_STATIC_ASSERT(XXH_SEC_ALIGN <= 64);
- (void)(&XXH_writeLE64);
- XXH_PREFETCH(customSecret);
- { __m256i const seed = _mm256_set_epi64x((xxh_i64)(0U - seed64), (xxh_i64)seed64, (xxh_i64)(0U - seed64), (xxh_i64)seed64);
-
- const __m256i* const src = (const __m256i*) ((const void*) XXH3_kSecret);
- __m256i* dest = ( __m256i*) customSecret;
-
-# if defined(__GNUC__) || defined(__clang__)
- /*
- * On GCC & Clang, marking 'dest' as modified will cause the compiler:
- * - do not extract the secret from sse registers in the internal loop
- * - use less common registers, and avoid pushing these reg into stack
- */
- XXH_COMPILER_GUARD(dest);
-# endif
- XXH_ASSERT(((size_t)src & 31) == 0); /* control alignment */
- XXH_ASSERT(((size_t)dest & 31) == 0);
-
- /* GCC -O2 need unroll loop manually */
- dest[0] = _mm256_add_epi64(_mm256_load_si256(src+0), seed);
- dest[1] = _mm256_add_epi64(_mm256_load_si256(src+1), seed);
- dest[2] = _mm256_add_epi64(_mm256_load_si256(src+2), seed);
- dest[3] = _mm256_add_epi64(_mm256_load_si256(src+3), seed);
- dest[4] = _mm256_add_epi64(_mm256_load_si256(src+4), seed);
- dest[5] = _mm256_add_epi64(_mm256_load_si256(src+5), seed);
- }
-}
-
-#endif
-
-/* x86dispatch always generates SSE2 */
-#if (XXH_VECTOR == XXH_SSE2) || defined(XXH_X86DISPATCH)
-
-#ifndef XXH_TARGET_SSE2
-# define XXH_TARGET_SSE2 /* disable attribute target */
-#endif
-
-XXH_FORCE_INLINE XXH_TARGET_SSE2 void
-XXH3_accumulate_512_sse2( void* XXH_RESTRICT acc,
- const void* XXH_RESTRICT input,
- const void* XXH_RESTRICT secret)
-{
- /* SSE2 is just a half-scale version of the AVX2 version. */
- XXH_ASSERT((((size_t)acc) & 15) == 0);
- { __m128i* const xacc = (__m128i *) acc;
- /* Unaligned. This is mainly for pointer arithmetic, and because
- * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */
- const __m128i* const xinput = (const __m128i *) input;
- /* Unaligned. This is mainly for pointer arithmetic, and because
- * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */
- const __m128i* const xsecret = (const __m128i *) secret;
-
- size_t i;
- for (i=0; i < XXH_STRIPE_LEN/sizeof(__m128i); i++) {
- /* data_vec = xinput[i]; */
- __m128i const data_vec = _mm_loadu_si128 (xinput+i);
- /* key_vec = xsecret[i]; */
- __m128i const key_vec = _mm_loadu_si128 (xsecret+i);
- /* data_key = data_vec ^ key_vec; */
- __m128i const data_key = _mm_xor_si128 (data_vec, key_vec);
- /* data_key_lo = data_key >> 32; */
- __m128i const data_key_lo = _mm_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1));
- /* product = (data_key & 0xffffffff) * (data_key_lo & 0xffffffff); */
- __m128i const product = _mm_mul_epu32 (data_key, data_key_lo);
- /* xacc[i] += swap(data_vec); */
- __m128i const data_swap = _mm_shuffle_epi32(data_vec, _MM_SHUFFLE(1,0,3,2));
- __m128i const sum = _mm_add_epi64(xacc[i], data_swap);
- /* xacc[i] += product; */
- xacc[i] = _mm_add_epi64(product, sum);
- } }
-}
-XXH_FORCE_INLINE XXH_TARGET_SSE2 XXH3_ACCUMULATE_TEMPLATE(sse2)
-
-XXH_FORCE_INLINE XXH_TARGET_SSE2 void
-XXH3_scrambleAcc_sse2(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret)
-{
- XXH_ASSERT((((size_t)acc) & 15) == 0);
- { __m128i* const xacc = (__m128i*) acc;
- /* Unaligned. This is mainly for pointer arithmetic, and because
- * _mm_loadu_si128 requires a const __m128i * pointer for some reason. */
- const __m128i* const xsecret = (const __m128i *) secret;
- const __m128i prime32 = _mm_set1_epi32((int)XXH_PRIME32_1);
-
- size_t i;
- for (i=0; i < XXH_STRIPE_LEN/sizeof(__m128i); i++) {
- /* xacc[i] ^= (xacc[i] >> 47) */
- __m128i const acc_vec = xacc[i];
- __m128i const shifted = _mm_srli_epi64 (acc_vec, 47);
- __m128i const data_vec = _mm_xor_si128 (acc_vec, shifted);
- /* xacc[i] ^= xsecret[i]; */
- __m128i const key_vec = _mm_loadu_si128 (xsecret+i);
- __m128i const data_key = _mm_xor_si128 (data_vec, key_vec);
-
- /* xacc[i] *= XXH_PRIME32_1; */
- __m128i const data_key_hi = _mm_shuffle_epi32 (data_key, _MM_SHUFFLE(0, 3, 0, 1));
- __m128i const prod_lo = _mm_mul_epu32 (data_key, prime32);
- __m128i const prod_hi = _mm_mul_epu32 (data_key_hi, prime32);
- xacc[i] = _mm_add_epi64(prod_lo, _mm_slli_epi64(prod_hi, 32));
- }
- }
-}
-
-XXH_FORCE_INLINE XXH_TARGET_SSE2 void XXH3_initCustomSecret_sse2(void* XXH_RESTRICT customSecret, xxh_u64 seed64)
-{
- XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 15) == 0);
- (void)(&XXH_writeLE64);
- { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / sizeof(__m128i);
-
-# if defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER < 1900
- /* MSVC 32bit mode does not support _mm_set_epi64x before 2015 */
- XXH_ALIGN(16) const xxh_i64 seed64x2[2] = { (xxh_i64)seed64, (xxh_i64)(0U - seed64) };
- __m128i const seed = _mm_load_si128((__m128i const*)seed64x2);
-# else
- __m128i const seed = _mm_set_epi64x((xxh_i64)(0U - seed64), (xxh_i64)seed64);
-# endif
- int i;
-
- const void* const src16 = XXH3_kSecret;
- __m128i* dst16 = (__m128i*) customSecret;
-# if defined(__GNUC__) || defined(__clang__)
- /*
- * On GCC & Clang, marking 'dest' as modified will cause the compiler:
- * - do not extract the secret from sse registers in the internal loop
- * - use less common registers, and avoid pushing these reg into stack
- */
- XXH_COMPILER_GUARD(dst16);
-# endif
- XXH_ASSERT(((size_t)src16 & 15) == 0); /* control alignment */
- XXH_ASSERT(((size_t)dst16 & 15) == 0);
-
- for (i=0; i < nbRounds; ++i) {
- dst16[i] = _mm_add_epi64(_mm_load_si128((const __m128i *)src16+i), seed);
- } }
-}
-
-#endif
-
-#if (XXH_VECTOR == XXH_NEON)
-
-/* forward declarations for the scalar routines */
-XXH_FORCE_INLINE void
-XXH3_scalarRound(void* XXH_RESTRICT acc, void const* XXH_RESTRICT input,
- void const* XXH_RESTRICT secret, size_t lane);
-
-XXH_FORCE_INLINE void
-XXH3_scalarScrambleRound(void* XXH_RESTRICT acc,
- void const* XXH_RESTRICT secret, size_t lane);
-
-/*!
- * @internal
- * @brief The bulk processing loop for NEON and WASM SIMD128.
- *
- * The NEON code path is actually partially scalar when running on AArch64. This
- * is to optimize the pipelining and can have up to 15% speedup depending on the
- * CPU, and it also mitigates some GCC codegen issues.
- *
- * @see XXH3_NEON_LANES for configuring this and details about this optimization.
- *
- * NEON's 32-bit to 64-bit long multiply takes a half vector of 32-bit
- * integers instead of the other platforms which mask full 64-bit vectors,
- * so the setup is more complicated than just shifting right.
- *
- * Additionally, there is an optimization for 4 lanes at once noted below.
- *
- * Since, as stated, the most optimal amount of lanes for Cortexes is 6,
- * there needs to be *three* versions of the accumulate operation used
- * for the remaining 2 lanes.
- *
- * WASM's SIMD128 uses SIMDe's arm_neon.h polyfill because the intrinsics overlap
- * nearly perfectly.
- */
-
-XXH_FORCE_INLINE void
-XXH3_accumulate_512_neon( void* XXH_RESTRICT acc,
- const void* XXH_RESTRICT input,
- const void* XXH_RESTRICT secret)
-{
- XXH_ASSERT((((size_t)acc) & 15) == 0);
- XXH_STATIC_ASSERT(XXH3_NEON_LANES > 0 && XXH3_NEON_LANES <= XXH_ACC_NB && XXH3_NEON_LANES % 2 == 0);
- { /* GCC for darwin arm64 does not like aliasing here */
- xxh_aliasing_uint64x2_t* const xacc = (xxh_aliasing_uint64x2_t*) acc;
- /* We don't use a uint32x4_t pointer because it causes bus errors on ARMv7. */
- uint8_t const* xinput = (const uint8_t *) input;
- uint8_t const* xsecret = (const uint8_t *) secret;
-
- size_t i;
-#ifdef __wasm_simd128__
- /*
- * On WASM SIMD128, Clang emits direct address loads when XXH3_kSecret
- * is constant propagated, which results in it converting it to this
- * inside the loop:
- *
- * a = v128.load(XXH3_kSecret + 0 + $secret_offset, offset = 0)
- * b = v128.load(XXH3_kSecret + 16 + $secret_offset, offset = 0)
- * ...
- *
- * This requires a full 32-bit address immediate (and therefore a 6 byte
- * instruction) as well as an add for each offset.
- *
- * Putting an asm guard prevents it from folding (at the cost of losing
- * the alignment hint), and uses the free offset in `v128.load` instead
- * of adding secret_offset each time which overall reduces code size by
- * about a kilobyte and improves performance.
- */
- XXH_COMPILER_GUARD(xsecret);
-#endif
- /* Scalar lanes use the normal scalarRound routine */
- for (i = XXH3_NEON_LANES; i < XXH_ACC_NB; i++) {
- XXH3_scalarRound(acc, input, secret, i);
- }
- i = 0;
- /* 4 NEON lanes at a time. */
- for (; i+1 < XXH3_NEON_LANES / 2; i+=2) {
- /* data_vec = xinput[i]; */
- uint64x2_t data_vec_1 = XXH_vld1q_u64(xinput + (i * 16));
- uint64x2_t data_vec_2 = XXH_vld1q_u64(xinput + ((i+1) * 16));
- /* key_vec = xsecret[i]; */
- uint64x2_t key_vec_1 = XXH_vld1q_u64(xsecret + (i * 16));
- uint64x2_t key_vec_2 = XXH_vld1q_u64(xsecret + ((i+1) * 16));
- /* data_swap = swap(data_vec) */
- uint64x2_t data_swap_1 = vextq_u64(data_vec_1, data_vec_1, 1);
- uint64x2_t data_swap_2 = vextq_u64(data_vec_2, data_vec_2, 1);
- /* data_key = data_vec ^ key_vec; */
- uint64x2_t data_key_1 = veorq_u64(data_vec_1, key_vec_1);
- uint64x2_t data_key_2 = veorq_u64(data_vec_2, key_vec_2);
-
- /*
- * If we reinterpret the 64x2 vectors as 32x4 vectors, we can use a
- * de-interleave operation for 4 lanes in 1 step with `vuzpq_u32` to
- * get one vector with the low 32 bits of each lane, and one vector
- * with the high 32 bits of each lane.
- *
- * The intrinsic returns a double vector because the original ARMv7-a
- * instruction modified both arguments in place. AArch64 and SIMD128 emit
- * two instructions from this intrinsic.
- *
- * [ dk11L | dk11H | dk12L | dk12H ] -> [ dk11L | dk12L | dk21L | dk22L ]
- * [ dk21L | dk21H | dk22L | dk22H ] -> [ dk11H | dk12H | dk21H | dk22H ]
- */
- uint32x4x2_t unzipped = vuzpq_u32(
- vreinterpretq_u32_u64(data_key_1),
- vreinterpretq_u32_u64(data_key_2)
- );
- /* data_key_lo = data_key & 0xFFFFFFFF */
- uint32x4_t data_key_lo = unzipped.val[0];
- /* data_key_hi = data_key >> 32 */
- uint32x4_t data_key_hi = unzipped.val[1];
- /*
- * Then, we can split the vectors horizontally and multiply which, as for most
- * widening intrinsics, have a variant that works on both high half vectors
- * for free on AArch64. A similar instruction is available on SIMD128.
- *
- * sum = data_swap + (u64x2) data_key_lo * (u64x2) data_key_hi
- */
- uint64x2_t sum_1 = XXH_vmlal_low_u32(data_swap_1, data_key_lo, data_key_hi);
- uint64x2_t sum_2 = XXH_vmlal_high_u32(data_swap_2, data_key_lo, data_key_hi);
- /*
- * Clang reorders
- * a += b * c; // umlal swap.2d, dkl.2s, dkh.2s
- * c += a; // add acc.2d, acc.2d, swap.2d
- * to
- * c += a; // add acc.2d, acc.2d, swap.2d
- * c += b * c; // umlal acc.2d, dkl.2s, dkh.2s
- *
- * While it would make sense in theory since the addition is faster,
- * for reasons likely related to umlal being limited to certain NEON
- * pipelines, this is worse. A compiler guard fixes this.
- */
- XXH_COMPILER_GUARD_CLANG_NEON(sum_1);
- XXH_COMPILER_GUARD_CLANG_NEON(sum_2);
- /* xacc[i] = acc_vec + sum; */
- xacc[i] = vaddq_u64(xacc[i], sum_1);
- xacc[i+1] = vaddq_u64(xacc[i+1], sum_2);
- }
- /* Operate on the remaining NEON lanes 2 at a time. */
- for (; i < XXH3_NEON_LANES / 2; i++) {
- /* data_vec = xinput[i]; */
- uint64x2_t data_vec = XXH_vld1q_u64(xinput + (i * 16));
- /* key_vec = xsecret[i]; */
- uint64x2_t key_vec = XXH_vld1q_u64(xsecret + (i * 16));
- /* acc_vec_2 = swap(data_vec) */
- uint64x2_t data_swap = vextq_u64(data_vec, data_vec, 1);
- /* data_key = data_vec ^ key_vec; */
- uint64x2_t data_key = veorq_u64(data_vec, key_vec);
- /* For two lanes, just use VMOVN and VSHRN. */
- /* data_key_lo = data_key & 0xFFFFFFFF; */
- uint32x2_t data_key_lo = vmovn_u64(data_key);
- /* data_key_hi = data_key >> 32; */
- uint32x2_t data_key_hi = vshrn_n_u64(data_key, 32);
- /* sum = data_swap + (u64x2) data_key_lo * (u64x2) data_key_hi; */
- uint64x2_t sum = vmlal_u32(data_swap, data_key_lo, data_key_hi);
- /* Same Clang workaround as before */
- XXH_COMPILER_GUARD_CLANG_NEON(sum);
- /* xacc[i] = acc_vec + sum; */
- xacc[i] = vaddq_u64 (xacc[i], sum);
- }
- }
-}
-XXH_FORCE_INLINE XXH3_ACCUMULATE_TEMPLATE(neon)
-
-XXH_FORCE_INLINE void
-XXH3_scrambleAcc_neon(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret)
-{
- XXH_ASSERT((((size_t)acc) & 15) == 0);
-
- { xxh_aliasing_uint64x2_t* xacc = (xxh_aliasing_uint64x2_t*) acc;
- uint8_t const* xsecret = (uint8_t const*) secret;
-
- size_t i;
- /* WASM uses operator overloads and doesn't need these. */
-#ifndef __wasm_simd128__
- /* { prime32_1, prime32_1 } */
- uint32x2_t const kPrimeLo = vdup_n_u32(XXH_PRIME32_1);
- /* { 0, prime32_1, 0, prime32_1 } */
- uint32x4_t const kPrimeHi = vreinterpretq_u32_u64(vdupq_n_u64((xxh_u64)XXH_PRIME32_1 << 32));
-#endif
-
- /* AArch64 uses both scalar and neon at the same time */
- for (i = XXH3_NEON_LANES; i < XXH_ACC_NB; i++) {
- XXH3_scalarScrambleRound(acc, secret, i);
- }
- for (i=0; i < XXH3_NEON_LANES / 2; i++) {
- /* xacc[i] ^= (xacc[i] >> 47); */
- uint64x2_t acc_vec = xacc[i];
- uint64x2_t shifted = vshrq_n_u64(acc_vec, 47);
- uint64x2_t data_vec = veorq_u64(acc_vec, shifted);
-
- /* xacc[i] ^= xsecret[i]; */
- uint64x2_t key_vec = XXH_vld1q_u64(xsecret + (i * 16));
- uint64x2_t data_key = veorq_u64(data_vec, key_vec);
- /* xacc[i] *= XXH_PRIME32_1 */
-#ifdef __wasm_simd128__
- /* SIMD128 has multiply by u64x2, use it instead of expanding and scalarizing */
- xacc[i] = data_key * XXH_PRIME32_1;
-#else
- /*
- * Expanded version with portable NEON intrinsics
- *
- * lo(x) * lo(y) + (hi(x) * lo(y) << 32)
- *
- * prod_hi = hi(data_key) * lo(prime) << 32
- *
- * Since we only need 32 bits of this multiply a trick can be used, reinterpreting the vector
- * as a uint32x4_t and multiplying by { 0, prime, 0, prime } to cancel out the unwanted bits
- * and avoid the shift.
- */
- uint32x4_t prod_hi = vmulq_u32 (vreinterpretq_u32_u64(data_key), kPrimeHi);
- /* Extract low bits for vmlal_u32 */
- uint32x2_t data_key_lo = vmovn_u64(data_key);
- /* xacc[i] = prod_hi + lo(data_key) * XXH_PRIME32_1; */
- xacc[i] = vmlal_u32(vreinterpretq_u64_u32(prod_hi), data_key_lo, kPrimeLo);
-#endif
- }
- }
-}
-#endif
-
-#if (XXH_VECTOR == XXH_VSX)
-
-XXH_FORCE_INLINE void
-XXH3_accumulate_512_vsx( void* XXH_RESTRICT acc,
- const void* XXH_RESTRICT input,
- const void* XXH_RESTRICT secret)
-{
- /* presumed aligned */
- xxh_aliasing_u64x2* const xacc = (xxh_aliasing_u64x2*) acc;
- xxh_u8 const* const xinput = (xxh_u8 const*) input; /* no alignment restriction */
- xxh_u8 const* const xsecret = (xxh_u8 const*) secret; /* no alignment restriction */
- xxh_u64x2 const v32 = { 32, 32 };
- size_t i;
- for (i = 0; i < XXH_STRIPE_LEN / sizeof(xxh_u64x2); i++) {
- /* data_vec = xinput[i]; */
- xxh_u64x2 const data_vec = XXH_vec_loadu(xinput + 16*i);
- /* key_vec = xsecret[i]; */
- xxh_u64x2 const key_vec = XXH_vec_loadu(xsecret + 16*i);
- xxh_u64x2 const data_key = data_vec ^ key_vec;
- /* shuffled = (data_key << 32) | (data_key >> 32); */
- xxh_u32x4 const shuffled = (xxh_u32x4)vec_rl(data_key, v32);
- /* product = ((xxh_u64x2)data_key & 0xFFFFFFFF) * ((xxh_u64x2)shuffled & 0xFFFFFFFF); */
- xxh_u64x2 const product = XXH_vec_mulo((xxh_u32x4)data_key, shuffled);
- /* acc_vec = xacc[i]; */
- xxh_u64x2 acc_vec = xacc[i];
- acc_vec += product;
-
- /* swap high and low halves */
-#ifdef __s390x__
- acc_vec += vec_permi(data_vec, data_vec, 2);
-#else
- acc_vec += vec_xxpermdi(data_vec, data_vec, 2);
-#endif
- xacc[i] = acc_vec;
- }
-}
-XXH_FORCE_INLINE XXH3_ACCUMULATE_TEMPLATE(vsx)
-
-XXH_FORCE_INLINE void
-XXH3_scrambleAcc_vsx(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret)
-{
- XXH_ASSERT((((size_t)acc) & 15) == 0);
-
- { xxh_aliasing_u64x2* const xacc = (xxh_aliasing_u64x2*) acc;
- const xxh_u8* const xsecret = (const xxh_u8*) secret;
- /* constants */
- xxh_u64x2 const v32 = { 32, 32 };
- xxh_u64x2 const v47 = { 47, 47 };
- xxh_u32x4 const prime = { XXH_PRIME32_1, XXH_PRIME32_1, XXH_PRIME32_1, XXH_PRIME32_1 };
- size_t i;
- for (i = 0; i < XXH_STRIPE_LEN / sizeof(xxh_u64x2); i++) {
- /* xacc[i] ^= (xacc[i] >> 47); */
- xxh_u64x2 const acc_vec = xacc[i];
- xxh_u64x2 const data_vec = acc_vec ^ (acc_vec >> v47);
-
- /* xacc[i] ^= xsecret[i]; */
- xxh_u64x2 const key_vec = XXH_vec_loadu(xsecret + 16*i);
- xxh_u64x2 const data_key = data_vec ^ key_vec;
-
- /* xacc[i] *= XXH_PRIME32_1 */
- /* prod_lo = ((xxh_u64x2)data_key & 0xFFFFFFFF) * ((xxh_u64x2)prime & 0xFFFFFFFF); */
- xxh_u64x2 const prod_even = XXH_vec_mule((xxh_u32x4)data_key, prime);
- /* prod_hi = ((xxh_u64x2)data_key >> 32) * ((xxh_u64x2)prime >> 32); */
- xxh_u64x2 const prod_odd = XXH_vec_mulo((xxh_u32x4)data_key, prime);
- xacc[i] = prod_odd + (prod_even << v32);
- } }
-}
-
-#endif
-
-#if (XXH_VECTOR == XXH_SVE)
-
-XXH_FORCE_INLINE void
-XXH3_accumulate_512_sve( void* XXH_RESTRICT acc,
- const void* XXH_RESTRICT input,
- const void* XXH_RESTRICT secret)
-{
- uint64_t *xacc = (uint64_t *)acc;
- const uint64_t *xinput = (const uint64_t *)(const void *)input;
- const uint64_t *xsecret = (const uint64_t *)(const void *)secret;
- svuint64_t kSwap = sveor_n_u64_z(svptrue_b64(), svindex_u64(0, 1), 1);
- uint64_t element_count = svcntd();
- if (element_count >= 8) {
- svbool_t mask = svptrue_pat_b64(SV_VL8);
- svuint64_t vacc = svld1_u64(mask, xacc);
- ACCRND(vacc, 0);
- svst1_u64(mask, xacc, vacc);
- } else if (element_count == 2) { /* sve128 */
- svbool_t mask = svptrue_pat_b64(SV_VL2);
- svuint64_t acc0 = svld1_u64(mask, xacc + 0);
- svuint64_t acc1 = svld1_u64(mask, xacc + 2);
- svuint64_t acc2 = svld1_u64(mask, xacc + 4);
- svuint64_t acc3 = svld1_u64(mask, xacc + 6);
- ACCRND(acc0, 0);
- ACCRND(acc1, 2);
- ACCRND(acc2, 4);
- ACCRND(acc3, 6);
- svst1_u64(mask, xacc + 0, acc0);
- svst1_u64(mask, xacc + 2, acc1);
- svst1_u64(mask, xacc + 4, acc2);
- svst1_u64(mask, xacc + 6, acc3);
- } else {
- svbool_t mask = svptrue_pat_b64(SV_VL4);
- svuint64_t acc0 = svld1_u64(mask, xacc + 0);
- svuint64_t acc1 = svld1_u64(mask, xacc + 4);
- ACCRND(acc0, 0);
- ACCRND(acc1, 4);
- svst1_u64(mask, xacc + 0, acc0);
- svst1_u64(mask, xacc + 4, acc1);
- }
-}
-
-XXH_FORCE_INLINE void
-XXH3_accumulate_sve(xxh_u64* XXH_RESTRICT acc,
- const xxh_u8* XXH_RESTRICT input,
- const xxh_u8* XXH_RESTRICT secret,
- size_t nbStripes)
-{
- if (nbStripes != 0) {
- uint64_t *xacc = (uint64_t *)acc;
- const uint64_t *xinput = (const uint64_t *)(const void *)input;
- const uint64_t *xsecret = (const uint64_t *)(const void *)secret;
- svuint64_t kSwap = sveor_n_u64_z(svptrue_b64(), svindex_u64(0, 1), 1);
- uint64_t element_count = svcntd();
- if (element_count >= 8) {
- svbool_t mask = svptrue_pat_b64(SV_VL8);
- svuint64_t vacc = svld1_u64(mask, xacc + 0);
- do {
- /* svprfd(svbool_t, void *, enum svfprop); */
- svprfd(mask, xinput + 128, SV_PLDL1STRM);
- ACCRND(vacc, 0);
- xinput += 8;
- xsecret += 1;
- nbStripes--;
- } while (nbStripes != 0);
-
- svst1_u64(mask, xacc + 0, vacc);
- } else if (element_count == 2) { /* sve128 */
- svbool_t mask = svptrue_pat_b64(SV_VL2);
- svuint64_t acc0 = svld1_u64(mask, xacc + 0);
- svuint64_t acc1 = svld1_u64(mask, xacc + 2);
- svuint64_t acc2 = svld1_u64(mask, xacc + 4);
- svuint64_t acc3 = svld1_u64(mask, xacc + 6);
- do {
- svprfd(mask, xinput + 128, SV_PLDL1STRM);
- ACCRND(acc0, 0);
- ACCRND(acc1, 2);
- ACCRND(acc2, 4);
- ACCRND(acc3, 6);
- xinput += 8;
- xsecret += 1;
- nbStripes--;
- } while (nbStripes != 0);
-
- svst1_u64(mask, xacc + 0, acc0);
- svst1_u64(mask, xacc + 2, acc1);
- svst1_u64(mask, xacc + 4, acc2);
- svst1_u64(mask, xacc + 6, acc3);
- } else {
- svbool_t mask = svptrue_pat_b64(SV_VL4);
- svuint64_t acc0 = svld1_u64(mask, xacc + 0);
- svuint64_t acc1 = svld1_u64(mask, xacc + 4);
- do {
- svprfd(mask, xinput + 128, SV_PLDL1STRM);
- ACCRND(acc0, 0);
- ACCRND(acc1, 4);
- xinput += 8;
- xsecret += 1;
- nbStripes--;
- } while (nbStripes != 0);
-
- svst1_u64(mask, xacc + 0, acc0);
- svst1_u64(mask, xacc + 4, acc1);
- }
- }
-}
-
-#endif
-
-/* scalar variants - universal */
-
-#if defined(__aarch64__) && (defined(__GNUC__) || defined(__clang__))
-/*
- * In XXH3_scalarRound(), GCC and Clang have a similar codegen issue, where they
- * emit an excess mask and a full 64-bit multiply-add (MADD X-form).
- *
- * While this might not seem like much, as AArch64 is a 64-bit architecture, only
- * big Cortex designs have a full 64-bit multiplier.
- *
- * On the little cores, the smaller 32-bit multiplier is used, and full 64-bit
- * multiplies expand to 2-3 multiplies in microcode. This has a major penalty
- * of up to 4 latency cycles and 2 stall cycles in the multiply pipeline.
- *
- * Thankfully, AArch64 still provides the 32-bit long multiply-add (UMADDL) which does
- * not have this penalty and does the mask automatically.
- */
-XXH_FORCE_INLINE xxh_u64
-XXH_mult32to64_add64(xxh_u64 lhs, xxh_u64 rhs, xxh_u64 acc)
-{
- xxh_u64 ret;
- /* note: %x = 64-bit register, %w = 32-bit register */
- __asm__("umaddl %x0, %w1, %w2, %x3" : "=r" (ret) : "r" (lhs), "r" (rhs), "r" (acc));
- return ret;
-}
-#else
-XXH_FORCE_INLINE xxh_u64
-XXH_mult32to64_add64(xxh_u64 lhs, xxh_u64 rhs, xxh_u64 acc)
-{
- return XXH_mult32to64((xxh_u32)lhs, (xxh_u32)rhs) + acc;
-}
-#endif
-
-/*!
- * @internal
- * @brief Scalar round for @ref XXH3_accumulate_512_scalar().
- *
- * This is extracted to its own function because the NEON path uses a combination
- * of NEON and scalar.
- */
-XXH_FORCE_INLINE void
-XXH3_scalarRound(void* XXH_RESTRICT acc,
- void const* XXH_RESTRICT input,
- void const* XXH_RESTRICT secret,
- size_t lane)
-{
- xxh_u64* xacc = (xxh_u64*) acc;
- xxh_u8 const* xinput = (xxh_u8 const*) input;
- xxh_u8 const* xsecret = (xxh_u8 const*) secret;
- XXH_ASSERT(lane < XXH_ACC_NB);
- XXH_ASSERT(((size_t)acc & (XXH_ACC_ALIGN-1)) == 0);
- {
- xxh_u64 const data_val = XXH_readLE64(xinput + lane * 8);
- xxh_u64 const data_key = data_val ^ XXH_readLE64(xsecret + lane * 8);
- xacc[lane ^ 1] += data_val; /* swap adjacent lanes */
- xacc[lane] = XXH_mult32to64_add64(data_key /* & 0xFFFFFFFF */, data_key >> 32, xacc[lane]);
- }
-}
-
-/*!
- * @internal
- * @brief Processes a 64 byte block of data using the scalar path.
- */
-XXH_FORCE_INLINE void
-XXH3_accumulate_512_scalar(void* XXH_RESTRICT acc,
- const void* XXH_RESTRICT input,
- const void* XXH_RESTRICT secret)
-{
- size_t i;
- /* ARM GCC refuses to unroll this loop, resulting in a 24% slowdown on ARMv6. */
-#if defined(__GNUC__) && !defined(__clang__) \
- && (defined(__arm__) || defined(__thumb2__)) \
- && defined(__ARM_FEATURE_UNALIGNED) /* no unaligned access just wastes bytes */ \
- && XXH_SIZE_OPT <= 0
-# pragma GCC unroll 8
-#endif
- for (i=0; i < XXH_ACC_NB; i++) {
- XXH3_scalarRound(acc, input, secret, i);
- }
-}
-XXH_FORCE_INLINE XXH3_ACCUMULATE_TEMPLATE(scalar)
-
-/*!
- * @internal
- * @brief Scalar scramble step for @ref XXH3_scrambleAcc_scalar().
- *
- * This is extracted to its own function because the NEON path uses a combination
- * of NEON and scalar.
- */
-XXH_FORCE_INLINE void
-XXH3_scalarScrambleRound(void* XXH_RESTRICT acc,
- void const* XXH_RESTRICT secret,
- size_t lane)
-{
- xxh_u64* const xacc = (xxh_u64*) acc; /* presumed aligned */
- const xxh_u8* const xsecret = (const xxh_u8*) secret; /* no alignment restriction */
- XXH_ASSERT((((size_t)acc) & (XXH_ACC_ALIGN-1)) == 0);
- XXH_ASSERT(lane < XXH_ACC_NB);
- {
- xxh_u64 const key64 = XXH_readLE64(xsecret + lane * 8);
- xxh_u64 acc64 = xacc[lane];
- acc64 = XXH_xorshift64(acc64, 47);
- acc64 ^= key64;
- acc64 *= XXH_PRIME32_1;
- xacc[lane] = acc64;
- }
-}
-
-/*!
- * @internal
- * @brief Scrambles the accumulators after a large chunk has been read
- */
-XXH_FORCE_INLINE void
-XXH3_scrambleAcc_scalar(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret)
-{
- size_t i;
- for (i=0; i < XXH_ACC_NB; i++) {
- XXH3_scalarScrambleRound(acc, secret, i);
- }
-}
-
-XXH_FORCE_INLINE void
-XXH3_initCustomSecret_scalar(void* XXH_RESTRICT customSecret, xxh_u64 seed64)
-{
- /*
- * We need a separate pointer for the hack below,
- * which requires a non-const pointer.
- * Any decent compiler will optimize this out otherwise.
- */
- const xxh_u8* kSecretPtr = XXH3_kSecret;
- XXH_STATIC_ASSERT((XXH_SECRET_DEFAULT_SIZE & 15) == 0);
-
-#if defined(__GNUC__) && defined(__aarch64__)
- /*
- * UGLY HACK:
- * GCC and Clang generate a bunch of MOV/MOVK pairs for aarch64, and they are
- * placed sequentially, in order, at the top of the unrolled loop.
- *
- * While MOVK is great for generating constants (2 cycles for a 64-bit
- * constant compared to 4 cycles for LDR), it fights for bandwidth with
- * the arithmetic instructions.
- *
- * I L S
- * MOVK
- * MOVK
- * MOVK
- * MOVK
- * ADD
- * SUB STR
- * STR
- * By forcing loads from memory (as the asm line causes the compiler to assume
- * that XXH3_kSecretPtr has been changed), the pipelines are used more
- * efficiently:
- * I L S
- * LDR
- * ADD LDR
- * SUB STR
- * STR
- *
- * See XXH3_NEON_LANES for details on the pipsline.
- *
- * XXH3_64bits_withSeed, len == 256, Snapdragon 835
- * without hack: 2654.4 MB/s
- * with hack: 3202.9 MB/s
- */
- XXH_COMPILER_GUARD(kSecretPtr);
-#endif
- { int const nbRounds = XXH_SECRET_DEFAULT_SIZE / 16;
- int i;
- for (i=0; i < nbRounds; i++) {
- /*
- * The asm hack causes the compiler to assume that kSecretPtr aliases with
- * customSecret, and on aarch64, this prevented LDP from merging two
- * loads together for free. Putting the loads together before the stores
- * properly generates LDP.
- */
- xxh_u64 lo = XXH_readLE64(kSecretPtr + 16*i) + seed64;
- xxh_u64 hi = XXH_readLE64(kSecretPtr + 16*i + 8) - seed64;
- XXH_writeLE64((xxh_u8*)customSecret + 16*i, lo);
- XXH_writeLE64((xxh_u8*)customSecret + 16*i + 8, hi);
- } }
-}
-
-
-typedef void (*XXH3_f_accumulate)(xxh_u64* XXH_RESTRICT, const xxh_u8* XXH_RESTRICT, const xxh_u8* XXH_RESTRICT, size_t);
-typedef void (*XXH3_f_scrambleAcc)(void* XXH_RESTRICT, const void*);
-typedef void (*XXH3_f_initCustomSecret)(void* XXH_RESTRICT, xxh_u64);
-
-
-#if (XXH_VECTOR == XXH_AVX512)
-
-#define XXH3_accumulate_512 XXH3_accumulate_512_avx512
-#define XXH3_accumulate XXH3_accumulate_avx512
-#define XXH3_scrambleAcc XXH3_scrambleAcc_avx512
-#define XXH3_initCustomSecret XXH3_initCustomSecret_avx512
-
-#elif (XXH_VECTOR == XXH_AVX2)
-
-#define XXH3_accumulate_512 XXH3_accumulate_512_avx2
-#define XXH3_accumulate XXH3_accumulate_avx2
-#define XXH3_scrambleAcc XXH3_scrambleAcc_avx2
-#define XXH3_initCustomSecret XXH3_initCustomSecret_avx2
-
-#elif (XXH_VECTOR == XXH_SSE2)
-
-#define XXH3_accumulate_512 XXH3_accumulate_512_sse2
-#define XXH3_accumulate XXH3_accumulate_sse2
-#define XXH3_scrambleAcc XXH3_scrambleAcc_sse2
-#define XXH3_initCustomSecret XXH3_initCustomSecret_sse2
-
-#elif (XXH_VECTOR == XXH_NEON)
-
-#define XXH3_accumulate_512 XXH3_accumulate_512_neon
-#define XXH3_accumulate XXH3_accumulate_neon
-#define XXH3_scrambleAcc XXH3_scrambleAcc_neon
-#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar
-
-#elif (XXH_VECTOR == XXH_VSX)
-
-#define XXH3_accumulate_512 XXH3_accumulate_512_vsx
-#define XXH3_accumulate XXH3_accumulate_vsx
-#define XXH3_scrambleAcc XXH3_scrambleAcc_vsx
-#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar
-
-#elif (XXH_VECTOR == XXH_SVE)
-#define XXH3_accumulate_512 XXH3_accumulate_512_sve
-#define XXH3_accumulate XXH3_accumulate_sve
-#define XXH3_scrambleAcc XXH3_scrambleAcc_scalar
-#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar
-
-#else /* scalar */
-
-#define XXH3_accumulate_512 XXH3_accumulate_512_scalar
-#define XXH3_accumulate XXH3_accumulate_scalar
-#define XXH3_scrambleAcc XXH3_scrambleAcc_scalar
-#define XXH3_initCustomSecret XXH3_initCustomSecret_scalar
-
-#endif
-
-#if XXH_SIZE_OPT >= 1 /* don't do SIMD for initialization */
-# undef XXH3_initCustomSecret
-# define XXH3_initCustomSecret XXH3_initCustomSecret_scalar
-#endif
-
-XXH_FORCE_INLINE void
-XXH3_hashLong_internal_loop(xxh_u64* XXH_RESTRICT acc,
- const xxh_u8* XXH_RESTRICT input, size_t len,
- const xxh_u8* XXH_RESTRICT secret, size_t secretSize,
- XXH3_f_accumulate f_acc,
- XXH3_f_scrambleAcc f_scramble)
-{
- size_t const nbStripesPerBlock = (secretSize - XXH_STRIPE_LEN) / XXH_SECRET_CONSUME_RATE;
- size_t const block_len = XXH_STRIPE_LEN * nbStripesPerBlock;
- size_t const nb_blocks = (len - 1) / block_len;
-
- size_t n;
-
- XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN);
-
- for (n = 0; n < nb_blocks; n++) {
- f_acc(acc, input + n*block_len, secret, nbStripesPerBlock);
- f_scramble(acc, secret + secretSize - XXH_STRIPE_LEN);
- }
-
- /* last partial block */
- XXH_ASSERT(len > XXH_STRIPE_LEN);
- { size_t const nbStripes = ((len - 1) - (block_len * nb_blocks)) / XXH_STRIPE_LEN;
- XXH_ASSERT(nbStripes <= (secretSize / XXH_SECRET_CONSUME_RATE));
- f_acc(acc, input + nb_blocks*block_len, secret, nbStripes);
-
- /* last stripe */
- { const xxh_u8* const p = input + len - XXH_STRIPE_LEN;
-#define XXH_SECRET_LASTACC_START 7 /* not aligned on 8, last secret is different from acc & scrambler */
- XXH3_accumulate_512(acc, p, secret + secretSize - XXH_STRIPE_LEN - XXH_SECRET_LASTACC_START);
- } }
-}
-
-XXH_FORCE_INLINE xxh_u64
-XXH3_mix2Accs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret)
-{
- return XXH3_mul128_fold64(
- acc[0] ^ XXH_readLE64(secret),
- acc[1] ^ XXH_readLE64(secret+8) );
-}
-
-static XXH64_hash_t
-XXH3_mergeAccs(const xxh_u64* XXH_RESTRICT acc, const xxh_u8* XXH_RESTRICT secret, xxh_u64 start)
-{
- xxh_u64 result64 = start;
- size_t i = 0;
-
- for (i = 0; i < 4; i++) {
- result64 += XXH3_mix2Accs(acc+2*i, secret + 16*i);
-#if defined(__clang__) /* Clang */ \
- && (defined(__arm__) || defined(__thumb__)) /* ARMv7 */ \
- && (defined(__ARM_NEON) || defined(__ARM_NEON__)) /* NEON */ \
- && !defined(XXH_ENABLE_AUTOVECTORIZE) /* Define to disable */
- /*
- * UGLY HACK:
- * Prevent autovectorization on Clang ARMv7-a. Exact same problem as
- * the one in XXH3_len_129to240_64b. Speeds up shorter keys > 240b.
- * XXH3_64bits, len == 256, Snapdragon 835:
- * without hack: 2063.7 MB/s
- * with hack: 2560.7 MB/s
- */
- XXH_COMPILER_GUARD(result64);
-#endif
- }
-
- return XXH3_avalanche(result64);
-}
-
-#define XXH3_INIT_ACC { XXH_PRIME32_3, XXH_PRIME64_1, XXH_PRIME64_2, XXH_PRIME64_3, \
- XXH_PRIME64_4, XXH_PRIME32_2, XXH_PRIME64_5, XXH_PRIME32_1 }
-
-XXH_FORCE_INLINE XXH64_hash_t
-XXH3_hashLong_64b_internal(const void* XXH_RESTRICT input, size_t len,
- const void* XXH_RESTRICT secret, size_t secretSize,
- XXH3_f_accumulate f_acc,
- XXH3_f_scrambleAcc f_scramble)
-{
- XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64 acc[XXH_ACC_NB] = XXH3_INIT_ACC;
-
- XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, (const xxh_u8*)secret, secretSize, f_acc, f_scramble);
-
- /* converge into final hash */
- XXH_STATIC_ASSERT(sizeof(acc) == 64);
- /* do not align on 8, so that the secret is different from the accumulator */
-#define XXH_SECRET_MERGEACCS_START 11
- XXH_ASSERT(secretSize >= sizeof(acc) + XXH_SECRET_MERGEACCS_START);
- return XXH3_mergeAccs(acc, (const xxh_u8*)secret + XXH_SECRET_MERGEACCS_START, (xxh_u64)len * XXH_PRIME64_1);
-}
-
-/*
- * It's important for performance to transmit secret's size (when it's static)
- * so that the compiler can properly optimize the vectorized loop.
- * This makes a big performance difference for "medium" keys (<1 KB) when using AVX instruction set.
- * When the secret size is unknown, or on GCC 12 where the mix of NO_INLINE and FORCE_INLINE
- * breaks -Og, this is XXH_NO_INLINE.
- */
-XXH3_WITH_SECRET_INLINE XXH64_hash_t
-XXH3_hashLong_64b_withSecret(const void* XXH_RESTRICT input, size_t len,
- XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen)
-{
- (void)seed64;
- return XXH3_hashLong_64b_internal(input, len, secret, secretLen, XXH3_accumulate, XXH3_scrambleAcc);
-}
-
-/*
- * It's preferable for performance that XXH3_hashLong is not inlined,
- * as it results in a smaller function for small data, easier to the instruction cache.
- * Note that inside this no_inline function, we do inline the internal loop,
- * and provide a statically defined secret size to allow optimization of vector loop.
- */
-XXH_NO_INLINE XXH_PUREF XXH64_hash_t
-XXH3_hashLong_64b_default(const void* XXH_RESTRICT input, size_t len,
- XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen)
-{
- (void)seed64; (void)secret; (void)secretLen;
- return XXH3_hashLong_64b_internal(input, len, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_accumulate, XXH3_scrambleAcc);
-}
-
-/*
- * XXH3_hashLong_64b_withSeed():
- * Generate a custom key based on alteration of default XXH3_kSecret with the seed,
- * and then use this key for long mode hashing.
- *
- * This operation is decently fast but nonetheless costs a little bit of time.
- * Try to avoid it whenever possible (typically when seed==0).
- *
- * It's important for performance that XXH3_hashLong is not inlined. Not sure
- * why (uop cache maybe?), but the difference is large and easily measurable.
- */
-XXH_FORCE_INLINE XXH64_hash_t
-XXH3_hashLong_64b_withSeed_internal(const void* input, size_t len,
- XXH64_hash_t seed,
- XXH3_f_accumulate f_acc,
- XXH3_f_scrambleAcc f_scramble,
- XXH3_f_initCustomSecret f_initSec)
-{
-#if XXH_SIZE_OPT <= 0
- if (seed == 0)
- return XXH3_hashLong_64b_internal(input, len,
- XXH3_kSecret, sizeof(XXH3_kSecret),
- f_acc, f_scramble);
-#endif
- { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE];
- f_initSec(secret, seed);
- return XXH3_hashLong_64b_internal(input, len, secret, sizeof(secret),
- f_acc, f_scramble);
- }
-}
-
-/*
- * It's important for performance that XXH3_hashLong is not inlined.
- */
-XXH_NO_INLINE XXH64_hash_t
-XXH3_hashLong_64b_withSeed(const void* XXH_RESTRICT input, size_t len,
- XXH64_hash_t seed, const xxh_u8* XXH_RESTRICT secret, size_t secretLen)
-{
- (void)secret; (void)secretLen;
- return XXH3_hashLong_64b_withSeed_internal(input, len, seed,
- XXH3_accumulate, XXH3_scrambleAcc, XXH3_initCustomSecret);
-}
-
-
-typedef XXH64_hash_t (*XXH3_hashLong64_f)(const void* XXH_RESTRICT, size_t,
- XXH64_hash_t, const xxh_u8* XXH_RESTRICT, size_t);
-
-XXH_FORCE_INLINE XXH64_hash_t
-XXH3_64bits_internal(const void* XXH_RESTRICT input, size_t len,
- XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen,
- XXH3_hashLong64_f f_hashLong)
-{
- XXH_ASSERT(secretLen >= XXH3_SECRET_SIZE_MIN);
- /*
- * If an action is to be taken if `secretLen` condition is not respected,
- * it should be done here.
- * For now, it's a contract pre-condition.
- * Adding a check and a branch here would cost performance at every hash.
- * Also, note that function signature doesn't offer room to return an error.
- */
- if (len <= 16)
- return XXH3_len_0to16_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64);
- if (len <= 128)
- return XXH3_len_17to128_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64);
- if (len <= XXH3_MIDSIZE_MAX)
- return XXH3_len_129to240_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64);
- return f_hashLong(input, len, seed64, (const xxh_u8*)secret, secretLen);
-}
-
-
-/* === Public entry point === */
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH64_hash_t XXH3_64bits(XXH_NOESCAPE const void* input, size_t length)
-{
- return XXH3_64bits_internal(input, length, 0, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_hashLong_64b_default);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH64_hash_t
-XXH3_64bits_withSecret(XXH_NOESCAPE const void* input, size_t length, XXH_NOESCAPE const void* secret, size_t secretSize)
-{
- return XXH3_64bits_internal(input, length, 0, secret, secretSize, XXH3_hashLong_64b_withSecret);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH64_hash_t
-XXH3_64bits_withSeed(XXH_NOESCAPE const void* input, size_t length, XXH64_hash_t seed)
-{
- return XXH3_64bits_internal(input, length, seed, XXH3_kSecret, sizeof(XXH3_kSecret), XXH3_hashLong_64b_withSeed);
-}
-
-XXH_PUBLIC_API XXH64_hash_t
-XXH3_64bits_withSecretandSeed(XXH_NOESCAPE const void* input, size_t length, XXH_NOESCAPE const void* secret, size_t secretSize, XXH64_hash_t seed)
-{
- if (length <= XXH3_MIDSIZE_MAX)
- return XXH3_64bits_internal(input, length, seed, XXH3_kSecret, sizeof(XXH3_kSecret), NULL);
- return XXH3_hashLong_64b_withSecret(input, length, seed, (const xxh_u8*)secret, secretSize);
-}
-
-
-/* === XXH3 streaming === */
-#ifndef XXH_NO_STREAM
-/*
- * Malloc's a pointer that is always aligned to align.
- *
- * This must be freed with `XXH_alignedFree()`.
- *
- * malloc typically guarantees 16 byte alignment on 64-bit systems and 8 byte
- * alignment on 32-bit. This isn't enough for the 32 byte aligned loads in AVX2
- * or on 32-bit, the 16 byte aligned loads in SSE2 and NEON.
- *
- * This underalignment previously caused a rather obvious crash which went
- * completely unnoticed due to XXH3_createState() not actually being tested.
- * Credit to RedSpah for noticing this bug.
- *
- * The alignment is done manually: Functions like posix_memalign or _mm_malloc
- * are avoided: To maintain portability, we would have to write a fallback
- * like this anyways, and besides, testing for the existence of library
- * functions without relying on external build tools is impossible.
- *
- * The method is simple: Overallocate, manually align, and store the offset
- * to the original behind the returned pointer.
- *
- * Align must be a power of 2 and 8 <= align <= 128.
- */
-static XXH_MALLOCF void* XXH_alignedMalloc(size_t s, size_t align)
-{
- XXH_ASSERT(align <= 128 && align >= 8); /* range check */
- XXH_ASSERT((align & (align-1)) == 0); /* power of 2 */
- XXH_ASSERT(s != 0 && s < (s + align)); /* empty/overflow */
- { /* Overallocate to make room for manual realignment and an offset byte */
- xxh_u8* base = (xxh_u8*)XXH_malloc(s + align);
- if (base != NULL) {
- /*
- * Get the offset needed to align this pointer.
- *
- * Even if the returned pointer is aligned, there will always be
- * at least one byte to store the offset to the original pointer.
- */
- size_t offset = align - ((size_t)base & (align - 1)); /* base % align */
- /* Add the offset for the now-aligned pointer */
- xxh_u8* ptr = base + offset;
-
- XXH_ASSERT((size_t)ptr % align == 0);
-
- /* Store the offset immediately before the returned pointer. */
- ptr[-1] = (xxh_u8)offset;
- return ptr;
- }
- return NULL;
- }
-}
-/*
- * Frees an aligned pointer allocated by XXH_alignedMalloc(). Don't pass
- * normal malloc'd pointers, XXH_alignedMalloc has a specific data layout.
- */
-static void XXH_alignedFree(void* p)
-{
- if (p != NULL) {
- xxh_u8* ptr = (xxh_u8*)p;
- /* Get the offset byte we added in XXH_malloc. */
- xxh_u8 offset = ptr[-1];
- /* Free the original malloc'd pointer */
- xxh_u8* base = ptr - offset;
- XXH_free(base);
- }
-}
-/*! @ingroup XXH3_family */
-/*!
- * @brief Allocate an @ref XXH3_state_t.
- *
- * @return An allocated pointer of @ref XXH3_state_t on success.
- * @return `NULL` on failure.
- *
- * @note Must be freed with XXH3_freeState().
- */
-XXH_PUBLIC_API XXH3_state_t* XXH3_createState(void)
-{
- XXH3_state_t* const state = (XXH3_state_t*)XXH_alignedMalloc(sizeof(XXH3_state_t), 64);
- if (state==NULL) return NULL;
- XXH3_INITSTATE(state);
- return state;
-}
-
-/*! @ingroup XXH3_family */
-/*!
- * @brief Frees an @ref XXH3_state_t.
- *
- * @param statePtr A pointer to an @ref XXH3_state_t allocated with @ref XXH3_createState().
- *
- * @return @ref XXH_OK.
- *
- * @note Must be allocated with XXH3_createState().
- */
-XXH_PUBLIC_API XXH_errorcode XXH3_freeState(XXH3_state_t* statePtr)
-{
- XXH_alignedFree(statePtr);
- return XXH_OK;
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API void
-XXH3_copyState(XXH_NOESCAPE XXH3_state_t* dst_state, XXH_NOESCAPE const XXH3_state_t* src_state)
-{
- XXH_memcpy(dst_state, src_state, sizeof(*dst_state));
-}
-
-static void
-XXH3_reset_internal(XXH3_state_t* statePtr,
- XXH64_hash_t seed,
- const void* secret, size_t secretSize)
-{
- size_t const initStart = offsetof(XXH3_state_t, bufferedSize);
- size_t const initLength = offsetof(XXH3_state_t, nbStripesPerBlock) - initStart;
- XXH_ASSERT(offsetof(XXH3_state_t, nbStripesPerBlock) > initStart);
- XXH_ASSERT(statePtr != NULL);
- /* set members from bufferedSize to nbStripesPerBlock (excluded) to 0 */
- memset((char*)statePtr + initStart, 0, initLength);
- statePtr->acc[0] = XXH_PRIME32_3;
- statePtr->acc[1] = XXH_PRIME64_1;
- statePtr->acc[2] = XXH_PRIME64_2;
- statePtr->acc[3] = XXH_PRIME64_3;
- statePtr->acc[4] = XXH_PRIME64_4;
- statePtr->acc[5] = XXH_PRIME32_2;
- statePtr->acc[6] = XXH_PRIME64_5;
- statePtr->acc[7] = XXH_PRIME32_1;
- statePtr->seed = seed;
- statePtr->useSeed = (seed != 0);
- statePtr->extSecret = (const unsigned char*)secret;
- XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN);
- statePtr->secretLimit = secretSize - XXH_STRIPE_LEN;
- statePtr->nbStripesPerBlock = statePtr->secretLimit / XXH_SECRET_CONSUME_RATE;
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_64bits_reset(XXH_NOESCAPE XXH3_state_t* statePtr)
-{
- if (statePtr == NULL) return XXH_ERROR;
- XXH3_reset_internal(statePtr, 0, XXH3_kSecret, XXH_SECRET_DEFAULT_SIZE);
- return XXH_OK;
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_64bits_reset_withSecret(XXH_NOESCAPE XXH3_state_t* statePtr, XXH_NOESCAPE const void* secret, size_t secretSize)
-{
- if (statePtr == NULL) return XXH_ERROR;
- XXH3_reset_internal(statePtr, 0, secret, secretSize);
- if (secret == NULL) return XXH_ERROR;
- if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR;
- return XXH_OK;
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_64bits_reset_withSeed(XXH_NOESCAPE XXH3_state_t* statePtr, XXH64_hash_t seed)
-{
- if (statePtr == NULL) return XXH_ERROR;
- if (seed==0) return XXH3_64bits_reset(statePtr);
- if ((seed != statePtr->seed) || (statePtr->extSecret != NULL))
- XXH3_initCustomSecret(statePtr->customSecret, seed);
- XXH3_reset_internal(statePtr, seed, NULL, XXH_SECRET_DEFAULT_SIZE);
- return XXH_OK;
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_64bits_reset_withSecretandSeed(XXH_NOESCAPE XXH3_state_t* statePtr, XXH_NOESCAPE const void* secret, size_t secretSize, XXH64_hash_t seed64)
-{
- if (statePtr == NULL) return XXH_ERROR;
- if (secret == NULL) return XXH_ERROR;
- if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR;
- XXH3_reset_internal(statePtr, seed64, secret, secretSize);
- statePtr->useSeed = 1; /* always, even if seed64==0 */
- return XXH_OK;
-}
-
-/*!
- * @internal
- * @brief Processes a large input for XXH3_update() and XXH3_digest_long().
- *
- * Unlike XXH3_hashLong_internal_loop(), this can process data that overlaps a block.
- *
- * @param acc Pointer to the 8 accumulator lanes
- * @param nbStripesSoFarPtr In/out pointer to the number of leftover stripes in the block*
- * @param nbStripesPerBlock Number of stripes in a block
- * @param input Input pointer
- * @param nbStripes Number of stripes to process
- * @param secret Secret pointer
- * @param secretLimit Offset of the last block in @p secret
- * @param f_acc Pointer to an XXH3_accumulate implementation
- * @param f_scramble Pointer to an XXH3_scrambleAcc implementation
- * @return Pointer past the end of @p input after processing
- */
-XXH_FORCE_INLINE const xxh_u8 *
-XXH3_consumeStripes(xxh_u64* XXH_RESTRICT acc,
- size_t* XXH_RESTRICT nbStripesSoFarPtr, size_t nbStripesPerBlock,
- const xxh_u8* XXH_RESTRICT input, size_t nbStripes,
- const xxh_u8* XXH_RESTRICT secret, size_t secretLimit,
- XXH3_f_accumulate f_acc,
- XXH3_f_scrambleAcc f_scramble)
-{
- const xxh_u8* initialSecret = secret + *nbStripesSoFarPtr * XXH_SECRET_CONSUME_RATE;
- /* Process full blocks */
- if (nbStripes >= (nbStripesPerBlock - *nbStripesSoFarPtr)) {
- /* Process the initial partial block... */
- size_t nbStripesThisIter = nbStripesPerBlock - *nbStripesSoFarPtr;
-
- do {
- /* Accumulate and scramble */
- f_acc(acc, input, initialSecret, nbStripesThisIter);
- f_scramble(acc, secret + secretLimit);
- input += nbStripesThisIter * XXH_STRIPE_LEN;
- nbStripes -= nbStripesThisIter;
- /* Then continue the loop with the full block size */
- nbStripesThisIter = nbStripesPerBlock;
- initialSecret = secret;
- } while (nbStripes >= nbStripesPerBlock);
- *nbStripesSoFarPtr = 0;
- }
- /* Process a partial block */
- if (nbStripes > 0) {
- f_acc(acc, input, initialSecret, nbStripes);
- input += nbStripes * XXH_STRIPE_LEN;
- *nbStripesSoFarPtr += nbStripes;
- }
- /* Return end pointer */
- return input;
-}
-
-#ifndef XXH3_STREAM_USE_STACK
-# if XXH_SIZE_OPT <= 0 && !defined(__clang__) /* clang doesn't need additional stack space */
-# define XXH3_STREAM_USE_STACK 1
-# endif
-#endif
-/*
- * Both XXH3_64bits_update and XXH3_128bits_update use this routine.
- */
-XXH_FORCE_INLINE XXH_errorcode
-XXH3_update(XXH3_state_t* XXH_RESTRICT const state,
- const xxh_u8* XXH_RESTRICT input, size_t len,
- XXH3_f_accumulate f_acc,
- XXH3_f_scrambleAcc f_scramble)
-{
- if (input==NULL) {
- XXH_ASSERT(len == 0);
- return XXH_OK;
- }
-
- XXH_ASSERT(state != NULL);
- { const xxh_u8* const bEnd = input + len;
- const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret;
-#if defined(XXH3_STREAM_USE_STACK) && XXH3_STREAM_USE_STACK >= 1
- /* For some reason, gcc and MSVC seem to suffer greatly
- * when operating accumulators directly into state.
- * Operating into stack space seems to enable proper optimization.
- * clang, on the other hand, doesn't seem to need this trick */
- XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64 acc[8];
- XXH_memcpy(acc, state->acc, sizeof(acc));
-#else
- xxh_u64* XXH_RESTRICT const acc = state->acc;
-#endif
- state->totalLen += len;
- XXH_ASSERT(state->bufferedSize <= XXH3_INTERNALBUFFER_SIZE);
-
- /* small input : just fill in tmp buffer */
- if (len <= XXH3_INTERNALBUFFER_SIZE - state->bufferedSize) {
- XXH_memcpy(state->buffer + state->bufferedSize, input, len);
- state->bufferedSize += (XXH32_hash_t)len;
- return XXH_OK;
- }
-
- /* total input is now > XXH3_INTERNALBUFFER_SIZE */
- #define XXH3_INTERNALBUFFER_STRIPES (XXH3_INTERNALBUFFER_SIZE / XXH_STRIPE_LEN)
- XXH_STATIC_ASSERT(XXH3_INTERNALBUFFER_SIZE % XXH_STRIPE_LEN == 0); /* clean multiple */
-
- /*
- * Internal buffer is partially filled (always, except at beginning)
- * Complete it, then consume it.
- */
- if (state->bufferedSize) {
- size_t const loadSize = XXH3_INTERNALBUFFER_SIZE - state->bufferedSize;
- XXH_memcpy(state->buffer + state->bufferedSize, input, loadSize);
- input += loadSize;
- XXH3_consumeStripes(acc,
- &state->nbStripesSoFar, state->nbStripesPerBlock,
- state->buffer, XXH3_INTERNALBUFFER_STRIPES,
- secret, state->secretLimit,
- f_acc, f_scramble);
- state->bufferedSize = 0;
- }
- XXH_ASSERT(input < bEnd);
- if (bEnd - input > XXH3_INTERNALBUFFER_SIZE) {
- size_t nbStripes = (size_t)(bEnd - 1 - input) / XXH_STRIPE_LEN;
- input = XXH3_consumeStripes(acc,
- &state->nbStripesSoFar, state->nbStripesPerBlock,
- input, nbStripes,
- secret, state->secretLimit,
- f_acc, f_scramble);
- XXH_memcpy(state->buffer + sizeof(state->buffer) - XXH_STRIPE_LEN, input - XXH_STRIPE_LEN, XXH_STRIPE_LEN);
-
- }
- /* Some remaining input (always) : buffer it */
- XXH_ASSERT(input < bEnd);
- XXH_ASSERT(bEnd - input <= XXH3_INTERNALBUFFER_SIZE);
- XXH_ASSERT(state->bufferedSize == 0);
- XXH_memcpy(state->buffer, input, (size_t)(bEnd-input));
- state->bufferedSize = (XXH32_hash_t)(bEnd-input);
-#if defined(XXH3_STREAM_USE_STACK) && XXH3_STREAM_USE_STACK >= 1
- /* save stack accumulators into state */
- XXH_memcpy(state->acc, acc, sizeof(acc));
-#endif
- }
-
- return XXH_OK;
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_64bits_update(XXH_NOESCAPE XXH3_state_t* state, XXH_NOESCAPE const void* input, size_t len)
-{
- return XXH3_update(state, (const xxh_u8*)input, len,
- XXH3_accumulate, XXH3_scrambleAcc);
-}
-
-
-XXH_FORCE_INLINE void
-XXH3_digest_long (XXH64_hash_t* acc,
- const XXH3_state_t* state,
- const unsigned char* secret)
-{
- xxh_u8 lastStripe[XXH_STRIPE_LEN];
- const xxh_u8* lastStripePtr;
-
- /*
- * Digest on a local copy. This way, the state remains unaltered, and it can
- * continue ingesting more input afterwards.
- */
- XXH_memcpy(acc, state->acc, sizeof(state->acc));
- if (state->bufferedSize >= XXH_STRIPE_LEN) {
- /* Consume remaining stripes then point to remaining data in buffer */
- size_t const nbStripes = (state->bufferedSize - 1) / XXH_STRIPE_LEN;
- size_t nbStripesSoFar = state->nbStripesSoFar;
- XXH3_consumeStripes(acc,
- &nbStripesSoFar, state->nbStripesPerBlock,
- state->buffer, nbStripes,
- secret, state->secretLimit,
- XXH3_accumulate, XXH3_scrambleAcc);
- lastStripePtr = state->buffer + state->bufferedSize - XXH_STRIPE_LEN;
- } else { /* bufferedSize < XXH_STRIPE_LEN */
- /* Copy to temp buffer */
- size_t const catchupSize = XXH_STRIPE_LEN - state->bufferedSize;
- XXH_ASSERT(state->bufferedSize > 0); /* there is always some input buffered */
- XXH_memcpy(lastStripe, state->buffer + sizeof(state->buffer) - catchupSize, catchupSize);
- XXH_memcpy(lastStripe + catchupSize, state->buffer, state->bufferedSize);
- lastStripePtr = lastStripe;
- }
- /* Last stripe */
- XXH3_accumulate_512(acc,
- lastStripePtr,
- secret + state->secretLimit - XXH_SECRET_LASTACC_START);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_digest (XXH_NOESCAPE const XXH3_state_t* state)
-{
- const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret;
- if (state->totalLen > XXH3_MIDSIZE_MAX) {
- XXH_ALIGN(XXH_ACC_ALIGN) XXH64_hash_t acc[XXH_ACC_NB];
- XXH3_digest_long(acc, state, secret);
- return XXH3_mergeAccs(acc,
- secret + XXH_SECRET_MERGEACCS_START,
- (xxh_u64)state->totalLen * XXH_PRIME64_1);
- }
- /* totalLen <= XXH3_MIDSIZE_MAX: digesting a short input */
- if (state->useSeed)
- return XXH3_64bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed);
- return XXH3_64bits_withSecret(state->buffer, (size_t)(state->totalLen),
- secret, state->secretLimit + XXH_STRIPE_LEN);
-}
-#endif /* !XXH_NO_STREAM */
-
-
-/* ==========================================
- * XXH3 128 bits (a.k.a XXH128)
- * ==========================================
- * XXH3's 128-bit variant has better mixing and strength than the 64-bit variant,
- * even without counting the significantly larger output size.
- *
- * For example, extra steps are taken to avoid the seed-dependent collisions
- * in 17-240 byte inputs (See XXH3_mix16B and XXH128_mix32B).
- *
- * This strength naturally comes at the cost of some speed, especially on short
- * lengths. Note that longer hashes are about as fast as the 64-bit version
- * due to it using only a slight modification of the 64-bit loop.
- *
- * XXH128 is also more oriented towards 64-bit machines. It is still extremely
- * fast for a _128-bit_ hash on 32-bit (it usually clears XXH64).
- */
-
-XXH_FORCE_INLINE XXH_PUREF XXH128_hash_t
-XXH3_len_1to3_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed)
-{
- /* A doubled version of 1to3_64b with different constants. */
- XXH_ASSERT(input != NULL);
- XXH_ASSERT(1 <= len && len <= 3);
- XXH_ASSERT(secret != NULL);
- /*
- * len = 1: combinedl = { input[0], 0x01, input[0], input[0] }
- * len = 2: combinedl = { input[1], 0x02, input[0], input[1] }
- * len = 3: combinedl = { input[2], 0x03, input[0], input[1] }
- */
- { xxh_u8 const c1 = input[0];
- xxh_u8 const c2 = input[len >> 1];
- xxh_u8 const c3 = input[len - 1];
- xxh_u32 const combinedl = ((xxh_u32)c1 <<16) | ((xxh_u32)c2 << 24)
- | ((xxh_u32)c3 << 0) | ((xxh_u32)len << 8);
- xxh_u32 const combinedh = XXH_rotl32(XXH_swap32(combinedl), 13);
- xxh_u64 const bitflipl = (XXH_readLE32(secret) ^ XXH_readLE32(secret+4)) + seed;
- xxh_u64 const bitfliph = (XXH_readLE32(secret+8) ^ XXH_readLE32(secret+12)) - seed;
- xxh_u64 const keyed_lo = (xxh_u64)combinedl ^ bitflipl;
- xxh_u64 const keyed_hi = (xxh_u64)combinedh ^ bitfliph;
- XXH128_hash_t h128;
- h128.low64 = XXH64_avalanche(keyed_lo);
- h128.high64 = XXH64_avalanche(keyed_hi);
- return h128;
- }
-}
-
-XXH_FORCE_INLINE XXH_PUREF XXH128_hash_t
-XXH3_len_4to8_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed)
-{
- XXH_ASSERT(input != NULL);
- XXH_ASSERT(secret != NULL);
- XXH_ASSERT(4 <= len && len <= 8);
- seed ^= (xxh_u64)XXH_swap32((xxh_u32)seed) << 32;
- { xxh_u32 const input_lo = XXH_readLE32(input);
- xxh_u32 const input_hi = XXH_readLE32(input + len - 4);
- xxh_u64 const input_64 = input_lo + ((xxh_u64)input_hi << 32);
- xxh_u64 const bitflip = (XXH_readLE64(secret+16) ^ XXH_readLE64(secret+24)) + seed;
- xxh_u64 const keyed = input_64 ^ bitflip;
-
- /* Shift len to the left to ensure it is even, this avoids even multiplies. */
- XXH128_hash_t m128 = XXH_mult64to128(keyed, XXH_PRIME64_1 + (len << 2));
-
- m128.high64 += (m128.low64 << 1);
- m128.low64 ^= (m128.high64 >> 3);
-
- m128.low64 = XXH_xorshift64(m128.low64, 35);
- m128.low64 *= PRIME_MX2;
- m128.low64 = XXH_xorshift64(m128.low64, 28);
- m128.high64 = XXH3_avalanche(m128.high64);
- return m128;
- }
-}
-
-XXH_FORCE_INLINE XXH_PUREF XXH128_hash_t
-XXH3_len_9to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed)
-{
- XXH_ASSERT(input != NULL);
- XXH_ASSERT(secret != NULL);
- XXH_ASSERT(9 <= len && len <= 16);
- { xxh_u64 const bitflipl = (XXH_readLE64(secret+32) ^ XXH_readLE64(secret+40)) - seed;
- xxh_u64 const bitfliph = (XXH_readLE64(secret+48) ^ XXH_readLE64(secret+56)) + seed;
- xxh_u64 const input_lo = XXH_readLE64(input);
- xxh_u64 input_hi = XXH_readLE64(input + len - 8);
- XXH128_hash_t m128 = XXH_mult64to128(input_lo ^ input_hi ^ bitflipl, XXH_PRIME64_1);
- /*
- * Put len in the middle of m128 to ensure that the length gets mixed to
- * both the low and high bits in the 128x64 multiply below.
- */
- m128.low64 += (xxh_u64)(len - 1) << 54;
- input_hi ^= bitfliph;
- /*
- * Add the high 32 bits of input_hi to the high 32 bits of m128, then
- * add the long product of the low 32 bits of input_hi and XXH_PRIME32_2 to
- * the high 64 bits of m128.
- *
- * The best approach to this operation is different on 32-bit and 64-bit.
- */
- if (sizeof(void *) < sizeof(xxh_u64)) { /* 32-bit */
- /*
- * 32-bit optimized version, which is more readable.
- *
- * On 32-bit, it removes an ADC and delays a dependency between the two
- * halves of m128.high64, but it generates an extra mask on 64-bit.
- */
- m128.high64 += (input_hi & 0xFFFFFFFF00000000ULL) + XXH_mult32to64((xxh_u32)input_hi, XXH_PRIME32_2);
- } else {
- /*
- * 64-bit optimized (albeit more confusing) version.
- *
- * Uses some properties of addition and multiplication to remove the mask:
- *
- * Let:
- * a = input_hi.lo = (input_hi & 0x00000000FFFFFFFF)
- * b = input_hi.hi = (input_hi & 0xFFFFFFFF00000000)
- * c = XXH_PRIME32_2
- *
- * a + (b * c)
- * Inverse Property: x + y - x == y
- * a + (b * (1 + c - 1))
- * Distributive Property: x * (y + z) == (x * y) + (x * z)
- * a + (b * 1) + (b * (c - 1))
- * Identity Property: x * 1 == x
- * a + b + (b * (c - 1))
- *
- * Substitute a, b, and c:
- * input_hi.hi + input_hi.lo + ((xxh_u64)input_hi.lo * (XXH_PRIME32_2 - 1))
- *
- * Since input_hi.hi + input_hi.lo == input_hi, we get this:
- * input_hi + ((xxh_u64)input_hi.lo * (XXH_PRIME32_2 - 1))
- */
- m128.high64 += input_hi + XXH_mult32to64((xxh_u32)input_hi, XXH_PRIME32_2 - 1);
- }
- /* m128 ^= XXH_swap64(m128 >> 64); */
- m128.low64 ^= XXH_swap64(m128.high64);
-
- { /* 128x64 multiply: h128 = m128 * XXH_PRIME64_2; */
- XXH128_hash_t h128 = XXH_mult64to128(m128.low64, XXH_PRIME64_2);
- h128.high64 += m128.high64 * XXH_PRIME64_2;
-
- h128.low64 = XXH3_avalanche(h128.low64);
- h128.high64 = XXH3_avalanche(h128.high64);
- return h128;
- } }
-}
-
-/*
- * Assumption: `secret` size is >= XXH3_SECRET_SIZE_MIN
- */
-XXH_FORCE_INLINE XXH_PUREF XXH128_hash_t
-XXH3_len_0to16_128b(const xxh_u8* input, size_t len, const xxh_u8* secret, XXH64_hash_t seed)
-{
- XXH_ASSERT(len <= 16);
- { if (len > 8) return XXH3_len_9to16_128b(input, len, secret, seed);
- if (len >= 4) return XXH3_len_4to8_128b(input, len, secret, seed);
- if (len) return XXH3_len_1to3_128b(input, len, secret, seed);
- { XXH128_hash_t h128;
- xxh_u64 const bitflipl = XXH_readLE64(secret+64) ^ XXH_readLE64(secret+72);
- xxh_u64 const bitfliph = XXH_readLE64(secret+80) ^ XXH_readLE64(secret+88);
- h128.low64 = XXH64_avalanche(seed ^ bitflipl);
- h128.high64 = XXH64_avalanche( seed ^ bitfliph);
- return h128;
- } }
-}
-
-/*
- * A bit slower than XXH3_mix16B, but handles multiply by zero better.
- */
-XXH_FORCE_INLINE XXH128_hash_t
-XXH128_mix32B(XXH128_hash_t acc, const xxh_u8* input_1, const xxh_u8* input_2,
- const xxh_u8* secret, XXH64_hash_t seed)
-{
- acc.low64 += XXH3_mix16B (input_1, secret+0, seed);
- acc.low64 ^= XXH_readLE64(input_2) + XXH_readLE64(input_2 + 8);
- acc.high64 += XXH3_mix16B (input_2, secret+16, seed);
- acc.high64 ^= XXH_readLE64(input_1) + XXH_readLE64(input_1 + 8);
- return acc;
-}
-
-
-XXH_FORCE_INLINE XXH_PUREF XXH128_hash_t
-XXH3_len_17to128_128b(const xxh_u8* XXH_RESTRICT input, size_t len,
- const xxh_u8* XXH_RESTRICT secret, size_t secretSize,
- XXH64_hash_t seed)
-{
- XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize;
- XXH_ASSERT(16 < len && len <= 128);
-
- { XXH128_hash_t acc;
- acc.low64 = len * XXH_PRIME64_1;
- acc.high64 = 0;
-
-#if XXH_SIZE_OPT >= 1
- {
- /* Smaller, but slightly slower. */
- unsigned int i = (unsigned int)(len - 1) / 32;
- do {
- acc = XXH128_mix32B(acc, input+16*i, input+len-16*(i+1), secret+32*i, seed);
- } while (i-- != 0);
- }
-#else
- if (len > 32) {
- if (len > 64) {
- if (len > 96) {
- acc = XXH128_mix32B(acc, input+48, input+len-64, secret+96, seed);
- }
- acc = XXH128_mix32B(acc, input+32, input+len-48, secret+64, seed);
- }
- acc = XXH128_mix32B(acc, input+16, input+len-32, secret+32, seed);
- }
- acc = XXH128_mix32B(acc, input, input+len-16, secret, seed);
-#endif
- { XXH128_hash_t h128;
- h128.low64 = acc.low64 + acc.high64;
- h128.high64 = (acc.low64 * XXH_PRIME64_1)
- + (acc.high64 * XXH_PRIME64_4)
- + ((len - seed) * XXH_PRIME64_2);
- h128.low64 = XXH3_avalanche(h128.low64);
- h128.high64 = (XXH64_hash_t)0 - XXH3_avalanche(h128.high64);
- return h128;
- }
- }
-}
-
-XXH_NO_INLINE XXH_PUREF XXH128_hash_t
-XXH3_len_129to240_128b(const xxh_u8* XXH_RESTRICT input, size_t len,
- const xxh_u8* XXH_RESTRICT secret, size_t secretSize,
- XXH64_hash_t seed)
-{
- XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize;
- XXH_ASSERT(128 < len && len <= XXH3_MIDSIZE_MAX);
-
- { XXH128_hash_t acc;
- unsigned i;
- acc.low64 = len * XXH_PRIME64_1;
- acc.high64 = 0;
- /*
- * We set as `i` as offset + 32. We do this so that unchanged
- * `len` can be used as upper bound. This reaches a sweet spot
- * where both x86 and aarch64 get simple agen and good codegen
- * for the loop.
- */
- for (i = 32; i < 160; i += 32) {
- acc = XXH128_mix32B(acc,
- input + i - 32,
- input + i - 16,
- secret + i - 32,
- seed);
- }
- acc.low64 = XXH3_avalanche(acc.low64);
- acc.high64 = XXH3_avalanche(acc.high64);
- /*
- * NB: `i <= len` will duplicate the last 32-bytes if
- * len % 32 was zero. This is an unfortunate necessity to keep
- * the hash result stable.
- */
- for (i=160; i <= len; i += 32) {
- acc = XXH128_mix32B(acc,
- input + i - 32,
- input + i - 16,
- secret + XXH3_MIDSIZE_STARTOFFSET + i - 160,
- seed);
- }
- /* last bytes */
- acc = XXH128_mix32B(acc,
- input + len - 16,
- input + len - 32,
- secret + XXH3_SECRET_SIZE_MIN - XXH3_MIDSIZE_LASTOFFSET - 16,
- (XXH64_hash_t)0 - seed);
-
- { XXH128_hash_t h128;
- h128.low64 = acc.low64 + acc.high64;
- h128.high64 = (acc.low64 * XXH_PRIME64_1)
- + (acc.high64 * XXH_PRIME64_4)
- + ((len - seed) * XXH_PRIME64_2);
- h128.low64 = XXH3_avalanche(h128.low64);
- h128.high64 = (XXH64_hash_t)0 - XXH3_avalanche(h128.high64);
- return h128;
- }
- }
-}
-
-XXH_FORCE_INLINE XXH128_hash_t
-XXH3_hashLong_128b_internal(const void* XXH_RESTRICT input, size_t len,
- const xxh_u8* XXH_RESTRICT secret, size_t secretSize,
- XXH3_f_accumulate f_acc,
- XXH3_f_scrambleAcc f_scramble)
-{
- XXH_ALIGN(XXH_ACC_ALIGN) xxh_u64 acc[XXH_ACC_NB] = XXH3_INIT_ACC;
-
- XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, secret, secretSize, f_acc, f_scramble);
-
- /* converge into final hash */
- XXH_STATIC_ASSERT(sizeof(acc) == 64);
- XXH_ASSERT(secretSize >= sizeof(acc) + XXH_SECRET_MERGEACCS_START);
- { XXH128_hash_t h128;
- h128.low64 = XXH3_mergeAccs(acc,
- secret + XXH_SECRET_MERGEACCS_START,
- (xxh_u64)len * XXH_PRIME64_1);
- h128.high64 = XXH3_mergeAccs(acc,
- secret + secretSize
- - sizeof(acc) - XXH_SECRET_MERGEACCS_START,
- ~((xxh_u64)len * XXH_PRIME64_2));
- return h128;
- }
-}
-
-/*
- * It's important for performance that XXH3_hashLong() is not inlined.
- */
-XXH_NO_INLINE XXH_PUREF XXH128_hash_t
-XXH3_hashLong_128b_default(const void* XXH_RESTRICT input, size_t len,
- XXH64_hash_t seed64,
- const void* XXH_RESTRICT secret, size_t secretLen)
-{
- (void)seed64; (void)secret; (void)secretLen;
- return XXH3_hashLong_128b_internal(input, len, XXH3_kSecret, sizeof(XXH3_kSecret),
- XXH3_accumulate, XXH3_scrambleAcc);
-}
-
-/*
- * It's important for performance to pass @p secretLen (when it's static)
- * to the compiler, so that it can properly optimize the vectorized loop.
- *
- * When the secret size is unknown, or on GCC 12 where the mix of NO_INLINE and FORCE_INLINE
- * breaks -Og, this is XXH_NO_INLINE.
- */
-XXH3_WITH_SECRET_INLINE XXH128_hash_t
-XXH3_hashLong_128b_withSecret(const void* XXH_RESTRICT input, size_t len,
- XXH64_hash_t seed64,
- const void* XXH_RESTRICT secret, size_t secretLen)
-{
- (void)seed64;
- return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, secretLen,
- XXH3_accumulate, XXH3_scrambleAcc);
-}
-
-XXH_FORCE_INLINE XXH128_hash_t
-XXH3_hashLong_128b_withSeed_internal(const void* XXH_RESTRICT input, size_t len,
- XXH64_hash_t seed64,
- XXH3_f_accumulate f_acc,
- XXH3_f_scrambleAcc f_scramble,
- XXH3_f_initCustomSecret f_initSec)
-{
- if (seed64 == 0)
- return XXH3_hashLong_128b_internal(input, len,
- XXH3_kSecret, sizeof(XXH3_kSecret),
- f_acc, f_scramble);
- { XXH_ALIGN(XXH_SEC_ALIGN) xxh_u8 secret[XXH_SECRET_DEFAULT_SIZE];
- f_initSec(secret, seed64);
- return XXH3_hashLong_128b_internal(input, len, (const xxh_u8*)secret, sizeof(secret),
- f_acc, f_scramble);
- }
-}
-
-/*
- * It's important for performance that XXH3_hashLong is not inlined.
- */
-XXH_NO_INLINE XXH128_hash_t
-XXH3_hashLong_128b_withSeed(const void* input, size_t len,
- XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen)
-{
- (void)secret; (void)secretLen;
- return XXH3_hashLong_128b_withSeed_internal(input, len, seed64,
- XXH3_accumulate, XXH3_scrambleAcc, XXH3_initCustomSecret);
-}
-
-typedef XXH128_hash_t (*XXH3_hashLong128_f)(const void* XXH_RESTRICT, size_t,
- XXH64_hash_t, const void* XXH_RESTRICT, size_t);
-
-XXH_FORCE_INLINE XXH128_hash_t
-XXH3_128bits_internal(const void* input, size_t len,
- XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen,
- XXH3_hashLong128_f f_hl128)
-{
- XXH_ASSERT(secretLen >= XXH3_SECRET_SIZE_MIN);
- /*
- * If an action is to be taken if `secret` conditions are not respected,
- * it should be done here.
- * For now, it's a contract pre-condition.
- * Adding a check and a branch here would cost performance at every hash.
- */
- if (len <= 16)
- return XXH3_len_0to16_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64);
- if (len <= 128)
- return XXH3_len_17to128_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64);
- if (len <= XXH3_MIDSIZE_MAX)
- return XXH3_len_129to240_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64);
- return f_hl128(input, len, seed64, secret, secretLen);
-}
-
-
-/* === Public XXH128 API === */
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH128_hash_t XXH3_128bits(XXH_NOESCAPE const void* input, size_t len)
-{
- return XXH3_128bits_internal(input, len, 0,
- XXH3_kSecret, sizeof(XXH3_kSecret),
- XXH3_hashLong_128b_default);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH128_hash_t
-XXH3_128bits_withSecret(XXH_NOESCAPE const void* input, size_t len, XXH_NOESCAPE const void* secret, size_t secretSize)
-{
- return XXH3_128bits_internal(input, len, 0,
- (const xxh_u8*)secret, secretSize,
- XXH3_hashLong_128b_withSecret);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH128_hash_t
-XXH3_128bits_withSeed(XXH_NOESCAPE const void* input, size_t len, XXH64_hash_t seed)
-{
- return XXH3_128bits_internal(input, len, seed,
- XXH3_kSecret, sizeof(XXH3_kSecret),
- XXH3_hashLong_128b_withSeed);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH128_hash_t
-XXH3_128bits_withSecretandSeed(XXH_NOESCAPE const void* input, size_t len, XXH_NOESCAPE const void* secret, size_t secretSize, XXH64_hash_t seed)
-{
- if (len <= XXH3_MIDSIZE_MAX)
- return XXH3_128bits_internal(input, len, seed, XXH3_kSecret, sizeof(XXH3_kSecret), NULL);
- return XXH3_hashLong_128b_withSecret(input, len, seed, secret, secretSize);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH128_hash_t
-XXH128(XXH_NOESCAPE const void* input, size_t len, XXH64_hash_t seed)
-{
- return XXH3_128bits_withSeed(input, len, seed);
-}
-
-
-/* === XXH3 128-bit streaming === */
-#ifndef XXH_NO_STREAM
-/*
- * All initialization and update functions are identical to 64-bit streaming variant.
- * The only difference is the finalization routine.
- */
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_128bits_reset(XXH_NOESCAPE XXH3_state_t* statePtr)
-{
- return XXH3_64bits_reset(statePtr);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_128bits_reset_withSecret(XXH_NOESCAPE XXH3_state_t* statePtr, XXH_NOESCAPE const void* secret, size_t secretSize)
-{
- return XXH3_64bits_reset_withSecret(statePtr, secret, secretSize);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_128bits_reset_withSeed(XXH_NOESCAPE XXH3_state_t* statePtr, XXH64_hash_t seed)
-{
- return XXH3_64bits_reset_withSeed(statePtr, seed);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_128bits_reset_withSecretandSeed(XXH_NOESCAPE XXH3_state_t* statePtr, XXH_NOESCAPE const void* secret, size_t secretSize, XXH64_hash_t seed)
-{
- return XXH3_64bits_reset_withSecretandSeed(statePtr, secret, secretSize, seed);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_128bits_update(XXH_NOESCAPE XXH3_state_t* state, XXH_NOESCAPE const void* input, size_t len)
-{
- return XXH3_64bits_update(state, input, len);
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_digest (XXH_NOESCAPE const XXH3_state_t* state)
-{
- const unsigned char* const secret = (state->extSecret == NULL) ? state->customSecret : state->extSecret;
- if (state->totalLen > XXH3_MIDSIZE_MAX) {
- XXH_ALIGN(XXH_ACC_ALIGN) XXH64_hash_t acc[XXH_ACC_NB];
- XXH3_digest_long(acc, state, secret);
- XXH_ASSERT(state->secretLimit + XXH_STRIPE_LEN >= sizeof(acc) + XXH_SECRET_MERGEACCS_START);
- { XXH128_hash_t h128;
- h128.low64 = XXH3_mergeAccs(acc,
- secret + XXH_SECRET_MERGEACCS_START,
- (xxh_u64)state->totalLen * XXH_PRIME64_1);
- h128.high64 = XXH3_mergeAccs(acc,
- secret + state->secretLimit + XXH_STRIPE_LEN
- - sizeof(acc) - XXH_SECRET_MERGEACCS_START,
- ~((xxh_u64)state->totalLen * XXH_PRIME64_2));
- return h128;
- }
- }
- /* len <= XXH3_MIDSIZE_MAX : short code */
- if (state->seed)
- return XXH3_128bits_withSeed(state->buffer, (size_t)state->totalLen, state->seed);
- return XXH3_128bits_withSecret(state->buffer, (size_t)(state->totalLen),
- secret, state->secretLimit + XXH_STRIPE_LEN);
-}
-#endif /* !XXH_NO_STREAM */
-/* 128-bit utility functions */
-
-#include /* memcmp, memcpy */
-
-/* return : 1 is equal, 0 if different */
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API int XXH128_isEqual(XXH128_hash_t h1, XXH128_hash_t h2)
-{
- /* note : XXH128_hash_t is compact, it has no padding byte */
- return !(memcmp(&h1, &h2, sizeof(h1)));
-}
-
-/* This prototype is compatible with stdlib's qsort().
- * @return : >0 if *h128_1 > *h128_2
- * <0 if *h128_1 < *h128_2
- * =0 if *h128_1 == *h128_2 */
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API int XXH128_cmp(XXH_NOESCAPE const void* h128_1, XXH_NOESCAPE const void* h128_2)
-{
- XXH128_hash_t const h1 = *(const XXH128_hash_t*)h128_1;
- XXH128_hash_t const h2 = *(const XXH128_hash_t*)h128_2;
- int const hcmp = (h1.high64 > h2.high64) - (h2.high64 > h1.high64);
- /* note : bets that, in most cases, hash values are different */
- if (hcmp) return hcmp;
- return (h1.low64 > h2.low64) - (h2.low64 > h1.low64);
-}
-
-
-/*====== Canonical representation ======*/
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API void
-XXH128_canonicalFromHash(XXH_NOESCAPE XXH128_canonical_t* dst, XXH128_hash_t hash)
-{
- XXH_STATIC_ASSERT(sizeof(XXH128_canonical_t) == sizeof(XXH128_hash_t));
- if (XXH_CPU_LITTLE_ENDIAN) {
- hash.high64 = XXH_swap64(hash.high64);
- hash.low64 = XXH_swap64(hash.low64);
- }
- XXH_memcpy(dst, &hash.high64, sizeof(hash.high64));
- XXH_memcpy((char*)dst + sizeof(hash.high64), &hash.low64, sizeof(hash.low64));
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH128_hash_t
-XXH128_hashFromCanonical(XXH_NOESCAPE const XXH128_canonical_t* src)
-{
- XXH128_hash_t h;
- h.high64 = XXH_readBE64(src);
- h.low64 = XXH_readBE64(src->digest + 8);
- return h;
-}
-
-
-
-/* ==========================================
- * Secret generators
- * ==========================================
- */
-#define XXH_MIN(x, y) (((x) > (y)) ? (y) : (x))
-
-XXH_FORCE_INLINE void XXH3_combine16(void* dst, XXH128_hash_t h128)
-{
- XXH_writeLE64( dst, XXH_readLE64(dst) ^ h128.low64 );
- XXH_writeLE64( (char*)dst+8, XXH_readLE64((char*)dst+8) ^ h128.high64 );
-}
-
-/*! @ingroup XXH3_family */
-XXH_PUBLIC_API XXH_errorcode
-XXH3_generateSecret(XXH_NOESCAPE void* secretBuffer, size_t secretSize, XXH_NOESCAPE const void* customSeed, size_t customSeedSize)
-{
-#if (XXH_DEBUGLEVEL >= 1)
- XXH_ASSERT(secretBuffer != NULL);
- XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN);
-#else
- /* production mode, assert() are disabled */
- if (secretBuffer == NULL) return XXH_ERROR;
- if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR;
-#endif
-
- if (customSeedSize == 0) {
- customSeed = XXH3_kSecret;
- customSeedSize = XXH_SECRET_DEFAULT_SIZE;
- }
-#if (XXH_DEBUGLEVEL >= 1)
- XXH_ASSERT(customSeed != NULL);
-#else
- if (customSeed == NULL) return XXH_ERROR;
-#endif
-
- /* Fill secretBuffer with a copy of customSeed - repeat as needed */
- { size_t pos = 0;
- while (pos < secretSize) {
- size_t const toCopy = XXH_MIN((secretSize - pos), customSeedSize);
- memcpy((char*)secretBuffer + pos, customSeed, toCopy);
- pos += toCopy;
- } }
-
- { size_t const nbSeg16 = secretSize / 16;
- size_t n;
- XXH128_canonical_t scrambler;
- XXH128_canonicalFromHash(&scrambler, XXH128(customSeed, customSeedSize, 0));
- for (n=0; n
#include
#include
#include
diff --git a/src/bled/xz_dec_lzma2.c b/src/bled/xz_dec_lzma2.c
index 15deb0d5..ed519d6d 100644
--- a/src/bled/xz_dec_lzma2.c
+++ b/src/bled/xz_dec_lzma2.c
@@ -622,7 +622,7 @@ static void XZ_FUNC lzma_len(struct xz_dec_lzma2 *s, struct lzma_len_dec *l,
uint32_t pos_state)
{
uint16_t *probs;
- uint32_t limit;
+ uint32_t limit, v;
if (!rc_bit(&s->rc, &l->choice)) {
probs = l->low[pos_state];
@@ -641,8 +641,9 @@ static void XZ_FUNC lzma_len(struct xz_dec_lzma2 *s, struct lzma_len_dec *l,
}
}
- // coverity[overflow_const]
- s->lzma.len += rc_bittree(&s->rc, probs, limit) - limit;
+ v = s->lzma.len + rc_bittree(&s->rc, probs, limit) - limit;
+ assert(v >= s->lzma.len);
+ s->lzma.len = (v < s->lzma.len) ? 0 : v;
}
/* Decode a match. The distance will be stored in s->lzma.rep0. */
@@ -661,6 +662,7 @@ static void XZ_FUNC lzma_match(struct xz_dec_lzma2 *s, uint32_t pos_state)
lzma_len(s, &s->lzma.match_len_dec, pos_state);
probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)];
+ // coverity[overflow_const]
dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS;
if (dist_slot < DIST_MODEL_START) {
diff --git a/src/bled/xz_dec_stream.c b/src/bled/xz_dec_stream.c
index b0184228..31158b4e 100644
--- a/src/bled/xz_dec_stream.c
+++ b/src/bled/xz_dec_stream.c
@@ -368,7 +368,7 @@ static enum xz_ret XZ_FUNC crc32_validate(struct xz_dec *s, struct xz_buf *b)
*/
static bool XZ_FUNC check_skip(struct xz_dec *s, struct xz_buf *b)
{
- while (s->check_type < 16 && s->pos < check_sizes[s->check_type]) {
+ while (s->pos < check_sizes[s->check_type]) {
if (b->in_pos == b->in_size)
return false;
diff --git a/src/bled/zstd.h b/src/bled/zstd.h
deleted file mode 100644
index 9a7b3f53..00000000
--- a/src/bled/zstd.h
+++ /dev/null
@@ -1,3171 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-#ifndef ZSTD_H_235446
-#define ZSTD_H_235446
-
-/* ====== Dependencies ======*/
-#include /* size_t */
-#include "zstd_config.h"
-
-/* ===== ZSTDLIB_API : control library symbols visibility ===== */
-#ifndef ZSTDLIB_VISIBLE
- /* Backwards compatibility with old macro name */
-# ifdef ZSTDLIB_VISIBILITY
-# define ZSTDLIB_VISIBLE ZSTDLIB_VISIBILITY
-# elif defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
-# define ZSTDLIB_VISIBLE __attribute__ ((visibility ("default")))
-# else
-# define ZSTDLIB_VISIBLE
-# endif
-#endif
-
-#ifndef ZSTDLIB_HIDDEN
-# if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
-# define ZSTDLIB_HIDDEN __attribute__ ((visibility ("hidden")))
-# else
-# define ZSTDLIB_HIDDEN
-# endif
-#endif
-
-#if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1)
-# define ZSTDLIB_API __declspec(dllexport) ZSTDLIB_VISIBLE
-#elif defined(ZSTD_DLL_IMPORT) && (ZSTD_DLL_IMPORT==1)
-# define ZSTDLIB_API __declspec(dllimport) ZSTDLIB_VISIBLE /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/
-#else
-# define ZSTDLIB_API ZSTDLIB_VISIBLE
-#endif
-
-/* Deprecation warnings :
- * Should these warnings be a problem, it is generally possible to disable them,
- * typically with -Wno-deprecated-declarations for gcc or _CRT_SECURE_NO_WARNINGS in Visual.
- * Otherwise, it's also possible to define ZSTD_DISABLE_DEPRECATE_WARNINGS.
- */
-#ifdef ZSTD_DISABLE_DEPRECATE_WARNINGS
-# define ZSTD_DEPRECATED(message) /* disable deprecation warnings */
-#else
-# if defined (__cplusplus) && (__cplusplus >= 201402) /* C++14 or greater */
-# define ZSTD_DEPRECATED(message) [[deprecated(message)]]
-# elif (defined(GNUC) && (GNUC > 4 || (GNUC == 4 && GNUC_MINOR >= 5))) || defined(__clang__) || defined(__IAR_SYSTEMS_ICC__)
-# define ZSTD_DEPRECATED(message) __attribute__((deprecated(message)))
-# elif defined(__GNUC__) && (__GNUC__ >= 3)
-# define ZSTD_DEPRECATED(message) __attribute__((deprecated))
-# elif defined(_MSC_VER)
-# define ZSTD_DEPRECATED(message) __declspec(deprecated(message))
-# else
-# pragma message("WARNING: You need to implement ZSTD_DEPRECATED for this compiler")
-# define ZSTD_DEPRECATED(message)
-# endif
-#endif /* ZSTD_DISABLE_DEPRECATE_WARNINGS */
-
-
-/*******************************************************************************
- Introduction
-
- zstd, short for Zstandard, is a fast lossless compression algorithm, targeting
- real-time compression scenarios at zlib-level and better compression ratios.
- The zstd compression library provides in-memory compression and decompression
- functions.
-
- The library supports regular compression levels from 1 up to ZSTD_maxCLevel(),
- which is currently 22. Levels >= 20, labeled `--ultra`, should be used with
- caution, as they require more memory. The library also offers negative
- compression levels, which extend the range of speed vs. ratio preferences.
- The lower the level, the faster the speed (at the cost of compression).
-
- Compression can be done in:
- - a single step (described as Simple API)
- - a single step, reusing a context (described as Explicit context)
- - unbounded multiple steps (described as Streaming compression)
-
- The compression ratio achievable on small data can be highly improved using
- a dictionary. Dictionary compression can be performed in:
- - a single step (described as Simple dictionary API)
- - a single step, reusing a dictionary (described as Bulk-processing
- dictionary API)
-
- Advanced experimental functions can be accessed using
- `#define ZSTD_STATIC_LINKING_ONLY` before including zstd.h.
-
- Advanced experimental APIs should never be used with a dynamically-linked
- library. They are not "stable"; their definitions or signatures may change in
- the future. Only static linking is allowed.
-*******************************************************************************/
-
-/*------ Version ------*/
-#define ZSTD_VERSION_MAJOR 1
-#define ZSTD_VERSION_MINOR 5
-#define ZSTD_VERSION_RELEASE 7
-#define ZSTD_VERSION_NUMBER (ZSTD_VERSION_MAJOR *100*100 + ZSTD_VERSION_MINOR *100 + ZSTD_VERSION_RELEASE)
-
-/*! ZSTD_versionNumber() :
- * Return runtime library version, the value is (MAJOR*100*100 + MINOR*100 + RELEASE). */
-ZSTDLIB_API unsigned ZSTD_versionNumber(void);
-
-#define ZSTD_LIB_VERSION ZSTD_VERSION_MAJOR.ZSTD_VERSION_MINOR.ZSTD_VERSION_RELEASE
-#define ZSTD_QUOTE(str) #str
-#define ZSTD_EXPAND_AND_QUOTE(str) ZSTD_QUOTE(str)
-#define ZSTD_VERSION_STRING ZSTD_EXPAND_AND_QUOTE(ZSTD_LIB_VERSION)
-
-/*! ZSTD_versionString() :
- * Return runtime library version, like "1.4.5". Requires v1.3.0+. */
-ZSTDLIB_API const char* ZSTD_versionString(void);
-
-/* *************************************
- * Default constant
- ***************************************/
-#ifndef ZSTD_CLEVEL_DEFAULT
-# define ZSTD_CLEVEL_DEFAULT 3
-#endif
-
-/* *************************************
- * Constants
- ***************************************/
-
-/* All magic numbers are supposed read/written to/from files/memory using little-endian convention */
-#define ZSTD_MAGICNUMBER 0xFD2FB528 /* valid since v0.8.0 */
-#define ZSTD_MAGIC_DICTIONARY 0xEC30A437 /* valid since v0.7.0 */
-#define ZSTD_MAGIC_SKIPPABLE_START 0x184D2A50 /* all 16 values, from 0x184D2A50 to 0x184D2A5F, signal the beginning of a skippable frame */
-#define ZSTD_MAGIC_SKIPPABLE_MASK 0xFFFFFFF0
-
-#define ZSTD_BLOCKSIZELOG_MAX 17
-#define ZSTD_BLOCKSIZE_MAX (1<= ZSTD_compressBound(srcSize)` guarantees that zstd will have
- * enough space to successfully compress the data.
- * @return : compressed size written into `dst` (<= `dstCapacity),
- * or an error code if it fails (which can be tested using ZSTD_isError()). */
-ZSTDLIB_API size_t ZSTD_compress( void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- int compressionLevel);
-
-/*! ZSTD_decompress() :
- * `compressedSize` : must be the _exact_ size of some number of compressed and/or skippable frames.
- * Multiple compressed frames can be decompressed at once with this method.
- * The result will be the concatenation of all decompressed frames, back to back.
- * `dstCapacity` is an upper bound of originalSize to regenerate.
- * First frame's decompressed size can be extracted using ZSTD_getFrameContentSize().
- * If maximum upper bound isn't known, prefer using streaming mode to decompress data.
- * @return : the number of bytes decompressed into `dst` (<= `dstCapacity`),
- * or an errorCode if it fails (which can be tested using ZSTD_isError()). */
-ZSTDLIB_API size_t ZSTD_decompress( void* dst, size_t dstCapacity,
- const void* src, size_t compressedSize);
-
-
-/*====== Decompression helper functions ======*/
-
-/*! ZSTD_getFrameContentSize() : requires v1.3.0+
- * `src` should point to the start of a ZSTD encoded frame.
- * `srcSize` must be at least as large as the frame header.
- * hint : any size >= `ZSTD_frameHeaderSize_max` is large enough.
- * @return : - decompressed size of `src` frame content, if known
- * - ZSTD_CONTENTSIZE_UNKNOWN if the size cannot be determined
- * - ZSTD_CONTENTSIZE_ERROR if an error occurred (e.g. invalid magic number, srcSize too small)
- * note 1 : a 0 return value means the frame is valid but "empty".
- * note 2 : decompressed size is an optional field, it may not be present (typically in streaming mode).
- * When `return==ZSTD_CONTENTSIZE_UNKNOWN`, data to decompress could be any size.
- * In which case, it's necessary to use streaming mode to decompress data.
- * Optionally, application can rely on some implicit limit,
- * as ZSTD_decompress() only needs an upper bound of decompressed size.
- * (For example, data could be necessarily cut into blocks <= 16 KB).
- * note 3 : decompressed size is always present when compression is completed using single-pass functions,
- * such as ZSTD_compress(), ZSTD_compressCCtx() ZSTD_compress_usingDict() or ZSTD_compress_usingCDict().
- * note 4 : decompressed size can be very large (64-bits value),
- * potentially larger than what local system can handle as a single memory segment.
- * In which case, it's necessary to use streaming mode to decompress data.
- * note 5 : If source is untrusted, decompressed size could be wrong or intentionally modified.
- * Always ensure return value fits within application's authorized limits.
- * Each application can set its own limits.
- * note 6 : This function replaces ZSTD_getDecompressedSize() */
-#define ZSTD_CONTENTSIZE_UNKNOWN (0ULL - 1)
-#define ZSTD_CONTENTSIZE_ERROR (0ULL - 2)
-ZSTDLIB_API unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize);
-
-/*! ZSTD_getDecompressedSize() :
- * NOTE: This function is now obsolete, in favor of ZSTD_getFrameContentSize().
- * Both functions work the same way, but ZSTD_getDecompressedSize() blends
- * "empty", "unknown" and "error" results to the same return value (0),
- * while ZSTD_getFrameContentSize() gives them separate return values.
- * @return : decompressed size of `src` frame content _if known and not empty_, 0 otherwise. */
-ZSTD_DEPRECATED("Replaced by ZSTD_getFrameContentSize")
-ZSTDLIB_API
-unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize);
-
-/*! ZSTD_findFrameCompressedSize() : Requires v1.4.0+
- * `src` should point to the start of a ZSTD frame or skippable frame.
- * `srcSize` must be >= first frame size
- * @return : the compressed size of the first frame starting at `src`,
- * suitable to pass as `srcSize` to `ZSTD_decompress` or similar,
- * or an error code if input is invalid */
-ZSTDLIB_API size_t ZSTD_findFrameCompressedSize(const void* src, size_t srcSize);
-
-
-/*====== Compression helper functions ======*/
-
-/*! ZSTD_compressBound() :
- * maximum compressed size in worst case single-pass scenario.
- * When invoking `ZSTD_compress()`, or any other one-pass compression function,
- * it's recommended to provide @dstCapacity >= ZSTD_compressBound(srcSize)
- * as it eliminates one potential failure scenario,
- * aka not enough room in dst buffer to write the compressed frame.
- * Note : ZSTD_compressBound() itself can fail, if @srcSize > ZSTD_MAX_INPUT_SIZE .
- * In which case, ZSTD_compressBound() will return an error code
- * which can be tested using ZSTD_isError().
- *
- * ZSTD_COMPRESSBOUND() :
- * same as ZSTD_compressBound(), but as a macro.
- * It can be used to produce constants, which can be useful for static allocation,
- * for example to size a static array on stack.
- * Will produce constant value 0 if srcSize is too large.
- */
-#define ZSTD_MAX_INPUT_SIZE ((sizeof(size_t)==8) ? 0xFF00FF00FF00FF00ULL : 0xFF00FF00U)
-#define ZSTD_COMPRESSBOUND(srcSize) (((size_t)(srcSize) >= ZSTD_MAX_INPUT_SIZE) ? 0 : (srcSize) + ((srcSize)>>8) + (((srcSize) < (128<<10)) ? (((128<<10) - (srcSize)) >> 11) /* margin, from 64 to 0 */ : 0)) /* this formula ensures that bound(A) + bound(B) <= bound(A+B) as long as A and B >= 128 KB */
-ZSTDLIB_API size_t ZSTD_compressBound(size_t srcSize); /*!< maximum compressed size in worst case single-pass scenario */
-
-
-/*====== Error helper functions ======*/
-#include "zstd_errors.h" /* list of errors */
-/* ZSTD_isError() :
- * Most ZSTD_* functions returning a size_t value can be tested for error,
- * using ZSTD_isError().
- * @return 1 if error, 0 otherwise
- */
-ZSTDLIB_API unsigned ZSTD_isError(size_t result); /*!< tells if a `size_t` function result is an error code */
-ZSTDLIB_API ZSTD_ErrorCode ZSTD_getErrorCode(size_t functionResult); /* convert a result into an error code, which can be compared to error enum list */
-ZSTDLIB_API const char* ZSTD_getErrorName(size_t result); /*!< provides readable string from a function result */
-ZSTDLIB_API int ZSTD_minCLevel(void); /*!< minimum negative compression level allowed, requires v1.4.0+ */
-ZSTDLIB_API int ZSTD_maxCLevel(void); /*!< maximum compression level available */
-ZSTDLIB_API int ZSTD_defaultCLevel(void); /*!< default compression level, specified by ZSTD_CLEVEL_DEFAULT, requires v1.5.0+ */
-
-
-/***************************************
-* Explicit context
-***************************************/
-/*= Compression context
- * When compressing many times,
- * it is recommended to allocate a compression context just once,
- * and reuse it for each successive compression operation.
- * This will make the workload easier for system's memory.
- * Note : re-using context is just a speed / resource optimization.
- * It doesn't change the compression ratio, which remains identical.
- * Note 2: For parallel execution in multi-threaded environments,
- * use one different context per thread .
- */
-typedef struct ZSTD_CCtx_s ZSTD_CCtx;
-ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
-ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); /* compatible with NULL pointer */
-
-/*! ZSTD_compressCCtx() :
- * Same as ZSTD_compress(), using an explicit ZSTD_CCtx.
- * Important : in order to mirror `ZSTD_compress()` behavior,
- * this function compresses at the requested compression level,
- * __ignoring any other advanced parameter__ .
- * If any advanced parameter was set using the advanced API,
- * they will all be reset. Only @compressionLevel remains.
- */
-ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- int compressionLevel);
-
-/*= Decompression context
- * When decompressing many times,
- * it is recommended to allocate a context only once,
- * and reuse it for each successive compression operation.
- * This will make workload friendlier for system's memory.
- * Use one context per thread for parallel execution. */
-typedef struct ZSTD_DCtx_s ZSTD_DCtx;
-ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx(void);
-ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx); /* accept NULL pointer */
-
-/*! ZSTD_decompressDCtx() :
- * Same as ZSTD_decompress(),
- * requires an allocated ZSTD_DCtx.
- * Compatible with sticky parameters (see below).
- */
-ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize);
-
-
-/*********************************************
-* Advanced compression API (Requires v1.4.0+)
-**********************************************/
-
-/* API design :
- * Parameters are pushed one by one into an existing context,
- * using ZSTD_CCtx_set*() functions.
- * Pushed parameters are sticky : they are valid for next compressed frame, and any subsequent frame.
- * "sticky" parameters are applicable to `ZSTD_compress2()` and `ZSTD_compressStream*()` !
- * __They do not apply to one-shot variants such as ZSTD_compressCCtx()__ .
- *
- * It's possible to reset all parameters to "default" using ZSTD_CCtx_reset().
- *
- * This API supersedes all other "advanced" API entry points in the experimental section.
- * In the future, we expect to remove API entry points from experimental which are redundant with this API.
- */
-
-
-/* Compression strategies, listed from fastest to strongest */
-typedef enum { ZSTD_fast=1,
- ZSTD_dfast=2,
- ZSTD_greedy=3,
- ZSTD_lazy=4,
- ZSTD_lazy2=5,
- ZSTD_btlazy2=6,
- ZSTD_btopt=7,
- ZSTD_btultra=8,
- ZSTD_btultra2=9
- /* note : new strategies _might_ be added in the future.
- Only the order (from fast to strong) is guaranteed */
-} ZSTD_strategy;
-
-typedef enum {
-
- /* compression parameters
- * Note: When compressing with a ZSTD_CDict these parameters are superseded
- * by the parameters used to construct the ZSTD_CDict.
- * See ZSTD_CCtx_refCDict() for more info (superseded-by-cdict). */
- ZSTD_c_compressionLevel=100, /* Set compression parameters according to pre-defined cLevel table.
- * Note that exact compression parameters are dynamically determined,
- * depending on both compression level and srcSize (when known).
- * Default level is ZSTD_CLEVEL_DEFAULT==3.
- * Special: value 0 means default, which is controlled by ZSTD_CLEVEL_DEFAULT.
- * Note 1 : it's possible to pass a negative compression level.
- * Note 2 : setting a level does not automatically set all other compression parameters
- * to default. Setting this will however eventually dynamically impact the compression
- * parameters which have not been manually set. The manually set
- * ones will 'stick'. */
- /* Advanced compression parameters :
- * It's possible to pin down compression parameters to some specific values.
- * In which case, these values are no longer dynamically selected by the compressor */
- ZSTD_c_windowLog=101, /* Maximum allowed back-reference distance, expressed as power of 2.
- * This will set a memory budget for streaming decompression,
- * with larger values requiring more memory
- * and typically compressing more.
- * Must be clamped between ZSTD_WINDOWLOG_MIN and ZSTD_WINDOWLOG_MAX.
- * Special: value 0 means "use default windowLog".
- * Note: Using a windowLog greater than ZSTD_WINDOWLOG_LIMIT_DEFAULT
- * requires explicitly allowing such size at streaming decompression stage. */
- ZSTD_c_hashLog=102, /* Size of the initial probe table, as a power of 2.
- * Resulting memory usage is (1 << (hashLog+2)).
- * Must be clamped between ZSTD_HASHLOG_MIN and ZSTD_HASHLOG_MAX.
- * Larger tables improve compression ratio of strategies <= dFast,
- * and improve speed of strategies > dFast.
- * Special: value 0 means "use default hashLog". */
- ZSTD_c_chainLog=103, /* Size of the multi-probe search table, as a power of 2.
- * Resulting memory usage is (1 << (chainLog+2)).
- * Must be clamped between ZSTD_CHAINLOG_MIN and ZSTD_CHAINLOG_MAX.
- * Larger tables result in better and slower compression.
- * This parameter is useless for "fast" strategy.
- * It's still useful when using "dfast" strategy,
- * in which case it defines a secondary probe table.
- * Special: value 0 means "use default chainLog". */
- ZSTD_c_searchLog=104, /* Number of search attempts, as a power of 2.
- * More attempts result in better and slower compression.
- * This parameter is useless for "fast" and "dFast" strategies.
- * Special: value 0 means "use default searchLog". */
- ZSTD_c_minMatch=105, /* Minimum size of searched matches.
- * Note that Zstandard can still find matches of smaller size,
- * it just tweaks its search algorithm to look for this size and larger.
- * Larger values increase compression and decompression speed, but decrease ratio.
- * Must be clamped between ZSTD_MINMATCH_MIN and ZSTD_MINMATCH_MAX.
- * Note that currently, for all strategies < btopt, effective minimum is 4.
- * , for all strategies > fast, effective maximum is 6.
- * Special: value 0 means "use default minMatchLength". */
- ZSTD_c_targetLength=106, /* Impact of this field depends on strategy.
- * For strategies btopt, btultra & btultra2:
- * Length of Match considered "good enough" to stop search.
- * Larger values make compression stronger, and slower.
- * For strategy fast:
- * Distance between match sampling.
- * Larger values make compression faster, and weaker.
- * Special: value 0 means "use default targetLength". */
- ZSTD_c_strategy=107, /* See ZSTD_strategy enum definition.
- * The higher the value of selected strategy, the more complex it is,
- * resulting in stronger and slower compression.
- * Special: value 0 means "use default strategy". */
-
- ZSTD_c_targetCBlockSize=130, /* v1.5.6+
- * Attempts to fit compressed block size into approximately targetCBlockSize.
- * Bound by ZSTD_TARGETCBLOCKSIZE_MIN and ZSTD_TARGETCBLOCKSIZE_MAX.
- * Note that it's not a guarantee, just a convergence target (default:0).
- * No target when targetCBlockSize == 0.
- * This is helpful in low bandwidth streaming environments to improve end-to-end latency,
- * when a client can make use of partial documents (a prominent example being Chrome).
- * Note: this parameter is stable since v1.5.6.
- * It was present as an experimental parameter in earlier versions,
- * but it's not recommended using it with earlier library versions
- * due to massive performance regressions.
- */
- /* LDM mode parameters */
- ZSTD_c_enableLongDistanceMatching=160, /* Enable long distance matching.
- * This parameter is designed to improve compression ratio
- * for large inputs, by finding large matches at long distance.
- * It increases memory usage and window size.
- * Note: enabling this parameter increases default ZSTD_c_windowLog to 128 MB
- * except when expressly set to a different value.
- * Note: will be enabled by default if ZSTD_c_windowLog >= 128 MB and
- * compression strategy >= ZSTD_btopt (== compression level 16+) */
- ZSTD_c_ldmHashLog=161, /* Size of the table for long distance matching, as a power of 2.
- * Larger values increase memory usage and compression ratio,
- * but decrease compression speed.
- * Must be clamped between ZSTD_HASHLOG_MIN and ZSTD_HASHLOG_MAX
- * default: windowlog - 7.
- * Special: value 0 means "automatically determine hashlog". */
- ZSTD_c_ldmMinMatch=162, /* Minimum match size for long distance matcher.
- * Larger/too small values usually decrease compression ratio.
- * Must be clamped between ZSTD_LDM_MINMATCH_MIN and ZSTD_LDM_MINMATCH_MAX.
- * Special: value 0 means "use default value" (default: 64). */
- ZSTD_c_ldmBucketSizeLog=163, /* Log size of each bucket in the LDM hash table for collision resolution.
- * Larger values improve collision resolution but decrease compression speed.
- * The maximum value is ZSTD_LDM_BUCKETSIZELOG_MAX.
- * Special: value 0 means "use default value" (default: 3). */
- ZSTD_c_ldmHashRateLog=164, /* Frequency of inserting/looking up entries into the LDM hash table.
- * Must be clamped between 0 and (ZSTD_WINDOWLOG_MAX - ZSTD_HASHLOG_MIN).
- * Default is MAX(0, (windowLog - ldmHashLog)), optimizing hash table usage.
- * Larger values improve compression speed.
- * Deviating far from default value will likely result in a compression ratio decrease.
- * Special: value 0 means "automatically determine hashRateLog". */
-
- /* frame parameters */
- ZSTD_c_contentSizeFlag=200, /* Content size will be written into frame header _whenever known_ (default:1)
- * Content size must be known at the beginning of compression.
- * This is automatically the case when using ZSTD_compress2(),
- * For streaming scenarios, content size must be provided with ZSTD_CCtx_setPledgedSrcSize() */
- ZSTD_c_checksumFlag=201, /* A 32-bits checksum of content is written at end of frame (default:0) */
- ZSTD_c_dictIDFlag=202, /* When applicable, dictionary's ID is written into frame header (default:1) */
-
- /* multi-threading parameters */
- /* These parameters are only active if multi-threading is enabled (compiled with build macro ZSTD_MULTITHREAD).
- * Otherwise, trying to set any other value than default (0) will be a no-op and return an error.
- * In a situation where it's unknown if the linked library supports multi-threading or not,
- * setting ZSTD_c_nbWorkers to any value >= 1 and consulting the return value provides a quick way to check this property.
- */
- ZSTD_c_nbWorkers=400, /* Select how many threads will be spawned to compress in parallel.
- * When nbWorkers >= 1, triggers asynchronous mode when invoking ZSTD_compressStream*() :
- * ZSTD_compressStream*() consumes input and flush output if possible, but immediately gives back control to caller,
- * while compression is performed in parallel, within worker thread(s).
- * (note : a strong exception to this rule is when first invocation of ZSTD_compressStream2() sets ZSTD_e_end :
- * in which case, ZSTD_compressStream2() delegates to ZSTD_compress2(), which is always a blocking call).
- * More workers improve speed, but also increase memory usage.
- * Default value is `0`, aka "single-threaded mode" : no worker is spawned,
- * compression is performed inside Caller's thread, and all invocations are blocking */
- ZSTD_c_jobSize=401, /* Size of a compression job. This value is enforced only when nbWorkers >= 1.
- * Each compression job is completed in parallel, so this value can indirectly impact the nb of active threads.
- * 0 means default, which is dynamically determined based on compression parameters.
- * Job size must be a minimum of overlap size, or ZSTDMT_JOBSIZE_MIN (= 512 KB), whichever is largest.
- * The minimum size is automatically and transparently enforced. */
- ZSTD_c_overlapLog=402, /* Control the overlap size, as a fraction of window size.
- * The overlap size is an amount of data reloaded from previous job at the beginning of a new job.
- * It helps preserve compression ratio, while each job is compressed in parallel.
- * This value is enforced only when nbWorkers >= 1.
- * Larger values increase compression ratio, but decrease speed.
- * Possible values range from 0 to 9 :
- * - 0 means "default" : value will be determined by the library, depending on strategy
- * - 1 means "no overlap"
- * - 9 means "full overlap", using a full window size.
- * Each intermediate rank increases/decreases load size by a factor 2 :
- * 9: full window; 8: w/2; 7: w/4; 6: w/8; 5:w/16; 4: w/32; 3:w/64; 2:w/128; 1:no overlap; 0:default
- * default value varies between 6 and 9, depending on strategy */
-
- /* note : additional experimental parameters are also available
- * within the experimental section of the API.
- * At the time of this writing, they include :
- * ZSTD_c_rsyncable
- * ZSTD_c_format
- * ZSTD_c_forceMaxWindow
- * ZSTD_c_forceAttachDict
- * ZSTD_c_literalCompressionMode
- * ZSTD_c_srcSizeHint
- * ZSTD_c_enableDedicatedDictSearch
- * ZSTD_c_stableInBuffer
- * ZSTD_c_stableOutBuffer
- * ZSTD_c_blockDelimiters
- * ZSTD_c_validateSequences
- * ZSTD_c_blockSplitterLevel
- * ZSTD_c_splitAfterSequences
- * ZSTD_c_useRowMatchFinder
- * ZSTD_c_prefetchCDictTables
- * ZSTD_c_enableSeqProducerFallback
- * ZSTD_c_maxBlockSize
- * Because they are not stable, it's necessary to define ZSTD_STATIC_LINKING_ONLY to access them.
- * note : never ever use experimentalParam? names directly;
- * also, the enums values themselves are unstable and can still change.
- */
- ZSTD_c_experimentalParam1=500,
- ZSTD_c_experimentalParam2=10,
- ZSTD_c_experimentalParam3=1000,
- ZSTD_c_experimentalParam4=1001,
- ZSTD_c_experimentalParam5=1002,
- /* was ZSTD_c_experimentalParam6=1003; is now ZSTD_c_targetCBlockSize */
- ZSTD_c_experimentalParam7=1004,
- ZSTD_c_experimentalParam8=1005,
- ZSTD_c_experimentalParam9=1006,
- ZSTD_c_experimentalParam10=1007,
- ZSTD_c_experimentalParam11=1008,
- ZSTD_c_experimentalParam12=1009,
- ZSTD_c_experimentalParam13=1010,
- ZSTD_c_experimentalParam14=1011,
- ZSTD_c_experimentalParam15=1012,
- ZSTD_c_experimentalParam16=1013,
- ZSTD_c_experimentalParam17=1014,
- ZSTD_c_experimentalParam18=1015,
- ZSTD_c_experimentalParam19=1016,
- ZSTD_c_experimentalParam20=1017
-} ZSTD_cParameter;
-
-typedef struct {
- size_t error;
- int lowerBound;
- int upperBound;
-} ZSTD_bounds;
-
-/*! ZSTD_cParam_getBounds() :
- * All parameters must belong to an interval with lower and upper bounds,
- * otherwise they will either trigger an error or be automatically clamped.
- * @return : a structure, ZSTD_bounds, which contains
- * - an error status field, which must be tested using ZSTD_isError()
- * - lower and upper bounds, both inclusive
- */
-ZSTDLIB_API ZSTD_bounds ZSTD_cParam_getBounds(ZSTD_cParameter cParam);
-
-/*! ZSTD_CCtx_setParameter() :
- * Set one compression parameter, selected by enum ZSTD_cParameter.
- * All parameters have valid bounds. Bounds can be queried using ZSTD_cParam_getBounds().
- * Providing a value beyond bound will either clamp it, or trigger an error (depending on parameter).
- * Setting a parameter is generally only possible during frame initialization (before starting compression).
- * Exception : when using multi-threading mode (nbWorkers >= 1),
- * the following parameters can be updated _during_ compression (within same frame):
- * => compressionLevel, hashLog, chainLog, searchLog, minMatch, targetLength and strategy.
- * new parameters will be active for next job only (after a flush()).
- * @return : an error code (which can be tested using ZSTD_isError()).
- */
-ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
-
-/*! ZSTD_CCtx_setPledgedSrcSize() :
- * Total input data size to be compressed as a single frame.
- * Value will be written in frame header, unless if explicitly forbidden using ZSTD_c_contentSizeFlag.
- * This value will also be controlled at end of frame, and trigger an error if not respected.
- * @result : 0, or an error code (which can be tested with ZSTD_isError()).
- * Note 1 : pledgedSrcSize==0 actually means zero, aka an empty frame.
- * In order to mean "unknown content size", pass constant ZSTD_CONTENTSIZE_UNKNOWN.
- * ZSTD_CONTENTSIZE_UNKNOWN is default value for any new frame.
- * Note 2 : pledgedSrcSize is only valid once, for the next frame.
- * It's discarded at the end of the frame, and replaced by ZSTD_CONTENTSIZE_UNKNOWN.
- * Note 3 : Whenever all input data is provided and consumed in a single round,
- * for example with ZSTD_compress2(),
- * or invoking immediately ZSTD_compressStream2(,,,ZSTD_e_end),
- * this value is automatically overridden by srcSize instead.
- */
-ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
-
-typedef enum {
- ZSTD_reset_session_only = 1,
- ZSTD_reset_parameters = 2,
- ZSTD_reset_session_and_parameters = 3
-} ZSTD_ResetDirective;
-
-/*! ZSTD_CCtx_reset() :
- * There are 2 different things that can be reset, independently or jointly :
- * - The session : will stop compressing current frame, and make CCtx ready to start a new one.
- * Useful after an error, or to interrupt any ongoing compression.
- * Any internal data not yet flushed is cancelled.
- * Compression parameters and dictionary remain unchanged.
- * They will be used to compress next frame.
- * Resetting session never fails.
- * - The parameters : changes all parameters back to "default".
- * This also removes any reference to any dictionary or external sequence producer.
- * Parameters can only be changed between 2 sessions (i.e. no compression is currently ongoing)
- * otherwise the reset fails, and function returns an error value (which can be tested using ZSTD_isError())
- * - Both : similar to resetting the session, followed by resetting parameters.
- */
-ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
-
-/*! ZSTD_compress2() :
- * Behave the same as ZSTD_compressCCtx(), but compression parameters are set using the advanced API.
- * (note that this entry point doesn't even expose a compression level parameter).
- * ZSTD_compress2() always starts a new frame.
- * Should cctx hold data from a previously unfinished frame, everything about it is forgotten.
- * - Compression parameters are pushed into CCtx before starting compression, using ZSTD_CCtx_set*()
- * - The function is always blocking, returns when compression is completed.
- * NOTE: Providing `dstCapacity >= ZSTD_compressBound(srcSize)` guarantees that zstd will have
- * enough space to successfully compress the data, though it is possible it fails for other reasons.
- * @return : compressed size written into `dst` (<= `dstCapacity),
- * or an error code if it fails (which can be tested using ZSTD_isError()).
- */
-ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize);
-
-
-/***********************************************
-* Advanced decompression API (Requires v1.4.0+)
-************************************************/
-
-/* The advanced API pushes parameters one by one into an existing DCtx context.
- * Parameters are sticky, and remain valid for all following frames
- * using the same DCtx context.
- * It's possible to reset parameters to default values using ZSTD_DCtx_reset().
- * Note : This API is compatible with existing ZSTD_decompressDCtx() and ZSTD_decompressStream().
- * Therefore, no new decompression function is necessary.
- */
-
-typedef enum {
-
- ZSTD_d_windowLogMax=100, /* Select a size limit (in power of 2) beyond which
- * the streaming API will refuse to allocate memory buffer
- * in order to protect the host from unreasonable memory requirements.
- * This parameter is only useful in streaming mode, since no internal buffer is allocated in single-pass mode.
- * By default, a decompression context accepts window sizes <= (1 << ZSTD_WINDOWLOG_LIMIT_DEFAULT).
- * Special: value 0 means "use default maximum windowLog". */
-
- /* note : additional experimental parameters are also available
- * within the experimental section of the API.
- * At the time of this writing, they include :
- * ZSTD_d_format
- * ZSTD_d_stableOutBuffer
- * ZSTD_d_forceIgnoreChecksum
- * ZSTD_d_refMultipleDDicts
- * ZSTD_d_disableHuffmanAssembly
- * ZSTD_d_maxBlockSize
- * Because they are not stable, it's necessary to define ZSTD_STATIC_LINKING_ONLY to access them.
- * note : never ever use experimentalParam? names directly
- */
- ZSTD_d_experimentalParam1=1000,
- ZSTD_d_experimentalParam2=1001,
- ZSTD_d_experimentalParam3=1002,
- ZSTD_d_experimentalParam4=1003,
- ZSTD_d_experimentalParam5=1004,
- ZSTD_d_experimentalParam6=1005
-
-} ZSTD_dParameter;
-
-/*! ZSTD_dParam_getBounds() :
- * All parameters must belong to an interval with lower and upper bounds,
- * otherwise they will either trigger an error or be automatically clamped.
- * @return : a structure, ZSTD_bounds, which contains
- * - an error status field, which must be tested using ZSTD_isError()
- * - both lower and upper bounds, inclusive
- */
-ZSTDLIB_API ZSTD_bounds ZSTD_dParam_getBounds(ZSTD_dParameter dParam);
-
-/*! ZSTD_DCtx_setParameter() :
- * Set one compression parameter, selected by enum ZSTD_dParameter.
- * All parameters have valid bounds. Bounds can be queried using ZSTD_dParam_getBounds().
- * Providing a value beyond bound will either clamp it, or trigger an error (depending on parameter).
- * Setting a parameter is only possible during frame initialization (before starting decompression).
- * @return : 0, or an error code (which can be tested using ZSTD_isError()).
- */
-ZSTDLIB_API size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int value);
-
-/*! ZSTD_DCtx_reset() :
- * Return a DCtx to clean state.
- * Session and parameters can be reset jointly or separately.
- * Parameters can only be reset when no active frame is being decompressed.
- * @return : 0, or an error code, which can be tested with ZSTD_isError()
- */
-ZSTDLIB_API size_t ZSTD_DCtx_reset(ZSTD_DCtx* dctx, ZSTD_ResetDirective reset);
-
-
-/****************************
-* Streaming
-****************************/
-
-typedef struct ZSTD_inBuffer_s {
- const void* src; /**< start of input buffer */
- size_t size; /**< size of input buffer */
- size_t pos; /**< position where reading stopped. Will be updated. Necessarily 0 <= pos <= size */
-} ZSTD_inBuffer;
-
-typedef struct ZSTD_outBuffer_s {
- void* dst; /**< start of output buffer */
- size_t size; /**< size of output buffer */
- size_t pos; /**< position where writing stopped. Will be updated. Necessarily 0 <= pos <= size */
-} ZSTD_outBuffer;
-
-
-
-/*-***********************************************************************
-* Streaming compression - HowTo
-*
-* A ZSTD_CStream object is required to track streaming operation.
-* Use ZSTD_createCStream() and ZSTD_freeCStream() to create/release resources.
-* ZSTD_CStream objects can be reused multiple times on consecutive compression operations.
-* It is recommended to reuse ZSTD_CStream since it will play nicer with system's memory, by re-using already allocated memory.
-*
-* For parallel execution, use one separate ZSTD_CStream per thread.
-*
-* note : since v1.3.0, ZSTD_CStream and ZSTD_CCtx are the same thing.
-*
-* Parameters are sticky : when starting a new compression on the same context,
-* it will reuse the same sticky parameters as previous compression session.
-* When in doubt, it's recommended to fully initialize the context before usage.
-* Use ZSTD_CCtx_reset() to reset the context and ZSTD_CCtx_setParameter(),
-* ZSTD_CCtx_setPledgedSrcSize(), or ZSTD_CCtx_loadDictionary() and friends to
-* set more specific parameters, the pledged source size, or load a dictionary.
-*
-* Use ZSTD_compressStream2() with ZSTD_e_continue as many times as necessary to
-* consume input stream. The function will automatically update both `pos`
-* fields within `input` and `output`.
-* Note that the function may not consume the entire input, for example, because
-* the output buffer is already full, in which case `input.pos < input.size`.
-* The caller must check if input has been entirely consumed.
-* If not, the caller must make some room to receive more compressed data,
-* and then present again remaining input data.
-* note: ZSTD_e_continue is guaranteed to make some forward progress when called,
-* but doesn't guarantee maximal forward progress. This is especially relevant
-* when compressing with multiple threads. The call won't block if it can
-* consume some input, but if it can't it will wait for some, but not all,
-* output to be flushed.
-* @return : provides a minimum amount of data remaining to be flushed from internal buffers
-* or an error code, which can be tested using ZSTD_isError().
-*
-* At any moment, it's possible to flush whatever data might remain stuck within internal buffer,
-* using ZSTD_compressStream2() with ZSTD_e_flush. `output->pos` will be updated.
-* Note that, if `output->size` is too small, a single invocation with ZSTD_e_flush might not be enough (return code > 0).
-* In which case, make some room to receive more compressed data, and call again ZSTD_compressStream2() with ZSTD_e_flush.
-* You must continue calling ZSTD_compressStream2() with ZSTD_e_flush until it returns 0, at which point you can change the
-* operation.
-* note: ZSTD_e_flush will flush as much output as possible, meaning when compressing with multiple threads, it will
-* block until the flush is complete or the output buffer is full.
-* @return : 0 if internal buffers are entirely flushed,
-* >0 if some data still present within internal buffer (the value is minimal estimation of remaining size),
-* or an error code, which can be tested using ZSTD_isError().
-*
-* Calling ZSTD_compressStream2() with ZSTD_e_end instructs to finish a frame.
-* It will perform a flush and write frame epilogue.
-* The epilogue is required for decoders to consider a frame completed.
-* flush operation is the same, and follows same rules as calling ZSTD_compressStream2() with ZSTD_e_flush.
-* You must continue calling ZSTD_compressStream2() with ZSTD_e_end until it returns 0, at which point you are free to
-* start a new frame.
-* note: ZSTD_e_end will flush as much output as possible, meaning when compressing with multiple threads, it will
-* block until the flush is complete or the output buffer is full.
-* @return : 0 if frame fully completed and fully flushed,
-* >0 if some data still present within internal buffer (the value is minimal estimation of remaining size),
-* or an error code, which can be tested using ZSTD_isError().
-*
-* *******************************************************************/
-
-typedef ZSTD_CCtx ZSTD_CStream; /**< CCtx and CStream are now effectively same object (>= v1.3.0) */
- /* Continue to distinguish them for compatibility with older versions <= v1.2.0 */
-/*===== ZSTD_CStream management functions =====*/
-ZSTDLIB_API ZSTD_CStream* ZSTD_createCStream(void);
-ZSTDLIB_API size_t ZSTD_freeCStream(ZSTD_CStream* zcs); /* accept NULL pointer */
-
-/*===== Streaming compression functions =====*/
-typedef enum {
- ZSTD_e_continue=0, /* collect more data, encoder decides when to output compressed result, for optimal compression ratio */
- ZSTD_e_flush=1, /* flush any data provided so far,
- * it creates (at least) one new block, that can be decoded immediately on reception;
- * frame will continue: any future data can still reference previously compressed data, improving compression.
- * note : multithreaded compression will block to flush as much output as possible. */
- ZSTD_e_end=2 /* flush any remaining data _and_ close current frame.
- * note that frame is only closed after compressed data is fully flushed (return value == 0).
- * After that point, any additional data starts a new frame.
- * note : each frame is independent (does not reference any content from previous frame).
- : note : multithreaded compression will block to flush as much output as possible. */
-} ZSTD_EndDirective;
-
-/*! ZSTD_compressStream2() : Requires v1.4.0+
- * Behaves about the same as ZSTD_compressStream, with additional control on end directive.
- * - Compression parameters are pushed into CCtx before starting compression, using ZSTD_CCtx_set*()
- * - Compression parameters cannot be changed once compression is started (save a list of exceptions in multi-threading mode)
- * - output->pos must be <= dstCapacity, input->pos must be <= srcSize
- * - output->pos and input->pos will be updated. They are guaranteed to remain below their respective limit.
- * - endOp must be a valid directive
- * - When nbWorkers==0 (default), function is blocking : it completes its job before returning to caller.
- * - When nbWorkers>=1, function is non-blocking : it copies a portion of input, distributes jobs to internal worker threads, flush to output whatever is available,
- * and then immediately returns, just indicating that there is some data remaining to be flushed.
- * The function nonetheless guarantees forward progress : it will return only after it reads or write at least 1+ byte.
- * - Exception : if the first call requests a ZSTD_e_end directive and provides enough dstCapacity, the function delegates to ZSTD_compress2() which is always blocking.
- * - @return provides a minimum amount of data remaining to be flushed from internal buffers
- * or an error code, which can be tested using ZSTD_isError().
- * if @return != 0, flush is not fully completed, there is still some data left within internal buffers.
- * This is useful for ZSTD_e_flush, since in this case more flushes are necessary to empty all buffers.
- * For ZSTD_e_end, @return == 0 when internal buffers are fully flushed and frame is completed.
- * - after a ZSTD_e_end directive, if internal buffer is not fully flushed (@return != 0),
- * only ZSTD_e_end or ZSTD_e_flush operations are allowed.
- * Before starting a new compression job, or changing compression parameters,
- * it is required to fully flush internal buffers.
- * - note: if an operation ends with an error, it may leave @cctx in an undefined state.
- * Therefore, it's UB to invoke ZSTD_compressStream2() of ZSTD_compressStream() on such a state.
- * In order to be re-employed after an error, a state must be reset,
- * which can be done explicitly (ZSTD_CCtx_reset()),
- * or is sometimes implied by methods starting a new compression job (ZSTD_initCStream(), ZSTD_compressCCtx())
- */
-ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
- ZSTD_outBuffer* output,
- ZSTD_inBuffer* input,
- ZSTD_EndDirective endOp);
-
-
-/* These buffer sizes are softly recommended.
- * They are not required : ZSTD_compressStream*() happily accepts any buffer size, for both input and output.
- * Respecting the recommended size just makes it a bit easier for ZSTD_compressStream*(),
- * reducing the amount of memory shuffling and buffering, resulting in minor performance savings.
- *
- * However, note that these recommendations are from the perspective of a C caller program.
- * If the streaming interface is invoked from some other language,
- * especially managed ones such as Java or Go, through a foreign function interface such as jni or cgo,
- * a major performance rule is to reduce crossing such interface to an absolute minimum.
- * It's not rare that performance ends being spent more into the interface, rather than compression itself.
- * In which cases, prefer using large buffers, as large as practical,
- * for both input and output, to reduce the nb of roundtrips.
- */
-ZSTDLIB_API size_t ZSTD_CStreamInSize(void); /**< recommended size for input buffer */
-ZSTDLIB_API size_t ZSTD_CStreamOutSize(void); /**< recommended size for output buffer. Guarantee to successfully flush at least one complete compressed block. */
-
-
-/* *****************************************************************************
- * This following is a legacy streaming API, available since v1.0+ .
- * It can be replaced by ZSTD_CCtx_reset() and ZSTD_compressStream2().
- * It is redundant, but remains fully supported.
- ******************************************************************************/
-
-/*!
- * Equivalent to:
- *
- * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
- * ZSTD_CCtx_refCDict(zcs, NULL); // clear the dictionary (if any)
- * ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel);
- *
- * Note that ZSTD_initCStream() clears any previously set dictionary. Use the new API
- * to compress with a dictionary.
- */
-ZSTDLIB_API size_t ZSTD_initCStream(ZSTD_CStream* zcs, int compressionLevel);
-/*!
- * Alternative for ZSTD_compressStream2(zcs, output, input, ZSTD_e_continue).
- * NOTE: The return value is different. ZSTD_compressStream() returns a hint for
- * the next read size (if non-zero and not an error). ZSTD_compressStream2()
- * returns the minimum nb of bytes left to flush (if non-zero and not an error).
- */
-ZSTDLIB_API size_t ZSTD_compressStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output, ZSTD_inBuffer* input);
-/*! Equivalent to ZSTD_compressStream2(zcs, output, &emptyInput, ZSTD_e_flush). */
-ZSTDLIB_API size_t ZSTD_flushStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output);
-/*! Equivalent to ZSTD_compressStream2(zcs, output, &emptyInput, ZSTD_e_end). */
-ZSTDLIB_API size_t ZSTD_endStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output);
-
-
-/*-***************************************************************************
-* Streaming decompression - HowTo
-*
-* A ZSTD_DStream object is required to track streaming operations.
-* Use ZSTD_createDStream() and ZSTD_freeDStream() to create/release resources.
-* ZSTD_DStream objects can be re-employed multiple times.
-*
-* Use ZSTD_initDStream() to start a new decompression operation.
-* @return : recommended first input size
-* Alternatively, use advanced API to set specific properties.
-*
-* Use ZSTD_decompressStream() repetitively to consume your input.
-* The function will update both `pos` fields.
-* If `input.pos < input.size`, some input has not been consumed.
-* It's up to the caller to present again remaining data.
-*
-* The function tries to flush all data decoded immediately, respecting output buffer size.
-* If `output.pos < output.size`, decoder has flushed everything it could.
-*
-* However, when `output.pos == output.size`, it's more difficult to know.
-* If @return > 0, the frame is not complete, meaning
-* either there is still some data left to flush within internal buffers,
-* or there is more input to read to complete the frame (or both).
-* In which case, call ZSTD_decompressStream() again to flush whatever remains in the buffer.
-* Note : with no additional input provided, amount of data flushed is necessarily <= ZSTD_BLOCKSIZE_MAX.
-* @return : 0 when a frame is completely decoded and fully flushed,
-* or an error code, which can be tested using ZSTD_isError(),
-* or any other value > 0, which means there is still some decoding or flushing to do to complete current frame :
-* the return value is a suggested next input size (just a hint for better latency)
-* that will never request more than the remaining content of the compressed frame.
-* *******************************************************************************/
-
-typedef ZSTD_DCtx ZSTD_DStream; /**< DCtx and DStream are now effectively same object (>= v1.3.0) */
- /* For compatibility with versions <= v1.2.0, prefer differentiating them. */
-/*===== ZSTD_DStream management functions =====*/
-ZSTDLIB_API ZSTD_DStream* ZSTD_createDStream(void);
-ZSTDLIB_API size_t ZSTD_freeDStream(ZSTD_DStream* zds); /* accept NULL pointer */
-
-/*===== Streaming decompression functions =====*/
-
-/*! ZSTD_initDStream() :
- * Initialize/reset DStream state for new decompression operation.
- * Call before new decompression operation using same DStream.
- *
- * Note : This function is redundant with the advanced API and equivalent to:
- * ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
- * ZSTD_DCtx_refDDict(zds, NULL);
- */
-ZSTDLIB_API size_t ZSTD_initDStream(ZSTD_DStream* zds);
-
-/*! ZSTD_decompressStream() :
- * Streaming decompression function.
- * Call repetitively to consume full input updating it as necessary.
- * Function will update both input and output `pos` fields exposing current state via these fields:
- * - `input.pos < input.size`, some input remaining and caller should provide remaining input
- * on the next call.
- * - `output.pos < output.size`, decoder flushed internal output buffer.
- * - `output.pos == output.size`, unflushed data potentially present in the internal buffers,
- * check ZSTD_decompressStream() @return value,
- * if > 0, invoke it again to flush remaining data to output.
- * Note : with no additional input, amount of data flushed <= ZSTD_BLOCKSIZE_MAX.
- *
- * @return : 0 when a frame is completely decoded and fully flushed,
- * or an error code, which can be tested using ZSTD_isError(),
- * or any other value > 0, which means there is some decoding or flushing to do to complete current frame.
- *
- * Note: when an operation returns with an error code, the @zds state may be left in undefined state.
- * It's UB to invoke `ZSTD_decompressStream()` on such a state.
- * In order to re-use such a state, it must be first reset,
- * which can be done explicitly (`ZSTD_DCtx_reset()`),
- * or is implied for operations starting some new decompression job (`ZSTD_initDStream`, `ZSTD_decompressDCtx()`, `ZSTD_decompress_usingDict()`)
- */
-ZSTDLIB_API size_t ZSTD_decompressStream(ZSTD_DStream* zds, ZSTD_outBuffer* output, ZSTD_inBuffer* input);
-
-ZSTDLIB_API size_t ZSTD_DStreamInSize(void); /*!< recommended size for input buffer */
-ZSTDLIB_API size_t ZSTD_DStreamOutSize(void); /*!< recommended size for output buffer. Guarantee to successfully flush at least one complete block in all circumstances. */
-
-
-/**************************
-* Simple dictionary API
-***************************/
-/*! ZSTD_compress_usingDict() :
- * Compression at an explicit compression level using a Dictionary.
- * A dictionary can be any arbitrary data segment (also called a prefix),
- * or a buffer with specified information (see zdict.h).
- * Note : This function loads the dictionary, resulting in significant startup delay.
- * It's intended for a dictionary used only once.
- * Note 2 : When `dict == NULL || dictSize < 8` no dictionary is used. */
-ZSTDLIB_API size_t ZSTD_compress_usingDict(ZSTD_CCtx* ctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const void* dict,size_t dictSize,
- int compressionLevel);
-
-/*! ZSTD_decompress_usingDict() :
- * Decompression using a known Dictionary.
- * Dictionary must be identical to the one used during compression.
- * Note : This function loads the dictionary, resulting in significant startup delay.
- * It's intended for a dictionary used only once.
- * Note : When `dict == NULL || dictSize < 8` no dictionary is used. */
-ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const void* dict,size_t dictSize);
-
-
-/***********************************
- * Bulk processing dictionary API
- **********************************/
-typedef struct ZSTD_CDict_s ZSTD_CDict;
-
-/*! ZSTD_createCDict() :
- * When compressing multiple messages or blocks using the same dictionary,
- * it's recommended to digest the dictionary only once, since it's a costly operation.
- * ZSTD_createCDict() will create a state from digesting a dictionary.
- * The resulting state can be used for future compression operations with very limited startup cost.
- * ZSTD_CDict can be created once and shared by multiple threads concurrently, since its usage is read-only.
- * @dictBuffer can be released after ZSTD_CDict creation, because its content is copied within CDict.
- * Note 1 : Consider experimental function `ZSTD_createCDict_byReference()` if you prefer to not duplicate @dictBuffer content.
- * Note 2 : A ZSTD_CDict can be created from an empty @dictBuffer,
- * in which case the only thing that it transports is the @compressionLevel.
- * This can be useful in a pipeline featuring ZSTD_compress_usingCDict() exclusively,
- * expecting a ZSTD_CDict parameter with any data, including those without a known dictionary. */
-ZSTDLIB_API ZSTD_CDict* ZSTD_createCDict(const void* dictBuffer, size_t dictSize,
- int compressionLevel);
-
-/*! ZSTD_freeCDict() :
- * Function frees memory allocated by ZSTD_createCDict().
- * If a NULL pointer is passed, no operation is performed. */
-ZSTDLIB_API size_t ZSTD_freeCDict(ZSTD_CDict* CDict);
-
-/*! ZSTD_compress_usingCDict() :
- * Compression using a digested Dictionary.
- * Recommended when same dictionary is used multiple times.
- * Note : compression level is _decided at dictionary creation time_,
- * and frame parameters are hardcoded (dictID=yes, contentSize=yes, checksum=no) */
-ZSTDLIB_API size_t ZSTD_compress_usingCDict(ZSTD_CCtx* cctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const ZSTD_CDict* cdict);
-
-
-typedef struct ZSTD_DDict_s ZSTD_DDict;
-
-/*! ZSTD_createDDict() :
- * Create a digested dictionary, ready to start decompression operation without startup delay.
- * dictBuffer can be released after DDict creation, as its content is copied inside DDict. */
-ZSTDLIB_API ZSTD_DDict* ZSTD_createDDict(const void* dictBuffer, size_t dictSize);
-
-/*! ZSTD_freeDDict() :
- * Function frees memory allocated with ZSTD_createDDict()
- * If a NULL pointer is passed, no operation is performed. */
-ZSTDLIB_API size_t ZSTD_freeDDict(ZSTD_DDict* ddict);
-
-/*! ZSTD_decompress_usingDDict() :
- * Decompression using a digested Dictionary.
- * Recommended when same dictionary is used multiple times. */
-ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const ZSTD_DDict* ddict);
-
-
-/********************************
- * Dictionary helper functions
- *******************************/
-
-/*! ZSTD_getDictID_fromDict() : Requires v1.4.0+
- * Provides the dictID stored within dictionary.
- * if @return == 0, the dictionary is not conformant with Zstandard specification.
- * It can still be loaded, but as a content-only dictionary. */
-ZSTDLIB_API unsigned ZSTD_getDictID_fromDict(const void* dict, size_t dictSize);
-
-/*! ZSTD_getDictID_fromCDict() : Requires v1.5.0+
- * Provides the dictID of the dictionary loaded into `cdict`.
- * If @return == 0, the dictionary is not conformant to Zstandard specification, or empty.
- * Non-conformant dictionaries can still be loaded, but as content-only dictionaries. */
-ZSTDLIB_API unsigned ZSTD_getDictID_fromCDict(const ZSTD_CDict* cdict);
-
-/*! ZSTD_getDictID_fromDDict() : Requires v1.4.0+
- * Provides the dictID of the dictionary loaded into `ddict`.
- * If @return == 0, the dictionary is not conformant to Zstandard specification, or empty.
- * Non-conformant dictionaries can still be loaded, but as content-only dictionaries. */
-ZSTDLIB_API unsigned ZSTD_getDictID_fromDDict(const ZSTD_DDict* ddict);
-
-/*! ZSTD_getDictID_fromFrame() : Requires v1.4.0+
- * Provides the dictID required to decompressed the frame stored within `src`.
- * If @return == 0, the dictID could not be decoded.
- * This could for one of the following reasons :
- * - The frame does not require a dictionary to be decoded (most common case).
- * - The frame was built with dictID intentionally removed. Whatever dictionary is necessary is a hidden piece of information.
- * Note : this use case also happens when using a non-conformant dictionary.
- * - `srcSize` is too small, and as a result, the frame header could not be decoded (only possible if `srcSize < ZSTD_FRAMEHEADERSIZE_MAX`).
- * - This is not a Zstandard frame.
- * When identifying the exact failure cause, it's possible to use ZSTD_getFrameHeader(), which will provide a more precise error code. */
-ZSTDLIB_API unsigned ZSTD_getDictID_fromFrame(const void* src, size_t srcSize);
-
-
-/*******************************************************************************
- * Advanced dictionary and prefix API (Requires v1.4.0+)
- *
- * This API allows dictionaries to be used with ZSTD_compress2(),
- * ZSTD_compressStream2(), and ZSTD_decompressDCtx().
- * Dictionaries are sticky, they remain valid when same context is reused,
- * they only reset when the context is reset
- * with ZSTD_reset_parameters or ZSTD_reset_session_and_parameters.
- * In contrast, Prefixes are single-use.
- ******************************************************************************/
-
-
-/*! ZSTD_CCtx_loadDictionary() : Requires v1.4.0+
- * Create an internal CDict from `dict` buffer.
- * Decompression will have to use same dictionary.
- * @result : 0, or an error code (which can be tested with ZSTD_isError()).
- * Special: Loading a NULL (or 0-size) dictionary invalidates previous dictionary,
- * meaning "return to no-dictionary mode".
- * Note 1 : Dictionary is sticky, it will be used for all future compressed frames,
- * until parameters are reset, a new dictionary is loaded, or the dictionary
- * is explicitly invalidated by loading a NULL dictionary.
- * Note 2 : Loading a dictionary involves building tables.
- * It's also a CPU consuming operation, with non-negligible impact on latency.
- * Tables are dependent on compression parameters, and for this reason,
- * compression parameters can no longer be changed after loading a dictionary.
- * Note 3 :`dict` content will be copied internally.
- * Use experimental ZSTD_CCtx_loadDictionary_byReference() to reference content instead.
- * In such a case, dictionary buffer must outlive its users.
- * Note 4 : Use ZSTD_CCtx_loadDictionary_advanced()
- * to precisely select how dictionary content must be interpreted.
- * Note 5 : This method does not benefit from LDM (long distance mode).
- * If you want to employ LDM on some large dictionary content,
- * prefer employing ZSTD_CCtx_refPrefix() described below.
- */
-ZSTDLIB_API size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, const void* dict, size_t dictSize);
-
-/*! ZSTD_CCtx_refCDict() : Requires v1.4.0+
- * Reference a prepared dictionary, to be used for all future compressed frames.
- * Note that compression parameters are enforced from within CDict,
- * and supersede any compression parameter previously set within CCtx.
- * The parameters ignored are labelled as "superseded-by-cdict" in the ZSTD_cParameter enum docs.
- * The ignored parameters will be used again if the CCtx is returned to no-dictionary mode.
- * The dictionary will remain valid for future compressed frames using same CCtx.
- * @result : 0, or an error code (which can be tested with ZSTD_isError()).
- * Special : Referencing a NULL CDict means "return to no-dictionary mode".
- * Note 1 : Currently, only one dictionary can be managed.
- * Referencing a new dictionary effectively "discards" any previous one.
- * Note 2 : CDict is just referenced, its lifetime must outlive its usage within CCtx. */
-ZSTDLIB_API size_t ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict);
-
-/*! ZSTD_CCtx_refPrefix() : Requires v1.4.0+
- * Reference a prefix (single-usage dictionary) for next compressed frame.
- * A prefix is **only used once**. Tables are discarded at end of frame (ZSTD_e_end).
- * Decompression will need same prefix to properly regenerate data.
- * Compressing with a prefix is similar in outcome as performing a diff and compressing it,
- * but performs much faster, especially during decompression (compression speed is tunable with compression level).
- * This method is compatible with LDM (long distance mode).
- * @result : 0, or an error code (which can be tested with ZSTD_isError()).
- * Special: Adding any prefix (including NULL) invalidates any previous prefix or dictionary
- * Note 1 : Prefix buffer is referenced. It **must** outlive compression.
- * Its content must remain unmodified during compression.
- * Note 2 : If the intention is to diff some large src data blob with some prior version of itself,
- * ensure that the window size is large enough to contain the entire source.
- * See ZSTD_c_windowLog.
- * Note 3 : Referencing a prefix involves building tables, which are dependent on compression parameters.
- * It's a CPU consuming operation, with non-negligible impact on latency.
- * If there is a need to use the same prefix multiple times, consider loadDictionary instead.
- * Note 4 : By default, the prefix is interpreted as raw content (ZSTD_dct_rawContent).
- * Use experimental ZSTD_CCtx_refPrefix_advanced() to alter dictionary interpretation. */
-ZSTDLIB_API size_t ZSTD_CCtx_refPrefix(ZSTD_CCtx* cctx,
- const void* prefix, size_t prefixSize);
-
-/*! ZSTD_DCtx_loadDictionary() : Requires v1.4.0+
- * Create an internal DDict from dict buffer, to be used to decompress all future frames.
- * The dictionary remains valid for all future frames, until explicitly invalidated, or
- * a new dictionary is loaded.
- * @result : 0, or an error code (which can be tested with ZSTD_isError()).
- * Special : Adding a NULL (or 0-size) dictionary invalidates any previous dictionary,
- * meaning "return to no-dictionary mode".
- * Note 1 : Loading a dictionary involves building tables,
- * which has a non-negligible impact on CPU usage and latency.
- * It's recommended to "load once, use many times", to amortize the cost
- * Note 2 :`dict` content will be copied internally, so `dict` can be released after loading.
- * Use ZSTD_DCtx_loadDictionary_byReference() to reference dictionary content instead.
- * Note 3 : Use ZSTD_DCtx_loadDictionary_advanced() to take control of
- * how dictionary content is loaded and interpreted.
- */
-ZSTDLIB_API size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
-
-/*! ZSTD_DCtx_refDDict() : Requires v1.4.0+
- * Reference a prepared dictionary, to be used to decompress next frames.
- * The dictionary remains active for decompression of future frames using same DCtx.
- *
- * If called with ZSTD_d_refMultipleDDicts enabled, repeated calls of this function
- * will store the DDict references in a table, and the DDict used for decompression
- * will be determined at decompression time, as per the dict ID in the frame.
- * The memory for the table is allocated on the first call to refDDict, and can be
- * freed with ZSTD_freeDCtx().
- *
- * If called with ZSTD_d_refMultipleDDicts disabled (the default), only one dictionary
- * will be managed, and referencing a dictionary effectively "discards" any previous one.
- *
- * @result : 0, or an error code (which can be tested with ZSTD_isError()).
- * Special: referencing a NULL DDict means "return to no-dictionary mode".
- * Note 2 : DDict is just referenced, its lifetime must outlive its usage from DCtx.
- */
-ZSTDLIB_API size_t ZSTD_DCtx_refDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
-
-/*! ZSTD_DCtx_refPrefix() : Requires v1.4.0+
- * Reference a prefix (single-usage dictionary) to decompress next frame.
- * This is the reverse operation of ZSTD_CCtx_refPrefix(),
- * and must use the same prefix as the one used during compression.
- * Prefix is **only used once**. Reference is discarded at end of frame.
- * End of frame is reached when ZSTD_decompressStream() returns 0.
- * @result : 0, or an error code (which can be tested with ZSTD_isError()).
- * Note 1 : Adding any prefix (including NULL) invalidates any previously set prefix or dictionary
- * Note 2 : Prefix buffer is referenced. It **must** outlive decompression.
- * Prefix buffer must remain unmodified up to the end of frame,
- * reached when ZSTD_decompressStream() returns 0.
- * Note 3 : By default, the prefix is treated as raw content (ZSTD_dct_rawContent).
- * Use ZSTD_CCtx_refPrefix_advanced() to alter dictMode (Experimental section)
- * Note 4 : Referencing a raw content prefix has almost no cpu nor memory cost.
- * A full dictionary is more costly, as it requires building tables.
- */
-ZSTDLIB_API size_t ZSTD_DCtx_refPrefix(ZSTD_DCtx* dctx,
- const void* prefix, size_t prefixSize);
-
-/* === Memory management === */
-
-/*! ZSTD_sizeof_*() : Requires v1.4.0+
- * These functions give the _current_ memory usage of selected object.
- * Note that object memory usage can evolve (increase or decrease) over time. */
-ZSTDLIB_API size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx);
-ZSTDLIB_API size_t ZSTD_sizeof_DCtx(const ZSTD_DCtx* dctx);
-ZSTDLIB_API size_t ZSTD_sizeof_CStream(const ZSTD_CStream* zcs);
-ZSTDLIB_API size_t ZSTD_sizeof_DStream(const ZSTD_DStream* zds);
-ZSTDLIB_API size_t ZSTD_sizeof_CDict(const ZSTD_CDict* cdict);
-ZSTDLIB_API size_t ZSTD_sizeof_DDict(const ZSTD_DDict* ddict);
-
-#endif /* ZSTD_H_235446 */
-
-
-/* **************************************************************************************
- * ADVANCED AND EXPERIMENTAL FUNCTIONS
- ****************************************************************************************
- * The definitions in the following section are considered experimental.
- * They are provided for advanced scenarios.
- * They should never be used with a dynamic library, as prototypes may change in the future.
- * Use them only in association with static linking.
- * ***************************************************************************************/
-
-#if defined(ZSTD_STATIC_LINKING_ONLY) && !defined(ZSTD_H_ZSTD_STATIC_LINKING_ONLY)
-#define ZSTD_H_ZSTD_STATIC_LINKING_ONLY
-
-#include /* INT_MAX */
-
-/* This can be overridden externally to hide static symbols. */
-#ifndef ZSTDLIB_STATIC_API
-# if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1)
-# define ZSTDLIB_STATIC_API __declspec(dllexport) ZSTDLIB_VISIBLE
-# elif defined(ZSTD_DLL_IMPORT) && (ZSTD_DLL_IMPORT==1)
-# define ZSTDLIB_STATIC_API __declspec(dllimport) ZSTDLIB_VISIBLE
-# else
-# define ZSTDLIB_STATIC_API ZSTDLIB_VISIBLE
-# endif
-#endif
-
-/****************************************************************************************
- * experimental API (static linking only)
- ****************************************************************************************
- * The following symbols and constants
- * are not planned to join "stable API" status in the near future.
- * They can still change in future versions.
- * Some of them are planned to remain in the static_only section indefinitely.
- * Some of them might be removed in the future (especially when redundant with existing stable functions)
- * ***************************************************************************************/
-
-#define ZSTD_FRAMEHEADERSIZE_PREFIX(format) ((format) == ZSTD_f_zstd1 ? 5 : 1) /* minimum input size required to query frame header size */
-#define ZSTD_FRAMEHEADERSIZE_MIN(format) ((format) == ZSTD_f_zstd1 ? 6 : 2)
-#define ZSTD_FRAMEHEADERSIZE_MAX 18 /* can be useful for static allocation */
-#define ZSTD_SKIPPABLEHEADERSIZE 8
-
-/* compression parameter bounds */
-#define ZSTD_WINDOWLOG_MAX_32 30
-#define ZSTD_WINDOWLOG_MAX_64 31
-#define ZSTD_WINDOWLOG_MAX ((int)(sizeof(size_t) == 4 ? ZSTD_WINDOWLOG_MAX_32 : ZSTD_WINDOWLOG_MAX_64))
-#define ZSTD_WINDOWLOG_MIN 10
-#define ZSTD_HASHLOG_MAX ((ZSTD_WINDOWLOG_MAX < 30) ? ZSTD_WINDOWLOG_MAX : 30)
-#define ZSTD_HASHLOG_MIN 6
-#define ZSTD_CHAINLOG_MAX_32 29
-#define ZSTD_CHAINLOG_MAX_64 30
-#define ZSTD_CHAINLOG_MAX ((int)(sizeof(size_t) == 4 ? ZSTD_CHAINLOG_MAX_32 : ZSTD_CHAINLOG_MAX_64))
-#define ZSTD_CHAINLOG_MIN ZSTD_HASHLOG_MIN
-#define ZSTD_SEARCHLOG_MAX (ZSTD_WINDOWLOG_MAX-1)
-#define ZSTD_SEARCHLOG_MIN 1
-#define ZSTD_MINMATCH_MAX 7 /* only for ZSTD_fast, other strategies are limited to 6 */
-#define ZSTD_MINMATCH_MIN 3 /* only for ZSTD_btopt+, faster strategies are limited to 4 */
-#define ZSTD_TARGETLENGTH_MAX ZSTD_BLOCKSIZE_MAX
-#define ZSTD_TARGETLENGTH_MIN 0 /* note : comparing this constant to an unsigned results in a tautological test */
-#define ZSTD_STRATEGY_MIN ZSTD_fast
-#define ZSTD_STRATEGY_MAX ZSTD_btultra2
-#define ZSTD_BLOCKSIZE_MAX_MIN (1 << 10) /* The minimum valid max blocksize. Maximum blocksizes smaller than this make compressBound() inaccurate. */
-
-
-#define ZSTD_OVERLAPLOG_MIN 0
-#define ZSTD_OVERLAPLOG_MAX 9
-
-#define ZSTD_WINDOWLOG_LIMIT_DEFAULT 27 /* by default, the streaming decoder will refuse any frame
- * requiring larger than (1< 0:
- * If litLength != 0:
- * rep == 1 --> offset == repeat_offset_1
- * rep == 2 --> offset == repeat_offset_2
- * rep == 3 --> offset == repeat_offset_3
- * If litLength == 0:
- * rep == 1 --> offset == repeat_offset_2
- * rep == 2 --> offset == repeat_offset_3
- * rep == 3 --> offset == repeat_offset_1 - 1
- *
- * Note: This field is optional. ZSTD_generateSequences() will calculate the value of
- * 'rep', but repeat offsets do not necessarily need to be calculated from an external
- * sequence provider's perspective. For example, ZSTD_compressSequences() does not
- * use this 'rep' field at all (as of now).
- */
-} ZSTD_Sequence;
-
-typedef struct {
- unsigned windowLog; /**< largest match distance : larger == more compression, more memory needed during decompression */
- unsigned chainLog; /**< fully searched segment : larger == more compression, slower, more memory (useless for fast) */
- unsigned hashLog; /**< dispatch table : larger == faster, more memory */
- unsigned searchLog; /**< nb of searches : larger == more compression, slower */
- unsigned minMatch; /**< match length searched : larger == faster decompression, sometimes less compression */
- unsigned targetLength; /**< acceptable match size for optimal parser (only) : larger == more compression, slower */
- ZSTD_strategy strategy; /**< see ZSTD_strategy definition above */
-} ZSTD_compressionParameters;
-
-typedef struct {
- int contentSizeFlag; /**< 1: content size will be in frame header (when known) */
- int checksumFlag; /**< 1: generate a 32-bits checksum using XXH64 algorithm at end of frame, for error detection */
- int noDictIDFlag; /**< 1: no dictID will be saved into frame header (dictID is only useful for dictionary compression) */
-} ZSTD_frameParameters;
-
-typedef struct {
- ZSTD_compressionParameters cParams;
- ZSTD_frameParameters fParams;
-} ZSTD_parameters;
-
-typedef enum {
- ZSTD_dct_auto = 0, /* dictionary is "full" when starting with ZSTD_MAGIC_DICTIONARY, otherwise it is "rawContent" */
- ZSTD_dct_rawContent = 1, /* ensures dictionary is always loaded as rawContent, even if it starts with ZSTD_MAGIC_DICTIONARY */
- ZSTD_dct_fullDict = 2 /* refuses to load a dictionary if it does not respect Zstandard's specification, starting with ZSTD_MAGIC_DICTIONARY */
-} ZSTD_dictContentType_e;
-
-typedef enum {
- ZSTD_dlm_byCopy = 0, /**< Copy dictionary content internally */
- ZSTD_dlm_byRef = 1 /**< Reference dictionary content -- the dictionary buffer must outlive its users. */
-} ZSTD_dictLoadMethod_e;
-
-typedef enum {
- ZSTD_f_zstd1 = 0, /* zstd frame format, specified in zstd_compression_format.md (default) */
- ZSTD_f_zstd1_magicless = 1 /* Variant of zstd frame format, without initial 4-bytes magic number.
- * Useful to save 4 bytes per generated frame.
- * Decoder cannot recognise automatically this format, requiring this instruction. */
-} ZSTD_format_e;
-
-typedef enum {
- /* Note: this enum controls ZSTD_d_forceIgnoreChecksum */
- ZSTD_d_validateChecksum = 0,
- ZSTD_d_ignoreChecksum = 1
-} ZSTD_forceIgnoreChecksum_e;
-
-typedef enum {
- /* Note: this enum controls ZSTD_d_refMultipleDDicts */
- ZSTD_rmd_refSingleDDict = 0,
- ZSTD_rmd_refMultipleDDicts = 1
-} ZSTD_refMultipleDDicts_e;
-
-typedef enum {
- /* Note: this enum and the behavior it controls are effectively internal
- * implementation details of the compressor. They are expected to continue
- * to evolve and should be considered only in the context of extremely
- * advanced performance tuning.
- *
- * Zstd currently supports the use of a CDict in three ways:
- *
- * - The contents of the CDict can be copied into the working context. This
- * means that the compression can search both the dictionary and input
- * while operating on a single set of internal tables. This makes
- * the compression faster per-byte of input. However, the initial copy of
- * the CDict's tables incurs a fixed cost at the beginning of the
- * compression. For small compressions (< 8 KB), that copy can dominate
- * the cost of the compression.
- *
- * - The CDict's tables can be used in-place. In this model, compression is
- * slower per input byte, because the compressor has to search two sets of
- * tables. However, this model incurs no start-up cost (as long as the
- * working context's tables can be reused). For small inputs, this can be
- * faster than copying the CDict's tables.
- *
- * - The CDict's tables are not used at all, and instead we use the working
- * context alone to reload the dictionary and use params based on the source
- * size. See ZSTD_compress_insertDictionary() and ZSTD_compress_usingDict().
- * This method is effective when the dictionary sizes are very small relative
- * to the input size, and the input size is fairly large to begin with.
- *
- * Zstd has a simple internal heuristic that selects which strategy to use
- * at the beginning of a compression. However, if experimentation shows that
- * Zstd is making poor choices, it is possible to override that choice with
- * this enum.
- */
- ZSTD_dictDefaultAttach = 0, /* Use the default heuristic. */
- ZSTD_dictForceAttach = 1, /* Never copy the dictionary. */
- ZSTD_dictForceCopy = 2, /* Always copy the dictionary. */
- ZSTD_dictForceLoad = 3 /* Always reload the dictionary */
-} ZSTD_dictAttachPref_e;
-
-typedef enum {
- ZSTD_lcm_auto = 0, /**< Automatically determine the compression mode based on the compression level.
- * Negative compression levels will be uncompressed, and positive compression
- * levels will be compressed. */
- ZSTD_lcm_huffman = 1, /**< Always attempt Huffman compression. Uncompressed literals will still be
- * emitted if Huffman compression is not profitable. */
- ZSTD_lcm_uncompressed = 2 /**< Always emit uncompressed literals. */
-} ZSTD_literalCompressionMode_e;
-
-typedef enum {
- /* Note: This enum controls features which are conditionally beneficial. Zstd typically will make a final
- * decision on whether or not to enable the feature (ZSTD_ps_auto), but setting the switch to ZSTD_ps_enable
- * or ZSTD_ps_disable allow for a force enable/disable the feature.
- */
- ZSTD_ps_auto = 0, /* Let the library automatically determine whether the feature shall be enabled */
- ZSTD_ps_enable = 1, /* Force-enable the feature */
- ZSTD_ps_disable = 2 /* Do not use the feature */
-} ZSTD_paramSwitch_e;
-
-/***************************************
-* Frame header and size functions
-***************************************/
-
-/*! ZSTD_findDecompressedSize() :
- * `src` should point to the start of a series of ZSTD encoded and/or skippable frames
- * `srcSize` must be the _exact_ size of this series
- * (i.e. there should be a frame boundary at `src + srcSize`)
- * @return : - decompressed size of all data in all successive frames
- * - if the decompressed size cannot be determined: ZSTD_CONTENTSIZE_UNKNOWN
- * - if an error occurred: ZSTD_CONTENTSIZE_ERROR
- *
- * note 1 : decompressed size is an optional field, that may not be present, especially in streaming mode.
- * When `return==ZSTD_CONTENTSIZE_UNKNOWN`, data to decompress could be any size.
- * In which case, it's necessary to use streaming mode to decompress data.
- * note 2 : decompressed size is always present when compression is done with ZSTD_compress()
- * note 3 : decompressed size can be very large (64-bits value),
- * potentially larger than what local system can handle as a single memory segment.
- * In which case, it's necessary to use streaming mode to decompress data.
- * note 4 : If source is untrusted, decompressed size could be wrong or intentionally modified.
- * Always ensure result fits within application's authorized limits.
- * Each application can set its own limits.
- * note 5 : ZSTD_findDecompressedSize handles multiple frames, and so it must traverse the input to
- * read each contained frame header. This is fast as most of the data is skipped,
- * however it does mean that all frame data must be present and valid. */
-ZSTDLIB_STATIC_API unsigned long long ZSTD_findDecompressedSize(const void* src, size_t srcSize);
-
-/*! ZSTD_decompressBound() :
- * `src` should point to the start of a series of ZSTD encoded and/or skippable frames
- * `srcSize` must be the _exact_ size of this series
- * (i.e. there should be a frame boundary at `src + srcSize`)
- * @return : - upper-bound for the decompressed size of all data in all successive frames
- * - if an error occurred: ZSTD_CONTENTSIZE_ERROR
- *
- * note 1 : an error can occur if `src` contains an invalid or incorrectly formatted frame.
- * note 2 : the upper-bound is exact when the decompressed size field is available in every ZSTD encoded frame of `src`.
- * in this case, `ZSTD_findDecompressedSize` and `ZSTD_decompressBound` return the same value.
- * note 3 : when the decompressed size field isn't available, the upper-bound for that frame is calculated by:
- * upper-bound = # blocks * min(128 KB, Window_Size)
- */
-ZSTDLIB_STATIC_API unsigned long long ZSTD_decompressBound(const void* src, size_t srcSize);
-
-/*! ZSTD_frameHeaderSize() :
- * srcSize must be >= ZSTD_FRAMEHEADERSIZE_PREFIX.
- * @return : size of the Frame Header,
- * or an error code (if srcSize is too small) */
-ZSTDLIB_STATIC_API size_t ZSTD_frameHeaderSize(const void* src, size_t srcSize);
-
-typedef enum { ZSTD_frame, ZSTD_skippableFrame } ZSTD_frameType_e;
-typedef struct {
- unsigned long long frameContentSize; /* if == ZSTD_CONTENTSIZE_UNKNOWN, it means this field is not available. 0 means "empty" */
- unsigned long long windowSize; /* can be very large, up to <= frameContentSize */
- unsigned blockSizeMax;
- ZSTD_frameType_e frameType; /* if == ZSTD_skippableFrame, frameContentSize is the size of skippable content */
- unsigned headerSize;
- unsigned dictID;
- unsigned checksumFlag;
- unsigned _reserved1;
- unsigned _reserved2;
-} ZSTD_frameHeader;
-
-/*! ZSTD_getFrameHeader() :
- * decode Frame Header, or requires larger `srcSize`.
- * @return : 0, `zfhPtr` is correctly filled,
- * >0, `srcSize` is too small, value is wanted `srcSize` amount,
- * or an error code, which can be tested using ZSTD_isError() */
-ZSTDLIB_STATIC_API size_t ZSTD_getFrameHeader(ZSTD_frameHeader* zfhPtr, const void* src, size_t srcSize); /**< doesn't consume input */
-/*! ZSTD_getFrameHeader_advanced() :
- * same as ZSTD_getFrameHeader(),
- * with added capability to select a format (like ZSTD_f_zstd1_magicless) */
-ZSTDLIB_STATIC_API size_t ZSTD_getFrameHeader_advanced(ZSTD_frameHeader* zfhPtr, const void* src, size_t srcSize, ZSTD_format_e format);
-
-/*! ZSTD_decompressionMargin() :
- * Zstd supports in-place decompression, where the input and output buffers overlap.
- * In this case, the output buffer must be at least (Margin + Output_Size) bytes large,
- * and the input buffer must be at the end of the output buffer.
- *
- * _______________________ Output Buffer ________________________
- * | |
- * | ____ Input Buffer ____|
- * | | |
- * v v v
- * |---------------------------------------|-----------|----------|
- * ^ ^ ^
- * |___________________ Output_Size ___________________|_ Margin _|
- *
- * NOTE: See also ZSTD_DECOMPRESSION_MARGIN().
- * NOTE: This applies only to single-pass decompression through ZSTD_decompress() or
- * ZSTD_decompressDCtx().
- * NOTE: This function supports multi-frame input.
- *
- * @param src The compressed frame(s)
- * @param srcSize The size of the compressed frame(s)
- * @returns The decompression margin or an error that can be checked with ZSTD_isError().
- */
-ZSTDLIB_STATIC_API size_t ZSTD_decompressionMargin(const void* src, size_t srcSize);
-
-/*! ZSTD_DECOMPRESS_MARGIN() :
- * Similar to ZSTD_decompressionMargin(), but instead of computing the margin from
- * the compressed frame, compute it from the original size and the blockSizeLog.
- * See ZSTD_decompressionMargin() for details.
- *
- * WARNING: This macro does not support multi-frame input, the input must be a single
- * zstd frame. If you need that support use the function, or implement it yourself.
- *
- * @param originalSize The original uncompressed size of the data.
- * @param blockSize The block size == MIN(windowSize, ZSTD_BLOCKSIZE_MAX).
- * Unless you explicitly set the windowLog smaller than
- * ZSTD_BLOCKSIZELOG_MAX you can just use ZSTD_BLOCKSIZE_MAX.
- */
-#define ZSTD_DECOMPRESSION_MARGIN(originalSize, blockSize) ((size_t)( \
- ZSTD_FRAMEHEADERSIZE_MAX /* Frame header */ + \
- 4 /* checksum */ + \
- ((originalSize) == 0 ? 0 : 3 * (((originalSize) + (blockSize) - 1) / blockSize)) /* 3 bytes per block */ + \
- (blockSize) /* One block of margin */ \
- ))
-
-typedef enum {
- ZSTD_sf_noBlockDelimiters = 0, /* Representation of ZSTD_Sequence has no block delimiters, sequences only */
- ZSTD_sf_explicitBlockDelimiters = 1 /* Representation of ZSTD_Sequence contains explicit block delimiters */
-} ZSTD_sequenceFormat_e;
-
-/*! ZSTD_sequenceBound() :
- * `srcSize` : size of the input buffer
- * @return : upper-bound for the number of sequences that can be generated
- * from a buffer of srcSize bytes
- *
- * note : returns number of sequences - to get bytes, multiply by sizeof(ZSTD_Sequence).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_sequenceBound(size_t srcSize);
-
-/*! ZSTD_generateSequences() :
- * WARNING: This function is meant for debugging and informational purposes ONLY!
- * Its implementation is flawed, and it will be deleted in a future version.
- * It is not guaranteed to succeed, as there are several cases where it will give
- * up and fail. You should NOT use this function in production code.
- *
- * This function is deprecated, and will be removed in a future version.
- *
- * Generate sequences using ZSTD_compress2(), given a source buffer.
- *
- * @param zc The compression context to be used for ZSTD_compress2(). Set any
- * compression parameters you need on this context.
- * @param outSeqs The output sequences buffer of size @p outSeqsSize
- * @param outSeqsSize The size of the output sequences buffer.
- * ZSTD_sequenceBound(srcSize) is an upper bound on the number
- * of sequences that can be generated.
- * @param src The source buffer to generate sequences from of size @p srcSize.
- * @param srcSize The size of the source buffer.
- *
- * Each block will end with a dummy sequence
- * with offset == 0, matchLength == 0, and litLength == length of last literals.
- * litLength may be == 0, and if so, then the sequence of (of: 0 ml: 0 ll: 0)
- * simply acts as a block delimiter.
- *
- * @returns The number of sequences generated, necessarily less than
- * ZSTD_sequenceBound(srcSize), or an error code that can be checked
- * with ZSTD_isError().
- */
-ZSTD_DEPRECATED("For debugging only, will be replaced by ZSTD_extractSequences()")
-ZSTDLIB_STATIC_API size_t
-ZSTD_generateSequences(ZSTD_CCtx* zc,
- ZSTD_Sequence* outSeqs, size_t outSeqsSize,
- const void* src, size_t srcSize);
-
-/*! ZSTD_mergeBlockDelimiters() :
- * Given an array of ZSTD_Sequence, remove all sequences that represent block delimiters/last literals
- * by merging them into the literals of the next sequence.
- *
- * As such, the final generated result has no explicit representation of block boundaries,
- * and the final last literals segment is not represented in the sequences.
- *
- * The output of this function can be fed into ZSTD_compressSequences() with CCtx
- * setting of ZSTD_c_blockDelimiters as ZSTD_sf_noBlockDelimiters
- * @return : number of sequences left after merging
- */
-ZSTDLIB_STATIC_API size_t ZSTD_mergeBlockDelimiters(ZSTD_Sequence* sequences, size_t seqsSize);
-
-/*! ZSTD_compressSequences() :
- * Compress an array of ZSTD_Sequence, associated with @src buffer, into dst.
- * @src contains the entire input (not just the literals).
- * If @srcSize > sum(sequence.length), the remaining bytes are considered all literals
- * If a dictionary is included, then the cctx should reference the dict. (see: ZSTD_CCtx_refCDict(), ZSTD_CCtx_loadDictionary(), etc.)
- * The entire source is compressed into a single frame.
- *
- * The compression behavior changes based on cctx params. In particular:
- * If ZSTD_c_blockDelimiters == ZSTD_sf_noBlockDelimiters, the array of ZSTD_Sequence is expected to contain
- * no block delimiters (defined in ZSTD_Sequence). Block boundaries are roughly determined based on
- * the block size derived from the cctx, and sequences may be split. This is the default setting.
- *
- * If ZSTD_c_blockDelimiters == ZSTD_sf_explicitBlockDelimiters, the array of ZSTD_Sequence is expected to contain
- * block delimiters (defined in ZSTD_Sequence). Behavior is undefined if no block delimiters are provided.
- *
- * If ZSTD_c_validateSequences == 0, this function will blindly accept the sequences provided. Invalid sequences cause undefined
- * behavior. If ZSTD_c_validateSequences == 1, then if sequence is invalid (see doc/zstd_compression_format.md for
- * specifics regarding offset/matchlength requirements) then the function will bail out and return an error.
- *
- * In addition to the two adjustable experimental params, there are other important cctx params.
- * - ZSTD_c_minMatch MUST be set as less than or equal to the smallest match generated by the match finder. It has a minimum value of ZSTD_MINMATCH_MIN.
- * - ZSTD_c_compressionLevel accordingly adjusts the strength of the entropy coder, as it would in typical compression.
- * - ZSTD_c_windowLog affects offset validation: this function will return an error at higher debug levels if a provided offset
- * is larger than what the spec allows for a given window log and dictionary (if present). See: doc/zstd_compression_format.md
- *
- * Note: Repcodes are, as of now, always re-calculated within this function, so ZSTD_Sequence::rep is unused.
- * Note 2: Once we integrate ability to ingest repcodes, the explicit block delims mode must respect those repcodes exactly,
- * and cannot emit an RLE block that disagrees with the repcode history
- * @return : final compressed size, or a ZSTD error code.
- */
-ZSTDLIB_STATIC_API size_t
-ZSTD_compressSequences( ZSTD_CCtx* cctx, void* dst, size_t dstSize,
- const ZSTD_Sequence* inSeqs, size_t inSeqsSize,
- const void* src, size_t srcSize);
-
-
-/*! ZSTD_writeSkippableFrame() :
- * Generates a zstd skippable frame containing data given by src, and writes it to dst buffer.
- *
- * Skippable frames begin with a 4-byte magic number. There are 16 possible choices of magic number,
- * ranging from ZSTD_MAGIC_SKIPPABLE_START to ZSTD_MAGIC_SKIPPABLE_START+15.
- * As such, the parameter magicVariant controls the exact skippable frame magic number variant used, so
- * the magic number used will be ZSTD_MAGIC_SKIPPABLE_START + magicVariant.
- *
- * Returns an error if destination buffer is not large enough, if the source size is not representable
- * with a 4-byte unsigned int, or if the parameter magicVariant is greater than 15 (and therefore invalid).
- *
- * @return : number of bytes written or a ZSTD error.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_writeSkippableFrame(void* dst, size_t dstCapacity,
- const void* src, size_t srcSize, unsigned magicVariant);
-
-/*! ZSTD_readSkippableFrame() :
- * Retrieves a zstd skippable frame containing data given by src, and writes it to dst buffer.
- *
- * The parameter magicVariant will receive the magicVariant that was supplied when the frame was written,
- * i.e. magicNumber - ZSTD_MAGIC_SKIPPABLE_START. This can be NULL if the caller is not interested
- * in the magicVariant.
- *
- * Returns an error if destination buffer is not large enough, or if the frame is not skippable.
- *
- * @return : number of bytes written or a ZSTD error.
- */
-ZSTDLIB_API size_t ZSTD_readSkippableFrame(void* dst, size_t dstCapacity, unsigned* magicVariant,
- const void* src, size_t srcSize);
-
-/*! ZSTD_isSkippableFrame() :
- * Tells if the content of `buffer` starts with a valid Frame Identifier for a skippable frame.
- */
-ZSTDLIB_API unsigned ZSTD_isSkippableFrame(const void* buffer, size_t size);
-
-
-
-/***************************************
-* Memory management
-***************************************/
-
-/*! ZSTD_estimate*() :
- * These functions make it possible to estimate memory usage
- * of a future {D,C}Ctx, before its creation.
- * This is useful in combination with ZSTD_initStatic(),
- * which makes it possible to employ a static buffer for ZSTD_CCtx* state.
- *
- * ZSTD_estimateCCtxSize() will provide a memory budget large enough
- * to compress data of any size using one-shot compression ZSTD_compressCCtx() or ZSTD_compress2()
- * associated with any compression level up to max specified one.
- * The estimate will assume the input may be arbitrarily large,
- * which is the worst case.
- *
- * Note that the size estimation is specific for one-shot compression,
- * it is not valid for streaming (see ZSTD_estimateCStreamSize*())
- * nor other potential ways of using a ZSTD_CCtx* state.
- *
- * When srcSize can be bound by a known and rather "small" value,
- * this knowledge can be used to provide a tighter budget estimation
- * because the ZSTD_CCtx* state will need less memory for small inputs.
- * This tighter estimation can be provided by employing more advanced functions
- * ZSTD_estimateCCtxSize_usingCParams(), which can be used in tandem with ZSTD_getCParams(),
- * and ZSTD_estimateCCtxSize_usingCCtxParams(), which can be used in tandem with ZSTD_CCtxParams_setParameter().
- * Both can be used to estimate memory using custom compression parameters and arbitrary srcSize limits.
- *
- * Note : only single-threaded compression is supported.
- * ZSTD_estimateCCtxSize_usingCCtxParams() will return an error code if ZSTD_c_nbWorkers is >= 1.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_estimateCCtxSize(int maxCompressionLevel);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateCCtxSize_usingCParams(ZSTD_compressionParameters cParams);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateCCtxSize_usingCCtxParams(const ZSTD_CCtx_params* params);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateDCtxSize(void);
-
-/*! ZSTD_estimateCStreamSize() :
- * ZSTD_estimateCStreamSize() will provide a memory budget large enough for streaming compression
- * using any compression level up to the max specified one.
- * It will also consider src size to be arbitrarily "large", which is a worst case scenario.
- * If srcSize is known to always be small, ZSTD_estimateCStreamSize_usingCParams() can provide a tighter estimation.
- * ZSTD_estimateCStreamSize_usingCParams() can be used in tandem with ZSTD_getCParams() to create cParams from compressionLevel.
- * ZSTD_estimateCStreamSize_usingCCtxParams() can be used in tandem with ZSTD_CCtxParams_setParameter(). Only single-threaded compression is supported. This function will return an error code if ZSTD_c_nbWorkers is >= 1.
- * Note : CStream size estimation is only correct for single-threaded compression.
- * ZSTD_estimateCStreamSize_usingCCtxParams() will return an error code if ZSTD_c_nbWorkers is >= 1.
- * Note 2 : ZSTD_estimateCStreamSize* functions are not compatible with the Block-Level Sequence Producer API at this time.
- * Size estimates assume that no external sequence producer is registered.
- *
- * ZSTD_DStream memory budget depends on frame's window Size.
- * This information can be passed manually, using ZSTD_estimateDStreamSize,
- * or deducted from a valid frame Header, using ZSTD_estimateDStreamSize_fromFrame();
- * Any frame requesting a window size larger than max specified one will be rejected.
- * Note : if streaming is init with function ZSTD_init?Stream_usingDict(),
- * an internal ?Dict will be created, which additional size is not estimated here.
- * In this case, get total size by adding ZSTD_estimate?DictSize
- */
-ZSTDLIB_STATIC_API size_t ZSTD_estimateCStreamSize(int maxCompressionLevel);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateCStreamSize_usingCParams(ZSTD_compressionParameters cParams);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateCStreamSize_usingCCtxParams(const ZSTD_CCtx_params* params);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateDStreamSize(size_t maxWindowSize);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateDStreamSize_fromFrame(const void* src, size_t srcSize);
-
-/*! ZSTD_estimate?DictSize() :
- * ZSTD_estimateCDictSize() will bet that src size is relatively "small", and content is copied, like ZSTD_createCDict().
- * ZSTD_estimateCDictSize_advanced() makes it possible to control compression parameters precisely, like ZSTD_createCDict_advanced().
- * Note : dictionaries created by reference (`ZSTD_dlm_byRef`) are logically smaller.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_estimateCDictSize(size_t dictSize, int compressionLevel);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateCDictSize_advanced(size_t dictSize, ZSTD_compressionParameters cParams, ZSTD_dictLoadMethod_e dictLoadMethod);
-ZSTDLIB_STATIC_API size_t ZSTD_estimateDDictSize(size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod);
-
-/*! ZSTD_initStatic*() :
- * Initialize an object using a pre-allocated fixed-size buffer.
- * workspace: The memory area to emplace the object into.
- * Provided pointer *must be 8-bytes aligned*.
- * Buffer must outlive object.
- * workspaceSize: Use ZSTD_estimate*Size() to determine
- * how large workspace must be to support target scenario.
- * @return : pointer to object (same address as workspace, just different type),
- * or NULL if error (size too small, incorrect alignment, etc.)
- * Note : zstd will never resize nor malloc() when using a static buffer.
- * If the object requires more memory than available,
- * zstd will just error out (typically ZSTD_error_memory_allocation).
- * Note 2 : there is no corresponding "free" function.
- * Since workspace is allocated externally, it must be freed externally too.
- * Note 3 : cParams : use ZSTD_getCParams() to convert a compression level
- * into its associated cParams.
- * Limitation 1 : currently not compatible with internal dictionary creation, triggered by
- * ZSTD_CCtx_loadDictionary(), ZSTD_initCStream_usingDict() or ZSTD_initDStream_usingDict().
- * Limitation 2 : static cctx currently not compatible with multi-threading.
- * Limitation 3 : static dctx is incompatible with legacy support.
- */
-ZSTDLIB_STATIC_API ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize);
-ZSTDLIB_STATIC_API ZSTD_CStream* ZSTD_initStaticCStream(void* workspace, size_t workspaceSize); /**< same as ZSTD_initStaticCCtx() */
-
-ZSTDLIB_STATIC_API ZSTD_DCtx* ZSTD_initStaticDCtx(void* workspace, size_t workspaceSize);
-ZSTDLIB_STATIC_API ZSTD_DStream* ZSTD_initStaticDStream(void* workspace, size_t workspaceSize); /**< same as ZSTD_initStaticDCtx() */
-
-ZSTDLIB_STATIC_API const ZSTD_CDict* ZSTD_initStaticCDict(
- void* workspace, size_t workspaceSize,
- const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType,
- ZSTD_compressionParameters cParams);
-
-ZSTDLIB_STATIC_API const ZSTD_DDict* ZSTD_initStaticDDict(
- void* workspace, size_t workspaceSize,
- const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType);
-
-
-/*! Custom memory allocation :
- * These prototypes make it possible to pass your own allocation/free functions.
- * ZSTD_customMem is provided at creation time, using ZSTD_create*_advanced() variants listed below.
- * All allocation/free operations will be completed using these custom variants instead of regular ones.
- */
-typedef void* (*ZSTD_allocFunction) (void* opaque, size_t size);
-typedef void (*ZSTD_freeFunction) (void* opaque, void* address);
-typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem;
-static
-#ifdef __GNUC__
-__attribute__((__unused__))
-#endif
-
-#if defined(__clang__) && __clang_major__ >= 5
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
-#endif
-ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /**< this constant defers to stdlib's functions */
-#if defined(__clang__) && __clang_major__ >= 5
-#pragma clang diagnostic pop
-#endif
-
-MEM_STATIC void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem)
-{
- if (customMem.customAlloc)
- return customMem.customAlloc(customMem.opaque, size);
- return ZSTD_malloc(size);
-}
-
-MEM_STATIC void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem)
-{
- if (customMem.customAlloc) {
- /* calloc implemented as malloc+memset;
- * not as efficient as calloc, but next best guess for custom malloc */
- void* const ptr = customMem.customAlloc(customMem.opaque, size);
- ZSTD_memset(ptr, 0, size);
- return ptr;
- }
- return ZSTD_calloc(1, size);
-}
-
-MEM_STATIC void ZSTD_customFree(void* ptr, ZSTD_customMem customMem)
-{
- if (ptr != NULL) {
- if (customMem.customFree)
- customMem.customFree(customMem.opaque, ptr);
- else
- ZSTD_free(ptr);
- }
-}
-
-ZSTDLIB_STATIC_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
-ZSTDLIB_STATIC_API ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem);
-ZSTDLIB_STATIC_API ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem);
-ZSTDLIB_STATIC_API ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem);
-
-ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced(const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType,
- ZSTD_compressionParameters cParams,
- ZSTD_customMem customMem);
-
-/*! Thread pool :
- * These prototypes make it possible to share a thread pool among multiple compression contexts.
- * This can limit resources for applications with multiple threads where each one uses
- * a threaded compression mode (via ZSTD_c_nbWorkers parameter).
- * ZSTD_createThreadPool creates a new thread pool with a given number of threads.
- * Note that the lifetime of such pool must exist while being used.
- * ZSTD_CCtx_refThreadPool assigns a thread pool to a context (use NULL argument value
- * to use an internal thread pool).
- * ZSTD_freeThreadPool frees a thread pool, accepts NULL pointer.
- */
-typedef struct POOL_ctx_s ZSTD_threadPool;
-ZSTDLIB_STATIC_API ZSTD_threadPool* ZSTD_createThreadPool(size_t numThreads);
-ZSTDLIB_STATIC_API void ZSTD_freeThreadPool (ZSTD_threadPool* pool); /* accept NULL pointer */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_refThreadPool(ZSTD_CCtx* cctx, ZSTD_threadPool* pool);
-
-
-/*
- * This API is temporary and is expected to change or disappear in the future!
- */
-ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced2(
- const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType,
- const ZSTD_CCtx_params* cctxParams,
- ZSTD_customMem customMem);
-
-ZSTDLIB_STATIC_API ZSTD_DDict* ZSTD_createDDict_advanced(
- const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType,
- ZSTD_customMem customMem);
-
-
-/***************************************
-* Advanced compression functions
-***************************************/
-
-/*! ZSTD_createCDict_byReference() :
- * Create a digested dictionary for compression
- * Dictionary content is just referenced, not duplicated.
- * As a consequence, `dictBuffer` **must** outlive CDict,
- * and its content must remain unmodified throughout the lifetime of CDict.
- * note: equivalent to ZSTD_createCDict_advanced(), with dictLoadMethod==ZSTD_dlm_byRef */
-ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_byReference(const void* dictBuffer, size_t dictSize, int compressionLevel);
-
-/*! ZSTD_getCParams() :
- * @return ZSTD_compressionParameters structure for a selected compression level and estimated srcSize.
- * `estimatedSrcSize` value is optional, select 0 if not known */
-ZSTDLIB_STATIC_API ZSTD_compressionParameters ZSTD_getCParams(int compressionLevel, unsigned long long estimatedSrcSize, size_t dictSize);
-
-/*! ZSTD_getParams() :
- * same as ZSTD_getCParams(), but @return a full `ZSTD_parameters` object instead of sub-component `ZSTD_compressionParameters`.
- * All fields of `ZSTD_frameParameters` are set to default : contentSize=1, checksum=0, noDictID=0 */
-ZSTDLIB_STATIC_API ZSTD_parameters ZSTD_getParams(int compressionLevel, unsigned long long estimatedSrcSize, size_t dictSize);
-
-/*! ZSTD_checkCParams() :
- * Ensure param values remain within authorized range.
- * @return 0 on success, or an error code (can be checked with ZSTD_isError()) */
-ZSTDLIB_STATIC_API size_t ZSTD_checkCParams(ZSTD_compressionParameters params);
-
-/*! ZSTD_adjustCParams() :
- * optimize params for a given `srcSize` and `dictSize`.
- * `srcSize` can be unknown, in which case use ZSTD_CONTENTSIZE_UNKNOWN.
- * `dictSize` must be `0` when there is no dictionary.
- * cPar can be invalid : all parameters will be clamped within valid range in the @return struct.
- * This function never fails (wide contract) */
-ZSTDLIB_STATIC_API ZSTD_compressionParameters ZSTD_adjustCParams(ZSTD_compressionParameters cPar, unsigned long long srcSize, size_t dictSize);
-
-/*! ZSTD_CCtx_setCParams() :
- * Set all parameters provided within @p cparams into the working @p cctx.
- * Note : if modifying parameters during compression (MT mode only),
- * note that changes to the .windowLog parameter will be ignored.
- * @return 0 on success, or an error code (can be checked with ZSTD_isError()).
- * On failure, no parameters are updated.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_setCParams(ZSTD_CCtx* cctx, ZSTD_compressionParameters cparams);
-
-/*! ZSTD_CCtx_setFParams() :
- * Set all parameters provided within @p fparams into the working @p cctx.
- * @return 0 on success, or an error code (can be checked with ZSTD_isError()).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_setFParams(ZSTD_CCtx* cctx, ZSTD_frameParameters fparams);
-
-/*! ZSTD_CCtx_setParams() :
- * Set all parameters provided within @p params into the working @p cctx.
- * @return 0 on success, or an error code (can be checked with ZSTD_isError()).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_setParams(ZSTD_CCtx* cctx, ZSTD_parameters params);
-
-/*! ZSTD_compress_advanced() :
- * Note : this function is now DEPRECATED.
- * It can be replaced by ZSTD_compress2(), in combination with ZSTD_CCtx_setParameter() and other parameter setters.
- * This prototype will generate compilation warnings. */
-ZSTD_DEPRECATED("use ZSTD_compress2")
-ZSTDLIB_STATIC_API
-size_t ZSTD_compress_advanced(ZSTD_CCtx* cctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const void* dict,size_t dictSize,
- ZSTD_parameters params);
-
-/*! ZSTD_compress_usingCDict_advanced() :
- * Note : this function is now DEPRECATED.
- * It can be replaced by ZSTD_compress2(), in combination with ZSTD_CCtx_loadDictionary() and other parameter setters.
- * This prototype will generate compilation warnings. */
-ZSTD_DEPRECATED("use ZSTD_compress2 with ZSTD_CCtx_loadDictionary")
-ZSTDLIB_STATIC_API
-size_t ZSTD_compress_usingCDict_advanced(ZSTD_CCtx* cctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const ZSTD_CDict* cdict,
- ZSTD_frameParameters fParams);
-
-
-/*! ZSTD_CCtx_loadDictionary_byReference() :
- * Same as ZSTD_CCtx_loadDictionary(), but dictionary content is referenced, instead of being copied into CCtx.
- * It saves some memory, but also requires that `dict` outlives its usage within `cctx` */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_loadDictionary_byReference(ZSTD_CCtx* cctx, const void* dict, size_t dictSize);
-
-/*! ZSTD_CCtx_loadDictionary_advanced() :
- * Same as ZSTD_CCtx_loadDictionary(), but gives finer control over
- * how to load the dictionary (by copy ? by reference ?)
- * and how to interpret it (automatic ? force raw mode ? full mode only ?) */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_loadDictionary_advanced(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType);
-
-/*! ZSTD_CCtx_refPrefix_advanced() :
- * Same as ZSTD_CCtx_refPrefix(), but gives finer control over
- * how to interpret prefix content (automatic ? force raw mode (default) ? full mode only ?) */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_refPrefix_advanced(ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType);
-
-/* === experimental parameters === */
-/* these parameters can be used with ZSTD_setParameter()
- * they are not guaranteed to remain supported in the future */
-
- /* Enables rsyncable mode,
- * which makes compressed files more rsync friendly
- * by adding periodic synchronization points to the compressed data.
- * The target average block size is ZSTD_c_jobSize / 2.
- * It's possible to modify the job size to increase or decrease
- * the granularity of the synchronization point.
- * Once the jobSize is smaller than the window size,
- * it will result in compression ratio degradation.
- * NOTE 1: rsyncable mode only works when multithreading is enabled.
- * NOTE 2: rsyncable performs poorly in combination with long range mode,
- * since it will decrease the effectiveness of synchronization points,
- * though mileage may vary.
- * NOTE 3: Rsyncable mode limits maximum compression speed to ~400 MB/s.
- * If the selected compression level is already running significantly slower,
- * the overall speed won't be significantly impacted.
- */
- #define ZSTD_c_rsyncable ZSTD_c_experimentalParam1
-
-/* Select a compression format.
- * The value must be of type ZSTD_format_e.
- * See ZSTD_format_e enum definition for details */
-#define ZSTD_c_format ZSTD_c_experimentalParam2
-
-/* Force back-reference distances to remain < windowSize,
- * even when referencing into Dictionary content (default:0) */
-#define ZSTD_c_forceMaxWindow ZSTD_c_experimentalParam3
-
-/* Controls whether the contents of a CDict
- * are used in place, or copied into the working context.
- * Accepts values from the ZSTD_dictAttachPref_e enum.
- * See the comments on that enum for an explanation of the feature. */
-#define ZSTD_c_forceAttachDict ZSTD_c_experimentalParam4
-
-/* Controlled with ZSTD_paramSwitch_e enum.
- * Default is ZSTD_ps_auto.
- * Set to ZSTD_ps_disable to never compress literals.
- * Set to ZSTD_ps_enable to always compress literals. (Note: uncompressed literals
- * may still be emitted if huffman is not beneficial to use.)
- *
- * By default, in ZSTD_ps_auto, the library will decide at runtime whether to use
- * literals compression based on the compression parameters - specifically,
- * negative compression levels do not use literal compression.
- */
-#define ZSTD_c_literalCompressionMode ZSTD_c_experimentalParam5
-
-/* User's best guess of source size.
- * Hint is not valid when srcSizeHint == 0.
- * There is no guarantee that hint is close to actual source size,
- * but compression ratio may regress significantly if guess considerably underestimates */
-#define ZSTD_c_srcSizeHint ZSTD_c_experimentalParam7
-
-/* Controls whether the new and experimental "dedicated dictionary search
- * structure" can be used. This feature is still rough around the edges, be
- * prepared for surprising behavior!
- *
- * How to use it:
- *
- * When using a CDict, whether to use this feature or not is controlled at
- * CDict creation, and it must be set in a CCtxParams set passed into that
- * construction (via ZSTD_createCDict_advanced2()). A compression will then
- * use the feature or not based on how the CDict was constructed; the value of
- * this param, set in the CCtx, will have no effect.
- *
- * However, when a dictionary buffer is passed into a CCtx, such as via
- * ZSTD_CCtx_loadDictionary(), this param can be set on the CCtx to control
- * whether the CDict that is created internally can use the feature or not.
- *
- * What it does:
- *
- * Normally, the internal data structures of the CDict are analogous to what
- * would be stored in a CCtx after compressing the contents of a dictionary.
- * To an approximation, a compression using a dictionary can then use those
- * data structures to simply continue what is effectively a streaming
- * compression where the simulated compression of the dictionary left off.
- * Which is to say, the search structures in the CDict are normally the same
- * format as in the CCtx.
- *
- * It is possible to do better, since the CDict is not like a CCtx: the search
- * structures are written once during CDict creation, and then are only read
- * after that, while the search structures in the CCtx are both read and
- * written as the compression goes along. This means we can choose a search
- * structure for the dictionary that is read-optimized.
- *
- * This feature enables the use of that different structure.
- *
- * Note that some of the members of the ZSTD_compressionParameters struct have
- * different semantics and constraints in the dedicated search structure. It is
- * highly recommended that you simply set a compression level in the CCtxParams
- * you pass into the CDict creation call, and avoid messing with the cParams
- * directly.
- *
- * Effects:
- *
- * This will only have any effect when the selected ZSTD_strategy
- * implementation supports this feature. Currently, that's limited to
- * ZSTD_greedy, ZSTD_lazy, and ZSTD_lazy2.
- *
- * Note that this means that the CDict tables can no longer be copied into the
- * CCtx, so the dict attachment mode ZSTD_dictForceCopy will no longer be
- * usable. The dictionary can only be attached or reloaded.
- *
- * In general, you should expect compression to be faster--sometimes very much
- * so--and CDict creation to be slightly slower. Eventually, we will probably
- * make this mode the default.
- */
-#define ZSTD_c_enableDedicatedDictSearch ZSTD_c_experimentalParam8
-
-/* ZSTD_c_stableInBuffer
- * Experimental parameter.
- * Default is 0 == disabled. Set to 1 to enable.
- *
- * Tells the compressor that input data presented with ZSTD_inBuffer
- * will ALWAYS be the same between calls.
- * Technically, the @src pointer must never be changed,
- * and the @pos field can only be updated by zstd.
- * However, it's possible to increase the @size field,
- * allowing scenarios where more data can be appended after compressions starts.
- * These conditions are checked by the compressor,
- * and compression will fail if they are not respected.
- * Also, data in the ZSTD_inBuffer within the range [src, src + pos)
- * MUST not be modified during compression or it will result in data corruption.
- *
- * When this flag is enabled zstd won't allocate an input window buffer,
- * because the user guarantees it can reference the ZSTD_inBuffer until
- * the frame is complete. But, it will still allocate an output buffer
- * large enough to fit a block (see ZSTD_c_stableOutBuffer). This will also
- * avoid the memcpy() from the input buffer to the input window buffer.
- *
- * NOTE: So long as the ZSTD_inBuffer always points to valid memory, using
- * this flag is ALWAYS memory safe, and will never access out-of-bounds
- * memory. However, compression WILL fail if conditions are not respected.
- *
- * WARNING: The data in the ZSTD_inBuffer in the range [src, src + pos) MUST
- * not be modified during compression or it will result in data corruption.
- * This is because zstd needs to reference data in the ZSTD_inBuffer to find
- * matches. Normally zstd maintains its own window buffer for this purpose,
- * but passing this flag tells zstd to rely on user provided buffer instead.
- */
-#define ZSTD_c_stableInBuffer ZSTD_c_experimentalParam9
-
-/* ZSTD_c_stableOutBuffer
- * Experimental parameter.
- * Default is 0 == disabled. Set to 1 to enable.
- *
- * Tells he compressor that the ZSTD_outBuffer will not be resized between
- * calls. Specifically: (out.size - out.pos) will never grow. This gives the
- * compressor the freedom to say: If the compressed data doesn't fit in the
- * output buffer then return ZSTD_error_dstSizeTooSmall. This allows us to
- * always decompress directly into the output buffer, instead of decompressing
- * into an internal buffer and copying to the output buffer.
- *
- * When this flag is enabled zstd won't allocate an output buffer, because
- * it can write directly to the ZSTD_outBuffer. It will still allocate the
- * input window buffer (see ZSTD_c_stableInBuffer).
- *
- * Zstd will check that (out.size - out.pos) never grows and return an error
- * if it does. While not strictly necessary, this should prevent surprises.
- */
-#define ZSTD_c_stableOutBuffer ZSTD_c_experimentalParam10
-
-/* ZSTD_c_blockDelimiters
- * Default is 0 == ZSTD_sf_noBlockDelimiters.
- *
- * For use with sequence compression API: ZSTD_compressSequences().
- *
- * Designates whether or not the given array of ZSTD_Sequence contains block delimiters
- * and last literals, which are defined as sequences with offset == 0 and matchLength == 0.
- * See the definition of ZSTD_Sequence for more specifics.
- */
-#define ZSTD_c_blockDelimiters ZSTD_c_experimentalParam11
-
-/* ZSTD_c_validateSequences
- * Default is 0 == disabled. Set to 1 to enable sequence validation.
- *
- * For use with sequence compression API: ZSTD_compressSequences().
- * Designates whether or not we validate sequences provided to ZSTD_compressSequences()
- * during function execution.
- *
- * Without validation, providing a sequence that does not conform to the zstd spec will cause
- * undefined behavior, and may produce a corrupted block.
- *
- * With validation enabled, if sequence is invalid (see doc/zstd_compression_format.md for
- * specifics regarding offset/matchlength requirements) then the function will bail out and
- * return an error.
- *
- */
-#define ZSTD_c_validateSequences ZSTD_c_experimentalParam12
-
-/* ZSTD_c_blockSplitterLevel
- * note: this parameter only influences the first splitter stage,
- * which is active before producing the sequences.
- * ZSTD_c_splitAfterSequences controls the next splitter stage,
- * which is active after sequence production.
- * Note that both can be combined.
- * Allowed values are between 0 and ZSTD_BLOCKSPLITTER_LEVEL_MAX included.
- * 0 means "auto", which will select a value depending on current ZSTD_c_strategy.
- * 1 means no splitting.
- * Then, values from 2 to 6 are sorted in increasing cpu load order.
- *
- * Note that currently the first block is never split,
- * to ensure expansion guarantees in presence of incompressible data.
- */
-#define ZSTD_BLOCKSPLITTER_LEVEL_MAX 6
-#define ZSTD_c_blockSplitterLevel ZSTD_c_experimentalParam20
-
-/* ZSTD_c_splitAfterSequences
- * This is a stronger splitter algorithm,
- * based on actual sequences previously produced by the selected parser.
- * It's also slower, and as a consequence, mostly used for high compression levels.
- * While the post-splitter does overlap with the pre-splitter,
- * both can nonetheless be combined,
- * notably with ZSTD_c_blockSplitterLevel at ZSTD_BLOCKSPLITTER_LEVEL_MAX,
- * resulting in higher compression ratio than just one of them.
- *
- * Default is ZSTD_ps_auto.
- * Set to ZSTD_ps_disable to never use block splitter.
- * Set to ZSTD_ps_enable to always use block splitter.
- *
- * By default, in ZSTD_ps_auto, the library will decide at runtime whether to use
- * block splitting based on the compression parameters.
- */
-#define ZSTD_c_splitAfterSequences ZSTD_c_experimentalParam13
-
-/* ZSTD_c_useRowMatchFinder
- * Controlled with ZSTD_paramSwitch_e enum.
- * Default is ZSTD_ps_auto.
- * Set to ZSTD_ps_disable to never use row-based matchfinder.
- * Set to ZSTD_ps_enable to force usage of row-based matchfinder.
- *
- * By default, in ZSTD_ps_auto, the library will decide at runtime whether to use
- * the row-based matchfinder based on support for SIMD instructions and the window log.
- * Note that this only pertains to compression strategies: greedy, lazy, and lazy2
- */
-#define ZSTD_c_useRowMatchFinder ZSTD_c_experimentalParam14
-
-/* ZSTD_c_deterministicRefPrefix
- * Default is 0 == disabled. Set to 1 to enable.
- *
- * Zstd produces different results for prefix compression when the prefix is
- * directly adjacent to the data about to be compressed vs. when it isn't.
- * This is because zstd detects that the two buffers are contiguous and it can
- * use a more efficient match finding algorithm. However, this produces different
- * results than when the two buffers are non-contiguous. This flag forces zstd
- * to always load the prefix in non-contiguous mode, even if it happens to be
- * adjacent to the data, to guarantee determinism.
- *
- * If you really care about determinism when using a dictionary or prefix,
- * like when doing delta compression, you should select this option. It comes
- * at a speed penalty of about ~2.5% if the dictionary and data happened to be
- * contiguous, and is free if they weren't contiguous. We don't expect that
- * intentionally making the dictionary and data contiguous will be worth the
- * cost to memcpy() the data.
- */
-#define ZSTD_c_deterministicRefPrefix ZSTD_c_experimentalParam15
-
-/* ZSTD_c_prefetchCDictTables
- * Controlled with ZSTD_paramSwitch_e enum. Default is ZSTD_ps_auto.
- *
- * In some situations, zstd uses CDict tables in-place rather than copying them
- * into the working context. (See docs on ZSTD_dictAttachPref_e above for details).
- * In such situations, compression speed is seriously impacted when CDict tables are
- * "cold" (outside CPU cache). This parameter instructs zstd to prefetch CDict tables
- * when they are used in-place.
- *
- * For sufficiently small inputs, the cost of the prefetch will outweigh the benefit.
- * For sufficiently large inputs, zstd will by default memcpy() CDict tables
- * into the working context, so there is no need to prefetch. This parameter is
- * targeted at a middle range of input sizes, where a prefetch is cheap enough to be
- * useful but memcpy() is too expensive. The exact range of input sizes where this
- * makes sense is best determined by careful experimentation.
- *
- * Note: for this parameter, ZSTD_ps_auto is currently equivalent to ZSTD_ps_disable,
- * but in the future zstd may conditionally enable this feature via an auto-detection
- * heuristic for cold CDicts.
- * Use ZSTD_ps_disable to opt out of prefetching under any circumstances.
- */
-#define ZSTD_c_prefetchCDictTables ZSTD_c_experimentalParam16
-
-/* ZSTD_c_enableSeqProducerFallback
- * Allowed values are 0 (disable) and 1 (enable). The default setting is 0.
- *
- * Controls whether zstd will fall back to an internal sequence producer if an
- * external sequence producer is registered and returns an error code. This fallback
- * is block-by-block: the internal sequence producer will only be called for blocks
- * where the external sequence producer returns an error code. Fallback parsing will
- * follow any other cParam settings, such as compression level, the same as in a
- * normal (fully-internal) compression operation.
- *
- * The user is strongly encouraged to read the full Block-Level Sequence Producer API
- * documentation (below) before setting this parameter. */
-#define ZSTD_c_enableSeqProducerFallback ZSTD_c_experimentalParam17
-
-/* ZSTD_c_maxBlockSize
- * Allowed values are between 1KB and ZSTD_BLOCKSIZE_MAX (128KB).
- * The default is ZSTD_BLOCKSIZE_MAX, and setting to 0 will set to the default.
- *
- * This parameter can be used to set an upper bound on the blocksize
- * that overrides the default ZSTD_BLOCKSIZE_MAX. It cannot be used to set upper
- * bounds greater than ZSTD_BLOCKSIZE_MAX or bounds lower than 1KB (will make
- * compressBound() inaccurate). Only currently meant to be used for testing.
- */
-#define ZSTD_c_maxBlockSize ZSTD_c_experimentalParam18
-
-/* ZSTD_c_searchForExternalRepcodes
- * This parameter affects how zstd parses external sequences, such as sequences
- * provided through the compressSequences() API or from an external block-level
- * sequence producer.
- *
- * If set to ZSTD_ps_enable, the library will check for repeated offsets in
- * external sequences, even if those repcodes are not explicitly indicated in
- * the "rep" field. Note that this is the only way to exploit repcode matches
- * while using compressSequences() or an external sequence producer, since zstd
- * currently ignores the "rep" field of external sequences.
- *
- * If set to ZSTD_ps_disable, the library will not exploit repeated offsets in
- * external sequences, regardless of whether the "rep" field has been set. This
- * reduces sequence compression overhead by about 25% while sacrificing some
- * compression ratio.
- *
- * The default value is ZSTD_ps_auto, for which the library will enable/disable
- * based on compression level.
- *
- * Note: for now, this param only has an effect if ZSTD_c_blockDelimiters is
- * set to ZSTD_sf_explicitBlockDelimiters. That may change in the future.
- */
-#define ZSTD_c_searchForExternalRepcodes ZSTD_c_experimentalParam19
-
-
-/*! ZSTD_CCtx_getParameter() :
- * Get the requested compression parameter value, selected by enum ZSTD_cParameter,
- * and store it into int* value.
- * @return : 0, or an error code (which can be tested with ZSTD_isError()).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_getParameter(const ZSTD_CCtx* cctx, ZSTD_cParameter param, int* value);
-
-
-/*! ZSTD_CCtx_params :
- * Quick howto :
- * - ZSTD_createCCtxParams() : Create a ZSTD_CCtx_params structure
- * - ZSTD_CCtxParams_setParameter() : Push parameters one by one into
- * an existing ZSTD_CCtx_params structure.
- * This is similar to
- * ZSTD_CCtx_setParameter().
- * - ZSTD_CCtx_setParametersUsingCCtxParams() : Apply parameters to
- * an existing CCtx.
- * These parameters will be applied to
- * all subsequent frames.
- * - ZSTD_compressStream2() : Do compression using the CCtx.
- * - ZSTD_freeCCtxParams() : Free the memory, accept NULL pointer.
- *
- * This can be used with ZSTD_estimateCCtxSize_advanced_usingCCtxParams()
- * for static allocation of CCtx for single-threaded compression.
- */
-ZSTDLIB_STATIC_API ZSTD_CCtx_params* ZSTD_createCCtxParams(void);
-ZSTDLIB_STATIC_API size_t ZSTD_freeCCtxParams(ZSTD_CCtx_params* params); /* accept NULL pointer */
-
-/*! ZSTD_CCtxParams_reset() :
- * Reset params to default values.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_reset(ZSTD_CCtx_params* params);
-
-/*! ZSTD_CCtxParams_init() :
- * Initializes the compression parameters of cctxParams according to
- * compression level. All other parameters are reset to their default values.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_init(ZSTD_CCtx_params* cctxParams, int compressionLevel);
-
-/*! ZSTD_CCtxParams_init_advanced() :
- * Initializes the compression and frame parameters of cctxParams according to
- * params. All other parameters are reset to their default values.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_init_advanced(ZSTD_CCtx_params* cctxParams, ZSTD_parameters params);
-
-/*! ZSTD_CCtxParams_setParameter() : Requires v1.4.0+
- * Similar to ZSTD_CCtx_setParameter.
- * Set one compression parameter, selected by enum ZSTD_cParameter.
- * Parameters must be applied to a ZSTD_CCtx using
- * ZSTD_CCtx_setParametersUsingCCtxParams().
- * @result : a code representing success or failure (which can be tested with
- * ZSTD_isError()).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_setParameter(ZSTD_CCtx_params* params, ZSTD_cParameter param, int value);
-
-/*! ZSTD_CCtxParams_getParameter() :
- * Similar to ZSTD_CCtx_getParameter.
- * Get the requested value of one compression parameter, selected by enum ZSTD_cParameter.
- * @result : 0, or an error code (which can be tested with ZSTD_isError()).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_getParameter(const ZSTD_CCtx_params* params, ZSTD_cParameter param, int* value);
-
-/*! ZSTD_CCtx_setParametersUsingCCtxParams() :
- * Apply a set of ZSTD_CCtx_params to the compression context.
- * This can be done even after compression is started,
- * if nbWorkers==0, this will have no impact until a new compression is started.
- * if nbWorkers>=1, new parameters will be picked up at next job,
- * with a few restrictions (windowLog, pledgedSrcSize, nbWorkers, jobSize, and overlapLog are not updated).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_CCtx_setParametersUsingCCtxParams(
- ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params);
-
-/*! ZSTD_compressStream2_simpleArgs() :
- * Same as ZSTD_compressStream2(),
- * but using only integral types as arguments.
- * This variant might be helpful for binders from dynamic languages
- * which have troubles handling structures containing memory pointers.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_compressStream2_simpleArgs (
- ZSTD_CCtx* cctx,
- void* dst, size_t dstCapacity, size_t* dstPos,
- const void* src, size_t srcSize, size_t* srcPos,
- ZSTD_EndDirective endOp);
-
-
-/***************************************
-* Advanced decompression functions
-***************************************/
-
-/*! ZSTD_isFrame() :
- * Tells if the content of `buffer` starts with a valid Frame Identifier.
- * Note : Frame Identifier is 4 bytes. If `size < 4`, @return will always be 0.
- * Note 2 : Legacy Frame Identifiers are considered valid only if Legacy Support is enabled.
- * Note 3 : Skippable Frame Identifiers are considered valid. */
-ZSTDLIB_STATIC_API unsigned ZSTD_isFrame(const void* buffer, size_t size);
-
-/*! ZSTD_createDDict_byReference() :
- * Create a digested dictionary, ready to start decompression operation without startup delay.
- * Dictionary content is referenced, and therefore stays in dictBuffer.
- * It is important that dictBuffer outlives DDict,
- * it must remain read accessible throughout the lifetime of DDict */
-ZSTDLIB_STATIC_API ZSTD_DDict* ZSTD_createDDict_byReference(const void* dictBuffer, size_t dictSize);
-
-/*! ZSTD_DCtx_loadDictionary_byReference() :
- * Same as ZSTD_DCtx_loadDictionary(),
- * but references `dict` content instead of copying it into `dctx`.
- * This saves memory if `dict` remains around.,
- * However, it's imperative that `dict` remains accessible (and unmodified) while being used, so it must outlive decompression. */
-ZSTDLIB_STATIC_API size_t ZSTD_DCtx_loadDictionary_byReference(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
-
-/*! ZSTD_DCtx_loadDictionary_advanced() :
- * Same as ZSTD_DCtx_loadDictionary(),
- * but gives direct control over
- * how to load the dictionary (by copy ? by reference ?)
- * and how to interpret it (automatic ? force raw mode ? full mode only ?). */
-ZSTDLIB_STATIC_API size_t ZSTD_DCtx_loadDictionary_advanced(ZSTD_DCtx* dctx, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType);
-
-/*! ZSTD_DCtx_refPrefix_advanced() :
- * Same as ZSTD_DCtx_refPrefix(), but gives finer control over
- * how to interpret prefix content (automatic ? force raw mode (default) ? full mode only ?) */
-ZSTDLIB_STATIC_API size_t ZSTD_DCtx_refPrefix_advanced(ZSTD_DCtx* dctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType);
-
-/*! ZSTD_DCtx_setMaxWindowSize() :
- * Refuses allocating internal buffers for frames requiring a window size larger than provided limit.
- * This protects a decoder context from reserving too much memory for itself (potential attack scenario).
- * This parameter is only useful in streaming mode, since no internal buffer is allocated in single-pass mode.
- * By default, a decompression context accepts all window sizes <= (1 << ZSTD_WINDOWLOG_LIMIT_DEFAULT)
- * @return : 0, or an error code (which can be tested using ZSTD_isError()).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize);
-
-/*! ZSTD_DCtx_getParameter() :
- * Get the requested decompression parameter value, selected by enum ZSTD_dParameter,
- * and store it into int* value.
- * @return : 0, or an error code (which can be tested with ZSTD_isError()).
- */
-ZSTDLIB_STATIC_API size_t ZSTD_DCtx_getParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int* value);
-
-/* ZSTD_d_format
- * experimental parameter,
- * allowing selection between ZSTD_format_e input compression formats
- */
-#define ZSTD_d_format ZSTD_d_experimentalParam1
-/* ZSTD_d_stableOutBuffer
- * Experimental parameter.
- * Default is 0 == disabled. Set to 1 to enable.
- *
- * Tells the decompressor that the ZSTD_outBuffer will ALWAYS be the same
- * between calls, except for the modifications that zstd makes to pos (the
- * caller must not modify pos). This is checked by the decompressor, and
- * decompression will fail if it ever changes. Therefore the ZSTD_outBuffer
- * MUST be large enough to fit the entire decompressed frame. This will be
- * checked when the frame content size is known. The data in the ZSTD_outBuffer
- * in the range [dst, dst + pos) MUST not be modified during decompression
- * or you will get data corruption.
- *
- * When this flag is enabled zstd won't allocate an output buffer, because
- * it can write directly to the ZSTD_outBuffer, but it will still allocate
- * an input buffer large enough to fit any compressed block. This will also
- * avoid the memcpy() from the internal output buffer to the ZSTD_outBuffer.
- * If you need to avoid the input buffer allocation use the buffer-less
- * streaming API.
- *
- * NOTE: So long as the ZSTD_outBuffer always points to valid memory, using
- * this flag is ALWAYS memory safe, and will never access out-of-bounds
- * memory. However, decompression WILL fail if you violate the preconditions.
- *
- * WARNING: The data in the ZSTD_outBuffer in the range [dst, dst + pos) MUST
- * not be modified during decompression or you will get data corruption. This
- * is because zstd needs to reference data in the ZSTD_outBuffer to regenerate
- * matches. Normally zstd maintains its own buffer for this purpose, but passing
- * this flag tells zstd to use the user provided buffer.
- */
-#define ZSTD_d_stableOutBuffer ZSTD_d_experimentalParam2
-
-/* ZSTD_d_forceIgnoreChecksum
- * Experimental parameter.
- * Default is 0 == disabled. Set to 1 to enable
- *
- * Tells the decompressor to skip checksum validation during decompression, regardless
- * of whether checksumming was specified during compression. This offers some
- * slight performance benefits, and may be useful for debugging.
- * Param has values of type ZSTD_forceIgnoreChecksum_e
- */
-#define ZSTD_d_forceIgnoreChecksum ZSTD_d_experimentalParam3
-
-/* ZSTD_d_refMultipleDDicts
- * Experimental parameter.
- * Default is 0 == disabled. Set to 1 to enable
- *
- * If enabled and dctx is allocated on the heap, then additional memory will be allocated
- * to store references to multiple ZSTD_DDict. That is, multiple calls of ZSTD_refDDict()
- * using a given ZSTD_DCtx, rather than overwriting the previous DDict reference, will instead
- * store all references. At decompression time, the appropriate dictID is selected
- * from the set of DDicts based on the dictID in the frame.
- *
- * Usage is simply calling ZSTD_refDDict() on multiple dict buffers.
- *
- * Param has values of byte ZSTD_refMultipleDDicts_e
- *
- * WARNING: Enabling this parameter and calling ZSTD_DCtx_refDDict(), will trigger memory
- * allocation for the hash table. ZSTD_freeDCtx() also frees this memory.
- * Memory is allocated as per ZSTD_DCtx::customMem.
- *
- * Although this function allocates memory for the table, the user is still responsible for
- * memory management of the underlying ZSTD_DDict* themselves.
- */
-#define ZSTD_d_refMultipleDDicts ZSTD_d_experimentalParam4
-
-/* ZSTD_d_disableHuffmanAssembly
- * Set to 1 to disable the Huffman assembly implementation.
- * The default value is 0, which allows zstd to use the Huffman assembly
- * implementation if available.
- *
- * This parameter can be used to disable Huffman assembly at runtime.
- * If you want to disable it at compile time you can define the macro
- * ZSTD_DISABLE_ASM.
- */
-#define ZSTD_d_disableHuffmanAssembly ZSTD_d_experimentalParam5
-
-/* ZSTD_d_maxBlockSize
- * Allowed values are between 1KB and ZSTD_BLOCKSIZE_MAX (128KB).
- * The default is ZSTD_BLOCKSIZE_MAX, and setting to 0 will set to the default.
- *
- * Forces the decompressor to reject blocks whose content size is
- * larger than the configured maxBlockSize. When maxBlockSize is
- * larger than the windowSize, the windowSize is used instead.
- * This saves memory on the decoder when you know all blocks are small.
- *
- * This option is typically used in conjunction with ZSTD_c_maxBlockSize.
- *
- * WARNING: This causes the decoder to reject otherwise valid frames
- * that have block sizes larger than the configured maxBlockSize.
- */
-#define ZSTD_d_maxBlockSize ZSTD_d_experimentalParam6
-
-
-/*! ZSTD_DCtx_setFormat() :
- * This function is REDUNDANT. Prefer ZSTD_DCtx_setParameter().
- * Instruct the decoder context about what kind of data to decode next.
- * This instruction is mandatory to decode data without a fully-formed header,
- * such ZSTD_f_zstd1_magicless for example.
- * @return : 0, or an error code (which can be tested using ZSTD_isError()). */
-ZSTD_DEPRECATED("use ZSTD_DCtx_setParameter() instead")
-ZSTDLIB_STATIC_API
-size_t ZSTD_DCtx_setFormat(ZSTD_DCtx* dctx, ZSTD_format_e format);
-
-/*! ZSTD_decompressStream_simpleArgs() :
- * Same as ZSTD_decompressStream(),
- * but using only integral types as arguments.
- * This can be helpful for binders from dynamic languages
- * which have troubles handling structures containing memory pointers.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_decompressStream_simpleArgs (
- ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity, size_t* dstPos,
- const void* src, size_t srcSize, size_t* srcPos);
-
-
-/********************************************************************
-* Advanced streaming functions
-* Warning : most of these functions are now redundant with the Advanced API.
-* Once Advanced API reaches "stable" status,
-* redundant functions will be deprecated, and then at some point removed.
-********************************************************************/
-
-/*===== Advanced Streaming compression functions =====*/
-
-/*! ZSTD_initCStream_srcSize() :
- * This function is DEPRECATED, and equivalent to:
- * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
- * ZSTD_CCtx_refCDict(zcs, NULL); // clear the dictionary (if any)
- * ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel);
- * ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize);
- *
- * pledgedSrcSize must be correct. If it is not known at init time, use
- * ZSTD_CONTENTSIZE_UNKNOWN. Note that, for compatibility with older programs,
- * "0" also disables frame content size field. It may be enabled in the future.
- * This prototype will generate compilation warnings.
- */
-ZSTD_DEPRECATED("use ZSTD_CCtx_reset, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API
-size_t ZSTD_initCStream_srcSize(ZSTD_CStream* zcs,
- int compressionLevel,
- unsigned long long pledgedSrcSize);
-
-/*! ZSTD_initCStream_usingDict() :
- * This function is DEPRECATED, and is equivalent to:
- * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
- * ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel);
- * ZSTD_CCtx_loadDictionary(zcs, dict, dictSize);
- *
- * Creates of an internal CDict (incompatible with static CCtx), except if
- * dict == NULL or dictSize < 8, in which case no dict is used.
- * Note: dict is loaded with ZSTD_dct_auto (treated as a full zstd dictionary if
- * it begins with ZSTD_MAGIC_DICTIONARY, else as raw content) and ZSTD_dlm_byCopy.
- * This prototype will generate compilation warnings.
- */
-ZSTD_DEPRECATED("use ZSTD_CCtx_reset, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API
-size_t ZSTD_initCStream_usingDict(ZSTD_CStream* zcs,
- const void* dict, size_t dictSize,
- int compressionLevel);
-
-/*! ZSTD_initCStream_advanced() :
- * This function is DEPRECATED, and is equivalent to:
- * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
- * ZSTD_CCtx_setParams(zcs, params);
- * ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize);
- * ZSTD_CCtx_loadDictionary(zcs, dict, dictSize);
- *
- * dict is loaded with ZSTD_dct_auto and ZSTD_dlm_byCopy.
- * pledgedSrcSize must be correct.
- * If srcSize is not known at init time, use value ZSTD_CONTENTSIZE_UNKNOWN.
- * This prototype will generate compilation warnings.
- */
-ZSTD_DEPRECATED("use ZSTD_CCtx_reset, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API
-size_t ZSTD_initCStream_advanced(ZSTD_CStream* zcs,
- const void* dict, size_t dictSize,
- ZSTD_parameters params,
- unsigned long long pledgedSrcSize);
-
-/*! ZSTD_initCStream_usingCDict() :
- * This function is DEPRECATED, and equivalent to:
- * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
- * ZSTD_CCtx_refCDict(zcs, cdict);
- *
- * note : cdict will just be referenced, and must outlive compression session
- * This prototype will generate compilation warnings.
- */
-ZSTD_DEPRECATED("use ZSTD_CCtx_reset and ZSTD_CCtx_refCDict, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API
-size_t ZSTD_initCStream_usingCDict(ZSTD_CStream* zcs, const ZSTD_CDict* cdict);
-
-/*! ZSTD_initCStream_usingCDict_advanced() :
- * This function is DEPRECATED, and is equivalent to:
- * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
- * ZSTD_CCtx_setFParams(zcs, fParams);
- * ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize);
- * ZSTD_CCtx_refCDict(zcs, cdict);
- *
- * same as ZSTD_initCStream_usingCDict(), with control over frame parameters.
- * pledgedSrcSize must be correct. If srcSize is not known at init time, use
- * value ZSTD_CONTENTSIZE_UNKNOWN.
- * This prototype will generate compilation warnings.
- */
-ZSTD_DEPRECATED("use ZSTD_CCtx_reset and ZSTD_CCtx_refCDict, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API
-size_t ZSTD_initCStream_usingCDict_advanced(ZSTD_CStream* zcs,
- const ZSTD_CDict* cdict,
- ZSTD_frameParameters fParams,
- unsigned long long pledgedSrcSize);
-
-/*! ZSTD_resetCStream() :
- * This function is DEPRECATED, and is equivalent to:
- * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
- * ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize);
- * Note: ZSTD_resetCStream() interprets pledgedSrcSize == 0 as ZSTD_CONTENTSIZE_UNKNOWN, but
- * ZSTD_CCtx_setPledgedSrcSize() does not do the same, so ZSTD_CONTENTSIZE_UNKNOWN must be
- * explicitly specified.
- *
- * start a new frame, using same parameters from previous frame.
- * This is typically useful to skip dictionary loading stage, since it will reuse it in-place.
- * Note that zcs must be init at least once before using ZSTD_resetCStream().
- * If pledgedSrcSize is not known at reset time, use macro ZSTD_CONTENTSIZE_UNKNOWN.
- * If pledgedSrcSize > 0, its value must be correct, as it will be written in header, and controlled at the end.
- * For the time being, pledgedSrcSize==0 is interpreted as "srcSize unknown" for compatibility with older programs,
- * but it will change to mean "empty" in future version, so use macro ZSTD_CONTENTSIZE_UNKNOWN instead.
- * @return : 0, or an error code (which can be tested using ZSTD_isError())
- * This prototype will generate compilation warnings.
- */
-ZSTD_DEPRECATED("use ZSTD_CCtx_reset, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API
-size_t ZSTD_resetCStream(ZSTD_CStream* zcs, unsigned long long pledgedSrcSize);
-
-
-typedef struct {
- unsigned long long ingested; /* nb input bytes read and buffered */
- unsigned long long consumed; /* nb input bytes actually compressed */
- unsigned long long produced; /* nb of compressed bytes generated and buffered */
- unsigned long long flushed; /* nb of compressed bytes flushed : not provided; can be tracked from caller side */
- unsigned currentJobID; /* MT only : latest started job nb */
- unsigned nbActiveWorkers; /* MT only : nb of workers actively compressing at probe time */
-} ZSTD_frameProgression;
-
-/* ZSTD_getFrameProgression() :
- * tells how much data has been ingested (read from input)
- * consumed (input actually compressed) and produced (output) for current frame.
- * Note : (ingested - consumed) is amount of input data buffered internally, not yet compressed.
- * Aggregates progression inside active worker threads.
- */
-ZSTDLIB_STATIC_API ZSTD_frameProgression ZSTD_getFrameProgression(const ZSTD_CCtx* cctx);
-
-/*! ZSTD_toFlushNow() :
- * Tell how many bytes are ready to be flushed immediately.
- * Useful for multithreading scenarios (nbWorkers >= 1).
- * Probe the oldest active job, defined as oldest job not yet entirely flushed,
- * and check its output buffer.
- * @return : amount of data stored in oldest job and ready to be flushed immediately.
- * if @return == 0, it means either :
- * + there is no active job (could be checked with ZSTD_frameProgression()), or
- * + oldest job is still actively compressing data,
- * but everything it has produced has also been flushed so far,
- * therefore flush speed is limited by production speed of oldest job
- * irrespective of the speed of concurrent (and newer) jobs.
- */
-ZSTDLIB_STATIC_API size_t ZSTD_toFlushNow(ZSTD_CCtx* cctx);
-
-
-/*===== Advanced Streaming decompression functions =====*/
-
-/*!
- * This function is deprecated, and is equivalent to:
- *
- * ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
- * ZSTD_DCtx_loadDictionary(zds, dict, dictSize);
- *
- * note: no dictionary will be used if dict == NULL or dictSize < 8
- */
-ZSTD_DEPRECATED("use ZSTD_DCtx_reset + ZSTD_DCtx_loadDictionary, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API size_t ZSTD_initDStream_usingDict(ZSTD_DStream* zds, const void* dict, size_t dictSize);
-
-/*!
- * This function is deprecated, and is equivalent to:
- *
- * ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
- * ZSTD_DCtx_refDDict(zds, ddict);
- *
- * note : ddict is referenced, it must outlive decompression session
- */
-ZSTD_DEPRECATED("use ZSTD_DCtx_reset + ZSTD_DCtx_refDDict, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API size_t ZSTD_initDStream_usingDDict(ZSTD_DStream* zds, const ZSTD_DDict* ddict);
-
-/*!
- * This function is deprecated, and is equivalent to:
- *
- * ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
- *
- * reuse decompression parameters from previous init; saves dictionary loading
- */
-ZSTD_DEPRECATED("use ZSTD_DCtx_reset, see zstd.h for detailed instructions")
-ZSTDLIB_STATIC_API size_t ZSTD_resetDStream(ZSTD_DStream* zds);
-
-
-/* ********************* BLOCK-LEVEL SEQUENCE PRODUCER API *********************
- *
- * *** OVERVIEW ***
- * The Block-Level Sequence Producer API allows users to provide their own custom
- * sequence producer which libzstd invokes to process each block. The produced list
- * of sequences (literals and matches) is then post-processed by libzstd to produce
- * valid compressed blocks.
- *
- * This block-level offload API is a more granular complement of the existing
- * frame-level offload API compressSequences() (introduced in v1.5.1). It offers
- * an easier migration story for applications already integrated with libzstd: the
- * user application continues to invoke the same compression functions
- * ZSTD_compress2() or ZSTD_compressStream2() as usual, and transparently benefits
- * from the specific advantages of the external sequence producer. For example,
- * the sequence producer could be tuned to take advantage of known characteristics
- * of the input, to offer better speed / ratio, or could leverage hardware
- * acceleration not available within libzstd itself.
- *
- * See contrib/externalSequenceProducer for an example program employing the
- * Block-Level Sequence Producer API.
- *
- * *** USAGE ***
- * The user is responsible for implementing a function of type
- * ZSTD_sequenceProducer_F. For each block, zstd will pass the following
- * arguments to the user-provided function:
- *
- * - sequenceProducerState: a pointer to a user-managed state for the sequence
- * producer.
- *
- * - outSeqs, outSeqsCapacity: an output buffer for the sequence producer.
- * outSeqsCapacity is guaranteed >= ZSTD_sequenceBound(srcSize). The memory
- * backing outSeqs is managed by the CCtx.
- *
- * - src, srcSize: an input buffer for the sequence producer to parse.
- * srcSize is guaranteed to be <= ZSTD_BLOCKSIZE_MAX.
- *
- * - dict, dictSize: a history buffer, which may be empty, which the sequence
- * producer may reference as it parses the src buffer. Currently, zstd will
- * always pass dictSize == 0 into external sequence producers, but this will
- * change in the future.
- *
- * - compressionLevel: a signed integer representing the zstd compression level
- * set by the user for the current operation. The sequence producer may choose
- * to use this information to change its compression strategy and speed/ratio
- * tradeoff. Note: the compression level does not reflect zstd parameters set
- * through the advanced API.
- *
- * - windowSize: a size_t representing the maximum allowed offset for external
- * sequences. Note that sequence offsets are sometimes allowed to exceed the
- * windowSize if a dictionary is present, see doc/zstd_compression_format.md
- * for details.
- *
- * The user-provided function shall return a size_t representing the number of
- * sequences written to outSeqs. This return value will be treated as an error
- * code if it is greater than outSeqsCapacity. The return value must be non-zero
- * if srcSize is non-zero. The ZSTD_SEQUENCE_PRODUCER_ERROR macro is provided
- * for convenience, but any value greater than outSeqsCapacity will be treated as
- * an error code.
- *
- * If the user-provided function does not return an error code, the sequences
- * written to outSeqs must be a valid parse of the src buffer. Data corruption may
- * occur if the parse is not valid. A parse is defined to be valid if the
- * following conditions hold:
- * - The sum of matchLengths and literalLengths must equal srcSize.
- * - All sequences in the parse, except for the final sequence, must have
- * matchLength >= ZSTD_MINMATCH_MIN. The final sequence must have
- * matchLength >= ZSTD_MINMATCH_MIN or matchLength == 0.
- * - All offsets must respect the windowSize parameter as specified in
- * doc/zstd_compression_format.md.
- * - If the final sequence has matchLength == 0, it must also have offset == 0.
- *
- * zstd will only validate these conditions (and fail compression if they do not
- * hold) if the ZSTD_c_validateSequences cParam is enabled. Note that sequence
- * validation has a performance cost.
- *
- * If the user-provided function returns an error, zstd will either fall back
- * to an internal sequence producer or fail the compression operation. The user can
- * choose between the two behaviors by setting the ZSTD_c_enableSeqProducerFallback
- * cParam. Fallback compression will follow any other cParam settings, such as
- * compression level, the same as in a normal compression operation.
- *
- * The user shall instruct zstd to use a particular ZSTD_sequenceProducer_F
- * function by calling
- * ZSTD_registerSequenceProducer(cctx,
- * sequenceProducerState,
- * sequenceProducer)
- * This setting will persist until the next parameter reset of the CCtx.
- *
- * The sequenceProducerState must be initialized by the user before calling
- * ZSTD_registerSequenceProducer(). The user is responsible for destroying the
- * sequenceProducerState.
- *
- * *** LIMITATIONS ***
- * This API is compatible with all zstd compression APIs which respect advanced parameters.
- * However, there are three limitations:
- *
- * First, the ZSTD_c_enableLongDistanceMatching cParam is not currently supported.
- * COMPRESSION WILL FAIL if it is enabled and the user tries to compress with a block-level
- * external sequence producer.
- * - Note that ZSTD_c_enableLongDistanceMatching is auto-enabled by default in some
- * cases (see its documentation for details). Users must explicitly set
- * ZSTD_c_enableLongDistanceMatching to ZSTD_ps_disable in such cases if an external
- * sequence producer is registered.
- * - As of this writing, ZSTD_c_enableLongDistanceMatching is disabled by default
- * whenever ZSTD_c_windowLog < 128MB, but that's subject to change. Users should
- * check the docs on ZSTD_c_enableLongDistanceMatching whenever the Block-Level Sequence
- * Producer API is used in conjunction with advanced settings (like ZSTD_c_windowLog).
- *
- * Second, history buffers are not currently supported. Concretely, zstd will always pass
- * dictSize == 0 to the external sequence producer (for now). This has two implications:
- * - Dictionaries are not currently supported. Compression will *not* fail if the user
- * references a dictionary, but the dictionary won't have any effect.
- * - Stream history is not currently supported. All advanced compression APIs, including
- * streaming APIs, work with external sequence producers, but each block is treated as
- * an independent chunk without history from previous blocks.
- *
- * Third, multi-threading within a single compression is not currently supported. In other words,
- * COMPRESSION WILL FAIL if ZSTD_c_nbWorkers > 0 and an external sequence producer is registered.
- * Multi-threading across compressions is fine: simply create one CCtx per thread.
- *
- * Long-term, we plan to overcome all three limitations. There is no technical blocker to
- * overcoming them. It is purely a question of engineering effort.
- */
-
-#define ZSTD_SEQUENCE_PRODUCER_ERROR ((size_t)(-1))
-
-typedef size_t (*ZSTD_sequenceProducer_F) (
- void* sequenceProducerState,
- ZSTD_Sequence* outSeqs, size_t outSeqsCapacity,
- const void* src, size_t srcSize,
- const void* dict, size_t dictSize,
- int compressionLevel,
- size_t windowSize
-);
-
-/*! ZSTD_registerSequenceProducer() :
- * Instruct zstd to use a block-level external sequence producer function.
- *
- * The sequenceProducerState must be initialized by the caller, and the caller is
- * responsible for managing its lifetime. This parameter is sticky across
- * compressions. It will remain set until the user explicitly resets compression
- * parameters.
- *
- * Sequence producer registration is considered to be an "advanced parameter",
- * part of the "advanced API". This means it will only have an effect on compression
- * APIs which respect advanced parameters, such as compress2() and compressStream2().
- * Older compression APIs such as compressCCtx(), which predate the introduction of
- * "advanced parameters", will ignore any external sequence producer setting.
- *
- * The sequence producer can be "cleared" by registering a NULL function pointer. This
- * removes all limitations described above in the "LIMITATIONS" section of the API docs.
- *
- * The user is strongly encouraged to read the full API documentation (above) before
- * calling this function. */
-ZSTDLIB_STATIC_API void
-ZSTD_registerSequenceProducer(
- ZSTD_CCtx* cctx,
- void* sequenceProducerState,
- ZSTD_sequenceProducer_F sequenceProducer
-);
-
-/*! ZSTD_CCtxParams_registerSequenceProducer() :
- * Same as ZSTD_registerSequenceProducer(), but operates on ZSTD_CCtx_params.
- * This is used for accurate size estimation with ZSTD_estimateCCtxSize_usingCCtxParams(),
- * which is needed when creating a ZSTD_CCtx with ZSTD_initStaticCCtx().
- *
- * If you are using the external sequence producer API in a scenario where ZSTD_initStaticCCtx()
- * is required, then this function is for you. Otherwise, you probably don't need it.
- *
- * See tests/zstreamtest.c for example usage. */
-ZSTDLIB_STATIC_API void
-ZSTD_CCtxParams_registerSequenceProducer(
- ZSTD_CCtx_params* params,
- void* sequenceProducerState,
- ZSTD_sequenceProducer_F sequenceProducer
-);
-
-
-/*********************************************************************
-* Buffer-less and synchronous inner streaming functions (DEPRECATED)
-*
-* This API is deprecated, and will be removed in a future version.
-* It allows streaming (de)compression with user allocated buffers.
-* However, it is hard to use, and not as well tested as the rest of
-* our API.
-*
-* Please use the normal streaming API instead: ZSTD_compressStream2,
-* and ZSTD_decompressStream.
-* If there is functionality that you need, but it doesn't provide,
-* please open an issue on our GitHub.
-********************************************************************* */
-
-/**
- Buffer-less streaming compression (synchronous mode)
-
- A ZSTD_CCtx object is required to track streaming operations.
- Use ZSTD_createCCtx() / ZSTD_freeCCtx() to manage resource.
- ZSTD_CCtx object can be reused multiple times within successive compression operations.
-
- Start by initializing a context.
- Use ZSTD_compressBegin(), or ZSTD_compressBegin_usingDict() for dictionary compression.
-
- Then, consume your input using ZSTD_compressContinue().
- There are some important considerations to keep in mind when using this advanced function :
- - ZSTD_compressContinue() has no internal buffer. It uses externally provided buffers only.
- - Interface is synchronous : input is consumed entirely and produces 1+ compressed blocks.
- - Caller must ensure there is enough space in `dst` to store compressed data under worst case scenario.
- Worst case evaluation is provided by ZSTD_compressBound().
- ZSTD_compressContinue() doesn't guarantee recover after a failed compression.
- - ZSTD_compressContinue() presumes prior input ***is still accessible and unmodified*** (up to maximum distance size, see WindowLog).
- It remembers all previous contiguous blocks, plus one separated memory segment (which can itself consists of multiple contiguous blocks)
- - ZSTD_compressContinue() detects that prior input has been overwritten when `src` buffer overlaps.
- In which case, it will "discard" the relevant memory section from its history.
-
- Finish a frame with ZSTD_compressEnd(), which will write the last block(s) and optional checksum.
- It's possible to use srcSize==0, in which case, it will write a final empty block to end the frame.
- Without last block mark, frames are considered unfinished (hence corrupted) by compliant decoders.
-
- `ZSTD_CCtx` object can be reused (ZSTD_compressBegin()) to compress again.
-*/
-
-/*===== Buffer-less streaming compression functions =====*/
-ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_compressBegin(ZSTD_CCtx* cctx, int compressionLevel);
-ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_compressBegin_usingDict(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, int compressionLevel);
-ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict); /**< note: fails if cdict==NULL */
-
-ZSTD_DEPRECATED("This function will likely be removed in a future release. It is misleading and has very limited utility.")
-ZSTDLIB_STATIC_API
-size_t ZSTD_copyCCtx(ZSTD_CCtx* cctx, const ZSTD_CCtx* preparedCCtx, unsigned long long pledgedSrcSize); /**< note: if pledgedSrcSize is not known, use ZSTD_CONTENTSIZE_UNKNOWN */
-
-ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_compressContinue(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
-ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_compressEnd(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
-
-/* The ZSTD_compressBegin_advanced() and ZSTD_compressBegin_usingCDict_advanced() are now DEPRECATED and will generate a compiler warning */
-ZSTD_DEPRECATED("use advanced API to access custom parameters")
-ZSTDLIB_STATIC_API
-size_t ZSTD_compressBegin_advanced(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize); /**< pledgedSrcSize : If srcSize is not known at init time, use ZSTD_CONTENTSIZE_UNKNOWN */
-ZSTD_DEPRECATED("use advanced API to access custom parameters")
-ZSTDLIB_STATIC_API
-size_t ZSTD_compressBegin_usingCDict_advanced(ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize); /* compression parameters are already set within cdict. pledgedSrcSize must be correct. If srcSize is not known, use macro ZSTD_CONTENTSIZE_UNKNOWN */
-/**
- Buffer-less streaming decompression (synchronous mode)
-
- A ZSTD_DCtx object is required to track streaming operations.
- Use ZSTD_createDCtx() / ZSTD_freeDCtx() to manage it.
- A ZSTD_DCtx object can be reused multiple times.
-
- First typical operation is to retrieve frame parameters, using ZSTD_getFrameHeader().
- Frame header is extracted from the beginning of compressed frame, so providing only the frame's beginning is enough.
- Data fragment must be large enough to ensure successful decoding.
- `ZSTD_frameHeaderSize_max` bytes is guaranteed to always be large enough.
- result : 0 : successful decoding, the `ZSTD_frameHeader` structure is correctly filled.
- >0 : `srcSize` is too small, please provide at least result bytes on next attempt.
- errorCode, which can be tested using ZSTD_isError().
-
- It fills a ZSTD_frameHeader structure with important information to correctly decode the frame,
- such as the dictionary ID, content size, or maximum back-reference distance (`windowSize`).
- Note that these values could be wrong, either because of data corruption, or because a 3rd party deliberately spoofs false information.
- As a consequence, check that values remain within valid application range.
- For example, do not allocate memory blindly, check that `windowSize` is within expectation.
- Each application can set its own limits, depending on local restrictions.
- For extended interoperability, it is recommended to support `windowSize` of at least 8 MB.
-
- ZSTD_decompressContinue() needs previous data blocks during decompression, up to `windowSize` bytes.
- ZSTD_decompressContinue() is very sensitive to contiguity,
- if 2 blocks don't follow each other, make sure that either the compressor breaks contiguity at the same place,
- or that previous contiguous segment is large enough to properly handle maximum back-reference distance.
- There are multiple ways to guarantee this condition.
-
- The most memory efficient way is to use a round buffer of sufficient size.
- Sufficient size is determined by invoking ZSTD_decodingBufferSize_min(),
- which can return an error code if required value is too large for current system (in 32-bits mode).
- In a round buffer methodology, ZSTD_decompressContinue() decompresses each block next to previous one,
- up to the moment there is not enough room left in the buffer to guarantee decoding another full block,
- which maximum size is provided in `ZSTD_frameHeader` structure, field `blockSizeMax`.
- At which point, decoding can resume from the beginning of the buffer.
- Note that already decoded data stored in the buffer should be flushed before being overwritten.
-
- There are alternatives possible, for example using two or more buffers of size `windowSize` each, though they consume more memory.
-
- Finally, if you control the compression process, you can also ignore all buffer size rules,
- as long as the encoder and decoder progress in "lock-step",
- aka use exactly the same buffer sizes, break contiguity at the same place, etc.
-
- Once buffers are setup, start decompression, with ZSTD_decompressBegin().
- If decompression requires a dictionary, use ZSTD_decompressBegin_usingDict() or ZSTD_decompressBegin_usingDDict().
-
- Then use ZSTD_nextSrcSizeToDecompress() and ZSTD_decompressContinue() alternatively.
- ZSTD_nextSrcSizeToDecompress() tells how many bytes to provide as 'srcSize' to ZSTD_decompressContinue().
- ZSTD_decompressContinue() requires this _exact_ amount of bytes, or it will fail.
-
- result of ZSTD_decompressContinue() is the number of bytes regenerated within 'dst' (necessarily <= dstCapacity).
- It can be zero : it just means ZSTD_decompressContinue() has decoded some metadata item.
- It can also be an error code, which can be tested with ZSTD_isError().
-
- A frame is fully decoded when ZSTD_nextSrcSizeToDecompress() returns zero.
- Context can then be reset to start a new decompression.
-
- Note : it's possible to know if next input to present is a header or a block, using ZSTD_nextInputType().
- This information is not required to properly decode a frame.
-
- == Special case : skippable frames ==
-
- Skippable frames allow integration of user-defined data into a flow of concatenated frames.
- Skippable frames will be ignored (skipped) by decompressor.
- The format of skippable frames is as follows :
- a) Skippable frame ID - 4 Bytes, Little endian format, any value from 0x184D2A50 to 0x184D2A5F
- b) Frame Size - 4 Bytes, Little endian format, unsigned 32-bits
- c) Frame Content - any content (User Data) of length equal to Frame Size
- For skippable frames ZSTD_getFrameHeader() returns zfhPtr->frameType==ZSTD_skippableFrame.
- For skippable frames ZSTD_decompressContinue() always returns 0 : it only skips the content.
-*/
-
-/*===== Buffer-less streaming decompression functions =====*/
-
-ZSTDLIB_STATIC_API size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long frameContentSize); /**< when frame content size is not known, pass in frameContentSize == ZSTD_CONTENTSIZE_UNKNOWN */
-
-ZSTDLIB_STATIC_API size_t ZSTD_decompressBegin(ZSTD_DCtx* dctx);
-ZSTDLIB_STATIC_API size_t ZSTD_decompressBegin_usingDict(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
-ZSTDLIB_STATIC_API size_t ZSTD_decompressBegin_usingDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
-
-ZSTDLIB_STATIC_API size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx);
-ZSTDLIB_STATIC_API size_t ZSTD_decompressContinue(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
-
-/* misc */
-ZSTD_DEPRECATED("This function will likely be removed in the next minor release. It is misleading and has very limited utility.")
-ZSTDLIB_STATIC_API void ZSTD_copyDCtx(ZSTD_DCtx* dctx, const ZSTD_DCtx* preparedDCtx);
-typedef enum { ZSTDnit_frameHeader, ZSTDnit_blockHeader, ZSTDnit_block, ZSTDnit_lastBlock, ZSTDnit_checksum, ZSTDnit_skippableFrame } ZSTD_nextInputType_e;
-ZSTDLIB_STATIC_API ZSTD_nextInputType_e ZSTD_nextInputType(ZSTD_DCtx* dctx);
-
-
-
-
-/* ========================================= */
-/** Block level API (DEPRECATED) */
-/* ========================================= */
-
-/*!
-
- This API is deprecated in favor of the regular compression API.
- You can get the frame header down to 2 bytes by setting:
- - ZSTD_c_format = ZSTD_f_zstd1_magicless
- - ZSTD_c_contentSizeFlag = 0
- - ZSTD_c_checksumFlag = 0
- - ZSTD_c_dictIDFlag = 0
-
- This API is not as well tested as our normal API, so we recommend not using it.
- We will be removing it in a future version. If the normal API doesn't provide
- the functionality you need, please open a GitHub issue.
-
- Block functions produce and decode raw zstd blocks, without frame metadata.
- Frame metadata cost is typically ~12 bytes, which can be non-negligible for very small blocks (< 100 bytes).
- But users will have to take in charge needed metadata to regenerate data, such as compressed and content sizes.
-
- A few rules to respect :
- - Compressing and decompressing require a context structure
- + Use ZSTD_createCCtx() and ZSTD_createDCtx()
- - It is necessary to init context before starting
- + compression : any ZSTD_compressBegin*() variant, including with dictionary
- + decompression : any ZSTD_decompressBegin*() variant, including with dictionary
- - Block size is limited, it must be <= ZSTD_getBlockSize() <= ZSTD_BLOCKSIZE_MAX == 128 KB
- + If input is larger than a block size, it's necessary to split input data into multiple blocks
- + For inputs larger than a single block, consider using regular ZSTD_compress() instead.
- Frame metadata is not that costly, and quickly becomes negligible as source size grows larger than a block.
- - When a block is considered not compressible enough, ZSTD_compressBlock() result will be 0 (zero) !
- ===> In which case, nothing is produced into `dst` !
- + User __must__ test for such outcome and deal directly with uncompressed data
- + A block cannot be declared incompressible if ZSTD_compressBlock() return value was != 0.
- Doing so would mess up with statistics history, leading to potential data corruption.
- + ZSTD_decompressBlock() _doesn't accept uncompressed data as input_ !!
- + In case of multiple successive blocks, should some of them be uncompressed,
- decoder must be informed of their existence in order to follow proper history.
- Use ZSTD_insertBlock() for such a case.
-*/
-
-/*===== Raw zstd block functions =====*/
-ZSTD_DEPRECATED("The block API is deprecated in favor of the normal compression API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_getBlockSize (const ZSTD_CCtx* cctx);
-ZSTD_DEPRECATED("The block API is deprecated in favor of the normal compression API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_compressBlock (ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
-ZSTD_DEPRECATED("The block API is deprecated in favor of the normal compression API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_decompressBlock(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
-ZSTD_DEPRECATED("The block API is deprecated in favor of the normal compression API. See docs.")
-ZSTDLIB_STATIC_API size_t ZSTD_insertBlock (ZSTD_DCtx* dctx, const void* blockStart, size_t blockSize); /**< insert uncompressed block into `dctx` history. Useful for multi-blocks decompression. */
-
-#endif /* ZSTD_H_ZSTD_STATIC_LINKING_ONLY */
-
-#if defined (__cplusplus)
-}
-#endif
diff --git a/src/bled/zstd_bits.h b/src/bled/zstd_bits.h
deleted file mode 100644
index 8d89111a..00000000
--- a/src/bled/zstd_bits.h
+++ /dev/null
@@ -1,208 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-#ifndef ZSTD_BITS_H
-#define ZSTD_BITS_H
-
-#include "zstd_mem.h"
-
-MEM_STATIC unsigned ZSTD_countTrailingZeros32_fallback(U32 val)
-{
- assert(val != 0);
- {
- static const U32 DeBruijnBytePos[32] = {0, 1, 28, 2, 29, 14, 24, 3,
- 30, 22, 20, 15, 25, 17, 4, 8,
- 31, 27, 13, 23, 21, 19, 16, 7,
- 26, 12, 18, 6, 11, 5, 10, 9};
- return DeBruijnBytePos[((U32) ((val & -(S32) val) * 0x077CB531U)) >> 27];
- }
-}
-
-MEM_STATIC unsigned ZSTD_countTrailingZeros32(U32 val)
-{
- assert(val != 0);
-# if defined(_MSC_VER)
-# if STATIC_BMI2 == 1
- return (unsigned)_tzcnt_u32(val);
-# else
- if (val != 0) {
- unsigned long r;
- _BitScanForward(&r, val);
- return (unsigned)r;
- } else {
- /* Should not reach this code path */
- __assume(0);
- }
-# endif
-# elif defined(__GNUC__) && (__GNUC__ >= 4)
- return (unsigned)__builtin_ctz(val);
-# elif defined(__ICCARM__)
- return (unsigned)__builtin_ctz(val);
-# else
- return ZSTD_countTrailingZeros32_fallback(val);
-# endif
-}
-
-MEM_STATIC unsigned ZSTD_countLeadingZeros32_fallback(U32 val) {
- assert(val != 0);
- {
- static const U32 DeBruijnClz[32] = {0, 9, 1, 10, 13, 21, 2, 29,
- 11, 14, 16, 18, 22, 25, 3, 30,
- 8, 12, 20, 28, 15, 17, 24, 7,
- 19, 27, 23, 6, 26, 5, 4, 31};
- val |= val >> 1;
- val |= val >> 2;
- val |= val >> 4;
- val |= val >> 8;
- val |= val >> 16;
- return 31 - DeBruijnClz[(val * 0x07C4ACDDU) >> 27];
- }
-}
-
-MEM_STATIC unsigned ZSTD_countLeadingZeros32(U32 val)
-{
- assert(val != 0);
-# if defined(_MSC_VER)
-# if STATIC_BMI2 == 1
- return (unsigned)_lzcnt_u32(val);
-# else
- if (val != 0) {
- unsigned long r;
- _BitScanReverse(&r, val);
- return (unsigned)(31 - r);
- } else {
- /* Should not reach this code path */
- __assume(0);
- }
-# endif
-# elif defined(__GNUC__) && (__GNUC__ >= 4)
- return (unsigned)__builtin_clz(val);
-# elif defined(__ICCARM__)
- return (unsigned)__builtin_clz(val);
-# else
- return ZSTD_countLeadingZeros32_fallback(val);
-# endif
-}
-
-MEM_STATIC unsigned ZSTD_countTrailingZeros64(U64 val)
-{
- assert(val != 0);
-# if defined(_MSC_VER) && defined(_WIN64)
-# if STATIC_BMI2 == 1
- return (unsigned)_tzcnt_u64(val);
-# else
- if (val != 0) {
- unsigned long r;
- _BitScanForward64(&r, val);
- return (unsigned)r;
- } else {
- /* Should not reach this code path */
- __assume(0);
- }
-# endif
-# elif defined(__GNUC__) && (__GNUC__ >= 4) && defined(__LP64__)
- return (unsigned)__builtin_ctzll(val);
-# elif defined(__ICCARM__)
- return (unsigned)__builtin_ctzll(val);
-# else
- {
- U32 mostSignificantWord = (U32)(val >> 32);
- U32 leastSignificantWord = (U32)val;
- if (leastSignificantWord == 0) {
- return 32 + ZSTD_countTrailingZeros32(mostSignificantWord);
- } else {
- return ZSTD_countTrailingZeros32(leastSignificantWord);
- }
- }
-# endif
-}
-
-MEM_STATIC unsigned ZSTD_countLeadingZeros64(U64 val)
-{
- assert(val != 0);
-# if defined(_MSC_VER) && defined(_WIN64)
-# if STATIC_BMI2 == 1
- return (unsigned)_lzcnt_u64(val);
-# else
- if (val != 0) {
- unsigned long r;
- _BitScanReverse64(&r, val);
- return (unsigned)(63 - r);
- } else {
- /* Should not reach this code path */
- __assume(0);
- }
-# endif
-# elif defined(__GNUC__) && (__GNUC__ >= 4)
- return (unsigned)(__builtin_clzll(val));
-# elif defined(__ICCARM__)
- return (unsigned)(__builtin_clzll(val));
-# else
- {
- U32 mostSignificantWord = (U32)(val >> 32);
- U32 leastSignificantWord = (U32)val;
- if (mostSignificantWord == 0) {
- return 32 + ZSTD_countLeadingZeros32(leastSignificantWord);
- } else {
- return ZSTD_countLeadingZeros32(mostSignificantWord);
- }
- }
-# endif
-}
-
-MEM_STATIC unsigned ZSTD_NbCommonBytes(size_t val)
-{
- if (MEM_isLittleEndian()) {
- if (MEM_64bits()) {
- return ZSTD_countTrailingZeros64((U64)val) >> 3;
- } else {
- return ZSTD_countTrailingZeros32((U32)val) >> 3;
- }
- } else { /* Big Endian CPU */
- if (MEM_64bits()) {
- return ZSTD_countLeadingZeros64((U64)val) >> 3;
- } else {
- return ZSTD_countLeadingZeros32((U32)val) >> 3;
- }
- }
-}
-
-MEM_STATIC unsigned ZSTD_highbit32(U32 val) /* compress, dictBuilder, decodeCorpus */
-{
- assert(val != 0);
- return 31 - ZSTD_countLeadingZeros32(val);
-}
-
-/* ZSTD_rotateRight_*():
- * Rotates a bitfield to the right by "count" bits.
- * https://en.wikipedia.org/w/index.php?title=Circular_shift&oldid=991635599#Implementing_circular_shifts
- */
-MEM_STATIC
-U64 ZSTD_rotateRight_U64(U64 const value, U32 count) {
- assert(count < 64);
- count &= 0x3F; /* for fickle pattern recognition */
- return (value >> count) | (U64)(value << ((0U - count) & 0x3F));
-}
-
-MEM_STATIC
-U32 ZSTD_rotateRight_U32(U32 const value, U32 count) {
- assert(count < 32);
- count &= 0x1F; /* for fickle pattern recognition */
- return (value >> count) | (U32)(value << ((0U - count) & 0x1F));
-}
-
-MEM_STATIC
-U16 ZSTD_rotateRight_U16(U16 const value, U32 count) {
- assert(count < 16);
- count &= 0x0F; /* for fickle pattern recognition */
- return (value >> count) | (U16)(value << ((0U - count) & 0x0F));
-}
-
-#endif /* ZSTD_BITS_H */
diff --git a/src/bled/zstd_common.c b/src/bled/zstd_common.c
deleted file mode 100644
index 8c9909d0..00000000
--- a/src/bled/zstd_common.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-
-
-/*-*************************************
-* Dependencies
-***************************************/
-#define ZSTD_DEPS_NEED_MALLOC
-#include "zstd_error_private.h"
-#include "zstd_internal.h"
-
-
-/*-****************************************
-* Version
-******************************************/
-unsigned ZSTD_versionNumber(void) { return ZSTD_VERSION_NUMBER; }
-
-const char* ZSTD_versionString(void) { return ZSTD_VERSION_STRING; }
-
-
-/*-****************************************
-* ZSTD Error Management
-******************************************/
-#undef ZSTD_isError /* defined within zstd_internal.h */
-/*! ZSTD_isError() :
- * tells if a return value is an error code
- * symbol is required for external callers */
-unsigned ZSTD_isError(size_t code) { return ERR_isError(code); }
-
-/*! ZSTD_getErrorName() :
- * provides error code string from function result (useful for debugging) */
-const char* ZSTD_getErrorName(size_t code) { return ERR_getErrorName(code); }
-
-/*! ZSTD_getError() :
- * convert a `size_t` function result into a proper ZSTD_errorCode enum */
-ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); }
-
-/*! ZSTD_getErrorString() :
- * provides error code string from enum */
-const char* ZSTD_getErrorString(ZSTD_ErrorCode code) { return ERR_getErrorString(code); }
diff --git a/src/bled/zstd_compiler.h b/src/bled/zstd_compiler.h
deleted file mode 100644
index 2ece5b89..00000000
--- a/src/bled/zstd_compiler.h
+++ /dev/null
@@ -1,457 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-#ifndef ZSTD_COMPILER_H
-#define ZSTD_COMPILER_H
-
-#include
-#include "zstd_deps.h"
-
-/*-*******************************************************
-* Compiler specifics
-*********************************************************/
-/* force inlining */
-
-#if !defined(ZSTD_NO_INLINE)
-#if (defined(__GNUC__) && !defined(__STRICT_ANSI__)) || defined(__cplusplus) || defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 */
-# define INLINE_KEYWORD inline
-#else
-# define INLINE_KEYWORD
-#endif
-
-#if defined(__GNUC__) || defined(__IAR_SYSTEMS_ICC__)
-# define FORCE_INLINE_ATTR __attribute__((always_inline))
-#elif defined(_MSC_VER)
-# define FORCE_INLINE_ATTR __forceinline
-#else
-# define FORCE_INLINE_ATTR
-#endif
-
-#else
-
-#define INLINE_KEYWORD
-#define FORCE_INLINE_ATTR
-
-#endif
-
-/**
- On MSVC qsort requires that functions passed into it use the __cdecl calling conversion(CC).
- This explicitly marks such functions as __cdecl so that the code will still compile
- if a CC other than __cdecl has been made the default.
-*/
-#if defined(_MSC_VER)
-# define WIN_CDECL __cdecl
-#else
-# define WIN_CDECL
-#endif
-
-/* UNUSED_ATTR tells the compiler it is okay if the function is unused. */
-#if defined(__GNUC__) || defined(__IAR_SYSTEMS_ICC__)
-# define UNUSED_ATTR __attribute__((unused))
-#else
-# define UNUSED_ATTR
-#endif
-
-/**
- * FORCE_INLINE_TEMPLATE is used to define C "templates", which take constant
- * parameters. They must be inlined for the compiler to eliminate the constant
- * branches.
- */
-#define FORCE_INLINE_TEMPLATE static INLINE_KEYWORD FORCE_INLINE_ATTR UNUSED_ATTR
-/**
- * HINT_INLINE is used to help the compiler generate better code. It is *not*
- * used for "templates", so it can be tweaked based on the compilers
- * performance.
- *
- * gcc-4.8 and gcc-4.9 have been shown to benefit from leaving off the
- * always_inline attribute.
- *
- * clang up to 5.0.0 (trunk) benefit tremendously from the always_inline
- * attribute.
- */
-#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 8 && __GNUC__ < 5
-# define HINT_INLINE static INLINE_KEYWORD
-#else
-# define HINT_INLINE FORCE_INLINE_TEMPLATE
-#endif
-
-/* "soft" inline :
- * The compiler is free to select if it's a good idea to inline or not.
- * The main objective is to silence compiler warnings
- * when a defined function in included but not used.
- *
- * Note : this macro is prefixed `MEM_` because it used to be provided by `mem.h` unit.
- * Updating the prefix is probably preferable, but requires a fairly large codemod,
- * since this name is used everywhere.
- */
-#ifndef MEM_STATIC /* already defined in Linux Kernel mem.h */
-#if defined(__GNUC__)
-# define MEM_STATIC static __inline UNUSED_ATTR
-#elif defined(__IAR_SYSTEMS_ICC__)
-# define MEM_STATIC static inline UNUSED_ATTR
-#elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)
-# define MEM_STATIC static inline
-#elif defined(_MSC_VER)
-# define MEM_STATIC static __inline
-#else
-# define MEM_STATIC static /* this version may generate warnings for unused static functions; disable the relevant warning */
-#endif
-#endif
-
-/* force no inlining */
-#ifdef _MSC_VER
-# define FORCE_NOINLINE static __declspec(noinline)
-#else
-# if defined(__GNUC__) || defined(__IAR_SYSTEMS_ICC__)
-# define FORCE_NOINLINE static __attribute__((__noinline__))
-# else
-# define FORCE_NOINLINE static
-# endif
-#endif
-
-
-/* target attribute */
-#if defined(__GNUC__) || defined(__IAR_SYSTEMS_ICC__)
-# define TARGET_ATTRIBUTE(target) __attribute__((__target__(target)))
-#else
-# define TARGET_ATTRIBUTE(target)
-#endif
-
-/* Target attribute for BMI2 dynamic dispatch.
- * Enable lzcnt, bmi, and bmi2.
- * We test for bmi1 & bmi2. lzcnt is included in bmi1.
- */
-#define BMI2_TARGET_ATTRIBUTE TARGET_ATTRIBUTE("lzcnt,bmi,bmi2")
-
-/* prefetch
- * can be disabled, by declaring NO_PREFETCH build macro */
-#if defined(NO_PREFETCH)
-# define PREFETCH_L1(ptr) do { (void)(ptr); } while (0) /* disabled */
-# define PREFETCH_L2(ptr) do { (void)(ptr); } while (0) /* disabled */
-#else
-# if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_I86)) && !defined(_M_ARM64EC) /* _mm_prefetch() is not defined outside of x86/x64 */
-# include /* https://msdn.microsoft.com/fr-fr/library/84szxsww(v=vs.90).aspx */
-# define PREFETCH_L1(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T0)
-# define PREFETCH_L2(ptr) _mm_prefetch((const char*)(ptr), _MM_HINT_T1)
-# elif defined(__GNUC__) && ( (__GNUC__ >= 4) || ( (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1) ) )
-# define PREFETCH_L1(ptr) __builtin_prefetch((ptr), 0 /* rw==read */, 3 /* locality */)
-# define PREFETCH_L2(ptr) __builtin_prefetch((ptr), 0 /* rw==read */, 2 /* locality */)
-# elif defined(__aarch64__)
-# define PREFETCH_L1(ptr) do { __asm__ __volatile__("prfm pldl1keep, %0" ::"Q"(*(ptr))); } while (0)
-# define PREFETCH_L2(ptr) do { __asm__ __volatile__("prfm pldl2keep, %0" ::"Q"(*(ptr))); } while (0)
-# else
-# define PREFETCH_L1(ptr) do { (void)(ptr); } while (0) /* disabled */
-# define PREFETCH_L2(ptr) do { (void)(ptr); } while (0) /* disabled */
-# endif
-#endif /* NO_PREFETCH */
-
-#define CACHELINE_SIZE 64
-
-#define PREFETCH_AREA(p, s) \
- do { \
- const char* const _ptr = (const char*)(p); \
- size_t const _size = (size_t)(s); \
- size_t _pos; \
- for (_pos=0; _pos<_size; _pos+=CACHELINE_SIZE) { \
- PREFETCH_L2(_ptr + _pos); \
- } \
- } while (0)
-
-/* vectorization
- * older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax,
- * and some compilers, like Intel ICC and MCST LCC, do not support it at all. */
-#if !defined(__INTEL_COMPILER) && !defined(__clang__) && defined(__GNUC__) && !defined(__LCC__)
-# if (__GNUC__ == 4 && __GNUC_MINOR__ > 3) || (__GNUC__ >= 5)
-# define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize")))
-# else
-# define DONT_VECTORIZE _Pragma("GCC optimize(\"no-tree-vectorize\")")
-# endif
-#else
-# define DONT_VECTORIZE
-#endif
-
-/* Tell the compiler that a branch is likely or unlikely.
- * Only use these macros if it causes the compiler to generate better code.
- * If you can remove a LIKELY/UNLIKELY annotation without speed changes in gcc
- * and clang, please do.
- */
-#if defined(__GNUC__)
-#define LIKELY(x) (__builtin_expect((x), 1))
-#define UNLIKELY(x) (__builtin_expect((x), 0))
-#else
-#define LIKELY(x) (x)
-#define UNLIKELY(x) (x)
-#endif
-
-#if 0 || (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)))
-# define ZSTD_UNREACHABLE do { assert(0), __builtin_unreachable(); } while (0)
-#else
-# define ZSTD_UNREACHABLE do { assert(0); } while (0)
-#endif
-
-/* disable warnings */
-#ifdef _MSC_VER /* Visual Studio */
-# include /* For Visual 2005 */
-# pragma warning(disable : 4100) /* disable: C4100: unreferenced formal parameter */
-# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
-# pragma warning(disable : 4204) /* disable: C4204: non-constant aggregate initializer */
-# pragma warning(disable : 4214) /* disable: C4214: non-int bitfields */
-# pragma warning(disable : 4324) /* disable: C4324: padded structure */
-#endif
-
-/*Like DYNAMIC_BMI2 but for compile time determination of BMI2 support*/
-#ifndef STATIC_BMI2
-# if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_I86))
-# ifdef __AVX2__ //MSVC does not have a BMI2 specific flag, but every CPU that supports AVX2 also supports BMI2
-# define STATIC_BMI2 1
-# endif
-# elif defined(__BMI2__) && defined(__x86_64__) && defined(__GNUC__)
-# define STATIC_BMI2 1
-# endif
-#endif
-
-#ifndef STATIC_BMI2
- #define STATIC_BMI2 0
-#endif
-
-/* compile time determination of SIMD support */
-#if !defined(ZSTD_NO_INTRINSICS)
-# if defined(__SSE2__) || defined(_M_AMD64) || (defined (_M_IX86) && defined(_M_IX86_FP) && (_M_IX86_FP >= 2))
-# define ZSTD_ARCH_X86_SSE2
-# endif
-# if defined(__ARM_NEON) || defined(_M_ARM64)
-# define ZSTD_ARCH_ARM_NEON
-# endif
-#
-# if defined(ZSTD_ARCH_X86_SSE2)
-# include
-# elif defined(ZSTD_ARCH_ARM_NEON)
-# include
-# endif
-#endif
-
-/* C-language Attributes are added in C23. */
-#if defined(__STDC_VERSION__) && (__STDC_VERSION__ > 201710L) && defined(__has_c_attribute)
-# define ZSTD_HAS_C_ATTRIBUTE(x) __has_c_attribute(x)
-#else
-# define ZSTD_HAS_C_ATTRIBUTE(x) 0
-#endif
-
-/* Only use C++ attributes in C++. Some compilers report support for C++
- * attributes when compiling with C.
- */
-#if defined(__cplusplus) && defined(__has_cpp_attribute)
-# define ZSTD_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x)
-#else
-# define ZSTD_HAS_CPP_ATTRIBUTE(x) 0
-#endif
-
-/* Define ZSTD_FALLTHROUGH macro for annotating switch case with the 'fallthrough' attribute.
- * - C23: https://en.cppreference.com/w/c/language/attributes/fallthrough
- * - CPP17: https://en.cppreference.com/w/cpp/language/attributes/fallthrough
- * - Else: __attribute__((__fallthrough__))
- */
-#ifndef ZSTD_FALLTHROUGH
-# if ZSTD_HAS_C_ATTRIBUTE(fallthrough)
-# define ZSTD_FALLTHROUGH [[fallthrough]]
-# elif ZSTD_HAS_CPP_ATTRIBUTE(fallthrough)
-# define ZSTD_FALLTHROUGH [[fallthrough]]
-# elif __has_attribute(__fallthrough__)
-/* Leading semicolon is to satisfy gcc-11 with -pedantic. Without the semicolon
- * gcc complains about: a label can only be part of a statement and a declaration is not a statement.
- */
-# define ZSTD_FALLTHROUGH ; __attribute__((__fallthrough__))
-# else
-# define ZSTD_FALLTHROUGH
-# endif
-#endif
-
-/*-**************************************************************
-* Alignment check
-*****************************************************************/
-
-/* @return 1 if @u is a 2^n value, 0 otherwise
- * useful to check a value is valid for alignment restrictions */
-MEM_STATIC int ZSTD_isPower2(size_t u) {
- return (u & (u-1)) == 0;
-}
-
-/* this test was initially positioned in mem.h,
- * but this file is removed (or replaced) for linux kernel
- * so it's now hosted in compiler.h,
- * which remains valid for both user & kernel spaces.
- */
-
-#ifndef ZSTD_ALIGNOF
-# if defined(__GNUC__) || defined(_MSC_VER)
-/* covers gcc, clang & MSVC */
-/* note : this section must come first, before C11,
- * due to a limitation in the kernel source generator */
-# define ZSTD_ALIGNOF(T) __alignof(T)
-
-# elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
-/* C11 support */
-# include
-# define ZSTD_ALIGNOF(T) alignof(T)
-
-# else
-/* No known support for alignof() - imperfect backup */
-# define ZSTD_ALIGNOF(T) (sizeof(void*) < sizeof(T) ? sizeof(void*) : sizeof(T))
-
-# endif
-#endif /* ZSTD_ALIGNOF */
-
-/*-**************************************************************
-* Sanitizer
-*****************************************************************/
-
-/**
- * Zstd relies on pointer overflow in its decompressor.
- * We add this attribute to functions that rely on pointer overflow.
- */
-#ifndef ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-# if __has_attribute(no_sanitize)
-# if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 8
- /* gcc < 8 only has signed-integer-overlow which triggers on pointer overflow */
-# define ZSTD_ALLOW_POINTER_OVERFLOW_ATTR __attribute__((no_sanitize("signed-integer-overflow")))
-# else
- /* older versions of clang [3.7, 5.0) will warn that pointer-overflow is ignored. */
-# define ZSTD_ALLOW_POINTER_OVERFLOW_ATTR __attribute__((no_sanitize("pointer-overflow")))
-# endif
-# else
-# define ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-# endif
-#endif
-
-/**
- * Helper function to perform a wrapped pointer difference without triggering
- * UBSAN.
- *
- * @returns lhs - rhs with wrapping
- */
-MEM_STATIC
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-ptrdiff_t ZSTD_wrappedPtrDiff(unsigned char const* lhs, unsigned char const* rhs)
-{
- return lhs - rhs;
-}
-
-/**
- * Helper function to perform a wrapped pointer add without triggering UBSAN.
- *
- * @return ptr + add with wrapping
- */
-MEM_STATIC
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-unsigned char const* ZSTD_wrappedPtrAdd(unsigned char const* ptr, ptrdiff_t add)
-{
- return ptr + add;
-}
-
-/**
- * Helper function to perform a wrapped pointer subtraction without triggering
- * UBSAN.
- *
- * @return ptr - sub with wrapping
- */
-MEM_STATIC
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-unsigned char const* ZSTD_wrappedPtrSub(unsigned char const* ptr, ptrdiff_t sub)
-{
- return ptr - sub;
-}
-
-/**
- * Helper function to add to a pointer that works around C's undefined behavior
- * of adding 0 to NULL.
- *
- * @returns `ptr + add` except it defines `NULL + 0 == NULL`.
- */
-MEM_STATIC
-unsigned char* ZSTD_maybeNullPtrAdd(unsigned char* ptr, ptrdiff_t add)
-{
- return add > 0 ? ptr + add : ptr;
-}
-
-/* Issue #3240 reports an ASAN failure on an llvm-mingw build. Out of an
- * abundance of caution, disable our custom poisoning on mingw. */
-#ifdef __MINGW32__
-#ifndef ZSTD_ASAN_DONT_POISON_WORKSPACE
-#define ZSTD_ASAN_DONT_POISON_WORKSPACE 1
-#endif
-#ifndef ZSTD_MSAN_DONT_POISON_WORKSPACE
-#define ZSTD_MSAN_DONT_POISON_WORKSPACE 1
-#endif
-#endif
-
-#if ZSTD_MEMORY_SANITIZER && !defined(ZSTD_MSAN_DONT_POISON_WORKSPACE)
-/* Not all platforms that support msan provide sanitizers/msan_interface.h.
- * We therefore declare the functions we need ourselves, rather than trying to
- * include the header file... */
-#include /* size_t */
-#define ZSTD_DEPS_NEED_STDINT
-#include "zstd_deps.h" /* intptr_t */
-
-/* Make memory region fully initialized (without changing its contents). */
-void __msan_unpoison(const volatile void *a, size_t size);
-
-/* Make memory region fully uninitialized (without changing its contents).
- This is a legacy interface that does not update origin information. Use
- __msan_allocated_memory() instead. */
-void __msan_poison(const volatile void *a, size_t size);
-
-/* Returns the offset of the first (at least partially) poisoned byte in the
- memory range, or -1 if the whole range is good. */
-intptr_t __msan_test_shadow(const volatile void *x, size_t size);
-
-/* Print shadow and origin for the memory range to stderr in a human-readable
- format. */
-void __msan_print_shadow(const volatile void *x, size_t size);
-#endif
-
-#if ZSTD_ADDRESS_SANITIZER && !defined(ZSTD_ASAN_DONT_POISON_WORKSPACE)
-/* Not all platforms that support asan provide sanitizers/asan_interface.h.
- * We therefore declare the functions we need ourselves, rather than trying to
- * include the header file... */
-#include /* size_t */
-
-/**
- * Marks a memory region ([addr, addr+size)) as unaddressable.
- *
- * This memory must be previously allocated by your program. Instrumented
- * code is forbidden from accessing addresses in this region until it is
- * unpoisoned. This function is not guaranteed to poison the entire region -
- * it could poison only a subregion of [addr, addr+size) due to ASan
- * alignment restrictions.
- *
- * \note This function is not thread-safe because no two threads can poison or
- * unpoison memory in the same memory region simultaneously.
- *
- * \param addr Start of memory region.
- * \param size Size of memory region. */
-void __asan_poison_memory_region(void const volatile *addr, size_t size);
-
-/**
- * Marks a memory region ([addr, addr+size)) as addressable.
- *
- * This memory must be previously allocated by your program. Accessing
- * addresses in this region is allowed until this region is poisoned again.
- * This function could unpoison a super-region of [addr, addr+size) due
- * to ASan alignment restrictions.
- *
- * \note This function is not thread-safe because no two threads can
- * poison or unpoison memory in the same memory region simultaneously.
- *
- * \param addr Start of memory region.
- * \param size Size of memory region. */
-void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
-#endif
-
-#endif /* ZSTD_COMPILER_H */
diff --git a/src/bled/zstd_config.h b/src/bled/zstd_config.h
deleted file mode 100644
index 6ed38b23..00000000
--- a/src/bled/zstd_config.h
+++ /dev/null
@@ -1,60 +0,0 @@
-#ifndef ZSTD_CONFIG
-#define ZSTD_CONFIG
-
-#define ZSTD_DEBUGLEVEL 0
-#define ZSTD_LEGACY_SUPPORT 0
-#define ZSTD_LIB_DEPRECATED 0
-#define ZSTD_NO_UNUSED_FUNCTIONS 1
-#define ZSTD_STRIP_ERROR_STRINGS 0
-#define ZSTD_TRACE 0
-#define ZSTD_DECOMPRESS_DICTIONARY 0
-#define ZSTD_DECOMPRESS_MULTIFRAME 0
-#define ZSTD_NO_TRACE 1
-
-#if CONFIG_FEATURE_ZSTD_SMALL >= 9
-#define ZSTD_NO_INLINE 1
-#endif
-
-#if CONFIG_FEATURE_ZSTD_SMALL >= 7
-#define HUF_FORCE_DECOMPRESS_X1 1
-#define ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT 1
-#elif CONFIG_FEATURE_ZSTD_SMALL >= 5
-#define HUF_FORCE_DECOMPRESS_X1 1
-#endif
-
-#if CONFIG_FEATURE_ZSTD_SMALL <= 7
-/* doesnt blow up code too much, -O3 is horrible */
-#ifdef __GNUC__
-#pragma GCC optimize ("O2")
-#endif
-#endif
-
-#if CONFIG_FEATURE_ZSTD_SMALL > 0
-/* no dynamic detection of bmi2 instruction,
- * prefer using CFLAGS setting to -march=haswell or similar */
-# if !defined(__BMI2__)
-# define DYNAMIC_BMI2 0
-# endif
-#endif
-
-#ifdef __GNUC__
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-function"
-#endif
-
-#ifndef __has_attribute
-#define __has_attribute(x) 0
-#endif
-#ifndef __has_builtin
-#define __has_builtin(x) 0
-#endif
-#ifndef __has_feature
-#define __has_feature(x) 0
-#endif
-
-/* Include zstd_deps.h first with all the options we need enabled. */
-#define ZSTD_DEPS_NEED_MALLOC
-#define ZSTD_DEPS_NEED_MATH64
-#define ZSTD_DEPS_NEED_STDINT
-
-#endif
diff --git a/src/bled/zstd_cpu.h b/src/bled/zstd_cpu.h
deleted file mode 100644
index 26603ba3..00000000
--- a/src/bled/zstd_cpu.h
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-#ifndef ZSTD_COMMON_CPU_H
-#define ZSTD_COMMON_CPU_H
-
-/**
- * Implementation taken from folly/CpuId.h
- * https://github.com/facebook/folly/blob/master/folly/CpuId.h
- */
-
-#include "zstd_mem.h"
-
-#ifdef _MSC_VER
-#include
-#endif
-
-typedef struct {
- U32 f1c;
- U32 f1d;
- U32 f7b;
- U32 f7c;
-} ZSTD_cpuid_t;
-
-MEM_STATIC ZSTD_cpuid_t ZSTD_cpuid(void) {
- U32 f1c = 0;
- U32 f1d = 0;
- U32 f7b = 0;
- U32 f7c = 0;
-#if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
-#if !defined(__clang__) || __clang_major__ >= 16
- int reg[4];
- __cpuid((int*)reg, 0);
- {
- int const n = reg[0];
- if (n >= 1) {
- __cpuid((int*)reg, 1);
- f1c = (U32)reg[2];
- f1d = (U32)reg[3];
- }
- if (n >= 7) {
- __cpuidex((int*)reg, 7, 0);
- f7b = (U32)reg[1];
- f7c = (U32)reg[2];
- }
- }
-#else
- /* Clang compiler has a bug (fixed in https://reviews.llvm.org/D101338) in
- * which the `__cpuid` intrinsic does not save and restore `rbx` as it needs
- * to due to being a reserved register. So in that case, do the `cpuid`
- * ourselves. Clang supports inline assembly anyway.
- */
- U32 n;
- __asm__(
- "pushq %%rbx\n\t"
- "cpuid\n\t"
- "popq %%rbx\n\t"
- : "=a"(n)
- : "a"(0)
- : "rcx", "rdx");
- if (n >= 1) {
- U32 f1a;
- __asm__(
- "pushq %%rbx\n\t"
- "cpuid\n\t"
- "popq %%rbx\n\t"
- : "=a"(f1a), "=c"(f1c), "=d"(f1d)
- : "a"(1)
- :);
- }
- if (n >= 7) {
- __asm__(
- "pushq %%rbx\n\t"
- "cpuid\n\t"
- "movq %%rbx, %%rax\n\t"
- "popq %%rbx"
- : "=a"(f7b), "=c"(f7c)
- : "a"(7), "c"(0)
- : "rdx");
- }
-#endif
-#elif defined(__i386__) && defined(__PIC__) && !defined(__clang__) && defined(__GNUC__)
- /* The following block like the normal cpuid branch below, but gcc
- * reserves ebx for use of its pic register so we must specially
- * handle the save and restore to avoid clobbering the register
- */
- U32 n;
- __asm__(
- "pushl %%ebx\n\t"
- "cpuid\n\t"
- "popl %%ebx\n\t"
- : "=a"(n)
- : "a"(0)
- : "ecx", "edx");
- if (n >= 1) {
- U32 f1a;
- __asm__(
- "pushl %%ebx\n\t"
- "cpuid\n\t"
- "popl %%ebx\n\t"
- : "=a"(f1a), "=c"(f1c), "=d"(f1d)
- : "a"(1));
- }
- if (n >= 7) {
- __asm__(
- "pushl %%ebx\n\t"
- "cpuid\n\t"
- "movl %%ebx, %%eax\n\t"
- "popl %%ebx"
- : "=a"(f7b), "=c"(f7c)
- : "a"(7), "c"(0)
- : "edx");
- }
-#elif defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86)
- U32 n;
- __asm__("cpuid" : "=a"(n) : "a"(0) : "ebx", "ecx", "edx");
- if (n >= 1) {
- U32 f1a;
- __asm__("cpuid" : "=a"(f1a), "=c"(f1c), "=d"(f1d) : "a"(1) : "ebx");
- }
- if (n >= 7) {
- U32 f7a;
- __asm__("cpuid"
- : "=a"(f7a), "=b"(f7b), "=c"(f7c)
- : "a"(7), "c"(0)
- : "edx");
- }
-#endif
- {
- ZSTD_cpuid_t cpuid;
- cpuid.f1c = f1c;
- cpuid.f1d = f1d;
- cpuid.f7b = f7b;
- cpuid.f7c = f7c;
- return cpuid;
- }
-}
-
-#define X(name, r, bit) \
- MEM_STATIC int ZSTD_cpuid_##name(ZSTD_cpuid_t const cpuid) { \
- return ((cpuid.r) & (1U << bit)) != 0; \
- }
-
-/* cpuid(1): Processor Info and Feature Bits. */
-#define C(name, bit) X(name, f1c, bit)
- C(sse3, 0)
- C(pclmuldq, 1)
- C(dtes64, 2)
- C(monitor, 3)
- C(dscpl, 4)
- C(vmx, 5)
- C(smx, 6)
- C(eist, 7)
- C(tm2, 8)
- C(ssse3, 9)
- C(cnxtid, 10)
- C(fma, 12)
- C(cx16, 13)
- C(xtpr, 14)
- C(pdcm, 15)
- C(pcid, 17)
- C(dca, 18)
- C(sse41, 19)
- C(sse42, 20)
- C(x2apic, 21)
- C(movbe, 22)
- C(popcnt, 23)
- C(tscdeadline, 24)
- C(aes, 25)
- C(xsave, 26)
- C(osxsave, 27)
- C(avx, 28)
- C(f16c, 29)
- C(rdrand, 30)
-#undef C
-#define D(name, bit) X(name, f1d, bit)
- D(fpu, 0)
- D(vme, 1)
- D(de, 2)
- D(pse, 3)
- D(tsc, 4)
- D(msr, 5)
- D(pae, 6)
- D(mce, 7)
- D(cx8, 8)
- D(apic, 9)
- D(sep, 11)
- D(mtrr, 12)
- D(pge, 13)
- D(mca, 14)
- D(cmov, 15)
- D(pat, 16)
- D(pse36, 17)
- D(psn, 18)
- D(clfsh, 19)
- D(ds, 21)
- D(acpi, 22)
- D(mmx, 23)
- D(fxsr, 24)
- D(sse, 25)
- D(sse2, 26)
- D(ss, 27)
- D(htt, 28)
- D(tm, 29)
- D(pbe, 31)
-#undef D
-
-/* cpuid(7): Extended Features. */
-#define B(name, bit) X(name, f7b, bit)
- B(bmi1, 3)
- B(hle, 4)
- B(avx2, 5)
- B(smep, 7)
- B(bmi2, 8)
- B(erms, 9)
- B(invpcid, 10)
- B(rtm, 11)
- B(mpx, 14)
- B(avx512f, 16)
- B(avx512dq, 17)
- B(rdseed, 18)
- B(adx, 19)
- B(smap, 20)
- B(avx512ifma, 21)
- B(pcommit, 22)
- B(clflushopt, 23)
- B(clwb, 24)
- B(avx512pf, 26)
- B(avx512er, 27)
- B(avx512cd, 28)
- B(sha, 29)
- B(avx512bw, 30)
- B(avx512vl, 31)
-#undef B
-#define C(name, bit) X(name, f7c, bit)
- C(prefetchwt1, 0)
- C(avx512vbmi, 1)
-#undef C
-
-#undef X
-
-#endif /* ZSTD_COMMON_CPU_H */
diff --git a/src/bled/zstd_ddict.c b/src/bled/zstd_ddict.c
deleted file mode 100644
index 6822b7bb..00000000
--- a/src/bled/zstd_ddict.c
+++ /dev/null
@@ -1,244 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-/* zstd_ddict.c :
- * concentrates all logic that needs to know the internals of ZSTD_DDict object */
-
-/*-*******************************************************
-* Dependencies
-*********************************************************/
-//#include "../common/allocations.h" /* ZSTD_customMalloc, ZSTD_customFree */
-#include "zstd_deps.h" /* ZSTD_memcpy, ZSTD_memmove, ZSTD_memset */
-#include "zstd_cpu.h" /* bmi2 */
-#include "zstd_mem.h" /* low level memory routines */
-#define FSE_STATIC_LINKING_ONLY
-#include "fse.h"
-#include "huf.h"
-#include "zstd_decompress_internal.h"
-#include "zstd_ddict.h"
-
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
-# include "../legacy/zstd_legacy.h"
-#endif
-
-
-
-/*-*******************************************************
-* Types
-*********************************************************/
-struct ZSTD_DDict_s {
- void* dictBuffer;
- const void* dictContent;
- size_t dictSize;
- ZSTD_entropyDTables_t entropy;
- U32 dictID;
- U32 entropyPresent;
- ZSTD_customMem cMem;
-}; /* typedef'd to ZSTD_DDict within "zstd.h" */
-
-const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict)
-{
- assert(ddict != NULL);
- return ddict->dictContent;
-}
-
-size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict)
-{
- assert(ddict != NULL);
- return ddict->dictSize;
-}
-
-void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict)
-{
- DEBUGLOG(4, "ZSTD_copyDDictParameters");
- assert(dctx != NULL);
- assert(ddict != NULL);
- dctx->dictID = ddict->dictID;
- dctx->prefixStart = ddict->dictContent;
- dctx->virtualStart = ddict->dictContent;
- dctx->dictEnd = (const BYTE*)ddict->dictContent + ddict->dictSize;
- dctx->previousDstEnd = dctx->dictEnd;
-#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
- dctx->dictContentBeginForFuzzing = dctx->prefixStart;
- dctx->dictContentEndForFuzzing = dctx->previousDstEnd;
-#endif
- if (ddict->entropyPresent) {
- dctx->litEntropy = 1;
- dctx->fseEntropy = 1;
- dctx->LLTptr = ddict->entropy.LLTable;
- dctx->MLTptr = ddict->entropy.MLTable;
- dctx->OFTptr = ddict->entropy.OFTable;
- dctx->HUFptr = ddict->entropy.hufTable;
- dctx->entropy.rep[0] = ddict->entropy.rep[0];
- dctx->entropy.rep[1] = ddict->entropy.rep[1];
- dctx->entropy.rep[2] = ddict->entropy.rep[2];
- } else {
- dctx->litEntropy = 0;
- dctx->fseEntropy = 0;
- }
-}
-
-
-static size_t
-ZSTD_loadEntropy_intoDDict(ZSTD_DDict* ddict,
- ZSTD_dictContentType_e dictContentType)
-{
- ddict->dictID = 0;
- ddict->entropyPresent = 0;
- if (dictContentType == ZSTD_dct_rawContent) return 0;
-
- if (ddict->dictSize < 8) {
- if (dictContentType == ZSTD_dct_fullDict)
- return ERROR(dictionary_corrupted); /* only accept specified dictionaries */
- return 0; /* pure content mode */
- }
- { U32 const magic = MEM_readLE32(ddict->dictContent);
- if (magic != ZSTD_MAGIC_DICTIONARY) {
- if (dictContentType == ZSTD_dct_fullDict)
- return ERROR(dictionary_corrupted); /* only accept specified dictionaries */
- return 0; /* pure content mode */
- }
- }
- ddict->dictID = MEM_readLE32((const char*)ddict->dictContent + ZSTD_FRAMEIDSIZE);
-
- /* load entropy tables */
- RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy(
- &ddict->entropy, ddict->dictContent, ddict->dictSize)),
- dictionary_corrupted, "");
- ddict->entropyPresent = 1;
- return 0;
-}
-
-
-static size_t ZSTD_initDDict_internal(ZSTD_DDict* ddict,
- const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType)
-{
- if ((dictLoadMethod == ZSTD_dlm_byRef) || (!dict) || (!dictSize)) {
- ddict->dictBuffer = NULL;
- ddict->dictContent = dict;
- if (!dict) dictSize = 0;
- } else {
- void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem);
- ddict->dictBuffer = internalBuffer;
- ddict->dictContent = internalBuffer;
- if (!internalBuffer) return ERROR(memory_allocation);
- ZSTD_memcpy(internalBuffer, dict, dictSize);
- }
- ddict->dictSize = dictSize;
- ddict->entropy.hufTable[0] = (HUF_DTable)((ZSTD_HUFFDTABLE_CAPACITY_LOG)*0x1000001); /* cover both little and big endian */
-
- /* parse dictionary content */
- FORWARD_IF_ERROR( ZSTD_loadEntropy_intoDDict(ddict, dictContentType) , "");
-
- return 0;
-}
-
-ZSTD_DDict* ZSTD_createDDict_advanced(const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType,
- ZSTD_customMem customMem)
-{
- if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
-
- { ZSTD_DDict* const ddict = (ZSTD_DDict*) ZSTD_customMalloc(sizeof(ZSTD_DDict), customMem);
- if (ddict == NULL) return NULL;
- ddict->cMem = customMem;
- { size_t const initResult = ZSTD_initDDict_internal(ddict,
- dict, dictSize,
- dictLoadMethod, dictContentType);
- if (ZSTD_isError(initResult)) {
- ZSTD_freeDDict(ddict);
- return NULL;
- } }
- return ddict;
- }
-}
-
-/*! ZSTD_createDDict() :
-* Create a digested dictionary, to start decompression without startup delay.
-* `dict` content is copied inside DDict.
-* Consequently, `dict` can be released after `ZSTD_DDict` creation */
-ZSTD_DDict* ZSTD_createDDict(const void* dict, size_t dictSize)
-{
- ZSTD_customMem const allocator = { NULL, NULL, NULL };
- return ZSTD_createDDict_advanced(dict, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto, allocator);
-}
-
-/*! ZSTD_createDDict_byReference() :
- * Create a digested dictionary, to start decompression without startup delay.
- * Dictionary content is simply referenced, it will be accessed during decompression.
- * Warning : dictBuffer must outlive DDict (DDict must be freed before dictBuffer) */
-ZSTD_DDict* ZSTD_createDDict_byReference(const void* dictBuffer, size_t dictSize)
-{
- ZSTD_customMem const allocator = { NULL, NULL, NULL };
- return ZSTD_createDDict_advanced(dictBuffer, dictSize, ZSTD_dlm_byRef, ZSTD_dct_auto, allocator);
-}
-
-
-const ZSTD_DDict* ZSTD_initStaticDDict(
- void* sBuffer, size_t sBufferSize,
- const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType)
-{
- size_t const neededSpace = sizeof(ZSTD_DDict)
- + (dictLoadMethod == ZSTD_dlm_byRef ? 0 : dictSize);
- ZSTD_DDict* const ddict = (ZSTD_DDict*)sBuffer;
- assert(sBuffer != NULL);
- assert(dict != NULL);
- if ((size_t)sBuffer & 7) return NULL; /* 8-aligned */
- if (sBufferSize < neededSpace) return NULL;
- if (dictLoadMethod == ZSTD_dlm_byCopy) {
- ZSTD_memcpy(ddict+1, dict, dictSize); /* local copy */
- dict = ddict+1;
- }
- if (ZSTD_isError( ZSTD_initDDict_internal(ddict,
- dict, dictSize,
- ZSTD_dlm_byRef, dictContentType) ))
- return NULL;
- return ddict;
-}
-
-
-size_t ZSTD_freeDDict(ZSTD_DDict* ddict)
-{
- if (ddict==NULL) return 0; /* support free on NULL */
- { ZSTD_customMem const cMem = ddict->cMem;
- ZSTD_customFree(ddict->dictBuffer, cMem);
- ZSTD_customFree(ddict, cMem);
- return 0;
- }
-}
-
-/*! ZSTD_estimateDDictSize() :
- * Estimate amount of memory that will be needed to create a dictionary for decompression.
- * Note : dictionary created by reference using ZSTD_dlm_byRef are smaller */
-size_t ZSTD_estimateDDictSize(size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod)
-{
- return sizeof(ZSTD_DDict) + (dictLoadMethod == ZSTD_dlm_byRef ? 0 : dictSize);
-}
-
-size_t ZSTD_sizeof_DDict(const ZSTD_DDict* ddict)
-{
- if (ddict==NULL) return 0; /* support sizeof on NULL */
- return sizeof(*ddict) + (ddict->dictBuffer ? ddict->dictSize : 0) ;
-}
-
-/*! ZSTD_getDictID_fromDDict() :
- * Provides the dictID of the dictionary loaded into `ddict`.
- * If @return == 0, the dictionary is not conformant to Zstandard specification, or empty.
- * Non-conformant dictionaries can still be loaded, but as content-only dictionaries. */
-unsigned ZSTD_getDictID_fromDDict(const ZSTD_DDict* ddict)
-{
- if (ddict==NULL) return 0;
- return ddict->dictID;
-}
diff --git a/src/bled/zstd_ddict.h b/src/bled/zstd_ddict.h
deleted file mode 100644
index e862b4c7..00000000
--- a/src/bled/zstd_ddict.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-
-#ifndef ZSTD_DDICT_H
-#define ZSTD_DDICT_H
-
-/*-*******************************************************
- * Dependencies
- *********************************************************/
-#include "zstd_deps.h" /* size_t */
-#include "zstd.h" /* ZSTD_DDict, and several public functions */
-
-
-/*-*******************************************************
- * Interface
- *********************************************************/
-
-/* note: several prototypes are already published in `zstd.h` :
- * ZSTD_createDDict()
- * ZSTD_createDDict_byReference()
- * ZSTD_createDDict_advanced()
- * ZSTD_freeDDict()
- * ZSTD_initStaticDDict()
- * ZSTD_sizeof_DDict()
- * ZSTD_estimateDDictSize()
- * ZSTD_getDictID_fromDict()
- */
-
-const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict);
-size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict);
-
-void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
-
-
-
-#endif /* ZSTD_DDICT_H */
diff --git a/src/bled/zstd_decompress.c b/src/bled/zstd_decompress.c
deleted file mode 100644
index 03b82c29..00000000
--- a/src/bled/zstd_decompress.c
+++ /dev/null
@@ -1,2405 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-
-/* ***************************************************************
-* Tuning parameters
-*****************************************************************/
-/*!
- * HEAPMODE :
- * Select how default decompression function ZSTD_decompress() allocates its context,
- * on stack (0), or into heap (1, default; requires malloc()).
- * Note that functions with explicit context such as ZSTD_decompressDCtx() are unaffected.
- */
-#ifndef ZSTD_HEAPMODE
-# define ZSTD_HEAPMODE 1
-#endif
-
-/*!
-* LEGACY_SUPPORT :
-* if set to 1+, ZSTD_decompress() can decode older formats (v0.1+)
-*/
-#ifndef ZSTD_LEGACY_SUPPORT
-# define ZSTD_LEGACY_SUPPORT 0
-#endif
-
-/*!
- * MAXWINDOWSIZE_DEFAULT :
- * maximum window size accepted by DStream __by default__.
- * Frames requiring more memory will be rejected.
- * It's possible to set a different limit using ZSTD_DCtx_setMaxWindowSize().
- */
-#ifndef ZSTD_MAXWINDOWSIZE_DEFAULT
-# define ZSTD_MAXWINDOWSIZE_DEFAULT (((U32)1 << ZSTD_WINDOWLOG_LIMIT_DEFAULT) + 1)
-#endif
-
-/*!
- * NO_FORWARD_PROGRESS_MAX :
- * maximum allowed nb of calls to ZSTD_decompressStream()
- * without any forward progress
- * (defined as: no byte read from input, and no byte flushed to output)
- * before triggering an error.
- */
-#ifndef ZSTD_NO_FORWARD_PROGRESS_MAX
-# define ZSTD_NO_FORWARD_PROGRESS_MAX 16
-#endif
-
-
-/*-*******************************************************
-* Dependencies
-*********************************************************/
-#include "zstd_deps.h" /* ZSTD_memcpy, ZSTD_memmove, ZSTD_memset */
-#include "zstd_error_private.h"
-#include "zstd_internal.h" /* blockProperties_t */
-#include "zstd_mem.h" /* low level memory routines */
-#include "zstd_bits.h" /* ZSTD_highbit32 */
-#define FSE_STATIC_LINKING_ONLY
-#include "fse.h"
-#include "huf.h"
-#include "xxhash.h" /* XXH64_reset, XXH64_update, XXH64_digest, XXH64 */
-#include "zstd_decompress_internal.h" /* ZSTD_DCtx */
-#include "zstd_ddict.h" /* ZSTD_DDictDictContent */
-#include "zstd_decompress_block.h" /* ZSTD_decompressBlock_internal */
-
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
-# include "../legacy/zstd_legacy.h"
-#endif
-
-/*************************************
- * Multiple DDicts Hashset internals *
- *************************************/
-
-#define DDICT_HASHSET_MAX_LOAD_FACTOR_COUNT_MULT 4
-#define DDICT_HASHSET_MAX_LOAD_FACTOR_SIZE_MULT 3 /* These two constants represent SIZE_MULT/COUNT_MULT load factor without using a float.
- * Currently, that means a 0.75 load factor.
- * So, if count * COUNT_MULT / size * SIZE_MULT != 0, then we've exceeded
- * the load factor of the ddict hash set.
- */
-
-#define DDICT_HASHSET_TABLE_BASE_SIZE 64
-#define DDICT_HASHSET_RESIZE_FACTOR 2
-
-/* Hash function to determine starting position of dict insertion within the table
- * Returns an index between [0, hashSet->ddictPtrTableSize]
- */
-static size_t ZSTD_DDictHashSet_getIndex(const ZSTD_DDictHashSet* hashSet, U32 dictID) {
- const U64 hash = XXH64(&dictID, sizeof(U32), 0);
- /* DDict ptr table size is a multiple of 2, use size - 1 as mask to get index within [0, hashSet->ddictPtrTableSize) */
- return hash & (hashSet->ddictPtrTableSize - 1);
-}
-
-/* Adds DDict to a hashset without resizing it.
- * If inserting a DDict with a dictID that already exists in the set, replaces the one in the set.
- * Returns 0 if successful, or a zstd error code if something went wrong.
- */
-static size_t ZSTD_DDictHashSet_emplaceDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict) {
- const U32 dictID = ZSTD_getDictID_fromDDict(ddict);
- size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID);
- const size_t idxRangeMask = hashSet->ddictPtrTableSize - 1;
- RETURN_ERROR_IF(hashSet->ddictPtrCount == hashSet->ddictPtrTableSize, GENERIC, "Hash set is full!");
- DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx);
- while (hashSet->ddictPtrTable[idx] != NULL) {
- /* Replace existing ddict if inserting ddict with same dictID */
- if (ZSTD_getDictID_fromDDict(hashSet->ddictPtrTable[idx]) == dictID) {
- DEBUGLOG(4, "DictID already exists, replacing rather than adding");
- hashSet->ddictPtrTable[idx] = ddict;
- return 0;
- }
- idx &= idxRangeMask;
- idx++;
- }
- DEBUGLOG(4, "Final idx after probing for dictID %u is: %zu", dictID, idx);
- hashSet->ddictPtrTable[idx] = ddict;
- hashSet->ddictPtrCount++;
- return 0;
-}
-
-/* Expands hash table by factor of DDICT_HASHSET_RESIZE_FACTOR and
- * rehashes all values, allocates new table, frees old table.
- * Returns 0 on success, otherwise a zstd error code.
- */
-static size_t ZSTD_DDictHashSet_expand(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) {
- size_t newTableSize = hashSet->ddictPtrTableSize * DDICT_HASHSET_RESIZE_FACTOR;
- const ZSTD_DDict** newTable = (const ZSTD_DDict**)ZSTD_customCalloc(sizeof(ZSTD_DDict*) * newTableSize, customMem);
- const ZSTD_DDict** oldTable = hashSet->ddictPtrTable;
- size_t oldTableSize = hashSet->ddictPtrTableSize;
- size_t i;
-
- DEBUGLOG(4, "Expanding DDict hash table! Old size: %zu new size: %zu", oldTableSize, newTableSize);
- RETURN_ERROR_IF(!newTable, memory_allocation, "Expanded hashset allocation failed!");
- hashSet->ddictPtrTable = newTable;
- hashSet->ddictPtrTableSize = newTableSize;
- hashSet->ddictPtrCount = 0;
- for (i = 0; i < oldTableSize; ++i) {
- if (oldTable[i] != NULL) {
- FORWARD_IF_ERROR(ZSTD_DDictHashSet_emplaceDDict(hashSet, oldTable[i]), "");
- }
- }
- ZSTD_customFree((void*)oldTable, customMem);
- DEBUGLOG(4, "Finished re-hash");
- return 0;
-}
-
-/* Fetches a DDict with the given dictID
- * Returns the ZSTD_DDict* with the requested dictID. If it doesn't exist, then returns NULL.
- */
-static const ZSTD_DDict* ZSTD_DDictHashSet_getDDict(ZSTD_DDictHashSet* hashSet, U32 dictID) {
- size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID);
- const size_t idxRangeMask = hashSet->ddictPtrTableSize - 1;
- DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx);
- for (;;) {
- size_t currDictID = ZSTD_getDictID_fromDDict(hashSet->ddictPtrTable[idx]);
- if (currDictID == dictID || currDictID == 0) {
- /* currDictID == 0 implies a NULL ddict entry */
- break;
- } else {
- idx &= idxRangeMask; /* Goes to start of table when we reach the end */
- idx++;
- }
- }
- DEBUGLOG(4, "Final idx after probing for dictID %u is: %zu", dictID, idx);
- return hashSet->ddictPtrTable[idx];
-}
-
-/* Allocates space for and returns a ddict hash set
- * The hash set's ZSTD_DDict* table has all values automatically set to NULL to begin with.
- * Returns NULL if allocation failed.
- */
-static ZSTD_DDictHashSet* ZSTD_createDDictHashSet(ZSTD_customMem customMem) {
- ZSTD_DDictHashSet* ret = (ZSTD_DDictHashSet*)ZSTD_customMalloc(sizeof(ZSTD_DDictHashSet), customMem);
- DEBUGLOG(4, "Allocating new hash set");
- if (!ret)
- return NULL;
- ret->ddictPtrTable = (const ZSTD_DDict**)ZSTD_customCalloc(DDICT_HASHSET_TABLE_BASE_SIZE * sizeof(ZSTD_DDict*), customMem);
- if (!ret->ddictPtrTable) {
- ZSTD_customFree(ret, customMem);
- return NULL;
- }
- ret->ddictPtrTableSize = DDICT_HASHSET_TABLE_BASE_SIZE;
- ret->ddictPtrCount = 0;
- return ret;
-}
-
-/* Frees the table of ZSTD_DDict* within a hashset, then frees the hashset itself.
- * Note: The ZSTD_DDict* within the table are NOT freed.
- */
-static void ZSTD_freeDDictHashSet(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) {
- DEBUGLOG(4, "Freeing ddict hash set");
- if (hashSet && hashSet->ddictPtrTable) {
- ZSTD_customFree((void*)hashSet->ddictPtrTable, customMem);
- }
- if (hashSet) {
- ZSTD_customFree(hashSet, customMem);
- }
-}
-
-/* Public function: Adds a DDict into the ZSTD_DDictHashSet, possibly triggering a resize of the hash set.
- * Returns 0 on success, or a ZSTD error.
- */
-static size_t ZSTD_DDictHashSet_addDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict, ZSTD_customMem customMem) {
- DEBUGLOG(4, "Adding dict ID: %u to hashset with - Count: %zu Tablesize: %zu", ZSTD_getDictID_fromDDict(ddict), hashSet->ddictPtrCount, hashSet->ddictPtrTableSize);
- if (hashSet->ddictPtrCount * DDICT_HASHSET_MAX_LOAD_FACTOR_COUNT_MULT / hashSet->ddictPtrTableSize * DDICT_HASHSET_MAX_LOAD_FACTOR_SIZE_MULT != 0) {
- FORWARD_IF_ERROR(ZSTD_DDictHashSet_expand(hashSet, customMem), "");
- }
- FORWARD_IF_ERROR(ZSTD_DDictHashSet_emplaceDDict(hashSet, ddict), "");
- return 0;
-}
-
-/*-*************************************************************
-* Context management
-***************************************************************/
-size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx)
-{
- if (dctx==NULL) return 0; /* support sizeof NULL */
- return sizeof(*dctx)
- + ZSTD_sizeof_DDict(dctx->ddictLocal)
- + dctx->inBuffSize + dctx->outBuffSize;
-}
-
-size_t ZSTD_estimateDCtxSize(void) { return sizeof(ZSTD_DCtx); }
-
-
-static size_t ZSTD_startingInputLength(ZSTD_format_e format)
-{
- size_t const startingInputLength = ZSTD_FRAMEHEADERSIZE_PREFIX(format);
- /* only supports formats ZSTD_f_zstd1 and ZSTD_f_zstd1_magicless */
- assert( (format == ZSTD_f_zstd1) || (format == ZSTD_f_zstd1_magicless) );
- return startingInputLength;
-}
-
-static void ZSTD_DCtx_resetParameters(ZSTD_DCtx* dctx)
-{
- assert(dctx->streamStage == zdss_init);
- dctx->format = ZSTD_f_zstd1;
- dctx->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT;
- dctx->outBufferMode = ZSTD_bm_buffered;
- dctx->forceIgnoreChecksum = ZSTD_d_validateChecksum;
- dctx->refMultipleDDicts = ZSTD_rmd_refSingleDDict;
- dctx->disableHufAsm = 0;
- dctx->maxBlockSizeParam = 0;
-}
-
-static void ZSTD_initDCtx_internal(ZSTD_DCtx* dctx)
-{
- dctx->staticSize = 0;
- dctx->ddict = NULL;
- dctx->ddictLocal = NULL;
- dctx->dictEnd = NULL;
- dctx->ddictIsCold = 0;
- dctx->dictUses = ZSTD_dont_use;
- dctx->inBuff = NULL;
- dctx->inBuffSize = 0;
- dctx->outBuffSize = 0;
- dctx->streamStage = zdss_init;
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
- dctx->legacyContext = NULL;
- dctx->previousLegacyVersion = 0;
-#endif
- dctx->noForwardProgress = 0;
- dctx->oversizedDuration = 0;
- dctx->isFrameDecompression = 1;
-#if DYNAMIC_BMI2
- dctx->bmi2 = ZSTD_cpuSupportsBmi2();
-#endif
- dctx->ddictSet = NULL;
- ZSTD_DCtx_resetParameters(dctx);
-#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
- dctx->dictContentEndForFuzzing = NULL;
-#endif
-}
-
-ZSTD_DCtx* ZSTD_initStaticDCtx(void *workspace, size_t workspaceSize)
-{
- ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace;
-
- if ((size_t)workspace & 7) return NULL; /* 8-aligned */
- if (workspaceSize < sizeof(ZSTD_DCtx)) return NULL; /* minimum size */
-
- ZSTD_initDCtx_internal(dctx);
- dctx->staticSize = workspaceSize;
- dctx->inBuff = (char*)(dctx+1);
- return dctx;
-}
-
-static ZSTD_DCtx* ZSTD_createDCtx_internal(ZSTD_customMem customMem) {
- if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
-
- { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_customMalloc(sizeof(*dctx), customMem);
- if (!dctx) return NULL;
- dctx->customMem = customMem;
- ZSTD_initDCtx_internal(dctx);
- return dctx;
- }
-}
-
-ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem)
-{
- return ZSTD_createDCtx_internal(customMem);
-}
-
-ZSTD_DCtx* ZSTD_createDCtx(void)
-{
- DEBUGLOG(3, "ZSTD_createDCtx");
- return ZSTD_createDCtx_internal(ZSTD_defaultCMem);
-}
-
-static void ZSTD_clearDict(ZSTD_DCtx* dctx)
-{
- ZSTD_freeDDict(dctx->ddictLocal);
- dctx->ddictLocal = NULL;
- dctx->ddict = NULL;
- dctx->dictUses = ZSTD_dont_use;
-}
-
-size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx)
-{
- if (dctx==NULL) return 0; /* support free on NULL */
- RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx");
- { ZSTD_customMem const cMem = dctx->customMem;
- ZSTD_clearDict(dctx);
- ZSTD_customFree(dctx->inBuff, cMem);
- dctx->inBuff = NULL;
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT >= 1)
- if (dctx->legacyContext)
- ZSTD_freeLegacyStreamContext(dctx->legacyContext, dctx->previousLegacyVersion);
-#endif
- if (dctx->ddictSet) {
- ZSTD_freeDDictHashSet(dctx->ddictSet, cMem);
- dctx->ddictSet = NULL;
- }
- ZSTD_customFree(dctx, cMem);
- return 0;
- }
-}
-
-/* no longer useful */
-void ZSTD_copyDCtx(ZSTD_DCtx* dstDCtx, const ZSTD_DCtx* srcDCtx)
-{
- size_t const toCopy = (size_t)((char*)(&dstDCtx->inBuff) - (char*)dstDCtx);
- ZSTD_memcpy(dstDCtx, srcDCtx, toCopy); /* no need to copy workspace */
-}
-
-/* Given a dctx with a digested frame params, re-selects the correct ZSTD_DDict based on
- * the requested dict ID from the frame. If there exists a reference to the correct ZSTD_DDict, then
- * accordingly sets the ddict to be used to decompress the frame.
- *
- * If no DDict is found, then no action is taken, and the ZSTD_DCtx::ddict remains as-is.
- *
- * ZSTD_d_refMultipleDDicts must be enabled for this function to be called.
- */
-static void ZSTD_DCtx_selectFrameDDict(ZSTD_DCtx* dctx) {
- assert(dctx->refMultipleDDicts && dctx->ddictSet);
- DEBUGLOG(4, "Adjusting DDict based on requested dict ID from frame");
- if (dctx->ddict) {
- const ZSTD_DDict* frameDDict = ZSTD_DDictHashSet_getDDict(dctx->ddictSet, dctx->fParams.dictID);
- if (frameDDict) {
- DEBUGLOG(4, "DDict found!");
- ZSTD_clearDict(dctx);
- dctx->dictID = dctx->fParams.dictID;
- dctx->ddict = frameDDict;
- dctx->dictUses = ZSTD_use_indefinitely;
- }
- }
-}
-
-
-/*-*************************************************************
- * Frame header decoding
- ***************************************************************/
-
-/*! ZSTD_isFrame() :
- * Tells if the content of `buffer` starts with a valid Frame Identifier.
- * Note : Frame Identifier is 4 bytes. If `size < 4`, @return will always be 0.
- * Note 2 : Legacy Frame Identifiers are considered valid only if Legacy Support is enabled.
- * Note 3 : Skippable Frame Identifiers are considered valid. */
-unsigned ZSTD_isFrame(const void* buffer, size_t size)
-{
- if (size < ZSTD_FRAMEIDSIZE) return 0;
- { U32 const magic = MEM_readLE32(buffer);
- if (magic == ZSTD_MAGICNUMBER) return 1;
- if ((magic & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) return 1;
- }
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT >= 1)
- if (ZSTD_isLegacy(buffer, size)) return 1;
-#endif
- return 0;
-}
-
-/*! ZSTD_isSkippableFrame() :
- * Tells if the content of `buffer` starts with a valid Frame Identifier for a skippable frame.
- * Note : Frame Identifier is 4 bytes. If `size < 4`, @return will always be 0.
- */
-unsigned ZSTD_isSkippableFrame(const void* buffer, size_t size)
-{
- if (size < ZSTD_FRAMEIDSIZE) return 0;
- { U32 const magic = MEM_readLE32(buffer);
- if ((magic & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) return 1;
- }
- return 0;
-}
-
-/** ZSTD_frameHeaderSize_internal() :
- * srcSize must be large enough to reach header size fields.
- * note : only works for formats ZSTD_f_zstd1 and ZSTD_f_zstd1_magicless.
- * @return : size of the Frame Header
- * or an error code, which can be tested with ZSTD_isError() */
-static size_t ZSTD_frameHeaderSize_internal(const void* src, size_t srcSize, ZSTD_format_e format)
-{
- size_t const minInputSize = ZSTD_startingInputLength(format);
- RETURN_ERROR_IF(srcSize < minInputSize, srcSize_wrong, "");
-
- { BYTE const fhd = ((const BYTE*)src)[minInputSize-1];
- U32 const dictID= fhd & 3;
- U32 const singleSegment = (fhd >> 5) & 1;
- U32 const fcsId = fhd >> 6;
- return minInputSize + !singleSegment
- + ZSTD_did_fieldSize[dictID] + ZSTD_fcs_fieldSize[fcsId]
- + (singleSegment && !fcsId);
- }
-}
-
-/** ZSTD_frameHeaderSize() :
- * srcSize must be >= ZSTD_frameHeaderSize_prefix.
- * @return : size of the Frame Header,
- * or an error code (if srcSize is too small) */
-size_t ZSTD_frameHeaderSize(const void* src, size_t srcSize)
-{
- return ZSTD_frameHeaderSize_internal(src, srcSize, ZSTD_f_zstd1);
-}
-
-
-/** ZSTD_getFrameHeader_advanced() :
- * decode Frame Header, or require larger `srcSize`.
- * note : only works for formats ZSTD_f_zstd1 and ZSTD_f_zstd1_magicless
- * @return : 0, `zfhPtr` is correctly filled,
- * >0, `srcSize` is too small, value is wanted `srcSize` amount,
-** or an error code, which can be tested using ZSTD_isError() */
-size_t ZSTD_getFrameHeader_advanced(ZSTD_frameHeader* zfhPtr, const void* src, size_t srcSize, ZSTD_format_e format)
-{
- const BYTE* ip = (const BYTE*)src;
- size_t const minInputSize = ZSTD_startingInputLength(format);
-
- DEBUGLOG(5, "ZSTD_getFrameHeader_advanced: minInputSize = %zu, srcSize = %zu", minInputSize, srcSize);
-
- if (srcSize > 0) {
- /* note : technically could be considered an assert(), since it's an invalid entry */
- RETURN_ERROR_IF(src==NULL, GENERIC, "invalid parameter : src==NULL, but srcSize>0");
- }
- if (srcSize < minInputSize) {
- if (srcSize > 0 && format != ZSTD_f_zstd1_magicless) {
- /* when receiving less than @minInputSize bytes,
- * control these bytes at least correspond to a supported magic number
- * in order to error out early if they don't.
- **/
- size_t const toCopy = MIN(4, srcSize);
- unsigned char hbuf[4]; MEM_writeLE32(hbuf, ZSTD_MAGICNUMBER);
- assert(src != NULL);
- ZSTD_memcpy(hbuf, src, toCopy);
- if ( MEM_readLE32(hbuf) != ZSTD_MAGICNUMBER ) {
- /* not a zstd frame : let's check if it's a skippable frame */
- MEM_writeLE32(hbuf, ZSTD_MAGIC_SKIPPABLE_START);
- ZSTD_memcpy(hbuf, src, toCopy);
- if ((MEM_readLE32(hbuf) & ZSTD_MAGIC_SKIPPABLE_MASK) != ZSTD_MAGIC_SKIPPABLE_START) {
- RETURN_ERROR(prefix_unknown,
- "first bytes don't correspond to any supported magic number");
- } } }
- return minInputSize;
- }
-
- ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); /* not strictly necessary, but static analyzers may not understand that zfhPtr will be read only if return value is zero, since they are 2 different signals */
- if ( (format != ZSTD_f_zstd1_magicless)
- && (MEM_readLE32(src) != ZSTD_MAGICNUMBER) ) {
- if ((MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) {
- /* skippable frame */
- if (srcSize < ZSTD_SKIPPABLEHEADERSIZE)
- return ZSTD_SKIPPABLEHEADERSIZE; /* magic number + frame length */
- ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr));
- zfhPtr->frameContentSize = MEM_readLE32((const char *)src + ZSTD_FRAMEIDSIZE);
- zfhPtr->frameType = ZSTD_skippableFrame;
- return 0;
- }
- RETURN_ERROR(prefix_unknown, "");
- }
-
- /* ensure there is enough `srcSize` to fully read/decode frame header */
- { size_t const fhsize = ZSTD_frameHeaderSize_internal(src, srcSize, format);
- if (srcSize < fhsize) return fhsize;
- zfhPtr->headerSize = (U32)fhsize;
- }
-
- { BYTE const fhdByte = ip[minInputSize-1];
- size_t pos = minInputSize;
- U32 const dictIDSizeCode = fhdByte&3;
- U32 const checksumFlag = (fhdByte>>2)&1;
- U32 const singleSegment = (fhdByte>>5)&1;
- U32 const fcsID = fhdByte>>6;
- U64 windowSize = 0;
- U32 dictID = 0;
- U64 frameContentSize = ZSTD_CONTENTSIZE_UNKNOWN;
- RETURN_ERROR_IF((fhdByte & 0x08) != 0, frameParameter_unsupported,
- "reserved bits, must be zero");
-
- if (!singleSegment) {
- BYTE const wlByte = ip[pos++];
- U32 const windowLog = (wlByte >> 3) + ZSTD_WINDOWLOG_ABSOLUTEMIN;
- RETURN_ERROR_IF(windowLog > ZSTD_WINDOWLOG_MAX, frameParameter_windowTooLarge, "");
- windowSize = (1ULL << windowLog);
- windowSize += (windowSize >> 3) * (wlByte&7);
- }
- switch(dictIDSizeCode)
- {
- default:
- assert(0); /* impossible */
- ZSTD_FALLTHROUGH;
- case 0 : break;
- case 1 : dictID = ip[pos]; pos++; break;
- case 2 : dictID = MEM_readLE16(ip+pos); pos+=2; break;
- case 3 : dictID = MEM_readLE32(ip+pos); pos+=4; break;
- }
- switch(fcsID)
- {
- default:
- assert(0); /* impossible */
- ZSTD_FALLTHROUGH;
- case 0 : if (singleSegment) frameContentSize = ip[pos]; break;
- case 1 : frameContentSize = MEM_readLE16(ip+pos)+256; break;
- case 2 : frameContentSize = MEM_readLE32(ip+pos); break;
- case 3 : frameContentSize = MEM_readLE64(ip+pos); break;
- }
- if (singleSegment) windowSize = frameContentSize;
-
- zfhPtr->frameType = ZSTD_frame;
- zfhPtr->frameContentSize = frameContentSize;
- zfhPtr->windowSize = windowSize;
- zfhPtr->blockSizeMax = (unsigned) MIN(windowSize, ZSTD_BLOCKSIZE_MAX);
- zfhPtr->dictID = dictID;
- zfhPtr->checksumFlag = checksumFlag;
- }
- return 0;
-}
-
-/** ZSTD_getFrameHeader() :
- * decode Frame Header, or require larger `srcSize`.
- * note : this function does not consume input, it only reads it.
- * @return : 0, `zfhPtr` is correctly filled,
- * >0, `srcSize` is too small, value is wanted `srcSize` amount,
- * or an error code, which can be tested using ZSTD_isError() */
-size_t ZSTD_getFrameHeader(ZSTD_frameHeader* zfhPtr, const void* src, size_t srcSize)
-{
- return ZSTD_getFrameHeader_advanced(zfhPtr, src, srcSize, ZSTD_f_zstd1);
-}
-
-/** ZSTD_getFrameContentSize() :
- * compatible with legacy mode
- * @return : decompressed size of the single frame pointed to be `src` if known, otherwise
- * - ZSTD_CONTENTSIZE_UNKNOWN if the size cannot be determined
- * - ZSTD_CONTENTSIZE_ERROR if an error occurred (e.g. invalid magic number, srcSize too small) */
-unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize)
-{
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT >= 1)
- if (ZSTD_isLegacy(src, srcSize)) {
- unsigned long long const ret = ZSTD_getDecompressedSize_legacy(src, srcSize);
- return ret == 0 ? ZSTD_CONTENTSIZE_UNKNOWN : ret;
- }
-#endif
- { ZSTD_frameHeader zfh;
- if (ZSTD_getFrameHeader(&zfh, src, srcSize) != 0)
- return ZSTD_CONTENTSIZE_ERROR;
- if (zfh.frameType == ZSTD_skippableFrame) {
- return 0;
- } else {
- return zfh.frameContentSize;
- } }
-}
-
-static size_t readSkippableFrameSize(void const* src, size_t srcSize)
-{
- size_t const skippableHeaderSize = ZSTD_SKIPPABLEHEADERSIZE;
- U32 sizeU32;
-
- RETURN_ERROR_IF(srcSize < ZSTD_SKIPPABLEHEADERSIZE, srcSize_wrong, "");
-
- sizeU32 = MEM_readLE32((BYTE const*)src + ZSTD_FRAMEIDSIZE);
- RETURN_ERROR_IF((U32)(sizeU32 + ZSTD_SKIPPABLEHEADERSIZE) < sizeU32,
- frameParameter_unsupported, "");
- { size_t const skippableSize = skippableHeaderSize + sizeU32;
- RETURN_ERROR_IF(skippableSize > srcSize, srcSize_wrong, "");
- return skippableSize;
- }
-}
-
-/*! ZSTD_readSkippableFrame() :
- * Retrieves content of a skippable frame, and writes it to dst buffer.
- *
- * The parameter magicVariant will receive the magicVariant that was supplied when the frame was written,
- * i.e. magicNumber - ZSTD_MAGIC_SKIPPABLE_START. This can be NULL if the caller is not interested
- * in the magicVariant.
- *
- * Returns an error if destination buffer is not large enough, or if this is not a valid skippable frame.
- *
- * @return : number of bytes written or a ZSTD error.
- */
-size_t ZSTD_readSkippableFrame(void* dst, size_t dstCapacity,
- unsigned* magicVariant, /* optional, can be NULL */
- const void* src, size_t srcSize)
-{
- RETURN_ERROR_IF(srcSize < ZSTD_SKIPPABLEHEADERSIZE, srcSize_wrong, "");
-
- { U32 const magicNumber = MEM_readLE32(src);
- size_t skippableFrameSize = readSkippableFrameSize(src, srcSize);
- size_t skippableContentSize = skippableFrameSize - ZSTD_SKIPPABLEHEADERSIZE;
-
- /* check input validity */
- RETURN_ERROR_IF(!ZSTD_isSkippableFrame(src, srcSize), frameParameter_unsupported, "");
- RETURN_ERROR_IF(skippableFrameSize < ZSTD_SKIPPABLEHEADERSIZE || skippableFrameSize > srcSize, srcSize_wrong, "");
- RETURN_ERROR_IF(skippableContentSize > dstCapacity, dstSize_tooSmall, "");
-
- /* deliver payload */
- if (skippableContentSize > 0 && dst != NULL)
- ZSTD_memcpy(dst, (const BYTE *)src + ZSTD_SKIPPABLEHEADERSIZE, skippableContentSize);
- if (magicVariant != NULL)
- *magicVariant = magicNumber - ZSTD_MAGIC_SKIPPABLE_START;
- return skippableContentSize;
- }
-}
-
-/** ZSTD_findDecompressedSize() :
- * `srcSize` must be the exact length of some number of ZSTD compressed and/or
- * skippable frames
- * note: compatible with legacy mode
- * @return : decompressed size of the frames contained */
-unsigned long long ZSTD_findDecompressedSize(const void* src, size_t srcSize)
-{
- unsigned long long totalDstSize = 0;
-
- while (srcSize >= ZSTD_startingInputLength(ZSTD_f_zstd1)) {
- U32 const magicNumber = MEM_readLE32(src);
-
- if ((magicNumber & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) {
- size_t const skippableSize = readSkippableFrameSize(src, srcSize);
- if (ZSTD_isError(skippableSize)) return ZSTD_CONTENTSIZE_ERROR;
- assert(skippableSize <= srcSize);
-
- src = (const BYTE *)src + skippableSize;
- srcSize -= skippableSize;
- continue;
- }
-
- { unsigned long long const fcs = ZSTD_getFrameContentSize(src, srcSize);
- if (fcs >= ZSTD_CONTENTSIZE_ERROR) return fcs;
-
- if (totalDstSize + fcs < totalDstSize)
- return ZSTD_CONTENTSIZE_ERROR; /* check for overflow */
- totalDstSize += fcs;
- }
- /* skip to next frame */
- { size_t const frameSrcSize = ZSTD_findFrameCompressedSize(src, srcSize);
- if (ZSTD_isError(frameSrcSize)) return ZSTD_CONTENTSIZE_ERROR;
- assert(frameSrcSize <= srcSize);
-
- src = (const BYTE *)src + frameSrcSize;
- srcSize -= frameSrcSize;
- }
- } /* while (srcSize >= ZSTD_frameHeaderSize_prefix) */
-
- if (srcSize) return ZSTD_CONTENTSIZE_ERROR;
-
- return totalDstSize;
-}
-
-/** ZSTD_getDecompressedSize() :
- * compatible with legacy mode
- * @return : decompressed size if known, 0 otherwise
- note : 0 can mean any of the following :
- - frame content is empty
- - decompressed size field is not present in frame header
- - frame header unknown / not supported
- - frame header not complete (`srcSize` too small) */
-unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize)
-{
- unsigned long long const ret = ZSTD_getFrameContentSize(src, srcSize);
- ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_ERROR < ZSTD_CONTENTSIZE_UNKNOWN);
- return (ret >= ZSTD_CONTENTSIZE_ERROR) ? 0 : ret;
-}
-
-
-/** ZSTD_decodeFrameHeader() :
- * `headerSize` must be the size provided by ZSTD_frameHeaderSize().
- * If multiple DDict references are enabled, also will choose the correct DDict to use.
- * @return : 0 if success, or an error code, which can be tested using ZSTD_isError() */
-static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx* dctx, const void* src, size_t headerSize)
-{
- size_t const result = ZSTD_getFrameHeader_advanced(&(dctx->fParams), src, headerSize, dctx->format);
- if (ZSTD_isError(result)) return result; /* invalid header */
- RETURN_ERROR_IF(result>0, srcSize_wrong, "headerSize too small");
-
- /* Reference DDict requested by frame if dctx references multiple ddicts */
- if (dctx->refMultipleDDicts == ZSTD_rmd_refMultipleDDicts && dctx->ddictSet) {
- ZSTD_DCtx_selectFrameDDict(dctx);
- }
-
-#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
- /* Skip the dictID check in fuzzing mode, because it makes the search
- * harder.
- */
- RETURN_ERROR_IF(dctx->fParams.dictID && (dctx->dictID != dctx->fParams.dictID),
- dictionary_wrong, "");
-#endif
- dctx->validateChecksum = (dctx->fParams.checksumFlag && !dctx->forceIgnoreChecksum) ? 1 : 0;
- if (dctx->validateChecksum) XXH64_reset(&dctx->xxhState, 0);
- dctx->processedCSize += headerSize;
- return 0;
-}
-
-static ZSTD_frameSizeInfo ZSTD_errorFrameSizeInfo(size_t ret)
-{
- ZSTD_frameSizeInfo frameSizeInfo;
- frameSizeInfo.nbBlocks = 0;
- frameSizeInfo.compressedSize = ret;
- frameSizeInfo.decompressedBound = ZSTD_CONTENTSIZE_ERROR;
- return frameSizeInfo;
-}
-
-static ZSTD_frameSizeInfo ZSTD_findFrameSizeInfo(const void* src, size_t srcSize, ZSTD_format_e format)
-{
- ZSTD_frameSizeInfo frameSizeInfo;
- ZSTD_memset(&frameSizeInfo, 0, sizeof(ZSTD_frameSizeInfo));
-
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT >= 1)
- if (format == ZSTD_f_zstd1 && ZSTD_isLegacy(src, srcSize))
- return ZSTD_findFrameSizeInfoLegacy(src, srcSize);
-#endif
-
- if (format == ZSTD_f_zstd1 && (srcSize >= ZSTD_SKIPPABLEHEADERSIZE)
- && (MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) {
- frameSizeInfo.compressedSize = readSkippableFrameSize(src, srcSize);
- assert(ZSTD_isError(frameSizeInfo.compressedSize) ||
- frameSizeInfo.compressedSize <= srcSize);
- return frameSizeInfo;
- } else {
- const BYTE* ip = (const BYTE*)src;
- const BYTE* const ipstart = ip;
- size_t remainingSize = srcSize;
- size_t nbBlocks = 0;
- ZSTD_frameHeader zfh;
-
- /* Extract Frame Header */
- { size_t const ret = ZSTD_getFrameHeader_advanced(&zfh, src, srcSize, format);
- if (ZSTD_isError(ret))
- return ZSTD_errorFrameSizeInfo(ret);
- if (ret > 0)
- return ZSTD_errorFrameSizeInfo(ERROR(srcSize_wrong));
- }
-
- ip += zfh.headerSize;
- remainingSize -= zfh.headerSize;
-
- /* Iterate over each block */
- while (1) {
- blockProperties_t blockProperties;
- size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSize, &blockProperties);
- if (ZSTD_isError(cBlockSize))
- return ZSTD_errorFrameSizeInfo(cBlockSize);
-
- if (ZSTD_blockHeaderSize + cBlockSize > remainingSize)
- return ZSTD_errorFrameSizeInfo(ERROR(srcSize_wrong));
-
- ip += ZSTD_blockHeaderSize + cBlockSize;
- remainingSize -= ZSTD_blockHeaderSize + cBlockSize;
- nbBlocks++;
-
- if (blockProperties.lastBlock) break;
- }
-
- /* Final frame content checksum */
- if (zfh.checksumFlag) {
- if (remainingSize < 4)
- return ZSTD_errorFrameSizeInfo(ERROR(srcSize_wrong));
- ip += 4;
- }
-
- frameSizeInfo.nbBlocks = nbBlocks;
- frameSizeInfo.compressedSize = (size_t)(ip - ipstart);
- frameSizeInfo.decompressedBound = (zfh.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN)
- ? zfh.frameContentSize
- : (unsigned long long)nbBlocks * zfh.blockSizeMax;
- return frameSizeInfo;
- }
-}
-
-static size_t ZSTD_findFrameCompressedSize_advanced(const void *src, size_t srcSize, ZSTD_format_e format) {
- ZSTD_frameSizeInfo const frameSizeInfo = ZSTD_findFrameSizeInfo(src, srcSize, format);
- return frameSizeInfo.compressedSize;
-}
-
-/** ZSTD_findFrameCompressedSize() :
- * See docs in zstd.h
- * Note: compatible with legacy mode */
-size_t ZSTD_findFrameCompressedSize(const void *src, size_t srcSize)
-{
- return ZSTD_findFrameCompressedSize_advanced(src, srcSize, ZSTD_f_zstd1);
-}
-
-/** ZSTD_decompressBound() :
- * compatible with legacy mode
- * `src` must point to the start of a ZSTD frame or a skippable frame
- * `srcSize` must be at least as large as the frame contained
- * @return : the maximum decompressed size of the compressed source
- */
-unsigned long long ZSTD_decompressBound(const void* src, size_t srcSize)
-{
- unsigned long long bound = 0;
- /* Iterate over each frame */
- while (srcSize > 0) {
- ZSTD_frameSizeInfo const frameSizeInfo = ZSTD_findFrameSizeInfo(src, srcSize, ZSTD_f_zstd1);
- size_t const compressedSize = frameSizeInfo.compressedSize;
- unsigned long long const decompressedBound = frameSizeInfo.decompressedBound;
- if (ZSTD_isError(compressedSize) || decompressedBound == ZSTD_CONTENTSIZE_ERROR)
- return ZSTD_CONTENTSIZE_ERROR;
- assert(srcSize >= compressedSize);
- src = (const BYTE*)src + compressedSize;
- srcSize -= compressedSize;
- bound += decompressedBound;
- }
- return bound;
-}
-
-size_t ZSTD_decompressionMargin(void const* src, size_t srcSize)
-{
- size_t margin = 0;
- unsigned maxBlockSize = 0;
-
- /* Iterate over each frame */
- while (srcSize > 0) {
- ZSTD_frameSizeInfo const frameSizeInfo = ZSTD_findFrameSizeInfo(src, srcSize, ZSTD_f_zstd1);
- size_t const compressedSize = frameSizeInfo.compressedSize;
- unsigned long long const decompressedBound = frameSizeInfo.decompressedBound;
- ZSTD_frameHeader zfh;
-
- FORWARD_IF_ERROR(ZSTD_getFrameHeader(&zfh, src, srcSize), "");
- if (ZSTD_isError(compressedSize) || decompressedBound == ZSTD_CONTENTSIZE_ERROR)
- return ERROR(corruption_detected);
-
- if (zfh.frameType == ZSTD_frame) {
- /* Add the frame header to our margin */
- margin += zfh.headerSize;
- /* Add the checksum to our margin */
- margin += zfh.checksumFlag ? 4 : 0;
- /* Add 3 bytes per block */
- margin += 3 * frameSizeInfo.nbBlocks;
-
- /* Compute the max block size */
- maxBlockSize = MAX(maxBlockSize, zfh.blockSizeMax);
- } else {
- assert(zfh.frameType == ZSTD_skippableFrame);
- /* Add the entire skippable frame size to our margin. */
- margin += compressedSize;
- }
-
- assert(srcSize >= compressedSize);
- src = (const BYTE*)src + compressedSize;
- srcSize -= compressedSize;
- }
-
- /* Add the max block size back to the margin. */
- margin += maxBlockSize;
-
- return margin;
-}
-
-/*-*************************************************************
- * Frame decoding
- ***************************************************************/
-
-/** ZSTD_insertBlock() :
- * insert `src` block into `dctx` history. Useful to track uncompressed blocks. */
-size_t ZSTD_insertBlock(ZSTD_DCtx* dctx, const void* blockStart, size_t blockSize)
-{
- DEBUGLOG(5, "ZSTD_insertBlock: %u bytes", (unsigned)blockSize);
- ZSTD_checkContinuity(dctx, blockStart, blockSize);
- dctx->previousDstEnd = (const char*)blockStart + blockSize;
- return blockSize;
-}
-
-
-static size_t ZSTD_copyRawBlock(void* dst, size_t dstCapacity,
- const void* src, size_t srcSize)
-{
- DEBUGLOG(5, "ZSTD_copyRawBlock");
- RETURN_ERROR_IF(srcSize > dstCapacity, dstSize_tooSmall, "");
- if (dst == NULL) {
- if (srcSize == 0) return 0;
- RETURN_ERROR(dstBuffer_null, "");
- }
- ZSTD_memmove(dst, src, srcSize);
- return srcSize;
-}
-
-static size_t ZSTD_setRleBlock(void* dst, size_t dstCapacity,
- BYTE b,
- size_t regenSize)
-{
- RETURN_ERROR_IF(regenSize > dstCapacity, dstSize_tooSmall, "");
- if (dst == NULL) {
- if (regenSize == 0) return 0;
- RETURN_ERROR(dstBuffer_null, "");
- }
- ZSTD_memset(dst, b, regenSize);
- return regenSize;
-}
-
-static void ZSTD_DCtx_trace_end(ZSTD_DCtx const* dctx, U64 uncompressedSize, U64 compressedSize, unsigned streaming)
-{
-#if ZSTD_TRACE
- if (dctx->traceCtx && ZSTD_trace_decompress_end != NULL) {
- ZSTD_Trace trace;
- ZSTD_memset(&trace, 0, sizeof(trace));
- trace.version = ZSTD_VERSION_NUMBER;
- trace.streaming = streaming;
- if (dctx->ddict) {
- trace.dictionaryID = ZSTD_getDictID_fromDDict(dctx->ddict);
- trace.dictionarySize = ZSTD_DDict_dictSize(dctx->ddict);
- trace.dictionaryIsCold = dctx->ddictIsCold;
- }
- trace.uncompressedSize = (size_t)uncompressedSize;
- trace.compressedSize = (size_t)compressedSize;
- trace.dctx = dctx;
- ZSTD_trace_decompress_end(dctx->traceCtx, &trace);
- }
-#else
- (void)dctx;
- (void)uncompressedSize;
- (void)compressedSize;
- (void)streaming;
-#endif
-}
-
-
-/*! ZSTD_decompressFrame() :
- * @dctx must be properly initialized
- * will update *srcPtr and *srcSizePtr,
- * to make *srcPtr progress by one frame. */
-static size_t ZSTD_decompressFrame(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void** srcPtr, size_t *srcSizePtr)
-{
- const BYTE* const istart = (const BYTE*)(*srcPtr);
- const BYTE* ip = istart;
- BYTE* const ostart = (BYTE*)dst;
- BYTE* const oend = dstCapacity != 0 ? ostart + dstCapacity : ostart;
- BYTE* op = ostart;
- size_t remainingSrcSize = *srcSizePtr;
-
- DEBUGLOG(4, "ZSTD_decompressFrame (srcSize:%i)", (int)*srcSizePtr);
-
- /* check */
- RETURN_ERROR_IF(
- remainingSrcSize < ZSTD_FRAMEHEADERSIZE_MIN(dctx->format)+ZSTD_blockHeaderSize,
- srcSize_wrong, "");
-
- /* Frame Header */
- { size_t const frameHeaderSize = ZSTD_frameHeaderSize_internal(
- ip, ZSTD_FRAMEHEADERSIZE_PREFIX(dctx->format), dctx->format);
- if (ZSTD_isError(frameHeaderSize)) return frameHeaderSize;
- RETURN_ERROR_IF(remainingSrcSize < frameHeaderSize+ZSTD_blockHeaderSize,
- srcSize_wrong, "");
- FORWARD_IF_ERROR( ZSTD_decodeFrameHeader(dctx, ip, frameHeaderSize) , "");
- ip += frameHeaderSize; remainingSrcSize -= frameHeaderSize;
- }
-
- /* Shrink the blockSizeMax if enabled */
- if (dctx->maxBlockSizeParam != 0)
- dctx->fParams.blockSizeMax = MIN(dctx->fParams.blockSizeMax, (unsigned)dctx->maxBlockSizeParam);
-
- /* Loop on each block */
- while (1) {
- BYTE* oBlockEnd = oend;
- size_t decodedSize;
- blockProperties_t blockProperties;
- size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSrcSize, &blockProperties);
- if (ZSTD_isError(cBlockSize)) return cBlockSize;
-
- ip += ZSTD_blockHeaderSize;
- remainingSrcSize -= ZSTD_blockHeaderSize;
- RETURN_ERROR_IF(cBlockSize > remainingSrcSize, srcSize_wrong, "");
-
- if (ip >= op && ip < oBlockEnd) {
- /* We are decompressing in-place. Limit the output pointer so that we
- * don't overwrite the block that we are currently reading. This will
- * fail decompression if the input & output pointers aren't spaced
- * far enough apart.
- *
- * This is important to set, even when the pointers are far enough
- * apart, because ZSTD_decompressBlock_internal() can decide to store
- * literals in the output buffer, after the block it is decompressing.
- * Since we don't want anything to overwrite our input, we have to tell
- * ZSTD_decompressBlock_internal to never write past ip.
- *
- * See ZSTD_allocateLiteralsBuffer() for reference.
- */
- oBlockEnd = op + (ip - op);
- }
-
- switch(blockProperties.blockType)
- {
- case bt_compressed:
- assert(dctx->isFrameDecompression == 1);
- decodedSize = ZSTD_decompressBlock_internal(dctx, op, (size_t)(oBlockEnd-op), ip, cBlockSize, not_streaming);
- break;
- case bt_raw :
- /* Use oend instead of oBlockEnd because this function is safe to overlap. It uses memmove. */
- decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize);
- break;
- case bt_rle :
- decodedSize = ZSTD_setRleBlock(op, (size_t)(oBlockEnd-op), *ip, blockProperties.origSize);
- break;
- case bt_reserved :
- default:
- RETURN_ERROR(corruption_detected, "invalid block type");
- }
- FORWARD_IF_ERROR(decodedSize, "Block decompression failure");
- DEBUGLOG(5, "Decompressed block of dSize = %u", (unsigned)decodedSize);
- if (dctx->validateChecksum) {
- XXH64_update(&dctx->xxhState, op, decodedSize);
- }
- if (decodedSize) /* support dst = NULL,0 */ {
- op += decodedSize;
- }
- assert(ip != NULL);
- ip += cBlockSize;
- remainingSrcSize -= cBlockSize;
- if (blockProperties.lastBlock) break;
- }
-
- if (dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) {
- RETURN_ERROR_IF((U64)(op-ostart) != dctx->fParams.frameContentSize,
- corruption_detected, "");
- }
- if (dctx->fParams.checksumFlag) { /* Frame content checksum verification */
- RETURN_ERROR_IF(remainingSrcSize<4, checksum_wrong, "");
- if (!dctx->forceIgnoreChecksum) {
- U32 const checkCalc = (U32)XXH64_digest(&dctx->xxhState);
- U32 checkRead;
- checkRead = MEM_readLE32(ip);
- RETURN_ERROR_IF(checkRead != checkCalc, checksum_wrong, "");
- }
- ip += 4;
- remainingSrcSize -= 4;
- }
- ZSTD_DCtx_trace_end(dctx, (U64)(op-ostart), (U64)(ip-istart), /* streaming */ 0);
- /* Allow caller to get size read */
- DEBUGLOG(4, "ZSTD_decompressFrame: decompressed frame of size %i, consuming %i bytes of input", (int)(op-ostart), (int)(ip - (const BYTE*)*srcPtr));
- *srcPtr = ip;
- *srcSizePtr = remainingSrcSize;
- return (size_t)(op-ostart);
-}
-
-static
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-size_t ZSTD_decompressMultiFrame(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const void* dict, size_t dictSize,
- const ZSTD_DDict* ddict)
-{
- void* const dststart = dst;
- int moreThan1Frame = 0;
-
- DEBUGLOG(5, "ZSTD_decompressMultiFrame");
- assert(dict==NULL || ddict==NULL); /* either dict or ddict set, not both */
-
- if (ddict) {
- dict = ZSTD_DDict_dictContent(ddict);
- dictSize = ZSTD_DDict_dictSize(ddict);
- }
-
- while (srcSize >= ZSTD_startingInputLength(dctx->format)) {
-
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT >= 1)
- if (dctx->format == ZSTD_f_zstd1 && ZSTD_isLegacy(src, srcSize)) {
- size_t decodedSize;
- size_t const frameSize = ZSTD_findFrameCompressedSizeLegacy(src, srcSize);
- if (ZSTD_isError(frameSize)) return frameSize;
- RETURN_ERROR_IF(dctx->staticSize, memory_allocation,
- "legacy support is not compatible with static dctx");
-
- decodedSize = ZSTD_decompressLegacy(dst, dstCapacity, src, frameSize, dict, dictSize);
- if (ZSTD_isError(decodedSize)) return decodedSize;
-
- {
- unsigned long long const expectedSize = ZSTD_getFrameContentSize(src, srcSize);
- RETURN_ERROR_IF(expectedSize == ZSTD_CONTENTSIZE_ERROR, corruption_detected, "Corrupted frame header!");
- if (expectedSize != ZSTD_CONTENTSIZE_UNKNOWN) {
- RETURN_ERROR_IF(expectedSize != decodedSize, corruption_detected,
- "Frame header size does not match decoded size!");
- }
- }
-
- assert(decodedSize <= dstCapacity);
- dst = (BYTE*)dst + decodedSize;
- dstCapacity -= decodedSize;
-
- src = (const BYTE*)src + frameSize;
- srcSize -= frameSize;
-
- continue;
- }
-#endif
-
- if (dctx->format == ZSTD_f_zstd1 && srcSize >= 4) {
- U32 const magicNumber = MEM_readLE32(src);
- DEBUGLOG(5, "reading magic number %08X", (unsigned)magicNumber);
- if ((magicNumber & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) {
- /* skippable frame detected : skip it */
- size_t const skippableSize = readSkippableFrameSize(src, srcSize);
- FORWARD_IF_ERROR(skippableSize, "invalid skippable frame");
- assert(skippableSize <= srcSize);
-
- src = (const BYTE *)src + skippableSize;
- srcSize -= skippableSize;
- continue; /* check next frame */
- } }
-
- if (ddict) {
- /* we were called from ZSTD_decompress_usingDDict */
- FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDDict(dctx, ddict), "");
- } else {
- /* this will initialize correctly with no dict if dict == NULL, so
- * use this in all cases but ddict */
- FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDict(dctx, dict, dictSize), "");
- }
- ZSTD_checkContinuity(dctx, dst, dstCapacity);
-
- { const size_t res = ZSTD_decompressFrame(dctx, dst, dstCapacity,
- &src, &srcSize);
- RETURN_ERROR_IF(
- (ZSTD_getErrorCode(res) == ZSTD_error_prefix_unknown)
- && (moreThan1Frame==1),
- srcSize_wrong,
- "At least one frame successfully completed, "
- "but following bytes are garbage: "
- "it's more likely to be a srcSize error, "
- "specifying more input bytes than size of frame(s). "
- "Note: one could be unlucky, it might be a corruption error instead, "
- "happening right at the place where we expect zstd magic bytes. "
- "But this is _much_ less likely than a srcSize field error.");
- if (ZSTD_isError(res)) return res;
- assert(res <= dstCapacity);
- if (res != 0)
- dst = (BYTE*)dst + res;
- dstCapacity -= res;
- }
- moreThan1Frame = 1;
- } /* while (srcSize >= ZSTD_frameHeaderSize_prefix) */
-
- RETURN_ERROR_IF(srcSize, srcSize_wrong, "input not entirely consumed");
-
- return (size_t)((BYTE*)dst - (BYTE*)dststart);
-}
-
-size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const void* dict, size_t dictSize)
-{
- return ZSTD_decompressMultiFrame(dctx, dst, dstCapacity, src, srcSize, dict, dictSize, NULL);
-}
-
-
-static ZSTD_DDict const* ZSTD_getDDict(ZSTD_DCtx* dctx)
-{
- switch (dctx->dictUses) {
- default:
- assert(0 /* Impossible */);
- ZSTD_FALLTHROUGH;
- case ZSTD_dont_use:
- ZSTD_clearDict(dctx);
- return NULL;
- case ZSTD_use_indefinitely:
- return dctx->ddict;
- case ZSTD_use_once:
- dctx->dictUses = ZSTD_dont_use;
- return dctx->ddict;
- }
-}
-
-size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize)
-{
- return ZSTD_decompress_usingDDict(dctx, dst, dstCapacity, src, srcSize, ZSTD_getDDict(dctx));
-}
-
-
-size_t ZSTD_decompress(void* dst, size_t dstCapacity, const void* src, size_t srcSize)
-{
-#if defined(ZSTD_HEAPMODE) && (ZSTD_HEAPMODE>=1)
- size_t regenSize;
- ZSTD_DCtx* const dctx = ZSTD_createDCtx_internal(ZSTD_defaultCMem);
- RETURN_ERROR_IF(dctx==NULL, memory_allocation, "NULL pointer!");
- regenSize = ZSTD_decompressDCtx(dctx, dst, dstCapacity, src, srcSize);
- ZSTD_freeDCtx(dctx);
- return regenSize;
-#else /* stack mode */
- ZSTD_DCtx dctx;
- ZSTD_initDCtx_internal(&dctx);
- return ZSTD_decompressDCtx(&dctx, dst, dstCapacity, src, srcSize);
-#endif
-}
-
-
-/*-**************************************
-* Advanced Streaming Decompression API
-* Bufferless and synchronous
-****************************************/
-size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) { return dctx->expected; }
-
-/**
- * Similar to ZSTD_nextSrcSizeToDecompress(), but when a block input can be streamed, we
- * allow taking a partial block as the input. Currently only raw uncompressed blocks can
- * be streamed.
- *
- * For blocks that can be streamed, this allows us to reduce the latency until we produce
- * output, and avoid copying the input.
- *
- * @param inputSize - The total amount of input that the caller currently has.
- */
-static size_t ZSTD_nextSrcSizeToDecompressWithInputSize(ZSTD_DCtx* dctx, size_t inputSize) {
- if (!(dctx->stage == ZSTDds_decompressBlock || dctx->stage == ZSTDds_decompressLastBlock))
- return dctx->expected;
- if (dctx->bType != bt_raw)
- return dctx->expected;
- return BOUNDED(1, inputSize, dctx->expected);
-}
-
-ZSTD_nextInputType_e ZSTD_nextInputType(ZSTD_DCtx* dctx) {
- switch(dctx->stage)
- {
- default: /* should not happen */
- assert(0);
- ZSTD_FALLTHROUGH;
- case ZSTDds_getFrameHeaderSize:
- ZSTD_FALLTHROUGH;
- case ZSTDds_decodeFrameHeader:
- return ZSTDnit_frameHeader;
- case ZSTDds_decodeBlockHeader:
- return ZSTDnit_blockHeader;
- case ZSTDds_decompressBlock:
- return ZSTDnit_block;
- case ZSTDds_decompressLastBlock:
- return ZSTDnit_lastBlock;
- case ZSTDds_checkChecksum:
- return ZSTDnit_checksum;
- case ZSTDds_decodeSkippableHeader:
- ZSTD_FALLTHROUGH;
- case ZSTDds_skipFrame:
- return ZSTDnit_skippableFrame;
- }
-}
-
-static int ZSTD_isSkipFrame(ZSTD_DCtx* dctx) { return dctx->stage == ZSTDds_skipFrame; }
-
-/** ZSTD_decompressContinue() :
- * srcSize : must be the exact nb of bytes expected (see ZSTD_nextSrcSizeToDecompress())
- * @return : nb of bytes generated into `dst` (necessarily <= `dstCapacity)
- * or an error code, which can be tested using ZSTD_isError() */
-size_t ZSTD_decompressContinue(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize)
-{
- DEBUGLOG(5, "ZSTD_decompressContinue (srcSize:%u)", (unsigned)srcSize);
- /* Sanity check */
- RETURN_ERROR_IF(srcSize != ZSTD_nextSrcSizeToDecompressWithInputSize(dctx, srcSize), srcSize_wrong, "not allowed");
- ZSTD_checkContinuity(dctx, dst, dstCapacity);
-
- dctx->processedCSize += srcSize;
-
- switch (dctx->stage)
- {
- case ZSTDds_getFrameHeaderSize :
- assert(src != NULL);
- if (dctx->format == ZSTD_f_zstd1) { /* allows header */
- assert(srcSize >= ZSTD_FRAMEIDSIZE); /* to read skippable magic number */
- if ((MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) { /* skippable frame */
- ZSTD_memcpy(dctx->headerBuffer, src, srcSize);
- dctx->expected = ZSTD_SKIPPABLEHEADERSIZE - srcSize; /* remaining to load to get full skippable frame header */
- dctx->stage = ZSTDds_decodeSkippableHeader;
- return 0;
- } }
- dctx->headerSize = ZSTD_frameHeaderSize_internal(src, srcSize, dctx->format);
- if (ZSTD_isError(dctx->headerSize)) return dctx->headerSize;
- ZSTD_memcpy(dctx->headerBuffer, src, srcSize);
- dctx->expected = dctx->headerSize - srcSize;
- dctx->stage = ZSTDds_decodeFrameHeader;
- return 0;
-
- case ZSTDds_decodeFrameHeader:
- assert(src != NULL);
- ZSTD_memcpy(dctx->headerBuffer + (dctx->headerSize - srcSize), src, srcSize);
- FORWARD_IF_ERROR(ZSTD_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize), "");
- dctx->expected = ZSTD_blockHeaderSize;
- dctx->stage = ZSTDds_decodeBlockHeader;
- return 0;
-
- case ZSTDds_decodeBlockHeader:
- { blockProperties_t bp;
- size_t const cBlockSize = ZSTD_getcBlockSize(src, ZSTD_blockHeaderSize, &bp);
- if (ZSTD_isError(cBlockSize)) return cBlockSize;
- RETURN_ERROR_IF(cBlockSize > dctx->fParams.blockSizeMax, corruption_detected, "Block Size Exceeds Maximum");
- dctx->expected = cBlockSize;
- dctx->bType = bp.blockType;
- dctx->rleSize = bp.origSize;
- if (cBlockSize) {
- dctx->stage = bp.lastBlock ? ZSTDds_decompressLastBlock : ZSTDds_decompressBlock;
- return 0;
- }
- /* empty block */
- if (bp.lastBlock) {
- if (dctx->fParams.checksumFlag) {
- dctx->expected = 4;
- dctx->stage = ZSTDds_checkChecksum;
- } else {
- dctx->expected = 0; /* end of frame */
- dctx->stage = ZSTDds_getFrameHeaderSize;
- }
- } else {
- dctx->expected = ZSTD_blockHeaderSize; /* jump to next header */
- dctx->stage = ZSTDds_decodeBlockHeader;
- }
- return 0;
- }
-
- case ZSTDds_decompressLastBlock:
- case ZSTDds_decompressBlock:
- DEBUGLOG(5, "ZSTD_decompressContinue: case ZSTDds_decompressBlock");
- { size_t rSize;
- switch(dctx->bType)
- {
- case bt_compressed:
- DEBUGLOG(5, "ZSTD_decompressContinue: case bt_compressed");
- assert(dctx->isFrameDecompression == 1);
- rSize = ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize, is_streaming);
- dctx->expected = 0; /* Streaming not supported */
- break;
- case bt_raw :
- assert(srcSize <= dctx->expected);
- rSize = ZSTD_copyRawBlock(dst, dstCapacity, src, srcSize);
- FORWARD_IF_ERROR(rSize, "ZSTD_copyRawBlock failed");
- assert(rSize == srcSize);
- dctx->expected -= rSize;
- break;
- case bt_rle :
- rSize = ZSTD_setRleBlock(dst, dstCapacity, *(const BYTE*)src, dctx->rleSize);
- dctx->expected = 0; /* Streaming not supported */
- break;
- case bt_reserved : /* should never happen */
- default:
- RETURN_ERROR(corruption_detected, "invalid block type");
- }
- FORWARD_IF_ERROR(rSize, "");
- RETURN_ERROR_IF(rSize > dctx->fParams.blockSizeMax, corruption_detected, "Decompressed Block Size Exceeds Maximum");
- DEBUGLOG(5, "ZSTD_decompressContinue: decoded size from block : %u", (unsigned)rSize);
- dctx->decodedSize += rSize;
- if (dctx->validateChecksum) XXH64_update(&dctx->xxhState, dst, rSize);
- dctx->previousDstEnd = (char*)dst + rSize;
-
- /* Stay on the same stage until we are finished streaming the block. */
- if (dctx->expected > 0) {
- return rSize;
- }
-
- if (dctx->stage == ZSTDds_decompressLastBlock) { /* end of frame */
- DEBUGLOG(4, "ZSTD_decompressContinue: decoded size from frame : %u", (unsigned)dctx->decodedSize);
- RETURN_ERROR_IF(
- dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN
- && dctx->decodedSize != dctx->fParams.frameContentSize,
- corruption_detected, "");
- if (dctx->fParams.checksumFlag) { /* another round for frame checksum */
- dctx->expected = 4;
- dctx->stage = ZSTDds_checkChecksum;
- } else {
- ZSTD_DCtx_trace_end(dctx, dctx->decodedSize, dctx->processedCSize, /* streaming */ 1);
- dctx->expected = 0; /* ends here */
- dctx->stage = ZSTDds_getFrameHeaderSize;
- }
- } else {
- dctx->stage = ZSTDds_decodeBlockHeader;
- dctx->expected = ZSTD_blockHeaderSize;
- }
- return rSize;
- }
-
- case ZSTDds_checkChecksum:
- assert(srcSize == 4); /* guaranteed by dctx->expected */
- {
- if (dctx->validateChecksum) {
- U32 const h32 = (U32)XXH64_digest(&dctx->xxhState);
- U32 const check32 = MEM_readLE32(src);
- DEBUGLOG(4, "ZSTD_decompressContinue: checksum : calculated %08X :: %08X read", (unsigned)h32, (unsigned)check32);
- RETURN_ERROR_IF(check32 != h32, checksum_wrong, "");
- }
- ZSTD_DCtx_trace_end(dctx, dctx->decodedSize, dctx->processedCSize, /* streaming */ 1);
- dctx->expected = 0;
- dctx->stage = ZSTDds_getFrameHeaderSize;
- return 0;
- }
-
- case ZSTDds_decodeSkippableHeader:
- assert(src != NULL);
- assert(srcSize <= ZSTD_SKIPPABLEHEADERSIZE);
- assert(dctx->format != ZSTD_f_zstd1_magicless);
- ZSTD_memcpy(dctx->headerBuffer + (ZSTD_SKIPPABLEHEADERSIZE - srcSize), src, srcSize); /* complete skippable header */
- dctx->expected = MEM_readLE32(dctx->headerBuffer + ZSTD_FRAMEIDSIZE); /* note : dctx->expected can grow seriously large, beyond local buffer size */
- dctx->stage = ZSTDds_skipFrame;
- return 0;
-
- case ZSTDds_skipFrame:
- dctx->expected = 0;
- dctx->stage = ZSTDds_getFrameHeaderSize;
- return 0;
-
- default:
- assert(0); /* impossible */
- RETURN_ERROR(GENERIC, "impossible to reach"); /* some compilers require default to do something */
- }
-}
-
-
-static size_t ZSTD_refDictContent(ZSTD_DCtx* dctx, const void* dict, size_t dictSize)
-{
- dctx->dictEnd = dctx->previousDstEnd;
- dctx->virtualStart = (const char*)dict - ((const char*)(dctx->previousDstEnd) - (const char*)(dctx->prefixStart));
- dctx->prefixStart = dict;
- dctx->previousDstEnd = (const char*)dict + dictSize;
-#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
- dctx->dictContentBeginForFuzzing = dctx->prefixStart;
- dctx->dictContentEndForFuzzing = dctx->previousDstEnd;
-#endif
- return 0;
-}
-
-/*! ZSTD_loadDEntropy() :
- * dict : must point at beginning of a valid zstd dictionary.
- * @return : size of entropy tables read */
-size_t
-ZSTD_loadDEntropy(ZSTD_entropyDTables_t* entropy,
- const void* const dict, size_t const dictSize)
-{
- const BYTE* dictPtr = (const BYTE*)dict;
- const BYTE* const dictEnd = dictPtr + dictSize;
-
- RETURN_ERROR_IF(dictSize <= 8, dictionary_corrupted, "dict is too small");
- assert(MEM_readLE32(dict) == ZSTD_MAGIC_DICTIONARY); /* dict must be valid */
- dictPtr += 8; /* skip header = magic + dictID */
-
- ZSTD_STATIC_ASSERT(offsetof(ZSTD_entropyDTables_t, OFTable) == offsetof(ZSTD_entropyDTables_t, LLTable) + sizeof(entropy->LLTable));
- ZSTD_STATIC_ASSERT(offsetof(ZSTD_entropyDTables_t, MLTable) == offsetof(ZSTD_entropyDTables_t, OFTable) + sizeof(entropy->OFTable));
- ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) >= HUF_DECOMPRESS_WORKSPACE_SIZE);
- { void* const workspace = &entropy->LLTable; /* use fse tables as temporary workspace; implies fse tables are grouped together */
- size_t const workspaceSize = sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable);
-#ifdef HUF_FORCE_DECOMPRESS_X1
- /* in minimal huffman, we always use X1 variants */
- size_t const hSize = HUF_readDTableX1_wksp(entropy->hufTable,
- dictPtr, dictEnd - dictPtr,
- workspace, workspaceSize, /* flags */ 0);
-#else
- size_t const hSize = HUF_readDTableX2_wksp(entropy->hufTable,
- dictPtr, (size_t)(dictEnd - dictPtr),
- workspace, workspaceSize, /* flags */ 0);
-#endif
- RETURN_ERROR_IF(HUF_isError(hSize), dictionary_corrupted, "");
- dictPtr += hSize;
- }
-
- { short offcodeNCount[MaxOff+1];
- unsigned offcodeMaxValue = MaxOff, offcodeLog;
- size_t const offcodeHeaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, (size_t)(dictEnd-dictPtr));
- RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, "");
- RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, "");
- RETURN_ERROR_IF(offcodeLog > OffFSELog, dictionary_corrupted, "");
- ZSTD_buildFSETable( entropy->OFTable,
- offcodeNCount, offcodeMaxValue,
- OF_base, OF_bits,
- offcodeLog,
- entropy->workspace, sizeof(entropy->workspace),
- /* bmi2 */0);
- dictPtr += offcodeHeaderSize;
- }
-
- { short matchlengthNCount[MaxML+1];
- unsigned matchlengthMaxValue = MaxML, matchlengthLog;
- size_t const matchlengthHeaderSize = FSE_readNCount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, (size_t)(dictEnd-dictPtr));
- RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, "");
- RETURN_ERROR_IF(matchlengthMaxValue > MaxML, dictionary_corrupted, "");
- RETURN_ERROR_IF(matchlengthLog > MLFSELog, dictionary_corrupted, "");
- ZSTD_buildFSETable( entropy->MLTable,
- matchlengthNCount, matchlengthMaxValue,
- ML_base, ML_bits,
- matchlengthLog,
- entropy->workspace, sizeof(entropy->workspace),
- /* bmi2 */ 0);
- dictPtr += matchlengthHeaderSize;
- }
-
- { short litlengthNCount[MaxLL+1];
- unsigned litlengthMaxValue = MaxLL, litlengthLog;
- size_t const litlengthHeaderSize = FSE_readNCount(litlengthNCount, &litlengthMaxValue, &litlengthLog, dictPtr, (size_t)(dictEnd-dictPtr));
- RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, "");
- RETURN_ERROR_IF(litlengthMaxValue > MaxLL, dictionary_corrupted, "");
- RETURN_ERROR_IF(litlengthLog > LLFSELog, dictionary_corrupted, "");
- ZSTD_buildFSETable( entropy->LLTable,
- litlengthNCount, litlengthMaxValue,
- LL_base, LL_bits,
- litlengthLog,
- entropy->workspace, sizeof(entropy->workspace),
- /* bmi2 */ 0);
- dictPtr += litlengthHeaderSize;
- }
-
- RETURN_ERROR_IF(dictPtr+12 > dictEnd, dictionary_corrupted, "");
- { int i;
- size_t const dictContentSize = (size_t)(dictEnd - (dictPtr+12));
- for (i=0; i<3; i++) {
- U32 const rep = MEM_readLE32(dictPtr); dictPtr += 4;
- RETURN_ERROR_IF(rep==0 || rep > dictContentSize,
- dictionary_corrupted, "");
- entropy->rep[i] = rep;
- } }
-
- return (size_t)(dictPtr - (const BYTE*)dict);
-}
-
-static size_t ZSTD_decompress_insertDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize)
-{
- if (dictSize < 8) return ZSTD_refDictContent(dctx, dict, dictSize);
- { U32 const magic = MEM_readLE32(dict);
- if (magic != ZSTD_MAGIC_DICTIONARY) {
- return ZSTD_refDictContent(dctx, dict, dictSize); /* pure content mode */
- } }
- dctx->dictID = MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE);
-
- /* load entropy tables */
- { size_t const eSize = ZSTD_loadDEntropy(&dctx->entropy, dict, dictSize);
- RETURN_ERROR_IF(ZSTD_isError(eSize), dictionary_corrupted, "");
- dict = (const char*)dict + eSize;
- dictSize -= eSize;
- }
- dctx->litEntropy = dctx->fseEntropy = 1;
-
- /* reference dictionary content */
- return ZSTD_refDictContent(dctx, dict, dictSize);
-}
-
-size_t ZSTD_decompressBegin(ZSTD_DCtx* dctx)
-{
- assert(dctx != NULL);
-#if ZSTD_TRACE
- dctx->traceCtx = (ZSTD_trace_decompress_begin != NULL) ? ZSTD_trace_decompress_begin(dctx) : 0;
-#endif
- dctx->expected = ZSTD_startingInputLength(dctx->format); /* dctx->format must be properly set */
- dctx->stage = ZSTDds_getFrameHeaderSize;
- dctx->processedCSize = 0;
- dctx->decodedSize = 0;
- dctx->previousDstEnd = NULL;
- dctx->prefixStart = NULL;
- dctx->virtualStart = NULL;
- dctx->dictEnd = NULL;
- dctx->entropy.hufTable[0] = (HUF_DTable)((ZSTD_HUFFDTABLE_CAPACITY_LOG)*0x1000001); /* cover both little and big endian */
- dctx->litEntropy = dctx->fseEntropy = 0;
- dctx->dictID = 0;
- dctx->bType = bt_reserved;
- dctx->isFrameDecompression = 1;
- ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue));
- ZSTD_memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */
- dctx->LLTptr = dctx->entropy.LLTable;
- dctx->MLTptr = dctx->entropy.MLTable;
- dctx->OFTptr = dctx->entropy.OFTable;
- dctx->HUFptr = dctx->entropy.hufTable;
- return 0;
-}
-
-size_t ZSTD_decompressBegin_usingDict(ZSTD_DCtx* dctx, const void* dict, size_t dictSize)
-{
- FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , "");
- if (dict && dictSize)
- RETURN_ERROR_IF(
- ZSTD_isError(ZSTD_decompress_insertDictionary(dctx, dict, dictSize)),
- dictionary_corrupted, "");
- return 0;
-}
-
-
-/* ====== ZSTD_DDict ====== */
-
-size_t ZSTD_decompressBegin_usingDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict)
-{
- DEBUGLOG(4, "ZSTD_decompressBegin_usingDDict");
- assert(dctx != NULL);
- if (ddict) {
- const char* const dictStart = (const char*)ZSTD_DDict_dictContent(ddict);
- size_t const dictSize = ZSTD_DDict_dictSize(ddict);
- const void* const dictEnd = dictStart + dictSize;
- dctx->ddictIsCold = (dctx->dictEnd != dictEnd);
- DEBUGLOG(4, "DDict is %s",
- dctx->ddictIsCold ? "~cold~" : "hot!");
- }
- FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , "");
- if (ddict) { /* NULL ddict is equivalent to no dictionary */
- ZSTD_copyDDictParameters(dctx, ddict);
- }
- return 0;
-}
-
-/*! ZSTD_getDictID_fromDict() :
- * Provides the dictID stored within dictionary.
- * if @return == 0, the dictionary is not conformant with Zstandard specification.
- * It can still be loaded, but as a content-only dictionary. */
-unsigned ZSTD_getDictID_fromDict(const void* dict, size_t dictSize)
-{
- if (dictSize < 8) return 0;
- if (MEM_readLE32(dict) != ZSTD_MAGIC_DICTIONARY) return 0;
- return MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE);
-}
-
-/*! ZSTD_getDictID_fromFrame() :
- * Provides the dictID required to decompress frame stored within `src`.
- * If @return == 0, the dictID could not be decoded.
- * This could for one of the following reasons :
- * - The frame does not require a dictionary (most common case).
- * - The frame was built with dictID intentionally removed.
- * Needed dictionary is a hidden piece of information.
- * Note : this use case also happens when using a non-conformant dictionary.
- * - `srcSize` is too small, and as a result, frame header could not be decoded.
- * Note : possible if `srcSize < ZSTD_FRAMEHEADERSIZE_MAX`.
- * - This is not a Zstandard frame.
- * When identifying the exact failure cause, it's possible to use
- * ZSTD_getFrameHeader(), which will provide a more precise error code. */
-unsigned ZSTD_getDictID_fromFrame(const void* src, size_t srcSize)
-{
- ZSTD_frameHeader zfp = { 0, 0, 0, ZSTD_frame, 0, 0, 0, 0, 0 };
- size_t const hError = ZSTD_getFrameHeader(&zfp, src, srcSize);
- if (ZSTD_isError(hError)) return 0;
- return zfp.dictID;
-}
-
-
-/*! ZSTD_decompress_usingDDict() :
-* Decompression using a pre-digested Dictionary
-* Use dictionary without significant overhead. */
-size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize,
- const ZSTD_DDict* ddict)
-{
- /* pass content and size in case legacy frames are encountered */
- return ZSTD_decompressMultiFrame(dctx, dst, dstCapacity, src, srcSize,
- NULL, 0,
- ddict);
-}
-
-
-/*=====================================
-* Streaming decompression
-*====================================*/
-
-ZSTD_DStream* ZSTD_createDStream(void)
-{
- DEBUGLOG(3, "ZSTD_createDStream");
- return ZSTD_createDCtx_internal(ZSTD_defaultCMem);
-}
-
-ZSTD_DStream* ZSTD_initStaticDStream(void *workspace, size_t workspaceSize)
-{
- return ZSTD_initStaticDCtx(workspace, workspaceSize);
-}
-
-ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem)
-{
- return ZSTD_createDCtx_internal(customMem);
-}
-
-size_t ZSTD_freeDStream(ZSTD_DStream* zds)
-{
- return ZSTD_freeDCtx(zds);
-}
-
-
-/* *** Initialization *** */
-
-size_t ZSTD_DStreamInSize(void) { return ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize; }
-size_t ZSTD_DStreamOutSize(void) { return ZSTD_BLOCKSIZE_MAX; }
-
-size_t ZSTD_DCtx_loadDictionary_advanced(ZSTD_DCtx* dctx,
- const void* dict, size_t dictSize,
- ZSTD_dictLoadMethod_e dictLoadMethod,
- ZSTD_dictContentType_e dictContentType)
-{
- RETURN_ERROR_IF(dctx->streamStage != zdss_init, stage_wrong, "");
- ZSTD_clearDict(dctx);
- if (dict && dictSize != 0) {
- dctx->ddictLocal = ZSTD_createDDict_advanced(dict, dictSize, dictLoadMethod, dictContentType, dctx->customMem);
- RETURN_ERROR_IF(dctx->ddictLocal == NULL, memory_allocation, "NULL pointer!");
- dctx->ddict = dctx->ddictLocal;
- dctx->dictUses = ZSTD_use_indefinitely;
- }
- return 0;
-}
-
-size_t ZSTD_DCtx_loadDictionary_byReference(ZSTD_DCtx* dctx, const void* dict, size_t dictSize)
-{
- return ZSTD_DCtx_loadDictionary_advanced(dctx, dict, dictSize, ZSTD_dlm_byRef, ZSTD_dct_auto);
-}
-
-size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize)
-{
- return ZSTD_DCtx_loadDictionary_advanced(dctx, dict, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto);
-}
-
-size_t ZSTD_DCtx_refPrefix_advanced(ZSTD_DCtx* dctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType)
-{
- FORWARD_IF_ERROR(ZSTD_DCtx_loadDictionary_advanced(dctx, prefix, prefixSize, ZSTD_dlm_byRef, dictContentType), "");
- dctx->dictUses = ZSTD_use_once;
- return 0;
-}
-
-size_t ZSTD_DCtx_refPrefix(ZSTD_DCtx* dctx, const void* prefix, size_t prefixSize)
-{
- return ZSTD_DCtx_refPrefix_advanced(dctx, prefix, prefixSize, ZSTD_dct_rawContent);
-}
-
-
-/* ZSTD_initDStream_usingDict() :
- * return : expected size, aka ZSTD_startingInputLength().
- * this function cannot fail */
-size_t ZSTD_initDStream_usingDict(ZSTD_DStream* zds, const void* dict, size_t dictSize)
-{
- DEBUGLOG(4, "ZSTD_initDStream_usingDict");
- FORWARD_IF_ERROR( ZSTD_DCtx_reset(zds, ZSTD_reset_session_only) , "");
- FORWARD_IF_ERROR( ZSTD_DCtx_loadDictionary(zds, dict, dictSize) , "");
- return ZSTD_startingInputLength(zds->format);
-}
-
-/* note : this variant can't fail */
-size_t ZSTD_initDStream(ZSTD_DStream* zds)
-{
- DEBUGLOG(4, "ZSTD_initDStream");
- FORWARD_IF_ERROR(ZSTD_DCtx_reset(zds, ZSTD_reset_session_only), "");
- FORWARD_IF_ERROR(ZSTD_DCtx_refDDict(zds, NULL), "");
- return ZSTD_startingInputLength(zds->format);
-}
-
-/* ZSTD_initDStream_usingDDict() :
- * ddict will just be referenced, and must outlive decompression session
- * this function cannot fail */
-size_t ZSTD_initDStream_usingDDict(ZSTD_DStream* dctx, const ZSTD_DDict* ddict)
-{
- DEBUGLOG(4, "ZSTD_initDStream_usingDDict");
- FORWARD_IF_ERROR( ZSTD_DCtx_reset(dctx, ZSTD_reset_session_only) , "");
- FORWARD_IF_ERROR( ZSTD_DCtx_refDDict(dctx, ddict) , "");
- return ZSTD_startingInputLength(dctx->format);
-}
-
-/* ZSTD_resetDStream() :
- * return : expected size, aka ZSTD_startingInputLength().
- * this function cannot fail */
-size_t ZSTD_resetDStream(ZSTD_DStream* dctx)
-{
- DEBUGLOG(4, "ZSTD_resetDStream");
- FORWARD_IF_ERROR(ZSTD_DCtx_reset(dctx, ZSTD_reset_session_only), "");
- return ZSTD_startingInputLength(dctx->format);
-}
-
-
-size_t ZSTD_DCtx_refDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict)
-{
- RETURN_ERROR_IF(dctx->streamStage != zdss_init, stage_wrong, "");
- ZSTD_clearDict(dctx);
- if (ddict) {
- dctx->ddict = ddict;
- dctx->dictUses = ZSTD_use_indefinitely;
- if (dctx->refMultipleDDicts == ZSTD_rmd_refMultipleDDicts) {
- if (dctx->ddictSet == NULL) {
- dctx->ddictSet = ZSTD_createDDictHashSet(dctx->customMem);
- if (!dctx->ddictSet) {
- RETURN_ERROR(memory_allocation, "Failed to allocate memory for hash set!");
- }
- }
- assert(!dctx->staticSize); /* Impossible: ddictSet cannot have been allocated if static dctx */
- FORWARD_IF_ERROR(ZSTD_DDictHashSet_addDDict(dctx->ddictSet, ddict, dctx->customMem), "");
- }
- }
- return 0;
-}
-
-/* ZSTD_DCtx_setMaxWindowSize() :
- * note : no direct equivalence in ZSTD_DCtx_setParameter,
- * since this version sets windowSize, and the other sets windowLog */
-size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize)
-{
- ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax);
- size_t const min = (size_t)1 << bounds.lowerBound;
- size_t const max = (size_t)1 << bounds.upperBound;
- RETURN_ERROR_IF(dctx->streamStage != zdss_init, stage_wrong, "");
- RETURN_ERROR_IF(maxWindowSize < min, parameter_outOfBound, "");
- RETURN_ERROR_IF(maxWindowSize > max, parameter_outOfBound, "");
- dctx->maxWindowSize = maxWindowSize;
- return 0;
-}
-
-size_t ZSTD_DCtx_setFormat(ZSTD_DCtx* dctx, ZSTD_format_e format)
-{
- return ZSTD_DCtx_setParameter(dctx, ZSTD_d_format, (int)format);
-}
-
-ZSTD_bounds ZSTD_dParam_getBounds(ZSTD_dParameter dParam)
-{
- ZSTD_bounds bounds = { 0, 0, 0 };
- switch(dParam) {
- case ZSTD_d_windowLogMax:
- bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN;
- bounds.upperBound = ZSTD_WINDOWLOG_MAX;
- return bounds;
- case ZSTD_d_format:
- bounds.lowerBound = (int)ZSTD_f_zstd1;
- bounds.upperBound = (int)ZSTD_f_zstd1_magicless;
- ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless);
- return bounds;
- case ZSTD_d_stableOutBuffer:
- bounds.lowerBound = (int)ZSTD_bm_buffered;
- bounds.upperBound = (int)ZSTD_bm_stable;
- return bounds;
- case ZSTD_d_forceIgnoreChecksum:
- bounds.lowerBound = (int)ZSTD_d_validateChecksum;
- bounds.upperBound = (int)ZSTD_d_ignoreChecksum;
- return bounds;
- case ZSTD_d_refMultipleDDicts:
- bounds.lowerBound = (int)ZSTD_rmd_refSingleDDict;
- bounds.upperBound = (int)ZSTD_rmd_refMultipleDDicts;
- return bounds;
- case ZSTD_d_disableHuffmanAssembly:
- bounds.lowerBound = 0;
- bounds.upperBound = 1;
- return bounds;
- case ZSTD_d_maxBlockSize:
- bounds.lowerBound = ZSTD_BLOCKSIZE_MAX_MIN;
- bounds.upperBound = ZSTD_BLOCKSIZE_MAX;
- return bounds;
-
- default:;
- }
- bounds.error = ERROR(parameter_unsupported);
- return bounds;
-}
-
-/* ZSTD_dParam_withinBounds:
- * @return 1 if value is within dParam bounds,
- * 0 otherwise */
-static int ZSTD_dParam_withinBounds(ZSTD_dParameter dParam, int value)
-{
- ZSTD_bounds const bounds = ZSTD_dParam_getBounds(dParam);
- if (ZSTD_isError(bounds.error)) return 0;
- if (value < bounds.lowerBound) return 0;
- if (value > bounds.upperBound) return 0;
- return 1;
-}
-
-#define CHECK_DBOUNDS(p,v) { \
- RETURN_ERROR_IF(!ZSTD_dParam_withinBounds(p, v), parameter_outOfBound, ""); \
-}
-
-size_t ZSTD_DCtx_getParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int* value)
-{
- switch (param) {
- case ZSTD_d_windowLogMax:
- *value = (int)ZSTD_highbit32((U32)dctx->maxWindowSize);
- return 0;
- case ZSTD_d_format:
- *value = (int)dctx->format;
- return 0;
- case ZSTD_d_stableOutBuffer:
- *value = (int)dctx->outBufferMode;
- return 0;
- case ZSTD_d_forceIgnoreChecksum:
- *value = (int)dctx->forceIgnoreChecksum;
- return 0;
- case ZSTD_d_refMultipleDDicts:
- *value = (int)dctx->refMultipleDDicts;
- return 0;
- case ZSTD_d_disableHuffmanAssembly:
- *value = (int)dctx->disableHufAsm;
- return 0;
- case ZSTD_d_maxBlockSize:
- *value = dctx->maxBlockSizeParam;
- return 0;
- default:;
- }
- RETURN_ERROR(parameter_unsupported, "");
-}
-
-size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter dParam, int value)
-{
- RETURN_ERROR_IF(dctx->streamStage != zdss_init, stage_wrong, "");
- switch(dParam) {
- case ZSTD_d_windowLogMax:
- if (value == 0) value = ZSTD_WINDOWLOG_LIMIT_DEFAULT;
- CHECK_DBOUNDS(ZSTD_d_windowLogMax, value);
- dctx->maxWindowSize = ((size_t)1) << value;
- return 0;
- case ZSTD_d_format:
- CHECK_DBOUNDS(ZSTD_d_format, value);
- dctx->format = (ZSTD_format_e)value;
- return 0;
- case ZSTD_d_stableOutBuffer:
- CHECK_DBOUNDS(ZSTD_d_stableOutBuffer, value);
- dctx->outBufferMode = (ZSTD_bufferMode_e)value;
- return 0;
- case ZSTD_d_forceIgnoreChecksum:
- CHECK_DBOUNDS(ZSTD_d_forceIgnoreChecksum, value);
- dctx->forceIgnoreChecksum = (ZSTD_forceIgnoreChecksum_e)value;
- return 0;
- case ZSTD_d_refMultipleDDicts:
- CHECK_DBOUNDS(ZSTD_d_refMultipleDDicts, value);
- if (dctx->staticSize != 0) {
- RETURN_ERROR(parameter_unsupported, "Static dctx does not support multiple DDicts!");
- }
- dctx->refMultipleDDicts = (ZSTD_refMultipleDDicts_e)value;
- return 0;
- case ZSTD_d_disableHuffmanAssembly:
- CHECK_DBOUNDS(ZSTD_d_disableHuffmanAssembly, value);
- dctx->disableHufAsm = value != 0;
- return 0;
- case ZSTD_d_maxBlockSize:
- if (value != 0) CHECK_DBOUNDS(ZSTD_d_maxBlockSize, value);
- dctx->maxBlockSizeParam = value;
- return 0;
- default:;
- }
- RETURN_ERROR(parameter_unsupported, "");
-}
-
-size_t ZSTD_DCtx_reset(ZSTD_DCtx* dctx, ZSTD_ResetDirective reset)
-{
- if ( (reset == ZSTD_reset_session_only)
- || (reset == ZSTD_reset_session_and_parameters) ) {
- dctx->streamStage = zdss_init;
- dctx->noForwardProgress = 0;
- dctx->isFrameDecompression = 1;
- }
- if ( (reset == ZSTD_reset_parameters)
- || (reset == ZSTD_reset_session_and_parameters) ) {
- RETURN_ERROR_IF(dctx->streamStage != zdss_init, stage_wrong, "");
- ZSTD_clearDict(dctx);
- ZSTD_DCtx_resetParameters(dctx);
- }
- return 0;
-}
-
-
-size_t ZSTD_sizeof_DStream(const ZSTD_DStream* dctx)
-{
- return ZSTD_sizeof_DCtx(dctx);
-}
-
-static size_t ZSTD_decodingBufferSize_internal(unsigned long long windowSize, unsigned long long frameContentSize, size_t blockSizeMax)
-{
- size_t const blockSize = MIN((size_t)MIN(windowSize, ZSTD_BLOCKSIZE_MAX), blockSizeMax);
- /* We need blockSize + WILDCOPY_OVERLENGTH worth of buffer so that if a block
- * ends at windowSize + WILDCOPY_OVERLENGTH + 1 bytes, we can start writing
- * the block at the beginning of the output buffer, and maintain a full window.
- *
- * We need another blockSize worth of buffer so that we can store split
- * literals at the end of the block without overwriting the extDict window.
- */
- unsigned long long const neededRBSize = windowSize + (blockSize * 2) + (WILDCOPY_OVERLENGTH * 2);
- unsigned long long const neededSize = MIN(frameContentSize, neededRBSize);
- size_t const minRBSize = (size_t) neededSize;
- RETURN_ERROR_IF((unsigned long long)minRBSize != neededSize,
- frameParameter_windowTooLarge, "");
- return minRBSize;
-}
-
-size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long frameContentSize)
-{
- return ZSTD_decodingBufferSize_internal(windowSize, frameContentSize, ZSTD_BLOCKSIZE_MAX);
-}
-
-size_t ZSTD_estimateDStreamSize(size_t windowSize)
-{
- size_t const blockSize = MIN(windowSize, ZSTD_BLOCKSIZE_MAX);
- size_t const inBuffSize = blockSize; /* no block can be larger */
- size_t const outBuffSize = ZSTD_decodingBufferSize_min(windowSize, ZSTD_CONTENTSIZE_UNKNOWN);
- return ZSTD_estimateDCtxSize() + inBuffSize + outBuffSize;
-}
-
-size_t ZSTD_estimateDStreamSize_fromFrame(const void* src, size_t srcSize)
-{
- U32 const windowSizeMax = 1U << ZSTD_WINDOWLOG_MAX; /* note : should be user-selectable, but requires an additional parameter (or a dctx) */
- ZSTD_frameHeader zfh;
- size_t const err = ZSTD_getFrameHeader(&zfh, src, srcSize);
- if (ZSTD_isError(err)) return err;
- RETURN_ERROR_IF(err>0, srcSize_wrong, "");
- RETURN_ERROR_IF(zfh.windowSize > windowSizeMax,
- frameParameter_windowTooLarge, "");
- return ZSTD_estimateDStreamSize((size_t)zfh.windowSize);
-}
-
-
-/* ***** Decompression ***** */
-
-static int ZSTD_DCtx_isOverflow(ZSTD_DStream* zds, size_t const neededInBuffSize, size_t const neededOutBuffSize)
-{
- return (zds->inBuffSize + zds->outBuffSize) >= (neededInBuffSize + neededOutBuffSize) * ZSTD_WORKSPACETOOLARGE_FACTOR;
-}
-
-static void ZSTD_DCtx_updateOversizedDuration(ZSTD_DStream* zds, size_t const neededInBuffSize, size_t const neededOutBuffSize)
-{
- if (ZSTD_DCtx_isOverflow(zds, neededInBuffSize, neededOutBuffSize))
- zds->oversizedDuration++;
- else
- zds->oversizedDuration = 0;
-}
-
-static int ZSTD_DCtx_isOversizedTooLong(ZSTD_DStream* zds)
-{
- return zds->oversizedDuration >= ZSTD_WORKSPACETOOLARGE_MAXDURATION;
-}
-
-/* Checks that the output buffer hasn't changed if ZSTD_obm_stable is used. */
-static size_t ZSTD_checkOutBuffer(ZSTD_DStream const* zds, ZSTD_outBuffer const* output)
-{
- ZSTD_outBuffer const expect = zds->expectedOutBuffer;
- /* No requirement when ZSTD_obm_stable is not enabled. */
- if (zds->outBufferMode != ZSTD_bm_stable)
- return 0;
- /* Any buffer is allowed in zdss_init, this must be the same for every other call until
- * the context is reset.
- */
- if (zds->streamStage == zdss_init)
- return 0;
- /* The buffer must match our expectation exactly. */
- if (expect.dst == output->dst && expect.pos == output->pos && expect.size == output->size)
- return 0;
- RETURN_ERROR(dstBuffer_wrong, "ZSTD_d_stableOutBuffer enabled but output differs!");
-}
-
-/* Calls ZSTD_decompressContinue() with the right parameters for ZSTD_decompressStream()
- * and updates the stage and the output buffer state. This call is extracted so it can be
- * used both when reading directly from the ZSTD_inBuffer, and in buffered input mode.
- * NOTE: You must break after calling this function since the streamStage is modified.
- */
-static size_t ZSTD_decompressContinueStream(
- ZSTD_DStream* zds, char** op, char* oend,
- void const* src, size_t srcSize) {
- int const isSkipFrame = ZSTD_isSkipFrame(zds);
- if (zds->outBufferMode == ZSTD_bm_buffered) {
- size_t const dstSize = isSkipFrame ? 0 : zds->outBuffSize - zds->outStart;
- size_t const decodedSize = ZSTD_decompressContinue(zds,
- zds->outBuff + zds->outStart, dstSize, src, srcSize);
- FORWARD_IF_ERROR(decodedSize, "");
- if (!decodedSize && !isSkipFrame) {
- zds->streamStage = zdss_read;
- } else {
- zds->outEnd = zds->outStart + decodedSize;
- zds->streamStage = zdss_flush;
- }
- } else {
- /* Write directly into the output buffer */
- size_t const dstSize = isSkipFrame ? 0 : (size_t)(oend - *op);
- size_t const decodedSize = ZSTD_decompressContinue(zds, *op, dstSize, src, srcSize);
- FORWARD_IF_ERROR(decodedSize, "");
- *op += decodedSize;
- /* Flushing is not needed. */
- zds->streamStage = zdss_read;
- assert(*op <= oend);
- assert(zds->outBufferMode == ZSTD_bm_stable);
- }
- return 0;
-}
-
-size_t ZSTD_decompressStream(ZSTD_DStream* zds, ZSTD_outBuffer* output, ZSTD_inBuffer* input)
-{
- const char* const src = (const char*)input->src;
- const char* const istart = input->pos != 0 ? src + input->pos : src;
- const char* const iend = input->size != 0 ? src + input->size : src;
- const char* ip = istart;
- char* const dst = (char*)output->dst;
- char* const ostart = output->pos != 0 ? dst + output->pos : dst;
- char* const oend = output->size != 0 ? dst + output->size : dst;
- char* op = ostart;
- U32 someMoreWork = 1;
-
- DEBUGLOG(5, "ZSTD_decompressStream");
- RETURN_ERROR_IF(
- input->pos > input->size,
- srcSize_wrong,
- "forbidden. in: pos: %u vs size: %u",
- (U32)input->pos, (U32)input->size);
- RETURN_ERROR_IF(
- output->pos > output->size,
- dstSize_tooSmall,
- "forbidden. out: pos: %u vs size: %u",
- (U32)output->pos, (U32)output->size);
- DEBUGLOG(5, "input size : %u", (U32)(input->size - input->pos));
- FORWARD_IF_ERROR(ZSTD_checkOutBuffer(zds, output), "");
-
- while (someMoreWork) {
- switch(zds->streamStage)
- {
- case zdss_init :
- DEBUGLOG(5, "stage zdss_init => transparent reset ");
- zds->streamStage = zdss_loadHeader;
- zds->lhSize = zds->inPos = zds->outStart = zds->outEnd = 0;
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
- zds->legacyVersion = 0;
-#endif
- zds->hostageByte = 0;
- zds->expectedOutBuffer = *output;
- ZSTD_FALLTHROUGH;
-
- case zdss_loadHeader :
- DEBUGLOG(5, "stage zdss_loadHeader (srcSize : %u)", (U32)(iend - ip));
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
- if (zds->legacyVersion) {
- RETURN_ERROR_IF(zds->staticSize, memory_allocation,
- "legacy support is incompatible with static dctx");
- { size_t const hint = ZSTD_decompressLegacyStream(zds->legacyContext, zds->legacyVersion, output, input);
- if (hint==0) zds->streamStage = zdss_init;
- return hint;
- } }
-#endif
- { size_t const hSize = ZSTD_getFrameHeader_advanced(&zds->fParams, zds->headerBuffer, zds->lhSize, zds->format);
- if (zds->refMultipleDDicts && zds->ddictSet) {
- ZSTD_DCtx_selectFrameDDict(zds);
- }
- if (ZSTD_isError(hSize)) {
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
- U32 const legacyVersion = ZSTD_isLegacy(istart, iend-istart);
- if (legacyVersion) {
- ZSTD_DDict const* const ddict = ZSTD_getDDict(zds);
- const void* const dict = ddict ? ZSTD_DDict_dictContent(ddict) : NULL;
- size_t const dictSize = ddict ? ZSTD_DDict_dictSize(ddict) : 0;
- DEBUGLOG(5, "ZSTD_decompressStream: detected legacy version v0.%u", legacyVersion);
- RETURN_ERROR_IF(zds->staticSize, memory_allocation,
- "legacy support is incompatible with static dctx");
- FORWARD_IF_ERROR(ZSTD_initLegacyStream(&zds->legacyContext,
- zds->previousLegacyVersion, legacyVersion,
- dict, dictSize), "");
- zds->legacyVersion = zds->previousLegacyVersion = legacyVersion;
- { size_t const hint = ZSTD_decompressLegacyStream(zds->legacyContext, legacyVersion, output, input);
- if (hint==0) zds->streamStage = zdss_init; /* or stay in stage zdss_loadHeader */
- return hint;
- } }
-#endif
- return hSize; /* error */
- }
- if (hSize != 0) { /* need more input */
- size_t const toLoad = hSize - zds->lhSize; /* if hSize!=0, hSize > zds->lhSize */
- size_t const remainingInput = (size_t)(iend-ip);
- assert(iend >= ip);
- if (toLoad > remainingInput) { /* not enough input to load full header */
- if (remainingInput > 0) {
- ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, remainingInput);
- zds->lhSize += remainingInput;
- }
- input->pos = input->size;
- /* check first few bytes */
- FORWARD_IF_ERROR(
- ZSTD_getFrameHeader_advanced(&zds->fParams, zds->headerBuffer, zds->lhSize, zds->format),
- "First few bytes detected incorrect" );
- /* return hint input size */
- return (MAX((size_t)ZSTD_FRAMEHEADERSIZE_MIN(zds->format), hSize) - zds->lhSize) + ZSTD_blockHeaderSize; /* remaining header bytes + next block header */
- }
- assert(ip != NULL);
- ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, toLoad); zds->lhSize = hSize; ip += toLoad;
- break;
- } }
-
- /* check for single-pass mode opportunity */
- if (zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN
- && zds->fParams.frameType != ZSTD_skippableFrame
- && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) {
- size_t const cSize = ZSTD_findFrameCompressedSize_advanced(istart, (size_t)(iend-istart), zds->format);
- if (cSize <= (size_t)(iend-istart)) {
- /* shortcut : using single-pass mode */
- size_t const decompressedSize = ZSTD_decompress_usingDDict(zds, op, (size_t)(oend-op), istart, cSize, ZSTD_getDDict(zds));
- if (ZSTD_isError(decompressedSize)) return decompressedSize;
- DEBUGLOG(4, "shortcut to single-pass ZSTD_decompress_usingDDict()");
- assert(istart != NULL);
- ip = istart + cSize;
- op = op ? op + decompressedSize : op; /* can occur if frameContentSize = 0 (empty frame) */
- zds->expected = 0;
- zds->streamStage = zdss_init;
- someMoreWork = 0;
- break;
- } }
-
- /* Check output buffer is large enough for ZSTD_odm_stable. */
- if (zds->outBufferMode == ZSTD_bm_stable
- && zds->fParams.frameType != ZSTD_skippableFrame
- && zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN
- && (U64)(size_t)(oend-op) < zds->fParams.frameContentSize) {
- RETURN_ERROR(dstSize_tooSmall, "ZSTD_obm_stable passed but ZSTD_outBuffer is too small");
- }
-
- /* Consume header (see ZSTDds_decodeFrameHeader) */
- DEBUGLOG(4, "Consume header");
- FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDDict(zds, ZSTD_getDDict(zds)), "");
-
- if (zds->format == ZSTD_f_zstd1
- && (MEM_readLE32(zds->headerBuffer) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) { /* skippable frame */
- zds->expected = MEM_readLE32(zds->headerBuffer + ZSTD_FRAMEIDSIZE);
- zds->stage = ZSTDds_skipFrame;
- } else {
- FORWARD_IF_ERROR(ZSTD_decodeFrameHeader(zds, zds->headerBuffer, zds->lhSize), "");
- zds->expected = ZSTD_blockHeaderSize;
- zds->stage = ZSTDds_decodeBlockHeader;
- }
-
- /* control buffer memory usage */
- DEBUGLOG(4, "Control max memory usage (%u KB <= max %u KB)",
- (U32)(zds->fParams.windowSize >>10),
- (U32)(zds->maxWindowSize >> 10) );
- zds->fParams.windowSize = MAX(zds->fParams.windowSize, 1U << ZSTD_WINDOWLOG_ABSOLUTEMIN);
- RETURN_ERROR_IF(zds->fParams.windowSize > zds->maxWindowSize,
- frameParameter_windowTooLarge, "");
- if (zds->maxBlockSizeParam != 0)
- zds->fParams.blockSizeMax = MIN(zds->fParams.blockSizeMax, (unsigned)zds->maxBlockSizeParam);
-
- /* Adapt buffer sizes to frame header instructions */
- { size_t const neededInBuffSize = MAX(zds->fParams.blockSizeMax, 4 /* frame checksum */);
- size_t const neededOutBuffSize = zds->outBufferMode == ZSTD_bm_buffered
- ? ZSTD_decodingBufferSize_internal(zds->fParams.windowSize, zds->fParams.frameContentSize, zds->fParams.blockSizeMax)
- : 0;
-
- ZSTD_DCtx_updateOversizedDuration(zds, neededInBuffSize, neededOutBuffSize);
-
- { int const tooSmall = (zds->inBuffSize < neededInBuffSize) || (zds->outBuffSize < neededOutBuffSize);
- int const tooLarge = ZSTD_DCtx_isOversizedTooLong(zds);
-
- if (tooSmall || tooLarge) {
- size_t const bufferSize = neededInBuffSize + neededOutBuffSize;
- DEBUGLOG(4, "inBuff : from %u to %u",
- (U32)zds->inBuffSize, (U32)neededInBuffSize);
- DEBUGLOG(4, "outBuff : from %u to %u",
- (U32)zds->outBuffSize, (U32)neededOutBuffSize);
- if (zds->staticSize) { /* static DCtx */
- DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize);
- assert(zds->staticSize >= sizeof(ZSTD_DCtx)); /* controlled at init */
- RETURN_ERROR_IF(
- bufferSize > zds->staticSize - sizeof(ZSTD_DCtx),
- memory_allocation, "");
- } else {
- ZSTD_customFree(zds->inBuff, zds->customMem);
- zds->inBuffSize = 0;
- zds->outBuffSize = 0;
- zds->inBuff = (char*)ZSTD_customMalloc(bufferSize, zds->customMem);
- RETURN_ERROR_IF(zds->inBuff == NULL, memory_allocation, "");
- }
- zds->inBuffSize = neededInBuffSize;
- zds->outBuff = zds->inBuff + zds->inBuffSize;
- zds->outBuffSize = neededOutBuffSize;
- } } }
- zds->streamStage = zdss_read;
- ZSTD_FALLTHROUGH;
-
- case zdss_read:
- DEBUGLOG(5, "stage zdss_read");
- { size_t const neededInSize = ZSTD_nextSrcSizeToDecompressWithInputSize(zds, (size_t)(iend - ip));
- DEBUGLOG(5, "neededInSize = %u", (U32)neededInSize);
- if (neededInSize==0) { /* end of frame */
- zds->streamStage = zdss_init;
- someMoreWork = 0;
- break;
- }
- if ((size_t)(iend-ip) >= neededInSize) { /* decode directly from src */
- FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, ip, neededInSize), "");
- assert(ip != NULL);
- ip += neededInSize;
- /* Function modifies the stage so we must break */
- break;
- } }
- if (ip==iend) { someMoreWork = 0; break; } /* no more input */
- zds->streamStage = zdss_load;
- ZSTD_FALLTHROUGH;
-
- case zdss_load:
- { size_t const neededInSize = ZSTD_nextSrcSizeToDecompress(zds);
- size_t const toLoad = neededInSize - zds->inPos;
- int const isSkipFrame = ZSTD_isSkipFrame(zds);
- size_t loadedSize;
- /* At this point we shouldn't be decompressing a block that we can stream. */
- assert(neededInSize == ZSTD_nextSrcSizeToDecompressWithInputSize(zds, (size_t)(iend - ip)));
- if (isSkipFrame) {
- loadedSize = MIN(toLoad, (size_t)(iend-ip));
- } else {
- RETURN_ERROR_IF(toLoad > zds->inBuffSize - zds->inPos,
- corruption_detected,
- "should never happen");
- loadedSize = ZSTD_limitCopy(zds->inBuff + zds->inPos, toLoad, ip, (size_t)(iend-ip));
- }
- if (loadedSize != 0) {
- /* ip may be NULL */
- ip += loadedSize;
- zds->inPos += loadedSize;
- }
- if (loadedSize < toLoad) { someMoreWork = 0; break; } /* not enough input, wait for more */
-
- /* decode loaded input */
- zds->inPos = 0; /* input is consumed */
- FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, zds->inBuff, neededInSize), "");
- /* Function modifies the stage so we must break */
- break;
- }
- case zdss_flush:
- {
- size_t const toFlushSize = zds->outEnd - zds->outStart;
- size_t const flushedSize = ZSTD_limitCopy(op, (size_t)(oend-op), zds->outBuff + zds->outStart, toFlushSize);
-
- op = op ? op + flushedSize : op;
-
- zds->outStart += flushedSize;
- if (flushedSize == toFlushSize) { /* flush completed */
- zds->streamStage = zdss_read;
- if ( (zds->outBuffSize < zds->fParams.frameContentSize)
- && (zds->outStart + zds->fParams.blockSizeMax > zds->outBuffSize) ) {
- DEBUGLOG(5, "restart filling outBuff from beginning (left:%i, needed:%u)",
- (int)(zds->outBuffSize - zds->outStart),
- (U32)zds->fParams.blockSizeMax);
- zds->outStart = zds->outEnd = 0;
- }
- break;
- } }
- /* cannot complete flush */
- someMoreWork = 0;
- break;
-
- default:
- assert(0); /* impossible */
- RETURN_ERROR(GENERIC, "impossible to reach"); /* some compilers require default to do something */
- } }
-
- /* result */
- input->pos = (size_t)(ip - (const char*)(input->src));
- output->pos = (size_t)(op - (char*)(output->dst));
-
- /* Update the expected output buffer for ZSTD_obm_stable. */
- zds->expectedOutBuffer = *output;
-
- if ((ip==istart) && (op==ostart)) { /* no forward progress */
- zds->noForwardProgress ++;
- if (zds->noForwardProgress >= ZSTD_NO_FORWARD_PROGRESS_MAX) {
- RETURN_ERROR_IF(op==oend, noForwardProgress_destFull, "");
- RETURN_ERROR_IF(ip==iend, noForwardProgress_inputEmpty, "");
- assert(0);
- }
- } else {
- zds->noForwardProgress = 0;
- }
- { size_t nextSrcSizeHint = ZSTD_nextSrcSizeToDecompress(zds);
- if (!nextSrcSizeHint) { /* frame fully decoded */
- if (zds->outEnd == zds->outStart) { /* output fully flushed */
- if (zds->hostageByte) {
- if (input->pos >= input->size) {
- /* can't release hostage (not present) */
- zds->streamStage = zdss_read;
- return 1;
- }
- input->pos++; /* release hostage */
- } /* zds->hostageByte */
- return 0;
- } /* zds->outEnd == zds->outStart */
- if (!zds->hostageByte) { /* output not fully flushed; keep last byte as hostage; will be released when all output is flushed */
- input->pos--; /* note : pos > 0, otherwise, impossible to finish reading last block */
- zds->hostageByte=1;
- }
- return 1;
- } /* nextSrcSizeHint==0 */
- nextSrcSizeHint += ZSTD_blockHeaderSize * (ZSTD_nextInputType(zds) == ZSTDnit_block); /* preload header of next block */
- assert(zds->inPos <= nextSrcSizeHint);
- nextSrcSizeHint -= zds->inPos; /* part already loaded*/
- return nextSrcSizeHint;
- }
-}
-
-size_t ZSTD_decompressStream_simpleArgs (
- ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity, size_t* dstPos,
- const void* src, size_t srcSize, size_t* srcPos)
-{
- ZSTD_outBuffer output;
- ZSTD_inBuffer input;
- output.dst = dst;
- output.size = dstCapacity;
- output.pos = *dstPos;
- input.src = src;
- input.size = srcSize;
- input.pos = *srcPos;
- { size_t const cErr = ZSTD_decompressStream(dctx, &output, &input);
- *dstPos = output.pos;
- *srcPos = input.pos;
- return cErr;
- }
-}
diff --git a/src/bled/zstd_decompress_block.c b/src/bled/zstd_decompress_block.c
deleted file mode 100644
index 1a35ed8e..00000000
--- a/src/bled/zstd_decompress_block.c
+++ /dev/null
@@ -1,2216 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-/* zstd_decompress_block :
- * this module takes care of decompressing _compressed_ block */
-
-/*-*******************************************************
-* Dependencies
-*********************************************************/
-#include "zstd_deps.h" /* ZSTD_memcpy, ZSTD_memmove, ZSTD_memset */
-#include "zstd_compiler.h" /* prefetch */
-#include "zstd_cpu.h" /* bmi2 */
-#include "zstd_mem.h" /* low level memory routines */
-#define FSE_STATIC_LINKING_ONLY
-#include "fse.h"
-#define HUF_STATIC_LINKING_ONLY
-#include "huf.h"
-#include "zstd_internal.h"
-#include "zstd_decompress_internal.h" /* ZSTD_DCtx */
-#include "zstd_ddict.h" /* ZSTD_DDictDictContent */
-#include "zstd_decompress_block.h"
-#include "zstd_bits.h" /* ZSTD_highbit32 */
-
-/*_*******************************************************
-* Macros
-**********************************************************/
-
-/* These two optional macros force the use one way or another of the two
- * ZSTD_decompressSequences implementations. You can't force in both directions
- * at the same time.
- */
-#if defined(ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT) && \
- defined(ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG)
-#error "Cannot force the use of the short and the long ZSTD_decompressSequences variants!"
-#endif
-
-
-/*_*******************************************************
-* Memory operations
-**********************************************************/
-static void ZSTD_copy4(void* dst, const void* src) { ZSTD_memcpy(dst, src, 4); }
-
-
-/*-*************************************************************
- * Block decoding
- ***************************************************************/
-
-static size_t ZSTD_blockSizeMax(ZSTD_DCtx const* dctx)
-{
- size_t const blockSizeMax = dctx->isFrameDecompression ? dctx->fParams.blockSizeMax : ZSTD_BLOCKSIZE_MAX;
- assert(blockSizeMax <= ZSTD_BLOCKSIZE_MAX);
- return blockSizeMax;
-}
-
-/*! ZSTD_getcBlockSize() :
- * Provides the size of compressed block from block header `src` */
-size_t ZSTD_getcBlockSize(const void* src, size_t srcSize,
- blockProperties_t* bpPtr)
-{
- RETURN_ERROR_IF(srcSize < ZSTD_blockHeaderSize, srcSize_wrong, "");
-
- { U32 const cBlockHeader = MEM_readLE24(src);
- U32 const cSize = cBlockHeader >> 3;
- bpPtr->lastBlock = cBlockHeader & 1;
- bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3);
- bpPtr->origSize = cSize; /* only useful for RLE */
- if (bpPtr->blockType == bt_rle) return 1;
- RETURN_ERROR_IF(bpPtr->blockType == bt_reserved, corruption_detected, "");
- return cSize;
- }
-}
-
-/* Allocate buffer for literals, either overlapping current dst, or split between dst and litExtraBuffer, or stored entirely within litExtraBuffer */
-static void ZSTD_allocateLiteralsBuffer(ZSTD_DCtx* dctx, void* const dst, const size_t dstCapacity, const size_t litSize,
- const streaming_operation streaming, const size_t expectedWriteSize, const unsigned splitImmediately)
-{
- size_t const blockSizeMax = ZSTD_blockSizeMax(dctx);
- assert(litSize <= blockSizeMax);
- assert(dctx->isFrameDecompression || streaming == not_streaming);
- assert(expectedWriteSize <= blockSizeMax);
- if (streaming == not_streaming && dstCapacity > blockSizeMax + WILDCOPY_OVERLENGTH + litSize + WILDCOPY_OVERLENGTH) {
- /* If we aren't streaming, we can just put the literals after the output
- * of the current block. We don't need to worry about overwriting the
- * extDict of our window, because it doesn't exist.
- * So if we have space after the end of the block, just put it there.
- */
- dctx->litBuffer = (BYTE*)dst + blockSizeMax + WILDCOPY_OVERLENGTH;
- dctx->litBufferEnd = dctx->litBuffer + litSize;
- dctx->litBufferLocation = ZSTD_in_dst;
- } else if (litSize <= ZSTD_LITBUFFEREXTRASIZE) {
- /* Literals fit entirely within the extra buffer, put them there to avoid
- * having to split the literals.
- */
- dctx->litBuffer = dctx->litExtraBuffer;
- dctx->litBufferEnd = dctx->litBuffer + litSize;
- dctx->litBufferLocation = ZSTD_not_in_dst;
- } else {
- assert(blockSizeMax > ZSTD_LITBUFFEREXTRASIZE);
- /* Literals must be split between the output block and the extra lit
- * buffer. We fill the extra lit buffer with the tail of the literals,
- * and put the rest of the literals at the end of the block, with
- * WILDCOPY_OVERLENGTH of buffer room to allow for overreads.
- * This MUST not write more than our maxBlockSize beyond dst, because in
- * streaming mode, that could overwrite part of our extDict window.
- */
- if (splitImmediately) {
- /* won't fit in litExtraBuffer, so it will be split between end of dst and extra buffer */
- dctx->litBuffer = (BYTE*)dst + expectedWriteSize - litSize + ZSTD_LITBUFFEREXTRASIZE - WILDCOPY_OVERLENGTH;
- dctx->litBufferEnd = dctx->litBuffer + litSize - ZSTD_LITBUFFEREXTRASIZE;
- } else {
- /* initially this will be stored entirely in dst during huffman decoding, it will partially be shifted to litExtraBuffer after */
- dctx->litBuffer = (BYTE*)dst + expectedWriteSize - litSize;
- dctx->litBufferEnd = (BYTE*)dst + expectedWriteSize;
- }
- dctx->litBufferLocation = ZSTD_split;
- assert(dctx->litBufferEnd <= (BYTE*)dst + expectedWriteSize);
- }
-}
-
-/*! ZSTD_decodeLiteralsBlock() :
- * Where it is possible to do so without being stomped by the output during decompression, the literals block will be stored
- * in the dstBuffer. If there is room to do so, it will be stored in full in the excess dst space after where the current
- * block will be output. Otherwise it will be stored at the end of the current dst blockspace, with a small portion being
- * stored in dctx->litExtraBuffer to help keep it "ahead" of the current output write.
- *
- * @return : nb of bytes read from src (< srcSize )
- * note : symbol not declared but exposed for fullbench */
-static size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx,
- const void* src, size_t srcSize, /* note : srcSize < BLOCKSIZE */
- void* dst, size_t dstCapacity, const streaming_operation streaming)
-{
- DEBUGLOG(5, "ZSTD_decodeLiteralsBlock");
- RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, "");
-
- { const BYTE* const istart = (const BYTE*) src;
- symbolEncodingType_e const litEncType = (symbolEncodingType_e)(istart[0] & 3);
- size_t const blockSizeMax = ZSTD_blockSizeMax(dctx);
-
- switch(litEncType)
- {
- case set_repeat:
- DEBUGLOG(5, "set_repeat flag : re-using stats from previous compressed literals block");
- RETURN_ERROR_IF(dctx->litEntropy==0, dictionary_corrupted, "");
- ZSTD_FALLTHROUGH;
-
- case set_compressed:
- RETURN_ERROR_IF(srcSize < 5, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 2; here we need up to 5 for case 3");
- { size_t lhSize, litSize, litCSize;
- U32 singleStream=0;
- U32 const lhlCode = (istart[0] >> 2) & 3;
- U32 const lhc = MEM_readLE32(istart);
- size_t hufSuccess;
- size_t expectedWriteSize = MIN(blockSizeMax, dstCapacity);
- int const flags = 0
- | (ZSTD_DCtx_get_bmi2(dctx) ? HUF_flags_bmi2 : 0)
- | (dctx->disableHufAsm ? HUF_flags_disableAsm : 0);
- switch(lhlCode)
- {
- case 0: case 1: default: /* note : default is impossible, since lhlCode into [0..3] */
- /* 2 - 2 - 10 - 10 */
- singleStream = !lhlCode;
- lhSize = 3;
- litSize = (lhc >> 4) & 0x3FF;
- litCSize = (lhc >> 14) & 0x3FF;
- break;
- case 2:
- /* 2 - 2 - 14 - 14 */
- lhSize = 4;
- litSize = (lhc >> 4) & 0x3FFF;
- litCSize = lhc >> 18;
- break;
- case 3:
- /* 2 - 2 - 18 - 18 */
- lhSize = 5;
- litSize = (lhc >> 4) & 0x3FFFF;
- litCSize = (lhc >> 22) + ((size_t)istart[4] << 10);
- break;
- }
- RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled");
- RETURN_ERROR_IF(litSize > blockSizeMax, corruption_detected, "");
- if (!singleStream)
- RETURN_ERROR_IF(litSize < MIN_LITERALS_FOR_4_STREAMS, literals_headerWrong,
- "Not enough literals (%zu) for the 4-streams mode (min %u)",
- litSize, MIN_LITERALS_FOR_4_STREAMS);
- RETURN_ERROR_IF(litCSize + lhSize > srcSize, corruption_detected, "");
- RETURN_ERROR_IF(expectedWriteSize < litSize , dstSize_tooSmall, "");
- ZSTD_allocateLiteralsBuffer(dctx, dst, dstCapacity, litSize, streaming, expectedWriteSize, 0);
-
- /* prefetch huffman table if cold */
- if (dctx->ddictIsCold && (litSize > 768 /* heuristic */)) {
- PREFETCH_AREA(dctx->HUFptr, sizeof(dctx->entropy.hufTable));
- }
-
- if (litEncType==set_repeat) {
- if (singleStream) {
- hufSuccess = HUF_decompress1X_usingDTable(
- dctx->litBuffer, litSize, istart+lhSize, litCSize,
- dctx->HUFptr, flags);
- } else {
- assert(litSize >= MIN_LITERALS_FOR_4_STREAMS);
- hufSuccess = HUF_decompress4X_usingDTable(
- dctx->litBuffer, litSize, istart+lhSize, litCSize,
- dctx->HUFptr, flags);
- }
- } else {
- if (singleStream) {
-#if defined(HUF_FORCE_DECOMPRESS_X2)
- hufSuccess = HUF_decompress1X_DCtx_wksp(
- dctx->entropy.hufTable, dctx->litBuffer, litSize,
- istart+lhSize, litCSize, dctx->workspace,
- sizeof(dctx->workspace), flags);
-#else
- hufSuccess = HUF_decompress1X1_DCtx_wksp(
- dctx->entropy.hufTable, dctx->litBuffer, litSize,
- istart+lhSize, litCSize, dctx->workspace,
- sizeof(dctx->workspace), flags);
-#endif
- } else {
- hufSuccess = HUF_decompress4X_hufOnly_wksp(
- dctx->entropy.hufTable, dctx->litBuffer, litSize,
- istart+lhSize, litCSize, dctx->workspace,
- sizeof(dctx->workspace), flags);
- }
- }
- if (dctx->litBufferLocation == ZSTD_split)
- {
- assert(litSize > ZSTD_LITBUFFEREXTRASIZE);
- ZSTD_memcpy(dctx->litExtraBuffer, dctx->litBufferEnd - ZSTD_LITBUFFEREXTRASIZE, ZSTD_LITBUFFEREXTRASIZE);
- ZSTD_memmove(dctx->litBuffer + ZSTD_LITBUFFEREXTRASIZE - WILDCOPY_OVERLENGTH, dctx->litBuffer, litSize - ZSTD_LITBUFFEREXTRASIZE);
- dctx->litBuffer += ZSTD_LITBUFFEREXTRASIZE - WILDCOPY_OVERLENGTH;
- dctx->litBufferEnd -= WILDCOPY_OVERLENGTH;
- assert(dctx->litBufferEnd <= (BYTE*)dst + blockSizeMax);
- }
-
- RETURN_ERROR_IF(HUF_isError(hufSuccess), corruption_detected, "");
-
- dctx->litPtr = dctx->litBuffer;
- dctx->litSize = litSize;
- dctx->litEntropy = 1;
- if (litEncType==set_compressed) dctx->HUFptr = dctx->entropy.hufTable;
- return litCSize + lhSize;
- }
-
- case set_basic:
- { size_t litSize, lhSize;
- U32 const lhlCode = ((istart[0]) >> 2) & 3;
- size_t expectedWriteSize = MIN(blockSizeMax, dstCapacity);
- switch(lhlCode)
- {
- case 0: case 2: default: /* note : default is impossible, since lhlCode into [0..3] */
- lhSize = 1;
- litSize = istart[0] >> 3;
- break;
- case 1:
- lhSize = 2;
- litSize = MEM_readLE16(istart) >> 4;
- break;
- case 3:
- lhSize = 3;
- RETURN_ERROR_IF(srcSize<3, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 2; here we need lhSize = 3");
- litSize = MEM_readLE24(istart) >> 4;
- break;
- }
-
- RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled");
- RETURN_ERROR_IF(litSize > blockSizeMax, corruption_detected, "");
- RETURN_ERROR_IF(expectedWriteSize < litSize, dstSize_tooSmall, "");
- ZSTD_allocateLiteralsBuffer(dctx, dst, dstCapacity, litSize, streaming, expectedWriteSize, 1);
- if (lhSize+litSize+WILDCOPY_OVERLENGTH > srcSize) { /* risk reading beyond src buffer with wildcopy */
- RETURN_ERROR_IF(litSize+lhSize > srcSize, corruption_detected, "");
- if (dctx->litBufferLocation == ZSTD_split)
- {
- ZSTD_memcpy(dctx->litBuffer, istart + lhSize, litSize - ZSTD_LITBUFFEREXTRASIZE);
- ZSTD_memcpy(dctx->litExtraBuffer, istart + lhSize + litSize - ZSTD_LITBUFFEREXTRASIZE, ZSTD_LITBUFFEREXTRASIZE);
- }
- else
- {
- ZSTD_memcpy(dctx->litBuffer, istart + lhSize, litSize);
- }
- dctx->litPtr = dctx->litBuffer;
- dctx->litSize = litSize;
- return lhSize+litSize;
- }
- /* direct reference into compressed stream */
- dctx->litPtr = istart+lhSize;
- dctx->litSize = litSize;
- dctx->litBufferEnd = dctx->litPtr + litSize;
- dctx->litBufferLocation = ZSTD_not_in_dst;
- return lhSize+litSize;
- }
-
- case set_rle:
- { U32 const lhlCode = ((istart[0]) >> 2) & 3;
- size_t litSize, lhSize;
- size_t expectedWriteSize = MIN(blockSizeMax, dstCapacity);
- switch(lhlCode)
- {
- case 0: case 2: default: /* note : default is impossible, since lhlCode into [0..3] */
- lhSize = 1;
- litSize = istart[0] >> 3;
- break;
- case 1:
- lhSize = 2;
- RETURN_ERROR_IF(srcSize<3, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 2; here we need lhSize+1 = 3");
- litSize = MEM_readLE16(istart) >> 4;
- break;
- case 3:
- lhSize = 3;
- RETURN_ERROR_IF(srcSize<4, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 2; here we need lhSize+1 = 4");
- litSize = MEM_readLE24(istart) >> 4;
- break;
- }
- RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled");
- RETURN_ERROR_IF(litSize > blockSizeMax, corruption_detected, "");
- RETURN_ERROR_IF(expectedWriteSize < litSize, dstSize_tooSmall, "");
- ZSTD_allocateLiteralsBuffer(dctx, dst, dstCapacity, litSize, streaming, expectedWriteSize, 1);
- if (dctx->litBufferLocation == ZSTD_split)
- {
- ZSTD_memset(dctx->litBuffer, istart[lhSize], litSize - ZSTD_LITBUFFEREXTRASIZE);
- ZSTD_memset(dctx->litExtraBuffer, istart[lhSize], ZSTD_LITBUFFEREXTRASIZE);
- }
- else
- {
- ZSTD_memset(dctx->litBuffer, istart[lhSize], litSize);
- }
- dctx->litPtr = dctx->litBuffer;
- dctx->litSize = litSize;
- return lhSize+1;
- }
- default:
- RETURN_ERROR(corruption_detected, "impossible");
- }
- }
-}
-
-/* Hidden declaration for fullbench */
-size_t ZSTD_decodeLiteralsBlock_wrapper(ZSTD_DCtx* dctx,
- const void* src, size_t srcSize,
- void* dst, size_t dstCapacity);
-size_t ZSTD_decodeLiteralsBlock_wrapper(ZSTD_DCtx* dctx,
- const void* src, size_t srcSize,
- void* dst, size_t dstCapacity)
-{
- dctx->isFrameDecompression = 0;
- return ZSTD_decodeLiteralsBlock(dctx, src, srcSize, dst, dstCapacity, not_streaming);
-}
-
-/* Default FSE distribution tables.
- * These are pre-calculated FSE decoding tables using default distributions as defined in specification :
- * https://github.com/facebook/zstd/blob/release/doc/zstd_compression_format.md#default-distributions
- * They were generated programmatically with following method :
- * - start from default distributions, present in /lib/common/zstd_internal.h
- * - generate tables normally, using ZSTD_buildFSETable()
- * - printout the content of tables
- * - prettify output, report below, test with fuzzer to ensure it's correct */
-
-/* Default FSE distribution table for Literal Lengths */
-static const ZSTD_seqSymbol LL_defaultDTable[(1<tableLog = 0;
- DTableH->fastMode = 0;
-
- cell->nbBits = 0;
- cell->nextState = 0;
- assert(nbAddBits < 255);
- cell->nbAdditionalBits = nbAddBits;
- cell->baseValue = baseValue;
-}
-
-
-/* ZSTD_buildFSETable() :
- * generate FSE decoding table for one symbol (ll, ml or off)
- * cannot fail if input is valid =>
- * all inputs are presumed validated at this stage */
-FORCE_INLINE_TEMPLATE
-void ZSTD_buildFSETable_body(ZSTD_seqSymbol* dt,
- const short* normalizedCounter, unsigned maxSymbolValue,
- const U32* baseValue, const U8* nbAdditionalBits,
- unsigned tableLog, void* wksp, size_t wkspSize)
-{
- ZSTD_seqSymbol* const tableDecode = dt+1;
- U32 const maxSV1 = maxSymbolValue + 1;
- U32 const tableSize = 1 << tableLog;
-
- U16* symbolNext = (U16*)wksp;
- BYTE* spread = (BYTE*)(symbolNext + MaxSeq + 1);
- U32 highThreshold = tableSize - 1;
-
-
- /* Sanity Checks */
- assert(maxSymbolValue <= MaxSeq);
- assert(tableLog <= MaxFSELog);
- assert(wkspSize >= ZSTD_BUILD_FSE_TABLE_WKSP_SIZE);
- (void)wkspSize;
- /* Init, lay down lowprob symbols */
- { ZSTD_seqSymbol_header DTableH;
- DTableH.tableLog = tableLog;
- DTableH.fastMode = 1;
- { S16 const largeLimit= (S16)(1 << (tableLog-1));
- U32 s;
- for (s=0; s= largeLimit) DTableH.fastMode=0;
- assert(normalizedCounter[s]>=0);
- symbolNext[s] = (U16)normalizedCounter[s];
- } } }
- ZSTD_memcpy(dt, &DTableH, sizeof(DTableH));
- }
-
- /* Spread symbols */
- assert(tableSize <= 512);
- /* Specialized symbol spreading for the case when there are
- * no low probability (-1 count) symbols. When compressing
- * small blocks we avoid low probability symbols to hit this
- * case, since header decoding speed matters more.
- */
- if (highThreshold == tableSize - 1) {
- size_t const tableMask = tableSize-1;
- size_t const step = FSE_TABLESTEP(tableSize);
- /* First lay down the symbols in order.
- * We use a uint64_t to lay down 8 bytes at a time. This reduces branch
- * misses since small blocks generally have small table logs, so nearly
- * all symbols have counts <= 8. We ensure we have 8 bytes at the end of
- * our buffer to handle the over-write.
- */
- {
- U64 const add = 0x0101010101010101ull;
- size_t pos = 0;
- U64 sv = 0;
- U32 s;
- for (s=0; s=0);
- pos += (size_t)n;
- }
- }
- /* Now we spread those positions across the table.
- * The benefit of doing it in two stages is that we avoid the
- * variable size inner loop, which caused lots of branch misses.
- * Now we can run through all the positions without any branch misses.
- * We unroll the loop twice, since that is what empirically worked best.
- */
- {
- size_t position = 0;
- size_t s;
- size_t const unroll = 2;
- assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */
- for (s = 0; s < (size_t)tableSize; s += unroll) {
- size_t u;
- for (u = 0; u < unroll; ++u) {
- size_t const uPosition = (position + (u * step)) & tableMask;
- tableDecode[uPosition].baseValue = spread[s + u];
- }
- position = (position + (unroll * step)) & tableMask;
- }
- assert(position == 0);
- }
- } else {
- U32 const tableMask = tableSize-1;
- U32 const step = FSE_TABLESTEP(tableSize);
- U32 s, position = 0;
- for (s=0; s highThreshold)) position = (position + step) & tableMask; /* lowprob area */
- } }
- assert(position == 0); /* position must reach all cells once, otherwise normalizedCounter is incorrect */
- }
-
- /* Build Decoding table */
- {
- U32 u;
- for (u=0; u max, corruption_detected, "");
- { U32 const symbol = *(const BYTE*)src;
- U32 const baseline = baseValue[symbol];
- U8 const nbBits = nbAdditionalBits[symbol];
- ZSTD_buildSeqTable_rle(DTableSpace, baseline, nbBits);
- }
- *DTablePtr = DTableSpace;
- return 1;
- case set_basic :
- *DTablePtr = defaultTable;
- return 0;
- case set_repeat:
- RETURN_ERROR_IF(!flagRepeatTable, corruption_detected, "");
- /* prefetch FSE table if used */
- if (ddictIsCold && (nbSeq > 24 /* heuristic */)) {
- const void* const pStart = *DTablePtr;
- size_t const pSize = sizeof(ZSTD_seqSymbol) * (SEQSYMBOL_TABLE_SIZE(maxLog));
- PREFETCH_AREA(pStart, pSize);
- }
- return 0;
- case set_compressed :
- { unsigned tableLog;
- S16 norm[MaxSeq+1];
- size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize);
- RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, "");
- RETURN_ERROR_IF(tableLog > maxLog, corruption_detected, "");
- ZSTD_buildFSETable(DTableSpace, norm, max, baseValue, nbAdditionalBits, tableLog, wksp, wkspSize, bmi2);
- *DTablePtr = DTableSpace;
- return headerSize;
- }
- default :
- assert(0);
- RETURN_ERROR(GENERIC, "impossible");
- }
-}
-
-size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr,
- const void* src, size_t srcSize)
-{
- const BYTE* const istart = (const BYTE*)src;
- const BYTE* const iend = istart + srcSize;
- const BYTE* ip = istart;
- int nbSeq;
- DEBUGLOG(5, "ZSTD_decodeSeqHeaders");
-
- /* check */
- RETURN_ERROR_IF(srcSize < MIN_SEQUENCES_SIZE, srcSize_wrong, "");
-
- /* SeqHead */
- nbSeq = *ip++;
- if (nbSeq > 0x7F) {
- if (nbSeq == 0xFF) {
- RETURN_ERROR_IF(ip+2 > iend, srcSize_wrong, "");
- nbSeq = MEM_readLE16(ip) + LONGNBSEQ;
- ip+=2;
- } else {
- RETURN_ERROR_IF(ip >= iend, srcSize_wrong, "");
- nbSeq = ((nbSeq-0x80)<<8) + *ip++;
- }
- }
- *nbSeqPtr = nbSeq;
-
- if (nbSeq == 0) {
- /* No sequence : section ends immediately */
- RETURN_ERROR_IF(ip != iend, corruption_detected,
- "extraneous data present in the Sequences section");
- return (size_t)(ip - istart);
- }
-
- /* FSE table descriptors */
- RETURN_ERROR_IF(ip+1 > iend, srcSize_wrong, ""); /* minimum possible size: 1 byte for symbol encoding types */
- RETURN_ERROR_IF(*ip & 3, corruption_detected, ""); /* The last field, Reserved, must be all-zeroes. */
- { symbolEncodingType_e const LLtype = (symbolEncodingType_e)(*ip >> 6);
- symbolEncodingType_e const OFtype = (symbolEncodingType_e)((*ip >> 4) & 3);
- symbolEncodingType_e const MLtype = (symbolEncodingType_e)((*ip >> 2) & 3);
- ip++;
-
- /* Build DTables */
- { size_t const llhSize = ZSTD_buildSeqTable(dctx->entropy.LLTable, &dctx->LLTptr,
- LLtype, MaxLL, LLFSELog,
- ip, iend-ip,
- LL_base, LL_bits,
- LL_defaultDTable, dctx->fseEntropy,
- dctx->ddictIsCold, nbSeq,
- dctx->workspace, sizeof(dctx->workspace),
- ZSTD_DCtx_get_bmi2(dctx));
- RETURN_ERROR_IF(ZSTD_isError(llhSize), corruption_detected, "ZSTD_buildSeqTable failed");
- ip += llhSize;
- }
-
- { size_t const ofhSize = ZSTD_buildSeqTable(dctx->entropy.OFTable, &dctx->OFTptr,
- OFtype, MaxOff, OffFSELog,
- ip, iend-ip,
- OF_base, OF_bits,
- OF_defaultDTable, dctx->fseEntropy,
- dctx->ddictIsCold, nbSeq,
- dctx->workspace, sizeof(dctx->workspace),
- ZSTD_DCtx_get_bmi2(dctx));
- RETURN_ERROR_IF(ZSTD_isError(ofhSize), corruption_detected, "ZSTD_buildSeqTable failed");
- ip += ofhSize;
- }
-
- { size_t const mlhSize = ZSTD_buildSeqTable(dctx->entropy.MLTable, &dctx->MLTptr,
- MLtype, MaxML, MLFSELog,
- ip, iend-ip,
- ML_base, ML_bits,
- ML_defaultDTable, dctx->fseEntropy,
- dctx->ddictIsCold, nbSeq,
- dctx->workspace, sizeof(dctx->workspace),
- ZSTD_DCtx_get_bmi2(dctx));
- RETURN_ERROR_IF(ZSTD_isError(mlhSize), corruption_detected, "ZSTD_buildSeqTable failed");
- ip += mlhSize;
- }
- }
-
- return ip-istart;
-}
-
-
-typedef struct {
- size_t litLength;
- size_t matchLength;
- size_t offset;
-} seq_t;
-
-typedef struct {
- size_t state;
- const ZSTD_seqSymbol* table;
-} ZSTD_fseState;
-
-typedef struct {
- BIT_DStream_t DStream;
- ZSTD_fseState stateLL;
- ZSTD_fseState stateOffb;
- ZSTD_fseState stateML;
- size_t prevOffset[ZSTD_REP_NUM];
-} seqState_t;
-
-/*! ZSTD_overlapCopy8() :
- * Copies 8 bytes from ip to op and updates op and ip where ip <= op.
- * If the offset is < 8 then the offset is spread to at least 8 bytes.
- *
- * Precondition: *ip <= *op
- * Postcondition: *op - *op >= 8
- */
-HINT_INLINE void ZSTD_overlapCopy8(BYTE** op, BYTE const** ip, size_t offset) {
- assert(*ip <= *op);
- if (offset < 8) {
- /* close range match, overlap */
- static const U32 dec32table[] = { 0, 1, 2, 1, 4, 4, 4, 4 }; /* added */
- static const int dec64table[] = { 8, 8, 8, 7, 8, 9,10,11 }; /* subtracted */
- int const sub2 = dec64table[offset];
- (*op)[0] = (*ip)[0];
- (*op)[1] = (*ip)[1];
- (*op)[2] = (*ip)[2];
- (*op)[3] = (*ip)[3];
- *ip += dec32table[offset];
- ZSTD_copy4(*op+4, *ip);
- *ip -= sub2;
- } else {
- ZSTD_copy8(*op, *ip);
- }
- *ip += 8;
- *op += 8;
- assert(*op - *ip >= 8);
-}
-
-/*! ZSTD_safecopy() :
- * Specialized version of memcpy() that is allowed to READ up to WILDCOPY_OVERLENGTH past the input buffer
- * and write up to 16 bytes past oend_w (op >= oend_w is allowed).
- * This function is only called in the uncommon case where the sequence is near the end of the block. It
- * should be fast for a single long sequence, but can be slow for several short sequences.
- *
- * @param ovtype controls the overlap detection
- * - ZSTD_no_overlap: The source and destination are guaranteed to be at least WILDCOPY_VECLEN bytes apart.
- * - ZSTD_overlap_src_before_dst: The src and dst may overlap and may be any distance apart.
- * The src buffer must be before the dst buffer.
- */
-static void ZSTD_safecopy(BYTE* op, const BYTE* const oend_w, BYTE const* ip, ptrdiff_t length, ZSTD_overlap_e ovtype) {
- ptrdiff_t const diff = op - ip;
- BYTE* const oend = op + length;
-
- assert((ovtype == ZSTD_no_overlap && (diff <= -8 || diff >= 8 || op >= oend_w)) ||
- (ovtype == ZSTD_overlap_src_before_dst && diff >= 0));
-
- if (length < 8) {
- /* Handle short lengths. */
- while (op < oend) *op++ = *ip++;
- return;
- }
- if (ovtype == ZSTD_overlap_src_before_dst) {
- /* Copy 8 bytes and ensure the offset >= 8 when there can be overlap. */
- assert(length >= 8);
- ZSTD_overlapCopy8(&op, &ip, diff);
- length -= 8;
- assert(op - ip >= 8);
- assert(op <= oend);
- }
-
- if (oend <= oend_w) {
- /* No risk of overwrite. */
- ZSTD_wildcopy(op, ip, length, ovtype);
- return;
- }
- if (op <= oend_w) {
- /* Wildcopy until we get close to the end. */
- assert(oend > oend_w);
- ZSTD_wildcopy(op, ip, oend_w - op, ovtype);
- ip += oend_w - op;
- op += oend_w - op;
- }
- /* Handle the leftovers. */
- while (op < oend) *op++ = *ip++;
-}
-
-/* ZSTD_safecopyDstBeforeSrc():
- * This version allows overlap with dst before src, or handles the non-overlap case with dst after src
- * Kept separate from more common ZSTD_safecopy case to avoid performance impact to the safecopy common case */
-static void ZSTD_safecopyDstBeforeSrc(BYTE* op, const BYTE* ip, ptrdiff_t length) {
- ptrdiff_t const diff = op - ip;
- BYTE* const oend = op + length;
-
- if (length < 8 || diff > -8) {
- /* Handle short lengths, close overlaps, and dst not before src. */
- while (op < oend) *op++ = *ip++;
- return;
- }
-
- if (op <= oend - WILDCOPY_OVERLENGTH && diff < -WILDCOPY_VECLEN) {
- ZSTD_wildcopy(op, ip, oend - WILDCOPY_OVERLENGTH - op, ZSTD_no_overlap);
- ip += oend - WILDCOPY_OVERLENGTH - op;
- op += oend - WILDCOPY_OVERLENGTH - op;
- }
-
- /* Handle the leftovers. */
- while (op < oend) *op++ = *ip++;
-}
-
-/* ZSTD_execSequenceEnd():
- * This version handles cases that are near the end of the output buffer. It requires
- * more careful checks to make sure there is no overflow. By separating out these hard
- * and unlikely cases, we can speed up the common cases.
- *
- * NOTE: This function needs to be fast for a single long sequence, but doesn't need
- * to be optimized for many small sequences, since those fall into ZSTD_execSequence().
- */
-FORCE_NOINLINE
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-size_t ZSTD_execSequenceEnd(BYTE* op,
- BYTE* const oend, seq_t sequence,
- const BYTE** litPtr, const BYTE* const litLimit,
- const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd)
-{
- BYTE* const oLitEnd = op + sequence.litLength;
- size_t const sequenceLength = sequence.litLength + sequence.matchLength;
- const BYTE* const iLitEnd = *litPtr + sequence.litLength;
- const BYTE* match = oLitEnd - sequence.offset;
- BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH;
-
- /* bounds checks : careful of address space overflow in 32-bit mode */
- RETURN_ERROR_IF(sequenceLength > (size_t)(oend - op), dstSize_tooSmall, "last match must fit within dstBuffer");
- RETURN_ERROR_IF(sequence.litLength > (size_t)(litLimit - *litPtr), corruption_detected, "try to read beyond literal buffer");
- assert(op < op + sequenceLength);
- assert(oLitEnd < op + sequenceLength);
-
- /* copy literals */
- ZSTD_safecopy(op, oend_w, *litPtr, sequence.litLength, ZSTD_no_overlap);
- op = oLitEnd;
- *litPtr = iLitEnd;
-
- /* copy Match */
- if (sequence.offset > (size_t)(oLitEnd - prefixStart)) {
- /* offset beyond prefix */
- RETURN_ERROR_IF(sequence.offset > (size_t)(oLitEnd - virtualStart), corruption_detected, "");
- match = dictEnd - (prefixStart - match);
- if (match + sequence.matchLength <= dictEnd) {
- ZSTD_memmove(oLitEnd, match, sequence.matchLength);
- return sequenceLength;
- }
- /* span extDict & currentPrefixSegment */
- { size_t const length1 = dictEnd - match;
- ZSTD_memmove(oLitEnd, match, length1);
- op = oLitEnd + length1;
- sequence.matchLength -= length1;
- match = prefixStart;
- }
- }
- ZSTD_safecopy(op, oend_w, match, sequence.matchLength, ZSTD_overlap_src_before_dst);
- return sequenceLength;
-}
-
-/* ZSTD_execSequenceEndSplitLitBuffer():
- * This version is intended to be used during instances where the litBuffer is still split. It is kept separate to avoid performance impact for the good case.
- */
-FORCE_NOINLINE
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-size_t ZSTD_execSequenceEndSplitLitBuffer(BYTE* op,
- BYTE* const oend, const BYTE* const oend_w, seq_t sequence,
- const BYTE** litPtr, const BYTE* const litLimit,
- const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd)
-{
- BYTE* const oLitEnd = op + sequence.litLength;
- size_t const sequenceLength = sequence.litLength + sequence.matchLength;
- const BYTE* const iLitEnd = *litPtr + sequence.litLength;
- const BYTE* match = oLitEnd - sequence.offset;
-
-
- /* bounds checks : careful of address space overflow in 32-bit mode */
- RETURN_ERROR_IF(sequenceLength > (size_t)(oend - op), dstSize_tooSmall, "last match must fit within dstBuffer");
- RETURN_ERROR_IF(sequence.litLength > (size_t)(litLimit - *litPtr), corruption_detected, "try to read beyond literal buffer");
- assert(op < op + sequenceLength);
- assert(oLitEnd < op + sequenceLength);
-
- /* copy literals */
- RETURN_ERROR_IF(op > *litPtr && op < *litPtr + sequence.litLength, dstSize_tooSmall, "output should not catch up to and overwrite literal buffer");
- ZSTD_safecopyDstBeforeSrc(op, *litPtr, sequence.litLength);
- op = oLitEnd;
- *litPtr = iLitEnd;
-
- /* copy Match */
- if (sequence.offset > (size_t)(oLitEnd - prefixStart)) {
- /* offset beyond prefix */
- RETURN_ERROR_IF(sequence.offset > (size_t)(oLitEnd - virtualStart), corruption_detected, "");
- match = dictEnd - (prefixStart - match);
- if (match + sequence.matchLength <= dictEnd) {
- ZSTD_memmove(oLitEnd, match, sequence.matchLength);
- return sequenceLength;
- }
- /* span extDict & currentPrefixSegment */
- { size_t const length1 = dictEnd - match;
- ZSTD_memmove(oLitEnd, match, length1);
- op = oLitEnd + length1;
- sequence.matchLength -= length1;
- match = prefixStart;
- }
- }
- ZSTD_safecopy(op, oend_w, match, sequence.matchLength, ZSTD_overlap_src_before_dst);
- return sequenceLength;
-}
-
-HINT_INLINE
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-size_t ZSTD_execSequence(BYTE* op,
- BYTE* const oend, seq_t sequence,
- const BYTE** litPtr, const BYTE* const litLimit,
- const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd)
-{
- BYTE* const oLitEnd = op + sequence.litLength;
- size_t const sequenceLength = sequence.litLength + sequence.matchLength;
- BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */
- BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; /* risk : address space underflow on oend=NULL */
- const BYTE* const iLitEnd = *litPtr + sequence.litLength;
- const BYTE* match = oLitEnd - sequence.offset;
-
- assert(op != NULL /* Precondition */);
- assert(oend_w < oend /* No underflow */);
-
-#if defined(__aarch64__)
- /* prefetch sequence starting from match that will be used for copy later */
- PREFETCH_L1(match);
-#endif
- /* Handle edge cases in a slow path:
- * - Read beyond end of literals
- * - Match end is within WILDCOPY_OVERLIMIT of oend
- * - 32-bit mode and the match length overflows
- */
- if (UNLIKELY(
- iLitEnd > litLimit ||
- oMatchEnd > oend_w ||
- (MEM_32bits() && (size_t)(oend - op) < sequenceLength + WILDCOPY_OVERLENGTH)))
- return ZSTD_execSequenceEnd(op, oend, sequence, litPtr, litLimit, prefixStart, virtualStart, dictEnd);
-
- /* Assumptions (everything else goes into ZSTD_execSequenceEnd()) */
- assert(op <= oLitEnd /* No overflow */);
- assert(oLitEnd < oMatchEnd /* Non-zero match & no overflow */);
- assert(oMatchEnd <= oend /* No underflow */);
- assert(iLitEnd <= litLimit /* Literal length is in bounds */);
- assert(oLitEnd <= oend_w /* Can wildcopy literals */);
- assert(oMatchEnd <= oend_w /* Can wildcopy matches */);
-
- /* Copy Literals:
- * Split out litLength <= 16 since it is nearly always true. +1.6% on gcc-9.
- * We likely don't need the full 32-byte wildcopy.
- */
- assert(WILDCOPY_OVERLENGTH >= 16);
- ZSTD_copy16(op, (*litPtr));
- if (UNLIKELY(sequence.litLength > 16)) {
- ZSTD_wildcopy(op + 16, (*litPtr) + 16, sequence.litLength - 16, ZSTD_no_overlap);
- }
- op = oLitEnd;
- *litPtr = iLitEnd; /* update for next sequence */
-
- /* Copy Match */
- if (sequence.offset > (size_t)(oLitEnd - prefixStart)) {
- /* offset beyond prefix -> go into extDict */
- RETURN_ERROR_IF(UNLIKELY(sequence.offset > (size_t)(oLitEnd - virtualStart)), corruption_detected, "");
- match = dictEnd + (match - prefixStart);
- if (match + sequence.matchLength <= dictEnd) {
- ZSTD_memmove(oLitEnd, match, sequence.matchLength);
- return sequenceLength;
- }
- /* span extDict & currentPrefixSegment */
- { size_t const length1 = dictEnd - match;
- ZSTD_memmove(oLitEnd, match, length1);
- op = oLitEnd + length1;
- sequence.matchLength -= length1;
- match = prefixStart;
- }
- }
- /* Match within prefix of 1 or more bytes */
- assert(op <= oMatchEnd);
- assert(oMatchEnd <= oend_w);
- assert(match >= prefixStart);
- assert(sequence.matchLength >= 1);
-
- /* Nearly all offsets are >= WILDCOPY_VECLEN bytes, which means we can use wildcopy
- * without overlap checking.
- */
- if (LIKELY(sequence.offset >= WILDCOPY_VECLEN)) {
- /* We bet on a full wildcopy for matches, since we expect matches to be
- * longer than literals (in general). In silesia, ~10% of matches are longer
- * than 16 bytes.
- */
- ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength, ZSTD_no_overlap);
- return sequenceLength;
- }
- assert(sequence.offset < WILDCOPY_VECLEN);
-
- /* Copy 8 bytes and spread the offset to be >= 8. */
- ZSTD_overlapCopy8(&op, &match, sequence.offset);
-
- /* If the match length is > 8 bytes, then continue with the wildcopy. */
- if (sequence.matchLength > 8) {
- assert(op < oMatchEnd);
- ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8, ZSTD_overlap_src_before_dst);
- }
- return sequenceLength;
-}
-
-HINT_INLINE
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-size_t ZSTD_execSequenceSplitLitBuffer(BYTE* op,
- BYTE* const oend, const BYTE* const oend_w, seq_t sequence,
- const BYTE** litPtr, const BYTE* const litLimit,
- const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd)
-{
- BYTE* const oLitEnd = op + sequence.litLength;
- size_t const sequenceLength = sequence.litLength + sequence.matchLength;
- BYTE* const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */
- const BYTE* const iLitEnd = *litPtr + sequence.litLength;
- const BYTE* match = oLitEnd - sequence.offset;
-
- assert(op != NULL /* Precondition */);
- assert(oend_w < oend /* No underflow */);
- /* Handle edge cases in a slow path:
- * - Read beyond end of literals
- * - Match end is within WILDCOPY_OVERLIMIT of oend
- * - 32-bit mode and the match length overflows
- */
- if (UNLIKELY(
- iLitEnd > litLimit ||
- oMatchEnd > oend_w ||
- (MEM_32bits() && (size_t)(oend - op) < sequenceLength + WILDCOPY_OVERLENGTH)))
- return ZSTD_execSequenceEndSplitLitBuffer(op, oend, oend_w, sequence, litPtr, litLimit, prefixStart, virtualStart, dictEnd);
-
- /* Assumptions (everything else goes into ZSTD_execSequenceEnd()) */
- assert(op <= oLitEnd /* No overflow */);
- assert(oLitEnd < oMatchEnd /* Non-zero match & no overflow */);
- assert(oMatchEnd <= oend /* No underflow */);
- assert(iLitEnd <= litLimit /* Literal length is in bounds */);
- assert(oLitEnd <= oend_w /* Can wildcopy literals */);
- assert(oMatchEnd <= oend_w /* Can wildcopy matches */);
-
- /* Copy Literals:
- * Split out litLength <= 16 since it is nearly always true. +1.6% on gcc-9.
- * We likely don't need the full 32-byte wildcopy.
- */
- assert(WILDCOPY_OVERLENGTH >= 16);
- ZSTD_copy16(op, (*litPtr));
- if (UNLIKELY(sequence.litLength > 16)) {
- ZSTD_wildcopy(op+16, (*litPtr)+16, sequence.litLength-16, ZSTD_no_overlap);
- }
- op = oLitEnd;
- *litPtr = iLitEnd; /* update for next sequence */
-
- /* Copy Match */
- if (sequence.offset > (size_t)(oLitEnd - prefixStart)) {
- /* offset beyond prefix -> go into extDict */
- RETURN_ERROR_IF(UNLIKELY(sequence.offset > (size_t)(oLitEnd - virtualStart)), corruption_detected, "");
- match = dictEnd + (match - prefixStart);
- if (match + sequence.matchLength <= dictEnd) {
- ZSTD_memmove(oLitEnd, match, sequence.matchLength);
- return sequenceLength;
- }
- /* span extDict & currentPrefixSegment */
- { size_t const length1 = dictEnd - match;
- ZSTD_memmove(oLitEnd, match, length1);
- op = oLitEnd + length1;
- sequence.matchLength -= length1;
- match = prefixStart;
- } }
- /* Match within prefix of 1 or more bytes */
- assert(op <= oMatchEnd);
- assert(oMatchEnd <= oend_w);
- assert(match >= prefixStart);
- assert(sequence.matchLength >= 1);
-
- /* Nearly all offsets are >= WILDCOPY_VECLEN bytes, which means we can use wildcopy
- * without overlap checking.
- */
- if (LIKELY(sequence.offset >= WILDCOPY_VECLEN)) {
- /* We bet on a full wildcopy for matches, since we expect matches to be
- * longer than literals (in general). In silesia, ~10% of matches are longer
- * than 16 bytes.
- */
- ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength, ZSTD_no_overlap);
- return sequenceLength;
- }
- assert(sequence.offset < WILDCOPY_VECLEN);
-
- /* Copy 8 bytes and spread the offset to be >= 8. */
- ZSTD_overlapCopy8(&op, &match, sequence.offset);
-
- /* If the match length is > 8 bytes, then continue with the wildcopy. */
- if (sequence.matchLength > 8) {
- assert(op < oMatchEnd);
- ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength-8, ZSTD_overlap_src_before_dst);
- }
- return sequenceLength;
-}
-
-
-static void
-ZSTD_initFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, const ZSTD_seqSymbol* dt)
-{
- const void* ptr = dt;
- const ZSTD_seqSymbol_header* const DTableH = (const ZSTD_seqSymbol_header*)ptr;
- DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog);
- DEBUGLOG(6, "ZSTD_initFseState : val=%u using %u bits",
- (U32)DStatePtr->state, DTableH->tableLog);
- BIT_reloadDStream(bitD);
- DStatePtr->table = dt + 1;
-}
-
-FORCE_INLINE_TEMPLATE void
-ZSTD_updateFseStateWithDInfo(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, U16 nextState, U32 nbBits)
-{
- size_t const lowBits = BIT_readBits(bitD, nbBits);
- DStatePtr->state = nextState + lowBits;
-}
-
-/* We need to add at most (ZSTD_WINDOWLOG_MAX_32 - 1) bits to read the maximum
- * offset bits. But we can only read at most STREAM_ACCUMULATOR_MIN_32
- * bits before reloading. This value is the maximum number of bytes we read
- * after reloading when we are decoding long offsets.
- */
-#define LONG_OFFSETS_MAX_EXTRA_BITS_32 \
- (ZSTD_WINDOWLOG_MAX_32 > STREAM_ACCUMULATOR_MIN_32 \
- ? ZSTD_WINDOWLOG_MAX_32 - STREAM_ACCUMULATOR_MIN_32 \
- : 0)
-
-typedef enum { ZSTD_lo_isRegularOffset, ZSTD_lo_isLongOffset=1 } ZSTD_longOffset_e;
-
-/**
- * ZSTD_decodeSequence():
- * @p longOffsets : tells the decoder to reload more bit while decoding large offsets
- * only used in 32-bit mode
- * @return : Sequence (litL + matchL + offset)
- */
-FORCE_INLINE_TEMPLATE seq_t
-ZSTD_decodeSequence(seqState_t* seqState, const ZSTD_longOffset_e longOffsets, const int isLastSeq)
-{
- seq_t seq;
- /*
- * ZSTD_seqSymbol is a 64 bits wide structure.
- * It can be loaded in one operation
- * and its fields extracted by simply shifting or bit-extracting on aarch64.
- * GCC doesn't recognize this and generates more unnecessary ldr/ldrb/ldrh
- * operations that cause performance drop. This can be avoided by using this
- * ZSTD_memcpy hack.
- */
-#if defined(__aarch64__) && (defined(__GNUC__) && !defined(__clang__))
- ZSTD_seqSymbol llDInfoS, mlDInfoS, ofDInfoS;
- ZSTD_seqSymbol* const llDInfo = &llDInfoS;
- ZSTD_seqSymbol* const mlDInfo = &mlDInfoS;
- ZSTD_seqSymbol* const ofDInfo = &ofDInfoS;
- ZSTD_memcpy(llDInfo, seqState->stateLL.table + seqState->stateLL.state, sizeof(ZSTD_seqSymbol));
- ZSTD_memcpy(mlDInfo, seqState->stateML.table + seqState->stateML.state, sizeof(ZSTD_seqSymbol));
- ZSTD_memcpy(ofDInfo, seqState->stateOffb.table + seqState->stateOffb.state, sizeof(ZSTD_seqSymbol));
-#else
- const ZSTD_seqSymbol* const llDInfo = seqState->stateLL.table + seqState->stateLL.state;
- const ZSTD_seqSymbol* const mlDInfo = seqState->stateML.table + seqState->stateML.state;
- const ZSTD_seqSymbol* const ofDInfo = seqState->stateOffb.table + seqState->stateOffb.state;
-#endif
- seq.matchLength = mlDInfo->baseValue;
- seq.litLength = llDInfo->baseValue;
- { U32 const ofBase = ofDInfo->baseValue;
- BYTE const llBits = llDInfo->nbAdditionalBits;
- BYTE const mlBits = mlDInfo->nbAdditionalBits;
- BYTE const ofBits = ofDInfo->nbAdditionalBits;
- BYTE const totalBits = llBits+mlBits+ofBits;
-
- U16 const llNext = llDInfo->nextState;
- U16 const mlNext = mlDInfo->nextState;
- U16 const ofNext = ofDInfo->nextState;
- U32 const llnbBits = llDInfo->nbBits;
- U32 const mlnbBits = mlDInfo->nbBits;
- U32 const ofnbBits = ofDInfo->nbBits;
-
- assert(llBits <= MaxLLBits);
- assert(mlBits <= MaxMLBits);
- assert(ofBits <= MaxOff);
- /*
- * As gcc has better branch and block analyzers, sometimes it is only
- * valuable to mark likeliness for clang, it gives around 3-4% of
- * performance.
- */
-
- /* sequence */
- { size_t offset;
- if (ofBits > 1) {
- ZSTD_STATIC_ASSERT(ZSTD_lo_isLongOffset == 1);
- ZSTD_STATIC_ASSERT(LONG_OFFSETS_MAX_EXTRA_BITS_32 == 5);
- ZSTD_STATIC_ASSERT(STREAM_ACCUMULATOR_MIN_32 > LONG_OFFSETS_MAX_EXTRA_BITS_32);
- ZSTD_STATIC_ASSERT(STREAM_ACCUMULATOR_MIN_32 - LONG_OFFSETS_MAX_EXTRA_BITS_32 >= MaxMLBits);
- if (MEM_32bits() && longOffsets && (ofBits >= STREAM_ACCUMULATOR_MIN_32)) {
- /* Always read extra bits, this keeps the logic simple,
- * avoids branches, and avoids accidentally reading 0 bits.
- */
- U32 const extraBits = LONG_OFFSETS_MAX_EXTRA_BITS_32;
- offset = ofBase + (BIT_readBitsFast(&seqState->DStream, ofBits - extraBits) << extraBits);
- BIT_reloadDStream(&seqState->DStream);
- offset += BIT_readBitsFast(&seqState->DStream, extraBits);
- } else {
- offset = ofBase + BIT_readBitsFast(&seqState->DStream, ofBits/*>0*/); /* <= (ZSTD_WINDOWLOG_MAX-1) bits */
- if (MEM_32bits()) BIT_reloadDStream(&seqState->DStream);
- }
- seqState->prevOffset[2] = seqState->prevOffset[1];
- seqState->prevOffset[1] = seqState->prevOffset[0];
- seqState->prevOffset[0] = offset;
- } else {
- U32 const ll0 = (llDInfo->baseValue == 0);
- if (LIKELY((ofBits == 0))) {
- offset = seqState->prevOffset[ll0];
- seqState->prevOffset[1] = seqState->prevOffset[!ll0];
- seqState->prevOffset[0] = offset;
- } else {
- offset = ofBase + ll0 + BIT_readBitsFast(&seqState->DStream, 1);
- { size_t temp = (offset==3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset];
- temp -= !temp; /* 0 is not valid: input corrupted => force offset to -1 => corruption detected at execSequence */
- if (offset != 1) seqState->prevOffset[2] = seqState->prevOffset[1];
- seqState->prevOffset[1] = seqState->prevOffset[0];
- seqState->prevOffset[0] = offset = temp;
- } } }
- seq.offset = offset;
- }
-
- if (mlBits > 0)
- seq.matchLength += BIT_readBitsFast(&seqState->DStream, mlBits/*>0*/);
-
- if (MEM_32bits() && (mlBits+llBits >= STREAM_ACCUMULATOR_MIN_32-LONG_OFFSETS_MAX_EXTRA_BITS_32))
- BIT_reloadDStream(&seqState->DStream);
- if (MEM_64bits() && UNLIKELY(totalBits >= STREAM_ACCUMULATOR_MIN_64-(LLFSELog+MLFSELog+OffFSELog)))
- BIT_reloadDStream(&seqState->DStream);
- /* Ensure there are enough bits to read the rest of data in 64-bit mode. */
- ZSTD_STATIC_ASSERT(16+LLFSELog+MLFSELog+OffFSELog < STREAM_ACCUMULATOR_MIN_64);
-
- if (llBits > 0)
- seq.litLength += BIT_readBitsFast(&seqState->DStream, llBits/*>0*/);
-
- if (MEM_32bits())
- BIT_reloadDStream(&seqState->DStream);
-
- DEBUGLOG(6, "seq: litL=%u, matchL=%u, offset=%u",
- (U32)seq.litLength, (U32)seq.matchLength, (U32)seq.offset);
-
- if (!isLastSeq) {
- /* don't update FSE state for last Sequence */
- ZSTD_updateFseStateWithDInfo(&seqState->stateLL, &seqState->DStream, llNext, llnbBits); /* <= 9 bits */
- ZSTD_updateFseStateWithDInfo(&seqState->stateML, &seqState->DStream, mlNext, mlnbBits); /* <= 9 bits */
- if (MEM_32bits()) BIT_reloadDStream(&seqState->DStream); /* <= 18 bits */
- ZSTD_updateFseStateWithDInfo(&seqState->stateOffb, &seqState->DStream, ofNext, ofnbBits); /* <= 8 bits */
- BIT_reloadDStream(&seqState->DStream);
- }
- }
-
- return seq;
-}
-
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
-#if DEBUGLEVEL >= 1
-static int ZSTD_dictionaryIsActive(ZSTD_DCtx const* dctx, BYTE const* prefixStart, BYTE const* oLitEnd)
-{
- size_t const windowSize = dctx->fParams.windowSize;
- /* No dictionary used. */
- if (dctx->dictContentEndForFuzzing == NULL) return 0;
- /* Dictionary is our prefix. */
- if (prefixStart == dctx->dictContentBeginForFuzzing) return 1;
- /* Dictionary is not our ext-dict. */
- if (dctx->dictEnd != dctx->dictContentEndForFuzzing) return 0;
- /* Dictionary is not within our window size. */
- if ((size_t)(oLitEnd - prefixStart) >= windowSize) return 0;
- /* Dictionary is active. */
- return 1;
-}
-#endif
-
-static void ZSTD_assertValidSequence(
- ZSTD_DCtx const* dctx,
- BYTE const* op, BYTE const* oend,
- seq_t const seq,
- BYTE const* prefixStart, BYTE const* virtualStart)
-{
-#if DEBUGLEVEL >= 1
- if (dctx->isFrameDecompression) {
- size_t const windowSize = dctx->fParams.windowSize;
- size_t const sequenceSize = seq.litLength + seq.matchLength;
- BYTE const* const oLitEnd = op + seq.litLength;
- DEBUGLOG(6, "Checking sequence: litL=%u matchL=%u offset=%u",
- (U32)seq.litLength, (U32)seq.matchLength, (U32)seq.offset);
- assert(op <= oend);
- assert((size_t)(oend - op) >= sequenceSize);
- assert(sequenceSize <= ZSTD_blockSizeMax(dctx));
- if (ZSTD_dictionaryIsActive(dctx, prefixStart, oLitEnd)) {
- size_t const dictSize = (size_t)((char const*)dctx->dictContentEndForFuzzing - (char const*)dctx->dictContentBeginForFuzzing);
- /* Offset must be within the dictionary. */
- assert(seq.offset <= (size_t)(oLitEnd - virtualStart));
- assert(seq.offset <= windowSize + dictSize);
- } else {
- /* Offset must be within our window. */
- assert(seq.offset <= windowSize);
- }
- }
-#else
- (void)dctx, (void)op, (void)oend, (void)seq, (void)prefixStart, (void)virtualStart;
-#endif
-}
-#endif
-
-#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG
-
-
-FORCE_INLINE_TEMPLATE size_t
-DONT_VECTORIZE
-ZSTD_decompressSequences_bodySplitLitBuffer( ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- const BYTE* ip = (const BYTE*)seqStart;
- const BYTE* const iend = ip + seqSize;
- BYTE* const ostart = (BYTE*)dst;
- BYTE* const oend = ZSTD_maybeNullPtrAdd(ostart, maxDstSize);
- BYTE* op = ostart;
- const BYTE* litPtr = dctx->litPtr;
- const BYTE* litBufferEnd = dctx->litBufferEnd;
- const BYTE* const prefixStart = (const BYTE*) (dctx->prefixStart);
- const BYTE* const vBase = (const BYTE*) (dctx->virtualStart);
- const BYTE* const dictEnd = (const BYTE*) (dctx->dictEnd);
- DEBUGLOG(5, "ZSTD_decompressSequences_bodySplitLitBuffer (%i seqs)", nbSeq);
-
- /* Literals are split between internal buffer & output buffer */
- if (nbSeq) {
- seqState_t seqState;
- dctx->fseEntropy = 1;
- { U32 i; for (i=0; ientropy.rep[i]; }
- RETURN_ERROR_IF(
- ERR_isError(BIT_initDStream(&seqState.DStream, ip, iend-ip)),
- corruption_detected, "");
- ZSTD_initFseState(&seqState.stateLL, &seqState.DStream, dctx->LLTptr);
- ZSTD_initFseState(&seqState.stateOffb, &seqState.DStream, dctx->OFTptr);
- ZSTD_initFseState(&seqState.stateML, &seqState.DStream, dctx->MLTptr);
- assert(dst != NULL);
-
- ZSTD_STATIC_ASSERT(
- BIT_DStream_unfinished < BIT_DStream_completed &&
- BIT_DStream_endOfBuffer < BIT_DStream_completed &&
- BIT_DStream_completed < BIT_DStream_overflow);
-
- /* decompress without overrunning litPtr begins */
- { seq_t sequence = {0,0,0}; /* some static analyzer believe that @sequence is not initialized (it necessarily is, since for(;;) loop as at least one iteration) */
- /* Align the decompression loop to 32 + 16 bytes.
- *
- * zstd compiled with gcc-9 on an Intel i9-9900k shows 10% decompression
- * speed swings based on the alignment of the decompression loop. This
- * performance swing is caused by parts of the decompression loop falling
- * out of the DSB. The entire decompression loop should fit in the DSB,
- * when it can't we get much worse performance. You can measure if you've
- * hit the good case or the bad case with this perf command for some
- * compressed file test.zst:
- *
- * perf stat -e cycles -e instructions -e idq.all_dsb_cycles_any_uops \
- * -e idq.all_mite_cycles_any_uops -- ./zstd -tq test.zst
- *
- * If you see most cycles served out of the MITE you've hit the bad case.
- * If you see most cycles served out of the DSB you've hit the good case.
- * If it is pretty even then you may be in an okay case.
- *
- * This issue has been reproduced on the following CPUs:
- * - Kabylake: Macbook Pro (15-inch, 2019) 2.4 GHz Intel Core i9
- * Use Instruments->Counters to get DSB/MITE cycles.
- * I never got performance swings, but I was able to
- * go from the good case of mostly DSB to half of the
- * cycles served from MITE.
- * - Coffeelake: Intel i9-9900k
- * - Coffeelake: Intel i7-9700k
- *
- * I haven't been able to reproduce the instability or DSB misses on any
- * of the following CPUS:
- * - Haswell
- * - Broadwell: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GH
- * - Skylake
- *
- * Alignment is done for each of the three major decompression loops:
- * - ZSTD_decompressSequences_bodySplitLitBuffer - presplit section of the literal buffer
- * - ZSTD_decompressSequences_bodySplitLitBuffer - postsplit section of the literal buffer
- * - ZSTD_decompressSequences_body
- * Alignment choices are made to minimize large swings on bad cases and influence on performance
- * from changes external to this code, rather than to overoptimize on the current commit.
- *
- * If you are seeing performance stability this script can help test.
- * It tests on 4 commits in zstd where I saw performance change.
- *
- * https://gist.github.com/terrelln/9889fc06a423fd5ca6e99351564473f4
- */
-#if defined(__GNUC__) && defined(__x86_64__)
- __asm__(".p2align 6");
-# if __GNUC__ >= 7
- /* good for gcc-7, gcc-9, and gcc-11 */
- __asm__("nop");
- __asm__(".p2align 5");
- __asm__("nop");
- __asm__(".p2align 4");
-# if __GNUC__ == 8 || __GNUC__ == 10
- /* good for gcc-8 and gcc-10 */
- __asm__("nop");
- __asm__(".p2align 3");
-# endif
-# endif
-#endif
-
- /* Handle the initial state where litBuffer is currently split between dst and litExtraBuffer */
- for ( ; nbSeq; nbSeq--) {
- sequence = ZSTD_decodeSequence(&seqState, isLongOffset, nbSeq==1);
- if (litPtr + sequence.litLength > dctx->litBufferEnd) break;
- { size_t const oneSeqSize = ZSTD_execSequenceSplitLitBuffer(op, oend, litPtr + sequence.litLength - WILDCOPY_OVERLENGTH, sequence, &litPtr, litBufferEnd, prefixStart, vBase, dictEnd);
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
- assert(!ZSTD_isError(oneSeqSize));
- ZSTD_assertValidSequence(dctx, op, oend, sequence, prefixStart, vBase);
-#endif
- if (UNLIKELY(ZSTD_isError(oneSeqSize)))
- return oneSeqSize;
- DEBUGLOG(6, "regenerated sequence size : %u", (U32)oneSeqSize);
- op += oneSeqSize;
- } }
- DEBUGLOG(6, "reached: (litPtr + sequence.litLength > dctx->litBufferEnd)");
-
- /* If there are more sequences, they will need to read literals from litExtraBuffer; copy over the remainder from dst and update litPtr and litEnd */
- if (nbSeq > 0) {
- const size_t leftoverLit = dctx->litBufferEnd - litPtr;
- DEBUGLOG(6, "There are %i sequences left, and %zu/%zu literals left in buffer", nbSeq, leftoverLit, sequence.litLength);
- if (leftoverLit) {
- RETURN_ERROR_IF(leftoverLit > (size_t)(oend - op), dstSize_tooSmall, "remaining lit must fit within dstBuffer");
- ZSTD_safecopyDstBeforeSrc(op, litPtr, leftoverLit);
- sequence.litLength -= leftoverLit;
- op += leftoverLit;
- }
- litPtr = dctx->litExtraBuffer;
- litBufferEnd = dctx->litExtraBuffer + ZSTD_LITBUFFEREXTRASIZE;
- dctx->litBufferLocation = ZSTD_not_in_dst;
- { size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litBufferEnd, prefixStart, vBase, dictEnd);
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
- assert(!ZSTD_isError(oneSeqSize));
- ZSTD_assertValidSequence(dctx, op, oend, sequence, prefixStart, vBase);
-#endif
- if (UNLIKELY(ZSTD_isError(oneSeqSize)))
- return oneSeqSize;
- DEBUGLOG(6, "regenerated sequence size : %u", (U32)oneSeqSize);
- op += oneSeqSize;
- }
- nbSeq--;
- }
- }
-
- if (nbSeq > 0) {
- /* there is remaining lit from extra buffer */
-
-#if defined(__GNUC__) && defined(__x86_64__)
- __asm__(".p2align 6");
- __asm__("nop");
-# if __GNUC__ != 7
- /* worse for gcc-7 better for gcc-8, gcc-9, and gcc-10 and clang */
- __asm__(".p2align 4");
- __asm__("nop");
- __asm__(".p2align 3");
-# elif __GNUC__ >= 11
- __asm__(".p2align 3");
-# else
- __asm__(".p2align 5");
- __asm__("nop");
- __asm__(".p2align 3");
-# endif
-#endif
-
- for ( ; nbSeq ; nbSeq--) {
- seq_t const sequence = ZSTD_decodeSequence(&seqState, isLongOffset, nbSeq==1);
- size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litBufferEnd, prefixStart, vBase, dictEnd);
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
- assert(!ZSTD_isError(oneSeqSize));
- ZSTD_assertValidSequence(dctx, op, oend, sequence, prefixStart, vBase);
-#endif
- if (UNLIKELY(ZSTD_isError(oneSeqSize)))
- return oneSeqSize;
- DEBUGLOG(6, "regenerated sequence size : %u", (U32)oneSeqSize);
- op += oneSeqSize;
- }
- }
-
- /* check if reached exact end */
- DEBUGLOG(5, "ZSTD_decompressSequences_bodySplitLitBuffer: after decode loop, remaining nbSeq : %i", nbSeq);
- RETURN_ERROR_IF(nbSeq, corruption_detected, "");
- DEBUGLOG(5, "bitStream : start=%p, ptr=%p, bitsConsumed=%u", seqState.DStream.start, seqState.DStream.ptr, seqState.DStream.bitsConsumed);
- RETURN_ERROR_IF(!BIT_endOfDStream(&seqState.DStream), corruption_detected, "");
- /* save reps for next block */
- { U32 i; for (i=0; ientropy.rep[i] = (U32)(seqState.prevOffset[i]); }
- }
-
- /* last literal segment */
- if (dctx->litBufferLocation == ZSTD_split) {
- /* split hasn't been reached yet, first get dst then copy litExtraBuffer */
- size_t const lastLLSize = (size_t)(litBufferEnd - litPtr);
- DEBUGLOG(6, "copy last literals from segment : %u", (U32)lastLLSize);
- RETURN_ERROR_IF(lastLLSize > (size_t)(oend - op), dstSize_tooSmall, "");
- if (op != NULL) {
- ZSTD_memmove(op, litPtr, lastLLSize);
- op += lastLLSize;
- }
- litPtr = dctx->litExtraBuffer;
- litBufferEnd = dctx->litExtraBuffer + ZSTD_LITBUFFEREXTRASIZE;
- dctx->litBufferLocation = ZSTD_not_in_dst;
- }
- /* copy last literals from internal buffer */
- { size_t const lastLLSize = (size_t)(litBufferEnd - litPtr);
- DEBUGLOG(6, "copy last literals from internal buffer : %u", (U32)lastLLSize);
- RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, "");
- if (op != NULL) {
- ZSTD_memcpy(op, litPtr, lastLLSize);
- op += lastLLSize;
- } }
-
- DEBUGLOG(6, "decoded block of size %u bytes", (U32)(op - ostart));
- return (size_t)(op - ostart);
-}
-
-FORCE_INLINE_TEMPLATE size_t
-DONT_VECTORIZE
-ZSTD_decompressSequences_body(ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- const BYTE* ip = (const BYTE*)seqStart;
- const BYTE* const iend = ip + seqSize;
- BYTE* const ostart = (BYTE*)dst;
- BYTE* const oend = dctx->litBufferLocation == ZSTD_not_in_dst ? ZSTD_maybeNullPtrAdd(ostart, maxDstSize) : dctx->litBuffer;
- BYTE* op = ostart;
- const BYTE* litPtr = dctx->litPtr;
- const BYTE* const litEnd = litPtr + dctx->litSize;
- const BYTE* const prefixStart = (const BYTE*)(dctx->prefixStart);
- const BYTE* const vBase = (const BYTE*)(dctx->virtualStart);
- const BYTE* const dictEnd = (const BYTE*)(dctx->dictEnd);
- DEBUGLOG(5, "ZSTD_decompressSequences_body: nbSeq = %d", nbSeq);
-
- /* Regen sequences */
- if (nbSeq) {
- seqState_t seqState;
- dctx->fseEntropy = 1;
- { U32 i; for (i = 0; i < ZSTD_REP_NUM; i++) seqState.prevOffset[i] = dctx->entropy.rep[i]; }
- RETURN_ERROR_IF(
- ERR_isError(BIT_initDStream(&seqState.DStream, ip, iend - ip)),
- corruption_detected, "");
- ZSTD_initFseState(&seqState.stateLL, &seqState.DStream, dctx->LLTptr);
- ZSTD_initFseState(&seqState.stateOffb, &seqState.DStream, dctx->OFTptr);
- ZSTD_initFseState(&seqState.stateML, &seqState.DStream, dctx->MLTptr);
- assert(dst != NULL);
-
-#if defined(__GNUC__) && defined(__x86_64__)
- __asm__(".p2align 6");
- __asm__("nop");
-# if __GNUC__ >= 7
- __asm__(".p2align 5");
- __asm__("nop");
- __asm__(".p2align 3");
-# else
- __asm__(".p2align 4");
- __asm__("nop");
- __asm__(".p2align 3");
-# endif
-#endif
-
- for ( ; nbSeq ; nbSeq--) {
- seq_t const sequence = ZSTD_decodeSequence(&seqState, isLongOffset, nbSeq==1);
- size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, prefixStart, vBase, dictEnd);
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
- assert(!ZSTD_isError(oneSeqSize));
- ZSTD_assertValidSequence(dctx, op, oend, sequence, prefixStart, vBase);
-#endif
- if (UNLIKELY(ZSTD_isError(oneSeqSize)))
- return oneSeqSize;
- DEBUGLOG(6, "regenerated sequence size : %u", (U32)oneSeqSize);
- op += oneSeqSize;
- }
-
- /* check if reached exact end */
- assert(nbSeq == 0);
- RETURN_ERROR_IF(!BIT_endOfDStream(&seqState.DStream), corruption_detected, "");
- /* save reps for next block */
- { U32 i; for (i=0; ientropy.rep[i] = (U32)(seqState.prevOffset[i]); }
- }
-
- /* last literal segment */
- { size_t const lastLLSize = (size_t)(litEnd - litPtr);
- DEBUGLOG(6, "copy last literals : %u", (U32)lastLLSize);
- RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, "");
- if (op != NULL) {
- ZSTD_memcpy(op, litPtr, lastLLSize);
- op += lastLLSize;
- } }
-
- DEBUGLOG(6, "decoded block of size %u bytes", (U32)(op - ostart));
- return (size_t)(op - ostart);
-}
-
-static size_t
-ZSTD_decompressSequences_default(ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-
-static size_t
-ZSTD_decompressSequencesSplitLitBuffer_default(ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- return ZSTD_decompressSequences_bodySplitLitBuffer(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-#endif /* ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG */
-
-#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
-
-FORCE_INLINE_TEMPLATE
-
-size_t ZSTD_prefetchMatch(size_t prefetchPos, seq_t const sequence,
- const BYTE* const prefixStart, const BYTE* const dictEnd)
-{
- prefetchPos += sequence.litLength;
- { const BYTE* const matchBase = (sequence.offset > prefetchPos) ? dictEnd : prefixStart;
- /* note : this operation can overflow when seq.offset is really too large, which can only happen when input is corrupted.
- * No consequence though : memory address is only used for prefetching, not for dereferencing */
- const BYTE* const match = ZSTD_wrappedPtrSub(ZSTD_wrappedPtrAdd(matchBase, prefetchPos), sequence.offset);
- PREFETCH_L1(match); PREFETCH_L1(match+CACHELINE_SIZE); /* note : it's safe to invoke PREFETCH() on any memory address, including invalid ones */
- }
- return prefetchPos + sequence.matchLength;
-}
-
-/* This decoding function employs prefetching
- * to reduce latency impact of cache misses.
- * It's generally employed when block contains a significant portion of long-distance matches
- * or when coupled with a "cold" dictionary */
-FORCE_INLINE_TEMPLATE size_t
-ZSTD_decompressSequencesLong_body(
- ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- const BYTE* ip = (const BYTE*)seqStart;
- const BYTE* const iend = ip + seqSize;
- BYTE* const ostart = (BYTE*)dst;
- BYTE* const oend = dctx->litBufferLocation == ZSTD_in_dst ? dctx->litBuffer : ZSTD_maybeNullPtrAdd(ostart, maxDstSize);
- BYTE* op = ostart;
- const BYTE* litPtr = dctx->litPtr;
- const BYTE* litBufferEnd = dctx->litBufferEnd;
- const BYTE* const prefixStart = (const BYTE*) (dctx->prefixStart);
- const BYTE* const dictStart = (const BYTE*) (dctx->virtualStart);
- const BYTE* const dictEnd = (const BYTE*) (dctx->dictEnd);
-
- /* Regen sequences */
- if (nbSeq) {
-#define STORED_SEQS 8
-#define STORED_SEQS_MASK (STORED_SEQS-1)
-#define ADVANCED_SEQS STORED_SEQS
- seq_t sequences[STORED_SEQS];
- int const seqAdvance = MIN(nbSeq, ADVANCED_SEQS);
- seqState_t seqState;
- int seqNb;
- size_t prefetchPos = (size_t)(op-prefixStart); /* track position relative to prefixStart */
-
- dctx->fseEntropy = 1;
- { int i; for (i=0; ientropy.rep[i]; }
- assert(dst != NULL);
- assert(iend >= ip);
- RETURN_ERROR_IF(
- ERR_isError(BIT_initDStream(&seqState.DStream, ip, iend-ip)),
- corruption_detected, "");
- ZSTD_initFseState(&seqState.stateLL, &seqState.DStream, dctx->LLTptr);
- ZSTD_initFseState(&seqState.stateOffb, &seqState.DStream, dctx->OFTptr);
- ZSTD_initFseState(&seqState.stateML, &seqState.DStream, dctx->MLTptr);
-
- /* prepare in advance */
- for (seqNb=0; seqNblitBufferLocation == ZSTD_split && litPtr + sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK].litLength > dctx->litBufferEnd) {
- /* lit buffer is reaching split point, empty out the first buffer and transition to litExtraBuffer */
- const size_t leftoverLit = dctx->litBufferEnd - litPtr;
- if (leftoverLit)
- {
- RETURN_ERROR_IF(leftoverLit > (size_t)(oend - op), dstSize_tooSmall, "remaining lit must fit within dstBuffer");
- ZSTD_safecopyDstBeforeSrc(op, litPtr, leftoverLit);
- sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK].litLength -= leftoverLit;
- op += leftoverLit;
- }
- litPtr = dctx->litExtraBuffer;
- litBufferEnd = dctx->litExtraBuffer + ZSTD_LITBUFFEREXTRASIZE;
- dctx->litBufferLocation = ZSTD_not_in_dst;
- { size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd);
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
- assert(!ZSTD_isError(oneSeqSize));
- ZSTD_assertValidSequence(dctx, op, oend, sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], prefixStart, dictStart);
-#endif
- if (ZSTD_isError(oneSeqSize)) return oneSeqSize;
-
- prefetchPos = ZSTD_prefetchMatch(prefetchPos, sequence, prefixStart, dictEnd);
- sequences[seqNb & STORED_SEQS_MASK] = sequence;
- op += oneSeqSize;
- } }
- else
- {
- /* lit buffer is either wholly contained in first or second split, or not split at all*/
- size_t const oneSeqSize = dctx->litBufferLocation == ZSTD_split ?
- ZSTD_execSequenceSplitLitBuffer(op, oend, litPtr + sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK].litLength - WILDCOPY_OVERLENGTH, sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd) :
- ZSTD_execSequence(op, oend, sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd);
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
- assert(!ZSTD_isError(oneSeqSize));
- ZSTD_assertValidSequence(dctx, op, oend, sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], prefixStart, dictStart);
-#endif
- if (ZSTD_isError(oneSeqSize)) return oneSeqSize;
-
- prefetchPos = ZSTD_prefetchMatch(prefetchPos, sequence, prefixStart, dictEnd);
- sequences[seqNb & STORED_SEQS_MASK] = sequence;
- op += oneSeqSize;
- }
- }
- RETURN_ERROR_IF(!BIT_endOfDStream(&seqState.DStream), corruption_detected, "");
-
- /* finish queue */
- seqNb -= seqAdvance;
- for ( ; seqNblitBufferLocation == ZSTD_split && litPtr + sequence->litLength > dctx->litBufferEnd) {
- const size_t leftoverLit = dctx->litBufferEnd - litPtr;
- if (leftoverLit) {
- RETURN_ERROR_IF(leftoverLit > (size_t)(oend - op), dstSize_tooSmall, "remaining lit must fit within dstBuffer");
- ZSTD_safecopyDstBeforeSrc(op, litPtr, leftoverLit);
- sequence->litLength -= leftoverLit;
- op += leftoverLit;
- }
- litPtr = dctx->litExtraBuffer;
- litBufferEnd = dctx->litExtraBuffer + ZSTD_LITBUFFEREXTRASIZE;
- dctx->litBufferLocation = ZSTD_not_in_dst;
- { size_t const oneSeqSize = ZSTD_execSequence(op, oend, *sequence, &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd);
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
- assert(!ZSTD_isError(oneSeqSize));
- ZSTD_assertValidSequence(dctx, op, oend, sequences[seqNb&STORED_SEQS_MASK], prefixStart, dictStart);
-#endif
- if (ZSTD_isError(oneSeqSize)) return oneSeqSize;
- op += oneSeqSize;
- }
- }
- else
- {
- size_t const oneSeqSize = dctx->litBufferLocation == ZSTD_split ?
- ZSTD_execSequenceSplitLitBuffer(op, oend, litPtr + sequence->litLength - WILDCOPY_OVERLENGTH, *sequence, &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd) :
- ZSTD_execSequence(op, oend, *sequence, &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd);
-#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) && defined(FUZZING_ASSERT_VALID_SEQUENCE)
- assert(!ZSTD_isError(oneSeqSize));
- ZSTD_assertValidSequence(dctx, op, oend, sequences[seqNb&STORED_SEQS_MASK], prefixStart, dictStart);
-#endif
- if (ZSTD_isError(oneSeqSize)) return oneSeqSize;
- op += oneSeqSize;
- }
- }
-
- /* save reps for next block */
- { U32 i; for (i=0; ientropy.rep[i] = (U32)(seqState.prevOffset[i]); }
- }
-
- /* last literal segment */
- if (dctx->litBufferLocation == ZSTD_split) { /* first deplete literal buffer in dst, then copy litExtraBuffer */
- size_t const lastLLSize = litBufferEnd - litPtr;
- RETURN_ERROR_IF(lastLLSize > (size_t)(oend - op), dstSize_tooSmall, "");
- if (op != NULL) {
- ZSTD_memmove(op, litPtr, lastLLSize);
- op += lastLLSize;
- }
- litPtr = dctx->litExtraBuffer;
- litBufferEnd = dctx->litExtraBuffer + ZSTD_LITBUFFEREXTRASIZE;
- }
- { size_t const lastLLSize = litBufferEnd - litPtr;
- RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, "");
- if (op != NULL) {
- ZSTD_memmove(op, litPtr, lastLLSize);
- op += lastLLSize;
- }
- }
-
- return (size_t)(op - ostart);
-}
-
-static size_t
-ZSTD_decompressSequencesLong_default(ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-#endif /* ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT */
-
-
-
-#if DYNAMIC_BMI2
-
-#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG
-static BMI2_TARGET_ATTRIBUTE size_t
-DONT_VECTORIZE
-ZSTD_decompressSequences_bmi2(ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-static BMI2_TARGET_ATTRIBUTE size_t
-DONT_VECTORIZE
-ZSTD_decompressSequencesSplitLitBuffer_bmi2(ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- return ZSTD_decompressSequences_bodySplitLitBuffer(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-#endif /* ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG */
-
-#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
-static BMI2_TARGET_ATTRIBUTE size_t
-ZSTD_decompressSequencesLong_bmi2(ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-#endif /* ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT */
-
-#endif /* DYNAMIC_BMI2 */
-
-typedef size_t (*ZSTD_decompressSequences_t)(
- ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset);
-
-#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG
-static size_t
-ZSTD_decompressSequences(ZSTD_DCtx* dctx, void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- DEBUGLOG(5, "ZSTD_decompressSequences");
-#if DYNAMIC_BMI2
- if (ZSTD_DCtx_get_bmi2(dctx)) {
- return ZSTD_decompressSequences_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
- }
-#endif
- return ZSTD_decompressSequences_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-static size_t
-ZSTD_decompressSequencesSplitLitBuffer(ZSTD_DCtx* dctx, void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- DEBUGLOG(5, "ZSTD_decompressSequencesSplitLitBuffer");
-#if DYNAMIC_BMI2
- if (ZSTD_DCtx_get_bmi2(dctx)) {
- return ZSTD_decompressSequencesSplitLitBuffer_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
- }
-#endif
- return ZSTD_decompressSequencesSplitLitBuffer_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-#endif /* ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG */
-
-
-#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
-/* ZSTD_decompressSequencesLong() :
- * decompression function triggered when a minimum share of offsets is considered "long",
- * aka out of cache.
- * note : "long" definition seems overloaded here, sometimes meaning "wider than bitstream register", and sometimes meaning "farther than memory cache distance".
- * This function will try to mitigate main memory latency through the use of prefetching */
-static size_t
-ZSTD_decompressSequencesLong(ZSTD_DCtx* dctx,
- void* dst, size_t maxDstSize,
- const void* seqStart, size_t seqSize, int nbSeq,
- const ZSTD_longOffset_e isLongOffset)
-{
- DEBUGLOG(5, "ZSTD_decompressSequencesLong");
-#if DYNAMIC_BMI2
- if (ZSTD_DCtx_get_bmi2(dctx)) {
- return ZSTD_decompressSequencesLong_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
- }
-#endif
- return ZSTD_decompressSequencesLong_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
-}
-#endif /* ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT */
-
-
-/**
- * @returns The total size of the history referenceable by zstd, including
- * both the prefix and the extDict. At @p op any offset larger than this
- * is invalid.
- */
-static size_t ZSTD_totalHistorySize(BYTE* op, BYTE const* virtualStart)
-{
- return (size_t)(op - virtualStart);
-}
-
-typedef struct {
- unsigned longOffsetShare;
- unsigned maxNbAdditionalBits;
-} ZSTD_OffsetInfo;
-
-/* ZSTD_getOffsetInfo() :
- * condition : offTable must be valid
- * @return : "share" of long offsets (arbitrarily defined as > (1<<23))
- * compared to maximum possible of (1< 22) info.longOffsetShare += 1;
- }
-
- assert(tableLog <= OffFSELog);
- info.longOffsetShare <<= (OffFSELog - tableLog); /* scale to OffFSELog */
- }
-
- return info;
-}
-
-/**
- * @returns The maximum offset we can decode in one read of our bitstream, without
- * reloading more bits in the middle of the offset bits read. Any offsets larger
- * than this must use the long offset decoder.
- */
-static size_t ZSTD_maxShortOffset(void)
-{
- if (MEM_64bits()) {
- /* We can decode any offset without reloading bits.
- * This might change if the max window size grows.
- */
- ZSTD_STATIC_ASSERT(ZSTD_WINDOWLOG_MAX <= 31);
- return (size_t)-1;
- } else {
- /* The maximum offBase is (1 << (STREAM_ACCUMULATOR_MIN + 1)) - 1.
- * This offBase would require STREAM_ACCUMULATOR_MIN extra bits.
- * Then we have to subtract ZSTD_REP_NUM to get the maximum possible offset.
- */
- size_t const maxOffbase = ((size_t)1 << (STREAM_ACCUMULATOR_MIN + 1)) - 1;
- size_t const maxOffset = maxOffbase - ZSTD_REP_NUM;
- assert(ZSTD_highbit32((U32)maxOffbase) == STREAM_ACCUMULATOR_MIN);
- return maxOffset;
- }
-}
-
-size_t
-ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize, const streaming_operation streaming)
-{ /* blockType == blockCompressed */
- const BYTE* ip = (const BYTE*)src;
- DEBUGLOG(5, "ZSTD_decompressBlock_internal (cSize : %u)", (unsigned)srcSize);
-
- /* Note : the wording of the specification
- * allows compressed block to be sized exactly ZSTD_blockSizeMax(dctx).
- * This generally does not happen, as it makes little sense,
- * since an uncompressed block would feature same size and have no decompression cost.
- * Also, note that decoder from reference libzstd before < v1.5.4
- * would consider this edge case as an error.
- * As a consequence, avoid generating compressed blocks of size ZSTD_blockSizeMax(dctx)
- * for broader compatibility with the deployed ecosystem of zstd decoders */
- RETURN_ERROR_IF(srcSize > ZSTD_blockSizeMax(dctx), srcSize_wrong, "");
-
- /* Decode literals section */
- { size_t const litCSize = ZSTD_decodeLiteralsBlock(dctx, src, srcSize, dst, dstCapacity, streaming);
- DEBUGLOG(5, "ZSTD_decodeLiteralsBlock : cSize=%u, nbLiterals=%zu", (U32)litCSize, dctx->litSize);
- if (ZSTD_isError(litCSize)) return litCSize;
- ip += litCSize;
- srcSize -= litCSize;
- }
-
- /* Build Decoding Tables */
- {
- /* Compute the maximum block size, which must also work when !frame and fParams are unset.
- * Additionally, take the min with dstCapacity to ensure that the totalHistorySize fits in a size_t.
- */
- size_t const blockSizeMax = MIN(dstCapacity, ZSTD_blockSizeMax(dctx));
- size_t const totalHistorySize = ZSTD_totalHistorySize(ZSTD_maybeNullPtrAdd((BYTE*)dst, blockSizeMax), (BYTE const*)dctx->virtualStart);
- /* isLongOffset must be true if there are long offsets.
- * Offsets are long if they are larger than ZSTD_maxShortOffset().
- * We don't expect that to be the case in 64-bit mode.
- *
- * We check here to see if our history is large enough to allow long offsets.
- * If it isn't, then we can't possible have (valid) long offsets. If the offset
- * is invalid, then it is okay to read it incorrectly.
- *
- * If isLongOffsets is true, then we will later check our decoding table to see
- * if it is even possible to generate long offsets.
- */
- ZSTD_longOffset_e isLongOffset = (ZSTD_longOffset_e)(MEM_32bits() && (totalHistorySize > ZSTD_maxShortOffset()));
- /* These macros control at build-time which decompressor implementation
- * we use. If neither is defined, we do some inspection and dispatch at
- * runtime.
- */
-#if !defined(ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT) && \
- !defined(ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG)
- int usePrefetchDecoder = dctx->ddictIsCold;
-#else
- /* Set to 1 to avoid computing offset info if we don't need to.
- * Otherwise this value is ignored.
- */
- int usePrefetchDecoder = 1;
-#endif
- int nbSeq;
- size_t const seqHSize = ZSTD_decodeSeqHeaders(dctx, &nbSeq, ip, srcSize);
- if (ZSTD_isError(seqHSize)) return seqHSize;
- ip += seqHSize;
- srcSize -= seqHSize;
-
- RETURN_ERROR_IF((dst == NULL || dstCapacity == 0) && nbSeq > 0, dstSize_tooSmall, "NULL not handled");
- RETURN_ERROR_IF(MEM_64bits() && sizeof(size_t) == sizeof(void*) && (size_t)(-1) - (size_t)dst < (size_t)(1 << 20), dstSize_tooSmall,
- "invalid dst");
-
- /* If we could potentially have long offsets, or we might want to use the prefetch decoder,
- * compute information about the share of long offsets, and the maximum nbAdditionalBits.
- * NOTE: could probably use a larger nbSeq limit
- */
- if (isLongOffset || (!usePrefetchDecoder && (totalHistorySize > (1u << 24)) && (nbSeq > 8))) {
- ZSTD_OffsetInfo const info = ZSTD_getOffsetInfo(dctx->OFTptr, nbSeq);
- if (isLongOffset && info.maxNbAdditionalBits <= STREAM_ACCUMULATOR_MIN) {
- /* If isLongOffset, but the maximum number of additional bits that we see in our table is small
- * enough, then we know it is impossible to have too long an offset in this block, so we can
- * use the regular offset decoder.
- */
- isLongOffset = ZSTD_lo_isRegularOffset;
- }
- if (!usePrefetchDecoder) {
- U32 const minShare = MEM_64bits() ? 7 : 20; /* heuristic values, correspond to 2.73% and 7.81% */
- usePrefetchDecoder = (info.longOffsetShare >= minShare);
- }
- }
-
- dctx->ddictIsCold = 0;
-
-#if !defined(ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT) && \
- !defined(ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG)
- if (usePrefetchDecoder) {
-#else
- (void)usePrefetchDecoder;
- {
-#endif
-#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
- return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset);
-#endif
- }
-
-#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG
- /* else */
- if (dctx->litBufferLocation == ZSTD_split)
- return ZSTD_decompressSequencesSplitLitBuffer(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset);
- else
- return ZSTD_decompressSequences(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset);
-#endif
- }
-}
-
-
-ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
-void ZSTD_checkContinuity(ZSTD_DCtx* dctx, const void* dst, size_t dstSize)
-{
- if (dst != dctx->previousDstEnd && dstSize > 0) { /* not contiguous */
- dctx->dictEnd = dctx->previousDstEnd;
- dctx->virtualStart = (const char*)dst - ((const char*)(dctx->previousDstEnd) - (const char*)(dctx->prefixStart));
- dctx->prefixStart = dst;
- dctx->previousDstEnd = dst;
- }
-}
-
-
-size_t ZSTD_decompressBlock_deprecated(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize)
-{
- size_t dSize;
- dctx->isFrameDecompression = 0;
- ZSTD_checkContinuity(dctx, dst, dstCapacity);
- dSize = ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize, not_streaming);
- FORWARD_IF_ERROR(dSize, "");
- dctx->previousDstEnd = (char*)dst + dSize;
- return dSize;
-}
-
-
-/* NOTE: Must just wrap ZSTD_decompressBlock_deprecated() */
-size_t ZSTD_decompressBlock(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize)
-{
- return ZSTD_decompressBlock_deprecated(dctx, dst, dstCapacity, src, srcSize);
-}
diff --git a/src/bled/zstd_decompress_block.h b/src/bled/zstd_decompress_block.h
deleted file mode 100644
index 08261243..00000000
--- a/src/bled/zstd_decompress_block.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-
-#ifndef ZSTD_DEC_BLOCK_H
-#define ZSTD_DEC_BLOCK_H
-
-/*-*******************************************************
- * Dependencies
- *********************************************************/
-#include "zstd_deps.h" /* size_t */
-#include "zstd.h" /* DCtx, and some public functions */
-#include "zstd_internal.h" /* blockProperties_t, and some public functions */
-#include "zstd_decompress_internal.h" /* ZSTD_seqSymbol */
-
-
-/* === Prototypes === */
-
-/* note: prototypes already published within `zstd.h` :
- * ZSTD_decompressBlock()
- */
-
-/* note: prototypes already published within `zstd_internal.h` :
- * ZSTD_getcBlockSize()
- * ZSTD_decodeSeqHeaders()
- */
-
-
- /* Streaming state is used to inform allocation of the literal buffer */
-typedef enum {
- not_streaming = 0,
- is_streaming = 1
-} streaming_operation;
-
-/* ZSTD_decompressBlock_internal() :
- * decompress block, starting at `src`,
- * into destination buffer `dst`.
- * @return : decompressed block size,
- * or an error code (which can be tested using ZSTD_isError())
- */
-size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize, const streaming_operation streaming);
-
-/* ZSTD_buildFSETable() :
- * generate FSE decoding table for one symbol (ll, ml or off)
- * this function must be called with valid parameters only
- * (dt is large enough, normalizedCounter distribution total is a power of 2, max is within range, etc.)
- * in which case it cannot fail.
- * The workspace must be 4-byte aligned and at least ZSTD_BUILD_FSE_TABLE_WKSP_SIZE bytes, which is
- * defined in zstd_decompress_internal.h.
- * Internal use only.
- */
-void ZSTD_buildFSETable(ZSTD_seqSymbol* dt,
- const short* normalizedCounter, unsigned maxSymbolValue,
- const U32* baseValue, const U8* nbAdditionalBits,
- unsigned tableLog, void* wksp, size_t wkspSize,
- int bmi2);
-
-/* Internal definition of ZSTD_decompressBlock() to avoid deprecation warnings. */
-size_t ZSTD_decompressBlock_deprecated(ZSTD_DCtx* dctx,
- void* dst, size_t dstCapacity,
- const void* src, size_t srcSize);
-
-
-#endif /* ZSTD_DEC_BLOCK_H */
diff --git a/src/bled/zstd_decompress_internal.h b/src/bled/zstd_decompress_internal.h
deleted file mode 100644
index 6abf502f..00000000
--- a/src/bled/zstd_decompress_internal.h
+++ /dev/null
@@ -1,240 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-
-/* zstd_decompress_internal:
- * objects and definitions shared within lib/decompress modules */
-
- #ifndef ZSTD_DECOMPRESS_INTERNAL_H
- #define ZSTD_DECOMPRESS_INTERNAL_H
-
-
-/*-*******************************************************
- * Dependencies
- *********************************************************/
-#include "zstd_mem.h" /* BYTE, U16, U32 */
-#include "zstd_internal.h" /* constants : MaxLL, MaxML, MaxOff, LLFSELog, etc. */
-
-
-
-/*-*******************************************************
- * Constants
- *********************************************************/
-static UNUSED_ATTR const U32 LL_base[MaxLL+1] = {
- 0, 1, 2, 3, 4, 5, 6, 7,
- 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 18, 20, 22, 24, 28, 32, 40,
- 48, 64, 0x80, 0x100, 0x200, 0x400, 0x800, 0x1000,
- 0x2000, 0x4000, 0x8000, 0x10000 };
-
-static UNUSED_ATTR const U32 OF_base[MaxOff+1] = {
- 0, 1, 1, 5, 0xD, 0x1D, 0x3D, 0x7D,
- 0xFD, 0x1FD, 0x3FD, 0x7FD, 0xFFD, 0x1FFD, 0x3FFD, 0x7FFD,
- 0xFFFD, 0x1FFFD, 0x3FFFD, 0x7FFFD, 0xFFFFD, 0x1FFFFD, 0x3FFFFD, 0x7FFFFD,
- 0xFFFFFD, 0x1FFFFFD, 0x3FFFFFD, 0x7FFFFFD, 0xFFFFFFD, 0x1FFFFFFD, 0x3FFFFFFD, 0x7FFFFFFD };
-
-static UNUSED_ATTR const U8 OF_bits[MaxOff+1] = {
- 0, 1, 2, 3, 4, 5, 6, 7,
- 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 23,
- 24, 25, 26, 27, 28, 29, 30, 31 };
-
-static UNUSED_ATTR const U32 ML_base[MaxML+1] = {
- 3, 4, 5, 6, 7, 8, 9, 10,
- 11, 12, 13, 14, 15, 16, 17, 18,
- 19, 20, 21, 22, 23, 24, 25, 26,
- 27, 28, 29, 30, 31, 32, 33, 34,
- 35, 37, 39, 41, 43, 47, 51, 59,
- 67, 83, 99, 0x83, 0x103, 0x203, 0x403, 0x803,
- 0x1003, 0x2003, 0x4003, 0x8003, 0x10003 };
-
-
-/*-*******************************************************
- * Decompression types
- *********************************************************/
- typedef struct {
- U32 fastMode;
- U32 tableLog;
- } ZSTD_seqSymbol_header;
-
- typedef struct {
- U16 nextState;
- BYTE nbAdditionalBits;
- BYTE nbBits;
- U32 baseValue;
- } ZSTD_seqSymbol;
-
- #define SEQSYMBOL_TABLE_SIZE(log) (1 + (1 << (log)))
-
-#define ZSTD_BUILD_FSE_TABLE_WKSP_SIZE (sizeof(S16) * (MaxSeq + 1) + (1u << MaxFSELog) + sizeof(U64))
-#define ZSTD_BUILD_FSE_TABLE_WKSP_SIZE_U32 ((ZSTD_BUILD_FSE_TABLE_WKSP_SIZE + sizeof(U32) - 1) / sizeof(U32))
-#define ZSTD_HUFFDTABLE_CAPACITY_LOG 12
-
-typedef struct {
- ZSTD_seqSymbol LLTable[SEQSYMBOL_TABLE_SIZE(LLFSELog)]; /* Note : Space reserved for FSE Tables */
- ZSTD_seqSymbol OFTable[SEQSYMBOL_TABLE_SIZE(OffFSELog)]; /* is also used as temporary workspace while building hufTable during DDict creation */
- ZSTD_seqSymbol MLTable[SEQSYMBOL_TABLE_SIZE(MLFSELog)]; /* and therefore must be at least HUF_DECOMPRESS_WORKSPACE_SIZE large */
- HUF_DTable hufTable[HUF_DTABLE_SIZE(ZSTD_HUFFDTABLE_CAPACITY_LOG)]; /* can accommodate HUF_decompress4X */
- U32 rep[ZSTD_REP_NUM];
- U32 workspace[ZSTD_BUILD_FSE_TABLE_WKSP_SIZE_U32];
-} ZSTD_entropyDTables_t;
-
-typedef enum { ZSTDds_getFrameHeaderSize, ZSTDds_decodeFrameHeader,
- ZSTDds_decodeBlockHeader, ZSTDds_decompressBlock,
- ZSTDds_decompressLastBlock, ZSTDds_checkChecksum,
- ZSTDds_decodeSkippableHeader, ZSTDds_skipFrame } ZSTD_dStage;
-
-typedef enum { zdss_init=0, zdss_loadHeader,
- zdss_read, zdss_load, zdss_flush } ZSTD_dStreamStage;
-
-typedef enum {
- ZSTD_use_indefinitely = -1, /* Use the dictionary indefinitely */
- ZSTD_dont_use = 0, /* Do not use the dictionary (if one exists free it) */
- ZSTD_use_once = 1 /* Use the dictionary once and set to ZSTD_dont_use */
-} ZSTD_dictUses_e;
-
-/* Hashset for storing references to multiple ZSTD_DDict within ZSTD_DCtx */
-typedef struct {
- const ZSTD_DDict** ddictPtrTable;
- size_t ddictPtrTableSize;
- size_t ddictPtrCount;
-} ZSTD_DDictHashSet;
-
-#ifndef ZSTD_DECODER_INTERNAL_BUFFER
-# define ZSTD_DECODER_INTERNAL_BUFFER (1 << 16)
-#endif
-
-#define ZSTD_LBMIN 64
-#define ZSTD_LBMAX (128 << 10)
-
-/* extra buffer, compensates when dst is not large enough to store litBuffer */
-#define ZSTD_LITBUFFEREXTRASIZE BOUNDED(ZSTD_LBMIN, ZSTD_DECODER_INTERNAL_BUFFER, ZSTD_LBMAX)
-
-typedef enum {
- ZSTD_not_in_dst = 0, /* Stored entirely within litExtraBuffer */
- ZSTD_in_dst = 1, /* Stored entirely within dst (in memory after current output write) */
- ZSTD_split = 2 /* Split between litExtraBuffer and dst */
-} ZSTD_litLocation_e;
-
-struct ZSTD_DCtx_s
-{
- const ZSTD_seqSymbol* LLTptr;
- const ZSTD_seqSymbol* MLTptr;
- const ZSTD_seqSymbol* OFTptr;
- const HUF_DTable* HUFptr;
- ZSTD_entropyDTables_t entropy;
- U32 workspace[HUF_DECOMPRESS_WORKSPACE_SIZE_U32]; /* space needed when building huffman tables */
- const void* previousDstEnd; /* detect continuity */
- const void* prefixStart; /* start of current segment */
- const void* virtualStart; /* virtual start of previous segment if it was just before current one */
- const void* dictEnd; /* end of previous segment */
- size_t expected;
- ZSTD_frameHeader fParams;
- U64 processedCSize;
- U64 decodedSize;
- blockType_e bType; /* used in ZSTD_decompressContinue(), store blockType between block header decoding and block decompression stages */
- ZSTD_dStage stage;
- U32 litEntropy;
- U32 fseEntropy;
- XXH64_state_t xxhState;
- size_t headerSize;
- ZSTD_format_e format;
- ZSTD_forceIgnoreChecksum_e forceIgnoreChecksum; /* User specified: if == 1, will ignore checksums in compressed frame. Default == 0 */
- U32 validateChecksum; /* if == 1, will validate checksum. Is == 1 if (fParams.checksumFlag == 1) and (forceIgnoreChecksum == 0). */
- const BYTE* litPtr;
- ZSTD_customMem customMem;
- size_t litSize;
- size_t rleSize;
- size_t staticSize;
- int isFrameDecompression;
-#if DYNAMIC_BMI2 != 0
- int bmi2; /* == 1 if the CPU supports BMI2 and 0 otherwise. CPU support is determined dynamically once per context lifetime. */
-#endif
-
- /* dictionary */
- ZSTD_DDict* ddictLocal;
- const ZSTD_DDict* ddict; /* set by ZSTD_initDStream_usingDDict(), or ZSTD_DCtx_refDDict() */
- U32 dictID;
- int ddictIsCold; /* if == 1 : dictionary is "new" for working context, and presumed "cold" (not in cpu cache) */
- ZSTD_dictUses_e dictUses;
- ZSTD_DDictHashSet* ddictSet; /* Hash set for multiple ddicts */
- ZSTD_refMultipleDDicts_e refMultipleDDicts; /* User specified: if == 1, will allow references to multiple DDicts. Default == 0 (disabled) */
- int disableHufAsm;
- int maxBlockSizeParam;
-
- /* streaming */
- ZSTD_dStreamStage streamStage;
- char* inBuff;
- size_t inBuffSize;
- size_t inPos;
- size_t maxWindowSize;
- char* outBuff;
- size_t outBuffSize;
- size_t outStart;
- size_t outEnd;
- size_t lhSize;
-#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
- void* legacyContext;
- U32 previousLegacyVersion;
- U32 legacyVersion;
-#endif
- U32 hostageByte;
- int noForwardProgress;
- ZSTD_bufferMode_e outBufferMode;
- ZSTD_outBuffer expectedOutBuffer;
-
- /* workspace */
- BYTE* litBuffer;
- const BYTE* litBufferEnd;
- ZSTD_litLocation_e litBufferLocation;
- BYTE litExtraBuffer[ZSTD_LITBUFFEREXTRASIZE + WILDCOPY_OVERLENGTH]; /* literal buffer can be split between storage within dst and within this scratch buffer */
- BYTE headerBuffer[ZSTD_FRAMEHEADERSIZE_MAX];
-
- size_t oversizedDuration;
-
-#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
- void const* dictContentBeginForFuzzing;
- void const* dictContentEndForFuzzing;
-#endif
-
- /* Tracing */
-#if ZSTD_TRACE
- ZSTD_TraceCtx traceCtx;
-#endif
-}; /* typedef'd to ZSTD_DCtx within "zstd.h" */
-
-MEM_STATIC int ZSTD_DCtx_get_bmi2(const struct ZSTD_DCtx_s *dctx) {
-#if DYNAMIC_BMI2 != 0
- return dctx->bmi2;
-#else
- (void)dctx;
- return 0;
-#endif
-}
-
-/*-*******************************************************
- * Shared internal functions
- *********************************************************/
-
-/*! ZSTD_loadDEntropy() :
- * dict : must point at beginning of a valid zstd dictionary.
- * @return : size of dictionary header (size of magic number + dict ID + entropy tables) */
-size_t ZSTD_loadDEntropy(ZSTD_entropyDTables_t* entropy,
- const void* const dict, size_t const dictSize);
-
-/*! ZSTD_checkContinuity() :
- * check if next `dst` follows previous position, where decompression ended.
- * If yes, do nothing (continue on current segment).
- * If not, classify previous segment as "external dictionary", and start a new segment.
- * This function cannot fail. */
-void ZSTD_checkContinuity(ZSTD_DCtx* dctx, const void* dst, size_t dstSize);
-
-
-#endif /* ZSTD_DECOMPRESS_INTERNAL_H */
diff --git a/src/bled/zstd_deps.h b/src/bled/zstd_deps.h
deleted file mode 100644
index ce6cca4f..00000000
--- a/src/bled/zstd_deps.h
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-/* This file provides common libc dependencies that zstd requires.
- * The purpose is to allow replacing this file with a custom implementation
- * to compile zstd without libc support.
- */
-
-/* Need:
- * NULL
- * INT_MAX
- * UINT_MAX
- * ZSTD_memcpy()
- * ZSTD_memset()
- * ZSTD_memmove()
- */
-#ifndef ZSTD_DEPS_COMMON
-#define ZSTD_DEPS_COMMON
-
-/* Even though we use qsort_r only for the dictionary builder, the macro
- * _GNU_SOURCE has to be declared *before* the inclusion of any standard
- * header and the script 'combine.sh' combines the whole zstd source code
- * in a single file.
- */
-#if defined(__linux) || defined(__linux__) || defined(linux) || defined(__gnu_linux__) || \
- defined(__CYGWIN__) || defined(__MSYS__)
-#if !defined(_GNU_SOURCE) && !defined(__ANDROID__) /* NDK doesn't ship qsort_r(). */
-#define _GNU_SOURCE
-#endif
-#endif
-
-#include
-#include
-#include
-#include
-#include "zstd_config.h"
-
-#if defined(__GNUC__) && __GNUC__ >= 4
-# define ZSTD_memcpy(d,s,l) __builtin_memcpy((d),(s),(l))
-# define ZSTD_memmove(d,s,l) __builtin_memmove((d),(s),(l))
-# define ZSTD_memset(p,v,l) __builtin_memset((p),(v),(l))
-#else
-# define ZSTD_memcpy(d,s,l) memcpy((d),(s),(l))
-# define ZSTD_memmove(d,s,l) memmove((d),(s),(l))
-# define ZSTD_memset(p,v,l) memset((p),(v),(l))
-#endif
-
-#endif /* ZSTD_DEPS_COMMON */
-
-/* Need:
- * ZSTD_malloc()
- * ZSTD_free()
- * ZSTD_calloc()
- */
-#ifdef ZSTD_DEPS_NEED_MALLOC
-#ifndef ZSTD_DEPS_MALLOC
-#define ZSTD_DEPS_MALLOC
-
-#include
-
-#define ZSTD_malloc(s) malloc(s)
-#define ZSTD_calloc(n,s) calloc((n), (s))
-#define ZSTD_free(p) free((p))
-
-#endif /* ZSTD_DEPS_MALLOC */
-#endif /* ZSTD_DEPS_NEED_MALLOC */
-
-/*
- * Provides 64-bit math support.
- * Need:
- * U64 ZSTD_div64(U64 dividend, U32 divisor)
- */
-#ifdef ZSTD_DEPS_NEED_MATH64
-#ifndef ZSTD_DEPS_MATH64
-#define ZSTD_DEPS_MATH64
-
-#define ZSTD_div64(dividend, divisor) ((dividend) / (divisor))
-
-#endif /* ZSTD_DEPS_MATH64 */
-#endif /* ZSTD_DEPS_NEED_MATH64 */
-
-/* Need:
- * assert()
- */
-#ifdef ZSTD_DEPS_NEED_ASSERT
-#ifndef ZSTD_DEPS_ASSERT
-#define ZSTD_DEPS_ASSERT
-
-#include
-
-#endif /* ZSTD_DEPS_ASSERT */
-
-#else
-
-#ifndef assert
-#define assert(condition) ((void)0)
-#endif
-
-#endif /* ZSTD_DEPS_NEED_ASSERT */
-
-/* Need:
- * ZSTD_DEBUG_PRINT()
- */
-#ifdef ZSTD_DEPS_NEED_IO
-#ifndef ZSTD_DEPS_IO
-#define ZSTD_DEPS_IO
-
-#include
-#define ZSTD_DEBUG_PRINT(...) fprintf(stderr, __VA_ARGS__)
-
-#endif /* ZSTD_DEPS_IO */
-#endif /* ZSTD_DEPS_NEED_IO */
-
-/* Only requested when is known to be present.
- * Need:
- * intptr_t
- */
-#ifdef ZSTD_DEPS_NEED_STDINT
-#ifndef ZSTD_DEPS_STDINT
-#define ZSTD_DEPS_STDINT
-
-#include
-
-#endif /* ZSTD_DEPS_STDINT */
-#endif /* ZSTD_DEPS_NEED_STDINT */
-
-#define DEBUG_STATIC_ASSERT(c) (void)sizeof(char[(c) ? 1 : -1])
-
-#include "libbb.h"
-
-#if (DEBUGLEVEL >= 1)
-#define RAWLOG(l, ...) { if (l <= ZSTD_DEBUGLEVEL) bb_printf(__VA_ARGS__); }
-#define DEBUGLOG(l, ...) { if (l <= ZSTD_DEBUGLEVEL) bb_printf(__VA_ARGS__); }
-#else
-#define RAWLOG(l, ...) do { } while (0)
-#define DEBUGLOG(l, ...) do { } while (0)
-#endif
diff --git a/src/bled/zstd_entropy_common.c b/src/bled/zstd_entropy_common.c
deleted file mode 100644
index e66e7ee2..00000000
--- a/src/bled/zstd_entropy_common.c
+++ /dev/null
@@ -1,340 +0,0 @@
-/* ******************************************************************
- * Common functions of New Generation Entropy library
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * You can contact the author at :
- * - FSE+HUF source repository : https://github.com/Cyan4973/FiniteStateEntropy
- * - Public forum : https://groups.google.com/forum/#!forum/lz4c
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
-****************************************************************** */
-
-/* *************************************
-* Dependencies
-***************************************/
-#include "zstd_mem.h"
-#include "zstd_error_private.h" /* ERR_*, ERROR */
-#define FSE_STATIC_LINKING_ONLY /* FSE_MIN_TABLELOG */
-#include "fse.h"
-#include "huf.h"
-#include "zstd_bits.h" /* ZSDT_highbit32, ZSTD_countTrailingZeros32 */
-
-
-/*=== Version ===*/
-unsigned FSE_versionNumber(void) { return FSE_VERSION_NUMBER; }
-
-
-/*=== Error Management ===*/
-unsigned FSE_isError(size_t code) { return ERR_isError(code); }
-const char* FSE_getErrorName(size_t code) { return ERR_getErrorName(code); }
-
-unsigned HUF_isError(size_t code) { return ERR_isError(code); }
-const char* HUF_getErrorName(size_t code) { return ERR_getErrorName(code); }
-
-
-/*-**************************************************************
-* FSE NCount encoding-decoding
-****************************************************************/
-FORCE_INLINE_TEMPLATE
-size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr,
- const void* headerBuffer, size_t hbSize)
-{
- const BYTE* const istart = (const BYTE*) headerBuffer;
- const BYTE* const iend = istart + hbSize;
- const BYTE* ip = istart;
- int nbBits;
- int remaining;
- int threshold;
- U32 bitStream;
- int bitCount;
- unsigned charnum = 0;
- unsigned const maxSV1 = *maxSVPtr + 1;
- int previous0 = 0;
-
- if (hbSize < 8) {
- /* This function only works when hbSize >= 8 */
- char buffer[8] = {0};
- ZSTD_memcpy(buffer, headerBuffer, hbSize);
- { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr,
- buffer, sizeof(buffer));
- if (FSE_isError(countSize)) return countSize;
- if (countSize > hbSize) return ERROR(corruption_detected);
- return countSize;
- } }
- assert(hbSize >= 8);
-
- /* init */
- ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols not present in NCount have a frequency of 0 */
- bitStream = MEM_readLE32(ip);
- nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */
- if (nbBits > FSE_TABLELOG_ABSOLUTE_MAX) return ERROR(tableLog_tooLarge);
- bitStream >>= 4;
- bitCount = 4;
- *tableLogPtr = nbBits;
- remaining = (1<> 1;
- while (repeats >= 12) {
- charnum += 3 * 12;
- if (LIKELY(ip <= iend-7)) {
- ip += 3;
- } else {
- bitCount -= (int)(8 * (iend - 7 - ip));
- bitCount &= 31;
- ip = iend - 4;
- }
- bitStream = MEM_readLE32(ip) >> bitCount;
- repeats = ZSTD_countTrailingZeros32(~bitStream | 0x80000000) >> 1;
- }
- charnum += 3 * repeats;
- bitStream >>= 2 * repeats;
- bitCount += 2 * repeats;
-
- /* Add the final repeat which isn't 0b11. */
- assert((bitStream & 3) < 3);
- charnum += bitStream & 3;
- bitCount += 2;
-
- /* This is an error, but break and return an error
- * at the end, because returning out of a loop makes
- * it harder for the compiler to optimize.
- */
- if (charnum >= maxSV1) break;
-
- /* We don't need to set the normalized count to 0
- * because we already memset the whole buffer to 0.
- */
-
- if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) {
- assert((bitCount >> 3) <= 3); /* For first condition to work */
- ip += bitCount>>3;
- bitCount &= 7;
- } else {
- bitCount -= (int)(8 * (iend - 4 - ip));
- bitCount &= 31;
- ip = iend - 4;
- }
- bitStream = MEM_readLE32(ip) >> bitCount;
- }
- {
- int const max = (2*threshold-1) - remaining;
- int count;
-
- if ((bitStream & (threshold-1)) < (U32)max) {
- count = bitStream & (threshold-1);
- bitCount += nbBits-1;
- } else {
- count = bitStream & (2*threshold-1);
- if (count >= threshold) count -= max;
- bitCount += nbBits;
- }
-
- count--; /* extra accuracy */
- /* When it matters (small blocks), this is a
- * predictable branch, because we don't use -1.
- */
- if (count >= 0) {
- remaining -= count;
- } else {
- assert(count == -1);
- remaining += count;
- }
- normalizedCounter[charnum++] = (short)count;
- previous0 = !count;
-
- assert(threshold > 1);
- if (remaining < threshold) {
- /* This branch can be folded into the
- * threshold update condition because we
- * know that threshold > 1.
- */
- if (remaining <= 1) break;
- nbBits = ZSTD_highbit32(remaining) + 1;
- threshold = 1 << (nbBits - 1);
- }
- if (charnum >= maxSV1) break;
-
- if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) {
- ip += bitCount>>3;
- bitCount &= 7;
- } else {
- bitCount -= (int)(8 * (iend - 4 - ip));
- bitCount &= 31;
- ip = iend - 4;
- }
- bitStream = MEM_readLE32(ip) >> bitCount;
- } }
- if (remaining != 1) return ERROR(corruption_detected);
- /* Only possible when there are too many zeros. */
- if (charnum > maxSV1) return ERROR(maxSymbolValue_tooSmall);
- if (bitCount > 32) return ERROR(corruption_detected);
- *maxSVPtr = charnum-1;
-
- ip += (bitCount+7)>>3;
- return ip-istart;
-}
-
-/* Avoids the FORCE_INLINE of the _body() function. */
-static size_t FSE_readNCount_body_default(
- short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr,
- const void* headerBuffer, size_t hbSize)
-{
- return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize);
-}
-
-#if DYNAMIC_BMI2
-BMI2_TARGET_ATTRIBUTE static size_t FSE_readNCount_body_bmi2(
- short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr,
- const void* headerBuffer, size_t hbSize)
-{
- return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize);
-}
-#endif
-
-size_t FSE_readNCount_bmi2(
- short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr,
- const void* headerBuffer, size_t hbSize, int bmi2)
-{
-#if DYNAMIC_BMI2
- if (bmi2) {
- return FSE_readNCount_body_bmi2(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize);
- }
-#endif
- (void)bmi2;
- return FSE_readNCount_body_default(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize);
-}
-
-size_t FSE_readNCount(
- short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr,
- const void* headerBuffer, size_t hbSize)
-{
- return FSE_readNCount_bmi2(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize, /* bmi2 */ 0);
-}
-
-
-/*! HUF_readStats() :
- Read compact Huffman tree, saved by HUF_writeCTable().
- `huffWeight` is destination buffer.
- `rankStats` is assumed to be a table of at least HUF_TABLELOG_MAX U32.
- @return : size read from `src` , or an error Code .
- Note : Needed by HUF_readCTable() and HUF_readDTableX?() .
-*/
-size_t HUF_readStats(BYTE* huffWeight, size_t hwSize, U32* rankStats,
- U32* nbSymbolsPtr, U32* tableLogPtr,
- const void* src, size_t srcSize)
-{
- U32 wksp[HUF_READ_STATS_WORKSPACE_SIZE_U32];
- return HUF_readStats_wksp(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, wksp, sizeof(wksp), /* flags */ 0);
-}
-
-FORCE_INLINE_TEMPLATE size_t
-HUF_readStats_body(BYTE* huffWeight, size_t hwSize, U32* rankStats,
- U32* nbSymbolsPtr, U32* tableLogPtr,
- const void* src, size_t srcSize,
- void* workSpace, size_t wkspSize,
- int bmi2)
-{
- U32 weightTotal;
- const BYTE* ip = (const BYTE*) src;
- size_t iSize;
- size_t oSize;
-
- if (!srcSize) return ERROR(srcSize_wrong);
- iSize = ip[0];
- /* ZSTD_memset(huffWeight, 0, hwSize); *//* is not necessary, even though some analyzer complain ... */
-
- if (iSize >= 128) { /* special header */
- oSize = iSize - 127;
- iSize = ((oSize+1)/2);
- if (iSize+1 > srcSize) return ERROR(srcSize_wrong);
- if (oSize >= hwSize) return ERROR(corruption_detected);
- ip += 1;
- { U32 n;
- for (n=0; n> 4;
- huffWeight[n+1] = ip[n/2] & 15;
- } } }
- else { /* header compressed with FSE (normal case) */
- if (iSize+1 > srcSize) return ERROR(srcSize_wrong);
- /* max (hwSize-1) values decoded, as last one is implied */
- oSize = FSE_decompress_wksp_bmi2(huffWeight, hwSize-1, ip+1, iSize, 6, workSpace, wkspSize, bmi2);
- if (FSE_isError(oSize)) return oSize;
- }
-
- /* collect weight stats */
- ZSTD_memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32));
- weightTotal = 0;
- { U32 n; for (n=0; n HUF_TABLELOG_MAX) return ERROR(corruption_detected);
- rankStats[huffWeight[n]]++;
- weightTotal += (1 << huffWeight[n]) >> 1;
- } }
- if (weightTotal == 0) return ERROR(corruption_detected);
-
- /* get last non-null symbol weight (implied, total must be 2^n) */
- { U32 const tableLog = ZSTD_highbit32(weightTotal) + 1;
- if (tableLog > HUF_TABLELOG_MAX) return ERROR(corruption_detected);
- *tableLogPtr = tableLog;
- /* determine last weight */
- { U32 const total = 1 << tableLog;
- U32 const rest = total - weightTotal;
- U32 const verif = 1 << ZSTD_highbit32(rest);
- U32 const lastWeight = ZSTD_highbit32(rest) + 1;
- if (verif != rest) return ERROR(corruption_detected); /* last value must be a clean power of 2 */
- huffWeight[oSize] = (BYTE)lastWeight;
- rankStats[lastWeight]++;
- } }
-
- /* check tree construction validity */
- if ((rankStats[1] < 2) || (rankStats[1] & 1)) return ERROR(corruption_detected); /* by construction : at least 2 elts of rank 1, must be even */
-
- /* results */
- *nbSymbolsPtr = (U32)(oSize+1);
- return iSize+1;
-}
-
-/* Avoids the FORCE_INLINE of the _body() function. */
-static size_t HUF_readStats_body_default(BYTE* huffWeight, size_t hwSize, U32* rankStats,
- U32* nbSymbolsPtr, U32* tableLogPtr,
- const void* src, size_t srcSize,
- void* workSpace, size_t wkspSize)
-{
- return HUF_readStats_body(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 0);
-}
-
-#if DYNAMIC_BMI2
-static BMI2_TARGET_ATTRIBUTE size_t HUF_readStats_body_bmi2(BYTE* huffWeight, size_t hwSize, U32* rankStats,
- U32* nbSymbolsPtr, U32* tableLogPtr,
- const void* src, size_t srcSize,
- void* workSpace, size_t wkspSize)
-{
- return HUF_readStats_body(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 1);
-}
-#endif
-
-size_t HUF_readStats_wksp(BYTE* huffWeight, size_t hwSize, U32* rankStats,
- U32* nbSymbolsPtr, U32* tableLogPtr,
- const void* src, size_t srcSize,
- void* workSpace, size_t wkspSize,
- int flags)
-{
-#if DYNAMIC_BMI2
- if (flags & HUF_flags_bmi2) {
- return HUF_readStats_body_bmi2(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize);
- }
-#endif
- (void)flags;
- return HUF_readStats_body_default(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize);
-}
diff --git a/src/bled/zstd_error_private.c b/src/bled/zstd_error_private.c
deleted file mode 100644
index 23b571dd..00000000
--- a/src/bled/zstd_error_private.c
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-/* The purpose of this file is to have a single list of error strings embedded in binary */
-
-#include "zstd_error_private.h"
-
-const char* ERR_getErrorString(ERR_enum code)
-{
-#ifdef ZSTD_STRIP_ERROR_STRINGS
- (void)code;
- return "Error strings stripped";
-#else
- static const char* const notErrorCode = "Unspecified error code";
- switch( code )
- {
- case PREFIX(no_error): return "No error detected";
- case PREFIX(GENERIC): return "Error (generic)";
- case PREFIX(prefix_unknown): return "Unknown frame descriptor";
- case PREFIX(version_unsupported): return "Version not supported";
- case PREFIX(frameParameter_unsupported): return "Unsupported frame parameter";
- case PREFIX(frameParameter_windowTooLarge): return "Frame requires too much memory for decoding";
- case PREFIX(corruption_detected): return "Data corruption detected";
- case PREFIX(checksum_wrong): return "Restored data doesn't match checksum";
- case PREFIX(literals_headerWrong): return "Header of Literals' block doesn't respect format specification";
- case PREFIX(parameter_unsupported): return "Unsupported parameter";
- case PREFIX(parameter_combination_unsupported): return "Unsupported combination of parameters";
- case PREFIX(parameter_outOfBound): return "Parameter is out of bound";
- case PREFIX(init_missing): return "Context should be init first";
- case PREFIX(memory_allocation): return "Allocation error : not enough memory";
- case PREFIX(workSpace_tooSmall): return "workSpace buffer is not large enough";
- case PREFIX(stage_wrong): return "Operation not authorized at current processing stage";
- case PREFIX(tableLog_tooLarge): return "tableLog requires too much memory : unsupported";
- case PREFIX(maxSymbolValue_tooLarge): return "Unsupported max Symbol Value : too large";
- case PREFIX(maxSymbolValue_tooSmall): return "Specified maxSymbolValue is too small";
- case PREFIX(stabilityCondition_notRespected): return "pledged buffer stability condition is not respected";
- case PREFIX(dictionary_corrupted): return "Dictionary is corrupted";
- case PREFIX(dictionary_wrong): return "Dictionary mismatch";
- case PREFIX(dictionaryCreation_failed): return "Cannot create Dictionary from provided samples";
- case PREFIX(dstSize_tooSmall): return "Destination buffer is too small";
- case PREFIX(srcSize_wrong): return "Src size is incorrect";
- case PREFIX(dstBuffer_null): return "Operation on NULL destination buffer";
- case PREFIX(noForwardProgress_destFull): return "Operation made no progress over multiple calls, due to output buffer being full";
- case PREFIX(noForwardProgress_inputEmpty): return "Operation made no progress over multiple calls, due to input being empty";
- /* following error codes are not stable and may be removed or changed in a future version */
- case PREFIX(frameIndex_tooLarge): return "Frame index is too large";
- case PREFIX(seekableIO): return "An I/O error occurred when reading/seeking";
- case PREFIX(dstBuffer_wrong): return "Destination buffer is wrong";
- case PREFIX(srcBuffer_wrong): return "Source buffer is wrong";
- case PREFIX(sequenceProducer_failed): return "Block-level external sequence producer returned an error code";
- case PREFIX(externalSequences_invalid): return "External sequences are not valid";
- case PREFIX(maxCode):
- default: return notErrorCode;
- }
-#endif
-}
diff --git a/src/bled/zstd_error_private.h b/src/bled/zstd_error_private.h
deleted file mode 100644
index 1463ff98..00000000
--- a/src/bled/zstd_error_private.h
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-/* Note : this module is expected to remain private, do not expose it */
-
-#ifndef ERROR_H_MODULE
-#define ERROR_H_MODULE
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-
-/* ****************************************
-* Dependencies
-******************************************/
-#include "zstd_errors.h" /* enum list */
-#include "zstd_compiler.h"
-#include "zstd_deps.h" /* size_t */
-
-
-/* ****************************************
-* Compiler-specific
-******************************************/
-#if defined(__GNUC__)
-# define ERR_STATIC static __attribute__((unused))
-#elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)
-# define ERR_STATIC static inline
-#elif defined(_MSC_VER)
-# define ERR_STATIC static __inline
-#else
-# define ERR_STATIC static /* this version may generate warnings for unused static functions; disable the relevant warning */
-#endif
-
-
-/*-****************************************
-* Customization (error_public.h)
-******************************************/
-typedef ZSTD_ErrorCode ERR_enum;
-#define PREFIX(name) ZSTD_error_##name
-
-
-/*-****************************************
-* Error codes handling
-******************************************/
-#undef ERROR /* already defined on Visual Studio */
-#define ERROR(name) ZSTD_ERROR(name)
-#define ZSTD_ERROR(name) ((size_t)-PREFIX(name))
-
-ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); }
-
-ERR_STATIC ERR_enum ERR_getErrorCode(size_t code) { if (!ERR_isError(code)) return (ERR_enum)0; return (ERR_enum) (0-code); }
-
-/* check and forward error code */
-#define CHECK_V_F(e, f) \
- size_t const e = f; \
- do { \
- if (ERR_isError(e)) \
- return e; \
- } while (0)
-#define CHECK_F(f) do { CHECK_V_F(_var_err__, f); } while (0)
-
-
-/*-****************************************
-* Error Strings
-******************************************/
-
-const char* ERR_getErrorString(ERR_enum code); /* error_private.c */
-
-ERR_STATIC const char* ERR_getErrorName(size_t code)
-{
- return ERR_getErrorString(ERR_getErrorCode(code));
-}
-
-/**
- * Ignore: this is an internal helper.
- *
- * This is a helper function to help force C99-correctness during compilation.
- * Under strict compilation modes, variadic macro arguments can't be empty.
- * However, variadic function arguments can be. Using a function therefore lets
- * us statically check that at least one (string) argument was passed,
- * independent of the compilation flags.
- */
-static INLINE_KEYWORD UNUSED_ATTR
-void _force_has_format_string(const char *format, ...) {
- (void)format;
-}
-
-/**
- * Ignore: this is an internal helper.
- *
- * We want to force this function invocation to be syntactically correct, but
- * we don't want to force runtime evaluation of its arguments.
- */
-#define _FORCE_HAS_FORMAT_STRING(...) \
- do { \
- if (0) { \
- _force_has_format_string(__VA_ARGS__); \
- } \
- } while (0)
-
-#define ERR_QUOTE(str) #str
-
-/**
- * Return the specified error if the condition evaluates to true.
- *
- * In debug modes, prints additional information.
- * In order to do that (particularly, printing the conditional that failed),
- * this can't just wrap RETURN_ERROR().
- */
-#define RETURN_ERROR_IF(cond, err, ...) \
- do { \
- if (cond) { \
- RAWLOG(3, "%s:%d: ERROR!: check %s failed, returning %s", \
- __FILE__, __LINE__, ERR_QUOTE(cond), ERR_QUOTE(ERROR(err))); \
- _FORCE_HAS_FORMAT_STRING(__VA_ARGS__); \
- RAWLOG(3, ": " __VA_ARGS__); \
- RAWLOG(3, "\n"); \
- return ERROR(err); \
- } \
- } while (0)
-
-/**
- * Unconditionally return the specified error.
- *
- * In debug modes, prints additional information.
- */
-#define RETURN_ERROR(err, ...) \
- do { \
- RAWLOG(3, "%s:%d: ERROR!: unconditional check failed, returning %s", \
- __FILE__, __LINE__, ERR_QUOTE(ERROR(err))); \
- _FORCE_HAS_FORMAT_STRING(__VA_ARGS__); \
- RAWLOG(3, ": " __VA_ARGS__); \
- RAWLOG(3, "\n"); \
- return ERROR(err); \
- } while(0)
-
-/**
- * If the provided expression evaluates to an error code, returns that error code.
- *
- * In debug modes, prints additional information.
- */
-#define FORWARD_IF_ERROR(err, ...) \
- do { \
- size_t const err_code = (err); \
- if (ERR_isError(err_code)) { \
- RAWLOG(3, "%s:%d: ERROR!: forwarding error in %s: %s", \
- __FILE__, __LINE__, ERR_QUOTE(err), ERR_getErrorName(err_code)); \
- _FORCE_HAS_FORMAT_STRING(__VA_ARGS__); \
- RAWLOG(3, ": " __VA_ARGS__); \
- RAWLOG(3, "\n"); \
- return err_code; \
- } \
- } while(0)
-
-#if defined (__cplusplus)
-}
-#endif
-
-#endif /* ERROR_H_MODULE */
diff --git a/src/bled/zstd_errors.h b/src/bled/zstd_errors.h
deleted file mode 100644
index 20e488f1..00000000
--- a/src/bled/zstd_errors.h
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-#ifndef ZSTD_ERRORS_H_398273423
-#define ZSTD_ERRORS_H_398273423
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-/* ===== ZSTDERRORLIB_API : control library symbols visibility ===== */
-#ifndef ZSTDERRORLIB_VISIBLE
- /* Backwards compatibility with old macro name */
-# ifdef ZSTDERRORLIB_VISIBILITY
-# define ZSTDERRORLIB_VISIBLE ZSTDERRORLIB_VISIBILITY
-# elif defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
-# define ZSTDERRORLIB_VISIBLE __attribute__ ((visibility ("default")))
-# else
-# define ZSTDERRORLIB_VISIBLE
-# endif
-#endif
-
-#ifndef ZSTDERRORLIB_HIDDEN
-# if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
-# define ZSTDERRORLIB_HIDDEN __attribute__ ((visibility ("hidden")))
-# else
-# define ZSTDERRORLIB_HIDDEN
-# endif
-#endif
-
-#if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1)
-# define ZSTDERRORLIB_API __declspec(dllexport) ZSTDERRORLIB_VISIBLE
-#elif defined(ZSTD_DLL_IMPORT) && (ZSTD_DLL_IMPORT==1)
-# define ZSTDERRORLIB_API __declspec(dllimport) ZSTDERRORLIB_VISIBLE /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/
-#else
-# define ZSTDERRORLIB_API ZSTDERRORLIB_VISIBLE
-#endif
-
-/*-*********************************************
- * Error codes list
- *-*********************************************
- * Error codes _values_ are pinned down since v1.3.1 only.
- * Therefore, don't rely on values if you may link to any version < v1.3.1.
- *
- * Only values < 100 are considered stable.
- *
- * note 1 : this API shall be used with static linking only.
- * dynamic linking is not yet officially supported.
- * note 2 : Prefer relying on the enum than on its value whenever possible
- * This is the only supported way to use the error list < v1.3.1
- * note 3 : ZSTD_isError() is always correct, whatever the library version.
- **********************************************/
-typedef enum {
- ZSTD_error_no_error = 0,
- ZSTD_error_GENERIC = 1,
- ZSTD_error_prefix_unknown = 10,
- ZSTD_error_version_unsupported = 12,
- ZSTD_error_frameParameter_unsupported = 14,
- ZSTD_error_frameParameter_windowTooLarge = 16,
- ZSTD_error_corruption_detected = 20,
- ZSTD_error_checksum_wrong = 22,
- ZSTD_error_literals_headerWrong = 24,
- ZSTD_error_dictionary_corrupted = 30,
- ZSTD_error_dictionary_wrong = 32,
- ZSTD_error_dictionaryCreation_failed = 34,
- ZSTD_error_parameter_unsupported = 40,
- ZSTD_error_parameter_combination_unsupported = 41,
- ZSTD_error_parameter_outOfBound = 42,
- ZSTD_error_tableLog_tooLarge = 44,
- ZSTD_error_maxSymbolValue_tooLarge = 46,
- ZSTD_error_maxSymbolValue_tooSmall = 48,
- ZSTD_error_stabilityCondition_notRespected = 50,
- ZSTD_error_stage_wrong = 60,
- ZSTD_error_init_missing = 62,
- ZSTD_error_memory_allocation = 64,
- ZSTD_error_workSpace_tooSmall= 66,
- ZSTD_error_dstSize_tooSmall = 70,
- ZSTD_error_srcSize_wrong = 72,
- ZSTD_error_dstBuffer_null = 74,
- ZSTD_error_noForwardProgress_destFull = 80,
- ZSTD_error_noForwardProgress_inputEmpty = 82,
- /* following error codes are __NOT STABLE__, they can be removed or changed in future versions */
- ZSTD_error_frameIndex_tooLarge = 100,
- ZSTD_error_seekableIO = 102,
- ZSTD_error_dstBuffer_wrong = 104,
- ZSTD_error_srcBuffer_wrong = 105,
- ZSTD_error_sequenceProducer_failed = 106,
- ZSTD_error_externalSequences_invalid = 107,
- ZSTD_error_maxCode = 120 /* never EVER use this value directly, it can change in future versions! Use ZSTD_isError() instead */
-} ZSTD_ErrorCode;
-
-ZSTDERRORLIB_API const char* ZSTD_getErrorString(ZSTD_ErrorCode code); /**< Same as ZSTD_getErrorName, but using a `ZSTD_ErrorCode` enum argument */
-
-
-#if defined (__cplusplus)
-}
-#endif
-
-#endif /* ZSTD_ERRORS_H_398273423 */
diff --git a/src/bled/zstd_internal.h b/src/bled/zstd_internal.h
deleted file mode 100644
index 40d1436a..00000000
--- a/src/bled/zstd_internal.h
+++ /dev/null
@@ -1,391 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-#ifndef ZSTD_CCOMMON_H_MODULE
-#define ZSTD_CCOMMON_H_MODULE
-
-/* this module contains definitions which must be identical
- * across compression, decompression and dictBuilder.
- * It also contains a few functions useful to at least 2 of them
- * and which benefit from being inlined */
-
-/*-*************************************
-* Dependencies
-***************************************/
-#include "zstd_compiler.h"
-#include "zstd_cpu.h"
-#include "zstd_mem.h"
-#include "zstd_error_private.h"
-#define ZSTD_STATIC_LINKING_ONLY
-#include "zstd.h"
-#define FSE_STATIC_LINKING_ONLY
-#include "fse.h"
-#include "huf.h"
-#ifndef XXH_STATIC_LINKING_ONLY
-# define XXH_STATIC_LINKING_ONLY /* XXH64_state_t */
-#endif
-#include "xxhash.h" /* XXH_reset, update, digest */
-#ifndef ZSTD_NO_TRACE
-# include "zstd_trace.h"
-#else
-# define ZSTD_TRACE 0
-#endif
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-/* ---- static assert (debug) --- */
-#define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c)
-#define ZSTD_isError ERR_isError /* for inlining */
-#define FSE_isError ERR_isError
-#define HUF_isError ERR_isError
-
-
-/*-*************************************
-* shared macros
-***************************************/
-#undef MIN
-#undef MAX
-#define MIN(a,b) ((a)<(b) ? (a) : (b))
-#define MAX(a,b) ((a)>(b) ? (a) : (b))
-#define BOUNDED(min,val,max) (MAX(min,MIN(val,max)))
-
-
-/*-*************************************
-* Common constants
-***************************************/
-#define ZSTD_OPT_NUM (1<<12)
-
-#define ZSTD_REP_NUM 3 /* number of repcodes */
-static UNUSED_ATTR const U32 repStartValue[ZSTD_REP_NUM] = { 1, 4, 8 };
-
-#define KB *(1 <<10)
-#define MB *(1 <<20)
-#define GB *(1U<<30)
-
-#define BIT7 128
-#define BIT6 64
-#define BIT5 32
-#define BIT4 16
-#define BIT1 2
-#define BIT0 1
-
-#define ZSTD_WINDOWLOG_ABSOLUTEMIN 10
-static UNUSED_ATTR const size_t ZSTD_fcs_fieldSize[4] = { 0, 2, 4, 8 };
-static UNUSED_ATTR const size_t ZSTD_did_fieldSize[4] = { 0, 1, 2, 4 };
-
-#define ZSTD_FRAMEIDSIZE 4 /* magic number size */
-
-#define ZSTD_BLOCKHEADERSIZE 3 /* C standard doesn't allow `static const` variable to be init using another `static const` variable */
-static UNUSED_ATTR const size_t ZSTD_blockHeaderSize = ZSTD_BLOCKHEADERSIZE;
-typedef enum { bt_raw, bt_rle, bt_compressed, bt_reserved } blockType_e;
-
-#define ZSTD_FRAMECHECKSUMSIZE 4
-
-#define MIN_SEQUENCES_SIZE 1 /* nbSeq==0 */
-#define MIN_CBLOCK_SIZE (1 /*litCSize*/ + 1 /* RLE or RAW */) /* for a non-null block */
-#define MIN_LITERALS_FOR_4_STREAMS 6
-
-typedef enum { set_basic, set_rle, set_compressed, set_repeat } symbolEncodingType_e;
-
-#define LONGNBSEQ 0x7F00
-
-#define MINMATCH 3
-
-#define Litbits 8
-#define LitHufLog 11
-#define MaxLit ((1<= WILDCOPY_VECLEN || diff <= -WILDCOPY_VECLEN);
- /* Separate out the first COPY16() call because the copy length is
- * almost certain to be short, so the branches have different
- * probabilities. Since it is almost certain to be short, only do
- * one COPY16() in the first call. Then, do two calls per loop since
- * at that point it is more likely to have a high trip count.
- */
- ZSTD_copy16(op, ip);
- if (16 >= length) return;
- op += 16;
- ip += 16;
- do {
- COPY16(op, ip);
- COPY16(op, ip);
- }
- while (op < oend);
- }
-}
-
-MEM_STATIC size_t ZSTD_limitCopy(void* dst, size_t dstCapacity, const void* src, size_t srcSize)
-{
- size_t const length = MIN(dstCapacity, srcSize);
- if (length > 0) {
- ZSTD_memcpy(dst, src, length);
- }
- return length;
-}
-
-/* define "workspace is too large" as this number of times larger than needed */
-#define ZSTD_WORKSPACETOOLARGE_FACTOR 3
-
-/* when workspace is continuously too large
- * during at least this number of times,
- * context's memory usage is considered wasteful,
- * because it's sized to handle a worst case scenario which rarely happens.
- * In which case, resize it down to free some memory */
-#define ZSTD_WORKSPACETOOLARGE_MAXDURATION 128
-
-/* Controls whether the input/output buffer is buffered or stable. */
-typedef enum {
- ZSTD_bm_buffered = 0, /* Buffer the input/output */
- ZSTD_bm_stable = 1 /* ZSTD_inBuffer/ZSTD_outBuffer is stable */
-} ZSTD_bufferMode_e;
-
-
-/*-*******************************************
-* Private declarations
-*********************************************/
-typedef struct seqDef_s {
- U32 offBase; /* offBase == Offset + ZSTD_REP_NUM, or repcode 1,2,3 */
- U16 litLength;
- U16 mlBase; /* mlBase == matchLength - MINMATCH */
-} seqDef;
-
-/* Controls whether seqStore has a single "long" litLength or matchLength. See seqStore_t. */
-typedef enum {
- ZSTD_llt_none = 0, /* no longLengthType */
- ZSTD_llt_literalLength = 1, /* represents a long literal */
- ZSTD_llt_matchLength = 2 /* represents a long match */
-} ZSTD_longLengthType_e;
-
-typedef struct {
- seqDef* sequencesStart;
- seqDef* sequences; /* ptr to end of sequences */
- BYTE* litStart;
- BYTE* lit; /* ptr to end of literals */
- BYTE* llCode;
- BYTE* mlCode;
- BYTE* ofCode;
- size_t maxNbSeq;
- size_t maxNbLit;
-
- /* longLengthPos and longLengthType to allow us to represent either a single litLength or matchLength
- * in the seqStore that has a value larger than U16 (if it exists). To do so, we increment
- * the existing value of the litLength or matchLength by 0x10000.
- */
- ZSTD_longLengthType_e longLengthType;
- U32 longLengthPos; /* Index of the sequence to apply long length modification to */
-} seqStore_t;
-
-typedef struct {
- U32 litLength;
- U32 matchLength;
-} ZSTD_sequenceLength;
-
-/**
- * Returns the ZSTD_sequenceLength for the given sequences. It handles the decoding of long sequences
- * indicated by longLengthPos and longLengthType, and adds MINMATCH back to matchLength.
- */
-MEM_STATIC ZSTD_sequenceLength ZSTD_getSequenceLength(seqStore_t const* seqStore, seqDef const* seq)
-{
- ZSTD_sequenceLength seqLen;
- seqLen.litLength = seq->litLength;
- seqLen.matchLength = seq->mlBase + MINMATCH;
- if (seqStore->longLengthPos == (U32)(seq - seqStore->sequencesStart)) {
- if (seqStore->longLengthType == ZSTD_llt_literalLength) {
- seqLen.litLength += 0x10000;
- }
- if (seqStore->longLengthType == ZSTD_llt_matchLength) {
- seqLen.matchLength += 0x10000;
- }
- }
- return seqLen;
-}
-
-/**
- * Contains the compressed frame size and an upper-bound for the decompressed frame size.
- * Note: before using `compressedSize`, check for errors using ZSTD_isError().
- * similarly, before using `decompressedBound`, check for errors using:
- * `decompressedBound != ZSTD_CONTENTSIZE_ERROR`
- */
-typedef struct {
- size_t nbBlocks;
- size_t compressedSize;
- unsigned long long decompressedBound;
-} ZSTD_frameSizeInfo; /* decompress & legacy */
-
-const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
-int ZSTD_seqToCodes(const seqStore_t* seqStorePtr); /* compress, dictBuilder, decodeCorpus (shouldn't get its definition from here) */
-
-
-/* ZSTD_invalidateRepCodes() :
- * ensures next compression will not use repcodes from previous block.
- * Note : only works with regular variant;
- * do not use with extDict variant ! */
-void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get this definition from here) */
-
-
-typedef struct {
- blockType_e blockType;
- U32 lastBlock;
- U32 origSize;
-} blockProperties_t; /* declared here for decompress and fullbench */
-
-/*! ZSTD_getcBlockSize() :
- * Provides the size of compressed block from block header `src` */
-/* Used by: decompress, fullbench */
-size_t ZSTD_getcBlockSize(const void* src, size_t srcSize,
- blockProperties_t* bpPtr);
-
-/*! ZSTD_decodeSeqHeaders() :
- * decode sequence header from src */
-/* Used by: zstd_decompress_block, fullbench */
-size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr,
- const void* src, size_t srcSize);
-
-/**
- * @returns true iff the CPU supports dynamic BMI2 dispatch.
- */
-MEM_STATIC int ZSTD_cpuSupportsBmi2(void)
-{
- ZSTD_cpuid_t cpuid = ZSTD_cpuid();
- return ZSTD_cpuid_bmi1(cpuid) && ZSTD_cpuid_bmi2(cpuid);
-}
-
-#if defined (__cplusplus)
-}
-#endif
-
-#endif /* ZSTD_CCOMMON_H_MODULE */
diff --git a/src/bled/zstd_mem.h b/src/bled/zstd_mem.h
deleted file mode 100644
index 5e94d813..00000000
--- a/src/bled/zstd_mem.h
+++ /dev/null
@@ -1,430 +0,0 @@
-/*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- * All rights reserved.
- *
- * This source code is licensed under both the BSD-style license (found in the
- * LICENSE file in the root directory of this source tree) and the GPLv2 (found
- * in the COPYING file in the root directory of this source tree).
- * You may select, at your option, one of the above-listed licenses.
- */
-
-#ifndef MEM_H_MODULE
-#define MEM_H_MODULE
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-/*-****************************************
-* Dependencies
-******************************************/
-#include /* size_t, ptrdiff_t */
-#include "zstd_compiler.h" /* __has_builtin */
-#include "zstd_deps.h" /* ZSTD_memcpy */
-
-
-/*-****************************************
-* Compiler specifics
-******************************************/
-#if defined(_MSC_VER) /* Visual Studio */
-# include /* _byteswap_ulong */
-# include /* _byteswap_* */
-#elif defined(__ICCARM__)
-# include
-#endif
-
-/*-**************************************************************
-* Basic Types
-*****************************************************************/
-#if !defined (__VMS) && (defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
-# if defined(_AIX)
-# include
-# else
-# include /* intptr_t */
-# endif
- typedef uint8_t BYTE;
- typedef uint8_t U8;
- typedef int8_t S8;
- typedef uint16_t U16;
- typedef int16_t S16;
- typedef uint32_t U32;
- typedef int32_t S32;
- typedef uint64_t U64;
- typedef int64_t S64;
-#else
-# include
-#if CHAR_BIT != 8
-# error "this implementation requires char to be exactly 8-bit type"
-#endif
- typedef unsigned char BYTE;
- typedef unsigned char U8;
- typedef signed char S8;
-#if USHRT_MAX != 65535
-# error "this implementation requires short to be exactly 16-bit type"
-#endif
- typedef unsigned short U16;
- typedef signed short S16;
-#if UINT_MAX != 4294967295
-# error "this implementation requires int to be exactly 32-bit type"
-#endif
- typedef unsigned int U32;
- typedef signed int S32;
-/* note : there are no limits defined for long long type in C90.
- * limits exist in C99, however, in such case, is preferred */
- typedef unsigned long long U64;
- typedef signed long long S64;
-#endif
-
-
-/*-**************************************************************
-* Memory I/O API
-*****************************************************************/
-/*=== Static platform detection ===*/
-MEM_STATIC unsigned MEM_32bits(void);
-MEM_STATIC unsigned MEM_64bits(void);
-MEM_STATIC unsigned MEM_isLittleEndian(void);
-
-/*=== Native unaligned read/write ===*/
-MEM_STATIC U16 MEM_read16(const void* memPtr);
-MEM_STATIC U32 MEM_read32(const void* memPtr);
-MEM_STATIC U64 MEM_read64(const void* memPtr);
-MEM_STATIC size_t MEM_readST(const void* memPtr);
-
-MEM_STATIC void MEM_write16(void* memPtr, U16 value);
-MEM_STATIC void MEM_write32(void* memPtr, U32 value);
-MEM_STATIC void MEM_write64(void* memPtr, U64 value);
-
-/*=== Little endian unaligned read/write ===*/
-MEM_STATIC U16 MEM_readLE16(const void* memPtr);
-MEM_STATIC U32 MEM_readLE24(const void* memPtr);
-MEM_STATIC U32 MEM_readLE32(const void* memPtr);
-MEM_STATIC U64 MEM_readLE64(const void* memPtr);
-MEM_STATIC size_t MEM_readLEST(const void* memPtr);
-
-MEM_STATIC void MEM_writeLE16(void* memPtr, U16 val);
-MEM_STATIC void MEM_writeLE24(void* memPtr, U32 val);
-MEM_STATIC void MEM_writeLE32(void* memPtr, U32 val32);
-MEM_STATIC void MEM_writeLE64(void* memPtr, U64 val64);
-MEM_STATIC void MEM_writeLEST(void* memPtr, size_t val);
-
-/*=== Big endian unaligned read/write ===*/
-MEM_STATIC U32 MEM_readBE32(const void* memPtr);
-MEM_STATIC U64 MEM_readBE64(const void* memPtr);
-MEM_STATIC size_t MEM_readBEST(const void* memPtr);
-
-MEM_STATIC void MEM_writeBE32(void* memPtr, U32 val32);
-MEM_STATIC void MEM_writeBE64(void* memPtr, U64 val64);
-MEM_STATIC void MEM_writeBEST(void* memPtr, size_t val);
-
-/*=== Byteswap ===*/
-MEM_STATIC U32 MEM_swap32(U32 in);
-MEM_STATIC U64 MEM_swap64(U64 in);
-MEM_STATIC size_t MEM_swapST(size_t in);
-
-
-/*-**************************************************************
-* Memory I/O Implementation
-*****************************************************************/
-/* MEM_FORCE_MEMORY_ACCESS : For accessing unaligned memory:
- * Method 0 : always use `memcpy()`. Safe and portable.
- * Method 1 : Use compiler extension to set unaligned access.
- * Method 2 : direct access. This method is portable but violate C standard.
- * It can generate buggy code on targets depending on alignment.
- * Default : method 1 if supported, else method 0
- */
-#ifndef MEM_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */
-# ifdef __GNUC__
-# define MEM_FORCE_MEMORY_ACCESS 1
-# endif
-#endif
-
-MEM_STATIC unsigned MEM_32bits(void) { return sizeof(size_t)==4; }
-MEM_STATIC unsigned MEM_64bits(void) { return sizeof(size_t)==8; }
-
-MEM_STATIC unsigned MEM_isLittleEndian(void)
-{
-#if defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
- return 1;
-#elif defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
- return 0;
-#elif defined(__clang__) && __LITTLE_ENDIAN__
- return 1;
-#elif defined(__clang__) && __BIG_ENDIAN__
- return 0;
-#elif defined(_MSC_VER) && (_M_AMD64 || _M_IX86)
- return 1;
-#elif defined(__DMC__) && defined(_M_IX86)
- return 1;
-#elif defined(__IAR_SYSTEMS_ICC__) && __LITTLE_ENDIAN__
- return 1;
-#else
- const union { U32 u; BYTE c[4]; } one = { 1 }; /* don't use static : performance detrimental */
- return one.c[0];
-#endif
-}
-
-#if defined(MEM_FORCE_MEMORY_ACCESS) && (MEM_FORCE_MEMORY_ACCESS==2)
-
-/* violates C standard, by lying on structure alignment.
-Only use if no other choice to achieve best performance on target platform */
-MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; }
-MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; }
-MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; }
-MEM_STATIC size_t MEM_readST(const void* memPtr) { return *(const size_t*) memPtr; }
-
-MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; }
-MEM_STATIC void MEM_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; }
-MEM_STATIC void MEM_write64(void* memPtr, U64 value) { *(U64*)memPtr = value; }
-
-#elif defined(MEM_FORCE_MEMORY_ACCESS) && (MEM_FORCE_MEMORY_ACCESS==1)
-
-typedef __attribute__((aligned(1))) U16 unalign16;
-typedef __attribute__((aligned(1))) U32 unalign32;
-typedef __attribute__((aligned(1))) U64 unalign64;
-typedef __attribute__((aligned(1))) size_t unalignArch;
-
-MEM_STATIC U16 MEM_read16(const void* ptr) { return *(const unalign16*)ptr; }
-MEM_STATIC U32 MEM_read32(const void* ptr) { return *(const unalign32*)ptr; }
-MEM_STATIC U64 MEM_read64(const void* ptr) { return *(const unalign64*)ptr; }
-MEM_STATIC size_t MEM_readST(const void* ptr) { return *(const unalignArch*)ptr; }
-
-MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(unalign16*)memPtr = value; }
-MEM_STATIC void MEM_write32(void* memPtr, U32 value) { *(unalign32*)memPtr = value; }
-MEM_STATIC void MEM_write64(void* memPtr, U64 value) { *(unalign64*)memPtr = value; }
-
-#else
-
-/* default method, safe and standard.
- can sometimes prove slower */
-
-MEM_STATIC U16 MEM_read16(const void* memPtr)
-{
- U16 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val;
-}
-
-MEM_STATIC U32 MEM_read32(const void* memPtr)
-{
- U32 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val;
-}
-
-MEM_STATIC U64 MEM_read64(const void* memPtr)
-{
- U64 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val;
-}
-
-MEM_STATIC size_t MEM_readST(const void* memPtr)
-{
- size_t val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val;
-}
-
-MEM_STATIC void MEM_write16(void* memPtr, U16 value)
-{
- ZSTD_memcpy(memPtr, &value, sizeof(value));
-}
-
-MEM_STATIC void MEM_write32(void* memPtr, U32 value)
-{
- ZSTD_memcpy(memPtr, &value, sizeof(value));
-}
-
-MEM_STATIC void MEM_write64(void* memPtr, U64 value)
-{
- ZSTD_memcpy(memPtr, &value, sizeof(value));
-}
-
-#endif /* MEM_FORCE_MEMORY_ACCESS */
-
-MEM_STATIC U32 MEM_swap32_fallback(U32 in)
-{
- return ((in << 24) & 0xff000000 ) |
- ((in << 8) & 0x00ff0000 ) |
- ((in >> 8) & 0x0000ff00 ) |
- ((in >> 24) & 0x000000ff );
-}
-
-MEM_STATIC U32 MEM_swap32(U32 in)
-{
-#if defined(_MSC_VER) /* Visual Studio */
- return _byteswap_ulong(in);
-#elif (defined (__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 403)) \
- || (defined(__clang__) && __has_builtin(__builtin_bswap32))
- return __builtin_bswap32(in);
-#elif defined(__ICCARM__)
- return __REV(in);
-#else
- return MEM_swap32_fallback(in);
-#endif
-}
-
-MEM_STATIC U64 MEM_swap64_fallback(U64 in)
-{
- return ((in << 56) & 0xff00000000000000ULL) |
- ((in << 40) & 0x00ff000000000000ULL) |
- ((in << 24) & 0x0000ff0000000000ULL) |
- ((in << 8) & 0x000000ff00000000ULL) |
- ((in >> 8) & 0x00000000ff000000ULL) |
- ((in >> 24) & 0x0000000000ff0000ULL) |
- ((in >> 40) & 0x000000000000ff00ULL) |
- ((in >> 56) & 0x00000000000000ffULL);
-}
-
-MEM_STATIC U64 MEM_swap64(U64 in)
-{
-#if defined(_MSC_VER) /* Visual Studio */
- return _byteswap_uint64(in);
-#elif (defined (__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 403)) \
- || (defined(__clang__) && __has_builtin(__builtin_bswap64))
- return __builtin_bswap64(in);
-#else
- return MEM_swap64_fallback(in);
-#endif
-}
-
-MEM_STATIC size_t MEM_swapST(size_t in)
-{
- if (MEM_32bits())
- return (size_t)MEM_swap32((U32)in);
- else
- return (size_t)MEM_swap64((U64)in);
-}
-
-/*=== Little endian r/w ===*/
-
-MEM_STATIC U16 MEM_readLE16(const void* memPtr)
-{
- if (MEM_isLittleEndian())
- return MEM_read16(memPtr);
- else {
- const BYTE* p = (const BYTE*)memPtr;
- return (U16)(p[0] + (p[1]<<8));
- }
-}
-
-MEM_STATIC void MEM_writeLE16(void* memPtr, U16 val)
-{
- if (MEM_isLittleEndian()) {
- MEM_write16(memPtr, val);
- } else {
- BYTE* p = (BYTE*)memPtr;
- p[0] = (BYTE)val;
- p[1] = (BYTE)(val>>8);
- }
-}
-
-MEM_STATIC U32 MEM_readLE24(const void* memPtr)
-{
- return (U32)MEM_readLE16(memPtr) + ((U32)(((const BYTE*)memPtr)[2]) << 16);
-}
-
-MEM_STATIC void MEM_writeLE24(void* memPtr, U32 val)
-{
- MEM_writeLE16(memPtr, (U16)val);
- ((BYTE*)memPtr)[2] = (BYTE)(val>>16);
-}
-
-MEM_STATIC U32 MEM_readLE32(const void* memPtr)
-{
- if (MEM_isLittleEndian())
- return MEM_read32(memPtr);
- else
- return MEM_swap32(MEM_read32(memPtr));
-}
-
-MEM_STATIC void MEM_writeLE32(void* memPtr, U32 val32)
-{
- if (MEM_isLittleEndian())
- MEM_write32(memPtr, val32);
- else
- MEM_write32(memPtr, MEM_swap32(val32));
-}
-
-MEM_STATIC U64 MEM_readLE64(const void* memPtr)
-{
- if (MEM_isLittleEndian())
- return MEM_read64(memPtr);
- else
- return MEM_swap64(MEM_read64(memPtr));
-}
-
-MEM_STATIC void MEM_writeLE64(void* memPtr, U64 val64)
-{
- if (MEM_isLittleEndian())
- MEM_write64(memPtr, val64);
- else
- MEM_write64(memPtr, MEM_swap64(val64));
-}
-
-MEM_STATIC size_t MEM_readLEST(const void* memPtr)
-{
- if (MEM_32bits())
- return (size_t)MEM_readLE32(memPtr);
- else
- return (size_t)MEM_readLE64(memPtr);
-}
-
-MEM_STATIC void MEM_writeLEST(void* memPtr, size_t val)
-{
- if (MEM_32bits())
- MEM_writeLE32(memPtr, (U32)val);
- else
- MEM_writeLE64(memPtr, (U64)val);
-}
-
-/*=== Big endian r/w ===*/
-
-MEM_STATIC U32 MEM_readBE32(const void* memPtr)
-{
- if (MEM_isLittleEndian())
- return MEM_swap32(MEM_read32(memPtr));
- else
- return MEM_read32(memPtr);
-}
-
-MEM_STATIC void MEM_writeBE32(void* memPtr, U32 val32)
-{
- if (MEM_isLittleEndian())
- MEM_write32(memPtr, MEM_swap32(val32));
- else
- MEM_write32(memPtr, val32);
-}
-
-MEM_STATIC U64 MEM_readBE64(const void* memPtr)
-{
- if (MEM_isLittleEndian())
- return MEM_swap64(MEM_read64(memPtr));
- else
- return MEM_read64(memPtr);
-}
-
-MEM_STATIC void MEM_writeBE64(void* memPtr, U64 val64)
-{
- if (MEM_isLittleEndian())
- MEM_write64(memPtr, MEM_swap64(val64));
- else
- MEM_write64(memPtr, val64);
-}
-
-MEM_STATIC size_t MEM_readBEST(const void* memPtr)
-{
- if (MEM_32bits())
- return (size_t)MEM_readBE32(memPtr);
- else
- return (size_t)MEM_readBE64(memPtr);
-}
-
-MEM_STATIC void MEM_writeBEST(void* memPtr, size_t val)
-{
- if (MEM_32bits())
- MEM_writeBE32(memPtr, (U32)val);
- else
- MEM_writeBE64(memPtr, (U64)val);
-}
-
-/* code only tested on 32 and 64 bits systems */
-MEM_STATIC void MEM_check(void) { DEBUG_STATIC_ASSERT((sizeof(size_t)==4) || (sizeof(size_t)==8)); }
-
-#if defined (__cplusplus)
-}
-#endif
-
-#endif /* MEM_H_MODULE */
diff --git a/src/cpu.c b/src/cpu.c
new file mode 100644
index 00000000..11f84915
--- /dev/null
+++ b/src/cpu.c
@@ -0,0 +1,123 @@
+/*
+ * Rufus: The Reliable USB Formatting Utility
+ * CPU features detection
+ * Copyright © 2022 Pete Batard
+ * Copyright © 2022 Jeffrey Walton
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+#include "cpu.h"
+
+#if (defined(CPU_X86_SHA1_ACCELERATION) || defined(CPU_X86_SHA256_ACCELERATION))
+#if defined(RUFUS_MSC_VERSION)
+#include
+#elif (defined(RUFUS_GCC_VERSION) || defined(RUFUS_CLANG_VERSION))
+#include
+#elif defined(RUFUS_INTEL_VERSION)
+#include
+#endif
+#endif
+
+BOOL cpu_has_sha1_accel = FALSE;
+BOOL cpu_has_sha256_accel = FALSE;
+
+/*
+ * Three elements must be in place to make a meaningful call to the
+ * DetectSHA###Acceleration() calls. First, the compiler must support
+ * the underlying intrinsics. Second, the platform must provide a
+ * cpuid() function. And third, the cpu must actually support the SHA-1
+ * and SHA-256 instructions.
+ *
+ * If any of the conditions are not met, then DetectSHA###Acceleration()
+ * returns FALSE.
+ */
+
+/*
+ * Detect if the processor supports SHA-1 acceleration. We only check for
+ * the three ISAs we need - SSSE3, SSE4.1 and SHA. We don't check for OS
+ * support or XSAVE because that's been enabled since Windows 2000.
+ */
+BOOL DetectSHA1Acceleration(void)
+{
+#if defined(CPU_X86_SHA1_ACCELERATION)
+#if defined(_MSC_VER)
+ uint32_t regs0[4] = {0,0,0,0}, regs1[4] = {0,0,0,0}, regs7[4] = {0,0,0,0};
+ const uint32_t SSSE3_BIT = 1u << 9; /* Function 1, Bit 9 of ECX */
+ const uint32_t SSE41_BIT = 1u << 19; /* Function 1, Bit 19 of ECX */
+ const uint32_t SHA_BIT = 1u << 29; /* Function 7, Bit 29 of EBX */
+
+ __cpuid(regs0, 0);
+ const uint32_t highest = regs0[0]; /*EAX*/
+
+ if (highest >= 0x01) {
+ __cpuidex(regs1, 1, 0);
+ }
+ if (highest >= 0x07) {
+ __cpuidex(regs7, 7, 0);
+ }
+
+ return (regs1[2] /*ECX*/ & SSSE3_BIT) && (regs1[2] /*ECX*/ & SSE41_BIT) && (regs7[1] /*EBX*/ & SHA_BIT) ? TRUE : FALSE;
+#elif defined(__GNUC__) || defined(__clang__)
+ /* __builtin_cpu_supports available in GCC 4.8.1 and above */
+ return __builtin_cpu_supports("ssse3") && __builtin_cpu_supports("sse4.1") && __builtin_cpu_supports("sha") ? TRUE : FALSE;
+#elif defined(__INTEL_COMPILER)
+ /* https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_may_i_use_cpu_feature */
+ return _may_i_use_cpu_feature(_FEATURE_SSSE3|_FEATURE_SSE4_1|_FEATURE_SHA) ? TRUE : FALSE;
+#else
+ return FALSE;
+#endif
+#else
+ return FALSE;
+#endif
+}
+
+/*
+ * Detect if the processor supports SHA-256 acceleration. We only check for
+ * the three ISAs we need - SSSE3, SSE4.1 and SHA. We don't check for OS
+ * support or XSAVE because that's been enabled since Windows 2000.
+ */
+BOOL DetectSHA256Acceleration(void)
+{
+#if defined(CPU_X86_SHA256_ACCELERATION)
+#if defined(_MSC_VER)
+ uint32_t regs0[4] = {0,0,0,0}, regs1[4] = {0,0,0,0}, regs7[4] = {0,0,0,0};
+ const uint32_t SSSE3_BIT = 1u << 9; /* Function 1, Bit 9 of ECX */
+ const uint32_t SSE41_BIT = 1u << 19; /* Function 1, Bit 19 of ECX */
+ const uint32_t SHA_BIT = 1u << 29; /* Function 7, Bit 29 of EBX */
+
+ __cpuid(regs0, 0);
+ const uint32_t highest = regs0[0]; /*EAX*/
+
+ if (highest >= 0x01) {
+ __cpuidex(regs1, 1, 0);
+ }
+ if (highest >= 0x07) {
+ __cpuidex(regs7, 7, 0);
+ }
+
+ return (regs1[2] /*ECX*/ & SSSE3_BIT) && (regs1[2] /*ECX*/ & SSE41_BIT) && (regs7[1] /*EBX*/ & SHA_BIT) ? TRUE : FALSE;
+#elif defined(__GNUC__) || defined(__clang__)
+ /* __builtin_cpu_supports available in GCC 4.8.1 and above */
+ return __builtin_cpu_supports("ssse3") && __builtin_cpu_supports("sse4.1") && __builtin_cpu_supports("sha") ? TRUE : FALSE;
+#elif defined(__INTEL_COMPILER)
+ /* https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_may_i_use_cpu_feature */
+ return _may_i_use_cpu_feature(_FEATURE_SSSE3|_FEATURE_SSE4_1|_FEATURE_SHA) ? TRUE : FALSE;
+#else
+ return FALSE;
+#endif
+#else
+ return FALSE;
+#endif
+}
diff --git a/src/cpu.h b/src/cpu.h
new file mode 100644
index 00000000..077f19fd
--- /dev/null
+++ b/src/cpu.h
@@ -0,0 +1,79 @@
+/*
+ * Rufus: The Reliable USB Formatting Utility
+ * CPU features detection
+ * Copyright © 2022 Pete Batard
+ * Copyright © 2022 Jeffrey Walton
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+/*
+ * Primarily added to support SHA instructions on x86 machines.
+ * SHA acceleration is becoming as ubiquitous as AES acceleration.
+ * SHA support was introduced in Intel Goldmont architecture, like
+ * Celeron J3455 and Pentium J4205. The instructions are now present
+ * in AMD Ryzen 3 (Zen architecture) and above, and Intel Core
+ * 10th-gen processors (Ice Lake), 11th-gen processors (Rocket Lake)
+ * and above.
+ *
+ * Typical benchmarks for x86 SHA acceleration is about a 6x to 10x
+ * speedup over a C/C++ implementation. The rough measurements are
+ * 1.0 to 1.8 cpb for SHA-1, and 1.5 to 2.5 cpb for SHA-256. On a
+ * Celeron J3455, that's 1.1 GB/s for SHA-1 and 800 MB/s for SHA-256.
+ * On a 10th-gen Core i5, that's about 1.65 GB/s for SHA-1 and about
+ * 1.3 GB/s for SHA-256.
+ */
+
+#include "rufus.h"
+
+#pragma once
+
+#ifdef _MSC_VER
+#define RUFUS_MSC_VERSION (_MSC_VER)
+#if (RUFUS_MSC_VERSION < 1900)
+#error "Your compiler is too old to build this application"
+#endif
+#endif
+
+#if defined(__GNUC__)
+#define RUFUS_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
+#if (RUFUS_GCC_VERSION < 40900)
+#error "Your compiler is too old to build this application"
+#endif
+#endif
+
+#ifdef __INTEL_COMPILER
+#define RUFUS_INTEL_VERSION (__INTEL_COMPILER)
+#if (RUFUS_INTEL_VERSION < 1600)
+#error "Your compiler is too old to build this application"
+#endif
+#endif
+
+#if defined(__clang__)
+#define RUFUS_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
+#if (RUFUS_CLANG_VERSION < 30400)
+#error "Your compiler is too old to build this application"
+#endif
+#endif
+
+#if (defined(_M_IX86) || defined(_M_X64) || defined(__i386__) || defined(__i386) || \
+ defined(_X86_) || defined(__I86__) || defined(__x86_64__))
+#define CPU_X86_SHA1_ACCELERATION 1
+#define CPU_X86_SHA256_ACCELERATION 1
+#endif
+
+extern BOOL cpu_has_sha1_accel, cpu_has_sha256_accel;
+
+extern BOOL DetectSHA1Acceleration(void);
+extern BOOL DetectSHA256Acceleration(void);
diff --git a/src/cregex.h b/src/cregex.h
deleted file mode 100644
index e6367812..00000000
--- a/src/cregex.h
+++ /dev/null
@@ -1,140 +0,0 @@
-#ifndef CREGEX_H
-#define CREGEX_H
-
-#define REGEX_VM_MAX_MATCHES 64
-
-typedef enum {
- REGEX_NODE_TYPE_EPSILON = 0,
- /* Characters */
- REGEX_NODE_TYPE_CHARACTER,
- REGEX_NODE_TYPE_ANY_CHARACTER,
- REGEX_NODE_TYPE_CHARACTER_CLASS,
- REGEX_NODE_TYPE_CHARACTER_CLASS_NEGATED,
- /* Composites */
- REGEX_NODE_TYPE_CONCATENATION,
- REGEX_NODE_TYPE_ALTERNATION,
- /* Quantifiers */
- REGEX_NODE_TYPE_QUANTIFIER,
- /* Anchors */
- REGEX_NODE_TYPE_ANCHOR_BEGIN,
- REGEX_NODE_TYPE_ANCHOR_END,
- /* Captures */
- REGEX_NODE_TYPE_CAPTURE
-} cregex_node_type;
-
-typedef struct cregex_node {
- cregex_node_type type;
- union {
- /* REGEX_NODE_TYPE_CHARACTER */
- struct {
- int ch;
- };
- /* REGEX_NODE_TYPE_CHARACTER_CLASS,
- * REGEX_NODE_TYPE_CHARACTER_CLASS_NEGATED
- */
- struct {
- const char *from, *to;
- };
- /* REGEX_NODE_TYPE_QUANTIFIER */
- struct {
- int nmin, nmax, greedy;
- struct cregex_node *quantified;
- };
- /* REGEX_NODE_TYPE_CONCATENATION,
- * REGEX_NODE_TYPE_ALTERNATION
- */
- struct {
- struct cregex_node *left, *right;
- };
- /* REGEX_NODE_TYPE_CAPTURE */
- struct {
- struct cregex_node *captured;
- };
- };
-} cregex_node_t;
-
-typedef enum {
- REGEX_PROGRAM_OPCODE_MATCH = 0,
- /* Characters */
- REGEX_PROGRAM_OPCODE_CHARACTER,
- REGEX_PROGRAM_OPCODE_ANY_CHARACTER,
- REGEX_PROGRAM_OPCODE_CHARACTER_CLASS,
- REGEX_PROGRAM_OPCODE_CHARACTER_CLASS_NEGATED,
- /* Control-flow */
- REGEX_PROGRAM_OPCODE_SPLIT,
- REGEX_PROGRAM_OPCODE_JUMP,
- /* Assertions */
- REGEX_PROGRAM_OPCODE_ASSERT_BEGIN,
- REGEX_PROGRAM_OPCODE_ASSERT_END,
- /* Saving */
- REGEX_PROGRAM_OPCODE_SAVE
-} cregex_program_opcode_t;
-
-#include
-
-typedef char cregex_char_class[(UCHAR_MAX + CHAR_BIT - 1) / CHAR_BIT];
-
-static inline int cregex_char_class_contains(const cregex_char_class klass,
- int ch)
-{
- return klass[ch / CHAR_BIT] & (1 << ch % CHAR_BIT);
-}
-
-static inline int cregex_char_class_add(cregex_char_class klass, int ch)
-{
- klass[ch / CHAR_BIT] |= 1 << (ch % CHAR_BIT);
- return ch;
-}
-
-typedef struct cregex_program_instr {
- cregex_program_opcode_t opcode;
- union {
- /* REGEX_PROGRAM_OPCODE_CHARACTER */
- struct {
- int ch;
- };
- /* REGEX_PROGRAM_OPCODE_CHARACTER_CLASS,
- * REGEX_PROGRAM_OPCODE_CHARACTER_CLASS_NEGATED
- */
- struct {
- cregex_char_class klass;
- };
- /* REGEX_PROGRAM_OPCODE_SPLIT */
- struct {
- struct cregex_program_instr *first, *second;
- };
- /* REGEX_PROGRAM_OPCODE_JUMP */
- struct {
- struct cregex_program_instr *target;
- };
- /* REGEX_PROGRAM_OPCODE_SAVE */
- struct {
- int save;
- };
- };
-} cregex_program_instr_t;
-
-typedef struct {
- int ninstructions;
- cregex_program_instr_t instructions[];
-} cregex_program_t;
-
-/* Run program on string */
-int cregex_program_run(const cregex_program_t *program,
- const char *string,
- const char **matches,
- int nmatches);
-
-/* Compile a parsed pattern */
-cregex_program_t *cregex_compile_node(const cregex_node_t *root);
-
-/* Free a compiled program */
-void cregex_compile_free(cregex_program_t *program);
-
-/* Parse a pattern */
-cregex_node_t *cregex_parse(const char *pattern);
-
-/* Free a parsed pattern */
-void cregex_parse_free(cregex_node_t *root);
-
-#endif
diff --git a/src/cregex_compile.c b/src/cregex_compile.c
deleted file mode 100644
index df93278b..00000000
--- a/src/cregex_compile.c
+++ /dev/null
@@ -1,329 +0,0 @@
-#include
-#include
-
-#include "cregex.h"
-
-typedef struct {
- cregex_program_instr_t *pc;
- int ncaptures;
-} regex_compile_context;
-
-static int count_instructions(const cregex_node_t *node)
-{
- switch (node->type) {
- case REGEX_NODE_TYPE_EPSILON:
- return 0;
-
- /* Characters */
- case REGEX_NODE_TYPE_CHARACTER:
- case REGEX_NODE_TYPE_ANY_CHARACTER:
- case REGEX_NODE_TYPE_CHARACTER_CLASS:
- case REGEX_NODE_TYPE_CHARACTER_CLASS_NEGATED:
- return 1;
-
- /* Composites */
- case REGEX_NODE_TYPE_CONCATENATION:
- return count_instructions(node->left) + count_instructions(node->right);
- case REGEX_NODE_TYPE_ALTERNATION:
- return 2 + count_instructions(node->left) +
- count_instructions(node->right);
-
- /* Quantifiers */
- case REGEX_NODE_TYPE_QUANTIFIER: {
- int num = count_instructions(node->quantified);
- if (node->nmax >= node->nmin)
- return node->nmin * num + (node->nmax - node->nmin) * (num + 1);
- return 1 + (node->nmin ? node->nmin * num : num + 1);
- }
-
- /* Anchors */
- case REGEX_NODE_TYPE_ANCHOR_BEGIN:
- case REGEX_NODE_TYPE_ANCHOR_END:
- return 1;
-
- /* Captures */
- case REGEX_NODE_TYPE_CAPTURE:
- return 2 + count_instructions(node->captured);
- }
-
- /* should not reach here */
- return 0;
-}
-
-static bool node_is_anchored(const cregex_node_t *node)
-{
- switch (node->type) {
- case REGEX_NODE_TYPE_EPSILON:
- return false;
-
- /* Characters */
- case REGEX_NODE_TYPE_CHARACTER:
- case REGEX_NODE_TYPE_ANY_CHARACTER:
- case REGEX_NODE_TYPE_CHARACTER_CLASS:
- case REGEX_NODE_TYPE_CHARACTER_CLASS_NEGATED:
- return false;
-
- /* Composites */
- case REGEX_NODE_TYPE_CONCATENATION:
- return node_is_anchored(node->left);
- case REGEX_NODE_TYPE_ALTERNATION:
- return node_is_anchored(node->left) && node_is_anchored(node->right);
-
- /* Quantifiers */
- case REGEX_NODE_TYPE_QUANTIFIER:
- return node_is_anchored(node->quantified);
-
- /* Anchors */
- case REGEX_NODE_TYPE_ANCHOR_BEGIN:
- return true;
- case REGEX_NODE_TYPE_ANCHOR_END:
- return false;
-
- /* Captures */
- case REGEX_NODE_TYPE_CAPTURE:
- return node_is_anchored(node->captured);
- }
-
- /* should not reach here */
- return false;
-}
-
-static inline cregex_program_instr_t *emit(
- regex_compile_context *context,
- const cregex_program_instr_t *instruction)
-{
- *context->pc = *instruction;
- return context->pc++;
-}
-
-static cregex_program_instr_t *compile_char_class(
- const cregex_node_t *node,
- cregex_program_instr_t *instruction)
-{
- const char *sp = node->from;
-
- for (;;) {
- int ch = *sp++;
- switch (ch) {
- case ']':
- if (sp - 1 == node->from)
- goto CHARACTER;
- return instruction;
- case '\\':
- ch = *sp++;
- /* fall-through */
- default:
- CHARACTER:
- if (*sp == '-' && sp[1] != ']') {
- for (; ch <= sp[1]; ++ch)
- cregex_char_class_add(instruction->klass, ch);
- sp += 2;
- } else {
- cregex_char_class_add(instruction->klass, ch);
- }
- break;
- }
- }
-}
-
-static cregex_program_instr_t *compile_context(regex_compile_context *context,
- const cregex_node_t *node)
-{
- cregex_program_instr_t *bottom = context->pc, *split, *jump;
- int ncaptures = context->ncaptures, capture;
-
- switch (node->type) {
- case REGEX_NODE_TYPE_EPSILON:
- break;
-
- /* Characters */
- case REGEX_NODE_TYPE_CHARACTER:
- emit(context,
- &(cregex_program_instr_t){.opcode = REGEX_PROGRAM_OPCODE_CHARACTER,
- .ch = node->ch});
- break;
- case REGEX_NODE_TYPE_ANY_CHARACTER:
- emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_ANY_CHARACTER});
- break;
- case REGEX_NODE_TYPE_CHARACTER_CLASS:
- compile_char_class(
- node,
- emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_CHARACTER_CLASS}));
- break;
- case REGEX_NODE_TYPE_CHARACTER_CLASS_NEGATED:
- compile_char_class(
- node,
- emit(context,
- &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_CHARACTER_CLASS_NEGATED}));
- break;
-
- /* Composites */
- case REGEX_NODE_TYPE_CONCATENATION:
- compile_context(context, node->left);
- compile_context(context, node->right);
- break;
- case REGEX_NODE_TYPE_ALTERNATION:
- split = emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_SPLIT});
- split->first = compile_context(context, node->left);
- jump = emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_JUMP});
- split->second = compile_context(context, node->right);
- jump->target = context->pc;
- break;
-
- /* Quantifiers */
- case REGEX_NODE_TYPE_QUANTIFIER: {
- cregex_program_instr_t *last = NULL;
- for (int i = 0; i < node->nmin; ++i) {
- context->ncaptures = ncaptures;
- last = compile_context(context, node->quantified);
- }
- if (node->nmax > node->nmin) {
- for (int i = 0; i < node->nmax - node->nmin; ++i) {
- context->ncaptures = ncaptures;
- split =
- emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_SPLIT});
- split->first = compile_context(context, node->quantified);
- split->second = context->pc;
- if (!node->greedy) {
- cregex_program_instr_t *swap = split->first;
- split->first = split->second;
- split->second = swap;
- }
- }
- } else if (node->nmax == -1) {
- split = emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_SPLIT});
- if (node->nmin == 0) {
- split->first = compile_context(context, node->quantified);
- jump = emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_JUMP});
- split->second = context->pc;
- jump->target = split;
- } else {
- split->first = last;
- split->second = context->pc;
- }
- if (!node->greedy) {
- cregex_program_instr_t *swap = split->first;
- split->first = split->second;
- split->second = swap;
- }
- }
- break;
- }
-
- /* Anchors */
- case REGEX_NODE_TYPE_ANCHOR_BEGIN:
- emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_ASSERT_BEGIN});
- break;
- case REGEX_NODE_TYPE_ANCHOR_END:
- emit(context, &(cregex_program_instr_t){
- .opcode = REGEX_PROGRAM_OPCODE_ASSERT_END});
- break;
-
- /* Captures */
- case REGEX_NODE_TYPE_CAPTURE:
- capture = context->ncaptures++ * 2;
- emit(context,
- &(cregex_program_instr_t){.opcode = REGEX_PROGRAM_OPCODE_SAVE,
- .save = capture});
- compile_context(context, node->captured);
- emit(context,
- &(cregex_program_instr_t){.opcode = REGEX_PROGRAM_OPCODE_SAVE,
- .save = capture + 1});
- break;
- }
-
- return bottom;
-}
-
-/* Compile a parsed pattern (using a previously allocated program with at least
- * estimate_instructions(root) instructions).
- */
-#if defined __GNUC__
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdangling-pointer"
-#endif
-static cregex_program_t *compile_node_with_program(const cregex_node_t *root,
- cregex_program_t *program)
-{
- /* Silence a MinGW warning about dangling pointers */
- static cregex_node_t* _root;
- /* add capture node for entire match */
- root = &(cregex_node_t){.type = REGEX_NODE_TYPE_CAPTURE,
- .captured = (cregex_node_t *) root};
-
- /* add .*? unless pattern starts with ^ */
- if (!node_is_anchored(root)) {
- _root = &(cregex_node_t){
- .type = REGEX_NODE_TYPE_CONCATENATION,
- .left =
- &(cregex_node_t){
- .type = REGEX_NODE_TYPE_QUANTIFIER,
- .nmin = 0,
- .nmax = -1,
- .greedy = 0,
- .quantified = &(
- cregex_node_t){.type = REGEX_NODE_TYPE_ANY_CHARACTER}},
- .right = (cregex_node_t *) root};
- root = _root;
- }
-
- /* compile */
- regex_compile_context *context =
- &(regex_compile_context){.pc = program->instructions, .ncaptures = 0};
- compile_context(context, root);
-
- /* emit final match instruction */
- emit(context,
- &(cregex_program_instr_t){.opcode = REGEX_PROGRAM_OPCODE_MATCH});
-
- /* set total number of instructions */
- program->ninstructions = (int)(context->pc - program->instructions);
-
- return program;
-}
-#if defined __GNUC__
-#pragma GCC diagnostic pop
-#endif
-
-/* Upper bound of number of instructions required to compile parsed pattern. */
-static int estimate_instructions(const cregex_node_t *root)
-{
- return count_instructions(root)
- /* .*? is added unless pattern starts with ^,
- * save instructions are added for beginning and end of match,
- * a final match instruction is added to the end of the program
- */
- + !node_is_anchored(root) * 3 + 2 + 1;
-}
-
-cregex_program_t *cregex_compile_node(const cregex_node_t *root)
-{
- size_t size = sizeof(cregex_program_t) +
- sizeof(cregex_program_instr_t) * estimate_instructions(root);
- cregex_program_t *program;
-
- if (!(program = malloc(size)))
- return NULL;
-
- if (!compile_node_with_program(root, program)) {
- free(program);
- return NULL;
- }
-
- return program;
-}
-
-/* Free a compiled program */
-void cregex_compile_free(cregex_program_t *program)
-{
- free(program);
-}
diff --git a/src/cregex_parse.c b/src/cregex_parse.c
deleted file mode 100644
index b2a5b7ae..00000000
--- a/src/cregex_parse.c
+++ /dev/null
@@ -1,286 +0,0 @@
-#include
-#include
-#include
-
-#include "cregex.h"
-
-typedef struct {
- const char *sp;
- cregex_node_t *stack, *output;
-} regex_parse_context;
-
-/* Shunting-yard algorithm
- * See https://en.wikipedia.org/wiki/Shunting-yard_algorithm
- */
-
-static inline cregex_node_t *push(regex_parse_context *context,
- const cregex_node_t *node)
-{
- assert(context->stack <= context->output);
- *context->stack = *node;
- return context->stack++;
-}
-
-static inline cregex_node_t *drop(regex_parse_context *context)
-{
- return --context->stack;
-}
-
-static inline cregex_node_t *consume(regex_parse_context *context)
-{
- *--context->output = *--context->stack;
- return context->output;
-}
-
-static inline cregex_node_t *concatenate(regex_parse_context *context,
- const cregex_node_t *bottom)
-{
- if (context->stack == bottom)
- push(context, &(cregex_node_t){.type = REGEX_NODE_TYPE_EPSILON});
- else {
- while (context->stack - 1 > bottom) {
- cregex_node_t *right = consume(context);
- cregex_node_t *left = consume(context);
- push(context,
- &(cregex_node_t){.type = REGEX_NODE_TYPE_CONCATENATION,
- .left = left,
- .right = right});
- }
- }
- return context->stack - 1;
-}
-
-static cregex_node_t *parse_char_class(regex_parse_context *context)
-{
- cregex_node_type type =
- (*context->sp == '^')
- ? (++context->sp, REGEX_NODE_TYPE_CHARACTER_CLASS_NEGATED)
- : REGEX_NODE_TYPE_CHARACTER_CLASS;
- const char *from = context->sp;
-
- for (;;) {
- int ch = *context->sp++;
- switch (ch) {
- case '\0':
- /* premature end of character class */
- return NULL;
- case ']':
- if (context->sp - 1 == from)
- goto CHARACTER;
- return push(context,
- &(cregex_node_t){
- .type = type, .from = from, .to = context->sp - 1});
- case '\\':
- ch = *context->sp++;
- /* fall-through */
- default:
- CHARACTER:
- if (*context->sp == '-' && context->sp[1] != ']') {
- if (context->sp[1] < ch)
- /* empty range in character class */
- return NULL;
- context->sp += 2;
- }
- break;
- }
- }
-}
-
-static cregex_node_t *parse_interval(regex_parse_context *context)
-{
- const char *from = context->sp;
- int nmin, nmax;
-
- for (nmin = 0; *context->sp >= '0' && *context->sp <= '9'; ++context->sp)
- nmin = (nmin * 10) + (*context->sp - '0');
-
- if (*context->sp == ',') {
- ++context->sp;
- if (*from != ',' && *context->sp == '}')
- nmax = -1;
- else {
- for (nmax = 0; *context->sp >= '0' && *context->sp <= '9';
- ++context->sp)
- nmax = (nmax * 10) + (*context->sp - '0');
- if (*(context->sp - 1) == ',' || *context->sp != '}' ||
- nmax < nmin) {
- context->sp = from;
- return NULL;
- }
- }
- } else if (*from != '}' && *context->sp == '}') {
- nmax = nmin;
- } else {
- context->sp = from;
- return NULL;
- }
-
- ++context->sp;
- return push(context,
- &(cregex_node_t){
- .type = REGEX_NODE_TYPE_QUANTIFIER,
- .nmin = nmin,
- .nmax = nmax,
- .greedy = (*context->sp == '?') ? (++context->sp, 0) : 1,
- .quantified = consume(context)});
-}
-
-static cregex_node_t *parse_context(regex_parse_context *context, int depth)
-{
- cregex_node_t *bottom = context->stack;
-
- for (;;) {
- int ch = *context->sp++;
- switch (ch) {
- /* Characters */
- case '\\':
- ch = *context->sp++;
- /* fall-through */
- default:
- CHARACTER:
- push(context,
- &(cregex_node_t){.type = REGEX_NODE_TYPE_CHARACTER, .ch = ch});
- break;
- case '.':
- push(context,
- &(cregex_node_t){.type = REGEX_NODE_TYPE_ANY_CHARACTER});
- break;
- case '[':
- if (!parse_char_class(context))
- return NULL;
- break;
-
- /* Composites */
- case '|': {
- cregex_node_t *left = concatenate(context, bottom), *right;
- if (!(right = parse_context(context, depth)))
- return NULL;
- if (left->type == REGEX_NODE_TYPE_EPSILON &&
- right->type == left->type) {
- drop(context);
- } else if (left->type == REGEX_NODE_TYPE_EPSILON) {
- right = consume(context);
- drop(context);
- push(context,
- &(cregex_node_t){.type = REGEX_NODE_TYPE_QUANTIFIER,
- .nmin = 0,
- .nmax = 1,
- .greedy = 1,
- .quantified = right});
- } else if (right->type == REGEX_NODE_TYPE_EPSILON) {
- drop(context);
- left = consume(context);
- push(context,
- &(cregex_node_t){.type = REGEX_NODE_TYPE_QUANTIFIER,
- .nmin = 0,
- .nmax = 1,
- .greedy = 1,
- .quantified = left});
- } else {
- right = consume(context);
- left = consume(context);
- push(context,
- &(cregex_node_t){.type = REGEX_NODE_TYPE_ALTERNATION,
- .left = left,
- .right = right});
- }
- return bottom;
- }
-
-#define QUANTIFIER(ch, min, max) \
- case ch: \
- if (context->stack == bottom) \
- goto CHARACTER; \
- push(context, \
- &(cregex_node_t){ \
- .type = REGEX_NODE_TYPE_QUANTIFIER, \
- .nmin = min, \
- .nmax = max, \
- .greedy = (*context->sp == '?') ? (++context->sp, 0) : 1, \
- .quantified = consume(context)}); \
- break
-
- /* clang-format off */
- /* Quantifiers */
- QUANTIFIER('?', 0, 1);
- QUANTIFIER('*', 0, -1);
- QUANTIFIER('+', 1, -1);
- /* clang-format on */
-#undef QUANTIFIER
-
- case '{':
- if ((context->stack == bottom) || !parse_interval(context))
- goto CHARACTER;
- break;
-
- /* Anchors */
- case '^':
- push(context,
- &(cregex_node_t){.type = REGEX_NODE_TYPE_ANCHOR_BEGIN});
- break;
- case '$':
- push(context, &(cregex_node_t){.type = REGEX_NODE_TYPE_ANCHOR_END});
- break;
-
- /* Captures */
- case '(':
- if (!parse_context(context, depth + 1))
- return NULL;
- push(context, &(cregex_node_t){.type = REGEX_NODE_TYPE_CAPTURE,
- .captured = consume(context)});
- break;
- case ')':
- if (depth > 0)
- return concatenate(context, bottom);
- /* unmatched close parenthesis */
- return NULL;
-
- /* End of string */
- case '\0':
- if (depth == 0)
- return concatenate(context, bottom);
- /* unmatched open parenthesis */
- return NULL;
- }
- }
-}
-
-static inline int estimate_nodes(const char *pattern)
-{
- return (int)strlen(pattern) * 2;
-}
-
-/* Parse a pattern (using a previously allocated buffer of at least
- * estimate_nodes(pattern) nodes).
- */
-static cregex_node_t *parse_with_nodes(const char *pattern,
- cregex_node_t *nodes)
-{
- regex_parse_context *context =
- &(regex_parse_context){.sp = pattern,
- .stack = nodes,
- .output = nodes + estimate_nodes(pattern)};
- return parse_context(context, 0);
-}
-
-cregex_node_t *cregex_parse(const char *pattern)
-{
- size_t size = sizeof(cregex_node_t) * estimate_nodes(pattern);
- cregex_node_t* nodes;
-
- nodes = malloc(size);
- if (!nodes)
- return NULL;
-
- if (!parse_with_nodes(pattern, nodes)) {
- free(nodes);
- return NULL;
- }
-
- return nodes;
-}
-
-void cregex_parse_free(cregex_node_t *root)
-{
- free(root);
-}
diff --git a/src/cregex_vm.c b/src/cregex_vm.c
deleted file mode 100644
index 79220172..00000000
--- a/src/cregex_vm.c
+++ /dev/null
@@ -1,211 +0,0 @@
-#include
-#include
-
-#include "cregex.h"
-
-/* The VM executes one or more threads, each running a regular expression
- * program, which is just a list of regular expression instructions. Each
- * thread maintains two registers while it runs: a program counter (PC) and
- * a string pointer (SP).
- */
-typedef struct {
- int visited;
- const cregex_program_instr_t *pc;
- const char *matches[REGEX_VM_MAX_MATCHES];
-} vm_thread;
-
-/* Run program on string */
-static int vm_run(const cregex_program_t *program,
- const char *string,
- const char **matches,
- int nmatches);
-
-/* Run program on string (using a previously allocated buffer of at least
- * vm_estimate_threads(program) threads)
- */
-static int vm_run_with_threads(const cregex_program_t *program,
- const char *string,
- const char **matches,
- int nmatches,
- vm_thread *threads);
-
-typedef struct {
- int nthreads;
- vm_thread *threads;
-} vm_thread_list;
-
-static void vm_add_thread(vm_thread_list *list,
- const cregex_program_t *program,
- const cregex_program_instr_t *pc,
- const char *string,
- const char *sp,
- const char **matches,
- int nmatches)
-{
- if (list->threads[pc - program->instructions].visited == sp - string + 1)
- return;
- list->threads[pc - program->instructions].visited = (int)(sp - string + 1);
-
- switch (pc->opcode) {
- case REGEX_PROGRAM_OPCODE_MATCH:
- /* fall-through */
-
- /* Characters */
- case REGEX_PROGRAM_OPCODE_CHARACTER:
- case REGEX_PROGRAM_OPCODE_ANY_CHARACTER:
- case REGEX_PROGRAM_OPCODE_CHARACTER_CLASS:
- case REGEX_PROGRAM_OPCODE_CHARACTER_CLASS_NEGATED:
- list->threads[list->nthreads].pc = pc;
- memcpy((void*)list->threads[list->nthreads].matches, matches,
- sizeof(matches[0]) * ((nmatches <= REGEX_VM_MAX_MATCHES)
- ? nmatches
- : REGEX_VM_MAX_MATCHES));
- ++list->nthreads;
- break;
-
- /* Control-flow */
- case REGEX_PROGRAM_OPCODE_SPLIT:
- vm_add_thread(list, program, pc->first, string, sp, matches, nmatches);
- vm_add_thread(list, program, pc->second, string, sp, matches, nmatches);
- break;
- case REGEX_PROGRAM_OPCODE_JUMP:
- vm_add_thread(list, program, pc->target, string, sp, matches, nmatches);
- break;
-
- /* Assertions */
- case REGEX_PROGRAM_OPCODE_ASSERT_BEGIN:
- if (sp == string)
- vm_add_thread(list, program, pc + 1, string, sp, matches, nmatches);
- break;
- case REGEX_PROGRAM_OPCODE_ASSERT_END:
- if (!*sp)
- vm_add_thread(list, program, pc + 1, string, sp, matches, nmatches);
- break;
-
- /* Saving */
- case REGEX_PROGRAM_OPCODE_SAVE:
- if (pc->save < nmatches && pc->save < REGEX_VM_MAX_MATCHES) {
- const char *saved = matches[pc->save];
- matches[pc->save] = sp;
- vm_add_thread(list, program, pc + 1, string, sp, matches, nmatches);
- matches[pc->save] = saved;
- } else {
- vm_add_thread(list, program, pc + 1, string, sp, matches, nmatches);
- }
- break;
- }
-}
-
-/* Upper bound of number of threads required to run program */
-static int vm_estimate_threads(const cregex_program_t *program)
-{
- return program->ninstructions * 2;
-}
-
-static int vm_run(const cregex_program_t *program,
- const char *string,
- const char **matches,
- int nmatches)
-{
- size_t size = sizeof(vm_thread) * vm_estimate_threads(program);
- vm_thread *threads;
- int matched;
-
- if (!(threads = malloc(size)))
- return -1;
-
- matched = vm_run_with_threads(program, string, matches, nmatches, threads);
- free(threads);
- return matched;
-}
-
-static int vm_run_with_threads(const cregex_program_t *program,
- const char *string,
- const char **matches,
- int nmatches,
- vm_thread *threads)
-{
- vm_thread_list *current =
- &(vm_thread_list){.nthreads = 0, .threads = threads};
- vm_thread_list *next = &(vm_thread_list){
- .nthreads = 0, .threads = threads + program->ninstructions};
- int matched = 0;
-
- memset(matches, 0, sizeof(char*) * nmatches);
- memset(threads, 0, sizeof(vm_thread) * program->ninstructions * 2);
-
- vm_add_thread(current, program, program->instructions, string, string,
- matches, nmatches);
-
- for (const char *sp = string;; ++sp) {
- for (int i = 0; i < current->nthreads; ++i) {
- vm_thread *thread = current->threads + i;
- switch (thread->pc->opcode) {
- case REGEX_PROGRAM_OPCODE_MATCH:
- matched = 1;
- current->nthreads = 0;
- memcpy(matches, thread->matches,
- sizeof(matches[0]) * ((nmatches <= REGEX_VM_MAX_MATCHES)
- ? nmatches
- : REGEX_VM_MAX_MATCHES));
- continue;
-
- /* Characters */
- case REGEX_PROGRAM_OPCODE_CHARACTER:
- if (*sp == thread->pc->ch)
- break;
- continue;
- case REGEX_PROGRAM_OPCODE_ANY_CHARACTER:
- if (*sp)
- break;
- continue;
- case REGEX_PROGRAM_OPCODE_CHARACTER_CLASS:
- if (cregex_char_class_contains(thread->pc->klass, *sp))
- break;
- continue;
- case REGEX_PROGRAM_OPCODE_CHARACTER_CLASS_NEGATED:
- if (!cregex_char_class_contains(thread->pc->klass, *sp))
- break;
- continue;
-
- /* Control-flow */
- case REGEX_PROGRAM_OPCODE_SPLIT:
- case REGEX_PROGRAM_OPCODE_JUMP:
- /* fall-through */
-
- /* Assertions */
- case REGEX_PROGRAM_OPCODE_ASSERT_BEGIN:
- case REGEX_PROGRAM_OPCODE_ASSERT_END:
- /* fall-through */
-
- /* Saving */
- case REGEX_PROGRAM_OPCODE_SAVE:
- /* handled in vm_add_thread() */
- abort();
- }
-
- vm_add_thread(next, program, thread->pc + 1, string, sp + 1,
- thread->matches, nmatches);
- }
-
- /* swap current and next thread list */
- vm_thread_list *swap = current;
- current = next;
- next = swap;
- next->nthreads = 0;
-
- /* done if no more threads are running or end of string reached */
- if (current->nthreads == 0 || !*sp)
- break;
- }
-
- return matched;
-}
-
-int cregex_program_run(const cregex_program_t *program,
- const char *string,
- const char **matches,
- int nmatches)
-{
- return vm_run(program, string, matches, nmatches);
-}
diff --git a/src/darkmode.c b/src/darkmode.c
deleted file mode 100644
index 060e4ea6..00000000
--- a/src/darkmode.c
+++ /dev/null
@@ -1,1205 +0,0 @@
-/*
- * Rufus: The Reliable USB Formatting Utility
- * Dark mode UI implementation
- * Copyright © 2025 ozone10
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-/* Memory leaks detection - define _CRTDBG_MAP_ALLOC as preprocessor macro */
-#ifdef _CRTDBG_MAP_ALLOC
-#include
-#include
-#endif
-
-#include
-#include
-#include
-#include
-#include
-#include
-
-#include "rufus.h"
-#include "ui.h"
-#include "settings.h"
-#include "darkmode.h"
-
-PF_TYPE_DECL(WINAPI, BOOL, AllowDarkModeForWindow, (HWND, BOOL));
-PF_TYPE_DECL(WINAPI, PreferredAppMode, SetPreferredAppMode, (PreferredAppMode));
-PF_TYPE_DECL(WINAPI, VOID, FlushMenuThemes, (VOID));
-PF_TYPE_DECL(WINAPI, BOOL, SetWindowCompositionAttribute, (HWND, WINDOWCOMPOSITIONATTRIBDATA*));
-
-BOOL is_darkmode_enabled = FALSE;
-
-static COLORREF color_accent = TOOLBAR_ICON_COLOR;
-
-static inline BOOL IsAtLeastWin10Build(DWORD buildNumber)
-{
- OSVERSIONINFOEXW osvi = { 0 };
-
- if (!IsWindows10OrGreater())
- return FALSE;
-
- osvi.dwOSVersionInfoSize = sizeof(osvi);
- osvi.dwBuildNumber = buildNumber;
-
- return VerifyVersionInfoW(&osvi, VER_BUILDNUMBER, VerSetConditionMask(0, VER_BUILDNUMBER, VER_GREATER_EQUAL));
-}
-
-static inline BOOL IsAtLeastWin10(void)
-{
- return IsAtLeastWin10Build(WIN10_1809);
-}
-
-static inline BOOL IsAtLeastWin11(void)
-{
- return IsAtLeastWin10Build(WIN11_21H2);
-}
-
-static inline BOOL IsHighContrast(void)
-{
- HIGHCONTRASTW highContrast = { 0 };
-
- highContrast.cbSize = sizeof(HIGHCONTRASTW);
- if (SystemParametersInfoW(SPI_GETHIGHCONTRAST, sizeof(HIGHCONTRASTW), &highContrast, FALSE))
- return (highContrast.dwFlags & HCF_HIGHCONTRASTON) == HCF_HIGHCONTRASTON;
- return FALSE;
-}
-
-BOOL GetDarkModeFromRegistry(void)
-{
- DWORD data = 0, size = sizeof(data);
-
- if (!IsAtLeastWin10() || IsHighContrast())
- return FALSE;
-
- // 0 = follow system, 1 = dark mode always, anything else = light mode always
- switch (ReadSetting32(SETTING_DARK_MODE)) {
- case 0:
- if (RegGetValueA(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
- "AppsUseLightTheme", RRF_RT_REG_DWORD, NULL, &data, &size) == ERROR_SUCCESS)
- // Dark mode is 0, light mode is 1
- return (data == 0);
- return FALSE;
- case 1:
- return TRUE;
- default:
- return FALSE;
- }
-}
-
-void InitDarkMode(HWND hWnd)
-{
- if (!IsAtLeastWin10() || IsHighContrast())
- goto out;
-
- PF_INIT_ID_OR_OUT(AllowDarkModeForWindow, UxTheme, 133);
- PF_INIT_ID_OR_OUT(SetPreferredAppMode, UxTheme, 135);
- PF_INIT_ID_OR_OUT(FlushMenuThemes, UxTheme, 136);
-
- pfAllowDarkModeForWindow(hWnd, is_darkmode_enabled);
- pfSetPreferredAppMode(is_darkmode_enabled ? AppModeForceDark : AppModeForceLight);
- pfFlushMenuThemes();
- return;
-
-out:
- is_darkmode_enabled = FALSE;
-}
-
-void SetDarkTitleBar(HWND hWnd)
-{
- if (IsAtLeastWin11()) {
- DwmSetWindowAttribute(hWnd, DWMWA_USE_IMMERSIVE_DARK_MODE, &is_darkmode_enabled, sizeof(is_darkmode_enabled));
- return;
- }
- if (IsAtLeastWin10Build(WIN10_1903)) {
- PF_INIT_OR_OUT(SetWindowCompositionAttribute, user32);
- WINDOWCOMPOSITIONATTRIBDATA data = { WCA_USEDARKMODECOLORS, &is_darkmode_enabled, sizeof(is_darkmode_enabled) };
- pfSetWindowCompositionAttribute(hWnd, &data);
- return;
- }
- // only for Windows 10 1809 build 17763
- if (IsAtLeastWin10()) {
- SetPropW(hWnd, L"UseImmersiveDarkModeColors", (HANDLE)(intptr_t)is_darkmode_enabled);
- return;
- }
-
-out:
- is_darkmode_enabled = FALSE;
-}
-
-void SetDarkTheme(HWND hWnd)
-{
- SetWindowTheme(hWnd, is_darkmode_enabled ? L"DarkMode_Explorer" : NULL, NULL);
-}
-
-/*
- * Accent color functions
- */
-// Adapted from https://stackoverflow.com/a/56678483
-static double LinearValue(double color_channel)
-{
- color_channel /= 255.0;
- if (color_channel <= 0.04045)
- return color_channel / 12.92;
- return pow((color_channel + 0.055) / 1.055, 2.4);
-}
-
-static double CalculatePerceivedLightness(COLORREF clr)
-{
- double r, g, b, luminance, lightness;
-
- r = LinearValue((double)GetRValue(clr));
- g = LinearValue((double)GetGValue(clr));
- b = LinearValue((double)GetBValue(clr));
- luminance = (0.2126 * r) + (0.7152 * g) + (0.0722 * b);
- lightness = (luminance <= 216.0 / 24389.0) ?
- (luminance * 24389.0 / 27.0) :
- ((pow(luminance, 1.0 / 3.0) * 116.0) - 16.0);
- return lightness;
-}
-
-BOOL InitAccentColor(void)
-{
- const double lightnessTreshold = 50.0 - 4.0;
- BOOL opaque = TRUE;
-
- if (SUCCEEDED(DwmGetColorizationColor(&color_accent, &opaque))) {
- color_accent = RGB(GetBValue(color_accent), GetGValue(color_accent), GetRValue(color_accent));
- // Check if accent color is too dark
- if (CalculatePerceivedLightness(color_accent) < lightnessTreshold) {
- color_accent = DARKMODE_TOOLBAR_ICON_COLOR;
- return FALSE;
- }
- return TRUE;
- }
- color_accent = TOOLBAR_ICON_COLOR;
- return FALSE;
-}
-
-// Rufus uses monocolour icons, so changing colour is easy
-BOOL ChangeIconColor(HICON* hIcon, COLORREF new_color)
-{
- HDC hdcScreen = NULL, hdcBitmap = NULL;
- HBITMAP hbm = NULL;
- BITMAP bmp = { 0 };
- ICONINFO ii;
- HICON hIconNew = NULL;
- RGBQUAD* pixels = NULL;
-
- if (!*hIcon || !is_darkmode_enabled)
- return FALSE;
-
- if (new_color == 0)
- new_color = color_accent;
-
- hdcBitmap = CreateCompatibleDC(NULL);
- hdcScreen = GetDC(NULL);
- if (hdcScreen) {
- if (hdcBitmap) {
- if (GetIconInfo(*hIcon, &ii) && GetObject(ii.hbmColor, sizeof(BITMAP), &bmp)) {
- BITMAPINFO bmi = { 0 };
- bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
- bmi.bmiHeader.biWidth = bmp.bmWidth;
- bmi.bmiHeader.biHeight = -bmp.bmHeight;
- bmi.bmiHeader.biPlanes = 1;
- bmi.bmiHeader.biBitCount = 32;
- bmi.bmiHeader.biCompression = BI_RGB;
-
- pixels = (RGBQUAD*)malloc((size_t)bmp.bmWidth * bmp.bmHeight * sizeof(RGBQUAD));
- if (pixels && GetDIBits(hdcBitmap, ii.hbmColor, 0, bmp.bmHeight, pixels, &bmi, DIB_RGB_COLORS)) {
- for (int i = 0; i < bmp.bmWidth * bmp.bmHeight; i++) {
- if (pixels[i].rgbReserved != 0) {
- pixels[i].rgbRed = GetRValue(new_color);
- pixels[i].rgbGreen = GetGValue(new_color);
- pixels[i].rgbBlue = GetBValue(new_color);
- }
- }
-
- hbm = CreateCompatibleBitmap(hdcScreen, bmp.bmWidth, bmp.bmHeight);
- if (hbm != NULL) {
- SetDIBits(hdcBitmap, hbm, 0, bmp.bmHeight, pixels, &bmi, DIB_RGB_COLORS);
- if (ii.hbmColor != NULL)
- DeleteObject(ii.hbmColor);
- ii.hbmColor = hbm;
- hIconNew = CreateIconIndirect(&ii);
- } else {
- safe_free(pixels);
- DeleteObject(ii.hbmColor);
- DeleteObject(ii.hbmMask);
- DeleteDC(hdcBitmap);
- ReleaseDC(NULL, hdcScreen);
- return FALSE;
- }
- }
-
- safe_free(pixels);
- safe_delete_object(hbm);
- DeleteObject(ii.hbmColor);
- DeleteObject(ii.hbmMask);
- }
- }
- ReleaseDC(NULL, hdcScreen);
- }
-
- if (hdcBitmap != NULL)
- DeleteDC(hdcBitmap);
-
- if (hIconNew == NULL)
- return FALSE;
- DestroyIcon(*hIcon);
- *hIcon = hIconNew;
-
- return TRUE;
-}
-
-/*
- * Dark mode custom colors
- */
-static ThemeResources theme_resources = {
- NULL, NULL, NULL, NULL, NULL, NULL
-};
-
-static HBRUSH GetDlgBackgroundBrush(void)
-{
- if (theme_resources.hbrBackground == NULL)
- theme_resources.hbrBackground = CreateSolidBrush(DARKMODE_NORMAL_DIALOG_BACKGROUND_COLOR);
- return theme_resources.hbrBackground;
-}
-
-static HBRUSH GetCtrlBackgroundBrush(void)
-{
- if (theme_resources.hbrBackgroundControl == NULL)
- theme_resources.hbrBackgroundControl = CreateSolidBrush(DARKMODE_NORMAL_CONTROL_BACKGROUND_COLOR);
- return theme_resources.hbrBackgroundControl;
-}
-
-static HBRUSH GetHotBackgroundBrush(void)
-{
- if (theme_resources.hbrBackgroundHot == NULL)
- theme_resources.hbrBackgroundHot = CreateSolidBrush(DARKMODE_HOT_CONTROL_BACKGROUND_COLOR);
- return theme_resources.hbrBackgroundHot;
-}
-
-static HBRUSH GetEdgeBrush(void)
-{
- if (theme_resources.hbrEdge == NULL)
- theme_resources.hbrEdge = CreateSolidBrush(DARKMODE_NORMAL_CONTROL_EDGE_COLOR);
- return theme_resources.hbrEdge;
-}
-
-static HPEN GetEdgePen(void)
-{
- if (theme_resources.hpnEdge == NULL)
- theme_resources.hpnEdge = CreatePen(PS_SOLID, 1, DARKMODE_NORMAL_CONTROL_EDGE_COLOR);
- return theme_resources.hpnEdge;
-}
-static HPEN GetHotEdgePen(void)
-{
- if (theme_resources.hpnEdgeHot == NULL)
- theme_resources.hpnEdgeHot = CreatePen(PS_SOLID, 1, DARKMODE_HOT_CONTROL_EDGE_COLOR);
- return theme_resources.hpnEdgeHot;
-}
-
-void DestroyDarkModeGDIObjects(void)
-{
- safe_delete_object(theme_resources.hbrBackground);
- safe_delete_object(theme_resources.hbrBackgroundControl);
- safe_delete_object(theme_resources.hbrBackgroundHot);
- safe_delete_object(theme_resources.hbrEdge);
- safe_delete_object(theme_resources.hpnEdge);
- safe_delete_object(theme_resources.hpnEdgeHot);
-}
-
-/*
- * Paint round rect helpers
- */
-static void PaintRoundRect(HDC hdc, const RECT rect, HPEN hpen, HBRUSH hBrush, int width, int height)
-{
- HBRUSH holdBrush = (HBRUSH)SelectObject(hdc, hBrush);
- HPEN holdPen = (HPEN)SelectObject(hdc, hpen);
-
- RoundRect(hdc, rect.left, rect.top, rect.right, rect.bottom, width, height);
- SelectObject(hdc, holdBrush);
- SelectObject(hdc, holdPen);
-}
-
-static void PaintRoundFrameRect(HDC hdc, const RECT rect, HPEN hpen, int width, int height)
-{
- PaintRoundRect(hdc, rect, hpen, GetStockObject(NULL_BRUSH), width, height);
-}
-
-/*
- * Button section, checkbox, radio, and groupbox style buttons
- */
-static void RenderButton(HWND hWnd, HDC hdc, HTHEME hTheme, int iPartID, int iStateID)
-{
- HFONT hFont = NULL, hOldFont;
- BOOL created_font = FALSE;
- LOGFONT lf;
- RECT rcClient = { 0 }, rcText = { 0 }, rcBackground, rcFocus;
- WCHAR buffer[MAX_PATH] = { '\0' };
- SIZE szBox = { 0 };
- LONG_PTR nStyle = GetWindowLongPtr(hWnd, GWL_STYLE);
- DWORD flags, ui_state;
- DTTOPTS dtto = { 0 };
-
- const BOOL isMultiline = (nStyle & BS_MULTILINE) == BS_MULTILINE;
- const BOOL isTop = (nStyle & BS_TOP) == BS_TOP;
- const BOOL isBottom = (nStyle & BS_BOTTOM) == BS_BOTTOM;
- const BOOL isCenter = (nStyle & BS_CENTER) == BS_CENTER;
- const BOOL isRight = (nStyle & BS_RIGHT) == BS_RIGHT;
- const BOOL isVCenter = (nStyle & BS_VCENTER) == BS_VCENTER;
-
- if (SUCCEEDED(GetThemeFont(hTheme, hdc, iPartID, iStateID, TMT_FONT, &lf))) {
- hFont = CreateFontIndirect(&lf);
- created_font = TRUE;
- }
- if (!hFont)
- hFont = (HFONT)SendMessage(hWnd, WM_GETFONT, 0, 0);
- hOldFont = (HFONT)SelectObject(hdc, hFont);
-
- flags = DT_LEFT | (isMultiline ? DT_WORDBREAK : DT_SINGLELINE);
- if (isCenter)
- flags |= DT_CENTER;
- else if (isRight)
- flags |= DT_RIGHT;
- if (isVCenter || (!isMultiline && !isBottom && !isTop))
- flags |= DT_VCENTER;
- else if (isBottom)
- flags |= DT_BOTTOM;
-
- ui_state = (DWORD)SendMessage(hWnd, WM_QUERYUISTATE, 0, 0);
- if ((ui_state & UISF_HIDEACCEL) == UISF_HIDEACCEL)
- flags |= DT_HIDEPREFIX;
-
- GetClientRect(hWnd, &rcClient);
- GetWindowText(hWnd, buffer, _countof(buffer));
- GetThemePartSize(hTheme, hdc, iPartID, iStateID, NULL, TS_DRAW, &szBox);
- GetThemeBackgroundContentRect(hTheme, hdc, iPartID, iStateID, &rcClient, &rcText);
- rcBackground = rcClient;
- if (!isMultiline)
- rcBackground.top += (rcText.bottom - rcText.top - szBox.cy) / 2;
- rcBackground.bottom = rcBackground.top + szBox.cy;
- rcBackground.right = rcBackground.left + szBox.cx;
- rcText.left = rcBackground.right + 3;
-
- DrawThemeParentBackground(hWnd, hdc, &rcClient);
- DrawThemeBackground(hTheme, hdc, iPartID, iStateID, &rcBackground, NULL);
-
- dtto.dwSize = sizeof(DTTOPTS);
- dtto.dwFlags = DTT_TEXTCOLOR;
- dtto.crText = !IsWindowEnabled(hWnd) ? DARKMODE_DISABLED_TEXT_COLOR : DARKMODE_NORMAL_TEXT_COLOR;
-
- // coverity[negative_returns]
- DrawThemeTextEx(hTheme, hdc, iPartID, iStateID, buffer, -1, flags, &rcText, &dtto);
-
- if (((SendMessage(hWnd, BM_GETSTATE, 0, 0) & BST_FOCUS) == BST_FOCUS) && ((ui_state & UISF_HIDEFOCUS) != UISF_HIDEFOCUS)) {
- dtto.dwFlags |= DTT_CALCRECT;
- // coverity[negative_returns]
- DrawThemeTextEx(hTheme, hdc, iPartID, iStateID, buffer, -1, flags | DT_CALCRECT, &rcText, &dtto);
- rcFocus = rcText;
- rcFocus.bottom++;
- rcFocus.left--;
- rcFocus.right++;
- DrawFocusRect(hdc, &rcFocus);
- }
-
- SelectObject(hdc, hOldFont);
- if (created_font)
- DeleteObject(hFont);
-}
-
-static void PaintButton(HWND hWnd, HDC hdc, ButtonData* pButtonData)
-{
- const DWORD state = (DWORD)SendMessage(hWnd, BM_GETSTATE, 0, 0);
- int part_id = BP_CHECKBOX, state_id = RBS_UNCHECKEDNORMAL;
- BP_ANIMATIONPARAMS anim_params = { 0 };
- HANIMATIONBUFFER anim_buffer;
- RECT rcClient = { 0 };
- HDC hdcFrom = NULL, hdcTo = NULL;
-
- switch (GetWindowLongPtr(hWnd, GWL_STYLE) & BS_TYPEMASK) {
- case BS_CHECKBOX:
- case BS_AUTOCHECKBOX:
- case BS_3STATE:
- case BS_AUTO3STATE:
- part_id = BP_CHECKBOX;
- break;
- case BS_RADIOBUTTON:
- case BS_AUTORADIOBUTTON:
- part_id = BP_RADIOBUTTON;
- break;
- default:
- break;
- }
-
- // States of BP_CHECKBOX and BP_RADIOBUTTON are the same
- if (!IsWindowEnabled(hWnd))
- state_id = RBS_UNCHECKEDDISABLED;
- else if (state & BST_PUSHED)
- state_id = RBS_UNCHECKEDPRESSED;
- else if (state & BST_HOT)
- state_id = RBS_UNCHECKEDHOT;
- if (state & BST_CHECKED)
- state_id += 4;
- if (BufferedPaintRenderAnimation(hWnd, hdc))
- return;
-
- anim_params.cbSize = sizeof(BP_ANIMATIONPARAMS);
- anim_params.style = BPAS_LINEAR;
- if (state_id != pButtonData->iStateID)
- GetThemeTransitionDuration(pButtonData->hTheme, part_id, pButtonData->iStateID, state_id, TMT_TRANSITIONDURATIONS, &anim_params.dwDuration);
-
- GetClientRect(hWnd, &rcClient);
- anim_buffer = BeginBufferedAnimation(hWnd, hdc, &rcClient, BPBF_COMPATIBLEBITMAP, NULL, &anim_params, &hdcFrom, &hdcTo);
- if (anim_buffer != NULL) {
- if (hdcFrom != NULL)
- RenderButton(hWnd, hdcFrom, pButtonData->hTheme, part_id, pButtonData->iStateID);
- if (hdcTo != NULL)
- RenderButton(hWnd, hdcTo, pButtonData->hTheme, part_id, state_id);
- pButtonData->iStateID = state_id;
- EndBufferedAnimation(anim_buffer, TRUE);
- } else {
- RenderButton(hWnd, hdc, pButtonData->hTheme, part_id, state_id);
- pButtonData->iStateID = state_id;
- }
-}
-
-static LRESULT CALLBACK ButtonSubclass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
- UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
-{
- ButtonData* data = (ButtonData*)dwRefData;
-
- switch (uMsg) {
- case WM_NCDESTROY:
- RemoveWindowSubclass(hWnd, ButtonSubclass, uIdSubclass);
- if (data->hTheme != NULL)
- CloseThemeData(data->hTheme);
- free(data);
- break;
-
- case WM_ERASEBKGND:
- if (data->hTheme == NULL)
- data->hTheme = OpenThemeData(hWnd, VSCLASS_BUTTON);
- if (data->hTheme != NULL)
- return TRUE;
- break;
-
- case WM_PRINTCLIENT:
- case WM_PAINT:
- PAINTSTRUCT ps = { 0 };
- HDC hdc = (HDC)wParam;
- if (data->hTheme == NULL) {
- data->hTheme = OpenThemeData(hWnd, VSCLASS_BUTTON);
- if (data->hTheme == NULL)
- break;
- }
- if (hdc == NULL)
- hdc = BeginPaint(hWnd, &ps);
- PaintButton(hWnd, hdc, data);
- if (ps.hdc != NULL)
- EndPaint(hWnd, &ps);
- return 0;
-
- case WM_THEMECHANGED:
- if (data->hTheme != NULL)
- CloseThemeData(data->hTheme);
- break;
-
- case WM_SIZE:
- case WM_DESTROY:
- BufferedPaintStopAllAnimations(hWnd);
- break;
-
- case WM_ENABLE:
- // Skip the button's normal WindowProc so it won't redraw out of WM_PAINT
- LRESULT lr = DefWindowProc(hWnd, uMsg, wParam, lParam);
- InvalidateRect(hWnd, NULL, FALSE);
- return lr;
-
- case WM_UPDATEUISTATE:
- if (HIWORD(wParam) & (UISF_HIDEACCEL | UISF_HIDEFOCUS))
- InvalidateRect(hWnd, NULL, FALSE);
- break;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-static void SubclassButtonControl(HWND hWnd)
-{
- void* data = NULL;
-
- if (GetWindowSubclass(hWnd, ButtonSubclass, (UINT_PTR)ButtonSubclassID, NULL))
- return;
-
- data = calloc(1, sizeof(ButtonData));
- SetWindowSubclass(hWnd, ButtonSubclass, (UINT_PTR)ButtonSubclassID, (DWORD_PTR)data);
-}
-
-static void PaintGroupbox(HWND hWnd, HDC hdc, ButtonData buttonData)
-{
- const int iStateID = IsWindowEnabled(hWnd) ? GBS_NORMAL : GBS_DISABLED;
- const BOOL centered = (GetWindowLongPtr(hWnd, GWL_STYLE) & BS_CENTER) == BS_CENTER;
- BOOL font_created = FALSE;
- HFONT hFont = NULL, hOldFont;
- LOGFONT lf;
- WCHAR buffer[MAX_PATH] = { '\0' };
- SIZE szText = { 0 };
- RECT rcClient = { 0 }, rcText, rcBackground, rcContent;
-
- if (SUCCEEDED(GetThemeFont(buttonData.hTheme, hdc, BP_GROUPBOX, iStateID, TMT_FONT, &lf))) {
- hFont = CreateFontIndirect(&lf);
- font_created = TRUE;
- }
- if (hFont == NULL) {
- hFont = (HFONT)SendMessage(hWnd, WM_GETFONT, 0, 0);
- font_created = FALSE;
- }
- hOldFont = (HFONT)SelectObject(hdc, hFont);
- GetWindowText(hWnd, buffer, _countof(buffer));
- GetClientRect(hWnd, &rcClient);
- rcClient.bottom -= 1;
- rcText = rcClient; rcBackground = rcClient;
-
- if (buffer[0]) {
- GetTextExtentPoint32(hdc, buffer, (int)wcslen(buffer), &szText);
- rcBackground.top += szText.cy / 2;
- rcText.left += centered ? ((rcClient.right - rcClient.left - szText.cx) / 2) : 7;
- rcText.bottom = rcText.top + szText.cy;
- rcText.right = rcText.left + szText.cx + 4;
- ExcludeClipRect(hdc, rcText.left, rcText.top, rcText.right, rcText.bottom);
- } else {
- GetTextExtentPoint32(hdc, L"M", 1, &szText);
- rcBackground.top += szText.cy / 2;
- }
- rcContent = rcBackground;
-
- GetThemeBackgroundContentRect(buttonData.hTheme, hdc, BP_GROUPBOX, iStateID, &rcBackground, &rcContent);
- ExcludeClipRect(hdc, rcContent.left, rcContent.top, rcContent.right, rcContent.bottom);
- PaintRoundFrameRect(hdc, rcBackground, GetEdgePen(), 0, 0);
- SelectClipRgn(hdc, NULL);
-
- if (buffer[0]) {
- DTTOPTS dtto = { 0 };
- DWORD flags = centered ? DT_CENTER : DT_LEFT;
- InflateRect(&rcText, -2, 0);
- dtto.dwSize = sizeof(DTTOPTS);
- dtto.dwFlags = DTT_TEXTCOLOR;
- dtto.crText = IsWindowEnabled(hWnd) ? DARKMODE_NORMAL_TEXT_COLOR : DARKMODE_DISABLED_TEXT_COLOR;
- if (SendMessage(hWnd, WM_QUERYUISTATE, 0, 0) != (LRESULT)NULL)
- flags |= DT_HIDEPREFIX;
- // coverity[negative_returns]
- DrawThemeTextEx(buttonData.hTheme, hdc, BP_GROUPBOX, iStateID, buffer, -1, flags | DT_SINGLELINE, &rcText, &dtto);
- }
-
- SelectObject(hdc, hOldFont);
- if (font_created)
- DeleteObject(hFont);
-}
-
-static LRESULT CALLBACK GroupboxSubclass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
- UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
-{
- ButtonData* data = (ButtonData*)dwRefData;
-
- switch (uMsg) {
- case WM_NCDESTROY:
- RemoveWindowSubclass(hWnd, ButtonSubclass, uIdSubclass);
- if (data->hTheme != NULL)
- CloseThemeData(data->hTheme);
- free(data);
- break;
-
- case WM_ERASEBKGND:
- if (data->hTheme == NULL)
- data->hTheme = OpenThemeData(hWnd, VSCLASS_BUTTON);
- if (data->hTheme != NULL)
- return TRUE;
- break;
-
- case WM_PRINTCLIENT:
- case WM_PAINT:
- PAINTSTRUCT ps = { 0 };
- HDC hdc = (HDC)wParam;
- if (data->hTheme == NULL) {
- data->hTheme = OpenThemeData(hWnd, VSCLASS_BUTTON);
- if (data->hTheme == NULL)
- break;
- }
- if (hdc == NULL)
- hdc = BeginPaint(hWnd, &ps);
- PaintGroupbox(hWnd, hdc, *data);
- if (ps.hdc != NULL)
- EndPaint(hWnd, &ps);
- return 0;
-
- case WM_THEMECHANGED:
- if (data->hTheme != NULL)
- CloseThemeData(data->hTheme);
- break;
-
- case WM_ENABLE:
- RedrawWindow(hWnd, NULL, NULL, RDW_INVALIDATE);
- break;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-static void SubclassGroupboxControl(HWND hWnd)
-{
- void* data = NULL;
-
- if (GetWindowSubclass(hWnd, GroupboxSubclass, (UINT_PTR)GroupboxSubclassID, NULL))
- return;
-
- data = calloc(1, sizeof(ButtonData));
- SetWindowSubclass(hWnd, GroupboxSubclass, (UINT_PTR)GroupboxSubclassID, (DWORD_PTR)data);
-}
-
-/*
- * Toolbar section
- */
-static LRESULT DarkToolBarNotifyCustomDraw(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
-{
- LPNMTBCUSTOMDRAW lpnmtbcd = (LPNMTBCUSTOMDRAW)lParam;
- static int roundness = 0;
-
- switch (lpnmtbcd->nmcd.dwDrawStage) {
- case CDDS_PREPAINT:
- if (IsAtLeastWin11())
- roundness = 5;
- FillRect(lpnmtbcd->nmcd.hdc, &lpnmtbcd->nmcd.rc, GetDlgBackgroundBrush());
- return CDRF_NOTIFYITEMDRAW;
-
- case CDDS_ITEMPREPAINT:
- LRESULT lr = TBCDRF_USECDCOLORS;
- lpnmtbcd->hbrMonoDither = GetDlgBackgroundBrush();
- lpnmtbcd->hbrLines = GetEdgeBrush();
- lpnmtbcd->hpenLines = GetEdgePen();
- lpnmtbcd->clrText = DARKMODE_NORMAL_TEXT_COLOR;
- lpnmtbcd->clrTextHighlight = DARKMODE_NORMAL_TEXT_COLOR;
- lpnmtbcd->clrBtnFace = DARKMODE_NORMAL_DIALOG_BACKGROUND_COLOR;
- lpnmtbcd->clrBtnHighlight = DARKMODE_NORMAL_CONTROL_BACKGROUND_COLOR;
- lpnmtbcd->clrHighlightHotTrack = DARKMODE_HOT_CONTROL_BACKGROUND_COLOR;
- lpnmtbcd->nStringBkMode = TRANSPARENT;
- lpnmtbcd->nHLStringBkMode = TRANSPARENT;
- if ((lpnmtbcd->nmcd.uItemState & CDIS_HOT) == CDIS_HOT) {
- PaintRoundRect(lpnmtbcd->nmcd.hdc, lpnmtbcd->nmcd.rc, GetHotEdgePen(), GetHotBackgroundBrush(), roundness, roundness);
- lpnmtbcd->nmcd.uItemState &= ~(CDIS_CHECKED | CDIS_HOT);
- } else if ((lpnmtbcd->nmcd.uItemState & CDIS_CHECKED) == CDIS_CHECKED) {
- PaintRoundRect(lpnmtbcd->nmcd.hdc, lpnmtbcd->nmcd.rc, GetEdgePen(), GetCtrlBackgroundBrush(), roundness, roundness);
- lpnmtbcd->nmcd.uItemState &= ~CDIS_CHECKED;
- }
- if ((lpnmtbcd->nmcd.uItemState & CDIS_SELECTED) == CDIS_SELECTED)
- lr |= TBCDRF_NOBACKGROUND;
- return lr;
-
- default:
- break;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-static LRESULT DarkTrackBarNotifyCustomDraw(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
-{
- LPNMCUSTOMDRAW lpnmcd = (LPNMCUSTOMDRAW)lParam;
-
- switch (lpnmcd->dwDrawStage) {
- case CDDS_PREPAINT:
- return CDRF_NOTIFYITEMDRAW;
-
- case CDDS_ITEMPREPAINT:
- switch (lpnmcd->dwItemSpec) {
- case TBCD_THUMB:
- if ((lpnmcd->uItemState & CDIS_SELECTED) == CDIS_SELECTED) {
- FillRect(lpnmcd->hdc, &lpnmcd->rc, GetCtrlBackgroundBrush());
- return CDRF_SKIPDEFAULT;
- }
- break;
-
- case TBCD_CHANNEL:
- if (!IsWindowEnabled(lpnmcd->hdr.hwndFrom)) {
- FillRect(lpnmcd->hdc, &lpnmcd->rc, GetDlgBackgroundBrush());
- PaintRoundFrameRect(lpnmcd->hdc, lpnmcd->rc, GetEdgePen(), 0, 0);
- } else {
- FillRect(lpnmcd->hdc, &lpnmcd->rc, GetCtrlBackgroundBrush());
- }
- return CDRF_SKIPDEFAULT;
-
- default:
- break;
- }
- break;
-
- default:
- break;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-static LRESULT CALLBACK WindowNotifySubclass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
- UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
-{
- (void)dwRefData;
-
- switch (uMsg) {
- case WM_NCDESTROY:
- RemoveWindowSubclass(hWnd, WindowNotifySubclass, uIdSubclass);
- break;
-
- case WM_NOTIFY:
- LPNMHDR lpnmhdr = (LPNMHDR)lParam;
- WCHAR str[32] = { 0 };
- GetClassName(lpnmhdr->hwndFrom, str, ARRAYSIZE(str));
-
- switch (lpnmhdr->code) {
- case NM_CUSTOMDRAW:
- if (_wcsicmp(str, TOOLBARCLASSNAME) == 0)
- return DarkToolBarNotifyCustomDraw(hWnd, uMsg, wParam, lParam);
- if (_wcsicmp(str, TRACKBAR_CLASS) == 0)
- return DarkTrackBarNotifyCustomDraw(hWnd, uMsg, wParam, lParam);
- break;
- }
- break;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-void SubclassNotifyCustomDraw(HWND hWnd)
-{
- if (!GetWindowSubclass(hWnd, WindowNotifySubclass, (UINT_PTR)WindowNotifySubclassID, NULL))
- SetWindowSubclass(hWnd, WindowNotifySubclass, (UINT_PTR)WindowNotifySubclassID, 0);
-}
-
-/*
- * Status bar section
- */
-static void PaintStatusBar(HWND hWnd, HDC hdc, StatusBarData statusBarData)
-{
- const int last_div = (int)SendMessage(hWnd, SB_GETPARTS, 0, 0) - 1;
- Borders borders = { 0 };
- RECT rcClient = { 0 }, rcPart = { 0 }, rcIntersect = { 0 };
- HPEN hOldPen = (HPEN)SelectObject(hdc, GetEdgePen());
- HFONT hOldFont = (HFONT)SelectObject(hdc, statusBarData.hFont);
- LRESULT r1, r2;
- LPWSTR buffer;
- DWORD text_len;
- UINT id;
-
- SendMessage(hWnd, SB_GETBORDERS, 0, (LPARAM)&borders);
- SetBkMode(hdc, TRANSPARENT);
- SetTextColor(hdc, DARKMODE_NORMAL_TEXT_COLOR);
- GetClientRect(hWnd, &rcClient);
- FillRect(hdc, &rcClient, GetDlgBackgroundBrush());
-
- for (int i = 0; i <= last_div; i++) {
- SendMessage(hWnd, SB_GETRECT, i, (LPARAM)&rcPart);
- if (!IntersectRect(&rcIntersect, &rcPart, &rcClient))
- continue;
- if (i < last_div) {
- POINT edges[] = {
- { rcPart.right - borders.between, rcPart.top + 1 },
- { rcPart.right - borders.between, rcPart.bottom - 3 }
- };
- Polyline(hdc, edges, _countof(edges));
- }
-
- rcPart.left += borders.between;
- rcPart.right -= borders.vertical;
-
- r1 = SendMessage(hWnd, SB_GETTEXTLENGTH, i, 0);
- text_len = LOWORD(r1);
- buffer = (LPWSTR)calloc((size_t)text_len + 1, sizeof(WCHAR));
- r2 = SendMessage(hWnd, SB_GETTEXT, i, (LPARAM)buffer);
- if (text_len == 0 && (HIWORD(r1) & SBT_OWNERDRAW)) {
- id = GetDlgCtrlID(hWnd);
- DRAWITEMSTRUCT dis = { 0, 0, (UINT)i, ODA_DRAWENTIRE, id, hWnd, hdc, rcPart, (ULONG_PTR)r2 };
- SendMessage(GetParent(hWnd), WM_DRAWITEM, id, (LPARAM)&dis);
- } else if (buffer != NULL) {
- DrawText(hdc, buffer, (int)text_len, &rcPart, DT_SINGLELINE | DT_VCENTER | DT_LEFT);
- }
- free(buffer);
- }
-
- POINT horizontal_edge[] = { { rcClient.left, rcClient.top }, { rcClient.right, rcClient.top } };
- Polyline(hdc, horizontal_edge, _countof(horizontal_edge));
-
- SelectObject(hdc, hOldFont);
- SelectObject(hdc, hOldPen);
-}
-
-static LRESULT CALLBACK StatusBarSubclass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
- UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
-{
- StatusBarData* data = (StatusBarData*)dwRefData;
-
- switch (uMsg) {
- case WM_NCDESTROY:
- RemoveWindowSubclass(hWnd, StatusBarSubclass, uIdSubclass);
- if (data->hFont != NULL) {
- DeleteObject(data->hFont);
- data->hFont = NULL;
- }
- free(data);
- break;
-
- case WM_ERASEBKGND:
- return TRUE;
-
- case WM_PAINT:
- PAINTSTRUCT ps;
- HDC hdc = BeginPaint(hWnd, &ps);
- PaintStatusBar(hWnd, hdc, *data);
- EndPaint(hWnd, &ps);
- return 0;
-
- case WM_THEMECHANGED:
- NONCLIENTMETRICS ncm = { 0 };
- ncm.cbSize = sizeof(NONCLIENTMETRICS);
- if (data->hFont != NULL) {
- DeleteObject(data->hFont);
- data->hFont = NULL;
- }
- if (SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &ncm, 0))
- data->hFont = CreateFontIndirect(&ncm.lfStatusFont);
- return 0;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-void SubclassStatusBar(HWND hWnd)
-{
- StatusBarData* data = NULL;
- NONCLIENTMETRICS ncm = { 0 };
- ncm.cbSize = sizeof(NONCLIENTMETRICS);
-
- if (!is_darkmode_enabled || GetWindowSubclass(hWnd, StatusBarSubclass, (UINT_PTR)StatusBarSubclassID, NULL))
- return;
-
- data = (StatusBarData*)malloc(sizeof(StatusBarData));
- if (data == NULL)
- return;
- if (SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &ncm, 0))
- data->hFont = CreateFontIndirect(&ncm.lfStatusFont);
- SetWindowSubclass(hWnd, StatusBarSubclass, (UINT_PTR)StatusBarSubclassID, (DWORD_PTR)data);
-}
-
-/*
- * Progress bar section
- */
-static void GetProgressBarRects(HWND hWnd, RECT* rcEmpty, RECT* rcFilled)
-{
- const int pos = (int)SendMessage(hWnd, PBM_GETPOS, 0, 0);
- PBRANGE range = { 0, 0 };
- SendMessage(hWnd, PBM_GETRANGE, TRUE, (LPARAM)&range);
- const int min = range.iLow;
- const int cur_pos = pos - min;
-
- if (cur_pos != 0) {
- int totalWidth = rcEmpty->right - rcEmpty->left;
- rcFilled->left = rcEmpty->left;
- rcFilled->top = rcEmpty->top;
- rcFilled->bottom = rcEmpty->bottom;
- if (range.iHigh - min != 0)
- rcFilled->right = rcEmpty->left + (int)((double)(cur_pos) / (range.iHigh - min) * totalWidth);
- else
- rcFilled->right = rcEmpty->right;
- rcEmpty->left = rcFilled->right; // To avoid painting under filled part
- }
-}
-
-static void PaintProgressBar(HWND hWnd, HDC hdc, ProgressBarData progressBarData)
-{
- RECT rcClient = { 0 }, rcFill = { 0 };
-
- GetClientRect(hWnd, &rcClient);
- PaintRoundFrameRect(hdc, rcClient, GetEdgePen(), 0, 0);
- InflateRect(&rcClient, -1, -1);
- rcClient.left = 1;
- GetProgressBarRects(hWnd, &rcClient, &rcFill);
- DrawThemeBackground(progressBarData.hTheme, hdc, PP_FILL, progressBarData.iStateID, &rcFill, NULL);
- FillRect(hdc, &rcClient, GetCtrlBackgroundBrush());
-}
-
-static LRESULT CALLBACK ProgressBarSubclass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
- UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
-{
- ProgressBarData* data = (ProgressBarData*)dwRefData;
-
- switch (uMsg) {
- case WM_NCDESTROY:
- RemoveWindowSubclass(hWnd, ProgressBarSubclass, uIdSubclass);
- if (data->hTheme != NULL)
- CloseThemeData(data->hTheme);
- free(data);
- break;
-
- case WM_ERASEBKGND:
- if (data->hTheme == NULL)
- data->hTheme = OpenThemeData(hWnd, VSCLASS_PROGRESS);
- if (data->hTheme != NULL)
- return TRUE;
- break;
-
- case WM_PAINT:
- PAINTSTRUCT ps;
- HDC hdc;
- if (data->hTheme == NULL) {
- data->hTheme = OpenThemeData(hWnd, VSCLASS_PROGRESS);
- if (data->hTheme == NULL)
- break;
- }
- hdc = BeginPaint(hWnd, &ps);
- PaintProgressBar(hWnd, hdc, *data);
- EndPaint(hWnd, &ps);
- return 0;
-
- case WM_THEMECHANGED:
- if (data->hTheme != NULL)
- CloseThemeData(data->hTheme);
- break;
-
- case PBM_SETSTATE:
- switch (wParam) {
- case PBST_NORMAL:
- data->iStateID = PBFS_NORMAL; // Green
- break;
- case PBST_ERROR:
- data->iStateID = PBFS_ERROR; // Red
- break;
- case PBST_PAUSED:
- data->iStateID = PBFS_PAUSED; // Yellow
- break;
- }
- break;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-void SubclassProgressBarControl(HWND hWnd)
-{
- void* data = NULL;
-
- if (!is_darkmode_enabled || GetWindowSubclass(hWnd, ProgressBarSubclass, (UINT_PTR)ProgressBarSubclassID, NULL))
- return;
-
- data = calloc(1, sizeof(ProgressBarData));
- SetWindowSubclass(hWnd, ProgressBarSubclass, (UINT_PTR)ProgressBarSubclassID, (DWORD_PTR)data);
-}
-
-/*
- * Static text section
- */
-static LRESULT CALLBACK StaticTextSubclass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
- UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
-{
- StaticTextData* data = (StaticTextData*)dwRefData;
-
- switch (uMsg) {
- case WM_NCDESTROY:
- RemoveWindowSubclass(hWnd, StaticTextSubclass, uIdSubclass);
- free(data);
- break;
-
- case WM_ENABLE:
- RECT rcClient = { 0 };
- const LONG_PTR style = GetWindowLongPtr(hWnd, GWL_STYLE);
- data->disabled = (wParam == FALSE);
- if (data->disabled)
- SetWindowLongPtr(hWnd, GWL_STYLE, style & ~WS_DISABLED);
- GetClientRect(hWnd, &rcClient);
- MapWindowPoints(hWnd, GetParent(hWnd), (LPPOINT)&rcClient, 2);
- RedrawWindow(GetParent(hWnd), &rcClient, NULL, RDW_INVALIDATE | RDW_UPDATENOW);
- if (data->disabled)
- SetWindowLongPtr(hWnd, GWL_STYLE, style | WS_DISABLED);
- return 0;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-static void SubclassStaticText(HWND hWnd)
-{
- void* data = NULL;
-
- if (GetWindowSubclass(hWnd, StaticTextSubclass, (UINT_PTR)StaticTextSubclassID, NULL))
- return;
-
- data = calloc(1, sizeof(StaticTextData));
- SetWindowSubclass(hWnd, StaticTextSubclass, (UINT_PTR)StaticTextSubclassID, (DWORD_PTR)data);
-}
-
-/*
- * Ctl color messages section
- */
-static LRESULT OnCtlColorDlg(HDC hdc)
-{
- SetTextColor(hdc, DARKMODE_NORMAL_TEXT_COLOR);
- SetBkColor(hdc, DARKMODE_NORMAL_DIALOG_BACKGROUND_COLOR);
- return (LRESULT)GetDlgBackgroundBrush();
-}
-
-static LRESULT OnCtlColorStatic(WPARAM wParam, LPARAM lParam)
-{
- HDC hdc = (HDC)wParam;
- HWND hWnd = (HWND)lParam;
- WCHAR str[32] = { 0 };
-
- GetClassName(hWnd, str, ARRAYSIZE(str));
- if (_wcsicmp(str, WC_STATIC) == 0) {
- if ((GetWindowLongPtr(hWnd, GWL_STYLE) & SS_NOTIFY) == SS_NOTIFY) {
- DWORD_PTR dwRefData = 0;
- COLORREF cText = color_accent;
- if (GetWindowSubclass(hWnd, StaticTextSubclass, (UINT_PTR)StaticTextSubclassID, &dwRefData)) {
- if (((StaticTextData*)dwRefData)->disabled)
- cText = DARKMODE_DISABLED_TEXT_COLOR;
- }
- SetTextColor(hdc, cText);
- SetBkColor(hdc, DARKMODE_NORMAL_DIALOG_BACKGROUND_COLOR);
- return (LRESULT)GetDlgBackgroundBrush();
- }
- }
- // Read-only WC_EDIT
- return OnCtlColorDlg(hdc);
-}
-
-static LRESULT OnCtlColorCtrl(HDC hdc)
-{
- SetTextColor(hdc, DARKMODE_NORMAL_TEXT_COLOR);
- SetBkColor(hdc, DARKMODE_NORMAL_CONTROL_BACKGROUND_COLOR);
- return (LRESULT)GetCtrlBackgroundBrush();
-}
-
-static INT_PTR OnCtlColorListbox(WPARAM wParam, LPARAM lParam)
-{
- HDC hdc = (HDC)wParam;
- HWND hWnd = (HWND)lParam;
- const LONG_PTR nStyle = GetWindowLongPtr(hWnd, GWL_STYLE);
- BOOL isComboBox = (nStyle & LBS_COMBOBOX) == LBS_COMBOBOX;
-
- if ((!isComboBox || !is_darkmode_enabled) && IsWindowEnabled(hWnd))
- return (INT_PTR)OnCtlColorCtrl(hdc);
-
- return (INT_PTR)OnCtlColorDlg(hdc);
-}
-
-static LRESULT CALLBACK WindowCtlColorSubclass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
- UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
-{
- (void)dwRefData;
-
- switch (uMsg) {
- case WM_NCDESTROY:
- RemoveWindowSubclass(hWnd, WindowCtlColorSubclass, uIdSubclass);
- break;
- case WM_CTLCOLOREDIT:
- return OnCtlColorCtrl((HDC)wParam);
- case WM_CTLCOLORLISTBOX:
- return OnCtlColorListbox(wParam, lParam);
- case WM_CTLCOLORDLG:
- return OnCtlColorDlg((HDC)wParam);
- case WM_CTLCOLORSTATIC:
- return OnCtlColorStatic(wParam, lParam);
- case WM_PRINTCLIENT:
- return TRUE;
- }
- return DefSubclassProc(hWnd, uMsg, wParam, lParam);
-}
-
-void SubclassCtlColor(HWND hWnd)
-{
- if (!GetWindowSubclass(hWnd, WindowCtlColorSubclass, (UINT_PTR)WindowCtlColorSubclassID, NULL))
- SetWindowSubclass(hWnd, WindowCtlColorSubclass, (UINT_PTR)WindowCtlColorSubclassID, 0);
-}
-
-/*
- * Dark mode for child controls
- */
-static BOOL CALLBACK DarkModeForChildCallback(HWND hWnd, LPARAM lParam)
-{
- (void)lParam;
- WCHAR str[32] = { 0 };
- GetClassName(hWnd, str, ARRAYSIZE(str));
-
- if (_wcsicmp(str, WC_STATIC) == 0) {
- if ((GetWindowLongPtr(hWnd, GWL_STYLE) & SS_NOTIFY) == SS_NOTIFY)
- SubclassStaticText(hWnd);
- } else if (_wcsicmp(str, WC_BUTTON) == 0) {
- switch (GetWindowLongPtr(hWnd, GWL_STYLE) & BS_TYPEMASK) {
- case BS_CHECKBOX:
- case BS_AUTOCHECKBOX:
- case BS_3STATE:
- case BS_AUTO3STATE:
- case BS_RADIOBUTTON:
- case BS_AUTORADIOBUTTON:
- if (IsAtLeastWin11())
- SetDarkTheme(hWnd);
- SubclassButtonControl(hWnd);
- break;
-
- case BS_GROUPBOX:
- SubclassGroupboxControl(hWnd);
- break;
-
- case BS_PUSHBUTTON:
- case BS_DEFPUSHBUTTON:
- case BS_SPLITBUTTON:
- case BS_DEFSPLITBUTTON:
- SetDarkTheme(hWnd);
- break;
-
- default:
- break;
- }
- } else if (_wcsicmp(str, WC_COMBOBOX) == 0) {
- SetWindowTheme(hWnd, L"DarkMode_CFD", NULL);
- } else if (_wcsicmp(str, TOOLBARCLASSNAME) == 0) {
- HWND hTips = (HWND)SendMessage(hWnd, TB_GETTOOLTIPS, 0, 0);
- if (hTips != NULL) {
- SetDarkTheme(hTips);
- }
- } else if (_wcsicmp(str, WC_EDIT) == 0) {
- const LONG_PTR style = GetWindowLongPtr(hWnd, GWL_STYLE);
- const LONG_PTR ex_style = GetWindowLongPtr(hWnd, GWL_EXSTYLE);
- if (((style & WS_VSCROLL) == WS_VSCROLL) || ((style & WS_HSCROLL) == WS_HSCROLL)) {
- SetWindowLongPtr(hWnd, GWL_STYLE, style | WS_BORDER);
- SetWindowLongPtr(hWnd, GWL_EXSTYLE, ex_style & ~WS_EX_CLIENTEDGE);
- SetDarkTheme(hWnd);
- } else {
- SetWindowTheme(hWnd, L"DarkMode_CFD", NULL);
- }
- } else if (_wcsicmp(str, RICHEDIT_CLASS) == 0) {
- const LONG_PTR style = GetWindowLongPtr(hWnd, GWL_STYLE);
- const LONG_PTR ex_style = GetWindowLongPtr(hWnd, GWL_EXSTYLE);
- const BOOL has_static_edge = (ex_style & WS_EX_STATICEDGE) == WS_EX_STATICEDGE;
- CHARFORMATW cf = { 0 };
- cf.cbSize = sizeof(CHARFORMATW);
- cf.dwMask = CFM_COLOR;
- cf.crTextColor = DARKMODE_NORMAL_TEXT_COLOR;
- SendMessage(hWnd, EM_SETBKGNDCOLOR, 0, (LPARAM)(has_static_edge ?
- DARKMODE_NORMAL_CONTROL_BACKGROUND_COLOR : DARKMODE_NORMAL_DIALOG_BACKGROUND_COLOR));
- SendMessage(hWnd, EM_SETCHARFORMAT, SCF_DEFAULT, (LPARAM)&cf);
- SetWindowLongPtr(hWnd, GWL_STYLE, style | WS_BORDER);
- SetWindowLongPtr(hWnd, GWL_EXSTYLE, ex_style & ~WS_EX_STATICEDGE);
- SetWindowTheme(hWnd, NULL, L"DarkMode_Explorer::ScrollBar");
- }
-
- return TRUE;
-}
-
-void SetDarkModeForChild(HWND hParent)
-{
- if (is_darkmode_enabled)
- EnumChildWindows(hParent, DarkModeForChildCallback, (LPARAM)NULL);
-}
diff --git a/src/darkmode.h b/src/darkmode.h
deleted file mode 100644
index 9b63d317..00000000
--- a/src/darkmode.h
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- * Rufus: The Reliable USB Formatting Utility
- * Dark mode UI implementation
- * Copyright © 2025 ozone10
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-#pragma once
-
-#include
-#include
-
-extern BOOL is_darkmode_enabled;
-
-typedef enum _WindowsBuild {
- WIN10_1809 = 17763, // first build to support dark mode
- WIN10_1903 = 18362,
- WIN10_22H2 = 19045,
- WIN11_21H2 = 22000,
-} WindowsBuild;
-
-typedef enum _SubclassID {
- ButtonSubclassID = 42,
- GroupboxSubclassID,
- WindowNotifySubclassID,
- StatusBarSubclassID,
- ProgressBarSubclassID,
- StaticTextSubclassID,
- WindowCtlColorSubclassID
-} SubclassID;
-
-typedef enum _PreferredAppMode {
- AppModeDefault,
- AppModeAllowDark,
- AppModeForceDark,
- AppModeForceLight,
-} PreferredAppMode;
-
-typedef enum _WINDOWCOMPOSITIONATTRIB {
- WCA_UNDEFINED = 0,
- WCA_NCRENDERING_ENABLED = 1,
- WCA_NCRENDERING_POLICY = 2,
- WCA_TRANSITIONS_FORCEDISABLED = 3,
- WCA_ALLOW_NCPAINT = 4,
- WCA_CAPTION_BUTTON_BOUNDS = 5,
- WCA_NONCLIENT_RTL_LAYOUT = 6,
- WCA_FORCE_ICONIC_REPRESENTATION = 7,
- WCA_EXTENDED_FRAME_BOUNDS = 8,
- WCA_HAS_ICONIC_BITMAP = 9,
- WCA_THEME_ATTRIBUTES = 10,
- WCA_NCRENDERING_EXILED = 11,
- WCA_NCADORNMENTINFO = 12,
- WCA_EXCLUDED_FROM_LIVEPREVIEW = 13,
- WCA_VIDEO_OVERLAY_ACTIVE = 14,
- WCA_FORCE_ACTIVEWINDOW_APPEARANCE = 15,
- WCA_DISALLOW_PEEK = 16,
- WCA_CLOAK = 17,
- WCA_CLOAKED = 18,
- WCA_ACCENT_POLICY = 19,
- WCA_FREEZE_REPRESENTATION = 20,
- WCA_EVER_UNCLOAKED = 21,
- WCA_VISUAL_OWNER = 22,
- WCA_HOLOGRAPHIC = 23,
- WCA_EXCLUDED_FROM_DDA = 24,
- WCA_PASSIVEUPDATEMODE = 25,
- WCA_USEDARKMODECOLORS = 26,
- WCA_LAST = 27
-} WINDOWCOMPOSITIONATTRIB;
-
-typedef struct _WINDOWCOMPOSITIONATTRIBDATA {
- WINDOWCOMPOSITIONATTRIB Attrib;
- PVOID pvData;
- SIZE_T cbData;
-} WINDOWCOMPOSITIONATTRIBDATA;
-
-typedef struct {
- HBRUSH hbrBackground;
- HBRUSH hbrBackgroundControl;
- HBRUSH hbrBackgroundHot;
- HBRUSH hbrEdge;
- HPEN hpnEdge;
- HPEN hpnEdgeHot;
-} ThemeResources;
-
-typedef struct {
- HTHEME hTheme;
- int iStateID;
-} ButtonData;
-
-typedef struct {
- HFONT hFont;
-} StatusBarData;
-
-typedef struct {
- HTHEME hTheme;
- int iStateID;
-} ProgressBarData;
-
-typedef struct {
- BOOL disabled;
-} StaticTextData;
-
-typedef struct {
- int horizontal;
- int vertical;
- int between;
-} Borders;
-
-BOOL GetDarkModeFromRegistry(void);
-void InitDarkMode(HWND hWnd);
-void SetDarkTitleBar(HWND hWnd);
-void SetDarkTheme(HWND hWnd);
-BOOL InitAccentColor(void);
-BOOL ChangeIconColor(HICON* hIcon, COLORREF newColor);
-void DestroyDarkModeGDIObjects(void);
-void SubclassCtlColor(HWND hWnd);
-void SubclassNotifyCustomDraw(HWND hWnd);
-void SubclassStatusBar(HWND hWnd);
-void SubclassProgressBarControl(HWND hWnd);
-void SetDarkModeForChild(HWND hParent);
-
-static __inline void SetDarkModeForDlg(HWND hWnd)
-{
- if (is_darkmode_enabled) {
- SetDarkTitleBar(hWnd);
- SubclassCtlColor(hWnd);
- }
-}
-
-static __inline void InitAndSetDarkModeForMainDlg(HWND hWnd)
-{
- is_darkmode_enabled = GetDarkModeFromRegistry();
- if (is_darkmode_enabled) {
- InitDarkMode(hWnd);
- InitAccentColor();
- SetDarkModeForDlg(hWnd);
- SubclassNotifyCustomDraw(hWnd);
- }
-}
diff --git a/src/db.h b/src/db.h
index c3197e9f..686980f6 100644
--- a/src/db.h
+++ b/src/db.h
@@ -1,8 +1,8 @@
/*
* Rufus: The Reliable USB Formatting Utility
* DB of the known SHA256 hash values for Rufus downloadable content (GRUB, Syslinux, etc.)
- * as well other data for UEFI revoked content (SBAT, certs).
- * Copyright © 2016-2026 Pete Batard
+ * as well PE256 hash values for UEFI revoked content (DBX, SkuSiPolicy.p7b)
+ * Copyright © 2016-2023 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,8 +31,6 @@ static uint8_t sha256db[] = {
0x11, 0x0c, 0x50, 0x1b, 0xfa, 0x9e, 0x72, 0xa8, 0x8c, 0xdb, 0xb8, 0xba, 0x11, 0xe1, 0xf0, 0x76, 0x1a, 0xec, 0x28, 0xbf, 0x04, 0x44, 0x67, 0xff, 0x38, 0x2c, 0x06, 0x95, 0xd5, 0x1f, 0x8a, 0x83, // grub-2.04-nonstandard/core.img
0x12, 0xbd, 0x22, 0xd2, 0xb3, 0x69, 0x56, 0x0f, 0x89, 0xb8, 0x50, 0x7e, 0x7e, 0x74, 0xeb, 0xc5, 0xea, 0x44, 0x91, 0x48, 0x75, 0xf0, 0xa4, 0xcb, 0x1e, 0xa6, 0xfb, 0x4e, 0xc9, 0x89, 0x58, 0x17, // syslinux-6.03/pre6/ldlinux.sys
0x15, 0x5f, 0x36, 0x7b, 0xb1, 0x30, 0xfe, 0x05, 0x5c, 0x79, 0x9f, 0x88, 0xb3, 0xc0, 0xc1, 0xa0, 0x0a, 0x18, 0x05, 0x78, 0x22, 0x69, 0xcf, 0x7e, 0x54, 0xaa, 0x61, 0xbd, 0xe3, 0x8e, 0x05, 0x92, // syslinux-6.03/pre3/ldlinux.bss
- 0x15, 0x90, 0x28, 0x95, 0x48, 0x7c, 0x08, 0x4c, 0x8f, 0x57, 0x46, 0x66, 0xc3, 0x1e, 0x7f, 0xa3, 0x99, 0xd0, 0x5b, 0x83, 0x1f, 0xd6, 0x1c, 0x1e, 0x3c, 0x3e, 0xee, 0x69, 0xd6, 0x57, 0x69, 0x24, // grub-2.12/core.img
- 0x19, 0xba, 0x57, 0x32, 0x9b, 0xe7, 0x45, 0xce, 0xae, 0x46, 0x35, 0x4c, 0x5d, 0x41, 0x1b, 0x7d, 0x8e, 0xfe, 0xc6, 0x80, 0x2c, 0xfd, 0x7f, 0x6f, 0xee, 0x98, 0x6d, 0xf4, 0xb7, 0x63, 0xf6, 0xfe, // grub4dos-0.4.6a/grldr
0x1c, 0xb7, 0x8b, 0x98, 0xbc, 0xd6, 0x76, 0x7b, 0x01, 0x44, 0xf5, 0x00, 0xaf, 0x81, 0xef, 0x4f, 0x3c, 0x54, 0xea, 0xaf, 0xe3, 0xc9, 0x4e, 0x1f, 0xd6, 0x24, 0x68, 0x41, 0x4e, 0x98, 0x92, 0x25, // syslinux-6.03/pre20/ldlinux.bss
0x1c, 0xc6, 0x32, 0x21, 0xfd, 0xf4, 0x46, 0xfc, 0xda, 0xc6, 0xc0, 0x56, 0x35, 0x79, 0x54, 0xc1, 0x5b, 0x61, 0x75, 0xca, 0x1b, 0xc2, 0xa4, 0x9f, 0x85, 0x52, 0xec, 0xca, 0x28, 0xac, 0x3e, 0x51, // syslinux-6.02/ldlinux.bss
0x22, 0x96, 0x82, 0xac, 0x61, 0xb8, 0x8b, 0x11, 0x25, 0xfc, 0xd7, 0xe6, 0x9f, 0x4e, 0x7f, 0x46, 0x7f, 0x68, 0xc5, 0x14, 0x9e, 0xb9, 0x37, 0x1a, 0x98, 0xd8, 0xf2, 0x78, 0x41, 0x40, 0xad, 0x88, // syslinux-5.00/ldlinux.sys
@@ -90,9 +88,7 @@ static uint8_t sha256db[] = {
0x8e, 0xc8, 0x42, 0x06, 0x94, 0x4c, 0xd4, 0x3d, 0xf6, 0xba, 0x83, 0x63, 0xc0, 0x81, 0xe4, 0xa0, 0x82, 0x9e, 0x71, 0x9a, 0xbf, 0x5a, 0x46, 0x6d, 0x7c, 0x81, 0x0c, 0x2f, 0x5b, 0x6d, 0x13, 0x75, // syslinux-6.03/pre5/ldlinux.sys
0x95, 0x8d, 0x10, 0xbb, 0x87, 0x28, 0xcc, 0x1f, 0xf1, 0x6a, 0x12, 0xee, 0x6a, 0x60, 0x62, 0x40, 0xa6, 0xb7, 0x4d, 0xab, 0xa0, 0x2b, 0x8c, 0xb8, 0xed, 0x2a, 0xe8, 0x1c, 0x2f, 0xb2, 0x5b, 0x97, // syslinux-6.00/ldlinux.bss
0x9a, 0x0b, 0xc4, 0x1b, 0xd7, 0x95, 0xed, 0xb0, 0x83, 0x0f, 0x1c, 0xc4, 0x82, 0x4b, 0xfa, 0x9d, 0xe0, 0x9d, 0x68, 0x63, 0x92, 0x09, 0x4f, 0x5a, 0xe7, 0xfb, 0xac, 0xfb, 0xb0, 0x17, 0x9d, 0xa6, // syslinux-6.03/pre1/ldlinux.bss
- 0x9a, 0x2c, 0x94, 0x67, 0x04, 0x01, 0x7f, 0xa8, 0xdc, 0x4e, 0x03, 0xa8, 0xa5, 0x8d, 0x75, 0x4d, 0x2d, 0x16, 0x07, 0xc2, 0xd2, 0xcd, 0x74, 0xf0, 0xe2, 0x92, 0x01, 0x33, 0xf1, 0x19, 0x28, 0x09, // grub-2.14/core.img
0x9b, 0xcc, 0x65, 0x92, 0xa7, 0xba, 0x7e, 0x73, 0x38, 0xf4, 0xbb, 0xba, 0x27, 0xc6, 0x30, 0x16, 0xb9, 0x5e, 0xcb, 0x1e, 0xc6, 0x8c, 0x0b, 0xe9, 0xb6, 0x99, 0xb2, 0xea, 0x69, 0xcb, 0xab, 0xb2, // syslinux-5.00/ldlinux.c32
- 0xa2, 0xa8, 0x76, 0x93, 0x71, 0xeb, 0x57, 0xc5, 0xe7, 0x9b, 0x3c, 0xea, 0x4a, 0x91, 0x12, 0x75, 0xaf, 0x47, 0x43, 0xf1, 0x0f, 0x42, 0x0e, 0xd6, 0xd2, 0x6e, 0x4e, 0xec, 0x5c, 0x86, 0x50, 0x59, // grub4dos-0.4.6a/grldr.mbr
0xa6, 0x82, 0x43, 0xa0, 0xf2, 0xe5, 0x90, 0xb8, 0x14, 0x02, 0xd6, 0xfa, 0x62, 0xd4, 0xfd, 0x30, 0x94, 0x8c, 0x00, 0x3d, 0xa1, 0x2b, 0xfe, 0xeb, 0x69, 0xba, 0x20, 0x34, 0x17, 0x27, 0x09, 0x4c, // syslinux-6.03/pre14/ldlinux.sys
0xa9, 0x4a, 0x99, 0xe6, 0xde, 0x68, 0x81, 0x44, 0x49, 0x2b, 0x38, 0xdb, 0xee, 0x09, 0xde, 0x07, 0x30, 0xe3, 0x2e, 0x1c, 0xfd, 0x0a, 0xb2, 0x54, 0x99, 0x22, 0xff, 0xa8, 0x04, 0x01, 0xad, 0x49, // syslinux-6.03/pre2/ldlinux.bss
0xa9, 0x95, 0x68, 0x57, 0x9c, 0xd2, 0x51, 0xaf, 0xf1, 0x34, 0xfc, 0xaa, 0xa8, 0x09, 0x91, 0x60, 0x5e, 0x8f, 0xb1, 0x19, 0x74, 0x51, 0xf7, 0x51, 0xaa, 0x4d, 0x6c, 0x84, 0xbf, 0x65, 0xf4, 0xe3, // syslinux-6.03/pre15/ldlinux.sys
@@ -104,7 +100,6 @@ static uint8_t sha256db[] = {
0xb3, 0xdc, 0x31, 0x79, 0xf6, 0x2b, 0x20, 0x51, 0xc9, 0x43, 0xe5, 0x2e, 0xeb, 0xf2, 0x29, 0x8a, 0xa4, 0x7e, 0x7c, 0x0a, 0x97, 0x78, 0xe8, 0x62, 0x77, 0xa7, 0x48, 0x2a, 0x27, 0x0a, 0x7a, 0x8e, // syslinux-6.01/ldlinux.bss
0xb4, 0x6a, 0xf2, 0x09, 0x19, 0xe9, 0xf2, 0x1f, 0xa1, 0x52, 0x37, 0x5d, 0xda, 0xc4, 0x58, 0x87, 0x08, 0xc1, 0x22, 0xb3, 0x65, 0x7f, 0x09, 0x01, 0x31, 0x4e, 0x83, 0x45, 0x49, 0xa9, 0x6c, 0xe7, // syslinux-4.07/menu.c32
0xbc, 0x3f, 0xb7, 0x6d, 0xbc, 0xd6, 0x32, 0x37, 0xc3, 0x68, 0x8d, 0x3b, 0x55, 0x3c, 0x99, 0x41, 0x0e, 0x8f, 0xb3, 0x9e, 0x52, 0x00, 0x9d, 0xdc, 0xeb, 0xb8, 0x8e, 0xe7, 0xd2, 0x5a, 0xec, 0xa8, // grub-2.03.5/core.img
- 0xbf, 0x05, 0x9b, 0x7f, 0x9d, 0xc5, 0x1d, 0x08, 0xb7, 0xa9, 0x36, 0x81, 0xcc, 0xc7, 0x82, 0xdc, 0x46, 0x4e, 0x43, 0xe6, 0x0d, 0xa4, 0xfb, 0xb6, 0xa1, 0xf5, 0x62, 0xea, 0x0e, 0x2d, 0xd3, 0x1a, // grub-2.14~rc1/core.img
0xbf, 0xf9, 0xc5, 0x89, 0x59, 0x70, 0x4d, 0x1e, 0xbe, 0x25, 0xb4, 0x43, 0xc8, 0x92, 0x3a, 0x42, 0xed, 0x89, 0xaf, 0x8b, 0xd2, 0x92, 0xe7, 0xd7, 0xcb, 0xeb, 0xca, 0xcc, 0xc0, 0x7c, 0xc7, 0x19, // syslinux-5.11/ldlinux.sys
0xc3, 0x3b, 0x31, 0x5f, 0xec, 0xe4, 0xad, 0xc4, 0xc3, 0xb2, 0x75, 0x13, 0x22, 0x84, 0x66, 0xe4, 0x44, 0x99, 0xcd, 0xa7, 0xfd, 0x63, 0x97, 0xc5, 0xab, 0xe0, 0xf8, 0xce, 0x4f, 0xe3, 0x45, 0x39, // syslinux-5.10/ldlinux.c32
0xcc, 0x40, 0xba, 0x03, 0x49, 0x78, 0x2c, 0xb4, 0xc9, 0x02, 0x1e, 0x54, 0xdc, 0xc0, 0xa4, 0x54, 0x0c, 0x3a, 0x8b, 0x96, 0x08, 0x8b, 0x3a, 0x56, 0x48, 0x67, 0x19, 0x26, 0xef, 0x44, 0xd2, 0xf0, // syslinux-6.04/ldlinux.bss
@@ -113,6 +108,7 @@ static uint8_t sha256db[] = {
0xd2, 0xc6, 0x93, 0x8d, 0xae, 0x5a, 0xd7, 0x16, 0x0e, 0x9e, 0x6c, 0x61, 0xef, 0x46, 0xb7, 0xfd, 0x14, 0x6e, 0x30, 0xc0, 0x3f, 0xdc, 0x8f, 0x5c, 0x6d, 0xbd, 0xeb, 0x86, 0x22, 0xc8, 0xa7, 0xbd, // syslinux-5.00/ldlinux.bss
0xd3, 0x47, 0x2c, 0x02, 0x26, 0x3a, 0xcf, 0x9c, 0xd1, 0xda, 0x5d, 0xb5, 0x1e, 0x26, 0x3c, 0x54, 0x84, 0xba, 0xd1, 0x3e, 0xa6, 0x86, 0x18, 0xc4, 0x03, 0xd9, 0xcb, 0x01, 0xca, 0x07, 0x0a, 0xee, // syslinux-6.04/ldlinux.c32
0xd5, 0x50, 0x39, 0xef, 0xb6, 0x8d, 0x6e, 0xec, 0xde, 0x68, 0x61, 0xc9, 0x0b, 0xa9, 0xb7, 0x99, 0x44, 0xd1, 0xaa, 0x8b, 0xc3, 0xd6, 0x01, 0xfb, 0x80, 0xfd, 0x08, 0x7b, 0xc6, 0x13, 0x63, 0xf8, // syslinux-6.02/ldlinux.sys
+ 0xd6, 0xa7, 0x0c, 0xe1, 0x90, 0x2b, 0x22, 0x1a, 0xcb, 0xc1, 0xd5, 0xf5, 0x94, 0x24, 0xa8, 0x22, 0x7b, 0x62, 0xfe, 0x6d, 0x85, 0x34, 0x86, 0x0e, 0x2b, 0x6e, 0x75, 0x7e, 0x01, 0x02, 0xc5, 0x6f, // grub4dos-0.4.6a/grldr
0xd9, 0x1c, 0xbd, 0xf9, 0x01, 0x79, 0x5e, 0x98, 0x19, 0x84, 0x9c, 0x75, 0x3e, 0xa5, 0x3a, 0xd8, 0x59, 0xc6, 0xf2, 0x5d, 0x59, 0x17, 0xa6, 0x75, 0x92, 0x58, 0x3f, 0xd6, 0x5e, 0x6d, 0x00, 0xf0, // syslinux-6.03/pre18/ldlinux.bss
0xda, 0xa3, 0x06, 0xa9, 0x97, 0x0e, 0x37, 0x7d, 0xb4, 0x4c, 0xe7, 0xfa, 0xd8, 0xdd, 0x01, 0xe9, 0xe8, 0x53, 0xc6, 0x8b, 0x1e, 0x3d, 0x84, 0xf3, 0x2a, 0xaf, 0x42, 0x24, 0x6f, 0x77, 0xae, 0x3d, // grub-2.02/core.img
0xe7, 0x87, 0x08, 0xc7, 0x2c, 0x49, 0x8e, 0xcc, 0x14, 0x9e, 0x30, 0xf0, 0xa9, 0x85, 0xd3, 0x73, 0xa3, 0x00, 0xad, 0x5c, 0xf7, 0xd2, 0x88, 0xc7, 0x7d, 0xe8, 0x05, 0x5e, 0x25, 0x66, 0x28, 0x1f, // syslinux-6.03/pre18/ldlinux.sys
@@ -122,39 +118,541 @@ static uint8_t sha256db[] = {
0xec, 0xfd, 0xbc, 0x3f, 0x4f, 0x2e, 0x4d, 0x99, 0x16, 0x9c, 0xdd, 0xfb, 0x15, 0x2d, 0x92, 0x4d, 0x7d, 0xe6, 0x8a, 0xb6, 0x7f, 0x4d, 0x12, 0x54, 0x40, 0xfa, 0xbc, 0x9f, 0x00, 0x46, 0xd5, 0xbc, // syslinux-6.03/pre5/ldlinux.bss
0xee, 0xed, 0xc0, 0x4c, 0x13, 0x73, 0xb5, 0xc4, 0x04, 0x4d, 0x1f, 0xde, 0x0d, 0x2f, 0xb8, 0xe2, 0x8c, 0x74, 0xb1, 0x02, 0x9c, 0x99, 0xed, 0x67, 0x0a, 0x15, 0x98, 0x3f, 0x18, 0xa0, 0x4d, 0x36, // syslinux-6.02/ldlinux.c32
0xf5, 0x40, 0x26, 0x1c, 0x09, 0x7d, 0xbd, 0x8a, 0x8a, 0x12, 0x9b, 0x68, 0x99, 0x5f, 0x33, 0xab, 0xe7, 0x1c, 0x29, 0x40, 0xf8, 0x87, 0xc6, 0x68, 0x9b, 0xf8, 0xdc, 0x3f, 0x1a, 0xcf, 0x0b, 0x44, // syslinux-6.03/pre17/ldlinux.bss
+ 0xf5, 0xc6, 0xe8, 0xe2, 0xc1, 0xeb, 0x73, 0x80, 0x28, 0x5f, 0xa9, 0xcb, 0x1c, 0x91, 0x68, 0xe9, 0x2d, 0x5b, 0x3b, 0x55, 0xcd, 0xe0, 0x52, 0xc0, 0x43, 0xba, 0x81, 0xed, 0x17, 0xb9, 0xac, 0xef, // grub4dos-0.4.6a/grldr.mbr
0xfb, 0x0a, 0x23, 0xca, 0x4d, 0x22, 0xfd, 0xd2, 0xad, 0x4e, 0xfa, 0x1b, 0x21, 0x08, 0xb6, 0x60, 0xd2, 0xff, 0xa3, 0xf2, 0xfb, 0xdd, 0x25, 0x32, 0xdc, 0xf1, 0x3f, 0x49, 0x33, 0x28, 0x46, 0x7b, // syslinux-6.03/pre11/ldlinux.bss
0xfb, 0x49, 0xfd, 0x45, 0x8c, 0xaf, 0x47, 0x5a, 0x16, 0x05, 0x5e, 0x4a, 0x75, 0x5a, 0xc3, 0xe3, 0x95, 0x52, 0xf4, 0xe9, 0x6c, 0xa2, 0x0d, 0xea, 0x53, 0xf5, 0xc4, 0x09, 0x2b, 0x68, 0xfd, 0x4f, // syslinux-6.00/ldlinux.sys
};
/*
- * Contains the SHA-1 thumbprints of the issuer certificate of the official
- * Secure Boot signing authority (i.e. Microsoft).
+ * DBX table data was generated through the following shell command:
+ * wget -q -O - https://uefi.org/sites/default/files/resources/dbx_info.csv | tail -n +2 | awk -F "\"*,\"*" '{print $2}' | tr '[:upper:]' '[:lower:]' | sort | uniq -w 64 | awk -F '' '{for(i=1; i<=64; i+=2) {printf "0x%s%s, ", $i,$(i+1);}} {print ""}'
+ *
+ * Note that, because we are using the "UEFI Revocation List Contents" to generate the table
+ * below and not the *signed* "UEFI Revocation List file(s)" and the Microsoft terms of use at
+ * https://uefi.org/revocationlistfile make it clear that they governs only the use of the UEFI
+ * Revocation List file(s), we assert that the utterly moronic and downright user-endangering
+ * (since they effectively prevent end-users from being able to revoke bootloaders that should
+ * be revoked, thereby fostering the proliferation of malware) Microsoft terms of use that
+ * restrict the download and use of the "UEFI Revocation List file(s)" do not apply to the
+ * table below, especially as it is not used in the context of UEFI itself or for installation
+ * or update of UEFI systems.
*/
-static const char db_sb_active_txt[] =
- // 'Microsoft Windows Production PCA 2011'
- "580a6f4cc4e4b669b9ebdc1b2b3e087b80d0678d\n"
- // 'Microsoft Corporation UEFI CA 2011'
- "46def63b5ce61cf8ba0de2e6639c1019d0ed14f3\n"
- // 'Windows UEFI CA 2023'
- "45a0fa32604773c82433c3b7d59e7466b3ac0c67\n"
- // 'Microsoft UEFI CA 2023'
- "b5eeb4a6706048073f0ed296e7f580a790b59eaa";
-
-/*
- * Contains the SHA-1 thumbprints of certificates that are being revoked by DBX.
- * This only includes the 'Microsoft Windows Production PCA 2011' for now.
- */
-static const char db_sb_revoked_txt[] =
- "580a6f4cc4e4b669b9ebdc1b2b3e087b80d0678d";
-
-/*
- * Extended SBATLevel.txt that merges Linux SBAT with Microsoft's SVN
- * See https://github.com/pbatard/rufus/issues/2244#issuecomment-2243661539
- * Use as fallback when https://rufus.ie/sbat_level.txt cannot be accessed.
- */
-static const char db_sbat_level_txt[] =
- "sbat,1,2025051000\n"
- "shim,4\n"
- "grub,5\n"
- "grub.proxmox,2\n"
- "BOOTMGRSECURITYVERSIONNUMBER,0x70000";
+static uint8_t pe256dbx[] = {
+ 0x00, 0x21, 0xb5, 0xb1, 0x1c, 0xeb, 0x03, 0x40, 0x2d, 0x61, 0x81, 0x34, 0x80, 0x0a, 0x36, 0xc5, 0x4e, 0x1c, 0x43, 0x28, 0xad, 0x38, 0x9d, 0x50, 0xb4, 0x0e, 0xac, 0xc1, 0xe8, 0x81, 0xdc, 0xb5,
+ 0x00, 0x7f, 0x4c, 0x95, 0x12, 0x57, 0x13, 0xb1, 0x12, 0x09, 0x3e, 0x21, 0x66, 0x3e, 0x2d, 0x23, 0xe3, 0xc1, 0xae, 0x9c, 0xe4, 0xb5, 0xde, 0x0d, 0x58, 0xa2, 0x97, 0x33, 0x23, 0x36, 0xa2, 0xd8,
+ 0x01, 0xe2, 0xda, 0x8e, 0xc5, 0xa6, 0x92, 0x9d, 0xdb, 0xbb, 0xeb, 0x2e, 0x98, 0x07, 0x58, 0x6f, 0xac, 0xdd, 0xca, 0x6a, 0x7e, 0xf6, 0x2b, 0xfe, 0xbb, 0x58, 0x1b, 0xdc, 0x2d, 0x72, 0x74, 0xd6,
+ 0x02, 0x57, 0xff, 0x71, 0x0f, 0x2a, 0x16, 0xe4, 0x89, 0xb3, 0x74, 0x93, 0xc0, 0x76, 0x04, 0xa7, 0xcd, 0xa9, 0x61, 0x29, 0xd8, 0xa8, 0xfd, 0x68, 0xd2, 0xb6, 0xaf, 0x63, 0x39, 0x04, 0x31, 0x5d,
+ 0x02, 0xe6, 0x21, 0x6a, 0xca, 0xef, 0x64, 0x01, 0x40, 0x1f, 0xa5, 0x55, 0xec, 0xbe, 0xd9, 0x40, 0xb1, 0xa5, 0xf2, 0x56, 0x9a, 0xed, 0x92, 0x95, 0x61, 0x37, 0xae, 0x58, 0x48, 0x2e, 0xf1, 0xb7,
+ 0x03, 0x28, 0xf7, 0xdd, 0x12, 0xb5, 0x52, 0xef, 0xa7, 0xa9, 0xe0, 0x83, 0x73, 0x03, 0x33, 0xb8, 0x5f, 0x3f, 0x4e, 0x83, 0xd3, 0x93, 0x87, 0xfc, 0x53, 0x18, 0x63, 0xb4, 0x22, 0xf7, 0x5c, 0xc8,
+ 0x03, 0xdf, 0x45, 0x00, 0x27, 0x3c, 0x43, 0x18, 0x92, 0x96, 0xf0, 0x9d, 0x73, 0x49, 0x77, 0xc8, 0x82, 0xa0, 0x08, 0xfc, 0x05, 0x6f, 0x43, 0xc3, 0x09, 0xb9, 0xd2, 0x35, 0x1f, 0x31, 0x79, 0x2e,
+ 0x03, 0xf6, 0x4a, 0x29, 0x94, 0x8a, 0x88, 0xbe, 0xff, 0xdb, 0x03, 0x5e, 0x0b, 0x09, 0xa7, 0x37, 0x0c, 0xcf, 0x0c, 0xd9, 0xce, 0x6b, 0xcf, 0x8e, 0x64, 0x0c, 0x21, 0x07, 0x31, 0x8f, 0xab, 0x87,
+ 0x04, 0x0b, 0x3b, 0xc3, 0x39, 0xe9, 0xb6, 0xf9, 0xac, 0xd8, 0x28, 0xb8, 0x8f, 0x34, 0x82, 0xa5, 0xc3, 0xf6, 0x4e, 0x67, 0xe5, 0xa7, 0x14, 0xba, 0x1d, 0xa8, 0xa7, 0x04, 0x53, 0xb3, 0x4a, 0xf6,
+ 0x05, 0x72, 0x90, 0x29, 0xef, 0x94, 0x0c, 0x5e, 0x6e, 0xe9, 0x6b, 0x3b, 0x12, 0x53, 0xc0, 0x87, 0x83, 0xc0, 0x13, 0x29, 0xbc, 0xe2, 0xe9, 0x95, 0x1b, 0xc2, 0x2a, 0x09, 0x22, 0x3f, 0xc1, 0x5c,
+ 0x05, 0xd8, 0x7e, 0x15, 0x71, 0x34, 0x54, 0x61, 0x6f, 0x5b, 0x0e, 0xd7, 0x84, 0x9a, 0xb5, 0xc1, 0x71, 0x2a, 0xb8, 0x4f, 0x02, 0x34, 0x94, 0x78, 0xec, 0x2a, 0x38, 0xf9, 0x70, 0xc0, 0x14, 0x89,
+ 0x06, 0x5d, 0x94, 0xb9, 0xea, 0x00, 0x39, 0x7a, 0x2a, 0xdd, 0xb7, 0x47, 0xe1, 0xe0, 0x97, 0x8e, 0x4d, 0xe6, 0xbf, 0x17, 0x53, 0x39, 0x77, 0x8f, 0xb9, 0xb0, 0x76, 0x0f, 0xec, 0x3d, 0x3b, 0x61,
+ 0x06, 0xc6, 0x70, 0xf8, 0x57, 0x2b, 0xf8, 0x9a, 0xba, 0xe1, 0x3d, 0x14, 0xd8, 0x1f, 0xfe, 0x80, 0xd5, 0x55, 0x0f, 0x69, 0x68, 0x62, 0xb1, 0xab, 0x38, 0x6e, 0x4d, 0x8c, 0x56, 0xb0, 0x20, 0x16,
+ 0x06, 0xe3, 0xf6, 0x46, 0xce, 0xb1, 0x02, 0x37, 0x2e, 0x3e, 0x08, 0x6d, 0x46, 0x23, 0x4b, 0x06, 0xa9, 0xaf, 0x13, 0xee, 0xf6, 0x5a, 0xad, 0x18, 0x0e, 0xa2, 0x88, 0x0b, 0xf8, 0xbc, 0x12, 0xa8,
+ 0x06, 0xeb, 0x5b, 0xad, 0xd2, 0x6e, 0x4f, 0xae, 0x65, 0xf9, 0xa4, 0x23, 0x58, 0xde, 0xef, 0x7c, 0x18, 0xe5, 0x2c, 0xc0, 0x5f, 0xbb, 0x7f, 0xc7, 0x67, 0x76, 0xe6, 0x9d, 0x1b, 0x98, 0x2a, 0x14,
+ 0x07, 0xb6, 0xd3, 0xaa, 0x86, 0xd0, 0xa8, 0xd5, 0xf4, 0x6b, 0xdd, 0x58, 0x86, 0xd8, 0xf2, 0x0f, 0xa2, 0xdd, 0x93, 0x77, 0x89, 0x8d, 0x11, 0x39, 0xbd, 0x74, 0xb4, 0x1f, 0x5e, 0x7a, 0xe4, 0x4b,
+ 0x08, 0xbb, 0x22, 0x89, 0xe9, 0xe9, 0x1b, 0x4d, 0x20, 0xff, 0x3f, 0x15, 0x62, 0x51, 0x6a, 0xb0, 0x7e, 0x97, 0x9b, 0x2c, 0x6c, 0xef, 0xe2, 0xab, 0x70, 0xc6, 0xdf, 0xc1, 0x19, 0x9f, 0x8d, 0xa5,
+ 0x09, 0x28, 0xf0, 0x40, 0x8b, 0xf7, 0x25, 0xe6, 0x1d, 0x67, 0xd8, 0x71, 0x38, 0xa8, 0xee, 0xbc, 0x52, 0x96, 0x2d, 0x28, 0x47, 0xf1, 0x6e, 0x35, 0x87, 0x16, 0x3b, 0x16, 0x0e, 0x41, 0xb6, 0xad,
+ 0x09, 0xf7, 0x69, 0x96, 0x31, 0xc1, 0x8d, 0xb0, 0xc3, 0x34, 0x91, 0xeb, 0x4b, 0x3c, 0x65, 0xb8, 0xf2, 0x79, 0x23, 0x8c, 0x5f, 0xc5, 0xe3, 0xab, 0x0b, 0xa5, 0x27, 0x37, 0xdb, 0xbd, 0x26, 0xf3,
+ 0x09, 0xf9, 0x8a, 0xa9, 0x0f, 0x85, 0x19, 0x8c, 0x0d, 0x73, 0xf8, 0x9b, 0xa7, 0x7e, 0x87, 0xec, 0x6f, 0x59, 0x6c, 0x49, 0x13, 0x50, 0xfb, 0x8f, 0x8b, 0xba, 0x80, 0xa6, 0x2f, 0xbb, 0x91, 0x4b,
+ 0x0a, 0x3c, 0x20, 0x72, 0xef, 0x4f, 0xbd, 0xbf, 0x04, 0x5e, 0x18, 0x76, 0xe8, 0x55, 0xbb, 0x8a, 0xd5, 0xdd, 0x08, 0x09, 0xf6, 0x6a, 0xd1, 0x44, 0x22, 0x39, 0xa7, 0xd8, 0x56, 0xad, 0x90, 0x8e,
+ 0x0a, 0x62, 0x07, 0x07, 0xac, 0xf2, 0x3a, 0x4e, 0x6c, 0xdc, 0x35, 0x7a, 0x14, 0x99, 0xe1, 0x48, 0x52, 0xb6, 0x05, 0xd9, 0xeb, 0x61, 0x86, 0x42, 0x2f, 0x57, 0xd4, 0x58, 0xe6, 0x27, 0xd6, 0xc0,
+ 0x0a, 0x75, 0xea, 0x0b, 0x1d, 0x70, 0xea, 0xa4, 0xd3, 0xf3, 0x74, 0x24, 0x6d, 0xb5, 0x4f, 0xc7, 0xb4, 0x3e, 0x7f, 0x59, 0x6a, 0x35, 0x33, 0x09, 0xb9, 0xc3, 0x6b, 0x4f, 0xd9, 0x75, 0x72, 0x5e,
+ 0x0b, 0x49, 0x08, 0xad, 0x33, 0xcb, 0x2f, 0x7e, 0x87, 0xd3, 0x10, 0x8b, 0x74, 0x36, 0x4c, 0x5c, 0x42, 0xfa, 0x59, 0x78, 0x07, 0xee, 0xac, 0x98, 0xde, 0x5e, 0xc6, 0x3f, 0x58, 0x96, 0xce, 0x34,
+ 0x0c, 0x0c, 0x78, 0x83, 0x7f, 0xa7, 0x67, 0xeb, 0x04, 0x5b, 0x81, 0x99, 0xe1, 0xe2, 0x0a, 0xd6, 0x66, 0xf9, 0x09, 0x28, 0xda, 0xee, 0xb8, 0xf5, 0xe5, 0x25, 0x3d, 0x8e, 0x78, 0x77, 0xfc, 0xb4,
+ 0x0c, 0x51, 0xd7, 0x90, 0x6f, 0xc4, 0x93, 0x11, 0x49, 0x76, 0x5d, 0xa8, 0x86, 0x82, 0x42, 0x6b, 0x2c, 0xfe, 0x9e, 0x6a, 0xa4, 0xf2, 0x72, 0x53, 0xea, 0xb4, 0x00, 0x11, 0x14, 0x32, 0xe3, 0xa7,
+ 0x0c, 0xa5, 0xe6, 0x02, 0x46, 0x82, 0x58, 0xb0, 0x68, 0x5a, 0x2b, 0x2b, 0x7f, 0x02, 0x8b, 0x97, 0x73, 0x54, 0x60, 0x2a, 0x82, 0xad, 0xa8, 0x6c, 0x99, 0x19, 0xfc, 0x47, 0x2a, 0xe4, 0xca, 0x40,
+ 0x0c, 0xe0, 0x21, 0x00, 0xf6, 0x7c, 0x7e, 0xf8, 0x5f, 0x4e, 0xed, 0x36, 0x8f, 0x02, 0xbf, 0x70, 0x92, 0x38, 0x0a, 0x3c, 0x23, 0xca, 0x91, 0xfd, 0x7f, 0x19, 0x43, 0x0d, 0x94, 0xb0, 0x0c, 0x19,
+ 0x0d, 0x85, 0xda, 0xaa, 0x48, 0x1b, 0x1b, 0xe8, 0x43, 0x20, 0xe1, 0x2b, 0x50, 0x78, 0x79, 0x4d, 0xa2, 0x96, 0x28, 0xac, 0xb4, 0x3b, 0x69, 0xc8, 0x90, 0x9d, 0x29, 0x1b, 0xb9, 0x95, 0xca, 0x72,
+ 0x0d, 0xc2, 0x4c, 0x75, 0xeb, 0x1a, 0xef, 0x56, 0xb9, 0xf1, 0x3a, 0xb9, 0xde, 0x60, 0xe2, 0xec, 0xa1, 0xc4, 0x51, 0x00, 0x34, 0xe2, 0x90, 0xbb, 0xb3, 0x6c, 0xf6, 0x0a, 0x54, 0x9b, 0x23, 0x4c,
+ 0x0e, 0x44, 0x21, 0x2b, 0xad, 0xf4, 0x0d, 0x6b, 0x8d, 0xe3, 0x31, 0x1e, 0x63, 0x20, 0x45, 0x37, 0x05, 0x88, 0xe0, 0xb2, 0x3b, 0x7a, 0x48, 0x0e, 0xb5, 0xdc, 0x10, 0xdb, 0x65, 0xd1, 0xb4, 0xb3,
+ 0x0f, 0xa3, 0xa2, 0x9a, 0xd0, 0x51, 0x30, 0xd7, 0xfe, 0x5b, 0xf4, 0xd2, 0x59, 0x65, 0x63, 0xcd, 0xed, 0x1d, 0x87, 0x40, 0x96, 0xaa, 0xcc, 0x18, 0x10, 0x69, 0x93, 0x2a, 0x2e, 0x49, 0x51, 0x9a,
+ 0x11, 0x42, 0xa0, 0xcc, 0x7c, 0x90, 0x04, 0xdf, 0xf6, 0x4c, 0x59, 0x48, 0x48, 0x4d, 0x6a, 0x7e, 0xc3, 0x51, 0x4e, 0x17, 0x6f, 0x5c, 0xa6, 0xbd, 0xee, 0xd7, 0xa0, 0x93, 0x94, 0x0b, 0x93, 0xcc,
+ 0x13, 0x64, 0xb7, 0xb9, 0x4a, 0xb2, 0xa9, 0x3e, 0x79, 0xd2, 0x97, 0xeb, 0xf6, 0xce, 0x0a, 0x30, 0xf7, 0x99, 0x7e, 0x59, 0x29, 0xe4, 0x08, 0xef, 0x0d, 0x3b, 0x5d, 0x54, 0xc6, 0x4e, 0x7b, 0x90,
+ 0x13, 0xa1, 0xf3, 0x7b, 0xed, 0xfb, 0x54, 0x17, 0xb6, 0xb7, 0x37, 0xe2, 0xa3, 0x81, 0x6c, 0x8f, 0xd5, 0x87, 0xd7, 0x4d, 0x83, 0x69, 0x14, 0xb2, 0xb2, 0xed, 0xc9, 0xfd, 0x6c, 0xa3, 0x0e, 0x58,
+ 0x13, 0xdb, 0xa2, 0x84, 0x47, 0xfd, 0xbe, 0x3c, 0x8a, 0x24, 0xfe, 0xe3, 0xeb, 0x88, 0x63, 0x8c, 0xe1, 0xd8, 0xf9, 0x7c, 0xd4, 0x92, 0x50, 0x56, 0xc0, 0xad, 0x0e, 0x91, 0xca, 0x51, 0x23, 0x7d,
+ 0x14, 0x77, 0x30, 0xb4, 0x2f, 0x11, 0xfe, 0x49, 0x3f, 0xe9, 0x02, 0xb6, 0x25, 0x1e, 0x97, 0xcd, 0x2b, 0x6f, 0x34, 0xd3, 0x6a, 0xf5, 0x93, 0x30, 0xf1, 0x1d, 0x02, 0xa4, 0x2f, 0x94, 0x0d, 0x07,
+ 0x14, 0x8f, 0xe1, 0x8f, 0x71, 0x5a, 0x9f, 0xcf, 0xe1, 0xa4, 0x44, 0xce, 0x0f, 0xff, 0x7f, 0x85, 0x86, 0x9e, 0xb4, 0x22, 0x33, 0x0d, 0xc0, 0x4b, 0x31, 0x4c, 0x0f, 0x29, 0x5d, 0x6d, 0xa7, 0x9e,
+ 0x15, 0x10, 0x98, 0x8d, 0x3d, 0xcc, 0xe1, 0x20, 0xf2, 0x26, 0x96, 0xa9, 0xe8, 0x7b, 0x02, 0xe7, 0xfa, 0xd6, 0x36, 0x7e, 0xf4, 0xae, 0x8b, 0xfd, 0x54, 0xcd, 0xb5, 0x28, 0xa5, 0xc4, 0x8e, 0x99,
+ 0x16, 0x59, 0x8e, 0xe3, 0x9b, 0x71, 0x6e, 0xd9, 0xe4, 0x76, 0x5a, 0x44, 0xab, 0xf8, 0x69, 0x06, 0xc9, 0xb2, 0x5c, 0x25, 0xab, 0xf6, 0x31, 0xcc, 0x78, 0xec, 0xe6, 0xf7, 0x21, 0x1b, 0x03, 0x65,
+ 0x17, 0x2f, 0xa5, 0x84, 0xb4, 0xee, 0xa5, 0xa5, 0xd4, 0x10, 0x4f, 0xb0, 0xac, 0x30, 0xed, 0xe0, 0x32, 0xcc, 0xd3, 0x1c, 0xd2, 0x67, 0x5d, 0x70, 0x03, 0xd7, 0x9a, 0x2c, 0xd0, 0xc2, 0x43, 0xe6,
+ 0x17, 0x88, 0xd8, 0x4a, 0xa6, 0x1e, 0xde, 0x6f, 0x2e, 0x96, 0xcf, 0xc9, 0x00, 0xad, 0x1c, 0xab, 0x1c, 0x5b, 0xe8, 0x65, 0x37, 0xf2, 0x72, 0x12, 0xe8, 0xc2, 0x91, 0xd6, 0xad, 0xe3, 0xb1, 0xe9,
+ 0x17, 0xc2, 0xb5, 0xb9, 0x66, 0x93, 0xcd, 0xc2, 0x95, 0x1c, 0x89, 0xdd, 0xe6, 0x41, 0xd1, 0x47, 0x16, 0x06, 0x3f, 0x5f, 0xc8, 0x79, 0x5c, 0xeb, 0xc6, 0x35, 0x37, 0x8b, 0x73, 0x04, 0x4e, 0x8b,
+ 0x19, 0x9f, 0x3c, 0xf9, 0x90, 0x81, 0x6d, 0x71, 0x0f, 0x55, 0x67, 0x22, 0xca, 0x06, 0x85, 0x97, 0xc4, 0x34, 0x1b, 0x7f, 0x34, 0x66, 0x42, 0x33, 0x98, 0x39, 0xae, 0x30, 0x49, 0x53, 0x09, 0xd0,
+ 0x19, 0xf4, 0xc7, 0x03, 0x0a, 0xd7, 0x40, 0x35, 0xf5, 0xbc, 0x07, 0xac, 0xe2, 0x85, 0xbd, 0x75, 0x38, 0xf2, 0x31, 0xd2, 0x57, 0x87, 0x75, 0x5d, 0x72, 0x07, 0x1e, 0xde, 0x87, 0x9c, 0x69, 0x78,
+ 0x1a, 0x74, 0x74, 0x0e, 0xbb, 0xe6, 0xa0, 0xe7, 0xdd, 0x44, 0xcc, 0x3d, 0x8e, 0x29, 0xf8, 0xfc, 0xf4, 0x2b, 0x64, 0x22, 0x98, 0xa5, 0xc5, 0xa5, 0x86, 0xd7, 0x7b, 0xe0, 0xdb, 0x15, 0xc2, 0xf9,
+ 0x1b, 0x90, 0x91, 0x15, 0xa8, 0xd4, 0x73, 0xe5, 0x13, 0x28, 0xa8, 0x78, 0x23, 0xbd, 0x62, 0x1c, 0xe6, 0x55, 0xdf, 0xae, 0x54, 0xfa, 0x2b, 0xfa, 0x72, 0xfd, 0xc0, 0x29, 0x86, 0x11, 0xd6, 0xb8,
+ 0x1b, 0x9a, 0x8d, 0x23, 0xff, 0xc2, 0x11, 0xef, 0xf6, 0xf1, 0x2d, 0x17, 0x03, 0x7e, 0xb0, 0x76, 0xea, 0x46, 0x56, 0x2d, 0xec, 0x93, 0x7f, 0x44, 0xcc, 0x49, 0xd4, 0xaf, 0x1c, 0x11, 0x9b, 0xa0,
+ 0x1b, 0xcf, 0x16, 0x11, 0xe0, 0xcc, 0x92, 0xc9, 0xd4, 0x6d, 0x2a, 0x51, 0xc7, 0xec, 0xf6, 0xec, 0x63, 0xc5, 0x62, 0xef, 0x75, 0x93, 0x24, 0xa1, 0xd9, 0x15, 0x1d, 0x50, 0x8a, 0x16, 0xb7, 0xb3,
+ 0x1c, 0x19, 0xa5, 0xa2, 0x40, 0xa3, 0x61, 0x13, 0x1d, 0xcc, 0x5e, 0xc2, 0x53, 0x63, 0xda, 0x6e, 0x79, 0xc7, 0xd5, 0x5b, 0x3c, 0x79, 0xc0, 0x97, 0x6c, 0x94, 0x7f, 0x1d, 0x04, 0xa3, 0x8a, 0xaa,
+ 0x1c, 0xb4, 0xdc, 0xca, 0xf2, 0xc8, 0x12, 0xcf, 0xa7, 0xb4, 0x93, 0x8e, 0x13, 0x71, 0xfe, 0x2b, 0x96, 0x91, 0x0f, 0xe4, 0x07, 0x21, 0x6f, 0xd9, 0x54, 0x28, 0x67, 0x2d, 0x6c, 0x7e, 0x73, 0x16,
+ 0x1d, 0x5c, 0x15, 0xce, 0xd7, 0x38, 0x45, 0xb7, 0xe9, 0x68, 0xbf, 0x3a, 0xce, 0x52, 0xc5, 0xc6, 0x60, 0xaa, 0x2d, 0xa6, 0xdd, 0xef, 0xf2, 0xce, 0x64, 0x45, 0xa0, 0x4b, 0x88, 0x5a, 0x0f, 0x12,
+ 0x1d, 0x8b, 0x58, 0xc1, 0xfd, 0xb8, 0xda, 0x8b, 0x33, 0xcc, 0xee, 0x1e, 0x5f, 0x97, 0x3a, 0xf7, 0x34, 0xd9, 0x0e, 0xf3, 0x17, 0xe3, 0x3f, 0x5d, 0xb1, 0x57, 0x3c, 0x2b, 0xa0, 0x88, 0xa8, 0x0c,
+ 0x1d, 0xa5, 0x3f, 0x3a, 0x2c, 0x7c, 0x41, 0xc9, 0x30, 0x99, 0x73, 0x72, 0x66, 0xb5, 0x61, 0x9f, 0xf6, 0x16, 0xa4, 0x33, 0xfb, 0x3b, 0x87, 0x02, 0x34, 0x62, 0x2d, 0x7a, 0xaf, 0xab, 0x9a, 0x7a,
+ 0x1d, 0xc8, 0xa3, 0xf5, 0x9b, 0x23, 0xcc, 0xc4, 0x11, 0xd4, 0x66, 0x91, 0xfc, 0x9b, 0x5c, 0x35, 0x99, 0x3b, 0xca, 0x20, 0xe7, 0xe2, 0x29, 0x9f, 0x1a, 0x95, 0x22, 0x3b, 0x9f, 0x11, 0x2e, 0x43,
+ 0x1e, 0xae, 0xd6, 0x2c, 0x4a, 0xbc, 0xb2, 0x52, 0x46, 0x43, 0xe1, 0x72, 0x3f, 0x6a, 0xad, 0xcc, 0x31, 0xa7, 0x4a, 0xf4, 0xd2, 0x28, 0x5d, 0x3b, 0x13, 0x88, 0x0c, 0xc4, 0x4c, 0x22, 0xde, 0xc5,
+ 0x1f, 0x16, 0x07, 0x8c, 0xce, 0x00, 0x9d, 0xf6, 0x2e, 0xdb, 0x9e, 0x71, 0x70, 0xe6, 0x6c, 0xaa, 0xe6, 0x70, 0xbc, 0xe7, 0x1b, 0x8f, 0x92, 0xd3, 0x82, 0x80, 0xc5, 0x6a, 0xa3, 0x72, 0x03, 0x1d,
+ 0x1f, 0x17, 0x91, 0x86, 0xef, 0xdf, 0x5e, 0xf2, 0xde, 0x01, 0x82, 0x45, 0xba, 0x0e, 0xae, 0x81, 0x34, 0x86, 0x86, 0x01, 0xba, 0x0d, 0x35, 0xff, 0x3d, 0x98, 0x65, 0xc1, 0x53, 0x7c, 0xed, 0x93,
+ 0x1f, 0x53, 0x59, 0x87, 0xea, 0x73, 0x86, 0xdf, 0x6b, 0xfe, 0x75, 0xf5, 0x1e, 0xfd, 0x35, 0xe4, 0xd2, 0xda, 0x4b, 0x00, 0x2d, 0xca, 0x29, 0x99, 0xc0, 0xcb, 0x4b, 0x76, 0x7b, 0xaf, 0xaf, 0xfd,
+ 0x1f, 0x8a, 0x0e, 0x13, 0xaa, 0xde, 0x08, 0x85, 0xa0, 0x6b, 0x5d, 0x82, 0x2b, 0xb2, 0x1d, 0x81, 0x11, 0x66, 0x4c, 0x37, 0x69, 0x1f, 0x0d, 0x25, 0x6e, 0xba, 0x84, 0x02, 0x77, 0x51, 0x1b, 0xca,
+ 0x1f, 0xb6, 0x19, 0xfe, 0x15, 0x04, 0xef, 0x78, 0xc8, 0xbf, 0x59, 0x29, 0x4b, 0x16, 0xc6, 0xd9, 0xbf, 0x1d, 0xa7, 0x41, 0xfb, 0x58, 0x2d, 0xe1, 0x25, 0xb6, 0xa0, 0x44, 0xf6, 0x96, 0x1c, 0x57,
+ 0x21, 0x16, 0x18, 0x3b, 0xba, 0xb5, 0xd6, 0x96, 0x4c, 0x00, 0x1c, 0x93, 0x1a, 0x09, 0xec, 0xa1, 0xdc, 0x0f, 0xd6, 0x65, 0x1a, 0x61, 0xbe, 0x4a, 0x8a, 0x95, 0x48, 0xdc, 0x47, 0x6b, 0x90, 0xb1,
+ 0x21, 0x25, 0x8f, 0xa3, 0x87, 0x71, 0x77, 0xac, 0x48, 0x0c, 0xb5, 0x71, 0x13, 0x4b, 0xee, 0x7b, 0xa1, 0x53, 0x1d, 0xdd, 0x12, 0x74, 0x21, 0x7d, 0xff, 0x71, 0xbc, 0xd6, 0x18, 0xf6, 0xc3, 0xd5,
+ 0x21, 0x55, 0x4d, 0x1f, 0x3b, 0xf9, 0xf5, 0x2d, 0x3c, 0xd2, 0x97, 0xd2, 0x7d, 0xf5, 0x62, 0x15, 0xc0, 0xfd, 0x08, 0xa0, 0xbf, 0x67, 0x38, 0x68, 0xf3, 0xd8, 0xc6, 0xc0, 0x64, 0xdc, 0x56, 0x09,
+ 0x21, 0xf2, 0x7d, 0x89, 0xf2, 0xe7, 0x7d, 0xee, 0x7c, 0xd4, 0x33, 0x6e, 0x3a, 0x3a, 0xde, 0x36, 0x2a, 0x2a, 0xae, 0x9f, 0xb2, 0xef, 0xe2, 0x07, 0x94, 0x91, 0xa5, 0x18, 0xf3, 0xd5, 0x1f, 0xed,
+ 0x22, 0xb5, 0xa8, 0x8d, 0x79, 0xb8, 0x14, 0x65, 0x98, 0x61, 0x3b, 0x37, 0x01, 0xb0, 0xd2, 0xad, 0x3e, 0x1d, 0x2b, 0xc2, 0x15, 0xd3, 0xa6, 0x13, 0xa3, 0x03, 0x56, 0x95, 0x32, 0x39, 0x48, 0x5c,
+ 0x22, 0xc3, 0x86, 0x76, 0x06, 0xa6, 0x25, 0x04, 0x8e, 0x1d, 0x9d, 0x52, 0x30, 0xf0, 0x7f, 0xae, 0x41, 0xe7, 0x0b, 0xd0, 0x8e, 0xa9, 0x78, 0xbd, 0xb3, 0x75, 0x63, 0xc0, 0xed, 0xd9, 0xda, 0x03,
+ 0x23, 0x14, 0x2e, 0x14, 0x42, 0x4f, 0xb3, 0xff, 0x4e, 0xfc, 0x75, 0xd0, 0x0b, 0x63, 0x86, 0x77, 0x27, 0x84, 0x1a, 0xba, 0x50, 0x05, 0x14, 0x90, 0x70, 0xee, 0x24, 0x17, 0xdf, 0x8a, 0xb7, 0x99,
+ 0x23, 0xa0, 0xf1, 0xde, 0x04, 0xef, 0x67, 0x8e, 0x62, 0x1a, 0x44, 0x90, 0x40, 0xcf, 0x51, 0x9d, 0xdc, 0x36, 0x79, 0xfe, 0x54, 0xc9, 0xe2, 0xe0, 0x89, 0x7d, 0xfe, 0x2c, 0x80, 0xd3, 0xdc, 0x26,
+ 0x23, 0xfc, 0xd6, 0xbf, 0x30, 0x84, 0xce, 0xe6, 0xa9, 0xf9, 0x88, 0x5e, 0x52, 0x39, 0x23, 0x0b, 0x0a, 0xdd, 0xe0, 0xc8, 0x70, 0x58, 0x9e, 0xe4, 0x61, 0x55, 0x1d, 0x1c, 0xa8, 0xf4, 0xe8, 0x5b,
+ 0x24, 0x5e, 0x9b, 0x81, 0x34, 0x2e, 0x45, 0xe1, 0xba, 0xf4, 0xf8, 0xd8, 0x30, 0xd1, 0x8e, 0xa7, 0xfa, 0xe9, 0xfd, 0xff, 0x05, 0x49, 0x72, 0x90, 0xea, 0x64, 0x42, 0xc4, 0xef, 0x0f, 0xfa, 0x57,
+ 0x25, 0x0a, 0xe0, 0xba, 0x86, 0x0d, 0x6d, 0x46, 0x89, 0x44, 0x91, 0xd6, 0x30, 0xd5, 0x8b, 0x1c, 0xa0, 0x08, 0xf6, 0x95, 0xc9, 0x2c, 0xe2, 0x08, 0x4a, 0x29, 0x54, 0x86, 0xf7, 0x1f, 0x98, 0x5b,
+ 0x26, 0x29, 0xae, 0x14, 0xb4, 0x67, 0xda, 0x5d, 0xf8, 0xe9, 0xeb, 0x6f, 0x1a, 0xdc, 0x1a, 0x9f, 0x50, 0xa7, 0x8d, 0xbc, 0x3c, 0x24, 0x62, 0x71, 0xc8, 0x53, 0x0d, 0x0d, 0x35, 0x99, 0x7a, 0x4c,
+ 0x26, 0x4c, 0xbc, 0x57, 0x65, 0x71, 0x8a, 0x0b, 0xcc, 0xb0, 0xf7, 0x9c, 0x0f, 0xdd, 0x13, 0x3a, 0x89, 0x82, 0x03, 0xfb, 0x6f, 0x4f, 0x20, 0x52, 0xcb, 0x06, 0x47, 0xfb, 0xf6, 0x00, 0x0e, 0xd0,
+ 0x26, 0x6c, 0x14, 0x29, 0xc8, 0xdc, 0x38, 0x94, 0x81, 0xb3, 0x81, 0x4b, 0xc3, 0xaf, 0x87, 0x23, 0xdb, 0x28, 0xee, 0xce, 0xb0, 0xbb, 0x02, 0x6b, 0xbb, 0xed, 0xa0, 0xcc, 0x41, 0xd3, 0x6b, 0xc3,
+ 0x26, 0x79, 0x65, 0x0f, 0xe3, 0x41, 0xf2, 0xcf, 0x1e, 0xa8, 0x83, 0x46, 0x0b, 0x35, 0x56, 0xaa, 0xaf, 0x77, 0xa7, 0x0d, 0x6b, 0x8d, 0xc4, 0x84, 0xc9, 0x30, 0x1d, 0x1b, 0x74, 0x6c, 0xf7, 0xb5,
+ 0x26, 0xac, 0xa3, 0xc9, 0x27, 0x09, 0x57, 0x72, 0xfa, 0x26, 0xa4, 0xd6, 0x36, 0x80, 0x59, 0x71, 0x30, 0xad, 0x16, 0x1e, 0xee, 0x8c, 0xbc, 0xe3, 0x4b, 0x59, 0xe1, 0x0c, 0x61, 0x67, 0xe9, 0x2a,
+ 0x27, 0x0c, 0x84, 0xb2, 0x9d, 0x86, 0xf1, 0x63, 0x12, 0xb0, 0x6a, 0xaa, 0xe4, 0xeb, 0xb8, 0xdf, 0xf8, 0xde, 0x7d, 0x08, 0x0d, 0x82, 0x5b, 0x88, 0x39, 0xff, 0x17, 0x66, 0x27, 0x4e, 0xff, 0x47,
+ 0x28, 0x41, 0x53, 0xe7, 0xd0, 0x4a, 0x9f, 0x18, 0x7e, 0x5c, 0x3d, 0xbf, 0xe1, 0x7b, 0x26, 0x72, 0xad, 0x2f, 0xbd, 0xd1, 0x19, 0xf2, 0x7b, 0xec, 0x78, 0x94, 0x17, 0xb7, 0x91, 0x98, 0x53, 0xec,
+ 0x28, 0x88, 0x78, 0xf1, 0x2e, 0x8b, 0x9c, 0x6c, 0xcb, 0xf6, 0x01, 0xc7, 0x3d, 0x5f, 0x4e, 0x98, 0x5c, 0xac, 0x0f, 0xf3, 0xfc, 0xb0, 0xc2, 0x4e, 0x44, 0x14, 0x91, 0x2b, 0x3e, 0xb9, 0x1f, 0x15,
+ 0x28, 0xce, 0x0d, 0xad, 0x50, 0x73, 0x09, 0x00, 0xc5, 0xd1, 0x8c, 0xc5, 0x8d, 0x52, 0x55, 0x29, 0x34, 0x52, 0xca, 0x37, 0xd7, 0x64, 0x86, 0x8c, 0x16, 0xea, 0xa9, 0xea, 0xf6, 0xbd, 0x7c, 0x83,
+ 0x29, 0x92, 0x06, 0x8e, 0x4f, 0x61, 0x6f, 0x2d, 0x72, 0x53, 0xe9, 0xd5, 0x81, 0x16, 0xa9, 0x7f, 0x22, 0x92, 0x3f, 0x4d, 0xc1, 0xb7, 0x8a, 0x58, 0xbe, 0x44, 0x99, 0xb9, 0x82, 0xec, 0xf2, 0x70,
+ 0x29, 0xcc, 0xa4, 0x54, 0x4e, 0xa3, 0x30, 0xd6, 0x15, 0x91, 0xc7, 0x84, 0x69, 0x5c, 0x14, 0x9c, 0x6b, 0x04, 0x00, 0x22, 0xac, 0x7b, 0x5b, 0x89, 0xcb, 0xd7, 0x28, 0x00, 0xd1, 0x08, 0x40, 0xea,
+ 0x2a, 0x92, 0x10, 0x38, 0x65, 0xfb, 0x60, 0xfc, 0x84, 0xd3, 0x57, 0x18, 0x0c, 0xc7, 0xdb, 0x45, 0x35, 0x9b, 0x04, 0xad, 0x41, 0x9e, 0x8c, 0x4f, 0xab, 0x74, 0xf7, 0x14, 0x3f, 0xc0, 0x65, 0x5a,
+ 0x2b, 0x1b, 0x9e, 0xcc, 0xf5, 0x85, 0xb1, 0x1c, 0x51, 0x22, 0x65, 0x1d, 0x7b, 0x94, 0x53, 0x4b, 0xb1, 0x31, 0xaa, 0x7c, 0x87, 0x4e, 0x22, 0x62, 0x03, 0x8b, 0x85, 0xdb, 0x3e, 0xe8, 0x3e, 0x4d,
+ 0x2b, 0x21, 0x02, 0x9f, 0xa0, 0x33, 0x52, 0x6d, 0x1d, 0xcd, 0x9e, 0x87, 0xad, 0x88, 0x93, 0xf9, 0xb5, 0xa0, 0x89, 0x87, 0xc3, 0x27, 0x1b, 0x8a, 0x86, 0x71, 0x68, 0x65, 0xde, 0x53, 0xd9, 0x58,
+ 0x2b, 0x22, 0x98, 0xea, 0xa2, 0x6b, 0x9d, 0xc4, 0xa4, 0x55, 0x8a, 0xe9, 0x2e, 0x7b, 0xb0, 0xe4, 0xf8, 0x5c, 0xf3, 0x4b, 0xf8, 0x48, 0xfd, 0xf6, 0x36, 0xc0, 0xc1, 0x1f, 0xbe, 0xc4, 0x98, 0x97,
+ 0x2b, 0x7a, 0x7a, 0x4d, 0xaf, 0xc3, 0x5e, 0x49, 0xd0, 0x3c, 0xbe, 0x71, 0x18, 0xe6, 0xba, 0x45, 0x82, 0x40, 0x1e, 0x17, 0x76, 0xb9, 0xc1, 0x8a, 0x25, 0x97, 0x72, 0x5b, 0x05, 0xa6, 0x05, 0xf1,
+ 0x2d, 0xcf, 0x8e, 0x8d, 0x81, 0x70, 0x23, 0xd1, 0xe8, 0xe1, 0x45, 0x1a, 0x3d, 0x68, 0xd6, 0xec, 0x30, 0xd9, 0xbe, 0xd9, 0x4c, 0xbc, 0xb8, 0x7f, 0x19, 0xdd, 0xc1, 0xcc, 0x01, 0x16, 0xac, 0x1a,
+ 0x2e, 0x69, 0x21, 0xdc, 0x97, 0x0a, 0xac, 0x43, 0x3d, 0xe9, 0xae, 0x4e, 0xd6, 0x6b, 0x26, 0x81, 0xa4, 0xcd, 0x2b, 0xe6, 0x49, 0xd2, 0xee, 0x9a, 0x56, 0x18, 0x71, 0xc3, 0x35, 0xe8, 0xb1, 0xb7,
+ 0x2e, 0xa4, 0xcb, 0x6a, 0x1f, 0x1e, 0xb1, 0xd3, 0xdc, 0xe8, 0x2d, 0x54, 0xfd, 0xe2, 0x6d, 0xed, 0x24, 0x3b, 0xa3, 0xe1, 0x8d, 0xe7, 0xc6, 0xd2, 0x11, 0x90, 0x2a, 0x59, 0x4f, 0xe5, 0x67, 0x88,
+ 0x2f, 0x9a, 0x8e, 0xb6, 0xc8, 0xe1, 0x8e, 0x7e, 0x11, 0x8a, 0xfe, 0x9b, 0x51, 0xe2, 0x33, 0xd8, 0x8e, 0xc7, 0x6c, 0x0e, 0xa2, 0x56, 0xff, 0x1f, 0x2a, 0x84, 0x2b, 0x3a, 0x0e, 0xa9, 0xf4, 0x66,
+ 0x31, 0x09, 0x49, 0xb7, 0xfd, 0x26, 0xaf, 0x0e, 0x2e, 0x29, 0xe1, 0xc9, 0x02, 0xac, 0x19, 0x85, 0x74, 0xf0, 0x96, 0xd1, 0x58, 0x36, 0x37, 0x6c, 0x8b, 0x3e, 0xf2, 0xdd, 0x1f, 0xb5, 0xf1, 0xc5,
+ 0x31, 0x1a, 0x2a, 0xc5, 0x5b, 0x50, 0xc0, 0x9b, 0x30, 0xb3, 0xcc, 0x93, 0xb9, 0x94, 0xa1, 0x19, 0x15, 0x3e, 0xee, 0xac, 0x54, 0xef, 0x89, 0x2f, 0xc4, 0x47, 0xbb, 0xbd, 0x96, 0x10, 0x1a, 0xa1,
+ 0x31, 0x53, 0xb3, 0xe3, 0x05, 0x57, 0x54, 0x39, 0x91, 0x46, 0x05, 0xd9, 0x76, 0xcf, 0x6e, 0xad, 0x5a, 0x50, 0x0e, 0x54, 0xd0, 0xb6, 0xab, 0xcd, 0xaa, 0xfc, 0xce, 0xd1, 0xbc, 0x47, 0xe0, 0x4f,
+ 0x32, 0x4c, 0xbe, 0x75, 0xef, 0x34, 0xe0, 0x9a, 0x98, 0xc7, 0x1b, 0x18, 0x6f, 0x53, 0x5f, 0x90, 0x91, 0xa1, 0xff, 0x25, 0x7b, 0xea, 0x93, 0xdf, 0xea, 0xf1, 0x99, 0xeb, 0x35, 0x2c, 0xa0, 0xf6,
+ 0x32, 0x69, 0x67, 0xc7, 0xff, 0xc1, 0xb8, 0x6d, 0xb8, 0xb3, 0x2b, 0x05, 0x70, 0xe8, 0x8a, 0x89, 0xcc, 0x15, 0x34, 0xcf, 0xcf, 0x30, 0x0b, 0x98, 0xc0, 0x77, 0xe4, 0x73, 0xf9, 0xb1, 0x8f, 0xa1,
+ 0x32, 0xad, 0x32, 0x96, 0x82, 0x9b, 0xc4, 0x6d, 0xcf, 0xac, 0x5e, 0xdd, 0xcb, 0x9d, 0xbf, 0x2c, 0x1e, 0xed, 0x5c, 0x11, 0xf8, 0x3b, 0x22, 0x10, 0xcf, 0x9c, 0x6e, 0x60, 0xc7, 0x98, 0xd4, 0xa7,
+ 0x32, 0xd4, 0xba, 0x3a, 0x03, 0xd1, 0xf2, 0xb6, 0xbc, 0x80, 0xd0, 0x11, 0xc0, 0xfa, 0x10, 0x77, 0x47, 0xb7, 0xb5, 0x73, 0xfe, 0x96, 0xaa, 0xff, 0xf2, 0x17, 0x35, 0xec, 0xf5, 0x62, 0xd3, 0x37,
+ 0x33, 0x24, 0x50, 0x89, 0x0f, 0x9c, 0x8f, 0xff, 0x7e, 0xc1, 0x5c, 0x53, 0x92, 0x1b, 0xf2, 0x72, 0x27, 0xab, 0x9e, 0xa0, 0x6b, 0x0e, 0x1c, 0x81, 0x6d, 0x81, 0x9f, 0x8e, 0x21, 0xcf, 0xb5, 0x5f,
+ 0x33, 0x9c, 0x2b, 0xcf, 0x04, 0x45, 0xba, 0xa7, 0x34, 0x5a, 0x02, 0xcd, 0xe5, 0x05, 0xe1, 0x72, 0xd2, 0x4c, 0xc9, 0xce, 0xa2, 0x9a, 0x92, 0xeb, 0xee, 0x3f, 0x39, 0x01, 0x69, 0x3f, 0xd2, 0xc8,
+ 0x34, 0x0d, 0xa3, 0x2b, 0x58, 0x33, 0x1c, 0x8e, 0x2b, 0x56, 0x1b, 0xaf, 0x30, 0x0c, 0xa9, 0xdf, 0xd6, 0xb9, 0x1c, 0xd2, 0x27, 0x0e, 0xe0, 0xe2, 0xa3, 0x49, 0x58, 0xb1, 0xc6, 0x25, 0x9e, 0x85,
+ 0x35, 0xc1, 0x6a, 0xa2, 0xbb, 0x4d, 0xad, 0xf5, 0x02, 0x8f, 0x48, 0x01, 0x18, 0x5c, 0xd3, 0x68, 0xb9, 0x22, 0xc6, 0xcf, 0x76, 0x51, 0xcb, 0x7f, 0xef, 0x30, 0xdf, 0xb9, 0x59, 0x20, 0xfb, 0x99,
+ 0x36, 0x2e, 0xd3, 0x1d, 0x20, 0xb1, 0xe0, 0x03, 0x92, 0x28, 0x12, 0x31, 0xa9, 0x6f, 0x0a, 0x0a, 0xcf, 0xde, 0x02, 0x61, 0x89, 0x53, 0xe6, 0x95, 0xc9, 0xef, 0x2e, 0xb0, 0xba, 0xc3, 0x75, 0x50,
+ 0x36, 0x7a, 0x31, 0xe5, 0x83, 0x88, 0x31, 0xad, 0x2c, 0x07, 0x46, 0x47, 0x88, 0x6a, 0x6c, 0xdf, 0xf2, 0x17, 0xe6, 0xb1, 0xba, 0x91, 0x0b, 0xff, 0x85, 0xdc, 0x7a, 0x87, 0xae, 0x9b, 0x5e, 0x98,
+ 0x36, 0xb7, 0xcd, 0xb6, 0x56, 0x4c, 0x58, 0xcb, 0x54, 0x89, 0x5b, 0x6d, 0x2c, 0x73, 0xf8, 0x8d, 0x29, 0x08, 0xbc, 0xbd, 0x69, 0x3b, 0xfd, 0x25, 0x39, 0x45, 0xbd, 0x31, 0xe3, 0xee, 0x81, 0xbc,
+ 0x37, 0x65, 0xd7, 0x69, 0xc0, 0x5b, 0xf9, 0x8b, 0x42, 0x7b, 0x35, 0x11, 0x90, 0x3b, 0x21, 0x37, 0xe8, 0xa4, 0x9b, 0x6f, 0x85, 0x9d, 0x0a, 0xf1, 0x59, 0xed, 0x6a, 0x86, 0x78, 0x6a, 0xa6, 0x34,
+ 0x37, 0xa4, 0x80, 0x37, 0x4d, 0xaf, 0x62, 0x02, 0xce, 0x79, 0x0c, 0x31, 0x8a, 0x2b, 0xb8, 0xaa, 0x37, 0x97, 0x31, 0x12, 0x61, 0x16, 0x0a, 0x8e, 0x30, 0x55, 0x8b, 0x7d, 0xea, 0x78, 0xc7, 0xa6,
+ 0x38, 0x60, 0xb7, 0xc7, 0xff, 0x6f, 0x4b, 0xcd, 0x58, 0x65, 0x84, 0x3b, 0x2e, 0x86, 0xb2, 0xec, 0xa5, 0xff, 0x4f, 0xb0, 0x71, 0x99, 0x9f, 0x21, 0x29, 0xd4, 0xc7, 0x75, 0x3b, 0x80, 0x6f, 0x34,
+ 0x38, 0x6d, 0x69, 0x5c, 0xdf, 0x2d, 0x45, 0x76, 0xe0, 0x1b, 0xca, 0xcc, 0xf5, 0xe4, 0x9e, 0x78, 0xda, 0x51, 0xaf, 0x99, 0x55, 0xc0, 0xb8, 0xfa, 0x76, 0x06, 0x37, 0x3b, 0x00, 0x79, 0x94, 0xb3,
+ 0x38, 0x90, 0x9d, 0xaf, 0x2f, 0xe2, 0x9b, 0xbf, 0xe2, 0x23, 0x03, 0x93, 0x9d, 0x39, 0x04, 0xf3, 0x8d, 0xca, 0x48, 0xb7, 0xf2, 0xa4, 0x1f, 0x28, 0xf3, 0x4d, 0xe5, 0x64, 0xa0, 0x24, 0x27, 0x81,
+ 0x39, 0x89, 0x95, 0x77, 0x0d, 0x21, 0xe9, 0xf6, 0x6b, 0x90, 0xd6, 0x9d, 0x1e, 0xde, 0x16, 0xc9, 0xe5, 0x8c, 0x06, 0x34, 0xb2, 0xf7, 0xd2, 0x6b, 0x1f, 0x22, 0x50, 0x1d, 0xd9, 0x3f, 0xda, 0xe5,
+ 0x39, 0x9f, 0x9d, 0xa6, 0xcf, 0x5a, 0x87, 0x83, 0x96, 0x37, 0xb5, 0x5f, 0x62, 0xbb, 0x2c, 0xc6, 0xa9, 0x3f, 0xa5, 0xaf, 0x7f, 0xe7, 0xad, 0x76, 0xb4, 0xaf, 0x0f, 0xb3, 0x20, 0xc9, 0x81, 0x27,
+ 0x39, 0xab, 0xed, 0x29, 0x35, 0x89, 0x1e, 0xef, 0x96, 0xe2, 0xb7, 0x33, 0xbb, 0xc6, 0x95, 0x1d, 0xaf, 0xad, 0x1a, 0x4c, 0x6b, 0x50, 0x0d, 0x2d, 0x9b, 0x28, 0xc3, 0x58, 0x35, 0x5a, 0x6a, 0xb8,
+ 0x3a, 0x4f, 0x74, 0xbe, 0xaf, 0xae, 0x2b, 0x93, 0x83, 0xad, 0x82, 0x15, 0xd2, 0x33, 0xa6, 0xcf, 0x3d, 0x05, 0x7f, 0xb3, 0xc7, 0xe2, 0x13, 0xe8, 0x97, 0xbe, 0xef, 0x42, 0x55, 0xfa, 0xee, 0x9d,
+ 0x3a, 0x91, 0xf0, 0xf9, 0xe5, 0x28, 0x7f, 0xa2, 0x99, 0x4c, 0x7d, 0x93, 0x0b, 0x2c, 0x1a, 0x5e, 0xe1, 0x4c, 0xe8, 0xe1, 0xc8, 0x30, 0x4a, 0xe4, 0x95, 0xad, 0xc5, 0x8c, 0xc4, 0x45, 0x3c, 0x0c,
+ 0x3a, 0x9e, 0x49, 0xe6, 0xe6, 0x44, 0xc0, 0xab, 0xec, 0x17, 0xd3, 0x2d, 0x02, 0x03, 0x39, 0xd1, 0x71, 0x43, 0x9a, 0xba, 0x32, 0x74, 0x09, 0xa7, 0x79, 0x7e, 0x66, 0x86, 0xbd, 0x0f, 0x64, 0x1c,
+ 0x3a, 0xe7, 0x6c, 0x45, 0xca, 0x70, 0xe9, 0x18, 0x0c, 0x15, 0x59, 0x98, 0x1f, 0x42, 0x62, 0x2d, 0xd2, 0x51, 0xbc, 0xa1, 0xfb, 0xe6, 0xb9, 0x01, 0xc5, 0x2e, 0xc1, 0x16, 0x73, 0xb0, 0x35, 0x14,
+ 0x3b, 0x30, 0xc3, 0xe6, 0xa9, 0x23, 0xcb, 0xb7, 0xcf, 0x65, 0xb5, 0x39, 0x02, 0x5f, 0x12, 0xb1, 0xc8, 0x10, 0xd7, 0x44, 0x80, 0xf2, 0x5c, 0xbf, 0xcb, 0x9a, 0x7b, 0xfd, 0x63, 0x3f, 0x06, 0xed,
+ 0x3b, 0x76, 0x96, 0xdf, 0x62, 0x7a, 0xde, 0x30, 0xbb, 0x15, 0xbd, 0xc5, 0xce, 0x3f, 0x3c, 0x27, 0x24, 0x0c, 0x97, 0x33, 0x53, 0xe8, 0x55, 0x1e, 0x7b, 0x03, 0x6c, 0x90, 0xd0, 0x12, 0x80, 0xc9,
+ 0x3b, 0xe8, 0xe7, 0xeb, 0x34, 0x8d, 0x35, 0xc1, 0x92, 0x8f, 0x19, 0xc7, 0x69, 0x84, 0x67, 0x88, 0x99, 0x16, 0x41, 0xd1, 0xf6, 0xcf, 0x09, 0x51, 0x4c, 0xa1, 0x02, 0x69, 0x93, 0x4f, 0x73, 0x59,
+ 0x3e, 0x1a, 0x60, 0x21, 0xb3, 0xc6, 0x06, 0x6e, 0x94, 0xf7, 0xf0, 0x6a, 0xd7, 0xb2, 0x9e, 0x35, 0xb1, 0xbd, 0x9e, 0xe4, 0x96, 0x82, 0x7a, 0x29, 0x0e, 0xfb, 0x9b, 0xe7, 0xa2, 0x7c, 0x5d, 0x63,
+ 0x3e, 0x33, 0x3d, 0xe8, 0x7d, 0x21, 0x12, 0x47, 0xb2, 0xab, 0x00, 0x09, 0x3c, 0xab, 0x48, 0xf6, 0x06, 0x9d, 0x71, 0x8a, 0xfd, 0x29, 0xe9, 0x91, 0x7a, 0x3d, 0x5f, 0x60, 0xe8, 0x75, 0x57, 0xb6,
+ 0x3e, 0x39, 0x26, 0xf0, 0xb8, 0xa1, 0x5a, 0xd5, 0xa1, 0x41, 0x67, 0xbb, 0x64, 0x7a, 0x84, 0x3c, 0x3d, 0x43, 0x21, 0xe3, 0x5d, 0xbc, 0x44, 0xdc, 0xe8, 0xc8, 0x37, 0x41, 0x7f, 0x2d, 0x28, 0xb0,
+ 0x3e, 0x82, 0x8e, 0xf5, 0xe8, 0x80, 0xfe, 0x62, 0xb3, 0x3d, 0x36, 0xb7, 0x8f, 0x22, 0x35, 0xf1, 0xa3, 0x14, 0x15, 0x38, 0x99, 0xac, 0x80, 0x46, 0x95, 0x97, 0x29, 0x7b, 0x9a, 0x9d, 0xd2, 0x2d,
+ 0x3e, 0xce, 0x27, 0xcb, 0xb3, 0xec, 0x44, 0x38, 0xcc, 0xe5, 0x23, 0xb9, 0x27, 0xc4, 0xf0, 0x5f, 0xdc, 0x5c, 0x59, 0x3a, 0x37, 0x66, 0xdb, 0x98, 0x4c, 0x5e, 0x43, 0x7a, 0x3f, 0xf6, 0xa1, 0x6b,
+ 0x3f, 0xe9, 0xf8, 0xd1, 0x1e, 0xdc, 0xa3, 0xfc, 0x18, 0x99, 0x10, 0x04, 0x84, 0xde, 0x4c, 0xc2, 0xc6, 0x26, 0xab, 0xb3, 0x8b, 0x73, 0x98, 0x5a, 0x44, 0x1b, 0x7c, 0x3a, 0x0d, 0x39, 0xca, 0x54,
+ 0x40, 0x0a, 0xc6, 0x6d, 0x59, 0xb7, 0xb0, 0x94, 0xa9, 0xe3, 0x0b, 0x01, 0xa6, 0xbd, 0x01, 0x3a, 0xff, 0x1d, 0x30, 0x57, 0x0f, 0x83, 0xe7, 0x59, 0x2f, 0x42, 0x1d, 0xbe, 0x5f, 0xf4, 0xba, 0x8f,
+ 0x40, 0x8b, 0x8b, 0x3d, 0xf5, 0xab, 0xb0, 0x43, 0x52, 0x1a, 0x49, 0x35, 0x25, 0x02, 0x31, 0x75, 0xab, 0x12, 0x61, 0xb1, 0xde, 0x21, 0x06, 0x4d, 0x6b, 0xf2, 0x47, 0xce, 0x14, 0x21, 0x53, 0xb9,
+ 0x40, 0xd6, 0xca, 0xe0, 0x29, 0x73, 0x78, 0x90, 0x80, 0xcf, 0x4c, 0x3a, 0x9a, 0xd1, 0x1b, 0x5a, 0x0a, 0x4d, 0x8b, 0xba, 0x44, 0x38, 0xab, 0x96, 0xe2, 0x76, 0xcc, 0x78, 0x44, 0x54, 0xde, 0xe7,
+ 0x41, 0x85, 0x82, 0x1f, 0x6d, 0xab, 0x5b, 0xa8, 0x34, 0x7b, 0x78, 0xa2, 0x2b, 0x5f, 0x9a, 0x0a, 0x75, 0x70, 0xca, 0x5c, 0x93, 0xa7, 0x4d, 0x47, 0x8a, 0x79, 0x3d, 0x83, 0xba, 0xc4, 0x98, 0x05,
+ 0x41, 0xcc, 0xe0, 0xfc, 0x46, 0x76, 0x09, 0xca, 0x36, 0x8b, 0xed, 0xba, 0x45, 0xc2, 0x92, 0xf2, 0xbe, 0x1b, 0x62, 0x2f, 0xb9, 0xbe, 0x04, 0x73, 0xcf, 0x51, 0xe7, 0xa9, 0x6e, 0xe6, 0x56, 0x52,
+ 0x41, 0xd1, 0xee, 0xb1, 0x77, 0xc0, 0x32, 0x4e, 0x17, 0xdd, 0x65, 0x57, 0xf3, 0x84, 0xe5, 0x32, 0xde, 0x0c, 0xf5, 0x1a, 0x01, 0x9a, 0x44, 0x6b, 0x01, 0xef, 0xb3, 0x51, 0xbc, 0x25, 0x9d, 0x77,
+ 0x43, 0x80, 0xa4, 0x3a, 0x7b, 0x0b, 0xe1, 0xac, 0xe5, 0x4a, 0x65, 0xb3, 0xe2, 0x5e, 0xd3, 0x5f, 0x34, 0x0d, 0x69, 0x06, 0x36, 0x58, 0x21, 0xaf, 0x13, 0x99, 0x41, 0xd5, 0xd6, 0xe1, 0xea, 0x1b,
+ 0x45, 0x0e, 0xff, 0xc8, 0x27, 0xca, 0x53, 0x5a, 0x79, 0xd5, 0xc4, 0xff, 0x3e, 0x1a, 0x3f, 0x61, 0x4c, 0xa9, 0x12, 0x6b, 0x37, 0x92, 0xf9, 0x97, 0xd3, 0x87, 0x91, 0xca, 0x73, 0x99, 0x32, 0x0c,
+ 0x45, 0x87, 0x6b, 0x4d, 0xd8, 0x61, 0xd4, 0x5b, 0x3a, 0x94, 0x80, 0x07, 0x74, 0x02, 0x7a, 0x5d, 0xb4, 0x5a, 0x48, 0xb2, 0xa7, 0x29, 0x41, 0x09, 0x08, 0xb6, 0x41, 0x2f, 0x8a, 0x87, 0xe9, 0x5d,
+ 0x45, 0x94, 0x57, 0xc4, 0x8e, 0x1b, 0x45, 0x0d, 0x8f, 0x22, 0x85, 0x8f, 0xfb, 0x39, 0x2f, 0xca, 0x78, 0xbb, 0x6f, 0x4d, 0xa8, 0x37, 0x86, 0x28, 0x89, 0xab, 0x79, 0x8b, 0xdc, 0xbd, 0xf0, 0x8f,
+ 0x46, 0x67, 0xbf, 0x25, 0x0c, 0xd7, 0xc1, 0xa0, 0x6b, 0x84, 0x74, 0xc6, 0x13, 0xcd, 0xb1, 0xdf, 0x64, 0x8a, 0x7f, 0x58, 0x73, 0x6f, 0xbf, 0x57, 0xd0, 0x5d, 0x6f, 0x75, 0x5d, 0xab, 0x67, 0xf4,
+ 0x47, 0xb3, 0x1a, 0x1c, 0x78, 0x67, 0x64, 0x4b, 0x2e, 0xe8, 0x09, 0x3b, 0x2d, 0x5f, 0xbe, 0x21, 0xe2, 0x1f, 0x77, 0xc1, 0x61, 0x7a, 0x2c, 0x08, 0x81, 0x2f, 0x57, 0xac, 0xe0, 0x85, 0x0e, 0x9f,
+ 0x47, 0xf7, 0xa5, 0xf3, 0x82, 0x12, 0x86, 0xa9, 0xc6, 0x77, 0xf6, 0x6c, 0xfe, 0x2a, 0x84, 0xd5, 0xca, 0x94, 0xcb, 0x6f, 0xc1, 0xeb, 0xe8, 0xe1, 0x98, 0x6e, 0x91, 0xed, 0xd5, 0x8c, 0xbe, 0x33,
+ 0x47, 0xff, 0x1b, 0x63, 0xb1, 0x40, 0xb6, 0xfc, 0x04, 0xed, 0x79, 0x13, 0x13, 0x31, 0xe6, 0x51, 0xda, 0x5b, 0x2e, 0x2f, 0x17, 0x0f, 0x5d, 0xae, 0xf4, 0x15, 0x3d, 0xc2, 0xfb, 0xc5, 0x32, 0xb1,
+ 0x48, 0xcd, 0xb3, 0x1a, 0x16, 0xd8, 0x91, 0x12, 0x4b, 0xe7, 0x74, 0x90, 0xfb, 0xc2, 0xad, 0x13, 0xcb, 0x35, 0x5a, 0x18, 0xcb, 0x00, 0x07, 0x25, 0x8c, 0xa4, 0xbc, 0xea, 0x44, 0xf2, 0x88, 0xef,
+ 0x48, 0xf4, 0x58, 0x4d, 0xe1, 0xc5, 0xec, 0x65, 0x0c, 0x25, 0xe6, 0xc6, 0x23, 0x63, 0x5c, 0xe1, 0x01, 0xbd, 0x82, 0x61, 0x7f, 0xc4, 0x00, 0xd4, 0x15, 0x0f, 0x0a, 0xee, 0x23, 0x55, 0xb4, 0xca,
+ 0x49, 0x0c, 0x92, 0x72, 0x42, 0xcc, 0x62, 0x27, 0xca, 0x43, 0x9a, 0x7e, 0x9a, 0xa9, 0xd7, 0x71, 0xad, 0x4d, 0x16, 0x86, 0xee, 0xde, 0x1f, 0x33, 0x1c, 0xbb, 0x6c, 0x69, 0xe9, 0xbe, 0x74, 0x6e,
+ 0x49, 0x46, 0x5d, 0x4a, 0xd7, 0x01, 0x64, 0x2c, 0x7b, 0xcb, 0x5e, 0xf3, 0x0a, 0x08, 0x07, 0xa3, 0xcd, 0x43, 0x8a, 0xb4, 0x2b, 0xf8, 0xd6, 0x2d, 0x68, 0x03, 0x8c, 0x3f, 0xcb, 0xbe, 0x86, 0x05,
+ 0x49, 0x53, 0x00, 0x79, 0x0e, 0x6c, 0x9b, 0xf2, 0x51, 0x0d, 0xab, 0xa5, 0x9d, 0xb3, 0xd5, 0x7e, 0x9d, 0x2b, 0x85, 0xd7, 0xd7, 0x64, 0x04, 0x34, 0xec, 0x75, 0xba, 0xa3, 0x85, 0x1c, 0x74, 0xe5,
+ 0x4a, 0x48, 0x73, 0xa3, 0x19, 0xa3, 0xa3, 0xde, 0x35, 0xea, 0x32, 0x57, 0x71, 0xdf, 0xfc, 0xbb, 0x31, 0xec, 0x14, 0x55, 0x0a, 0x4e, 0x02, 0x9c, 0xf0, 0xfe, 0xb9, 0xcd, 0x68, 0x6b, 0x8c, 0x92,
+ 0x4a, 0x9b, 0x1c, 0x43, 0x8b, 0xc8, 0xf1, 0x14, 0xbf, 0xaa, 0x82, 0xf5, 0xd5, 0x33, 0xda, 0x31, 0xcc, 0x61, 0x0c, 0x27, 0x67, 0x11, 0x42, 0x2c, 0x74, 0xa1, 0x67, 0xb8, 0xae, 0xed, 0x7c, 0x82,
+ 0x4a, 0xac, 0x0a, 0x9e, 0x08, 0x9d, 0xf8, 0xe9, 0xac, 0x67, 0x25, 0xe0, 0xdf, 0xca, 0x3a, 0xc1, 0x1a, 0x17, 0x74, 0x7a, 0x2e, 0x35, 0xf4, 0x3a, 0x2b, 0x38, 0xa5, 0x8f, 0x8a, 0xe2, 0xa2, 0x73,
+ 0x4b, 0x59, 0xc6, 0xd8, 0xe9, 0x44, 0x28, 0xc4, 0xcb, 0xdb, 0x0f, 0x30, 0x6f, 0xed, 0x75, 0xb0, 0x99, 0xea, 0x34, 0x94, 0x31, 0xf0, 0x01, 0xaa, 0x81, 0x9c, 0x3b, 0xd0, 0xd1, 0x60, 0x08, 0x12,
+ 0x4b, 0x86, 0x68, 0xa5, 0xd4, 0x65, 0xbc, 0xdd, 0x90, 0x00, 0xaa, 0x8d, 0xfc, 0xff, 0x42, 0x04, 0x4f, 0xcb, 0xd0, 0xae, 0xce, 0x32, 0xfc, 0x70, 0x11, 0xa8, 0x3e, 0x91, 0x60, 0xe8, 0x9f, 0x09,
+ 0x4c, 0xda, 0xe3, 0x92, 0x0a, 0x51, 0x2c, 0x9c, 0x05, 0x2a, 0x8b, 0x4a, 0xba, 0x90, 0x96, 0x96, 0x9b, 0x0a, 0x01, 0x97, 0xb6, 0x14, 0x03, 0x1e, 0x4c, 0x64, 0xa5, 0xd8, 0x98, 0xcb, 0x09, 0xb9,
+ 0x4e, 0xe4, 0x5a, 0x21, 0x7b, 0x38, 0xa8, 0xc1, 0x37, 0x77, 0xdf, 0x08, 0x60, 0xf1, 0x25, 0x5e, 0x52, 0xba, 0xf3, 0xcf, 0x9d, 0x07, 0x53, 0x73, 0xe3, 0x1a, 0xd7, 0xe2, 0xc8, 0x5e, 0x2c, 0xdb,
+ 0x4f, 0x02, 0x14, 0xfc, 0xe4, 0xfa, 0x88, 0x97, 0xd0, 0xc8, 0x0a, 0x46, 0xd6, 0xda, 0xb4, 0x12, 0x47, 0x26, 0xd1, 0x36, 0xfc, 0x24, 0x92, 0xef, 0xd0, 0x1b, 0xfe, 0xdf, 0xa3, 0x88, 0x7a, 0x9c,
+ 0x4f, 0x93, 0xed, 0x05, 0xad, 0x7e, 0x20, 0xbd, 0xde, 0x62, 0x41, 0xd2, 0x4b, 0x19, 0x6d, 0x63, 0x34, 0xc8, 0xc4, 0x01, 0x0d, 0x92, 0x75, 0x7e, 0x48, 0x68, 0xff, 0x4b, 0xbd, 0x6a, 0x0f, 0x98,
+ 0x4f, 0x94, 0xf4, 0x0c, 0x6b, 0x4b, 0xac, 0x7b, 0xf2, 0x19, 0xc7, 0x3d, 0xaf, 0xd0, 0x87, 0x08, 0x79, 0xf1, 0xdb, 0x10, 0xde, 0x6c, 0x86, 0x20, 0xf6, 0xf1, 0x33, 0x3d, 0x7a, 0xa5, 0x45, 0x5a,
+ 0x50, 0x87, 0x11, 0x41, 0x45, 0x9a, 0x21, 0xfa, 0xba, 0x3d, 0xbb, 0xf6, 0x3d, 0xa5, 0xaa, 0xc8, 0x86, 0x3f, 0xa3, 0xd8, 0xa9, 0x89, 0x1f, 0x18, 0x2e, 0xd7, 0x2e, 0x3a, 0x74, 0xb6, 0x4f, 0xdc,
+ 0x50, 0xf9, 0x34, 0x02, 0xb6, 0x61, 0x27, 0xd8, 0x7b, 0x94, 0x70, 0x67, 0xe9, 0x68, 0x9d, 0xf5, 0xb2, 0xb3, 0x6b, 0x25, 0x38, 0x33, 0xff, 0xe1, 0xe6, 0xce, 0xca, 0x68, 0x5f, 0xae, 0x2d, 0x85,
+ 0x52, 0xa3, 0xca, 0x4d, 0xb9, 0x23, 0xc0, 0x64, 0x8a, 0xc0, 0x4b, 0xe8, 0x6c, 0xe0, 0x2d, 0xbc, 0x6a, 0x3a, 0xaa, 0xc8, 0x31, 0x23, 0x66, 0xb1, 0x06, 0x20, 0x5d, 0xec, 0x6e, 0x2c, 0xa2, 0xd9,
+ 0x52, 0xce, 0xad, 0xa5, 0x8e, 0x8d, 0x14, 0xab, 0x47, 0xe7, 0x06, 0xdc, 0xd6, 0x26, 0x4d, 0x82, 0xaf, 0xfc, 0x0f, 0x9f, 0xc6, 0x2a, 0xb4, 0x6f, 0x77, 0xbe, 0x46, 0xf2, 0x62, 0xae, 0x1b, 0x17,
+ 0x53, 0x48, 0x07, 0x53, 0x29, 0xa1, 0x08, 0x7e, 0xbb, 0x68, 0x9f, 0xcf, 0xc7, 0x75, 0x30, 0x4b, 0x09, 0xc6, 0x78, 0x6a, 0x52, 0x3f, 0x83, 0xe7, 0xbb, 0x90, 0xe2, 0x6d, 0xe0, 0xe6, 0x1f, 0xf7,
+ 0x54, 0x06, 0x1f, 0xf5, 0x0d, 0x91, 0x29, 0x6f, 0x2f, 0x44, 0xd8, 0xb3, 0x38, 0xae, 0xed, 0xfb, 0xbe, 0x86, 0xdf, 0x49, 0xdb, 0x5d, 0xe8, 0xa4, 0x51, 0x91, 0xaa, 0xa9, 0x31, 0xf5, 0xbc, 0xf6,
+ 0x54, 0x08, 0x01, 0xdd, 0x34, 0x5d, 0xc1, 0xc3, 0x3e, 0xf4, 0x31, 0xb3, 0x5b, 0xf4, 0xc0, 0xe6, 0x8b, 0xd3, 0x19, 0xb5, 0x77, 0xb9, 0xab, 0xe1, 0xa9, 0xcf, 0xf1, 0xcb, 0xc3, 0x9f, 0x54, 0x8f,
+ 0x54, 0xc7, 0xd9, 0xc2, 0x86, 0x72, 0xa1, 0x30, 0x6e, 0x43, 0xed, 0x7f, 0xee, 0xd3, 0x8b, 0x29, 0x5f, 0x8e, 0xec, 0x27, 0x92, 0x51, 0xf9, 0x96, 0xfa, 0x29, 0x3f, 0x68, 0xfc, 0x6c, 0xfb, 0x12,
+ 0x56, 0xb3, 0xda, 0x72, 0x59, 0xeb, 0x1b, 0xec, 0x44, 0x19, 0x9a, 0x7e, 0xbf, 0x74, 0xc6, 0xfe, 0x91, 0x2c, 0x8f, 0xe9, 0xbf, 0x4a, 0x20, 0xa7, 0x61, 0x0c, 0x5e, 0x9b, 0xc0, 0xb6, 0x01, 0xcd,
+ 0x56, 0xfb, 0x79, 0xaa, 0xb2, 0x6e, 0xe9, 0xd0, 0xe0, 0xca, 0x37, 0x2f, 0xb8, 0x6a, 0x8b, 0xb4, 0x59, 0xac, 0xbc, 0x50, 0x5d, 0x0a, 0xb3, 0x5e, 0x6a, 0x63, 0x2a, 0x3d, 0x5f, 0x88, 0xdc, 0xb3,
+ 0x57, 0x69, 0x2f, 0xc2, 0xb8, 0x0d, 0x80, 0x9a, 0x3b, 0xe4, 0x09, 0xb4, 0x44, 0x75, 0xdd, 0xed, 0x72, 0x25, 0xc7, 0x6f, 0xdd, 0x5f, 0xf0, 0x9e, 0x4e, 0xd7, 0xd3, 0x30, 0xa5, 0x87, 0x33, 0xa5,
+ 0x57, 0xae, 0xab, 0x53, 0xdb, 0x02, 0xcc, 0xd1, 0xe3, 0x07, 0xad, 0x3b, 0xe5, 0x24, 0xeb, 0x50, 0x7d, 0x03, 0x39, 0xbb, 0x2a, 0xab, 0x3b, 0xc9, 0xb6, 0x53, 0x08, 0x8b, 0x7e, 0x79, 0x0f, 0xcc,
+ 0x57, 0xe6, 0x91, 0x3a, 0xfa, 0xcc, 0x52, 0x22, 0xbd, 0x76, 0xcd, 0xaf, 0x31, 0xf8, 0xed, 0x88, 0x89, 0x54, 0x64, 0x25, 0x53, 0x74, 0xef, 0x09, 0x7a, 0x82, 0xd7, 0xf5, 0x9a, 0xd3, 0x95, 0x96,
+ 0x58, 0x68, 0x98, 0xc6, 0x0c, 0xff, 0x53, 0x9b, 0x76, 0xd2, 0x3d, 0xbf, 0x2c, 0x92, 0xe4, 0x10, 0x5f, 0x6a, 0x75, 0x49, 0xe1, 0x3f, 0x53, 0xd2, 0x93, 0x70, 0x8b, 0x79, 0x3c, 0xa9, 0x0d, 0x2d,
+ 0x58, 0x90, 0xfa, 0x22, 0x71, 0x21, 0xc7, 0x6d, 0x90, 0xed, 0x9e, 0x63, 0xc8, 0x7e, 0x3a, 0x65, 0x33, 0xee, 0xa0, 0xf6, 0xf0, 0xa1, 0xa2, 0x3f, 0x1f, 0xc4, 0x45, 0x13, 0x9b, 0xc6, 0xbc, 0xdf,
+ 0x5a, 0x18, 0x4e, 0x74, 0x06, 0x57, 0xe2, 0x18, 0xd6, 0x35, 0x16, 0x82, 0x86, 0xf0, 0xf7, 0x0b, 0xb5, 0x67, 0x2e, 0x4e, 0xdb, 0x78, 0x71, 0x75, 0x50, 0xc7, 0x06, 0x86, 0xc2, 0x32, 0xea, 0x5b,
+ 0x5a, 0x47, 0xb0, 0xb1, 0x1d, 0x2f, 0xd9, 0xcd, 0x39, 0xc6, 0x27, 0xd1, 0xe6, 0xbf, 0x4a, 0xfe, 0xd9, 0x60, 0x1a, 0xa1, 0x5d, 0x6a, 0x5d, 0x84, 0xfb, 0x10, 0xf3, 0x97, 0x55, 0xd2, 0xd3, 0x23,
+ 0x5a, 0xaf, 0xc9, 0xf5, 0xf9, 0x8d, 0xb7, 0x5f, 0x85, 0x19, 0xd8, 0x65, 0x29, 0x24, 0x93, 0x29, 0x39, 0x76, 0x0f, 0x00, 0xdf, 0x88, 0x27, 0xfa, 0x2a, 0x6e, 0x36, 0xdb, 0x26, 0x5f, 0x21, 0xf8,
+ 0x5b, 0x24, 0x8e, 0x91, 0x3d, 0x71, 0x85, 0x3d, 0x3d, 0xa5, 0xae, 0xdd, 0x8d, 0x9a, 0x4b, 0xc5, 0x7a, 0x91, 0x71, 0x26, 0x57, 0x38, 0x17, 0xfb, 0x5f, 0xcb, 0x2d, 0x86, 0xa2, 0xf1, 0xc8, 0x86,
+ 0x5b, 0x89, 0xf1, 0xaa, 0x24, 0x35, 0xa0, 0x3d, 0x18, 0xd9, 0xb2, 0x03, 0xd1, 0x7f, 0xb4, 0xfb, 0xa4, 0xf8, 0xf5, 0x07, 0x6c, 0xf1, 0xf9, 0xb8, 0xd6, 0xd9, 0xb8, 0x26, 0x22, 0x22, 0x35, 0xc1,
+ 0x5c, 0x2a, 0xfe, 0x34, 0xbd, 0x8a, 0x7a, 0xeb, 0xbb, 0x43, 0x9c, 0x25, 0x1d, 0xfb, 0x6a, 0x42, 0x4f, 0x00, 0xe5, 0x35, 0xac, 0x4d, 0xf6, 0x1e, 0xc1, 0x97, 0x45, 0xb6, 0xf1, 0x0e, 0x89, 0x3a,
+ 0x5c, 0x39, 0xf0, 0xe5, 0xe0, 0xe7, 0xfa, 0x3b, 0xe0, 0x50, 0x90, 0x81, 0x3b, 0x13, 0xd1, 0x61, 0xac, 0xaf, 0x48, 0x49, 0x4f, 0xde, 0x62, 0x33, 0xb4, 0x52, 0xc4, 0x16, 0xd2, 0x9c, 0xdd, 0xbe,
+ 0x5c, 0x58, 0x05, 0x19, 0x6a, 0x85, 0xe9, 0x37, 0x89, 0x45, 0x70, 0x17, 0xd4, 0xf9, 0xeb, 0x68, 0x28, 0xb9, 0x7c, 0x41, 0xcb, 0x9b, 0xa6, 0xd3, 0xdc, 0x1f, 0xcc, 0x11, 0x5f, 0x52, 0x7a, 0x55,
+ 0x5d, 0x1e, 0x9a, 0xcb, 0xbb, 0x4a, 0x7d, 0x02, 0x4b, 0x68, 0x52, 0xdf, 0x02, 0x59, 0x70, 0xe2, 0xce, 0xd6, 0x6f, 0xf6, 0x22, 0xee, 0x01, 0x9c, 0xd0, 0xed, 0x7f, 0xd8, 0x41, 0xcc, 0xad, 0x02,
+ 0x5e, 0x2b, 0xb7, 0xbc, 0x8b, 0x16, 0xe0, 0xb9, 0xdd, 0xff, 0x75, 0x60, 0x66, 0x68, 0xe6, 0x9d, 0x76, 0xaf, 0x12, 0x19, 0xc1, 0x71, 0x80, 0xef, 0x0a, 0x5b, 0x9b, 0x38, 0x3f, 0x00, 0xb9, 0x95,
+ 0x5e, 0x67, 0xbf, 0x24, 0x0b, 0x1d, 0x05, 0xf6, 0xf6, 0x18, 0x90, 0x88, 0x68, 0xa4, 0x94, 0xc5, 0x0a, 0x30, 0xab, 0x25, 0x5b, 0x06, 0x61, 0x9f, 0xa2, 0x84, 0x11, 0xeb, 0x26, 0x0f, 0x67, 0x4a,
+ 0x5e, 0xb2, 0xc7, 0x68, 0x43, 0xb2, 0x53, 0xac, 0xbc, 0xec, 0xbb, 0x84, 0x76, 0x76, 0x97, 0x12, 0x8f, 0x00, 0x0c, 0x18, 0x35, 0x8c, 0x78, 0xc5, 0xba, 0xf1, 0x35, 0xa5, 0x99, 0x6c, 0x03, 0x7f,
+ 0x60, 0x78, 0xc0, 0xfa, 0x37, 0xd9, 0xd3, 0x5d, 0xad, 0xac, 0x7a, 0xd9, 0x0e, 0x90, 0xa3, 0xa9, 0x5c, 0x44, 0x98, 0x5a, 0x3d, 0x30, 0x5b, 0xd2, 0x2a, 0x5d, 0x83, 0x8e, 0xd4, 0x54, 0x91, 0xee,
+ 0x61, 0x53, 0x5c, 0xaa, 0x14, 0x47, 0x61, 0xfc, 0x48, 0xcc, 0x9d, 0x7a, 0x83, 0x5d, 0xfa, 0xf0, 0x20, 0xb5, 0x69, 0xed, 0xfc, 0x7f, 0xa6, 0x28, 0xf9, 0x83, 0xd5, 0x8a, 0x3a, 0xc2, 0x5f, 0x2a,
+ 0x61, 0xce, 0xc4, 0xa3, 0x77, 0xbf, 0x59, 0x02, 0xc0, 0xfe, 0xae, 0xe3, 0x70, 0x34, 0xbf, 0x97, 0xd5, 0xbc, 0x6e, 0x06, 0x15, 0xe2, 0x3a, 0x1c, 0xdf, 0xba, 0xe6, 0xe3, 0xf5, 0xfb, 0x3c, 0xfd,
+ 0x62, 0xb7, 0x9f, 0xb4, 0xa0, 0x40, 0x52, 0xfc, 0xb4, 0x98, 0xa9, 0x7f, 0x22, 0xa3, 0x56, 0x76, 0x42, 0xd4, 0xbc, 0x47, 0xd1, 0xc2, 0xff, 0x9a, 0x06, 0x31, 0x1c, 0x8c, 0x61, 0x48, 0xe9, 0x07,
+ 0x63, 0x1f, 0x08, 0x57, 0xb4, 0x18, 0x45, 0x36, 0x2c, 0x90, 0xc6, 0x98, 0x0b, 0x4b, 0x10, 0xc4, 0xb6, 0x28, 0xe2, 0x3d, 0xbe, 0x24, 0xb6, 0xe9, 0x6c, 0x12, 0x8a, 0xe3, 0xdc, 0xb0, 0xd5, 0xac,
+ 0x63, 0x3f, 0x98, 0x06, 0xbc, 0x96, 0xa8, 0x31, 0xcc, 0x2c, 0x8d, 0x52, 0x1d, 0x71, 0xe9, 0xeb, 0xd0, 0x21, 0x80, 0xda, 0xba, 0x1a, 0x50, 0x97, 0x8e, 0xf6, 0xb7, 0x2e, 0x50, 0x34, 0xe9, 0xef,
+ 0x64, 0xcc, 0xc8, 0x86, 0xeb, 0x99, 0xc3, 0x0a, 0xa8, 0x08, 0xe5, 0xca, 0x9b, 0xd3, 0x71, 0x57, 0x7b, 0xaf, 0x9d, 0x3f, 0xa0, 0xe4, 0x50, 0x11, 0x84, 0x64, 0xf5, 0x14, 0xb4, 0x7a, 0x02, 0x8a,
+ 0x65, 0x62, 0x5a, 0x14, 0x3d, 0x22, 0x0e, 0xa1, 0x84, 0xdb, 0xd5, 0xcd, 0xfb, 0x1b, 0x9e, 0x9c, 0x3b, 0xd9, 0x65, 0x42, 0x94, 0xea, 0xa2, 0xb9, 0x86, 0x28, 0xbc, 0x27, 0x3e, 0xbc, 0x18, 0xb5,
+ 0x65, 0x82, 0xdc, 0xcb, 0x8b, 0x30, 0x5e, 0xfe, 0x0b, 0xbb, 0xaf, 0xdc, 0xc7, 0xd2, 0x95, 0xa6, 0xa8, 0xbf, 0x1d, 0xf0, 0x39, 0x7e, 0x1a, 0x8a, 0xc7, 0x36, 0xe9, 0x09, 0x8a, 0x2a, 0x64, 0xc0,
+ 0x65, 0xb2, 0xe7, 0xcc, 0x18, 0xd9, 0x03, 0xc3, 0x31, 0xdf, 0x11, 0x52, 0xdf, 0x73, 0xca, 0x0d, 0xc9, 0x32, 0xd2, 0x9f, 0x17, 0x99, 0x74, 0x81, 0xc5, 0x6f, 0x30, 0x87, 0xb2, 0xdd, 0x31, 0x47,
+ 0x65, 0xf3, 0xc0, 0xa0, 0x1b, 0x84, 0x02, 0xd3, 0x62, 0xb9, 0x72, 0x2e, 0x98, 0xf7, 0x5e, 0x5e, 0x99, 0x1e, 0x6c, 0x18, 0x6e, 0x93, 0x4f, 0x7b, 0x2b, 0x2e, 0x6b, 0xe6, 0xde, 0xc8, 0x00, 0xec,
+ 0x66, 0xaa, 0x13, 0xa0, 0xed, 0xc2, 0x19, 0x38, 0x4d, 0x9c, 0x42, 0x5d, 0x39, 0x27, 0xe6, 0xed, 0x4a, 0x5d, 0x19, 0x40, 0xc5, 0xe7, 0xcd, 0x4d, 0xac, 0x88, 0xf5, 0x77, 0x01, 0x03, 0xf2, 0xf1,
+ 0x66, 0xd0, 0x80, 0x3e, 0x25, 0x50, 0xd9, 0xe7, 0x90, 0x82, 0x9a, 0xe1, 0xb5, 0xf8, 0x15, 0x47, 0xcc, 0x9b, 0xfb, 0xe6, 0x9b, 0x51, 0x81, 0x70, 0x68, 0xec, 0xb5, 0xda, 0xbb, 0x7a, 0x89, 0xfc,
+ 0x67, 0x30, 0xc9, 0x11, 0xe6, 0xd9, 0x10, 0x09, 0x42, 0x0d, 0x20, 0x2f, 0xb6, 0xf3, 0x94, 0x56, 0x8a, 0x06, 0xaa, 0x97, 0xe9, 0xf3, 0x3f, 0x30, 0xc7, 0xe9, 0x2a, 0xaa, 0x71, 0x33, 0x2d, 0x68,
+ 0x68, 0x73, 0xd2, 0xf6, 0x1c, 0x29, 0xbd, 0x52, 0xe9, 0x54, 0xee, 0xff, 0x59, 0x77, 0xaa, 0x83, 0x67, 0x43, 0x99, 0x97, 0x81, 0x1a, 0x62, 0xff, 0x21, 0x2c, 0x94, 0x81, 0x33, 0xc6, 0x8d, 0x97,
+ 0x68, 0xee, 0x46, 0x32, 0xc7, 0xbe, 0x1c, 0x66, 0xc8, 0x3e, 0x89, 0xdd, 0x93, 0xea, 0xee, 0x12, 0x94, 0x15, 0x9a, 0xbf, 0x45, 0xb4, 0xc2, 0xc7, 0x2d, 0x7d, 0xc7, 0x49, 0x9a, 0xa2, 0xa0, 0x43,
+ 0x69, 0x1b, 0xa3, 0x41, 0x4e, 0x78, 0x62, 0x25, 0x81, 0xbc, 0x51, 0x9b, 0xaf, 0x0b, 0xcb, 0x16, 0xfb, 0x26, 0x2d, 0x3a, 0xbb, 0xd8, 0x63, 0x9f, 0x3e, 0x0e, 0xca, 0x2a, 0x29, 0xf9, 0x94, 0x06,
+ 0x6a, 0x0e, 0x82, 0x46, 0x54, 0xb7, 0x47, 0x91, 0x52, 0x05, 0x8c, 0xf7, 0x38, 0xa3, 0x78, 0xe6, 0x29, 0x48, 0x38, 0x74, 0xb6, 0xdb, 0xd6, 0x7e, 0x0d, 0x8c, 0x33, 0x27, 0xb2, 0xfc, 0xac, 0x64,
+ 0x6a, 0x16, 0xad, 0xa3, 0xfe, 0x0c, 0x54, 0x68, 0xf0, 0xa4, 0x3f, 0xb2, 0xf5, 0x97, 0xa4, 0x2f, 0x3d, 0xa3, 0x21, 0x8c, 0x88, 0xee, 0x81, 0x9b, 0xf7, 0x99, 0x11, 0x0c, 0xf7, 0xa7, 0x9b, 0x6c,
+ 0x6b, 0x54, 0x49, 0x7f, 0xf9, 0x91, 0x5a, 0x69, 0x77, 0x42, 0x8b, 0xdf, 0x8f, 0x45, 0xb1, 0x16, 0xd8, 0x74, 0xc4, 0xf8, 0xa8, 0x36, 0xb5, 0xbd, 0xfc, 0x37, 0x3d, 0x05, 0xf4, 0xc0, 0xef, 0x87,
+ 0x6b, 0x8e, 0xec, 0x82, 0x9f, 0x03, 0x73, 0x93, 0x10, 0x99, 0xf0, 0x70, 0xcb, 0xd4, 0xe2, 0xe1, 0x38, 0x0c, 0xd5, 0x64, 0x42, 0x01, 0xd0, 0x5d, 0x80, 0xd8, 0x6b, 0x1e, 0x7e, 0xd0, 0xb0, 0x8b,
+ 0x6c, 0xe1, 0xf2, 0x98, 0x6f, 0x0c, 0x46, 0x68, 0x3b, 0xa0, 0x7d, 0x29, 0x6d, 0x0a, 0x84, 0x44, 0x8e, 0xcf, 0x76, 0xc6, 0x9d, 0xb1, 0x83, 0xfe, 0x29, 0xc3, 0x6e, 0xed, 0x8f, 0x8e, 0x8f, 0x2f,
+ 0x6c, 0xfd, 0xdb, 0x62, 0x03, 0xf2, 0x54, 0xd3, 0x8a, 0x5b, 0xcd, 0xd4, 0x17, 0x3d, 0x51, 0x64, 0x7a, 0x48, 0x7c, 0xa7, 0x0a, 0xb2, 0x13, 0x26, 0xac, 0xa0, 0xa0, 0x3b, 0xb3, 0xd2, 0xba, 0xc0,
+ 0x6d, 0x17, 0x4d, 0xc1, 0x67, 0x3f, 0x7c, 0xfb, 0x6f, 0x1e, 0xa7, 0x5d, 0x71, 0x73, 0x9a, 0xfd, 0xe2, 0xb7, 0x84, 0xe2, 0x14, 0xe4, 0x1a, 0xe6, 0xf5, 0xaa, 0x30, 0xf6, 0x22, 0xa4, 0x00, 0xc4,
+ 0x6d, 0xbb, 0xea, 0xd2, 0x3e, 0x8c, 0x86, 0x0c, 0xf8, 0xb4, 0x7f, 0x74, 0xfb, 0xfc, 0xa5, 0x20, 0x4d, 0xe3, 0xe2, 0x8b, 0x88, 0x13, 0x13, 0xbb, 0x1d, 0x1e, 0xcc, 0xdc, 0x47, 0x47, 0x93, 0x4e,
+ 0x6d, 0xea, 0xd1, 0x32, 0x57, 0xdf, 0xc3, 0xcc, 0xc6, 0xa4, 0xb3, 0x70, 0x16, 0xba, 0x91, 0x75, 0x5f, 0xe9, 0xe0, 0xec, 0x1f, 0x41, 0x50, 0x30, 0x94, 0x2e, 0x5a, 0xbc, 0x47, 0xf0, 0x7c, 0x88,
+ 0x6e, 0xfe, 0xfe, 0x0b, 0x5b, 0x01, 0x47, 0x8b, 0x7b, 0x94, 0x4c, 0x10, 0xd3, 0xa8, 0xac, 0xa2, 0xcc, 0xa4, 0x20, 0x88, 0x88, 0xe2, 0x05, 0x9f, 0x8a, 0x06, 0xcb, 0x58, 0x24, 0xd7, 0xba, 0xb0,
+ 0x6f, 0x53, 0xcd, 0x5b, 0xf4, 0x34, 0xb1, 0x9b, 0x4e, 0x14, 0xca, 0x12, 0x7c, 0x59, 0x67, 0x52, 0x07, 0x9d, 0x98, 0x9f, 0xcc, 0x98, 0xbb, 0x7d, 0x7c, 0xf3, 0x15, 0x56, 0x19, 0xec, 0x34, 0x7d,
+ 0x70, 0x6b, 0x8a, 0x82, 0x06, 0x52, 0x21, 0x2d, 0x3a, 0x5f, 0x57, 0x30, 0x3c, 0x9c, 0xb2, 0xb8, 0x0b, 0x9e, 0x79, 0xdc, 0xf2, 0x62, 0x1f, 0x29, 0x31, 0x8a, 0xf2, 0x34, 0x64, 0x19, 0xed, 0xfa,
+ 0x70, 0xa1, 0x45, 0x0a, 0xf2, 0xad, 0x39, 0x55, 0x69, 0xad, 0x0a, 0xfe, 0xb1, 0xd9, 0xc1, 0x25, 0x32, 0x4e, 0xe9, 0x0a, 0xec, 0x39, 0xc2, 0x58, 0x88, 0x01, 0x34, 0xd4, 0x89, 0x2d, 0x51, 0xab,
+ 0x71, 0xa5, 0x71, 0x6d, 0xec, 0xf0, 0x9f, 0xe8, 0xbc, 0xbc, 0xc7, 0x32, 0x25, 0xfe, 0x1e, 0x70, 0x12, 0x07, 0x6c, 0xea, 0x39, 0xb4, 0x9e, 0x9e, 0x72, 0xaf, 0xa2, 0x91, 0xb1, 0xfb, 0x71, 0x7f,
+ 0x71, 0xb6, 0x01, 0xee, 0x37, 0x46, 0xda, 0x71, 0x77, 0x72, 0x6d, 0xb8, 0x4f, 0x5b, 0x41, 0x7c, 0x97, 0x21, 0x58, 0x3d, 0x2d, 0x88, 0xad, 0x85, 0x7b, 0xf3, 0x68, 0xa5, 0x4f, 0xf7, 0x6b, 0xfa,
+ 0x72, 0xc2, 0x6f, 0x82, 0x7c, 0xeb, 0x92, 0x98, 0x97, 0x98, 0x96, 0x1b, 0xc6, 0xae, 0x74, 0x8d, 0x14, 0x1e, 0x05, 0xd3, 0xeb, 0xcf, 0xb6, 0x5d, 0x90, 0x41, 0xb2, 0x66, 0xc9, 0x20, 0xbe, 0x82,
+ 0x73, 0x1a, 0x31, 0xcc, 0x36, 0xc5, 0xa7, 0xd7, 0x44, 0x5f, 0x96, 0x44, 0xce, 0x4e, 0x85, 0x0e, 0x99, 0xcc, 0x79, 0x62, 0xef, 0x6e, 0x2d, 0xe9, 0x87, 0x21, 0x44, 0x7a, 0x14, 0x38, 0xd8, 0x05,
+ 0x73, 0x6a, 0xfb, 0x5d, 0xf2, 0x9e, 0xc9, 0xc8, 0x85, 0x32, 0xbe, 0x9c, 0x62, 0x0e, 0xf8, 0x09, 0x01, 0xbf, 0x23, 0xe7, 0x2f, 0x2d, 0x34, 0x88, 0xb7, 0x57, 0xaf, 0xf1, 0x7e, 0x73, 0x4a, 0xce,
+ 0x73, 0xba, 0xeb, 0x8e, 0xb0, 0xb6, 0x40, 0x56, 0xa7, 0xbc, 0x30, 0x96, 0x42, 0xfd, 0xc5, 0x89, 0xbf, 0x21, 0x99, 0x28, 0xa9, 0x06, 0x66, 0x6d, 0x10, 0x7e, 0x65, 0xe8, 0xb0, 0xdb, 0xf4, 0x96,
+ 0x74, 0x90, 0xad, 0x46, 0xb3, 0xae, 0xa3, 0x2d, 0xd2, 0x1c, 0x46, 0xa7, 0xa4, 0x2f, 0xf4, 0x18, 0x3f, 0xfa, 0xa7, 0xc4, 0x86, 0xc7, 0x5c, 0x64, 0x38, 0xad, 0xf9, 0x36, 0xe5, 0x12, 0xb9, 0xa5,
+ 0x74, 0xb3, 0x9c, 0x20, 0x6d, 0xc8, 0xa1, 0x1c, 0xd1, 0x96, 0xd5, 0x99, 0x8d, 0x29, 0x96, 0xb6, 0xad, 0x47, 0x7d, 0x72, 0xea, 0xf8, 0x6e, 0x19, 0xa3, 0xdc, 0x14, 0xec, 0x0e, 0xab, 0x0f, 0x1e,
+ 0x75, 0xe7, 0x8c, 0x19, 0x7f, 0xf9, 0x1f, 0x57, 0x47, 0x35, 0xa3, 0xa6, 0x06, 0xe5, 0x68, 0x62, 0xe9, 0xe0, 0xb8, 0x4d, 0xf0, 0xcf, 0x69, 0xf7, 0xc7, 0xf4, 0x3c, 0xbc, 0x17, 0x1a, 0xb3, 0x71,
+ 0x77, 0xcd, 0xcf, 0xc9, 0x64, 0x4f, 0x8f, 0x80, 0xff, 0x40, 0x7c, 0xde, 0x31, 0x6a, 0xc2, 0x35, 0xdd, 0xd1, 0xad, 0xa9, 0xc3, 0xb6, 0xa5, 0xaa, 0x95, 0x44, 0xdb, 0x2d, 0x64, 0xb7, 0x9f, 0xed,
+ 0x78, 0x03, 0xf1, 0x2e, 0x7e, 0x1b, 0x70, 0x63, 0x50, 0x2e, 0xb8, 0xe2, 0x23, 0xa9, 0x01, 0x3e, 0x2b, 0x61, 0x12, 0x5a, 0x88, 0x8b, 0x74, 0xd6, 0x14, 0x65, 0xb5, 0x1d, 0xe5, 0x32, 0x76, 0xba,
+ 0x78, 0x17, 0x64, 0x10, 0x21, 0x88, 0xa8, 0xb4, 0xb1, 0x73, 0xd4, 0xa8, 0xf5, 0xec, 0x94, 0xd8, 0x28, 0x64, 0x71, 0x56, 0x09, 0x7f, 0x99, 0x35, 0x7a, 0x58, 0x1e, 0x62, 0x4b, 0x37, 0x75, 0x09,
+ 0x78, 0x36, 0x46, 0x5b, 0xdf, 0xfa, 0xe7, 0x68, 0xef, 0xae, 0xdc, 0xba, 0xa8, 0xb5, 0x78, 0x7b, 0xaf, 0x51, 0xb2, 0x79, 0x2a, 0x02, 0x0e, 0x80, 0xe3, 0x41, 0xa3, 0xf8, 0x24, 0xff, 0x82, 0xca,
+ 0x78, 0x83, 0x83, 0xa4, 0xc7, 0x33, 0xbb, 0x87, 0xd2, 0xbf, 0x51, 0x67, 0x3d, 0xc7, 0x3e, 0x92, 0xdf, 0x15, 0xab, 0x7d, 0x51, 0xdc, 0x71, 0x56, 0x27, 0xae, 0x77, 0x68, 0x6d, 0x8d, 0x23, 0xbc,
+ 0x78, 0xb4, 0xed, 0xca, 0xab, 0xc8, 0xd9, 0x09, 0x3e, 0x20, 0xe2, 0x17, 0x80, 0x2c, 0xae, 0xb4, 0xf0, 0x9e, 0x23, 0xa3, 0x39, 0x4c, 0x4a, 0xcc, 0x6e, 0x87, 0xe8, 0xf3, 0x53, 0x95, 0x31, 0x0f,
+ 0x7a, 0x02, 0x94, 0xba, 0x07, 0xa2, 0xae, 0xe3, 0x64, 0x8a, 0xfc, 0x0d, 0xaf, 0x2e, 0xfd, 0x52, 0x6a, 0x5b, 0x76, 0x34, 0x9e, 0xc9, 0x06, 0xf8, 0x19, 0xc0, 0x3b, 0xc2, 0x17, 0x25, 0x76, 0x38,
+ 0x7a, 0xb5, 0xff, 0x84, 0xb7, 0xb8, 0x0a, 0x43, 0x23, 0x66, 0xe3, 0xbb, 0xcc, 0x19, 0x8e, 0xd3, 0x82, 0xc9, 0xfd, 0x59, 0x2c, 0xd5, 0xdd, 0x21, 0x01, 0x38, 0xd2, 0xf9, 0x29, 0x7c, 0xc1, 0xf6,
+ 0x7b, 0x94, 0xf0, 0x50, 0x5f, 0x37, 0xb1, 0x9b, 0x43, 0x2a, 0xba, 0x08, 0xbe, 0x2e, 0x3e, 0x00, 0x30, 0x38, 0xc0, 0x2c, 0xeb, 0x53, 0x1e, 0x16, 0x9d, 0x46, 0x0d, 0xb6, 0x0c, 0x35, 0x16, 0x49,
+ 0x7b, 0xc9, 0xcb, 0x54, 0x63, 0xce, 0x0f, 0x01, 0x1f, 0xb5, 0x08, 0x5e, 0xb8, 0xba, 0x77, 0xd1, 0xac, 0xd2, 0x83, 0xc4, 0x3f, 0x4a, 0x57, 0x60, 0x3c, 0xc1, 0x13, 0xf2, 0x2c, 0xeb, 0xc5, 0x79,
+ 0x7c, 0x09, 0xd8, 0xb9, 0x0b, 0x72, 0xb7, 0xc2, 0xcc, 0xf1, 0xa4, 0x13, 0xe3, 0x35, 0xc2, 0xd1, 0xa2, 0x5d, 0x75, 0xbb, 0x85, 0x41, 0xf9, 0xbc, 0x16, 0xb4, 0xc4, 0xe2, 0x6b, 0xda, 0x68, 0x55,
+ 0x7c, 0x73, 0x72, 0xa6, 0x0d, 0x71, 0xe0, 0x48, 0x79, 0xb8, 0x93, 0x0c, 0x16, 0x49, 0x44, 0xd9, 0x6d, 0x37, 0x53, 0xe0, 0xa2, 0x92, 0x4a, 0x31, 0x23, 0x1d, 0x1d, 0x5f, 0xb9, 0x78, 0x82, 0xf2,
+ 0x7d, 0x0b, 0x74, 0xae, 0x42, 0xdf, 0x73, 0xa0, 0xc2, 0xc9, 0xca, 0x64, 0xf6, 0xc8, 0x38, 0x13, 0xd3, 0xd6, 0xa5, 0xc4, 0xb0, 0x2b, 0xc4, 0x7f, 0x56, 0x6c, 0xed, 0xd5, 0x68, 0x2c, 0x69, 0x1a,
+ 0x7e, 0xac, 0x80, 0xa9, 0x15, 0xc8, 0x4c, 0xd4, 0xaf, 0xec, 0x63, 0x89, 0x04, 0xd9, 0x4e, 0xb1, 0x68, 0xa8, 0x55, 0x79, 0x51, 0xa4, 0xd5, 0x39, 0xb0, 0x71, 0x30, 0x28, 0x55, 0x2b, 0x6b, 0x8c,
+ 0x7f, 0x29, 0x2b, 0xce, 0x8d, 0xc9, 0x7b, 0x60, 0x1e, 0xf1, 0xea, 0x72, 0xbd, 0xf7, 0xd9, 0x6a, 0x12, 0xa8, 0x77, 0x82, 0xbb, 0x1b, 0x1c, 0x54, 0x7f, 0x85, 0xc5, 0x5c, 0x7b, 0x3f, 0xf0, 0x35,
+ 0x7f, 0x3b, 0xdd, 0x2e, 0x92, 0xae, 0x41, 0x7b, 0x21, 0x43, 0xcc, 0x99, 0x3c, 0x7f, 0xe4, 0x8d, 0x93, 0x63, 0xff, 0xa6, 0x5c, 0x9c, 0xc4, 0x61, 0xb6, 0xa4, 0x07, 0xa7, 0x79, 0x99, 0x81, 0x74,
+ 0x7f, 0x49, 0xcc, 0xb3, 0x09, 0x32, 0x3b, 0x1c, 0x7a, 0xb1, 0x1c, 0x93, 0xc9, 0x55, 0xb8, 0xc7, 0x44, 0xf0, 0xa2, 0xb7, 0x5c, 0x31, 0x1f, 0x49, 0x5e, 0x18, 0x90, 0x60, 0x70, 0x50, 0x00, 0x27,
+ 0x7f, 0x96, 0x02, 0xc1, 0x23, 0xa0, 0x90, 0xbb, 0x0c, 0x4c, 0x3b, 0x69, 0x66, 0x2b, 0xc5, 0x2d, 0x67, 0x5a, 0x0a, 0x4e, 0xd4, 0x44, 0xd1, 0xc1, 0xe0, 0xe2, 0x6c, 0x2b, 0x0d, 0xc3, 0x76, 0x0b,
+ 0x7f, 0x96, 0x47, 0x30, 0xcf, 0xb7, 0xb8, 0xce, 0xa2, 0x84, 0xe2, 0xe8, 0x10, 0x21, 0x2f, 0xf9, 0xb0, 0xee, 0x18, 0x22, 0x7f, 0x64, 0x42, 0x7a, 0x09, 0x5d, 0x68, 0x86, 0x49, 0x3d, 0xb0, 0xc4,
+ 0x7f, 0xc7, 0x19, 0x6e, 0xbb, 0xfa, 0x0d, 0x79, 0x47, 0xde, 0x66, 0xf3, 0x71, 0x58, 0xdf, 0x23, 0x82, 0x1f, 0x15, 0x6f, 0x72, 0x4f, 0xc3, 0xcc, 0x90, 0x6f, 0x16, 0xe8, 0xeb, 0xfa, 0x3e, 0x9f,
+ 0x7f, 0xdd, 0xfe, 0x06, 0xc4, 0x4d, 0xc4, 0x30, 0x2d, 0xa5, 0x45, 0x77, 0x35, 0x3c, 0x18, 0xfd, 0xbe, 0x11, 0xb4, 0x1c, 0xb3, 0xe6, 0x06, 0x4e, 0xc1, 0xc1, 0x16, 0xee, 0x10, 0x2f, 0xe0, 0x80,
+ 0x80, 0x04, 0x23, 0xce, 0xb7, 0xe4, 0x75, 0x96, 0x21, 0xa6, 0x2c, 0x72, 0x9b, 0xab, 0xc8, 0x1f, 0x53, 0x25, 0x9d, 0x95, 0xf7, 0x64, 0x57, 0x22, 0x4a, 0xd6, 0x01, 0x54, 0x2b, 0x7b, 0x26, 0xd4,
+ 0x80, 0x4e, 0x35, 0x4c, 0x63, 0x68, 0xbb, 0x27, 0xa9, 0x0f, 0xae, 0x8e, 0x49, 0x8a, 0x57, 0x05, 0x2b, 0x29, 0x34, 0x18, 0x25, 0x9a, 0x01, 0x9c, 0x4f, 0x53, 0xa2, 0x00, 0x72, 0x54, 0x49, 0x0f,
+ 0x80, 0x55, 0xed, 0xee, 0xb1, 0x85, 0x61, 0x92, 0x7d, 0xd5, 0x95, 0x6b, 0xe9, 0x07, 0x0c, 0x45, 0x03, 0xfe, 0xc7, 0x83, 0xaa, 0x96, 0xf1, 0x66, 0xf5, 0xf9, 0x3f, 0xdb, 0xc3, 0xc2, 0xab, 0x43,
+ 0x80, 0xb4, 0xd9, 0x69, 0x31, 0xbf, 0x0d, 0x02, 0xfd, 0x91, 0xa6, 0x1e, 0x19, 0xd1, 0x4f, 0x1d, 0xa4, 0x52, 0xe6, 0x6d, 0xb2, 0x40, 0x8c, 0xa8, 0x60, 0x4d, 0x41, 0x1f, 0x92, 0x65, 0x9f, 0x0a,
+ 0x81, 0x2e, 0xb0, 0xfa, 0x2d, 0xf1, 0x3a, 0x88, 0x95, 0x49, 0x72, 0x9c, 0xad, 0xbf, 0x17, 0x20, 0xb6, 0x8f, 0x6c, 0x9e, 0x21, 0x95, 0x57, 0x41, 0xb7, 0x28, 0x02, 0x59, 0x0a, 0xf1, 0xb5, 0xca,
+ 0x81, 0x5d, 0x98, 0xae, 0xe4, 0x98, 0xcf, 0x27, 0xfd, 0x66, 0x48, 0xc7, 0xe0, 0x2c, 0xfc, 0x0a, 0x4a, 0x88, 0xaa, 0x73, 0x23, 0x7c, 0xbb, 0x23, 0x52, 0xfe, 0x38, 0x38, 0x4a, 0x72, 0x68, 0x3d,
+ 0x81, 0xa8, 0xb2, 0xc9, 0x75, 0x1a, 0xeb, 0x1f, 0xab, 0xa7, 0xdb, 0xde, 0x5e, 0xe9, 0x69, 0x1d, 0xc0, 0xea, 0xee, 0x2a, 0x31, 0xc3, 0x8b, 0x14, 0x91, 0xa8, 0x14, 0x67, 0x56, 0xa6, 0xb7, 0x70,
+ 0x82, 0x5a, 0xcc, 0xe0, 0x63, 0x4b, 0x91, 0x81, 0x8f, 0x57, 0xce, 0x96, 0xb8, 0x31, 0x4e, 0xce, 0xe7, 0x37, 0x3b, 0xd2, 0x0d, 0xa7, 0x7f, 0xb0, 0x8b, 0x9b, 0x96, 0xd6, 0x6e, 0xb6, 0x51, 0x45,
+ 0x82, 0xac, 0xba, 0x48, 0xd5, 0x23, 0x6c, 0xcf, 0xf7, 0x65, 0x9a, 0xfc, 0x14, 0x59, 0x4d, 0xee, 0x90, 0x2b, 0xd6, 0x08, 0x2e, 0xf1, 0xa3, 0x0a, 0x0b, 0x9b, 0x50, 0x86, 0x28, 0xcf, 0x34, 0xf4,
+ 0x83, 0x58, 0x81, 0xf2, 0xa5, 0x57, 0x2d, 0x70, 0x59, 0xb5, 0xc8, 0x63, 0x50, 0x18, 0x55, 0x28, 0x92, 0xe9, 0x45, 0x62, 0x6f, 0x11, 0x5f, 0xc9, 0xca, 0x07, 0xac, 0xf7, 0xbd, 0xe8, 0x57, 0xa4,
+ 0x83, 0x98, 0x94, 0xed, 0x39, 0x1b, 0x7c, 0x88, 0xe9, 0x95, 0xf8, 0x45, 0xca, 0x15, 0x2f, 0x65, 0xbf, 0x88, 0x18, 0x50, 0xd7, 0x68, 0xe3, 0xef, 0x38, 0x80, 0x83, 0x8b, 0x52, 0x84, 0x6a, 0x74,
+ 0x84, 0xd7, 0x5f, 0x7a, 0x89, 0x13, 0xd6, 0x6d, 0xb9, 0x46, 0xea, 0xf1, 0x48, 0x0e, 0xad, 0xde, 0xc3, 0x06, 0x3d, 0x27, 0xa6, 0xf6, 0x25, 0xf0, 0x40, 0xb4, 0x06, 0x71, 0x8a, 0xbc, 0xac, 0x44,
+ 0x85, 0x25, 0x57, 0x00, 0x89, 0x09, 0x31, 0xc5, 0xb7, 0x1a, 0x73, 0xdf, 0xf0, 0x9e, 0xa5, 0x12, 0x5c, 0xd7, 0x02, 0xea, 0x65, 0xf4, 0x5b, 0x40, 0x54, 0xc1, 0x46, 0x3e, 0x00, 0x17, 0x3f, 0xdc,
+ 0x86, 0xe9, 0x38, 0x4c, 0x41, 0xf9, 0x33, 0x9d, 0x9b, 0x0f, 0x80, 0xb4, 0x80, 0x55, 0xd0, 0x2b, 0xe5, 0xff, 0x90, 0x88, 0x60, 0xf2, 0xce, 0xf6, 0x33, 0x59, 0xe0, 0xd8, 0xb7, 0x93, 0x7a, 0x27,
+ 0x87, 0x17, 0x6a, 0x15, 0xe7, 0x66, 0xbd, 0x06, 0x52, 0x8e, 0xd9, 0x1a, 0x61, 0x48, 0x1c, 0x3b, 0x3c, 0xde, 0x65, 0xee, 0x95, 0x11, 0x54, 0x03, 0xf9, 0xff, 0xc6, 0xd3, 0xa2, 0x6d, 0x43, 0xd0,
+ 0x88, 0x06, 0xcf, 0x0c, 0x7b, 0xd5, 0xdf, 0x7e, 0x01, 0xd1, 0x20, 0xf5, 0x67, 0x34, 0x11, 0x3b, 0xe9, 0x16, 0xe1, 0x83, 0x75, 0x55, 0x77, 0xbd, 0x48, 0x02, 0x6c, 0x25, 0xdb, 0x26, 0x86, 0x80,
+ 0x88, 0x10, 0xb3, 0x70, 0x03, 0xe7, 0xcd, 0xda, 0x02, 0x66, 0x63, 0x96, 0x8a, 0xa9, 0xe1, 0xb9, 0xcc, 0xcc, 0x96, 0xee, 0xd9, 0x85, 0x28, 0xcf, 0x5a, 0x97, 0x5b, 0xde, 0x7b, 0x80, 0x84, 0xb7,
+ 0x89, 0x4d, 0x78, 0x39, 0x36, 0x8f, 0x32, 0x98, 0xcc, 0x91, 0x5a, 0xe8, 0x74, 0x2e, 0xf3, 0x30, 0xd7, 0xa2, 0x66, 0x99, 0xf4, 0x59, 0x47, 0x8c, 0xf2, 0x2c, 0x2b, 0x6b, 0xb2, 0x85, 0x01, 0x66,
+ 0x89, 0xf3, 0xd1, 0xf6, 0xe4, 0x85, 0xc3, 0x34, 0xcd, 0x05, 0x9d, 0x09, 0x95, 0xe3, 0xcd, 0xfd, 0xc0, 0x05, 0x71, 0xb1, 0x84, 0x98, 0x54, 0x84, 0x7a, 0x44, 0xdc, 0x55, 0x48, 0xe2, 0xdc, 0xfb,
+ 0x8a, 0x03, 0x96, 0x0b, 0xde, 0xa6, 0xa4, 0x95, 0x3a, 0xc5, 0x0a, 0x2b, 0xbf, 0x93, 0x17, 0xbe, 0x22, 0x8c, 0x2e, 0xbb, 0xc2, 0x99, 0xe1, 0xe9, 0x0c, 0xc7, 0xc6, 0xeb, 0x18, 0xf4, 0x3b, 0x94,
+ 0x8a, 0x30, 0x5c, 0x5f, 0xbe, 0x7c, 0x56, 0xf9, 0xe3, 0x21, 0x4d, 0x7a, 0xdb, 0x8f, 0x17, 0x63, 0x41, 0xf4, 0x02, 0x0f, 0x23, 0x4f, 0x3c, 0x14, 0xe5, 0x23, 0x35, 0x96, 0x7a, 0x2d, 0x36, 0x5f,
+ 0x8a, 0xa5, 0x09, 0xfb, 0x46, 0x1c, 0x09, 0x9a, 0x3c, 0x1b, 0x80, 0x6d, 0x28, 0x1a, 0x1e, 0x12, 0x75, 0x77, 0x1e, 0xda, 0x0b, 0x0e, 0x3f, 0x7d, 0x95, 0xe0, 0xc1, 0x1b, 0x3c, 0x17, 0x34, 0xeb,
+ 0x8c, 0x03, 0x49, 0xd7, 0x08, 0x57, 0x1a, 0xe5, 0xaa, 0x21, 0xc1, 0x13, 0x63, 0x48, 0x23, 0x32, 0x07, 0x32, 0x97, 0xd8, 0x68, 0xf2, 0x90, 0x58, 0x91, 0x65, 0x29, 0xef, 0xc5, 0x20, 0xef, 0x70,
+ 0x8c, 0xb4, 0xfd, 0xae, 0x88, 0xf4, 0xf4, 0x92, 0xac, 0x6c, 0x87, 0x71, 0x66, 0x02, 0x36, 0x6d, 0xf1, 0xac, 0x84, 0x22, 0x4b, 0x85, 0xab, 0x2d, 0x39, 0x49, 0xf5, 0xae, 0xe7, 0x9c, 0xef, 0xeb,
+ 0x8d, 0x53, 0x32, 0xb3, 0x50, 0x57, 0x7a, 0xb7, 0xb1, 0x98, 0x7f, 0x93, 0xfd, 0xa1, 0x04, 0xb2, 0x09, 0x0f, 0x6a, 0x62, 0xe2, 0x62, 0x21, 0x42, 0x64, 0xf5, 0x54, 0xb6, 0x16, 0x3e, 0x80, 0x50,
+ 0x8d, 0x93, 0xd6, 0x0c, 0x69, 0x19, 0x59, 0x65, 0x14, 0x76, 0xe5, 0xdc, 0x46, 0x4b, 0xe1, 0x2a, 0x85, 0xfa, 0x52, 0x80, 0xb6, 0xf5, 0x24, 0xd4, 0xa1, 0xc3, 0xfc, 0xc9, 0xd0, 0x48, 0xcf, 0xad,
+ 0x8e, 0x53, 0xef, 0xdc, 0x15, 0xf8, 0x52, 0xce, 0xe5, 0xa6, 0xe9, 0x29, 0x31, 0xbc, 0x42, 0xe6, 0x16, 0x3c, 0xd3, 0x0f, 0xf6, 0x49, 0xcc, 0xa7, 0xe8, 0x72, 0x52, 0xc3, 0xa4, 0x59, 0x96, 0x0b,
+ 0x8e, 0xc2, 0x54, 0x0c, 0xed, 0xdd, 0x59, 0x2e, 0x61, 0x6a, 0xf4, 0x38, 0x6d, 0xa9, 0xea, 0xf7, 0x68, 0x55, 0xef, 0x0a, 0x79, 0x2e, 0x26, 0xfc, 0x14, 0x9b, 0x32, 0xe9, 0x51, 0xd7, 0x6c, 0x85,
+ 0x8e, 0xd8, 0xaa, 0x03, 0x19, 0x9d, 0xe7, 0xd5, 0x41, 0xcc, 0xbb, 0x30, 0x09, 0xa2, 0xb1, 0xff, 0x57, 0x52, 0x19, 0x66, 0x2d, 0x8b, 0x23, 0xfb, 0xa7, 0xfd, 0xff, 0x02, 0xd8, 0x0a, 0xbd, 0x29,
+ 0x8e, 0xde, 0x77, 0x32, 0x28, 0x4d, 0xab, 0x4a, 0xa3, 0x84, 0x60, 0x6c, 0xa0, 0x7b, 0xe2, 0x9e, 0x72, 0xfd, 0xed, 0x09, 0x45, 0x97, 0x26, 0x1a, 0x2f, 0x64, 0x73, 0x49, 0x4a, 0x8a, 0xca, 0x0a,
+ 0x8f, 0xdb, 0x08, 0x51, 0xb7, 0x63, 0x9b, 0x32, 0x93, 0x01, 0x9b, 0xf0, 0xa8, 0xdb, 0xd6, 0xb7, 0xdd, 0x57, 0x91, 0x0a, 0xc0, 0xcc, 0x02, 0x24, 0x85, 0x2c, 0x33, 0x81, 0x88, 0x0f, 0x2a, 0x45,
+ 0x90, 0x63, 0xf5, 0xfb, 0xc5, 0xe5, 0x7a, 0xb6, 0xde, 0x6c, 0x94, 0x88, 0x14, 0x60, 0x20, 0xe1, 0x72, 0xb1, 0x76, 0xd5, 0xab, 0x57, 0xd4, 0xc8, 0x9f, 0x0f, 0x60, 0x0e, 0x17, 0xfe, 0x2d, 0xe2,
+ 0x90, 0xa4, 0x83, 0x52, 0x6b, 0x42, 0x38, 0xc5, 0x5b, 0xc5, 0xde, 0xd2, 0x89, 0xd7, 0xc1, 0xd3, 0x76, 0x10, 0x9b, 0x9d, 0x5f, 0x3e, 0x93, 0x52, 0x9e, 0xda, 0x75, 0xc4, 0xd4, 0x51, 0x52, 0x3a,
+ 0x90, 0xae, 0xc5, 0xc4, 0x99, 0x56, 0x74, 0xa8, 0x49, 0xc1, 0xd1, 0x38, 0x44, 0x63, 0xf3, 0xb0, 0x2b, 0x5a, 0xa6, 0x25, 0xa5, 0xc3, 0x20, 0xfc, 0x4f, 0xe7, 0xd9, 0xbb, 0x58, 0xa6, 0x23, 0x98,
+ 0x91, 0x41, 0xea, 0x1a, 0x4e, 0x6b, 0xf1, 0xf4, 0xd7, 0x2c, 0x28, 0xa1, 0xd0, 0xd1, 0x24, 0xa9, 0x28, 0xd5, 0xa7, 0xd3, 0x6b, 0x14, 0xfc, 0x7e, 0x7e, 0x53, 0xef, 0x44, 0x23, 0x60, 0xff, 0x99,
+ 0x91, 0x50, 0x09, 0xd1, 0xcf, 0x9d, 0x68, 0xb9, 0xe5, 0x30, 0x64, 0xde, 0x82, 0xd4, 0xb7, 0x0b, 0x58, 0xd2, 0xf0, 0x14, 0xa0, 0x38, 0x05, 0xcc, 0x40, 0x64, 0x27, 0xd3, 0x23, 0xd9, 0xfc, 0x35,
+ 0x91, 0x65, 0x6a, 0xa4, 0xef, 0x49, 0x3b, 0x38, 0x24, 0xa0, 0xb7, 0x26, 0x32, 0x48, 0xe4, 0xe2, 0xd6, 0x57, 0xa5, 0xc8, 0x48, 0x8d, 0x88, 0x0c, 0xb6, 0x5b, 0x01, 0x73, 0x09, 0x32, 0xfb, 0x53,
+ 0x91, 0x72, 0x1a, 0xa7, 0x62, 0x66, 0xb5, 0xbb, 0x2f, 0x80, 0x09, 0xf1, 0x18, 0x85, 0x10, 0xa3, 0x6e, 0x54, 0xaf, 0xd5, 0x6e, 0x96, 0x73, 0x87, 0xea, 0x7d, 0x0b, 0x11, 0x4d, 0x78, 0x20, 0x89,
+ 0x91, 0x97, 0x1c, 0x14, 0x97, 0xbf, 0x8e, 0x5b, 0xc6, 0x84, 0x39, 0xac, 0xc4, 0x8d, 0x63, 0xeb, 0xb8, 0xfa, 0xab, 0xfd, 0x76, 0x4d, 0xcb, 0xe8, 0x2f, 0x3b, 0xa9, 0x77, 0xca, 0xc8, 0xcf, 0x6a,
+ 0x91, 0xd5, 0x6d, 0x76, 0x5b, 0x02, 0x0b, 0x99, 0xb7, 0x71, 0x65, 0x82, 0xe3, 0xc3, 0x80, 0x14, 0x7f, 0xf0, 0xac, 0xdd, 0xf6, 0x3b, 0xb0, 0x9a, 0xcd, 0xed, 0x0c, 0x02, 0x49, 0xe5, 0xcc, 0x8c,
+ 0x92, 0x18, 0x5c, 0x26, 0x42, 0x85, 0x74, 0x1f, 0xa7, 0xf1, 0x98, 0xca, 0xd8, 0xf3, 0x07, 0xc6, 0x08, 0x91, 0xad, 0x93, 0x2d, 0x9e, 0x3c, 0x2a, 0x08, 0xd9, 0x25, 0x46, 0xff, 0x70, 0x99, 0xed,
+ 0x92, 0xf8, 0x58, 0xf6, 0xa0, 0x2b, 0xd2, 0x01, 0x46, 0x18, 0xb0, 0x5d, 0x77, 0x59, 0xe3, 0x4e, 0x77, 0x81, 0xb1, 0x5c, 0x34, 0xc8, 0x81, 0x4b, 0xa4, 0xc9, 0x30, 0xb3, 0x20, 0xf8, 0xdb, 0x09,
+ 0x93, 0x35, 0xc9, 0xdd, 0x70, 0x01, 0xa2, 0xec, 0x4e, 0x32, 0x2a, 0xb6, 0xa2, 0xd1, 0x1e, 0x6c, 0x4c, 0xd4, 0xef, 0x16, 0x44, 0xc0, 0x0d, 0x63, 0x14, 0xb7, 0xba, 0x5a, 0x26, 0xf9, 0xeb, 0x7d,
+ 0x93, 0xf5, 0x23, 0x3e, 0x99, 0x70, 0xa7, 0xdb, 0x1e, 0x4c, 0x9a, 0xa2, 0xde, 0x24, 0x04, 0x63, 0x67, 0x28, 0xe7, 0xc6, 0x6c, 0x03, 0xf2, 0xbb, 0xe7, 0x4b, 0x18, 0xb2, 0x0a, 0x93, 0xba, 0x96,
+ 0x94, 0x14, 0xf5, 0xfa, 0x58, 0x53, 0x97, 0x8c, 0x07, 0xfc, 0x6b, 0xb1, 0x7a, 0x1c, 0xa9, 0x46, 0x0f, 0xe4, 0x43, 0xff, 0xca, 0x02, 0x1f, 0xa5, 0x2c, 0x86, 0x72, 0xa9, 0x44, 0x60, 0xf4, 0x4f,
+ 0x94, 0x1a, 0x51, 0x23, 0x9e, 0xd4, 0x16, 0xa7, 0x88, 0xb5, 0x05, 0x9d, 0xd6, 0x47, 0x63, 0x1b, 0x16, 0xe5, 0x06, 0xc8, 0xf6, 0xad, 0x87, 0xb1, 0xd5, 0xf3, 0xb8, 0xc9, 0x71, 0x99, 0xa1, 0x60,
+ 0x94, 0x70, 0x78, 0xf9, 0x7c, 0x61, 0x96, 0x96, 0x8c, 0x3a, 0xe9, 0x9c, 0x9a, 0x5d, 0x58, 0x66, 0x7e, 0x86, 0x88, 0x2c, 0xf6, 0xc8, 0xc9, 0xd5, 0x89, 0x67, 0xa4, 0x96, 0xbb, 0x7a, 0xf4, 0x3c,
+ 0x95, 0x04, 0x9f, 0x0e, 0x41, 0x37, 0xc7, 0x90, 0xb0, 0xd2, 0x76, 0x71, 0x95, 0xe5, 0x6f, 0x73, 0x80, 0x7d, 0x12, 0x3a, 0xdc, 0xf8, 0xf6, 0xe7, 0xbf, 0x2d, 0x4d, 0x99, 0x1d, 0x30, 0x5f, 0x89,
+ 0x95, 0x8c, 0x0d, 0xb6, 0x51, 0xf4, 0xe4, 0xcc, 0xd0, 0x62, 0x44, 0x62, 0x63, 0x61, 0x8c, 0x87, 0x79, 0x10, 0xe0, 0x82, 0x57, 0xec, 0x6d, 0x9b, 0xcd, 0xd8, 0xbf, 0x1e, 0x33, 0x13, 0x4f, 0xfb,
+ 0x96, 0xe4, 0x50, 0x94, 0x50, 0xd3, 0x80, 0xda, 0xc3, 0x62, 0xff, 0x8e, 0x29, 0x55, 0x89, 0x12, 0x8a, 0x1f, 0x1c, 0xe5, 0x58, 0x85, 0xd2, 0x0d, 0x89, 0xc2, 0x7b, 0xa2, 0xa9, 0xd0, 0x09, 0x09,
+ 0x97, 0x83, 0xb5, 0xee, 0x44, 0x92, 0xe9, 0xe8, 0x91, 0xc6, 0x55, 0xf1, 0xf4, 0x80, 0x35, 0x95, 0x9d, 0xad, 0x45, 0x3c, 0x0e, 0x62, 0x3a, 0xf0, 0xfe, 0x7b, 0xf2, 0xc0, 0xa5, 0x78, 0x85, 0xe3,
+ 0x97, 0xa5, 0x1a, 0x09, 0x44, 0x44, 0x62, 0x0d, 0xf3, 0x8c, 0xd8, 0xc6, 0x51, 0x2c, 0xac, 0x90, 0x9a, 0x75, 0xfd, 0x43, 0x7a, 0xe1, 0xe4, 0xd2, 0x29, 0x29, 0x80, 0x76, 0x61, 0x23, 0x81, 0x27,
+ 0x97, 0xa8, 0xc5, 0xba, 0x11, 0xd6, 0x1f, 0xef, 0xbb, 0x5d, 0x6a, 0x05, 0xda, 0x4e, 0x15, 0xba, 0x47, 0x2d, 0xc4, 0xc6, 0xcd, 0x49, 0x72, 0xfc, 0x1a, 0x03, 0x5d, 0xe3, 0x21, 0x34, 0x2f, 0xe4,
+ 0x98, 0xcc, 0x8b, 0x91, 0xfe, 0xc5, 0x25, 0x2f, 0x62, 0xe8, 0x18, 0x43, 0xd9, 0xd5, 0xd8, 0xac, 0x2a, 0x2f, 0x25, 0x3a, 0xa3, 0x81, 0x52, 0xb3, 0x23, 0x6a, 0x50, 0x92, 0x20, 0x0e, 0xd2, 0x90,
+ 0x99, 0x28, 0x20, 0xe6, 0xec, 0x8c, 0x41, 0xda, 0xae, 0x4b, 0xd8, 0xab, 0x48, 0xf5, 0x82, 0x68, 0xe9, 0x43, 0xa6, 0x70, 0xd3, 0x5c, 0xa5, 0xe2, 0xbd, 0xcd, 0x3e, 0x7c, 0x4c, 0x94, 0xa0, 0x72,
+ 0x99, 0x2d, 0x35, 0x9a, 0xa7, 0xa5, 0xf7, 0x89, 0xd2, 0x68, 0xb9, 0x4c, 0x11, 0xb9, 0x48, 0x5a, 0x6b, 0x1c, 0xe6, 0x43, 0x62, 0xb0, 0xed, 0xb4, 0x44, 0x1c, 0xcc, 0x18, 0x7c, 0x39, 0x64, 0x7b,
+ 0x99, 0x54, 0xa1, 0xa9, 0x9d, 0x55, 0xe8, 0xb1, 0x89, 0xab, 0x1b, 0xca, 0x41, 0x4b, 0x91, 0xf6, 0xa0, 0x17, 0x19, 0x1f, 0x6c, 0x40, 0xa8, 0x6b, 0x6f, 0x3e, 0xf3, 0x68, 0xdd, 0x86, 0x00, 0x31,
+ 0x99, 0x59, 0xed, 0x4e, 0x05, 0xe5, 0x48, 0xb5, 0x9f, 0x21, 0x93, 0x08, 0xa4, 0x55, 0x63, 0xea, 0x85, 0xbb, 0x22, 0x4c, 0x1a, 0xd9, 0x6d, 0xec, 0x0e, 0x96, 0xc0, 0xe7, 0x1f, 0xfc, 0xcd, 0x81,
+ 0x99, 0x6c, 0x1d, 0x55, 0x95, 0x5d, 0xfb, 0x36, 0x98, 0x86, 0x9b, 0xdc, 0x2a, 0x70, 0x0e, 0x6b, 0xcc, 0x76, 0x24, 0x68, 0x71, 0x6b, 0x5c, 0xbd, 0xa7, 0x29, 0x5c, 0xf9, 0x88, 0x41, 0x22, 0x0a,
+ 0x99, 0xb2, 0xbd, 0x1f, 0xcf, 0x17, 0xb5, 0x2c, 0x64, 0xe8, 0x50, 0x6b, 0x97, 0xfa, 0x10, 0xcf, 0x8b, 0x63, 0x97, 0xc9, 0xd0, 0x5d, 0x8d, 0x54, 0x3f, 0x86, 0x89, 0x3b, 0x21, 0x0d, 0xba, 0x62,
+ 0x99, 0xd7, 0xad, 0xa0, 0xd6, 0x7e, 0x52, 0x33, 0x10, 0x8d, 0xbd, 0x76, 0x70, 0x2f, 0x4b, 0x16, 0x80, 0x87, 0xcf, 0xc4, 0xec, 0x65, 0x49, 0x4d, 0x6c, 0xa8, 0xab, 0xa8, 0x58, 0xfe, 0xba, 0xda,
+ 0x9a, 0x22, 0x81, 0x8e, 0x84, 0xca, 0x5c, 0xde, 0xc6, 0xf7, 0xfd, 0xf0, 0xa1, 0x0b, 0x9f, 0xf2, 0x30, 0xa5, 0x3a, 0x5c, 0x18, 0xf4, 0xe9, 0x17, 0x9c, 0x90, 0xa3, 0xfd, 0x26, 0x8c, 0xd6, 0x22,
+ 0x9a, 0xf9, 0x25, 0x41, 0xe6, 0x3e, 0xac, 0xbc, 0x57, 0x84, 0xbb, 0x44, 0xdb, 0x66, 0xf9, 0xb6, 0x07, 0x26, 0x17, 0x4f, 0x4e, 0xc1, 0x78, 0xc6, 0xce, 0x32, 0xea, 0xf6, 0x47, 0xee, 0xbc, 0xa2,
+ 0x9b, 0xaf, 0x4f, 0x76, 0xd7, 0x6b, 0xf5, 0xd6, 0xa8, 0x97, 0xbf, 0xbd, 0x5f, 0x42, 0x9b, 0xa1, 0x4d, 0x04, 0xe0, 0x8b, 0x48, 0xc3, 0xee, 0x8d, 0x76, 0x93, 0x0a, 0x82, 0x8f, 0xff, 0x38, 0x91,
+ 0x9c, 0x25, 0x9f, 0xcb, 0x30, 0x1d, 0x5f, 0xc7, 0x39, 0x7e, 0xd5, 0x75, 0x99, 0x63, 0xe0, 0xef, 0x6b, 0x36, 0xe4, 0x20, 0x57, 0xfd, 0x73, 0x04, 0x6e, 0x6b, 0xd0, 0x8b, 0x14, 0x9f, 0x75, 0x1c,
+ 0x9d, 0x00, 0xae, 0x4c, 0xd4, 0x7a, 0x41, 0xc7, 0x83, 0xdc, 0x48, 0xf3, 0x42, 0xc0, 0x76, 0xc2, 0xc1, 0x6f, 0x34, 0x13, 0xf4, 0xd2, 0xdf, 0x50, 0xd1, 0x81, 0xca, 0x3b, 0xb5, 0xad, 0x85, 0x9d,
+ 0x9d, 0xd2, 0xdc, 0xb7, 0x2f, 0x5e, 0x74, 0x16, 0x27, 0xf2, 0xe9, 0xe0, 0x3a, 0xb1, 0x85, 0x03, 0xa3, 0x40, 0x3c, 0xf6, 0xa9, 0x04, 0xa4, 0x79, 0xa4, 0xdb, 0x05, 0xd9, 0x7e, 0x22, 0x50, 0xa9,
+ 0x9d, 0xeb, 0xca, 0x15, 0x9f, 0x78, 0x92, 0xd5, 0x6c, 0x94, 0x61, 0x4c, 0x46, 0x9c, 0xf3, 0x7c, 0x8d, 0xa0, 0x35, 0x68, 0x3b, 0x12, 0x51, 0xfc, 0x4e, 0x6e, 0xc0, 0xef, 0x2e, 0xee, 0x72, 0x0e,
+ 0x9e, 0x08, 0x46, 0x4c, 0xef, 0x99, 0x31, 0x47, 0x3c, 0x38, 0x4d, 0xb7, 0x72, 0x78, 0x99, 0x7a, 0xe9, 0x2d, 0x50, 0x36, 0x8c, 0x8d, 0x2b, 0x9d, 0x6a, 0xea, 0x6e, 0x33, 0x23, 0xa2, 0xbb, 0xe7,
+ 0x9e, 0x0d, 0x90, 0x74, 0xf1, 0x46, 0x46, 0x1f, 0x9a, 0xce, 0xe7, 0xd2, 0x7f, 0x2c, 0x7d, 0xd8, 0xbe, 0xe7, 0x3e, 0xb6, 0x2a, 0xc6, 0x2c, 0xf8, 0x7f, 0x03, 0xbe, 0xe0, 0xc4, 0x51, 0x65, 0x28,
+ 0x9e, 0xbd, 0xa9, 0x55, 0x4a, 0xd5, 0xbb, 0x9e, 0x3d, 0x5c, 0xe7, 0x00, 0xf7, 0xc8, 0x6d, 0x4f, 0x5b, 0x0d, 0x78, 0x2b, 0xf1, 0xdb, 0xf3, 0x0a, 0x6a, 0x72, 0x34, 0x74, 0x9a, 0x5d, 0xd5, 0x17,
+ 0x9e, 0xd3, 0x3f, 0x0f, 0xbc, 0x18, 0x0b, 0xc0, 0x32, 0xf8, 0x90, 0x9c, 0xa2, 0xc4, 0xab, 0x34, 0x18, 0xed, 0xc3, 0x3a, 0x45, 0xa5, 0x0d, 0x25, 0x21, 0xa3, 0xb5, 0x87, 0x6a, 0xa3, 0xea, 0x2c,
+ 0x9f, 0x13, 0x6f, 0x15, 0x2a, 0x21, 0x88, 0x5d, 0x57, 0x45, 0x19, 0x55, 0x4c, 0x7b, 0x64, 0xc1, 0x5f, 0x01, 0x4e, 0x41, 0x3c, 0xde, 0x6a, 0xd1, 0x60, 0xf2, 0x09, 0x1e, 0xba, 0x9e, 0x64, 0x24,
+ 0x9f, 0x18, 0x63, 0xed, 0x57, 0x17, 0xc3, 0x94, 0xb4, 0x2e, 0xf1, 0x0a, 0x66, 0x07, 0xb1, 0x44, 0xa6, 0x5b, 0xa1, 0x1f, 0xb6, 0x57, 0x9d, 0xf9, 0x4b, 0x8e, 0xb2, 0xf0, 0xc4, 0xcd, 0x60, 0xc1,
+ 0x9f, 0x2b, 0x71, 0xec, 0x2f, 0xec, 0xc9, 0x3e, 0x4e, 0xde, 0xae, 0x24, 0xb3, 0x2f, 0x88, 0x57, 0xfa, 0x36, 0xa8, 0x1a, 0x72, 0x72, 0xde, 0xfd, 0x54, 0x35, 0xd2, 0x9f, 0xa3, 0xbf, 0x82, 0x8e,
+ 0x9f, 0xa4, 0xd5, 0x02, 0x3f, 0xd4, 0x3e, 0xca, 0xff, 0x42, 0x00, 0xba, 0x7e, 0x8d, 0x43, 0x53, 0x25, 0x9d, 0x2b, 0x7e, 0x5e, 0x72, 0xb5, 0x09, 0x6e, 0xff, 0x80, 0x27, 0xd6, 0x6d, 0x10, 0x43,
+ 0xa0, 0x10, 0x7a, 0x56, 0x4e, 0x93, 0x98, 0x9c, 0x57, 0x04, 0x4f, 0xd1, 0x8a, 0xa8, 0x5b, 0xeb, 0x12, 0x58, 0x10, 0x1a, 0xc3, 0xd9, 0xf6, 0xe1, 0x0b, 0xf1, 0x2c, 0x1c, 0x65, 0x73, 0xbc, 0x2b,
+ 0xa1, 0x09, 0xe7, 0x1a, 0xe3, 0xa0, 0x37, 0x6c, 0xa0, 0x05, 0x9a, 0x42, 0x12, 0x50, 0x50, 0x8e, 0xdb, 0x2b, 0xb6, 0x24, 0xb6, 0x51, 0x7a, 0x29, 0x1f, 0x51, 0xe2, 0x49, 0xf1, 0x6b, 0x5c, 0xe7,
+ 0xa1, 0xa5, 0x9c, 0xc2, 0x78, 0x42, 0x46, 0xad, 0x69, 0x3b, 0x1d, 0xf1, 0x51, 0x45, 0x46, 0x42, 0x32, 0x4e, 0x89, 0xc8, 0x98, 0x56, 0x6a, 0x59, 0x90, 0x68, 0x91, 0xf4, 0x80, 0x89, 0xec, 0xe9,
+ 0xa2, 0x24, 0x71, 0xb1, 0xd0, 0x4c, 0x11, 0xca, 0x89, 0x5e, 0x8c, 0x07, 0x8c, 0x22, 0x17, 0x18, 0xc9, 0x6c, 0x40, 0x30, 0x9d, 0x64, 0xcf, 0x84, 0x14, 0x47, 0x59, 0xca, 0x7d, 0xfb, 0xd0, 0xd0,
+ 0xa3, 0x30, 0xfd, 0xe6, 0x5c, 0x06, 0x7a, 0x5f, 0x0b, 0x75, 0xc8, 0x0d, 0x0a, 0x30, 0x07, 0x67, 0xc3, 0x01, 0xeb, 0x75, 0xe0, 0xcf, 0x9b, 0x4e, 0xe2, 0x40, 0xf0, 0xd6, 0x0b, 0x3d, 0xc5, 0x03,
+ 0xa3, 0x72, 0xda, 0x66, 0xe1, 0x5d, 0x45, 0x6d, 0xc4, 0x20, 0x0b, 0xd3, 0x90, 0x8e, 0x09, 0x43, 0xba, 0x4e, 0xaf, 0x86, 0x4f, 0x7a, 0x35, 0x06, 0x2b, 0x6b, 0x17, 0x04, 0x32, 0x0d, 0x09, 0x0a,
+ 0xa4, 0x8b, 0x5e, 0x31, 0x47, 0x7d, 0xa2, 0x48, 0x68, 0x0a, 0x89, 0x35, 0xd1, 0xe5, 0xe6, 0x30, 0xe6, 0xfd, 0xe2, 0x22, 0x77, 0xf9, 0x63, 0x5d, 0xa7, 0xd6, 0xf7, 0xf9, 0xaa, 0x17, 0xe3, 0x4a,
+ 0xa4, 0xb3, 0xfe, 0xe3, 0x24, 0xd2, 0x5c, 0x53, 0xfb, 0x5c, 0xb4, 0x86, 0x30, 0xdc, 0x80, 0xdd, 0x7e, 0xe7, 0x8c, 0x1a, 0xac, 0x8c, 0x8d, 0xee, 0xa9, 0x27, 0x39, 0x69, 0x97, 0xe3, 0x3b, 0xce,
+ 0xa4, 0xd9, 0x78, 0xb7, 0xc4, 0xbd, 0xa1, 0x54, 0x35, 0xd5, 0x08, 0xf8, 0xb9, 0x59, 0x2e, 0xc2, 0xa5, 0xad, 0xfb, 0x12, 0xea, 0x7b, 0xad, 0x14, 0x6a, 0x35, 0xec, 0xb5, 0x30, 0x94, 0x64, 0x2f,
+ 0xa5, 0xbc, 0xfc, 0x74, 0x8d, 0xa4, 0x15, 0xbd, 0x7f, 0x00, 0xb6, 0x69, 0xe1, 0x23, 0x7c, 0x98, 0x98, 0xa6, 0xd0, 0x35, 0x17, 0xcc, 0x80, 0xb3, 0x62, 0x6f, 0x0b, 0xe3, 0x26, 0x04, 0x6b, 0x28,
+ 0xa5, 0xe0, 0xc1, 0xc1, 0xfd, 0xeb, 0xe6, 0x1c, 0x4d, 0xdb, 0xb6, 0x6c, 0x57, 0xeb, 0x23, 0xbc, 0xaa, 0x86, 0xc3, 0x6b, 0xab, 0x99, 0x00, 0xad, 0x10, 0x34, 0x2a, 0x49, 0x71, 0x12, 0x8e, 0xac,
+ 0xa5, 0xe4, 0x76, 0xc4, 0xba, 0x2e, 0xd8, 0xef, 0x8c, 0x30, 0xf2, 0x47, 0xf3, 0xe1, 0x3a, 0xfa, 0x5c, 0x7e, 0x3a, 0x5a, 0x95, 0x2e, 0x4b, 0x83, 0x25, 0xc2, 0x2f, 0x33, 0xf7, 0xf2, 0x36, 0x21,
+ 0xa6, 0x08, 0xa8, 0x7f, 0x51, 0xbd, 0xf7, 0x53, 0x2b, 0x4b, 0x80, 0xfa, 0x95, 0xea, 0xdf, 0xdf, 0x1b, 0xf8, 0xb0, 0xcb, 0xb5, 0x8a, 0x7d, 0x39, 0x39, 0xc9, 0xf1, 0x1c, 0x12, 0xe7, 0x1c, 0x85,
+ 0xa6, 0xf1, 0x3f, 0x3b, 0xb8, 0x13, 0x2d, 0x24, 0x85, 0x91, 0xf6, 0x76, 0x2c, 0xed, 0x6d, 0x3a, 0x55, 0xef, 0xd8, 0x81, 0x2d, 0xb9, 0x73, 0x04, 0x49, 0xe2, 0x67, 0xcb, 0x64, 0x47, 0x14, 0x5b,
+ 0xa7, 0xb7, 0x88, 0xa7, 0x84, 0x96, 0x07, 0x34, 0x8c, 0x0d, 0xe9, 0x04, 0x19, 0x89, 0xf7, 0xd6, 0x7e, 0xc3, 0x02, 0xf0, 0xce, 0x8d, 0x7f, 0xde, 0x5e, 0x43, 0x48, 0x01, 0xf0, 0x12, 0xb5, 0xb1,
+ 0xa7, 0xdf, 0xcc, 0x3a, 0x8d, 0x6a, 0xb3, 0x0f, 0x93, 0xf3, 0x17, 0x48, 0xdb, 0xc8, 0xea, 0x38, 0x41, 0x5c, 0xf5, 0x2b, 0xb9, 0xad, 0x80, 0x85, 0x67, 0x2c, 0xd9, 0xab, 0x89, 0x38, 0xd5, 0xde,
+ 0xa8, 0xa3, 0x30, 0x0e, 0x33, 0xa0, 0xa2, 0x69, 0x28, 0x39, 0xcc, 0xba, 0x84, 0x80, 0x3c, 0x5e, 0x74, 0x2d, 0x12, 0x50, 0x1b, 0x6d, 0x58, 0xc4, 0x6e, 0xb8, 0x7f, 0x32, 0x01, 0x7f, 0x2c, 0xff,
+ 0xa9, 0x24, 0xd3, 0xca, 0xd6, 0xda, 0x42, 0xb7, 0x39, 0x9b, 0x96, 0xa0, 0x95, 0xa0, 0x6f, 0x18, 0xf6, 0xb1, 0xab, 0xa5, 0xb8, 0x73, 0xb0, 0xd5, 0xf3, 0xa0, 0xee, 0x21, 0x73, 0xb4, 0x8b, 0x6c,
+ 0xa9, 0x83, 0xe7, 0x3e, 0x57, 0xbd, 0xf0, 0x14, 0xc9, 0xa2, 0x93, 0x31, 0x29, 0x0e, 0xe8, 0x7d, 0xf3, 0x7f, 0x97, 0xc8, 0x1d, 0xbc, 0xc4, 0x3c, 0x6c, 0x93, 0x3f, 0xe2, 0x20, 0x9c, 0x0b, 0xd5,
+ 0xa9, 0xce, 0x29, 0x69, 0xa8, 0x39, 0x82, 0xf8, 0x0b, 0x6b, 0x26, 0x85, 0x56, 0x8a, 0x7d, 0x6f, 0x8e, 0x58, 0xbc, 0xb5, 0xfa, 0xba, 0xa2, 0xf8, 0x16, 0x80, 0x92, 0x17, 0x55, 0x18, 0xa0, 0xc9,
+ 0xab, 0x31, 0x1e, 0x73, 0x71, 0x12, 0xe4, 0xd3, 0x4a, 0xbf, 0x54, 0x58, 0x36, 0xbc, 0x67, 0x16, 0x37, 0x66, 0x3e, 0x93, 0x73, 0x8c, 0xef, 0xa3, 0x74, 0x05, 0x21, 0x4c, 0xe8, 0xc9, 0x2a, 0x58,
+ 0xab, 0xee, 0x52, 0x28, 0x92, 0xfa, 0x10, 0xb2, 0x22, 0x08, 0xb4, 0xd1, 0x54, 0x01, 0x84, 0x61, 0x7b, 0xc9, 0x87, 0x5c, 0x9e, 0x03, 0xe5, 0x35, 0x3b, 0x4f, 0xf4, 0x76, 0x57, 0x7d, 0x91, 0x8b,
+ 0xad, 0x16, 0xde, 0x1e, 0x2b, 0xa2, 0x71, 0x96, 0x39, 0x51, 0x24, 0x68, 0x3b, 0x80, 0xef, 0xc1, 0x86, 0xee, 0x7e, 0x51, 0xd4, 0x34, 0xf8, 0xff, 0x67, 0xd9, 0x73, 0xf4, 0x6e, 0x8e, 0x60, 0x2f,
+ 0xad, 0x3b, 0xe5, 0x89, 0xc0, 0x47, 0x4e, 0x97, 0xde, 0x5b, 0xb2, 0xbf, 0x33, 0x53, 0x49, 0x48, 0xb7, 0x6b, 0xb8, 0x03, 0x76, 0xdf, 0xdc, 0x58, 0xb1, 0xfe, 0xd7, 0x67, 0xb5, 0xa1, 0x5b, 0xfc,
+ 0xad, 0xcc, 0x0b, 0x6f, 0xd6, 0xdc, 0x59, 0x11, 0xbf, 0x42, 0xf0, 0x36, 0xc0, 0x33, 0xfc, 0x3e, 0x43, 0xf0, 0x7a, 0x83, 0x12, 0xe9, 0x1d, 0x0d, 0x8d, 0x32, 0x79, 0x3b, 0x62, 0x94, 0x0c, 0x7e,
+ 0xae, 0x1d, 0xca, 0x8a, 0xab, 0x7c, 0x4b, 0xdd, 0x21, 0xc5, 0xaa, 0x19, 0xa3, 0x23, 0xf5, 0x97, 0xbd, 0x18, 0x50, 0x44, 0x5d, 0x76, 0x69, 0x5c, 0xb2, 0x91, 0x0c, 0xcc, 0xb5, 0xf1, 0x63, 0xb8,
+ 0xaf, 0x3b, 0xbf, 0x0c, 0x27, 0x5b, 0xdd, 0x5e, 0xbd, 0x8a, 0x87, 0xf0, 0x02, 0x63, 0x84, 0x74, 0x85, 0x57, 0x2f, 0x8a, 0x98, 0x3d, 0xef, 0x0e, 0xae, 0x98, 0x95, 0xcd, 0x93, 0xd7, 0xff, 0xc3,
+ 0xaf, 0x79, 0xb1, 0x40, 0x64, 0x60, 0x1b, 0xc0, 0x98, 0x7d, 0x47, 0x47, 0xaf, 0x1e, 0x91, 0x4a, 0x22, 0x8c, 0x05, 0xd6, 0x22, 0xce, 0xda, 0x03, 0xb7, 0xa4, 0xf6, 0x70, 0x14, 0xfe, 0xe7, 0x67,
+ 0xaf, 0x93, 0xd5, 0xa2, 0x23, 0x8f, 0x01, 0xd5, 0x95, 0xa1, 0xbc, 0x20, 0x92, 0xf0, 0xab, 0x29, 0xa5, 0x50, 0xb2, 0xb9, 0x6b, 0xde, 0x73, 0x56, 0xeb, 0xf6, 0x4d, 0x8f, 0x04, 0x23, 0x49, 0x58,
+ 0xb1, 0x33, 0xde, 0x42, 0xa3, 0x73, 0x76, 0xf5, 0xd9, 0x14, 0x39, 0xaf, 0x3d, 0x61, 0xd3, 0x82, 0x01, 0xf1, 0x03, 0x77, 0xc3, 0x6d, 0xac, 0xd9, 0xc2, 0x61, 0x0f, 0x52, 0xaa, 0x12, 0x4a, 0x91,
+ 0xb1, 0x49, 0xb2, 0x9e, 0x82, 0x11, 0xe2, 0x48, 0x27, 0xfb, 0xe0, 0x16, 0x8d, 0x30, 0xcb, 0x26, 0x19, 0xcd, 0x33, 0x65, 0xbd, 0x6f, 0x81, 0x73, 0xe7, 0xa7, 0x31, 0xc5, 0xf7, 0x02, 0xdc, 0xd9,
+ 0xb2, 0xbe, 0xae, 0xca, 0xc1, 0xbd, 0xe4, 0x09, 0xf8, 0x29, 0x33, 0xd8, 0x0f, 0xa3, 0xbf, 0x5f, 0xa0, 0xd1, 0xff, 0x8d, 0x1f, 0x97, 0xe5, 0x26, 0x0b, 0xb2, 0x5c, 0x0f, 0xbb, 0xa3, 0x5c, 0xa7,
+ 0xb3, 0x44, 0xd2, 0xf3, 0x3e, 0x30, 0xa2, 0x5e, 0xb9, 0x27, 0xe4, 0xc1, 0xa4, 0x19, 0xd0, 0x19, 0xac, 0xcf, 0xa8, 0x24, 0x9a, 0x5c, 0xe6, 0x22, 0xb8, 0xe7, 0xc7, 0xd8, 0xd5, 0x80, 0x7a, 0x00,
+ 0xb3, 0xe5, 0x06, 0x34, 0x0f, 0xbf, 0x6b, 0x57, 0x86, 0x97, 0x33, 0x93, 0x07, 0x9f, 0x24, 0xb6, 0x6b, 0xa4, 0x65, 0x07, 0xe3, 0x5e, 0x91, 0x1d, 0xb0, 0x36, 0x2a, 0x2a, 0xcd, 0xe9, 0x70, 0x49,
+ 0xb3, 0xea, 0xfd, 0xeb, 0x6e, 0x28, 0x09, 0xbd, 0x72, 0x73, 0x0e, 0x4f, 0xc7, 0x89, 0x6b, 0x9d, 0x94, 0x54, 0x3c, 0xa3, 0x60, 0xe9, 0x62, 0x9b, 0x63, 0xc0, 0x39, 0xff, 0x91, 0x27, 0x4b, 0xeb,
+ 0xb4, 0x20, 0x50, 0x9d, 0x0d, 0x69, 0xb2, 0x94, 0x63, 0x3f, 0xd7, 0xae, 0x2c, 0x36, 0xb2, 0xb5, 0x49, 0xd4, 0x5a, 0x6a, 0x86, 0x3e, 0xf1, 0x68, 0x43, 0xa1, 0x11, 0x6a, 0x11, 0x12, 0x7f, 0x56,
+ 0xb4, 0x93, 0x8e, 0xd2, 0xff, 0x00, 0x1b, 0x73, 0xef, 0x31, 0xe5, 0xbb, 0xbe, 0xbe, 0x1d, 0x6d, 0xbb, 0x7d, 0x98, 0x88, 0xa9, 0xfb, 0xe5, 0x25, 0x1a, 0x52, 0xa5, 0xed, 0x01, 0x66, 0x52, 0xcf,
+ 0xb5, 0x25, 0x31, 0xc8, 0x43, 0x51, 0xeb, 0x69, 0x5a, 0x8a, 0xff, 0x0b, 0x7a, 0x5b, 0xdf, 0x93, 0x97, 0x2c, 0xde, 0xdf, 0xaf, 0x40, 0x67, 0x74, 0x54, 0x25, 0xd7, 0x5e, 0x21, 0xcd, 0x0c, 0xbb,
+ 0xb6, 0x32, 0xa6, 0x28, 0x6c, 0x6f, 0xaa, 0x66, 0x43, 0xec, 0x34, 0x31, 0x1e, 0x0b, 0x97, 0x10, 0xa3, 0x50, 0x8f, 0xc9, 0x52, 0xe9, 0xa0, 0x42, 0x63, 0xc3, 0x31, 0x79, 0xe3, 0x28, 0x14, 0xf8,
+ 0xb6, 0x7d, 0xb8, 0xd5, 0x3c, 0x92, 0x5f, 0xeb, 0xad, 0xaf, 0xce, 0x43, 0x56, 0x20, 0x6c, 0x85, 0xf7, 0x3e, 0x22, 0x45, 0x6e, 0xae, 0x4e, 0xd6, 0xee, 0x77, 0xf6, 0xa9, 0xe1, 0x1a, 0x07, 0x8c,
+ 0xb7, 0xd3, 0xe3, 0xc4, 0xa9, 0x30, 0xff, 0xfc, 0xdb, 0x18, 0x46, 0x19, 0x53, 0x4e, 0xf7, 0xc3, 0xd4, 0x54, 0x35, 0xef, 0x97, 0xf7, 0x98, 0x86, 0x11, 0x71, 0x4f, 0x55, 0x23, 0xb2, 0x07, 0xe5,
+ 0xb7, 0xea, 0x2f, 0xbd, 0x3f, 0xee, 0xda, 0x30, 0x99, 0x12, 0xb2, 0x76, 0x7b, 0xa8, 0x0d, 0xd0, 0x37, 0x81, 0x3e, 0x80, 0xfe, 0xd1, 0x7c, 0xda, 0x79, 0xef, 0x7f, 0x62, 0xb6, 0xd1, 0x95, 0x3b,
+ 0xb8, 0xd6, 0xb5, 0xe7, 0x85, 0x7b, 0x45, 0x83, 0x0e, 0x01, 0x7c, 0x7b, 0xe3, 0xd8, 0x56, 0xad, 0xeb, 0x97, 0xc7, 0x29, 0x0e, 0xb0, 0x66, 0x5a, 0x3d, 0x47, 0x3a, 0x4b, 0xeb, 0x51, 0xdc, 0xf3,
+ 0xb9, 0x3f, 0x06, 0x99, 0x59, 0x8f, 0x8b, 0x20, 0xfa, 0x0d, 0xac, 0xc1, 0x2c, 0xfc, 0xfc, 0x1f, 0x25, 0x68, 0x79, 0x3f, 0x6e, 0x77, 0x9e, 0x04, 0x79, 0x5e, 0x6d, 0x7c, 0x22, 0x53, 0x0f, 0x75,
+ 0xb9, 0x79, 0x15, 0xda, 0x9f, 0x05, 0x27, 0x7f, 0xa5, 0x68, 0x7f, 0x8c, 0x41, 0x13, 0x2d, 0xf6, 0x91, 0x52, 0x51, 0x7f, 0x2b, 0xa2, 0x52, 0xd4, 0x66, 0x39, 0x5b, 0x40, 0xd4, 0xf2, 0xd1, 0x55,
+ 0xb9, 0xb2, 0x0e, 0x93, 0x3e, 0x2b, 0x6c, 0x33, 0xc9, 0xff, 0x08, 0x8e, 0x22, 0x4d, 0x80, 0x20, 0x28, 0xf2, 0x9a, 0x4c, 0xeb, 0xe5, 0x0a, 0xb5, 0xd7, 0x46, 0x02, 0x79, 0x11, 0xa4, 0x54, 0xff,
+ 0xba, 0xdf, 0xf5, 0xe4, 0xf0, 0xfe, 0xa7, 0x11, 0x70, 0x1c, 0xa8, 0xfb, 0x22, 0xe4, 0xc4, 0x38, 0x21, 0xe3, 0x1e, 0x21, 0x0c, 0xf5, 0x2d, 0x1d, 0x4f, 0x74, 0xdd, 0x50, 0xf1, 0xd0, 0x39, 0xbc,
+ 0xbb, 0x01, 0xda, 0x03, 0x33, 0xbb, 0x63, 0x9c, 0x7e, 0x1c, 0x80, 0x6d, 0xb0, 0x56, 0x1d, 0xc9, 0x8a, 0x53, 0x16, 0xf2, 0x2f, 0xef, 0x10, 0x90, 0xfb, 0x8d, 0x0b, 0xe4, 0x6d, 0xae, 0x49, 0x9a,
+ 0xbb, 0x1d, 0xd1, 0x6d, 0x53, 0x00, 0x08, 0x63, 0x6f, 0x23, 0x23, 0x03, 0xa7, 0xa8, 0x6f, 0x3d, 0xff, 0x96, 0x9f, 0x84, 0x88, 0x15, 0xc0, 0x57, 0x4b, 0x12, 0xc2, 0xd7, 0x87, 0xfe, 0xc9, 0x3f,
+ 0xbb, 0x44, 0xfd, 0x8c, 0xd0, 0x4a, 0xbc, 0x3b, 0x54, 0xe5, 0xcc, 0xea, 0x97, 0xef, 0x81, 0xe7, 0x0f, 0xd3, 0x93, 0x3c, 0x34, 0x28, 0x8d, 0x8b, 0x86, 0xf6, 0xec, 0xb4, 0xf3, 0xed, 0x1f, 0xde,
+ 0xbc, 0x75, 0xf9, 0x10, 0xff, 0x32, 0x0f, 0x5c, 0xb5, 0x99, 0x9e, 0x66, 0xbb, 0xd4, 0x03, 0x4f, 0x4a, 0xe5, 0x37, 0xa4, 0x2f, 0xdf, 0xef, 0x35, 0x16, 0x1c, 0x53, 0x48, 0xe3, 0x66, 0xe2, 0x16,
+ 0xbd, 0x88, 0x23, 0x55, 0xbf, 0x68, 0x13, 0xcf, 0x88, 0xec, 0x0b, 0x83, 0xb6, 0x13, 0x36, 0x91, 0x10, 0x0f, 0x48, 0x03, 0x81, 0xac, 0x06, 0x53, 0x1c, 0x3d, 0x59, 0x09, 0xcf, 0x1f, 0xb6, 0x26,
+ 0xbd, 0xd0, 0x11, 0x26, 0xe9, 0xd8, 0x57, 0x10, 0xd3, 0xfe, 0x75, 0xaf, 0x1c, 0xc1, 0x70, 0x2a, 0x29, 0xf0, 0x81, 0xb4, 0xf6, 0xfd, 0xf6, 0xa2, 0xb2, 0x13, 0x5c, 0x02, 0x97, 0xa9, 0xce, 0xc5,
+ 0xbd, 0xd4, 0x08, 0x6c, 0x01, 0x9f, 0x5d, 0x38, 0x84, 0x53, 0xc6, 0xd9, 0x34, 0x75, 0xd3, 0x9a, 0x57, 0x65, 0x72, 0xba, 0xff, 0x75, 0x61, 0x2c, 0x32, 0x1b, 0x46, 0xa3, 0x5a, 0x53, 0x29, 0xb1,
+ 0xbe, 0x43, 0x5d, 0xf7, 0xcd, 0x28, 0xaa, 0x2a, 0x7c, 0x8d, 0xb4, 0xfc, 0x81, 0x73, 0x47, 0x5b, 0x77, 0xe5, 0xab, 0xf3, 0x92, 0xf7, 0x6b, 0x7c, 0x76, 0xfa, 0x3f, 0x69, 0x8c, 0xb7, 0x1a, 0x9a,
+ 0xbe, 0xf7, 0x66, 0x3b, 0xe5, 0xea, 0x4d, 0xbf, 0xd8, 0x68, 0x6e, 0x24, 0x70, 0x1e, 0x03, 0x6f, 0x4c, 0x03, 0xfb, 0x7f, 0xcd, 0x67, 0xa6, 0xc5, 0x66, 0xed, 0x94, 0xce, 0x09, 0xc4, 0x44, 0x70,
+ 0xbf, 0x55, 0x0c, 0x6f, 0x82, 0x6c, 0x96, 0x46, 0x15, 0x52, 0xe6, 0x65, 0xf5, 0x3a, 0x4f, 0x27, 0x5a, 0x14, 0x83, 0x8f, 0xd6, 0x4c, 0xcf, 0x77, 0x3d, 0x19, 0x4b, 0x78, 0xce, 0x33, 0xe9, 0x07,
+ 0xbf, 0xca, 0xa4, 0x14, 0x45, 0xf2, 0x0b, 0x54, 0xae, 0xa6, 0x50, 0xd0, 0x3d, 0x7c, 0x39, 0xb7, 0x7c, 0xd8, 0x2a, 0x7a, 0x14, 0x82, 0x4d, 0xc5, 0x5a, 0xa5, 0x87, 0xc4, 0xc0, 0xf7, 0x42, 0xa3,
+ 0xc0, 0x53, 0x0b, 0xad, 0xc4, 0xd0, 0x66, 0xd5, 0xc4, 0xb8, 0xb9, 0x55, 0x02, 0x3e, 0x9e, 0xfa, 0x7f, 0xb9, 0x33, 0x7e, 0xcb, 0x7e, 0x12, 0x98, 0xe7, 0xcb, 0xa1, 0x72, 0xd8, 0x68, 0x04, 0x85,
+ 0xc0, 0x5b, 0x92, 0x50, 0xbd, 0xa8, 0xe8, 0x6b, 0x6e, 0x5c, 0x6a, 0x8c, 0x58, 0x4f, 0x0f, 0x61, 0xb4, 0xa3, 0xd2, 0x43, 0x68, 0x99, 0x65, 0xb5, 0xa9, 0x55, 0xa2, 0xcb, 0x19, 0x8d, 0x1e, 0x99,
+ 0xc1, 0x27, 0xf0, 0xee, 0xfc, 0x2e, 0x45, 0x19, 0x89, 0xd8, 0x8e, 0x4d, 0x1d, 0xa8, 0xa3, 0xb0, 0x8c, 0xa9, 0xd5, 0x88, 0x49, 0x87, 0xa6, 0x15, 0x7e, 0x04, 0xe9, 0xa7, 0x1c, 0x01, 0xad, 0xfc,
+ 0xc1, 0x54, 0x7c, 0xf9, 0x02, 0x57, 0x02, 0x07, 0xa9, 0x69, 0x4b, 0x6b, 0x8e, 0x35, 0x3f, 0xe4, 0x14, 0x19, 0xdb, 0x6a, 0x38, 0x02, 0x22, 0x1d, 0xdf, 0x10, 0xfb, 0x8f, 0x86, 0x94, 0x78, 0x04,
+ 0xc2, 0x16, 0x14, 0xe2, 0x07, 0xb1, 0x99, 0x1d, 0x3d, 0x6d, 0xf8, 0x42, 0x00, 0x97, 0x18, 0x65, 0x2d, 0x24, 0x1a, 0x8d, 0x92, 0x6e, 0x22, 0x1b, 0x85, 0xd0, 0x69, 0xf1, 0x61, 0x5e, 0x27, 0xa2,
+ 0xc2, 0x46, 0x97, 0x59, 0xc1, 0x94, 0x7e, 0x14, 0xf4, 0xb6, 0x5f, 0x72, 0xa9, 0xf5, 0xb3, 0xaf, 0x8b, 0x6f, 0x6e, 0x72, 0x7b, 0x68, 0xbb, 0x0d, 0x91, 0x38, 0x5c, 0xbf, 0x42, 0x17, 0x6a, 0x8a,
+ 0xc2, 0xcc, 0x91, 0x55, 0x56, 0x17, 0x17, 0x1a, 0x7d, 0x8a, 0xf5, 0x7d, 0xee, 0x52, 0x9b, 0x44, 0x3a, 0x41, 0xa1, 0xfa, 0xd3, 0xd4, 0x03, 0x2d, 0xbd, 0xb8, 0x14, 0xda, 0xd6, 0xc2, 0x68, 0x8e,
+ 0xc3, 0x29, 0x7e, 0x35, 0xc3, 0xa9, 0xef, 0xc4, 0xc0, 0x51, 0x70, 0x6a, 0xab, 0x77, 0xd2, 0x9a, 0x26, 0xe6, 0x2d, 0x9a, 0x38, 0xde, 0x25, 0x6d, 0xff, 0xeb, 0x77, 0xa0, 0xee, 0xc8, 0x66, 0x6a,
+ 0xc3, 0x2e, 0x05, 0xee, 0xf5, 0x4d, 0x7e, 0xaa, 0x0d, 0xd8, 0x9f, 0xe0, 0xf4, 0xd1, 0xa8, 0xd9, 0x76, 0x71, 0xfb, 0x45, 0x6f, 0x62, 0x99, 0x04, 0x7c, 0x31, 0x92, 0xc3, 0xe3, 0x72, 0x4b, 0xca,
+ 0xc3, 0x50, 0x5b, 0xf3, 0xec, 0x10, 0xa5, 0x1d, 0xac, 0xe4, 0x17, 0xc7, 0x6b, 0x8b, 0xd1, 0x09, 0x39, 0xa0, 0x65, 0xd1, 0xf3, 0x4e, 0x75, 0xb8, 0xa3, 0x06, 0x5e, 0xe3, 0x1c, 0xc6, 0x9b, 0x96,
+ 0xc4, 0x2d, 0x11, 0xc7, 0x0c, 0xcf, 0x5e, 0x8c, 0xf3, 0xfb, 0x91, 0xfd, 0xf2, 0x1d, 0x88, 0x40, 0x21, 0xad, 0x83, 0x6c, 0xa6, 0x8a, 0xdf, 0x2c, 0xbb, 0x79, 0x95, 0xc1, 0x0b, 0xf5, 0x88, 0xd4,
+ 0xc4, 0x52, 0xab, 0x84, 0x60, 0x73, 0xdf, 0x5a, 0xce, 0x25, 0xcc, 0xa6, 0x4d, 0x6b, 0x7a, 0x09, 0xd9, 0x06, 0x30, 0x8a, 0x1a, 0x65, 0xeb, 0x52, 0x40, 0xe3, 0xc4, 0xeb, 0xca, 0xa9, 0xcc, 0x0c,
+ 0xc4, 0x70, 0x16, 0x1a, 0x06, 0xe6, 0xb4, 0x52, 0x25, 0x3a, 0x62, 0x35, 0x36, 0x92, 0x49, 0x79, 0xcd, 0xd1, 0x18, 0x38, 0xe0, 0x8d, 0x8e, 0x4d, 0xc8, 0x6f, 0x76, 0x37, 0x32, 0xe6, 0x4b, 0x0b,
+ 0xc4, 0xeb, 0xdc, 0x43, 0x04, 0x8c, 0x43, 0xf5, 0xf1, 0x1c, 0x59, 0xea, 0xd0, 0x51, 0xa3, 0x58, 0x5a, 0x07, 0xfa, 0xfc, 0xe9, 0x85, 0xcf, 0xed, 0x8b, 0x27, 0xb7, 0x3a, 0x54, 0x92, 0xf9, 0xb2,
+ 0xc5, 0x5b, 0xe4, 0xa2, 0xa6, 0xac, 0x57, 0x4a, 0x9d, 0x46, 0xf1, 0xe1, 0xc5, 0x4c, 0xac, 0x29, 0xd2, 0x9d, 0xcd, 0x7b, 0x90, 0x40, 0x38, 0x9e, 0x71, 0x57, 0xbb, 0x32, 0xc4, 0x59, 0x1c, 0x4c,
+ 0xc6, 0x9d, 0x64, 0xa5, 0xb8, 0x39, 0xe4, 0x1b, 0xa1, 0x67, 0x42, 0x52, 0x7e, 0x17, 0x05, 0x6a, 0x18, 0xce, 0x3c, 0x27, 0x6f, 0xd2, 0x6e, 0x34, 0x90, 0x1a, 0x1b, 0xc7, 0xd0, 0xe3, 0x22, 0x19,
+ 0xc8, 0x05, 0x60, 0x3c, 0x4f, 0xa0, 0x38, 0x77, 0x6e, 0x42, 0xf2, 0x63, 0xc6, 0x04, 0xb4, 0x9d, 0x96, 0x84, 0x03, 0x22, 0xe1, 0x92, 0x2d, 0x56, 0x06, 0xa9, 0xb0, 0xbb, 0xb5, 0xbf, 0xfe, 0x6f,
+ 0xc8, 0x75, 0xae, 0x8a, 0x8d, 0xb5, 0x44, 0x1a, 0x57, 0x71, 0x72, 0x86, 0x9a, 0x4e, 0xc6, 0xe7, 0x1d, 0xac, 0xe7, 0xa8, 0x75, 0xf4, 0x2a, 0x2f, 0xbb, 0xa4, 0xb5, 0x2f, 0x29, 0x34, 0x99, 0xde,
+ 0xc9, 0x99, 0xeb, 0x66, 0x39, 0x35, 0x06, 0xc8, 0x14, 0x9c, 0x35, 0xc8, 0xa8, 0xce, 0x87, 0x67, 0x18, 0x95, 0xd6, 0x51, 0x67, 0xe4, 0xb0, 0x14, 0x0b, 0x54, 0xda, 0x72, 0xa9, 0x2d, 0x7c, 0x88,
+ 0xc9, 0xec, 0x35, 0x04, 0x06, 0xf2, 0x6e, 0x55, 0x9a, 0xff, 0xb4, 0x03, 0x0d, 0xe2, 0xeb, 0xde, 0x54, 0x35, 0x05, 0x4c, 0x35, 0xa9, 0x98, 0x60, 0x5b, 0x8f, 0xcf, 0x04, 0x97, 0x2d, 0x8d, 0x55,
+ 0xc9, 0xf9, 0xc0, 0x34, 0x34, 0x99, 0x7f, 0xbd, 0x0f, 0xbb, 0x69, 0x8d, 0xac, 0x55, 0x62, 0x64, 0xeb, 0xe9, 0x67, 0xf9, 0x48, 0xa9, 0x79, 0x78, 0xa0, 0xc3, 0x2e, 0xf8, 0x5f, 0x94, 0xb1, 0x88,
+ 0xca, 0x65, 0xa9, 0xb2, 0x91, 0x5d, 0x9a, 0x05, 0x5a, 0x40, 0x7b, 0xc0, 0x69, 0x89, 0x36, 0x34, 0x9a, 0x04, 0xe3, 0xdb, 0x69, 0x1e, 0x17, 0x84, 0x19, 0xfb, 0xa7, 0x01, 0xaa, 0xd8, 0xde, 0x55,
+ 0xcb, 0x34, 0x00, 0x11, 0xaf, 0xeb, 0x0d, 0x74, 0xc4, 0xa5, 0x88, 0xb3, 0x6e, 0xba, 0xa4, 0x41, 0x96, 0x16, 0x08, 0xe8, 0xd2, 0xfa, 0x80, 0xdc, 0xa8, 0xc1, 0x38, 0x72, 0xc8, 0x50, 0x79, 0x6b,
+ 0xcb, 0x67, 0x22, 0x99, 0x5d, 0x48, 0x21, 0xae, 0xaa, 0x98, 0x71, 0xc1, 0xb9, 0x78, 0x2a, 0x02, 0xed, 0x2f, 0x3d, 0x2b, 0xc6, 0xc1, 0xaa, 0xfd, 0x3e, 0x6b, 0x76, 0x73, 0xa2, 0x10, 0xa8, 0xfb,
+ 0xcb, 0x7b, 0xba, 0xbe, 0x6e, 0x9a, 0x11, 0x8c, 0x42, 0x0b, 0xe4, 0x29, 0x41, 0x32, 0xa8, 0x8b, 0xc4, 0x94, 0x96, 0x9d, 0x95, 0xb9, 0x88, 0x44, 0x80, 0xbd, 0x4f, 0x68, 0xab, 0x94, 0xfb, 0x2c,
+ 0xcb, 0x95, 0xa4, 0xd2, 0xe0, 0xe0, 0x2a, 0x5b, 0x56, 0xd0, 0x59, 0xc9, 0xf2, 0x23, 0xc2, 0x32, 0x67, 0x53, 0xea, 0x8c, 0x44, 0xd2, 0xe3, 0xfa, 0x6c, 0x44, 0x86, 0x62, 0x9b, 0xe3, 0x87, 0xa9,
+ 0xcb, 0x99, 0x4b, 0x40, 0x05, 0x90, 0xb6, 0x6c, 0xbf, 0x55, 0xfc, 0x66, 0x35, 0x55, 0xca, 0xf0, 0xd4, 0xf1, 0xce, 0x26, 0x74, 0x64, 0xd0, 0x45, 0x2c, 0x23, 0x61, 0xe0, 0x5e, 0xe1, 0xcd, 0x50,
+ 0xcb, 0xcb, 0xb8, 0xe8, 0x1f, 0x1c, 0xfe, 0xe4, 0xd0, 0x2d, 0x65, 0x48, 0x10, 0x80, 0xec, 0xde, 0x62, 0x52, 0x83, 0x44, 0xc5, 0x37, 0x2b, 0x09, 0xfe, 0xd4, 0xee, 0x3c, 0xa1, 0xe1, 0x43, 0x30,
+ 0xcc, 0x20, 0x2e, 0x8f, 0x27, 0x53, 0xec, 0x75, 0xc9, 0xee, 0xaa, 0xc6, 0x5c, 0x9d, 0x39, 0xee, 0xa6, 0xfa, 0xed, 0x57, 0x06, 0x64, 0xe9, 0x30, 0xe3, 0x81, 0x59, 0x76, 0xcd, 0x33, 0x2d, 0x91,
+ 0xcc, 0x73, 0x96, 0xd1, 0xc3, 0x06, 0xad, 0xfc, 0xe4, 0x9e, 0x70, 0xd7, 0xda, 0xf3, 0x2d, 0x09, 0x3a, 0x8f, 0x2f, 0xeb, 0xe2, 0xac, 0x05, 0x76, 0xba, 0x85, 0x37, 0x70, 0xe1, 0x1b, 0x3e, 0xf2,
+ 0xcc, 0x8e, 0xec, 0x6e, 0xb9, 0x21, 0x2c, 0xbf, 0x89, 0x7a, 0x5a, 0xce, 0x7e, 0x8a, 0xbe, 0xec, 0xe1, 0x07, 0x9f, 0x1a, 0x6d, 0xef, 0x0a, 0x78, 0x95, 0x91, 0xcb, 0x15, 0x47, 0xf1, 0xf0, 0x84,
+ 0xce, 0x1a, 0xf9, 0xfc, 0xce, 0x6a, 0xd1, 0x9c, 0x00, 0xd8, 0x23, 0x6b, 0x23, 0xb0, 0x3c, 0xf8, 0x3c, 0x59, 0x3c, 0x61, 0x84, 0xa0, 0x82, 0x66, 0xe5, 0x8f, 0xe9, 0x5c, 0x6c, 0xaa, 0x4d, 0x13,
+ 0xce, 0x65, 0xc2, 0x95, 0x21, 0xcd, 0x84, 0x98, 0xfa, 0xd9, 0x62, 0xe5, 0xf7, 0x0d, 0x55, 0xc5, 0x04, 0x43, 0x66, 0xec, 0x09, 0xc7, 0x61, 0xa6, 0x0c, 0xc7, 0xc4, 0xa2, 0x00, 0x17, 0x76, 0xa4,
+ 0xce, 0x8c, 0x44, 0xe1, 0x85, 0xfa, 0xaa, 0x03, 0x95, 0x9c, 0xf2, 0x32, 0x29, 0x60, 0x78, 0x54, 0xef, 0x7e, 0x31, 0x6e, 0xd0, 0x77, 0x3d, 0x66, 0xd7, 0xbe, 0x5e, 0x0a, 0x48, 0x06, 0x1d, 0xe5,
+ 0xce, 0xf7, 0x5d, 0x1d, 0xa8, 0xe9, 0x91, 0xac, 0x96, 0xd3, 0x6f, 0x8a, 0x14, 0x56, 0x28, 0x49, 0x20, 0x7f, 0x9d, 0xd5, 0x0f, 0xc6, 0x30, 0x28, 0xba, 0x83, 0x27, 0x7d, 0x5c, 0x27, 0xd0, 0x0b,
+ 0xcf, 0x13, 0xa2, 0x43, 0xc1, 0xcd, 0x2e, 0x3c, 0x8c, 0xeb, 0x7e, 0x70, 0x10, 0x03, 0x87, 0xce, 0xcb, 0xfb, 0x83, 0x05, 0x25, 0xbb, 0xf9, 0xd0, 0xb7, 0x0c, 0x79, 0xad, 0xf3, 0xe8, 0x41, 0x28,
+ 0xcf, 0x3f, 0x7c, 0x24, 0xaf, 0x6d, 0x46, 0xe1, 0x33, 0xbb, 0x6a, 0x93, 0x69, 0x02, 0xa4, 0x74, 0x13, 0x39, 0x4b, 0x2a, 0x8a, 0xdd, 0xc6, 0x3a, 0x88, 0x90, 0xc7, 0x5e, 0xb7, 0xc3, 0xa6, 0xc7,
+ 0xcf, 0x7f, 0x9e, 0x7d, 0x09, 0x10, 0x23, 0xa1, 0xa1, 0xc3, 0xf5, 0xcb, 0xf7, 0xdd, 0xac, 0xf7, 0xb1, 0x8f, 0x03, 0xa4, 0xd0, 0x79, 0x61, 0xf7, 0x15, 0x06, 0xfe, 0x9d, 0xf4, 0x38, 0x8e, 0xee,
+ 0xcf, 0xd2, 0xa8, 0xf2, 0x3b, 0xbc, 0xe7, 0x42, 0x4f, 0x4a, 0x6e, 0x27, 0xde, 0xf3, 0x68, 0xf1, 0x7b, 0x08, 0x6f, 0xfa, 0x22, 0x65, 0x28, 0x90, 0x0f, 0xa0, 0x92, 0x73, 0x6e, 0x70, 0x5e, 0xf9,
+ 0xd0, 0x69, 0xa0, 0x7b, 0x5a, 0xcd, 0xe0, 0x04, 0xfe, 0x72, 0x86, 0x55, 0x80, 0x41, 0xf1, 0xf1, 0x23, 0xdd, 0x88, 0xbb, 0x13, 0x95, 0xe5, 0xe4, 0x53, 0xf6, 0x2f, 0x48, 0xef, 0x37, 0xd1, 0x99,
+ 0xd0, 0x84, 0xac, 0x3f, 0xcd, 0x80, 0x89, 0x3b, 0x18, 0x78, 0x65, 0x3c, 0x8b, 0xa9, 0xb7, 0x1f, 0xb9, 0xc5, 0x3e, 0x25, 0x84, 0x3a, 0x98, 0x9e, 0xf5, 0x1a, 0x9b, 0x44, 0xc7, 0xea, 0xfc, 0xbc,
+ 0xd1, 0x4e, 0xe5, 0x61, 0x6d, 0xc8, 0xec, 0x74, 0xd6, 0x95, 0xaf, 0x08, 0xda, 0xcc, 0x78, 0xbb, 0xef, 0xaf, 0xa7, 0xa9, 0x7a, 0x5c, 0xfe, 0xab, 0x9b, 0x96, 0x1e, 0x86, 0xce, 0x9e, 0xdd, 0x37,
+ 0xd2, 0x8a, 0xec, 0x97, 0xe2, 0x8a, 0x38, 0xd9, 0x4b, 0xe6, 0x53, 0x69, 0xe4, 0x3d, 0x01, 0xf6, 0x26, 0x61, 0x95, 0xd6, 0x11, 0x3e, 0x7e, 0xd1, 0x7a, 0x69, 0x30, 0xa3, 0x09, 0x28, 0x88, 0x00,
+ 0xd3, 0x72, 0xc0, 0xd0, 0xf4, 0xfd, 0xc9, 0xf5, 0x2e, 0x9e, 0x1f, 0x23, 0xfc, 0x56, 0xee, 0x72, 0x41, 0x4a, 0x17, 0xf3, 0x50, 0xd0, 0xce, 0xa6, 0xc2, 0x6a, 0x35, 0xa6, 0xc3, 0x21, 0x7a, 0x13,
+ 0xd4, 0x17, 0xc0, 0x04, 0x52, 0x5c, 0x7b, 0xb5, 0x75, 0x23, 0x83, 0x62, 0x78, 0xce, 0xe1, 0x20, 0xfd, 0x66, 0x14, 0x79, 0x83, 0xba, 0x73, 0x8a, 0xac, 0x01, 0x1e, 0x24, 0xbe, 0x75, 0xe6, 0xe2,
+ 0xd4, 0x24, 0x11, 0x90, 0xcd, 0x5a, 0x36, 0x9d, 0x8c, 0x34, 0x4c, 0x66, 0x0e, 0x24, 0xf3, 0x02, 0x7f, 0xb8, 0xe7, 0x06, 0x4f, 0xab, 0x33, 0x77, 0x0e, 0x93, 0xfa, 0x76, 0x5f, 0xfb, 0x15, 0x2e,
+ 0xd4, 0x55, 0xa3, 0xc0, 0x84, 0xdf, 0x64, 0xcf, 0x66, 0xdc, 0x1d, 0x2b, 0xab, 0x35, 0x2c, 0x74, 0xaa, 0xf6, 0x60, 0x35, 0x05, 0x8d, 0xf1, 0x14, 0x3e, 0xfb, 0xdd, 0x42, 0x98, 0xaa, 0x45, 0x27,
+ 0xd4, 0x65, 0xd6, 0x3b, 0x03, 0x84, 0xf1, 0x6a, 0x16, 0x10, 0xb0, 0xa8, 0x6c, 0x5d, 0x73, 0xb3, 0x6a, 0x33, 0x70, 0x98, 0x28, 0xde, 0x8f, 0xe2, 0x6d, 0xba, 0xc6, 0xdc, 0x6e, 0xfa, 0x00, 0x7d,
+ 0xd4, 0x72, 0xd0, 0xdc, 0xba, 0x3f, 0x5d, 0xd6, 0x1b, 0xe3, 0x93, 0x12, 0x44, 0x71, 0x7b, 0xf2, 0x23, 0x0b, 0xab, 0xd3, 0x0e, 0x9e, 0x2f, 0x6b, 0x28, 0x80, 0xbf, 0xcd, 0xc8, 0xfd, 0x66, 0x65,
+ 0xd5, 0xbc, 0x11, 0xfb, 0x61, 0x9b, 0xfc, 0xed, 0x64, 0x24, 0x9b, 0x93, 0x0c, 0x78, 0x5e, 0xad, 0x5f, 0xca, 0x39, 0x27, 0xf0, 0xce, 0x3c, 0x5e, 0xfd, 0x3f, 0x1d, 0x9a, 0xf0, 0x4b, 0x37, 0xbf,
+ 0xd6, 0xee, 0x8d, 0xb7, 0x82, 0xe3, 0x6c, 0xaf, 0xfb, 0x4d, 0x9f, 0x82, 0x07, 0x90, 0x04, 0x87, 0xde, 0x93, 0x0a, 0xab, 0xcc, 0x1d, 0x19, 0x6f, 0xa4, 0x55, 0xfb, 0xfd, 0x6f, 0x37, 0x27, 0x3d,
+ 0xd7, 0x59, 0x30, 0x8d, 0x04, 0x7e, 0x92, 0x06, 0x00, 0x6b, 0x51, 0xb5, 0x77, 0x0f, 0xa2, 0x5e, 0xf5, 0xc1, 0x24, 0xb8, 0xac, 0xc6, 0xb0, 0x13, 0x9f, 0x58, 0x83, 0x76, 0x5f, 0xe3, 0x0d, 0xea,
+ 0xd7, 0x96, 0x51, 0xaa, 0x3a, 0x04, 0x91, 0xd3, 0x3b, 0x79, 0x79, 0xf5, 0xb4, 0x19, 0x36, 0xf8, 0xac, 0xef, 0xba, 0x99, 0xbb, 0xa1, 0x0e, 0x05, 0xfd, 0x6f, 0x54, 0xe2, 0x85, 0x9c, 0xc5, 0x89,
+ 0xd8, 0x60, 0xd3, 0xdc, 0x4d, 0x9a, 0x41, 0x2e, 0x8f, 0xe8, 0x03, 0x61, 0x00, 0xbd, 0xa7, 0x63, 0x7b, 0x57, 0xa0, 0x16, 0x8c, 0xa8, 0x11, 0x78, 0x1e, 0xd4, 0xa0, 0x08, 0x15, 0xa9, 0x7e, 0x0c,
+ 0xd8, 0x78, 0x17, 0xf7, 0x63, 0x09, 0xb1, 0xe4, 0x20, 0x54, 0x78, 0x08, 0xcb, 0x57, 0x3a, 0xea, 0x0c, 0x8e, 0x7d, 0xe1, 0x41, 0x23, 0x79, 0x3a, 0x42, 0x38, 0x85, 0x82, 0x18, 0x42, 0x86, 0xb7,
+ 0xd8, 0x9a, 0x11, 0xd1, 0x6c, 0x48, 0x8d, 0xd4, 0xfb, 0xbc, 0x54, 0x1d, 0x4b, 0x07, 0xfa, 0xf8, 0x67, 0x0d, 0x66, 0x09, 0x94, 0x48, 0x8f, 0xe5, 0x4b, 0x1f, 0xbf, 0xf2, 0x70, 0x4e, 0x42, 0x88,
+ 0xd8, 0xd4, 0xe6, 0xdd, 0xf6, 0xe4, 0x2d, 0x74, 0xa6, 0xa5, 0x36, 0xea, 0x62, 0xfd, 0x12, 0x17, 0xe4, 0x29, 0x0b, 0x14, 0x5c, 0x9e, 0x5c, 0x36, 0x95, 0xa3, 0x1b, 0x42, 0xef, 0xb5, 0xf5, 0xa4,
+ 0xd9, 0x66, 0x8a, 0xb5, 0x27, 0x85, 0x08, 0x67, 0x86, 0xc1, 0x34, 0xb5, 0xe4, 0xbd, 0xdb, 0xf7, 0x24, 0x52, 0x81, 0x3b, 0x69, 0x73, 0x22, 0x9a, 0xb9, 0x2a, 0xa1, 0xa5, 0x4d, 0x20, 0x1b, 0xf5,
+ 0xda, 0x35, 0x60, 0xfd, 0x0c, 0x32, 0xb5, 0x4c, 0x83, 0xd4, 0xf2, 0xff, 0x86, 0x90, 0x03, 0xd2, 0x08, 0x93, 0x69, 0xac, 0xf2, 0xc8, 0x96, 0x08, 0xf8, 0xaf, 0xa7, 0x43, 0x6b, 0xfa, 0x46, 0x55,
+ 0xda, 0x99, 0x43, 0x27, 0x71, 0x74, 0x96, 0x0b, 0x0d, 0x7d, 0x3f, 0x0d, 0x65, 0x61, 0x76, 0xf3, 0x72, 0x3e, 0xd2, 0xf0, 0x3a, 0x90, 0x51, 0x8b, 0xeb, 0x3c, 0x6c, 0x20, 0x2b, 0x88, 0xcc, 0x14,
+ 0xda, 0xf8, 0x70, 0x06, 0xf2, 0x65, 0x39, 0x09, 0xe3, 0x9a, 0x52, 0xb7, 0xec, 0xb2, 0x34, 0x48, 0x4e, 0x7a, 0xc8, 0x4a, 0xc2, 0x1e, 0xb5, 0x93, 0x54, 0xc1, 0xba, 0xfc, 0xdd, 0xf0, 0x8d, 0x9c,
+ 0xdb, 0x1e, 0x5c, 0x61, 0x52, 0xa2, 0x8d, 0x3e, 0xb6, 0xb1, 0xaf, 0xea, 0xad, 0x49, 0x74, 0xf3, 0x65, 0x4a, 0xc6, 0xfb, 0xbe, 0x76, 0x9d, 0x87, 0x0a, 0xbb, 0x74, 0xed, 0xe6, 0x32, 0xb9, 0xe5,
+ 0xdb, 0xaf, 0x9e, 0x05, 0x6d, 0x3d, 0x5b, 0x38, 0xb6, 0x85, 0x53, 0x30, 0x4a, 0xbc, 0x88, 0x82, 0x7e, 0xbc, 0x00, 0xf8, 0x0c, 0xb9, 0xc7, 0xe1, 0x97, 0xcd, 0xbc, 0x58, 0x22, 0xcd, 0x31, 0x6c,
+ 0xdb, 0xb4, 0x24, 0xcb, 0x8a, 0xd3, 0x5e, 0xe6, 0x85, 0x46, 0x09, 0x26, 0x45, 0xc4, 0x68, 0x9d, 0x60, 0x27, 0xa9, 0x7f, 0xed, 0xf3, 0xc5, 0xaf, 0x84, 0x2b, 0x95, 0x72, 0xf1, 0x27, 0x69, 0x97,
+ 0xdc, 0x7c, 0xc8, 0xd1, 0xdc, 0x11, 0xe3, 0x04, 0xab, 0xdf, 0x6e, 0x62, 0x27, 0x83, 0x8f, 0x35, 0xb2, 0x23, 0xb7, 0x80, 0xf0, 0x30, 0xde, 0x7b, 0x34, 0x1e, 0x88, 0xa3, 0xf6, 0xa3, 0x61, 0xb4,
+ 0xdc, 0x8a, 0xff, 0x7f, 0xaa, 0x9d, 0x1a, 0x00, 0xa3, 0xe3, 0x2e, 0xef, 0xbf, 0x89, 0x9b, 0x30, 0x59, 0xcb, 0xb3, 0x13, 0xa4, 0x8b, 0x82, 0xfa, 0x9c, 0x8d, 0x93, 0x1f, 0xd5, 0x8f, 0xb6, 0x9d,
+ 0xdc, 0xcc, 0x3c, 0xe1, 0xc0, 0x0e, 0xe4, 0xb0, 0xb1, 0x04, 0x87, 0xd3, 0x72, 0xa0, 0xfa, 0x47, 0xf5, 0xc2, 0x6f, 0x57, 0xa3, 0x59, 0xbe, 0x7b, 0x27, 0x80, 0x1e, 0x14, 0x4e, 0xac, 0xba, 0xc4,
+ 0xdd, 0x59, 0xaf, 0x56, 0x08, 0x44, 0x06, 0xe3, 0x8c, 0x63, 0xfb, 0xe0, 0x85, 0x0f, 0x30, 0xa0, 0xcd, 0x12, 0x77, 0x46, 0x2a, 0x21, 0x92, 0x59, 0x0f, 0xb0, 0x5b, 0xc2, 0x59, 0xe6, 0x12, 0x73,
+ 0xdd, 0x5e, 0x4e, 0x9f, 0x20, 0xce, 0x8b, 0xf8, 0xf3, 0x51, 0x22, 0x61, 0xf1, 0x76, 0xec, 0xdd, 0x04, 0x6c, 0x07, 0x9d, 0x32, 0x58, 0x5d, 0x9b, 0x25, 0x9a, 0xfe, 0x0a, 0x28, 0xc9, 0x73, 0xdf,
+ 0xdd, 0xa0, 0x12, 0x1d, 0xcf, 0x16, 0x7d, 0xb1, 0xe2, 0x62, 0x2d, 0x10, 0xf4, 0x54, 0x70, 0x18, 0x37, 0xac, 0x6a, 0xf3, 0x04, 0xa0, 0x3e, 0xc0, 0x6b, 0x30, 0x27, 0x90, 0x49, 0x88, 0xc5, 0x6b,
+ 0xdd, 0xf3, 0xe4, 0x26, 0x14, 0x19, 0x94, 0x4f, 0x7c, 0x2f, 0x8b, 0x92, 0xf6, 0xd1, 0x4c, 0x35, 0x06, 0x0b, 0x4f, 0x94, 0x81, 0x8c, 0xc4, 0x18, 0x3f, 0x0c, 0x07, 0x27, 0x06, 0xde, 0xf7, 0x26,
+ 0xde, 0x7f, 0x76, 0x6e, 0x44, 0x54, 0xda, 0x11, 0x8a, 0x6c, 0x42, 0xbe, 0xe4, 0x76, 0xc4, 0xbb, 0x66, 0xf6, 0x60, 0xbf, 0xdb, 0x88, 0xdb, 0x57, 0x2c, 0x46, 0x21, 0xc4, 0x3e, 0xc1, 0x83, 0x6e,
+ 0xdf, 0x02, 0xaa, 0xb4, 0x83, 0x87, 0xa9, 0xe1, 0xd4, 0xc6, 0x52, 0x28, 0x08, 0x9c, 0xb6, 0xab, 0xe1, 0x96, 0xc8, 0xf4, 0xb3, 0x96, 0xc7, 0xe4, 0xbb, 0xc3, 0x95, 0xde, 0x13, 0x69, 0x77, 0xf6,
+ 0xdf, 0x6e, 0xc4, 0xf5, 0x0b, 0xe2, 0xa4, 0xb7, 0x65, 0x7f, 0x03, 0x97, 0xbe, 0xd4, 0x83, 0xbe, 0x14, 0x3a, 0x18, 0x88, 0x36, 0x15, 0x80, 0x0a, 0x65, 0xa6, 0x4b, 0x7e, 0x84, 0xd9, 0xb8, 0x58,
+ 0xdf, 0x91, 0xac, 0x85, 0xa9, 0x4f, 0xcd, 0x0c, 0xfb, 0x81, 0x55, 0xbd, 0x7c, 0xbe, 0xfa, 0xac, 0x14, 0xb8, 0xc5, 0xee, 0x73, 0x97, 0xfe, 0x2c, 0xc8, 0x59, 0x84, 0x45, 0x9e, 0x2e, 0xa1, 0x4e,
+ 0xe0, 0x51, 0xb7, 0x88, 0xec, 0xba, 0xed, 0xa5, 0x30, 0x46, 0xc7, 0x0e, 0x6a, 0xf6, 0x05, 0x8f, 0x95, 0x22, 0x2c, 0x04, 0x61, 0x57, 0xb8, 0xc4, 0xc1, 0xb9, 0xc2, 0xcf, 0xc6, 0x5f, 0x46, 0xe5,
+ 0xe0, 0x60, 0xda, 0x09, 0x56, 0x1a, 0xe0, 0x0d, 0xcf, 0xb1, 0x76, 0x9d, 0x6e, 0x8e, 0x84, 0x68, 0x68, 0xa1, 0xe9, 0x9a, 0x54, 0xb1, 0x4a, 0xa5, 0xd0, 0x68, 0x9f, 0x28, 0x40, 0xce, 0xc6, 0xdf,
+ 0xe1, 0x1b, 0xdb, 0xfb, 0xac, 0x47, 0x36, 0x91, 0x8c, 0x49, 0x77, 0x98, 0xd6, 0xed, 0x01, 0x8f, 0x52, 0x97, 0x26, 0xa6, 0xb1, 0x89, 0x4b, 0xe0, 0x65, 0x8d, 0x1b, 0x95, 0x19, 0x53, 0x8b, 0x22,
+ 0xe2, 0x26, 0xd6, 0xf3, 0xa3, 0x32, 0x23, 0x8f, 0xee, 0x8a, 0x42, 0xa8, 0xfd, 0x57, 0xe8, 0xb0, 0x09, 0x72, 0x5d, 0xb5, 0xf8, 0xdf, 0x4d, 0xc1, 0xcb, 0x54, 0xf1, 0x7c, 0x6f, 0x47, 0xa9, 0xc7,
+ 0xe2, 0x4b, 0x31, 0x5a, 0x55, 0x16, 0x71, 0x48, 0x3d, 0x8b, 0x90, 0x73, 0xb3, 0x2d, 0xe1, 0x1b, 0x4d, 0xe1, 0xeb, 0x2e, 0xab, 0x21, 0x1a, 0xfd, 0x2d, 0x9c, 0x31, 0x9f, 0xf5, 0x5e, 0x08, 0xd0,
+ 0xe2, 0xcf, 0x88, 0x1c, 0xf0, 0x71, 0x95, 0x45, 0x45, 0x05, 0x04, 0x7d, 0x74, 0x81, 0x0e, 0xd7, 0x9a, 0xe2, 0x0d, 0xfd, 0x0f, 0x15, 0x93, 0xaf, 0xbb, 0xf0, 0x82, 0x70, 0xa4, 0x86, 0xc0, 0x38,
+ 0xe3, 0x6d, 0xfc, 0x71, 0x9d, 0x21, 0x14, 0xc2, 0xe3, 0x9a, 0xea, 0x88, 0x84, 0x9e, 0x28, 0x45, 0xab, 0x32, 0x6f, 0x6f, 0x7f, 0xe7, 0x4e, 0x0e, 0x53, 0x9b, 0x7e, 0x54, 0xd8, 0x1f, 0x36, 0x31,
+ 0xe3, 0x7f, 0xf3, 0xfc, 0x0e, 0xff, 0x20, 0xbf, 0xc1, 0xc0, 0x60, 0xa4, 0xbf, 0x56, 0x88, 0x5e, 0x1e, 0xfd, 0x55, 0xa8, 0xe9, 0xce, 0x3c, 0x5f, 0x48, 0x69, 0x44, 0x4c, 0xac, 0xff, 0xad, 0x0b,
+ 0xe3, 0x98, 0x91, 0xf4, 0x8b, 0xbc, 0xc5, 0x93, 0xb8, 0xed, 0x86, 0xce, 0x82, 0xce, 0x66, 0x6f, 0xc1, 0x14, 0x5b, 0x9f, 0xcb, 0xfd, 0x2b, 0x07, 0xba, 0xd0, 0xa8, 0x9b, 0xf4, 0xc7, 0xbf, 0xbf,
+ 0xe4, 0x25, 0x72, 0xaf, 0xac, 0x72, 0x0f, 0x5d, 0x4a, 0x1c, 0x7a, 0xaa, 0xf8, 0x02, 0xf0, 0x94, 0xda, 0xce, 0xb6, 0x82, 0xf4, 0xe9, 0x27, 0x83, 0xb2, 0xbb, 0x3f, 0xa0, 0x08, 0x62, 0xaf, 0x7f,
+ 0xe6, 0x23, 0x6d, 0xc1, 0xee, 0x07, 0x4c, 0x07, 0x7c, 0x7a, 0x1c, 0x9b, 0x39, 0x65, 0x94, 0x74, 0x30, 0x84, 0x7b, 0xe1, 0x25, 0xf7, 0xae, 0xb7, 0x1d, 0x91, 0xa1, 0x28, 0x13, 0x3a, 0xea, 0x7f,
+ 0xe6, 0x37, 0x00, 0x25, 0x26, 0x22, 0x1b, 0xc3, 0x2e, 0x47, 0x74, 0x55, 0xb1, 0x2f, 0x86, 0x4f, 0x20, 0xb2, 0x7c, 0x44, 0x67, 0x9a, 0x2e, 0x78, 0xe5, 0xc5, 0x6d, 0xa1, 0xff, 0xce, 0x8b, 0x41,
+ 0xe6, 0x85, 0x6f, 0x13, 0x7f, 0x79, 0x99, 0x2d, 0xc9, 0x4f, 0xa2, 0xf4, 0x32, 0x97, 0xec, 0x32, 0xd2, 0xd9, 0xa7, 0x6f, 0x7b, 0xe6, 0x61, 0x14, 0xc6, 0xa1, 0x3e, 0xfc, 0x3b, 0xcd, 0xf5, 0xc8,
+ 0xe6, 0xc6, 0x3c, 0x98, 0x4b, 0xc7, 0x54, 0x73, 0x63, 0x76, 0x56, 0x4a, 0x8f, 0x9a, 0xb1, 0xb7, 0x88, 0x5b, 0x9a, 0xc2, 0xf4, 0x9f, 0x1e, 0xc6, 0xe4, 0x05, 0x30, 0x49, 0xd2, 0x6f, 0x78, 0xf9,
+ 0xe7, 0x68, 0x1f, 0x15, 0x31, 0x21, 0xea, 0x1e, 0x67, 0xf7, 0x4b, 0xbc, 0xb0, 0xcd, 0xc5, 0xe5, 0x02, 0x70, 0x2c, 0x1b, 0x8c, 0xc5, 0x5f, 0xb6, 0x5d, 0x70, 0x2d, 0xfb, 0xa9, 0x48, 0xb5, 0xf4,
+ 0xe7, 0xc2, 0x0b, 0x3a, 0xb4, 0x81, 0xec, 0x88, 0x55, 0x01, 0xec, 0xa5, 0x29, 0x37, 0x81, 0xd8, 0x4b, 0x5a, 0x1a, 0xc2, 0x4f, 0x88, 0x26, 0x6b, 0x52, 0x70, 0xe7, 0xec, 0xb4, 0xaa, 0x25, 0x38,
+ 0xe7, 0xd9, 0xbd, 0xbc, 0xc6, 0x8b, 0x5b, 0xed, 0x59, 0x0c, 0x29, 0xb7, 0x2d, 0xca, 0x2b, 0x96, 0x77, 0x9b, 0x8b, 0x68, 0xb1, 0x2a, 0x47, 0xde, 0xd0, 0x74, 0xb8, 0xf1, 0xb3, 0x2f, 0x8f, 0xbe,
+ 0xe8, 0x00, 0x39, 0x5d, 0xbe, 0x0e, 0x04, 0x57, 0x81, 0xe8, 0x00, 0x51, 0x78, 0xb4, 0xba, 0xf5, 0xa2, 0x57, 0xf0, 0x6e, 0x15, 0x91, 0x21, 0xa6, 0x7c, 0x59, 0x5f, 0x6a, 0xe2, 0x25, 0x06, 0xfd,
+ 0xe8, 0x08, 0xa3, 0x37, 0xed, 0x69, 0x11, 0xef, 0x56, 0x1c, 0x27, 0xca, 0xba, 0xca, 0xbf, 0x4e, 0xa6, 0xd6, 0xe2, 0x0f, 0xb7, 0x0f, 0x54, 0x13, 0xb1, 0x21, 0xac, 0x25, 0x1a, 0xbc, 0xc1, 0x0c,
+ 0xe8, 0x81, 0x86, 0x66, 0xb7, 0xe0, 0x14, 0xb6, 0xe4, 0x82, 0x0a, 0xfa, 0xa8, 0x4d, 0x5a, 0x84, 0xfa, 0x42, 0xcb, 0x5d, 0x26, 0x63, 0xc8, 0x48, 0xd3, 0x58, 0xb2, 0x91, 0x32, 0x74, 0xba, 0x21,
+ 0xe9, 0xc7, 0x1b, 0x7c, 0xd5, 0xa4, 0xdf, 0x0b, 0xa4, 0x8d, 0x2c, 0xa4, 0x8e, 0x6c, 0x46, 0x8e, 0x65, 0x72, 0x57, 0xf7, 0x3f, 0x66, 0x01, 0x7d, 0xe4, 0x5e, 0x18, 0xee, 0x74, 0x6e, 0xd7, 0xd5,
+ 0xe9, 0xd8, 0x73, 0xcb, 0xce, 0xde, 0x36, 0x34, 0xe0, 0xa4, 0xb3, 0x64, 0x4b, 0x51, 0xe1, 0xc8, 0xa0, 0xa0, 0x48, 0x27, 0x29, 0x92, 0xc7, 0x38, 0x51, 0x3e, 0xbc, 0x96, 0xcd, 0x3e, 0x33, 0x60,
+ 0xea, 0x9c, 0x72, 0xc1, 0xce, 0x86, 0x5e, 0x60, 0x44, 0xab, 0xff, 0x57, 0x6f, 0xd7, 0x12, 0xd4, 0xdf, 0x3f, 0x51, 0x14, 0x31, 0x87, 0x53, 0xef, 0xcf, 0xef, 0xed, 0x70, 0xee, 0x58, 0x68, 0x84,
+ 0xea, 0xff, 0x8c, 0x85, 0xc2, 0x08, 0xba, 0x4d, 0x5b, 0x6b, 0x80, 0x46, 0xf5, 0xd6, 0x08, 0x17, 0x47, 0xd7, 0x79, 0xba, 0xda, 0x77, 0x68, 0xe6, 0x49, 0xd0, 0x47, 0xff, 0x9b, 0x1f, 0x66, 0x0c,
+ 0xed, 0xd2, 0xcb, 0x55, 0x72, 0x6e, 0x10, 0xab, 0xed, 0xec, 0x9d, 0xe8, 0xca, 0x5d, 0xed, 0x28, 0x9a, 0xd7, 0x93, 0xab, 0x3b, 0x69, 0x19, 0xd1, 0x63, 0xc8, 0x75, 0xfe, 0xc1, 0x20, 0x9c, 0xd5,
+ 0xee, 0x0a, 0x54, 0xe2, 0xdd, 0x98, 0x48, 0xd7, 0xa2, 0x09, 0xd2, 0xc9, 0x45, 0x44, 0x9a, 0x0b, 0xac, 0x9a, 0x46, 0xc4, 0x5e, 0x5e, 0x03, 0x3c, 0x69, 0x82, 0xd2, 0x92, 0x48, 0x39, 0xac, 0x74,
+ 0xee, 0x83, 0xa5, 0x66, 0x49, 0x61, 0x09, 0xa7, 0x4f, 0x6a, 0xc6, 0xe4, 0x10, 0xdf, 0x00, 0xbb, 0x29, 0xa2, 0x90, 0xe0, 0x02, 0x15, 0x16, 0xae, 0x3b, 0x8a, 0x23, 0x28, 0x8e, 0x7e, 0x2e, 0x72,
+ 0xee, 0xd7, 0xe0, 0xef, 0xf2, 0xed, 0x55, 0x9e, 0x2a, 0x79, 0xee, 0x36, 0x1f, 0x99, 0x62, 0xaf, 0x3b, 0x1e, 0x99, 0x91, 0x31, 0xe3, 0x0b, 0xb7, 0xfd, 0x07, 0x54, 0x6f, 0xae, 0x0a, 0x72, 0x67,
+ 0xef, 0x87, 0xbe, 0x89, 0xa4, 0x13, 0x65, 0x7d, 0xe8, 0x72, 0x14, 0x98, 0x55, 0x2c, 0xf9, 0xe0, 0xf3, 0xc1, 0xf7, 0x1b, 0xc6, 0x2d, 0xfa, 0x63, 0xb9, 0xf2, 0x5b, 0xbc, 0x66, 0xe8, 0x64, 0x94,
+ 0xf0, 0x21, 0x74, 0xbb, 0x75, 0xbc, 0x77, 0x4d, 0xf2, 0xd7, 0xa6, 0x3a, 0x0b, 0x0f, 0x7a, 0x04, 0x0c, 0x99, 0x07, 0x39, 0x9f, 0x97, 0xf6, 0x42, 0x74, 0x3d, 0xa9, 0x7d, 0xf3, 0x01, 0x04, 0xc7,
+ 0xf0, 0xb3, 0xd0, 0xd4, 0xc5, 0x45, 0x78, 0x80, 0xe2, 0xd9, 0xb7, 0x72, 0x8e, 0xb6, 0x4b, 0xd2, 0x88, 0xb5, 0xd4, 0xa2, 0x6e, 0xc8, 0x83, 0xf3, 0xc0, 0x94, 0x1d, 0x8a, 0xf2, 0x9d, 0x94, 0x66,
+ 0xf1, 0x86, 0x3e, 0xc8, 0xb7, 0xf4, 0x3f, 0x94, 0xad, 0x14, 0xfb, 0x0b, 0x8b, 0x4a, 0x69, 0x49, 0x7a, 0x8c, 0x65, 0xec, 0xbc, 0x2a, 0x55, 0xe0, 0xbb, 0x42, 0x0e, 0x77, 0x2b, 0x8c, 0xdc, 0x91,
+ 0xf1, 0x97, 0xa1, 0x71, 0xa0, 0x9a, 0xb6, 0x40, 0xaa, 0x8a, 0xc4, 0xff, 0x7d, 0xdf, 0xc8, 0x83, 0x77, 0xa8, 0x9f, 0xdb, 0xb3, 0xfe, 0xe0, 0x14, 0xab, 0xb9, 0x09, 0x7d, 0x92, 0x57, 0x5b, 0x67,
+ 0xf1, 0xb4, 0xf6, 0x51, 0x3b, 0x0d, 0x54, 0x4a, 0x68, 0x8d, 0x13, 0xad, 0xc2, 0x91, 0xef, 0xa8, 0xc5, 0x9f, 0x42, 0x0c, 0xa5, 0xdc, 0xb2, 0x3e, 0x0b, 0x5a, 0x06, 0xfa, 0x7e, 0x0d, 0x08, 0x3d,
+ 0xf1, 0xca, 0xd3, 0xac, 0x00, 0x5b, 0x57, 0xd6, 0xe2, 0x2e, 0xa5, 0x7b, 0x9e, 0xbe, 0x1e, 0xe9, 0xe5, 0x05, 0x2b, 0xdd, 0xa4, 0x99, 0xf5, 0xf2, 0xc1, 0x36, 0x43, 0x17, 0xde, 0x87, 0xa7, 0x94,
+ 0xf2, 0x54, 0x08, 0x77, 0x46, 0xfd, 0xb5, 0xd9, 0xd9, 0xea, 0xe6, 0xdf, 0x45, 0x84, 0x85, 0x75, 0x2b, 0xeb, 0x0f, 0xcf, 0x29, 0x5c, 0x36, 0xd2, 0x73, 0x51, 0x1b, 0x45, 0xf7, 0x48, 0x02, 0x87,
+ 0xf2, 0x77, 0xaf, 0x4f, 0x9b, 0xdc, 0x91, 0x8a, 0xe8, 0x9f, 0xa3, 0x5c, 0xc1, 0xb3, 0x4e, 0x34, 0x98, 0x4c, 0x04, 0xae, 0x97, 0x65, 0x32, 0x2c, 0x3c, 0xb0, 0x49, 0x57, 0x4d, 0x36, 0x50, 0x9c,
+ 0xf2, 0xa1, 0x6d, 0x35, 0xb5, 0x54, 0x69, 0x41, 0x87, 0xa7, 0x0d, 0x40, 0xca, 0x68, 0x29, 0x59, 0xf4, 0xf3, 0x5c, 0x2c, 0xe0, 0xea, 0xb8, 0xfd, 0x64, 0xf7, 0xac, 0x2a, 0xb9, 0xf5, 0xc2, 0x4a,
+ 0xf2, 0xa7, 0x44, 0x64, 0x23, 0x52, 0x48, 0xea, 0x2a, 0x41, 0xea, 0x0d, 0x02, 0x56, 0xe9, 0xcd, 0xd2, 0x4b, 0xb6, 0xb3, 0xe2, 0xa6, 0xf2, 0xfc, 0x7e, 0x0a, 0xad, 0xc8, 0x6e, 0xc5, 0x6c, 0xa1,
+ 0xf3, 0x1f, 0xd4, 0x61, 0xc5, 0xe9, 0x95, 0x10, 0x40, 0x3f, 0xc9, 0x7c, 0x1d, 0xa2, 0xd8, 0xa9, 0xcb, 0xe2, 0x70, 0x59, 0x7d, 0x32, 0xba, 0xdf, 0x8f, 0xd6, 0x6b, 0x77, 0x49, 0x5f, 0x8d, 0x94,
+ 0xf3, 0x30, 0xf2, 0x3c, 0x09, 0x77, 0x2a, 0x64, 0xe1, 0x47, 0x8a, 0x19, 0xce, 0x00, 0x3f, 0xab, 0xca, 0x4f, 0x52, 0xa9, 0x43, 0x1a, 0x8c, 0x68, 0x03, 0x01, 0x9a, 0xd5, 0x32, 0xd7, 0xdd, 0xc8,
+ 0xf3, 0x37, 0x27, 0xb5, 0x4a, 0x99, 0x08, 0xce, 0xc7, 0xed, 0x8d, 0xb5, 0x82, 0xa1, 0x48, 0x24, 0x20, 0xfa, 0x25, 0x7b, 0x61, 0xb5, 0x59, 0xc4, 0x73, 0x43, 0x11, 0x08, 0x72, 0xad, 0xf7, 0xd8,
+ 0xf3, 0xd3, 0x89, 0x50, 0xa3, 0xca, 0xcf, 0x61, 0xc9, 0x4d, 0xb9, 0x15, 0x35, 0x76, 0x19, 0x4e, 0x95, 0x3b, 0x57, 0x85, 0x63, 0x71, 0x59, 0xb3, 0xaa, 0x6f, 0x1e, 0x92, 0x32, 0x20, 0xea, 0xd4,
+ 0xf4, 0x8e, 0x6d, 0xd8, 0x71, 0x8e, 0x95, 0x3b, 0x60, 0xa2, 0x4f, 0x2c, 0xbe, 0xa6, 0x0a, 0x95, 0x21, 0xde, 0xae, 0x67, 0xdb, 0x25, 0x42, 0x5b, 0x7d, 0x3a, 0xce, 0x3c, 0x51, 0x7d, 0xd9, 0xb7,
+ 0xf4, 0xd7, 0xd6, 0xf0, 0xd8, 0x20, 0xf7, 0x49, 0xa4, 0x42, 0xda, 0xb0, 0xa3, 0x4d, 0x53, 0xa7, 0x1c, 0xe4, 0x7d, 0xf5, 0x1d, 0xe0, 0x7e, 0x67, 0x23, 0xab, 0x84, 0x81, 0x08, 0xad, 0x19, 0x45,
+ 0xf4, 0xd8, 0xea, 0xd6, 0xc3, 0x25, 0x03, 0x05, 0x38, 0xd1, 0x0e, 0xbb, 0x39, 0xf0, 0xef, 0xdc, 0x2f, 0x55, 0x37, 0x94, 0xc1, 0x4a, 0x5e, 0x45, 0xf9, 0x55, 0x5c, 0x33, 0x59, 0x25, 0xd9, 0xd3,
+ 0xf4, 0xdc, 0x5a, 0x40, 0xd2, 0xa9, 0xdb, 0xda, 0xb2, 0x10, 0xba, 0xe0, 0xc5, 0x08, 0xe0, 0x53, 0xae, 0x98, 0x6c, 0x4d, 0xa4, 0x2d, 0x68, 0x76, 0x0a, 0x16, 0x55, 0xd6, 0xfb, 0xae, 0xc0, 0x51,
+ 0xf5, 0x1b, 0xc0, 0xb8, 0xfc, 0xe1, 0xba, 0xe7, 0x1b, 0x76, 0xcb, 0x3a, 0xde, 0x28, 0xb7, 0x12, 0x66, 0x9d, 0x4e, 0x93, 0x8f, 0xd3, 0x7c, 0x9f, 0x58, 0x72, 0x49, 0x3a, 0xcc, 0x25, 0xfa, 0xe1,
+ 0xf5, 0x58, 0xe0, 0x4e, 0xf9, 0x9b, 0x39, 0xa1, 0x01, 0x2e, 0x8b, 0xc2, 0x68, 0x57, 0x28, 0xd9, 0x83, 0xc6, 0x82, 0xcf, 0x5e, 0x6f, 0x7e, 0x4d, 0x33, 0x5a, 0x66, 0x02, 0x83, 0xd7, 0xc6, 0x66,
+ 0xf5, 0xd3, 0x96, 0xfc, 0x5a, 0xd8, 0xb7, 0xea, 0xc2, 0x26, 0x52, 0x12, 0x9d, 0x56, 0x44, 0x9d, 0xc3, 0x0b, 0x69, 0x65, 0xce, 0x3e, 0x41, 0xf5, 0xd7, 0x65, 0x90, 0xe3, 0xb1, 0xec, 0xfe, 0x62,
+ 0xf5, 0xe8, 0x92, 0xdd, 0x6e, 0xc4, 0xc2, 0xde, 0xfa, 0x4a, 0x49, 0x5c, 0x09, 0x21, 0x9b, 0x62, 0x13, 0x79, 0xb6, 0x4d, 0xa3, 0xd1, 0xb2, 0xe3, 0x4a, 0xdf, 0x4b, 0x5f, 0x11, 0x02, 0xbd, 0x39,
+ 0xf7, 0x49, 0x47, 0x59, 0x0a, 0x87, 0xa0, 0x05, 0x02, 0x3e, 0x9e, 0xf8, 0x9c, 0xdf, 0x0c, 0x38, 0xd8, 0xd5, 0x82, 0xca, 0x41, 0x73, 0xf8, 0x20, 0x1c, 0xeb, 0xc4, 0x43, 0xef, 0x79, 0x67, 0x90,
+ 0xf7, 0xe4, 0xc7, 0xfb, 0x10, 0x75, 0x5a, 0xc5, 0x34, 0xbc, 0xdf, 0x61, 0xaa, 0x7f, 0xa1, 0x85, 0x39, 0xe4, 0x2e, 0x06, 0x1c, 0x24, 0x78, 0x91, 0xe9, 0xba, 0x42, 0xe1, 0x72, 0x90, 0xc7, 0x42,
+ 0xf8, 0xdd, 0x22, 0x81, 0xc6, 0x7c, 0x59, 0xa0, 0x8f, 0xdd, 0xc9, 0x85, 0x9e, 0x9d, 0x5f, 0xf7, 0x38, 0x02, 0xca, 0xd8, 0x89, 0x75, 0x24, 0x2b, 0xd1, 0x14, 0x86, 0xf1, 0x3c, 0x6d, 0xda, 0x6b,
+ 0xf8, 0xf3, 0x8c, 0x4f, 0xeb, 0xe9, 0xd8, 0xe4, 0x5e, 0x71, 0xa4, 0x59, 0xc5, 0xbf, 0xf1, 0x71, 0x75, 0x5c, 0x34, 0x8d, 0x5f, 0x61, 0x9f, 0x3c, 0x6e, 0xf3, 0x0a, 0x3f, 0x8f, 0xd0, 0x2b, 0xd1,
+ 0xf9, 0x23, 0xef, 0xa6, 0x61, 0x5c, 0xe9, 0xa9, 0x3e, 0x5d, 0x69, 0x96, 0x3b, 0x30, 0xad, 0xb0, 0x0f, 0x2d, 0x20, 0x59, 0x11, 0x3f, 0x55, 0xba, 0xbc, 0x47, 0x7b, 0xa8, 0x89, 0x84, 0x1f, 0x29,
+ 0xfa, 0xbc, 0x37, 0x9d, 0xf3, 0x95, 0xe6, 0xf5, 0x24, 0x72, 0xb4, 0x4f, 0xa5, 0x08, 0x2f, 0x9f, 0x0e, 0x0d, 0xa4, 0x80, 0xf0, 0x51, 0x98, 0xc6, 0x68, 0x14, 0xb7, 0x05, 0x5b, 0x03, 0xf4, 0x46,
+ 0xfb, 0x0b, 0xbc, 0x25, 0x6a, 0xea, 0x5c, 0xf9, 0x3d, 0xa9, 0x9c, 0xf2, 0x64, 0x81, 0xcc, 0x42, 0xf4, 0xe7, 0xba, 0x6b, 0x32, 0xdb, 0x63, 0xb8, 0x27, 0x62, 0x08, 0x07, 0xe7, 0x9e, 0x80, 0x5c,
+ 0xfc, 0x73, 0x60, 0x34, 0xeb, 0xab, 0x00, 0x47, 0x76, 0x58, 0x1c, 0xe9, 0xa6, 0xc1, 0x12, 0x10, 0x6d, 0xfd, 0xdf, 0xab, 0xb3, 0x15, 0xb1, 0xf0, 0xa4, 0xd0, 0x84, 0x2d, 0x67, 0x30, 0x84, 0x29,
+ 0xfd, 0x30, 0x62, 0x35, 0x8e, 0x0e, 0x1d, 0xc4, 0xc3, 0xa6, 0x03, 0x80, 0xef, 0x1b, 0xdf, 0xd4, 0xc5, 0x1f, 0x44, 0x73, 0xb8, 0x60, 0x09, 0x37, 0xd9, 0x21, 0xdf, 0x47, 0x2f, 0xbf, 0x9b, 0x65,
+ 0xfd, 0x45, 0x91, 0xad, 0xd2, 0xe5, 0xb0, 0x66, 0x43, 0x63, 0x72, 0x0c, 0x71, 0x49, 0x29, 0x82, 0xd5, 0xb2, 0x23, 0xa1, 0x41, 0xa6, 0x24, 0x82, 0x46, 0xcd, 0x23, 0x81, 0xf6, 0x7e, 0x92, 0x6c,
+ 0xfd, 0xbe, 0x6c, 0x45, 0xf2, 0x41, 0x44, 0x21, 0x56, 0x2d, 0x81, 0x2e, 0xb6, 0x7c, 0x5f, 0xa0, 0xcf, 0xd0, 0xd4, 0x0a, 0xfe, 0x2c, 0xf0, 0xcd, 0xdc, 0x5e, 0x09, 0x05, 0x4a, 0xcb, 0x4f, 0xe5,
+ 0xfe, 0x0e, 0x58, 0x84, 0x6c, 0x40, 0x71, 0x7f, 0xed, 0xe6, 0xa1, 0xe0, 0xd6, 0xa0, 0x54, 0x6c, 0xbf, 0x8b, 0x8c, 0xf0, 0xb8, 0x22, 0x58, 0xfc, 0x16, 0xd0, 0x5b, 0xab, 0x58, 0x10, 0x7d, 0x34,
+ 0xff, 0xd7, 0x68, 0x8e, 0x7d, 0x2b, 0x8c, 0x3c, 0x31, 0x40, 0xb4, 0x15, 0xe7, 0x28, 0xbb, 0xe7, 0x66, 0x3c, 0x54, 0xe2, 0x3b, 0xd2, 0x88, 0xff, 0x2c, 0xf4, 0x61, 0x78, 0x35, 0x08, 0x8f, 0x39,
+ 0xff, 0xf4, 0x21, 0xa9, 0xdc, 0xd3, 0xef, 0x38, 0xad, 0x58, 0x5e, 0x8b, 0xac, 0xa4, 0x08, 0xac, 0x2e, 0x4c, 0xdb, 0xdf, 0xa6, 0x79, 0x90, 0x0e, 0xc1, 0x70, 0x89, 0x62, 0x4e, 0x31, 0x0a, 0xda,
+};
diff --git a/src/dev.c b/src/dev.c
index 49a64570..801fb124 100644
--- a/src/dev.c
+++ b/src/dev.c
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Device detection and enumeration
- * Copyright © 2014-2026 Pete Batard
+ * Copyright © 2014-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -137,7 +137,7 @@ BOOL CyclePort(int index)
DWORD size;
USB_CYCLE_PORT_PARAMS cycle_port;
- if_assert_fails(index < MAX_DRIVES)
+ if_not_assert(index < MAX_DRIVES)
return -1;
// Wait at least 10 secs between resets
if (GetTickCount64() < LastReset + 10000ULL) {
@@ -191,7 +191,7 @@ int CycleDevice(int index)
SP_DEVINFO_DATA dev_info_data;
SP_PROPCHANGE_PARAMS propchange_params;
- if_assert_fails(index < MAX_DRIVES)
+ if_not_assert(index < MAX_DRIVES)
return ERROR_INVALID_DRIVE;
if ((index < 0) || (safe_strlen(rufus_drive[index].id) < 8))
return ERROR_INVALID_PARAMETER;
@@ -293,9 +293,7 @@ static __inline BOOL IsVHD(const char* buffer)
"VMware__VMware_Virtual_S" // Enabled through a cheat mode, as this lists primary disks on VMWare instances
};
- if (buffer == NULL || buffer[0] == '\0')
- return FALSE;
- for (i = 0; i < (int)(ARRAYSIZE(vhd_name) - (enable_vmdk ? 0 : 1)); i++)
+ for (i = 0; i < (int)(ARRAYSIZE(vhd_name)-(enable_vmdk?0:1)); i++)
if (safe_strstr(buffer, vhd_name[i]) != NULL)
return TRUE;
return FALSE;
@@ -420,9 +418,9 @@ BOOL GetOpticalMedia(IMG_SAVE* img_save)
/* For debugging user reports of HDDs vs UFDs */
//#define FORCED_DEVICE
#ifdef FORCED_DEVICE
-#define FORCED_VID 0x0781
-#define FORCED_PID 0x55A9
-#define FORCED_NAME " USB SanDisk 3.2Gen1 UAS Device"
+#define FORCED_VID 0x04E8
+#define FORCED_PID 0x61ED
+#define FORCED_NAME "Samsung uSD Card Reader USB Device"
#endif
void ClearDrives(void)
@@ -475,7 +473,7 @@ BOOL GetDevices(DWORD devnum)
const char* windows_sandbox_vhd_label = "PortableBaseLayer";
// Hash table and String Array used to match a Device ID with the parent hub's Device Interface Path
htab_table htab_devid = HTAB_EMPTY;
- StrArray dev_if_path = { 0 };
+ StrArray dev_if_path;
char letter_name[] = " (?:)";
char drive_name[] = "?:\\";
char setting_name[32];
@@ -494,7 +492,7 @@ BOOL GetDevices(DWORD devnum)
LONG maxwidth = 0;
int s, u, v, score, drive_number, remove_drive, num_drives = 0;
char drive_letters[27], *device_id, *devid_list = NULL, display_msg[128];
- char *p, *label, *display_name, buffer[4 * KB], str[MAX_PATH], device_instance_id[MAX_PATH], *method_str, *hub_path;
+ char *p, *label, *display_name, buffer[MAX_PATH], str[MAX_PATH], device_instance_id[MAX_PATH], *method_str, *hub_path;
uint32_t ignore_vid_pid[MAX_IGNORE_USB];
uint64_t drive_size = 0;
usb_device_props props;
@@ -562,7 +560,7 @@ BOOL GetDevices(DWORD devnum)
// Build a single list of Device IDs from all the storage enumerators we know of
full_list_size = 0;
ulFlags = CM_GETIDLIST_FILTER_SERVICE | CM_GETIDLIST_FILTER_PRESENT;
- for (s = 0; s < ARRAYSIZE(usbstor_name); s++) {
+ for (s=0; s 0) && (uasp_start < ARRAYSIZE(usbstor_name)))
+ if_not_assert((uasp_start > 0) && (uasp_start < ARRAYSIZE(usbstor_name)))
goto out;
- if_assert_fails((card_start > 0) && (card_start < ARRAYSIZE(genstor_name)))
+ if_not_assert((card_start > 0) && (card_start < ARRAYSIZE(genstor_name)))
goto out;
devid_list = NULL;
@@ -629,7 +627,6 @@ BOOL GetDevices(DWORD devnum)
for (i = 0; num_drives < MAX_DRIVES && SetupDiEnumDeviceInfo(dev_info, i, &dev_info_data); i++) {
memset(buffer, 0, sizeof(buffer));
memset(&props, 0, sizeof(props));
- props.vid = -1; props.pid = -1;
method_str = "";
hub_path = NULL;
if (!SetupDiGetDeviceRegistryPropertyA(dev_info, &dev_info_data, SPDRP_ENUMERATOR_NAME,
@@ -666,13 +663,8 @@ BOOL GetDevices(DWORD devnum)
// We can't use the friendly name to find if a drive is a VHD, as friendly name string gets translated
// according to your locale, so we poke the Hardware ID
memset(buffer, 0, sizeof(buffer));
- r = SetupDiGetDeviceRegistryPropertyA(dev_info, &dev_info_data, SPDRP_HARDWAREID,
- &data_type, (LPBYTE)buffer, sizeof(buffer), &size);
- // We should always be able to get a Hardware ID for disk devices, so report an error in debug if we don't
- if (!r && usb_debug)
- uprintf(" Error: %s", WindowsErrorString());
- props.is_VHD = IsVHD(buffer);
- if (!props.is_VHD)
+ props.is_VHD = SetupDiGetDeviceRegistryPropertyA(dev_info, &dev_info_data, SPDRP_HARDWAREID,
+ &data_type, (LPBYTE)buffer, sizeof(buffer), &size) && IsVHD(buffer);
// Additional detection for SCSI card readers
if ((!props.is_CARD) && (safe_strnicmp(buffer, scsi_disk_prefix, sizeof(scsi_disk_prefix)-1) == 0)) {
for (j = 0; j < ARRAYSIZE(scsi_card_name); j++) {
@@ -683,7 +675,7 @@ BOOL GetDevices(DWORD devnum)
}
// Also test for "_SD&" instead of "_SD_" and so on to allow for devices like
// "SCSI\DiskRicoh_Storage_SD&REV_3.0" to be detected.
- if_assert_fails(strlen(scsi_card_name_copy) > 1)
+ if_not_assert(strlen(scsi_card_name_copy) > 1)
continue;
scsi_card_name_copy[strlen(scsi_card_name_copy) - 1] = '&';
if (safe_strstr(buffer, scsi_card_name_copy) != NULL) {
@@ -739,7 +731,7 @@ BOOL GetDevices(DWORD devnum)
method_str = "";
// If we're not dealing with the USBSTOR part of our list, then this is an UASP device
- props.is_UASP = ((((uintptr_t)device_id) + 2) >= ((uintptr_t)devid_list) + list_start[uasp_start]);
+ props.is_UASP = ((((uintptr_t)device_id)+2) >= ((uintptr_t)devid_list)+list_start[uasp_start]);
// Now get the properties of the device, and its Device ID, which we need to populate the properties
ToUpper(device_id);
j = htab_hash(device_id, &htab_devid);
@@ -747,23 +739,19 @@ BOOL GetDevices(DWORD devnum)
// Try to parse the current device_id string for VID:PID
// We'll use that if we can't get anything better
- for (k = 0, l = 0; (k < strlen(device_id)) && (l < 2); k++) {
+ for (k = 0, l = 0; (k 0),
@@ -780,7 +768,7 @@ BOOL GetDevices(DWORD devnum)
uuprintf(" Matched with (GP) ID[%03d]: %s", j, device_id);
}
if ((uintptr_t)htab_devid.table[j].data > 0) {
- uuprintf(" Matched with Hub[%llu]: '%s'", (uintptr_t)htab_devid.table[j].data,
+ uuprintf(" Matched with Hub[%d]: '%s'", (uintptr_t)htab_devid.table[j].data,
dev_if_path.String[(uintptr_t)htab_devid.table[j].data]);
if (GetUSBProperties(dev_if_path.String[(uintptr_t)htab_devid.table[j].data], device_id, &props)) {
method_str = "";
@@ -817,7 +805,7 @@ BOOL GetDevices(DWORD devnum)
}
uprintf("Found non-USB removable device '%s'", buffer);
} else {
- if (props.vid == -1 || props.pid == -1) {
+ if ((props.vid == 0) && (props.pid == 0)) {
if (!props.is_USB) {
// If we have a non removable SCSI drive and couldn't get a VID:PID,
// we are most likely dealing with a system drive => eliminate it!
@@ -838,8 +826,7 @@ BOOL GetDevices(DWORD devnum)
}
// Also ignore USB devices that have been specifically flagged by the user
for (s = 0; s < ARRAYSIZE(ignore_vid_pid); s++) {
- if (ignore_vid_pid[s] != 0 && (props.vid == (ignore_vid_pid[s] >> 16)) &&
- (props.pid == (ignore_vid_pid[s] & 0xffff))) {
+ if ((props.vid == (ignore_vid_pid[s] >> 16)) && (props.pid == (ignore_vid_pid[s] & 0xffff))) {
uprintf("Ignoring '%s' (%s), per user settings", buffer, str);
break;
}
@@ -890,8 +877,8 @@ BOOL GetDevices(DWORD devnum)
continue;
}
- hDrive = CreateFileWithTimeout(devint_detail_data->DevicePath, GENERIC_READ|GENERIC_WRITE,
- FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL, 3000);
+ hDrive = CreateFileA(devint_detail_data->DevicePath, GENERIC_READ|GENERIC_WRITE,
+ FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if(hDrive == INVALID_HANDLE_VALUE) {
uprintf("Could not open '%s': %s", devint_detail_data->DevicePath, WindowsErrorString());
continue;
@@ -940,9 +927,9 @@ BOOL GetDevices(DWORD devnum)
}
if ((!enable_HDDs) && (!props.is_VHD) && (!props.is_CARD) &&
((score = IsHDD(drive_index, (uint16_t)props.vid, (uint16_t)props.pid, buffer)) > 0)) {
- uprintf("Device eliminated because it was detected as a Hard Drive or SSD (score %d > 0)", score);
+ uprintf("Device eliminated because it was detected as a Hard Drive (score %d > 0)", score);
if (!list_non_usb_removable_drives)
- uprintf("If this device is not a Hard Drive or SSD, please e-mail the author of this application");
+ uprintf("If this device is not a Hard Drive, please e-mail the author of this application");
uprintf("NOTE: You can enable the listing of Hard Drives under 'advanced drive properties'");
safe_free(devint_detail_data);
break;
@@ -956,9 +943,6 @@ BOOL GetDevices(DWORD devnum)
uprintf("Device eliminated because it was detected as a Microsoft Dev Drive");
safe_free(devint_detail_data);
break;
- } else if (IsFilteredDrive(drive_index)) {
- safe_free(devint_detail_data);
- break;
}
// Windows 10 19H1 mounts a 'PortableBaseLayer' for its Windows Sandbox feature => unlist those
if (safe_strcmp(label, windows_sandbox_vhd_label) == 0) {
@@ -966,12 +950,6 @@ BOOL GetDevices(DWORD devnum)
safe_free(devint_detail_data);
break;
}
- // Bitdefender now uses a special 32 MB VHD
- if (props.is_VHD && safe_strnicmp(label, "Bitdefender", 11) == 0 && GetDriveSize(drive_index) <= 32 * MB) {
- uprintf("Device eliminated because it is a Bitdefender VHD");
- safe_free(devint_detail_data);
- break;
- }
if (props.is_VHD && (!enable_VHDs)) {
uprintf("Device eliminated because listing of VHDs is disabled (Alt-G)");
safe_free(devint_detail_data);
@@ -1026,7 +1004,7 @@ BOOL GetDevices(DWORD devnum)
rufus_drive[num_drives].display_name = safe_strdup(display_name);
rufus_drive[num_drives].label = safe_strdup(label);
rufus_drive[num_drives].size = drive_size;
- if_assert_fails(rufus_drive[num_drives].size != 0)
+ if_not_assert(rufus_drive[num_drives].size != 0)
break;
if (hub_path != NULL) {
rufus_drive[num_drives].hub = safe_strdup(hub_path);
@@ -1034,7 +1012,7 @@ BOOL GetDevices(DWORD devnum)
}
num_drives++;
if (num_drives >= MAX_DRIVES)
- uprintf("WARNING: Found more than %d drives - ignoring remaining ones...", MAX_DRIVES);
+ uprintf("Warning: Found more than %d drives - ignoring remaining ones...", MAX_DRIVES);
safe_free(devint_detail_data);
break;
}
diff --git a/src/dev.h b/src/dev.h
index d0543d13..f7415295 100644
--- a/src/dev.h
+++ b/src/dev.h
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Device detection and enumeration
- * Copyright © 2014-2026 Pete Batard
+ * Copyright © 2014-2019 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -30,8 +30,8 @@
/* List of the properties we are interested in */
typedef struct usb_device_props {
- int32_t vid;
- int32_t pid;
+ uint32_t vid;
+ uint32_t pid;
uint32_t speed;
uint32_t lower_speed;
uint32_t port;
@@ -46,6 +46,20 @@ typedef struct usb_device_props {
/*
* Windows DDK API definitions. Most of it copied from MinGW's includes
*/
+typedef DWORD DEVNODE, DEVINST;
+typedef DEVNODE *PDEVNODE, *PDEVINST;
+typedef DWORD RETURN_TYPE;
+typedef RETURN_TYPE CONFIGRET;
+typedef CHAR *DEVINSTID_A;
+
+#ifndef CM_GETIDLIST_FILTER_PRESENT
+#define CM_GETIDLIST_FILTER_PRESENT 0x00000100
+#endif
+
+#ifndef FILE_DEVICE_USB
+#define FILE_DEVICE_USB FILE_DEVICE_UNKNOWN
+#endif
+
typedef enum USB_CONNECTION_STATUS {
NoDeviceConnected,
DeviceConnected,
@@ -63,16 +77,26 @@ typedef enum USB_HUB_NODE {
UsbMIParent
} USB_HUB_NODE;
+/* Cfgmgr32.dll interface */
+DECLSPEC_IMPORT CONFIGRET WINAPI CM_Get_Device_IDA(DEVINST dnDevInst, CHAR* Buffer, ULONG BufferLen, ULONG ulFlags);
+DECLSPEC_IMPORT CONFIGRET WINAPI CM_Get_Device_ID_List_SizeA(PULONG pulLen, PCSTR pszFilter, ULONG ulFlags);
+DECLSPEC_IMPORT CONFIGRET WINAPI CM_Get_Device_ID_ListA(PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags);
+DECLSPEC_IMPORT CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags);
+DECLSPEC_IMPORT CONFIGRET WINAPI CM_Get_Child(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags);
+DECLSPEC_IMPORT CONFIGRET WINAPI CM_Get_Parent(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags);
+DECLSPEC_IMPORT CONFIGRET WINAPI CM_Get_Sibling(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags);
+DECLSPEC_IMPORT CONFIGRET WINAPI CM_Get_DevNode_Status(PULONG pulStatus, PULONG pulProblemNumber, DEVINST dnDevInst, ULONG ulFlags);
+
#define USB_HUB_CYCLE_PORT 273
#define USB_GET_NODE_CONNECTION_INFORMATION_EX 274
#define USB_GET_NODE_CONNECTION_INFORMATION_EX_V2 279
#define IOCTL_USB_HUB_CYCLE_PORT \
- CTL_CODE(FILE_DEVICE_UNKNOWN, USB_HUB_CYCLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS)
+ CTL_CODE(FILE_DEVICE_USB, USB_HUB_CYCLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX \
- CTL_CODE(FILE_DEVICE_UNKNOWN, USB_GET_NODE_CONNECTION_INFORMATION_EX, METHOD_BUFFERED, FILE_ANY_ACCESS)
+ CTL_CODE(FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_INFORMATION_EX, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2 \
- CTL_CODE(FILE_DEVICE_UNKNOWN, USB_GET_NODE_CONNECTION_INFORMATION_EX_V2, METHOD_BUFFERED, FILE_ANY_ACCESS)
+ CTL_CODE(FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_INFORMATION_EX_V2, METHOD_BUFFERED, FILE_ANY_ACCESS)
/* Most of the structures below need to be packed */
#pragma pack(push, 1)
diff --git a/src/dos.c b/src/dos.c
index dcbae4fb..f4b3f1cc 100644
--- a/src/dos.c
+++ b/src/dos.c
@@ -2,7 +2,7 @@
* Rufus: The Reliable USB Formatting Utility
* DOS boot file extraction, from the FAT12 floppy image in diskcopy.dll
* (MS WinME DOS) or from the embedded FreeDOS resource files
- * Copyright © 2011-2026 Pete Batard
+ * Copyright © 2011-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -290,25 +290,21 @@ static BOOL ExtractMSDOS(const char* path)
{
int i, j;
BOOL r = FALSE;
- DWORD size = DISKCOPY_SIZE;
- HANDLE dll_handle = INVALID_HANDLE_VALUE;
- uint8_t* diskcopy_buffer;
+ uint8_t* diskcopy_buffer = NULL;
char locale_path[MAX_PATH];
char diskcopy_dll_path[MAX_PATH];
char* extractlist[] = { "MSDOS SYS", "COMMAND COM", "IO SYS", "MODE COM",
"KEYB COM", "KEYBOARDSYS", "KEYBRD2 SYS", "KEYBRD3 SYS", "KEYBRD4 SYS",
"DISPLAY SYS", "EGA CPI", "EGA2 CPI", "EGA3 CPI" };
- if (path == NULL || (diskcopy_buffer = malloc(DISKCOPY_SIZE)) == NULL)
+ if (path == NULL)
return FALSE;
// There should be a diskcopy.dll in the user's AppData directory.
- // Since we're working with a known copy of diskcopy.dll, just load it in memory
- // (after locking and validating it) and point to the known disk image resource buffer.
+ // Since we're working with a known copy of diskcopy.dll, just load it
+ // in memory and point to the known disk image resource buffer.
static_sprintf(diskcopy_dll_path, "%s\\%s\\diskcopy.dll", app_data_dir, FILES_DIR);
- dll_handle = CreateFileU(diskcopy_dll_path, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
- if (dll_handle == INVALID_HANDLE_VALUE || !ReadFile(dll_handle, diskcopy_buffer, size, &size, NULL) ||
- size != DISKCOPY_SIZE || !BufferMatchesHash(diskcopy_buffer, size, DISKCOPY_HASH)) {
+ if (read_file(diskcopy_dll_path, &diskcopy_buffer) != DISKCOPY_SIZE) {
uprintf("'diskcopy.dll' was either not found or is invalid");
goto out;
}
@@ -335,7 +331,6 @@ static BOOL ExtractMSDOS(const char* path)
r = SetDOSLocale(path, FALSE);
out:
- safe_closehandle(dll_handle);
safe_free(diskcopy_buffer);
return r;
}
diff --git a/src/drive.c b/src/drive.c
index 0b9a27eb..8d0514d8 100644
--- a/src/drive.c
+++ b/src/drive.c
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Drive access function calls
- * Copyright © 2011-2026 Pete Batard
+ * Copyright © 2011-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,7 +33,6 @@
#endif
#include "rufus.h"
-#include "ntdll.h"
#include "missing.h"
#include "resource.h"
#include "settings.h"
@@ -67,9 +66,7 @@ const IID IID_IVdsVolume = { 0x88306BB2, 0xE71F, 0x478C, { 0x86, 0xA2, 0x79, 0xD
const IID IID_IVdsVolumeMF3 = { 0x6788FAF9, 0x214E, 0x4B85, { 0xBA, 0x59, 0x26, 0x69, 0x53, 0x61, 0x6E, 0x09 } };
#endif
-#ifndef PERSISTENT_VOLUME_STATE_DEV_VOLUME
-#define PERSISTENT_VOLUME_STATE_DEV_VOLUME (0x00002000)
-#endif
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtQueryVolumeInformationFile, (HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, FS_INFORMATION_CLASS));
/*
* Globals
@@ -170,7 +167,7 @@ static HANDLE GetHandle(char* Path, BOOL bLockDrive, BOOL bWriteAccess, BOOL bWr
uprintf("Waiting for access on %s...", Path);
} else if (!bWriteShare && (i > DRIVE_ACCESS_RETRIES/3)) {
// If we can't seem to get a hold of the drive for some time, try to enable FILE_SHARE_WRITE...
- uprintf("WARNING: Could not obtain exclusive rights. Retrying with write sharing enabled...");
+ uprintf("Warning: Could not obtain exclusive rights. Retrying with write sharing enabled...");
bWriteShare = TRUE;
// Try to report the process that is locking the drive
access_mask = GetProcessSearch(SEARCH_PROCESS_TIMEOUT, 0x07, FALSE);
@@ -283,11 +280,11 @@ char* GetLogicalName(DWORD DriveIndex, uint64_t PartitionOffset, BOOL bKeepTrail
// Sanity checks
len = safe_strlen(volume_name);
- if_assert_fails(len > 4)
+ if_not_assert(len > 4)
continue;
- if_assert_fails(safe_strnicmp(volume_name, volume_start, 4) == 0)
+ if_not_assert(safe_strnicmp(volume_name, volume_start, 4) == 0)
continue;
- if_assert_fails(volume_name[len - 1] == '\\')
+ if_not_assert(volume_name[len - 1] == '\\')
continue;
drive_type = GetDriveTypeA(volume_name);
@@ -366,7 +363,7 @@ char* GetLogicalName(DWORD DriveIndex, uint64_t PartitionOffset, BOOL bKeepTrail
// NB: We need to re-add DRIVE_INDEX_MIN for this call since CheckDriveIndex() subtracted it
ret = AltGetLogicalName(DriveIndex + DRIVE_INDEX_MIN, PartitionOffset, bKeepTrailingBackslash, bSilent);
if ((ret != NULL) && (strchr(ret, ' ') != NULL))
- uprintf("WARNING: Using physical device to access partition data");
+ uprintf("Warning: Using physical device to access partition data");
}
out:
@@ -672,7 +669,6 @@ static BOOL GetVdsDiskInterface(DWORD DriveIndex, const IID* InterfaceIID, void*
// List disks
while (IEnumVdsObject_Next(pEnumDisk, 1, &pDiskUnk, &ulFetched) == S_OK) {
- BOOL r;
VDS_DISK_PROP prop;
IVdsDisk* pDisk;
@@ -691,13 +687,13 @@ static BOOL GetVdsDiskInterface(DWORD DriveIndex, const IID* InterfaceIID, void*
suprintf("Could not query VDS Disk Properties: %s", VdsErrorString(hr));
break;
}
- hr = S_OK;
- // Check if we are on the target disk. Note that prop.pwszName can be NULL on failed disks.
- r = (prop.pwszName != NULL) && (_wcsicmp(wPhysicalName, prop.pwszName) == 0);
- CoTaskMemFree(prop.pwszName); // NB: Per MS docs, CoTaskMemFree() accepts NULL.
- if (!r) {
- IVdsDisk_Release(pDisk);
+ // Check if we are on the target disk
+ // uprintf("GetVdsDiskInterface: Seeking %S found %S", wPhysicalName, prop.pwszName);
+ hr = (HRESULT)_wcsicmp(wPhysicalName, prop.pwszName);
+ CoTaskMemFree(prop.pwszName);
+ if (hr != S_OK) {
+ hr = S_OK;
continue;
}
@@ -1101,13 +1097,15 @@ static BOOL _GetDriveLettersAndType(DWORD DriveIndex, char* drive_letters, UINT*
HANDLE hDrive = INVALID_HANDLE_VALUE, hPhysical = INVALID_HANDLE_VALUE;
UINT _drive_type;
IO_STATUS_BLOCK io_status_block;
- FILE_FS_DEVICE_INFORMATION file_fs_device_info = { 0 };
+ FILE_FS_DEVICE_INFORMATION file_fs_device_info;
BYTE geometry[256] = { 0 };
PDISK_GEOMETRY_EX DiskGeometry = (PDISK_GEOMETRY_EX)(void*)geometry;
int i = 0, drives_found = 0, drive_number;
char *drive, drives[26*4 + 1]; /* "D:\", "E:\", etc., plus one NUL */
char logical_drive[] = "\\\\.\\#:";
+ PF_INIT(NtQueryVolumeInformationFile, Ntdll);
+
if (drive_letters != NULL)
drive_letters[0] = 0;
if (drive_type != NULL)
@@ -1153,12 +1151,13 @@ static BOOL _GetDriveLettersAndType(DWORD DriveIndex, char* drive_letters, UINT*
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL, 3000);
if (hDrive == INVALID_HANDLE_VALUE) {
if (GetLastError() == WAIT_TIMEOUT)
- uprintf("WARNING: Time-out while trying to query drive %c", toupper(drive[0]));
+ uprintf("Warning: Time-out while trying to query drive %c", toupper(drive[0]));
continue;
}
// Eliminate floppy drives
- if ((NtQueryVolumeInformationFile(hDrive, &io_status_block, &file_fs_device_info,
+ if ((pfNtQueryVolumeInformationFile != NULL) &&
+ (pfNtQueryVolumeInformationFile(hDrive, &io_status_block, &file_fs_device_info,
sizeof(file_fs_device_info), FileFsDeviceInformation) == NO_ERROR) &&
(file_fs_device_info.Characteristics & FILE_FLOPPY_DISKETTE) ) {
continue;
@@ -1211,21 +1210,6 @@ UINT GetDriveTypeFromIndex(DWORD DriveIndex)
return drive_type;
}
-BOOL IsSourceImageLocatedOnTargetDrive(DWORD DriveIndex)
-{
- size_t i;
- char drive_letters[27] = { 0 };
-
- if (boot_type != BT_IMAGE || !GetDriveLetters(DriveIndex, drive_letters) || drive_letters[0] == 0)
- return FALSE;
-
- for (i = 0; i < strlen(drive_letters); i++)
- if ((PathGetDriveNumberU(image_path) + 'A') == drive_letters[i])
- return TRUE;
-
- return FALSE;
-}
-
// Removes all drive letters associated with the specific drive, and return
// either the first or last letter that was removed, according to bReturnLast.
char RemoveDriveLetters(DWORD DriveIndex, BOOL bReturnLast, BOOL bSilent)
@@ -1432,7 +1416,6 @@ const struct {int (*fn)(FILE *fp); char* str;} known_mbr[] = {
{ is_win7_mbr, "Windows 7" },
{ is_rufus_mbr, "Rufus" },
{ is_syslinux_mbr, "Syslinux" },
- { is_isolinux_mbr, "Isolinux" },
{ is_reactos_mbr, "ReactOS" },
{ is_kolibrios_mbr, "KolibriOS" },
{ is_grub4dos_mbr, "Grub4DOS" },
@@ -1562,7 +1545,7 @@ static BOOL StoreEspInfo(GUID* guid)
return WriteSettingStr(key_name[1], GuidToString(guid, TRUE));
}
-static GUID GetEspGuid(uint8_t index)
+static GUID* GetEspGuid(uint8_t index)
{
char key_name[16];
@@ -1590,7 +1573,7 @@ BOOL ToggleEsp(DWORD DriveIndex, uint64_t PartitionOffset)
HANDLE hPhysical;
DWORD dl_size, size, offset;
BYTE layout[4096] = { 0 }, buf[512];
- GUID *guid = NULL, stored_guid = { 0 }, mbr_guid;
+ GUID *guid = NULL, *stored_guid = NULL, mbr_guid;
PDRIVE_LAYOUT_INFORMATION_EX DriveLayout = (PDRIVE_LAYOUT_INFORMATION_EX)(void*)layout;
typedef struct {
const uint8_t mbr_type;
@@ -1666,7 +1649,7 @@ BOOL ToggleEsp(DWORD DriveIndex, uint64_t PartitionOffset)
// Basic Data -> ESP
for (i = 1; i <= MAX_ESP_TOGGLE && esp_index < 0; i++) {
stored_guid = GetEspGuid((uint8_t)i);
- if (!CompareGUID(&stored_guid, &GUID_NULL)) {
+ if (stored_guid != NULL) {
for (j = 0; j < (int)DriveLayout->PartitionCount && esp_index < 0; j++) {
if (DriveLayout->PartitionStyle == PARTITION_STYLE_GPT) {
guid = &DriveLayout->PartitionEntry[j].Gpt.PartitionId;
@@ -1676,7 +1659,7 @@ BOOL ToggleEsp(DWORD DriveIndex, uint64_t PartitionOffset)
*((uint64_t*)&mbr_guid.Data4) = DriveLayout->PartitionEntry[j].StartingOffset.QuadPart;
guid = &mbr_guid;
}
- if (CompareGUID(&stored_guid, guid)) {
+ if (CompareGUID(stored_guid, guid)) {
esp_index = j;
delete_data = TRUE;
if (DriveLayout->PartitionStyle == PARTITION_STYLE_GPT)
@@ -1904,19 +1887,17 @@ BOOL GetDrivePartitionData(DWORD DriveIndex, char* FileSystemName, DWORD FileSys
SelectedDrive.SectorSize = DiskGeometry->Geometry.BytesPerSector;
SelectedDrive.FirstDataSector = MAXDWORD;
if (SelectedDrive.SectorSize < 512) {
- suprintf("WARNING: Drive 0x%02x reports a sector size of %d - Correcting to 512 bytes.",
+ suprintf("Warning: Drive 0x%02x reports a sector size of %d - Correcting to 512 bytes.",
DriveIndex, SelectedDrive.SectorSize);
SelectedDrive.SectorSize = 512;
}
SelectedDrive.SectorsPerTrack = DiskGeometry->Geometry.SectorsPerTrack;
SelectedDrive.MediaType = DiskGeometry->Geometry.MediaType;
- suprintf("Disk type: %s, Disk size: %s, Sector size: %d bytes",
- (SelectedDrive.MediaType == FixedMedia) ? "FIXED" : "Removable",
- SizeToHumanReadable(SelectedDrive.DiskSize, FALSE, FALSE), SelectedDrive.SectorSize);
+ suprintf("Disk type: %s, Disk size: %s, Sector size: %d bytes", (SelectedDrive.MediaType == FixedMedia)?"FIXED":"Removable",
+ SizeToHumanReadable(SelectedDrive.DiskSize, FALSE, TRUE), SelectedDrive.SectorSize);
suprintf("Cylinders: %" PRIi64 ", Tracks per cylinder: %d, Sectors per track: %d",
- DiskGeometry->Geometry.Cylinders.QuadPart, DiskGeometry->Geometry.TracksPerCylinder, DiskGeometry->Geometry.SectorsPerTrack);
- assert(SelectedDrive.SectorSize != 0);
+ DiskGeometry->Geometry.Cylinders, DiskGeometry->Geometry.TracksPerCylinder, DiskGeometry->Geometry.SectorsPerTrack);
r = DeviceIoControl(hPhysical, IOCTL_DISK_GET_DRIVE_LAYOUT_EX, NULL, 0, layout, sizeof(layout), &size, NULL );
if (!r || size <= 0) {
@@ -1960,7 +1941,7 @@ BOOL GetDrivePartitionData(DWORD DriveIndex, char* FileSystemName, DWORD FileSys
if (buf != NULL) {
if (SetFilePointerEx(hPhysical, DriveLayout->PartitionEntry[i].StartingOffset, NULL, FILE_BEGIN) &&
ReadFile(hPhysical, buf, SelectedDrive.SectorSize, &size, NULL)) {
- isUefiNtfs = (strncmp(&buf[0x2B], "UEFI_NTFS", 9) == 0) || (strncmp(&buf[0x2B], "RUFUS_BOOT", 10) == 0);
+ isUefiNtfs = (strncmp(&buf[0x2B], "UEFI_NTFS", 9) == 0);
}
free(buf);
}
@@ -1984,7 +1965,7 @@ BOOL GetDrivePartitionData(DWORD DriveIndex, char* FileSystemName, DWORD FileSys
SizeToHumanReadable(DriveLayout->PartitionEntry[i].PartitionLength.QuadPart, TRUE, FALSE),
DriveLayout->PartitionEntry[i].PartitionLength.QuadPart,
DriveLayout->PartitionEntry[i].StartingOffset.QuadPart / SelectedDrive.SectorSize,
- DriveLayout->PartitionEntry[i].Mbr.BootIndicator ? "Yes" : "No");
+ DriveLayout->PartitionEntry[i].Mbr.BootIndicator?"Yes":"No");
// suprintf(" GUID: %s", GuidToString(&DriveLayout->PartitionEntry[i].Mbr.PartitionId));
SelectedDrive.FirstDataSector = min(SelectedDrive.FirstDataSector,
(DWORD)(DriveLayout->PartitionEntry[i].StartingOffset.QuadPart / SelectedDrive.SectorSize));
@@ -2018,7 +1999,7 @@ BOOL GetDrivePartitionData(DWORD DriveIndex, char* FileSystemName, DWORD FileSys
suprintf(" ID: %s\r\n Size: %s (%" PRIi64 " bytes)\r\n Start Sector: %" PRIi64 ", Attributes: 0x%016" PRIX64,
GuidToString(&DriveLayout->PartitionEntry[i].Gpt.PartitionId, TRUE),
SizeToHumanReadable(DriveLayout->PartitionEntry[i].PartitionLength.QuadPart, TRUE, FALSE),
- DriveLayout->PartitionEntry[i].PartitionLength.QuadPart,
+ DriveLayout->PartitionEntry[i].PartitionLength,
DriveLayout->PartitionEntry[i].StartingOffset.QuadPart / SelectedDrive.SectorSize,
DriveLayout->PartitionEntry[i].Gpt.Attributes);
SelectedDrive.FirstDataSector = min(SelectedDrive.FirstDataSector,
@@ -2147,7 +2128,7 @@ BOOL MountVolume(char* drive_name, char *volume_name)
}
uprintf("Retrying after dismount...");
if (!DeleteVolumeMountPointA(drive_name))
- uprintf("WARNING: Could not delete volume mountpoint '%s': %s", drive_name, WindowsErrorString());
+ uprintf("Warning: Could not delete volume mountpoint '%s': %s", drive_name, WindowsErrorString());
if (SetVolumeMountPointA(drive_name, volume_name))
return TRUE;
if ((GetLastError() == ERROR_DIR_NOT_EMPTY) &&
@@ -2320,7 +2301,7 @@ BOOL CreatePartition(HANDLE hDrive, int partition_style, int file_system, BOOL m
// CHS sizes that IBM imparted upon us. Long story short, we now align to a
// cylinder size that is itself aligned to the cluster size.
// If this actually breaks old systems, please send your complaints to IBM.
- SelectedDrive.Partition[pi].Offset = CEILING_ALIGN(bytes_per_track, ClusterSize);
+ SelectedDrive.Partition[pi].Offset = HI_ALIGN_X_TO_Y(bytes_per_track, ClusterSize);
// GRUB2 no longer fits in the usual 31½ KB that the above computation provides
// so just unconditionally double that size and get on with it.
SelectedDrive.Partition[pi].Offset *= 2;
@@ -2337,9 +2318,9 @@ BOOL CreatePartition(HANDLE hDrive, int partition_style, int file_system, BOOL m
SelectedDrive.Partition[pi].Size = esp_size;
SelectedDrive.Partition[pi + 1].Offset = SelectedDrive.Partition[pi].Offset + SelectedDrive.Partition[pi].Size;
// Align next partition to track and cluster
- SelectedDrive.Partition[pi + 1].Offset = CEILING_ALIGN(SelectedDrive.Partition[pi + 1].Offset, bytes_per_track);
+ SelectedDrive.Partition[pi + 1].Offset = HI_ALIGN_X_TO_Y(SelectedDrive.Partition[pi + 1].Offset, bytes_per_track);
if (ClusterSize % SelectedDrive.SectorSize == 0)
- SelectedDrive.Partition[pi + 1].Offset = FLOOR_ALIGN(SelectedDrive.Partition[pi + 1].Offset, ClusterSize);
+ SelectedDrive.Partition[pi + 1].Offset = LO_ALIGN_X_TO_Y(SelectedDrive.Partition[pi + 1].Offset, ClusterSize);
assert(SelectedDrive.Partition[pi + 1].Offset >= SelectedDrive.Partition[pi].Offset + SelectedDrive.Partition[pi].Size);
pi++;
// Clear the extra partition we processed
@@ -2352,9 +2333,9 @@ BOOL CreatePartition(HANDLE hDrive, int partition_style, int file_system, BOOL m
wcscpy(SelectedDrive.Partition[pi].Name, L"Microsoft Reserved Partition");
SelectedDrive.Partition[pi].Size = 128 * MB;
SelectedDrive.Partition[pi + 1].Offset = SelectedDrive.Partition[pi].Offset + SelectedDrive.Partition[pi].Size;
- SelectedDrive.Partition[pi + 1].Offset = CEILING_ALIGN(SelectedDrive.Partition[pi + 1].Offset, bytes_per_track);
+ SelectedDrive.Partition[pi + 1].Offset = HI_ALIGN_X_TO_Y(SelectedDrive.Partition[pi + 1].Offset, bytes_per_track);
if (ClusterSize % SelectedDrive.SectorSize == 0)
- SelectedDrive.Partition[pi + 1].Offset = FLOOR_ALIGN(SelectedDrive.Partition[pi + 1].Offset, ClusterSize);
+ SelectedDrive.Partition[pi + 1].Offset = LO_ALIGN_X_TO_Y(SelectedDrive.Partition[pi + 1].Offset, ClusterSize);
assert(SelectedDrive.Partition[pi + 1].Offset >= SelectedDrive.Partition[pi].Offset + SelectedDrive.Partition[pi].Size);
pi++;
extra_partitions &= ~(XP_MSR);
@@ -2373,16 +2354,16 @@ BOOL CreatePartition(HANDLE hDrive, int partition_style, int file_system, BOOL m
assert(persistence_size != 0);
partition_index[PI_CASPER] = pi;
wcscpy(SelectedDrive.Partition[pi].Name, L"Linux Persistence");
- SelectedDrive.Partition[pi++].Size = CEILING_ALIGN(persistence_size, bytes_per_track);
+ SelectedDrive.Partition[pi++].Size = HI_ALIGN_X_TO_Y(persistence_size, bytes_per_track);
}
if (extra_partitions & XP_ESP) {
partition_index[PI_ESP] = pi;
wcscpy(SelectedDrive.Partition[pi].Name, L"EFI System Partition");
- SelectedDrive.Partition[pi++].Size = CEILING_ALIGN(esp_size, bytes_per_track);
+ SelectedDrive.Partition[pi++].Size = HI_ALIGN_X_TO_Y(esp_size, bytes_per_track);
} else if (extra_partitions & XP_UEFI_NTFS) {
partition_index[PI_UEFI_NTFS] = pi;
wcscpy(SelectedDrive.Partition[pi].Name, L"UEFI:NTFS");
- SelectedDrive.Partition[pi++].Size = CEILING_ALIGN(uefi_ntfs_size, bytes_per_track);
+ SelectedDrive.Partition[pi++].Size = HI_ALIGN_X_TO_Y(uefi_ntfs_size, bytes_per_track);
} else if (extra_partitions & XP_COMPAT) {
wcscpy(SelectedDrive.Partition[pi].Name, L"BIOS Compatibility");
SelectedDrive.Partition[pi++].Size = bytes_per_track; // One track for the extra partition
@@ -2398,13 +2379,13 @@ BOOL CreatePartition(HANDLE hDrive, int partition_style, int file_system, BOOL m
last_offset -= 33ULL * SelectedDrive.SectorSize;
for (i = pi - 1; i > mi; i--) {
assert(SelectedDrive.Partition[i].Size < last_offset);
- SelectedDrive.Partition[i].Offset = FLOOR_ALIGN(last_offset - SelectedDrive.Partition[i].Size, bytes_per_track);
+ SelectedDrive.Partition[i].Offset = LO_ALIGN_X_TO_Y(last_offset - SelectedDrive.Partition[i].Size, bytes_per_track);
last_offset = SelectedDrive.Partition[i].Offset;
}
// With the above, Compute the main partition size (which we align to a track)
assert(last_offset > SelectedDrive.Partition[mi].Offset);
- SelectedDrive.Partition[mi].Size = FLOOR_ALIGN(last_offset - SelectedDrive.Partition[mi].Offset, bytes_per_track);
+ SelectedDrive.Partition[mi].Size = LO_ALIGN_X_TO_Y(last_offset - SelectedDrive.Partition[mi].Offset, bytes_per_track);
// Try to make sure that the main partition size is a multiple of the cluster size
// This can be especially important when trying to capture an NTFS partition as FFU, as, when
// the NTFS partition is aligned to cluster size, the FFU capture parses the NTFS allocated
@@ -2412,7 +2393,7 @@ BOOL CreatePartition(HANDLE hDrive, int partition_style, int file_system, BOOL m
// a full sector by sector scan of the NTFS partition and records any non-zero garbage, which
// may include garbage leftover data from a previous reformat...
if (ClusterSize % SelectedDrive.SectorSize == 0)
- SelectedDrive.Partition[mi].Size = FLOOR_ALIGN(SelectedDrive.Partition[mi].Size, ClusterSize);
+ SelectedDrive.Partition[mi].Size = LO_ALIGN_X_TO_Y(SelectedDrive.Partition[mi].Size, ClusterSize);
if (SelectedDrive.Partition[mi].Size <= 0) {
uprintf("Error: Invalid %S size", SelectedDrive.Partition[mi].Name);
return FALSE;
@@ -2478,8 +2459,10 @@ BOOL CreatePartition(HANDLE hDrive, int partition_style, int file_system, BOOL m
DriveLayoutEx.PartitionEntry[i].Gpt.PartitionType = PARTITION_MICROSOFT_DATA;
// Prevent a drive letter from being assigned to the UEFI:NTFS partition
DriveLayoutEx.PartitionEntry[i].Gpt.Attributes = GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER;
- // NB: We no longer make the partition read-only as we need to be able to edit
- // its label for WUE's silent install no-disk/extra-disk detection.
+#if !defined(_DEBUG)
+ // Also make the partition read-only for release versions
+ DriveLayoutEx.PartitionEntry[i].Gpt.Attributes += GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY;
+#endif
} else if (wcscmp(SelectedDrive.Partition[i].Name, L"EFI System Partition") == 0)
DriveLayoutEx.PartitionEntry[i].Gpt.PartitionType = PARTITION_GENERIC_ESP;
else if (wcscmp(SelectedDrive.Partition[i].Name, L"Linux Persistence") == 0)
@@ -2496,7 +2479,7 @@ BOOL CreatePartition(HANDLE hDrive, int partition_style, int file_system, BOOL m
// We need to write the UEFI:NTFS partition before we refresh the disk
if (extra_partitions & XP_UEFI_NTFS) {
LARGE_INTEGER li;
- uprintf("Writing UEFI:NTFS data...");
+ uprintf("Writing UEFI:NTFS data...", SelectedDrive.Partition[partition_index[PI_UEFI_NTFS]].Name);
li.QuadPart = SelectedDrive.Partition[partition_index[PI_UEFI_NTFS]].Offset;
if (!SetFilePointerEx(hDrive, li, NULL, FILE_BEGIN)) {
uprintf(" Could not set position");
@@ -2620,53 +2603,23 @@ const char* GetMBRPartitionType(const uint8_t type)
const char* GetGPTPartitionType(const GUID* guid)
{
- const char* desc = gpt_type_desc(guid);
- return desc != NULL ? desc : GuidToString(guid, TRUE);
+ int i;
+ for (i = 0; (i < ARRAYSIZE(gpt_type)) && !CompareGUID(guid, gpt_type[i].guid); i++);
+ return (i < ARRAYSIZE(gpt_type)) ? gpt_type[i].name : GuidToString(guid, TRUE);
}
/*
- * Detect Microsoft Dev Drives. See https://learn.microsoft.com/en-us/windows/dev-drive/.
+ * Detect Microsoft Dev Drives, which are VHDs consisting of a small MSR followed by a large
+ * (50 GB or more) ReFS partition. See https://learn.microsoft.com/en-us/windows/dev-drive/.
+ * NB: Despite the option being proposed, I have *NOT* been able to create MBR-based Dev Drives.
*/
BOOL IsMsDevDrive(DWORD DriveIndex)
{
- BOOL ret = FALSE;
- DWORD size = 0;
- HANDLE hLogical = INVALID_HANDLE_VALUE;
- FILE_FS_PERSISTENT_VOLUME_INFORMATION data = { 0 };
-
- hLogical = GetLogicalHandle(DriveIndex, 0, FALSE, FALSE, FALSE);
- if (hLogical == INVALID_HANDLE_VALUE)
- goto out;
-
- data.FlagMask = PERSISTENT_VOLUME_STATE_DEV_VOLUME;
- data.Version = 1;
-
- if (!DeviceIoControl(hLogical, FSCTL_QUERY_PERSISTENT_VOLUME_STATE, &data, sizeof(data),
- &data, sizeof(data), &size, NULL))
- goto out;
-
- ret = data.VolumeFlags & PERSISTENT_VOLUME_STATE_DEV_VOLUME;
-
-out:
- safe_closehandle(hLogical);
- return ret;
-}
-
-/*
- * Detect filtered drives, that have been added by users through the registry
- * entries IgnoreDisk01 - IgnoreDisk08. These entries must contain *decorated*
- * string GUIDs that match the GPT Disk GUID of the drive to filter out, as
- * reported by Rufus, such as "{F333EC2E-25C9-488D-A7FC-9147C2367623}".
- */
-BOOL IsFilteredDrive(DWORD DriveIndex)
-{
- char setting_name[32];
- DWORD i, size = 0;
BOOL r, ret = FALSE;
+ DWORD size = 0;
HANDLE hPhysical = INVALID_HANDLE_VALUE;
BYTE layout[4096] = { 0 };
PDRIVE_LAYOUT_INFORMATION_EX DriveLayout = (PDRIVE_LAYOUT_INFORMATION_EX)(void*)layout;
- GUID DiskGuid;
hPhysical = GetPhysicalHandle(DriveIndex, FALSE, FALSE, TRUE);
if (hPhysical == INVALID_HANDLE_VALUE)
@@ -2676,18 +2629,17 @@ BOOL IsFilteredDrive(DWORD DriveIndex)
if (!r || size <= 0)
goto out;
- // Only works for GPT drives
if (DriveLayout->PartitionStyle != PARTITION_STYLE_GPT)
goto out;
- for (i = 1; i <= MAX_IGNORE_USB; i++) {
- static_sprintf(setting_name, "IgnoreDisk%02d", i);
- DiskGuid = StringToGuid(ReadSettingStr(setting_name));
- if (CompareGUID(&DriveLayout->Gpt.DiskId, &DiskGuid)) {
- uprintf("Device eliminated because it matches Disk GUID %s", GuidToString(&DiskGuid, TRUE));
- ret = TRUE;
- goto out;
- }
- }
+ if (DriveLayout->PartitionCount != 2)
+ goto out;
+ if (!CompareGUID(&DriveLayout->PartitionEntry[0].Gpt.PartitionType, &PARTITION_MICROSOFT_RESERVED))
+ goto out;
+ if (!CompareGUID(&DriveLayout->PartitionEntry[1].Gpt.PartitionType, &PARTITION_MICROSOFT_DATA))
+ goto out;
+ if (DriveLayout->PartitionEntry[1].PartitionLength.QuadPart < 20 * GB)
+ goto out;
+ ret = (strcmp(GetFsName(hPhysical, DriveLayout->PartitionEntry[1].StartingOffset), "ReFS") == 0);
out:
safe_closehandle(hPhysical);
diff --git a/src/drive.h b/src/drive.h
index 8dc0f7aa..01e9c6b8 100644
--- a/src/drive.h
+++ b/src/drive.h
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Drive access function calls
- * Copyright © 2011-2025 Pete Batard
+ * Copyright © 2011-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -52,7 +52,6 @@
#define FP_LARGE_FAT32 0x00010000
#define FP_NO_BOOT 0x00020000
#define FP_CREATE_PERSISTENCE_CONF 0x00040000
-#define FP_NO_PROGRESS 0x00080000
#define FILE_FLOPPY_DISKETTE 0x00000004
@@ -61,6 +60,22 @@
#define VDS_SET_ERROR(hr) do { if (hr != S_OK) { SetLastError((DWORD)hr); ErrorStatus = RUFUS_ERROR(ERROR_GEN_FAILURE); } } while(0)
+#if !defined(__MINGW32__)
+typedef enum _FSINFOCLASS {
+ FileFsVolumeInformation = 1,
+ FileFsLabelInformation,
+ FileFsSizeInformation,
+ FileFsDeviceInformation,
+ FileFsAttributeInformation,
+ FileFsControlInformation,
+ FileFsFullSizeInformation,
+ FileFsObjectIdInformation,
+ FileFsDriverPathInformation,
+ FileFsVolumeFlagsInformation,
+ FileFsMaximumInformation
+} FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS;
+#endif
+
/* We need a redef of these MS structure */
typedef struct {
DWORD DeviceType;
@@ -383,7 +398,6 @@ BOOL GetDriveLetters(DWORD DriveIndex, char* drive_letters);
UINT GetDriveTypeFromIndex(DWORD DriveIndex);
char GetUnusedDriveLetter(void);
BOOL IsDriveLetterInUse(const char drive_letter);
-BOOL IsSourceImageLocatedOnTargetDrive(DWORD DriveIndex);
char RemoveDriveLetters(DWORD DriveIndex, BOOL bUseLast, BOOL bSilent);
BOOL GetDriveLabel(DWORD DriveIndex, char* letters, char** label, BOOL bSilent);
uint64_t GetDriveSize(DWORD DriveIndex);
@@ -411,4 +425,3 @@ BOOL GetOpticalMedia(IMG_SAVE* img_save);
uint64_t GetEspOffset(DWORD DriveIndex);
BOOL ToggleEsp(DWORD DriveIndex, uint64_t PartitionOffset);
BOOL IsMsDevDrive(DWORD DriveIndex);
-BOOL IsFilteredDrive(DWORD DriveIndex);
diff --git a/src/efi.h b/src/efi.h
deleted file mode 100644
index ecfa98a1..00000000
--- a/src/efi.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
-* Rufus: The Reliable USB Formatting Utility
-* UEFI constants and structs
-* Copyright © 2025 Pete Batard
-*
-* This program is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program. If not, see .
-*/
-
-#include
-#include
-
-#pragma pack(1)
-
-typedef struct {
- UINT16 Year;
- UINT8 Month;
- UINT8 Day;
- UINT8 Hour;
- UINT8 Minute;
- UINT8 Second;
- UINT8 Pad1;
- UINT32 Nanosecond;
- INT16 TimeZone;
- UINT8 Daylight;
- UINT8 Pad2;
-} EFI_TIME;
-
-typedef struct _WIN_CERTIFICATE {
- UINT32 dwLength;
- UINT16 wRevision;
- UINT16 wCertificateType;
-} WIN_CERTIFICATE;
-
-typedef struct _WIN_CERTIFICATE_UEFI_GUID {
- WIN_CERTIFICATE Hdr;
- GUID CertType;
- UINT8 CertData[1];
-} WIN_CERTIFICATE_UEFI_GUID;
-
-typedef struct {
- EFI_TIME TimeStamp;
- WIN_CERTIFICATE_UEFI_GUID AuthInfo;
-} EFI_VARIABLE_AUTHENTICATION_2;
-
-typedef struct {
- GUID SignatureOwner;
- UINT8 SignatureData[1];
-} EFI_SIGNATURE_DATA;
-
-typedef struct {
- GUID SignatureType;
- UINT32 SignatureListSize;
- UINT32 SignatureHeaderSize;
- UINT32 SignatureSize;
-} EFI_SIGNATURE_LIST;
-
-#pragma pack()
-
-const GUID EFI_CERT_SHA256_GUID = { 0xc1c41626, 0x504c, 0x4092, { 0xac, 0xa9, 0x41, 0xf9, 0x36, 0x93, 0x43, 0x28 } };
diff --git a/src/ext2fs/fallocate.c b/src/ext2fs/fallocate.c
index 153053a2..0c05597c 100644
--- a/src/ext2fs/fallocate.c
+++ b/src/ext2fs/fallocate.c
@@ -838,7 +838,6 @@ errcode_t ext2fs_fallocate(ext2_filsys fs, int flags, ext2_ino_t ino,
}
/* XXX: Allocate a bunch of blocks the slow way */
- ext2fs_print_progress(0, 0);
for (blk = start; blk < start + len; blk++) {
/* For Rufus usage */
err = ext2fs_print_progress(blk, start + len);
diff --git a/src/ext2fs/nt_io.c b/src/ext2fs/nt_io.c
index f36dc3b2..c74f3cfa 100644
--- a/src/ext2fs/nt_io.c
+++ b/src/ext2fs/nt_io.c
@@ -28,12 +28,21 @@
#include "config.h"
#include "ext2fs.h"
#include "rufus.h"
-#include "ntdll.h"
#include "msapi_utf8.h"
extern char* NtStatusError(NTSTATUS Status);
static DWORD LastWinError = 0;
+PF_TYPE_DECL(NTAPI, ULONG, RtlNtStatusToDosError, (NTSTATUS));
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtClose, (HANDLE));
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtOpenFile, (PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES, PIO_STATUS_BLOCK, ULONG, ULONG));
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtFlushBuffersFile, (HANDLE, PIO_STATUS_BLOCK));
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtReadFile, (HANDLE, HANDLE, PIO_APC_ROUTINE, PVOID, PIO_STATUS_BLOCK, PVOID, ULONG, PLARGE_INTEGER, PULONG));
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtWriteFile, (HANDLE, HANDLE, PIO_APC_ROUTINE, PVOID, PIO_STATUS_BLOCK, PVOID, ULONG, PLARGE_INTEGER, PULONG));
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtDeviceIoControlFile, (HANDLE, HANDLE, PIO_APC_ROUTINE, PVOID, PIO_STATUS_BLOCK, ULONG, PVOID, ULONG, PVOID, ULONG));
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtFsControlFile, (HANDLE, HANDLE, PIO_APC_ROUTINE, PVOID, PIO_STATUS_BLOCK, ULONG, PVOID, ULONG, PVOID, ULONG));
+PF_TYPE_DECL(NTAPI, NTSTATUS, NtDelayExecution, (BOOLEAN, PLARGE_INTEGER));
+
#define ARGUMENT_PRESENT(ArgumentPointer) ((CHAR *)((ULONG_PTR)(ArgumentPointer)) != (CHAR *)(NULL))
#define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
@@ -164,7 +173,8 @@ static unsigned _MapDosError(IN ULONG WinError)
// Map NT status to dos error.
static __inline unsigned _MapNtStatus(IN NTSTATUS Status)
{
- return _MapDosError(RtlNtStatusToDosError(Status));
+ PF_INIT(RtlNtStatusToDosError, Ntdll);
+ return (pfRtlNtStatusToDosError == NULL) ? EFAULT: _MapDosError(pfRtlNtStatusToDosError(Status));
}
// Return the last Windows Error
@@ -183,6 +193,8 @@ static NTSTATUS _OpenNtName(IN PCSTR Name, IN BOOLEAN Readonly, OUT PHANDLE Hand
NTSTATUS Status = EFAULT;
OBJECT_ATTRIBUTES ObjectAttributes;
IO_STATUS_BLOCK IoStatusBlock;
+ PF_INIT(NtDelayExecution, Ntdll);
+ PF_INIT_OR_OUT(NtOpenFile, Ntdll);
// Make Unicode name from input string
utf8_to_wchar_no_alloc(Name, Buffer, ARRAYSIZE(Buffer));
@@ -197,16 +209,16 @@ static NTSTATUS _OpenNtName(IN PCSTR Name, IN BOOLEAN Readonly, OUT PHANDLE Hand
if (ARGUMENT_PRESENT(OpenedReadonly))
*OpenedReadonly = Readonly;
- Status = NtOpenFile(Handle, SYNCHRONIZE | FILE_READ_DATA | (Readonly ? 0 : FILE_WRITE_DATA),
+ Status = pfNtOpenFile(Handle, SYNCHRONIZE | FILE_READ_DATA | (Readonly ? 0 : FILE_WRITE_DATA),
&ObjectAttributes, &IoStatusBlock, FILE_SHARE_WRITE | FILE_SHARE_READ,
FILE_SYNCHRONOUS_IO_NONALERT);
if (!NT_SUCCESS(Status)) {
// Maybe was just mounted? wait 0.5 sec and retry.
LARGE_INTEGER Interval;
Interval.QuadPart = -5000000; // 0.5 sec. from now
- NtDelayExecution(FALSE, &Interval);
+ pfNtDelayExecution(FALSE, &Interval);
- Status = NtOpenFile(Handle, SYNCHRONIZE | FILE_READ_DATA | (Readonly ? 0 : FILE_WRITE_DATA),
+ Status = pfNtOpenFile(Handle, SYNCHRONIZE | FILE_READ_DATA | (Readonly ? 0 : FILE_WRITE_DATA),
&ObjectAttributes, &IoStatusBlock, FILE_SHARE_WRITE | FILE_SHARE_READ,
FILE_SYNCHRONOUS_IO_NONALERT);
@@ -215,12 +227,13 @@ static NTSTATUS _OpenNtName(IN PCSTR Name, IN BOOLEAN Readonly, OUT PHANDLE Hand
if (ARGUMENT_PRESENT(OpenedReadonly))
*OpenedReadonly = TRUE;
- Status = NtOpenFile(Handle, SYNCHRONIZE | FILE_READ_DATA, &ObjectAttributes,
+ Status = pfNtOpenFile(Handle, SYNCHRONIZE | FILE_READ_DATA, &ObjectAttributes,
&IoStatusBlock, FILE_SHARE_WRITE | FILE_SHARE_READ,
FILE_SYNCHRONOUS_IO_NONALERT);
}
}
+out:
return Status;
}
@@ -234,38 +247,45 @@ static NTSTATUS _OpenDriveLetter(IN CHAR Letter, IN BOOLEAN ReadOnly, OUT PHANDL
static __inline NTSTATUS _FlushDrive(IN HANDLE Handle)
{
IO_STATUS_BLOCK IoStatusBlock;
- return NtFlushBuffersFile(Handle, &IoStatusBlock);
+ PF_INIT(NtFlushBuffersFile, NtDll);
+ return (pfNtFlushBuffersFile == NULL) ? STATUS_DLL_NOT_FOUND : pfNtFlushBuffersFile(Handle, &IoStatusBlock);
}
static __inline NTSTATUS _LockDrive(IN HANDLE Handle)
{
IO_STATUS_BLOCK IoStatusBlock;
- return NtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_LOCK_VOLUME, 0, 0, 0, 0);
+ PF_INIT(NtFsControlFile, NtDll);
+ return (pfNtFsControlFile == NULL) ? STATUS_DLL_NOT_FOUND : pfNtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_LOCK_VOLUME, 0, 0, 0, 0);
}
static __inline NTSTATUS _UnlockDrive(IN HANDLE Handle)
{
IO_STATUS_BLOCK IoStatusBlock;
- return NtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_UNLOCK_VOLUME, 0, 0, 0, 0);
+ PF_INIT(NtFsControlFile, NtDll);
+ return (pfNtFsControlFile == NULL) ? STATUS_DLL_NOT_FOUND : pfNtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_UNLOCK_VOLUME, 0, 0, 0, 0);
}
static __inline NTSTATUS _DismountDrive(IN HANDLE Handle)
{
IO_STATUS_BLOCK IoStatusBlock;
- return NtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_DISMOUNT_VOLUME, 0, 0, 0, 0);
+ PF_INIT(NtFsControlFile, NtDll);
+ return (pfNtFsControlFile == NULL) ? STATUS_DLL_NOT_FOUND : pfNtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_DISMOUNT_VOLUME, 0, 0, 0, 0);
}
static __inline BOOLEAN _IsMounted(IN HANDLE Handle)
{
IO_STATUS_BLOCK IoStatusBlock;
- return (BOOLEAN)(NtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_IS_VOLUME_MOUNTED, 0, 0, 0, 0) == STATUS_SUCCESS);
+ PF_INIT(NtFsControlFile, NtDll);
+ return (pfNtFsControlFile == NULL) ? FALSE :
+ (BOOLEAN)(pfNtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_IS_VOLUME_MOUNTED, 0, 0, 0, 0) == STATUS_SUCCESS);
}
static __inline NTSTATUS _CloseDisk(IN HANDLE Handle)
{
- return NtClose(Handle);
+ PF_INIT(NtClose, Ntdll);
+ return (pfNtClose == NULL) ? STATUS_DLL_NOT_FOUND : pfNtClose(Handle);
}
static PCSTR _NormalizeDeviceName(IN PCSTR Device, IN PSTR NormalizedDeviceNameBuffer, OUT __u64 *Offset, OUT __u64 *Size)
@@ -300,9 +320,12 @@ static VOID _GetDeviceSize(IN HANDLE h, OUT unsigned __int64 *FsSize)
LARGE_INTEGER li;
*FsSize = 0;
+ PF_INIT(NtDeviceIoControlFile, NtDll);
+ if (pfNtDeviceIoControlFile == NULL)
+ return;
RtlZeroMemory(&pi, sizeof(pi));
- Status = NtDeviceIoControlFile(h, NULL, NULL, NULL, &IoStatusBlock,
+ Status = pfNtDeviceIoControlFile(h, NULL, NULL, NULL, &IoStatusBlock,
IOCTL_DISK_GET_PARTITION_INFO_EX,
&pi, sizeof(pi), &pi, sizeof(pi));
if (NT_SUCCESS(Status)) {
@@ -311,7 +334,7 @@ static VOID _GetDeviceSize(IN HANDLE h, OUT unsigned __int64 *FsSize)
// No partitions: Try a drive geometry request
RtlZeroMemory(&gi, sizeof(gi));
- Status = NtDeviceIoControlFile(h, NULL, NULL, NULL, &IoStatusBlock,
+ Status = pfNtDeviceIoControlFile(h, NULL, NULL, NULL, &IoStatusBlock,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX,
&gi, sizeof(gi), &gi, sizeof(gi));
@@ -366,6 +389,8 @@ static BOOLEAN _BlockIo(IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Byte
{
IO_STATUS_BLOCK IoStatusBlock;
NTSTATUS Status = STATUS_DLL_NOT_FOUND;
+ PF_INIT_OR_OUT(NtReadFile, NtDll);
+ PF_INIT_OR_OUT(NtWriteFile, NtDll);
// Should be aligned
assert((Bytes % 512) == 0);
@@ -374,13 +399,14 @@ static BOOLEAN _BlockIo(IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Byte
LastWinError = 0;
// Perform io
if(Read) {
- Status = NtReadFile(Handle, NULL, NULL, NULL,
+ Status = pfNtReadFile(Handle, NULL, NULL, NULL,
&IoStatusBlock, Buffer, Bytes, &Offset, NULL);
} else {
- Status = NtWriteFile(Handle, NULL, NULL, NULL,
+ Status = pfNtWriteFile(Handle, NULL, NULL, NULL,
&IoStatusBlock, Buffer, Bytes, &Offset, NULL);
}
+out:
if (!NT_SUCCESS(Status)) {
if (ARGUMENT_PRESENT(Errno))
*Errno = _MapNtStatus(Status);
@@ -405,7 +431,10 @@ static BOOLEAN _RawRead(IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Byte
static BOOLEAN _SetPartType(IN HANDLE Handle, IN UCHAR Type)
{
IO_STATUS_BLOCK IoStatusBlock;
- return NT_SUCCESS(NtDeviceIoControlFile(Handle, NULL, NULL, NULL, &IoStatusBlock,
+ PF_INIT(NtDeviceIoControlFile, NtDll);
+ if (pfNtDeviceIoControlFile == NULL)
+ return FALSE;
+ return NT_SUCCESS(pfNtDeviceIoControlFile(Handle, NULL, NULL, NULL, &IoStatusBlock,
IOCTL_DISK_SET_PARTITION_INFO, &Type, sizeof(Type), NULL, 0));
}
diff --git a/src/format.c b/src/format.c
index 621a40c1..fe5b2b69 100644
--- a/src/format.c
+++ b/src/format.c
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Formatting function calls
- * Copyright © 2011-2025 Pete Batard
+ * Copyright © 2011-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -73,6 +73,7 @@ static unsigned int sec_buf_pos = 0;
extern const int nb_steps[FS_MAX];
extern const char* md5sum_name[2];
extern uint32_t dur_mins, dur_secs;
+extern uint32_t wim_nb_files, wim_proc_files, wim_extra_files;
extern BOOL force_large_fat32, enable_ntfs_compression, lock_drive, zero_drive, fast_zeroing, enable_file_indexing;
extern BOOL write_as_image, use_vds, write_as_esp, is_vds_available, has_ffu_support, use_rufus_mbr;
extern char* archive_path;
@@ -116,7 +117,7 @@ static BOOLEAN __stdcall FormatExCallback(FILE_SYSTEM_CALLBACK_COMMAND Command,
if (IS_ERROR(ErrorStatus))
return FALSE;
- if_assert_fails((actual_fs_type >= 0) && (actual_fs_type < FS_MAX))
+ if_not_assert((actual_fs_type >= 0) && (actual_fs_type < FS_MAX))
return FALSE;
switch(Command) {
@@ -715,38 +716,47 @@ out:
return r;
}
-static BOOL ClearMBRGPT(HANDLE hPhysicalDrive, LONGLONG DiskSize, DWORD SectorSize)
+static BOOL ClearMBRGPT(HANDLE hPhysicalDrive, LONGLONG DiskSize, DWORD SectorSize, BOOL add1MB)
{
BOOL r = FALSE;
LARGE_INTEGER liFilePointer;
- uint8_t* pZeroBuf = calloc(SectorSize, MAX_SECTORS_TO_CLEAR);
+ uint64_t num_sectors_to_clear;
+ unsigned char* pZeroBuf = NULL;
+ PrintInfoDebug(0, MSG_224);
+ // http://en.wikipedia.org/wiki/GUID_Partition_Table tells us we should clear 34 sectors at the
+ // beginning and 33 at the end. We bump these values to MAX_SECTORS_TO_CLEAR each end to help
+ // with reluctant access to large drive.
+
+ // We try to clear at least 1MB + the VBR when Large FAT32 is selected (add1MB), but
+ // don't do it otherwise, as it seems unnecessary and may take time for slow drives.
+ // Also, for various reasons (one of which being that Windows seems to have issues
+ // with GPT drives that contain a lot of small partitions) we try not not to clear
+ // sectors further than the lowest partition already residing on the disk.
+ num_sectors_to_clear = min(SelectedDrive.FirstDataSector, (DWORD)((add1MB ? 2048 : 0) + MAX_SECTORS_TO_CLEAR));
+ // Special case for big floppy disks (FirstDataSector = 0)
+ if (num_sectors_to_clear < 4)
+ num_sectors_to_clear = (DWORD)((add1MB ? 2048 : 0) + MAX_SECTORS_TO_CLEAR);
+
+ uprintf("Erasing %llu sectors", num_sectors_to_clear);
+ pZeroBuf = calloc(SectorSize, (size_t)num_sectors_to_clear);
if (pZeroBuf == NULL) {
ErrorStatus = RUFUS_ERROR(ERROR_NOT_ENOUGH_MEMORY);
goto out;
}
-
- // We now unconditionally zero MAX_SECTORS_TO_CLEAR and (MAX_SECTORS_TO_CLEAR / 8)
- // at the beginning and end of the drive respectively. This should encompass the
- // MBR, GPT, backup GPT and VBR for most devices and (hopefully) get Windows and
- // other apps off our back with trying to access zombie partitions...
- PrintInfoDebug(0, MSG_224);
liFilePointer.QuadPart = 0ULL;
if (!SetFilePointerEx(hPhysicalDrive, liFilePointer, &liFilePointer, FILE_BEGIN) || (liFilePointer.QuadPart != 0ULL))
- uprintf("WARNING: Could not reset disk position: %s", WindowsErrorString());
- if (!WriteFileWithRetry(hPhysicalDrive, pZeroBuf, (DWORD)(SectorSize * MAX_SECTORS_TO_CLEAR), NULL, WRITE_RETRIES))
+ uprintf("Warning: Could not reset disk position");
+ if (!WriteFileWithRetry(hPhysicalDrive, pZeroBuf, (DWORD)(SectorSize * num_sectors_to_clear), NULL, WRITE_RETRIES))
goto out;
- uprintf("Zeroed %s at the top of the drive", SizeToHumanReadable(MAX_SECTORS_TO_CLEAR * SectorSize, FALSE, FALSE));
CHECK_FOR_USER_CANCEL;
- liFilePointer.QuadPart = DiskSize - (LONGLONG)SectorSize * (MAX_SECTORS_TO_CLEAR / 8);
+ liFilePointer.QuadPart = DiskSize - (LONGLONG)SectorSize * MAX_SECTORS_TO_CLEAR;
// Windows seems to be an ass about keeping a lock on a backup GPT,
// so we try to be lenient about not being able to clear it.
- if (SetFilePointerEx(hPhysicalDrive, liFilePointer, &liFilePointer, FILE_BEGIN) &&
- WriteFileWithRetry(hPhysicalDrive, pZeroBuf, SectorSize * (MAX_SECTORS_TO_CLEAR / 8), NULL, WRITE_RETRIES))
- uprintf("Zeroed %s at the end of the drive", SizeToHumanReadable((MAX_SECTORS_TO_CLEAR / 8) * SectorSize, FALSE, FALSE));
- else
- uprintf("WARNING: Could not to clear the backup GPT area: %s", WindowsErrorString());
-
+ if (SetFilePointerEx(hPhysicalDrive, liFilePointer, &liFilePointer, FILE_BEGIN)) {
+ IGNORE_RETVAL(WriteFileWithRetry(hPhysicalDrive, pZeroBuf,
+ SectorSize * MAX_SECTORS_TO_CLEAR, NULL, WRITE_RETRIES));
+ }
r = TRUE;
out:
@@ -798,7 +808,7 @@ static BOOL WriteMBR(HANDLE hPhysicalDrive)
if (buffer[0x1c2] == 0x0e) {
uprintf("Partition is already FAT16 LBA...");
} else if ((buffer[0x1c2] != 0x04) && (buffer[0x1c2] != 0x06)) {
- uprintf("WARNING: converting a non FAT16 partition to FAT16 LBA: FS type=0x%02x", buffer[0x1c2]);
+ uprintf("Warning: converting a non FAT16 partition to FAT16 LBA: FS type=0x%02x", buffer[0x1c2]);
}
buffer[0x1c2] = 0x0e;
break;
@@ -806,7 +816,7 @@ static BOOL WriteMBR(HANDLE hPhysicalDrive)
if (buffer[0x1c2] == 0x0c) {
uprintf("Partition is already FAT32 LBA...");
} else if (buffer[0x1c2] != 0x0b) {
- uprintf("WARNING: converting a non FAT32 partition to FAT32 LBA: FS type=0x%02x", buffer[0x1c2]);
+ uprintf("Warning: converting a non FAT32 partition to FAT32 LBA: FS type=0x%02x", buffer[0x1c2]);
}
buffer[0x1c2] = 0x0c;
break;
@@ -1074,8 +1084,16 @@ BOOL WritePBR(HANDLE hLogicalVolume)
static void update_progress(const uint64_t processed_bytes)
{
+ // NB: We don't really care about resetting this value to UINT64_MAX for a new pass.
+ static uint64_t last_value = UINT64_MAX;
+ uint64_t cur_value;
+
UpdateProgressWithInfo(OP_FORMAT, MSG_261, processed_bytes, img_report.image_size);
- uprint_progress(processed_bytes, img_report.image_size);
+ cur_value = (processed_bytes * min(80, img_report.image_size)) / img_report.image_size;
+ if (cur_value != last_value) {
+ last_value = cur_value;
+ uprintfs("+");
+ }
}
// Some compressed images use streams that aren't multiple of the sector
@@ -1089,9 +1107,9 @@ static int sector_write(int fd, const void* _buf, unsigned int count)
if (sec_size == 0)
sec_size = 512;
- if_assert_fails(sec_size <= 64 * KB)
+ if_not_assert(sec_size <= 64 * KB)
return -1;
- if_assert_fails(count <= 1 * GB)
+ if_not_assert(count <= 1 * GB)
return -1;
// If we are on a sector boundary and count is multiple of the
@@ -1101,7 +1119,7 @@ static int sector_write(int fd, const void* _buf, unsigned int count)
// If we have an existing partial sector, fill and write it
if (sec_buf_pos > 0) {
- if_assert_fails(sec_size >= sec_buf_pos)
+ if_not_assert(sec_size >= sec_buf_pos)
return -1;
fill_size = min(sec_size - sec_buf_pos, count);
memcpy(&sec_buf[sec_buf_pos], buf, fill_size);
@@ -1124,13 +1142,13 @@ static int sector_write(int fd, const void* _buf, unsigned int count)
// Detect overflows
// coverity[overflow]
int v = fill_size + written;
- if_assert_fails(v >= fill_size)
+ if_not_assert(v >= fill_size)
return -1;
else
return v;
}
sec_buf_pos = count - fill_size - written;
- if_assert_fails(sec_buf_pos < sec_size)
+ if_not_assert(sec_buf_pos < sec_size)
return -1;
// Keep leftover bytes, if any, in the sector buffer
@@ -1147,6 +1165,7 @@ static BOOL WriteDrive(HANDLE hPhysicalDrive, BOOL bZeroDrive)
HANDLE hSourceImage = INVALID_HANDLE_VALUE;
DWORD i, read_size[NUM_BUFFERS] = { 0 }, write_size, comp_size, buf_size;
uint64_t wb, target_size = bZeroDrive ? SelectedDrive.DiskSize : MIN((uint64_t)SelectedDrive.DiskSize, img_report.image_size);
+ uint64_t cur_value, last_value = 0;
int64_t bled_ret;
uint8_t* buffer = NULL;
uint32_t zero_data, *cmp_buffer = NULL;
@@ -1161,7 +1180,7 @@ static BOOL WriteDrive(HANDLE hPhysicalDrive, BOOL bZeroDrive)
// We poked the MBR and other stuff, so we need to rewind
li.QuadPart = 0;
if (!SetFilePointerEx(hPhysicalDrive, li, NULL, FILE_BEGIN))
- uprintf("WARNING: Unable to rewind image position - wrong data might be copied!");
+ uprintf("Warning: Unable to rewind image position - wrong data might be copied!");
UpdateProgressWithInfoInit(NULL, FALSE);
if (bZeroDrive) {
@@ -1174,7 +1193,7 @@ static BOOL WriteDrive(HANDLE hPhysicalDrive, BOOL bZeroDrive)
uprintf("Could not allocate disk zeroing buffer");
goto out;
}
- if_assert_fails((uintptr_t)buffer % SelectedDrive.SectorSize == 0)
+ if_not_assert((uintptr_t)buffer % SelectedDrive.SectorSize == 0)
goto out;
// Clear buffer
@@ -1187,15 +1206,16 @@ static BOOL WriteDrive(HANDLE hPhysicalDrive, BOOL bZeroDrive)
uprintf("Could not allocate disk comparison buffer");
goto out;
}
- if_assert_fails((uintptr_t)cmp_buffer % SelectedDrive.SectorSize == 0)
+ if_not_assert((uintptr_t)cmp_buffer % SelectedDrive.SectorSize == 0)
goto out;
}
read_size[0] = buf_size;
- uprint_progress(0, 0);
for (wb = 0, write_size = 0; wb < target_size; wb += write_size) {
UpdateProgressWithInfo(OP_FORMAT, fast_zeroing ? MSG_306 : MSG_286, wb, target_size);
- uprint_progress(wb, target_size);
+ cur_value = (wb * 80) / target_size;
+ for (; cur_value > last_value && last_value < 80; last_value++)
+ uprintfs("+");
// Don't overflow our projected size (mostly for VHDs)
if (wb + read_size[0] > target_size)
read_size[0] = (DWORD)(target_size - wb);
@@ -1285,10 +1305,9 @@ static BOOL WriteDrive(HANDLE hPhysicalDrive, BOOL bZeroDrive)
uprintf("Could not allocate disk write buffer");
goto out;
}
- if_assert_fails((uintptr_t)sec_buf% SelectedDrive.SectorSize == 0)
+ if_not_assert((uintptr_t)sec_buf% SelectedDrive.SectorSize == 0)
goto out;
sec_buf_pos = 0;
- update_progress(0);
bled_init(256 * KB, uprintf, NULL, sector_write, update_progress, NULL, &ErrorStatus);
bled_ret = bled_uncompress_with_handles(hSourceImage, hPhysicalDrive, img_report.compression_type);
bled_exit();
@@ -1309,7 +1328,7 @@ static BOOL WriteDrive(HANDLE hPhysicalDrive, BOOL bZeroDrive)
goto out;
}
} else {
- if_assert_fails(img_report.compression_type != IMG_COMPRESSION_FFU)
+ if_not_assert(img_report.compression_type != IMG_COMPRESSION_FFU)
goto out;
// VHD/VHDX require mounting the image first
if (img_report.compression_type == IMG_COMPRESSION_VHD ||
@@ -1336,18 +1355,19 @@ static BOOL WriteDrive(HANDLE hPhysicalDrive, BOOL bZeroDrive)
uprintf("Could not allocate disk write buffer");
goto out;
}
- if_assert_fails((uintptr_t)buffer% SelectedDrive.SectorSize == 0)
+ if_not_assert((uintptr_t)buffer% SelectedDrive.SectorSize == 0)
goto out;
// Start the initial read
ReadFileAsync(hSourceImage, &buffer[read_bufnum * buf_size], (DWORD)MIN(buf_size, target_size));
read_size[proc_bufnum] = 1; // To avoid early loop exit
- uprint_progress(0, 0);
for (wb = 0; read_size[proc_bufnum] != 0; wb += read_size[proc_bufnum]) {
// 0. Update the progress
UpdateProgressWithInfo(OP_FORMAT, MSG_261, wb, target_size);
- uprint_progress(wb, target_size);
+ cur_value = (wb * 80) / target_size;
+ for ( ; cur_value > last_value && last_value < 80; last_value++)
+ uprintfs("+");
if (wb >= target_size)
break;
@@ -1363,9 +1383,9 @@ static BOOL WriteDrive(HANDLE hPhysicalDrive, BOOL bZeroDrive)
// 2. WriteFile fails unless the size is a multiple of sector size
if (read_size[read_bufnum] % SelectedDrive.SectorSize != 0) {
- if_assert_fails(CEILING_ALIGN(read_size[read_bufnum], SelectedDrive.SectorSize) <= buf_size)
+ if_not_assert(HI_ALIGN_X_TO_Y(read_size[read_bufnum], SelectedDrive.SectorSize) <= buf_size)
goto out;
- read_size[read_bufnum] = CEILING_ALIGN(read_size[read_bufnum], SelectedDrive.SectorSize);
+ read_size[read_bufnum] = HI_ALIGN_X_TO_Y(read_size[read_bufnum], SelectedDrive.SectorSize);
}
// 3. Switch to the next reading buffer
@@ -1438,11 +1458,10 @@ out:
DWORD WINAPI FormatThread(void* param)
{
int r;
- BOOL ret, windows_to_go, actual_lock_drive = lock_drive, write_as_ext = FALSE;
+ BOOL ret, use_large_fat32, windows_to_go, actual_lock_drive = lock_drive, write_as_ext = FALSE;
// Windows 11 and VDS (which I suspect is what fmifs.dll's FormatEx() is now calling behind the scenes)
// require us to unlock the physical drive to format the drive, else access denied is returned.
BOOL need_logical = FALSE, must_unlock_physical = (use_vds || WindowsVersion.Version >= WINDOWS_11);
- BOOL retry_clear = TRUE;
DWORD cr, DriveIndex = (DWORD)(uintptr_t)param, ClusterSize, Flags;
HANDLE hPhysicalDrive = INVALID_HANDLE_VALUE;
HANDLE hLogicalVolume = INVALID_HANDLE_VALUE;
@@ -1456,6 +1475,7 @@ DWORD WINAPI FormatThread(void* param)
char kolibri_dst[] = "?:\\MTLD_F32";
char grub4dos_dst[] = "?:\\grldr";
+ use_large_fat32 = (fs_type == FS_FAT32) && ((SelectedDrive.DiskSize > LARGE_FAT32_SIZE) || (force_large_fat32));
windows_to_go = (image_options & IMOP_WINTOGO) && (boot_type == BT_IMAGE) && HAS_WINTOGO(img_report) &&
(ComboBox_GetCurItemData(hImageOption) == IMOP_WIN_TO_GO);
large_drive = (SelectedDrive.DiskSize > (1*TB));
@@ -1523,7 +1543,7 @@ DWORD WINAPI FormatThread(void* param)
safe_unlockclose(hPhysicalDrive);
PrintInfo(0, MSG_239, lmprintf(MSG_307));
if (!is_vds_available || !DeletePartition(DriveIndex, 0, TRUE)) {
- uprintf("WARNING: Could not delete partition(s): %s", is_vds_available ? WindowsErrorString() : "VDS is not available");
+ uprintf("Warning: Could not delete partition(s): %s", is_vds_available ? WindowsErrorString() : "VDS is not available");
SetLastError(ErrorStatus);
ErrorStatus = 0;
// If we couldn't delete partitions, Windows give us trouble unless we
@@ -1573,33 +1593,13 @@ DWORD WINAPI FormatThread(void* param)
goto out;
}
-try_clear:
- // Zap partition records. This may help prevent access errors.
+ // Zap partition records. This helps prevent access errors.
// Note, Microsoft's way of cleaning partitions (IOCTL_DISK_CREATE_DISK, which is what we apply
// in InitializeDisk) is *NOT ENOUGH* to reset a disk and can render it inoperable for partitioning
// or formatting under Windows. See https://github.com/pbatard/rufus/issues/759 for details.
if ((boot_type != BT_IMAGE) || (img_report.is_iso && !write_as_image)) {
- if ((!ClearMBRGPT(hPhysicalDrive, SelectedDrive.DiskSize, SelectedDrive.SectorSize)) ||
+ if ((!ClearMBRGPT(hPhysicalDrive, SelectedDrive.DiskSize, SelectedDrive.SectorSize, use_large_fat32)) ||
(!InitializeDisk(hPhysicalDrive))) {
- // If VDS is available, try cycling the device to see it it helps
- if (retry_clear && is_vds_available) {
- uprintf("Cycling the device to see if it helps...");
- // Note: This may leave the device disabled on re-plug or reboot
- // so only do this for the experimental VDS path for now...
- cr = CycleDevice(ComboBox_GetCurSel(hDeviceList));
- if (cr == ERROR_DEVICE_REINITIALIZATION_NEEDED) {
- uprintf("Zombie device detected, trying again...");
- Sleep(1000);
- cr = CycleDevice(ComboBox_GetCurSel(hDeviceList));
- }
- if (cr == 0)
- uprintf("Successfully cycled device");
- else
- uprintf("Cycling device failed!");
- Sleep(1000);
- retry_clear = FALSE;
- goto try_clear;
- }
uprintf("Could not reset partitions");
ErrorStatus = (LastWriteError != 0) ? LastWriteError : RUFUS_ERROR(ERROR_PARTITION_FAILURE);
goto out;
@@ -1633,7 +1633,7 @@ try_clear:
uprintf("Bad blocks: Check failed.");
if (!IS_ERROR(ErrorStatus))
ErrorStatus = RUFUS_ERROR(APPERR(ERROR_BADBLOCKS_FAILURE));
- ClearMBRGPT(hPhysicalDrive, SelectedDrive.DiskSize, SelectedDrive.SectorSize);
+ ClearMBRGPT(hPhysicalDrive, SelectedDrive.DiskSize, SelectedDrive.SectorSize, FALSE);
fclose(log_fd);
DeleteFileU(logfile);
goto out;
@@ -1650,7 +1650,8 @@ try_clear:
fprintf(log_fd, APPLICATION_NAME " bad blocks check ended on: %04d.%02d.%02d %02d:%02d:%02d",
lt.wYear, lt.wMonth, lt.wDay, lt.wHour, lt.wMinute, lt.wSecond);
fclose(log_fd);
- r = Notification(MB_ABORTRETRYIGNORE | MB_ICONWARNING, lmprintf(MSG_010), lmprintf(MSG_012, bb_msg, logfile));
+ r = MessageBoxExU(hMainDialog, lmprintf(MSG_012, bb_msg, logfile),
+ lmprintf(MSG_010), MB_ABORTRETRYIGNORE | MB_ICONWARNING | MB_IS_RTL, selected_langid);
} else {
// We didn't get any errors => delete the log file
fclose(log_fd);
@@ -1664,8 +1665,8 @@ try_clear:
// Especially after destructive badblocks test, you must zero the MBR/GPT completely
// before repartitioning. Else, all kind of bad things happen.
- if (!ClearMBRGPT(hPhysicalDrive, SelectedDrive.DiskSize, SelectedDrive.SectorSize)) {
- uprintf("Could not zero MBR/GPT");
+ if (!ClearMBRGPT(hPhysicalDrive, SelectedDrive.DiskSize, SelectedDrive.SectorSize, use_large_fat32)) {
+ uprintf("unable to zero MBR/GPT");
if (!IS_ERROR(ErrorStatus))
ErrorStatus = RUFUS_ERROR(ERROR_WRITE_FAULT);
goto out;
@@ -1678,14 +1679,14 @@ try_clear:
if (img_report.compression_type == IMG_COMPRESSION_FFU) {
char cmd[MAX_PATH + 128], *physical = NULL;
// Should have been filtered out beforehand
- if_assert_fails(has_ffu_support)
+ if_not_assert(has_ffu_support)
goto out;
safe_unlockclose(hPhysicalDrive);
physical = GetPhysicalName(SelectedDrive.DeviceNumber);
- static_sprintf(cmd, "%s\\dism.exe /Apply-Ffu /ApplyDrive:%s /ImageFile:\"%s\"", sysnative_dir, physical, image_path);
+ static_sprintf(cmd, "dism /Apply-Ffu /ApplyDrive:%s /ImageFile:\"%s\"", physical, image_path);
safe_free(physical);
- uprintf("Running command: '%s'", cmd);
- cr = RunCommandWithProgress(cmd, sysnative_dir, TRUE, MSG_261, ".*\r\\[[= ]+([0-9\\.]+)%[= ]+\\].*");
+ uprintf("Running command: '%s", cmd);
+ cr = RunCommandWithProgress(cmd, sysnative_dir, TRUE, MSG_261);
if (cr != 0 && !IS_ERROR(ErrorStatus)) {
SetLastError(cr);
uprintf("Failed to apply FFU image: %s", WindowsErrorString());
@@ -1723,9 +1724,9 @@ try_clear:
safe_unlockclose(hPhysicalDrive);
if (use_vds) {
+ uprintf("Refreshing drive layout...");
// Note: This may leave the device disabled on re-plug or reboot
// so only do this for the experimental VDS path for now...
- uprintf("Cycling device...");
cr = CycleDevice(ComboBox_GetCurSel(hDeviceList));
if (cr == ERROR_DEVICE_REINITIALIZATION_NEEDED) {
uprintf("Zombie device detected, trying again...");
@@ -1736,10 +1737,6 @@ try_clear:
uprintf("Successfully cycled device");
else
uprintf("Cycling device failed!");
- }
- if (is_vds_available) {
- // This one should be safe to issue unconditionally
- uprintf("Refreshing drive layout...");
RefreshLayout(DriveIndex);
}
@@ -1859,7 +1856,7 @@ try_clear:
// the name we proposed, and we require an exact label, to patch config files.
if ((fs_type < FS_EXT2) && !GetVolumeInformationU(drive_name, img_report.usb_label,
ARRAYSIZE(img_report.usb_label), NULL, NULL, NULL, NULL, 0)) {
- uprintf("WARNING: Failed to refresh label: %s", WindowsErrorString());
+ uprintf("Warning: Failed to refresh label: %s", WindowsErrorString());
} else if (IS_EXT(fs_type)) {
const char* ext_label = GetExtFsLabel(DriveIndex, 0);
if (ext_label != NULL)
@@ -1871,7 +1868,7 @@ try_clear:
// All good
} else if (target_type == TT_UEFI) {
// For once, no need to do anything - just check our sanity
- if_assert_fails((boot_type == BT_IMAGE) && IS_EFI_BOOTABLE(img_report) && (fs_type <= FS_NTFS)) {
+ if_not_assert((boot_type == BT_IMAGE) && IS_EFI_BOOTABLE(img_report) && (fs_type <= FS_NTFS)) {
ErrorStatus = RUFUS_ERROR(ERROR_INSTALL_FAILURE);
goto out;
}
@@ -1946,7 +1943,7 @@ try_clear:
ErrorStatus = RUFUS_ERROR(APPERR(ERROR_CANT_PATCH));
}
} else {
- if_assert_fails(!img_report.is_windows_img)
+ if_not_assert(!img_report.is_windows_img)
goto out;
if (!ExtractISO(image_path, drive_name, FALSE)) {
if (!IS_ERROR(ErrorStatus))
@@ -1958,7 +1955,7 @@ try_clear:
uprintf("Installing: %s (KolibriOS loader)", kolibri_dst);
if (ExtractISOFile(image_path, "HD_Load/USB_Boot/MTLD_F32", kolibri_dst,
FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM) == 0) {
- uprintf("WARNING: Loader installation failed - KolibriOS will not boot!");
+ uprintf("Warning: loader installation failed - KolibriOS will not boot!");
}
}
// EFI mode selected, with no 'boot###.efi' but Windows 7 x64's 'bootmgr.efi' (bit #0)
@@ -1973,12 +1970,13 @@ try_clear:
ErrorStatus = RUFUS_ERROR(APPERR(ERROR_CANT_PATCH));
} else {
efi_dst[sizeof(efi_dst) - sizeof("\\bootx64.efi")] = '\\';
- if (!WimExtractFile(img_report.wininst_path[0], 1, "Windows\\Boot\\EFI\\bootmgfw.efi", efi_dst)) {
+ if (!WimExtractFile(img_report.wininst_path[0], 1, "Windows\\Boot\\EFI\\bootmgfw.efi", efi_dst, FALSE)) {
uprintf("Failed to setup Win7 EFI boot");
ErrorStatus = RUFUS_ERROR(APPERR(ERROR_CANT_PATCH));
}
}
}
+ CopySKUSiPolicy(drive_name);
if ( (target_type == TT_BIOS) && HAS_WINPE(img_report) ) {
// Apply WinPE fixup
if (!SetupWinPE(drive_name[0]))
@@ -2017,7 +2015,7 @@ try_clear:
UpdateProgress(OP_EXTRACT_ZIP, 0.0f);
drive_name[2] = 0;
if (archive_path != NULL && fs_type < FS_EXT2 && !ExtractZip(archive_path, drive_name) && !IS_ERROR(ErrorStatus))
- uprintf("WARNING: Could not copy additional files");
+ uprintf("Warning: Could not copy additional files");
}
out:
diff --git a/src/format_ext.c b/src/format_ext.c
index 53800e93..7209b817 100644
--- a/src/format_ext.c
+++ b/src/format_ext.c
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* extfs formatting
- * Copyright © 2019-2025 Pete Batard
+ * Copyright © 2019-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -42,6 +42,7 @@ extern const char* FileSystemLabel[FS_MAX];
extern io_manager nt_io_manager;
extern DWORD ext2_last_winerror(DWORD default_error);
static float ext2_percent_start = 0.0f, ext2_percent_share = 0.5f;
+const float ext2_max_marker = 80.0f;
typedef struct {
uint64_t max_size;
@@ -186,8 +187,15 @@ const char* error_message(errcode_t error_code)
errcode_t ext2fs_print_progress(int64_t cur_value, int64_t max_value)
{
+ static int64_t last_value = -1;
+ if (max_value == 0)
+ return 0;
UpdateProgressWithInfo(OP_FORMAT, MSG_217, (uint64_t)((ext2_percent_start * max_value) + (ext2_percent_share * cur_value)), max_value);
- uprint_progress((uint64_t)cur_value, (uint64_t)max_value);
+ cur_value = (int64_t)(((float)cur_value / (float)max_value) * min(ext2_max_marker, (float)max_value));
+ if (cur_value != last_value) {
+ last_value = cur_value;
+ uprintfs("+");
+ }
return IS_ERROR(ErrorStatus) ? EXT2_ET_CANCEL_REQUESTED : 0;
}
@@ -379,7 +387,7 @@ BOOL FormatExtFs(DWORD DriveIndex, uint64_t PartitionOffset, DWORD BlockSize, LP
ext2_percent_start = 0.0f;
ext2_percent_share = (FSName[3] == '2') ? 1.0f : 0.5f;
uprintf("Creating %d inode sets: [1 marker = %0.1f set(s)]", ext2fs->group_desc_count,
- max((float)ext2fs->group_desc_count / MAX_MARKER, 1.0f));
+ max((float)ext2fs->group_desc_count / ext2_max_marker, 1.0f));
for (i = 0; i < (int)ext2fs->group_desc_count; i++) {
if (ext2fs_print_progress((int64_t)i, (int64_t)ext2fs->group_desc_count))
goto out;
@@ -435,7 +443,7 @@ BOOL FormatExtFs(DWORD DriveIndex, uint64_t PartitionOffset, DWORD BlockSize, LP
journal_size = ext2fs_default_journal_size(ext2fs_blocks_count(ext2fs->super));
journal_size /= 2; // That journal init is really killing us!
uprintf("Creating %d journal blocks: [1 marker = %0.1f block(s)]", journal_size,
- max((float)journal_size / MAX_MARKER, 1.0f));
+ max((float)journal_size / ext2_max_marker, 1.0f));
// Even with EXT2_MKJOURNAL_LAZYINIT, this call is absolutely dreadful in terms of speed...
r = ext2fs_add_journal_inode(ext2fs, journal_size, EXT2_MKJOURNAL_NO_MNT_CHECK | ((Flags & FP_QUICK) ? EXT2_MKJOURNAL_LAZYINIT : 0));
uprintfs("\r\n");
diff --git a/src/format_fat32.c b/src/format_fat32.c
index fa75f16e..57cdfb77 100644
--- a/src/format_fat32.c
+++ b/src/format_fat32.c
@@ -2,7 +2,7 @@
* Rufus: The Reliable USB Formatting Utility
* Large FAT32 formatting
* Copyright © 2007-2009 Tom Thornhill/Ridgecrop
- * Copyright © 2011-2025 Pete Batard
+ * Copyright © 2011-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -192,10 +192,8 @@ BOOL FormatLargeFAT32(DWORD DriveIndex, uint64_t PartitionOffset, DWORD ClusterS
ErrorStatus = RUFUS_ERROR(ERROR_INVALID_PARAMETER);
goto out;
}
- if (!(Flags & FP_NO_PROGRESS)) {
- PrintInfoDebug(0, MSG_222, "Large FAT32");
- UpdateProgressWithInfoInit(NULL, TRUE);
- }
+ PrintInfoDebug(0, MSG_222, "Large FAT32");
+ UpdateProgressWithInfoInit(NULL, TRUE);
VolumeId = GetVolumeID();
// Open the drive and lock it
@@ -425,8 +423,7 @@ BOOL FormatLargeFAT32(DWORD DriveIndex, uint64_t PartitionOffset, DWORD ClusterS
}
for (i = 0; i < (SystemAreaSize + BurstSize - 1); i += BurstSize) {
- if (!(Flags & FP_NO_PROGRESS))
- UpdateProgressWithInfo(OP_FORMAT, MSG_217, (uint64_t)i, (uint64_t)SystemAreaSize + BurstSize);
+ UpdateProgressWithInfo(OP_FORMAT, MSG_217, (uint64_t)i, (uint64_t)SystemAreaSize + BurstSize);
CHECK_FOR_USER_CANCEL;
if (write_sectors(hLogicalVolume, BytesPerSect, i, BurstSize, pZeroSect) != (BytesPerSect * BurstSize)) {
die("Error clearing reserved sectors", ERROR_WRITE_FAULT);
@@ -450,8 +447,7 @@ BOOL FormatLargeFAT32(DWORD DriveIndex, uint64_t PartitionOffset, DWORD ClusterS
if (!(Flags & FP_NO_BOOT)) {
// Must do it here, as have issues when trying to write the PBR after a remount
- if (!(Flags & FP_NO_PROGRESS))
- PrintInfoDebug(0, MSG_229);
+ PrintInfoDebug(0, MSG_229);
if (!WritePBR(hLogicalVolume)) {
// Non fatal error, but the drive probably won't boot
uprintf("Could not write partition boot record - drive may not boot...");
@@ -459,10 +455,8 @@ BOOL FormatLargeFAT32(DWORD DriveIndex, uint64_t PartitionOffset, DWORD ClusterS
}
// Set the FAT32 volume label
- if (!(Flags & FP_NO_PROGRESS)) {
- PrintInfo(0, MSG_221, lmprintf(MSG_307));
- uprintf("Setting label...");
- }
+ PrintInfo(0, MSG_221, lmprintf(MSG_307));
+ uprintf("Setting label...");
// Handle must be closed for SetVolumeLabel to work
safe_closehandle(hLogicalVolume);
VolumeName = write_as_esp ?
diff --git a/src/gpt_types.h b/src/gpt_types.h
index 128123aa..926056cc 100644
--- a/src/gpt_types.h
+++ b/src/gpt_types.h
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* GPT Partition Types
- * Copyright © 2020-2026 Pete Batard
+ * Copyright © 2020 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,520 +24,226 @@
#pragma once
-typedef struct {
- uint16_t code;
- const char* guid_str;
- const char* description;
-} gpt_type_entry_t;
-
-#define AddType(code, guid, desc, ...) { code, guid, desc },
-
/*
- * Because we value our sanity, we build our GPT entries from code lifted
- * verbatim from Debian's gdisk's parttypes.cc and use AddType() as a macro
- * to create a static table.
+ * From https://en.wikipedia.org/wiki/GUID_Partition_Table
*/
-static const gpt_type_entry_t gpt_type_table[] = {
- // From https://salsa.debian.org/debian/gdisk/-/blob/master/parttypes.cc
- // Semicolons after Addtype() *MUST* be removed.
-
- // Start with the "unused entry," which should normally appear only
- // on empty partition table entries....
- AddType(0x0000, "00000000-0000-0000-0000-000000000000", "Unused entry", 0)
-
- // DOS/Windows partition types, most of which are hidden from the "L" listing
- // (they're available mainly for MBR-to-GPT conversions).
- AddType(0x0100, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // FAT-12
- AddType(0x0400, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // FAT-16 < 32M
- AddType(0x0600, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // FAT-16
- AddType(0x0700, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 1) // NTFS (or HPFS)
- AddType(0x0701, "558D43C5-A1AC-43C0-AAC8-D1472B2923D1", "Microsoft Storage Replica", 1)
- AddType(0x0702, "90B6FF38-B98F-4358-A21F-48F35B4A8AD3", "ArcaOS Type 1", 1)
- AddType(0x0b00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // FAT-32
- AddType(0x0c00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // FAT-32 LBA
- AddType(0x0c01, "E3C9E316-0B5C-4DB8-817D-F92DF00215AE", "Microsoft reserved")
- AddType(0x0e00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // FAT-16 LBA
- AddType(0x1100, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // Hidden FAT-12
- AddType(0x1400, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // Hidden FAT-16 < 32M
- AddType(0x1600, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // Hidden FAT-16
- AddType(0x1700, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // Hidden NTFS (or HPFS)
- AddType(0x1b00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // Hidden FAT-32
- AddType(0x1c00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // Hidden FAT-32 LBA
- AddType(0x1e00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0) // Hidden FAT-16 LBA
- AddType(0x2700, "DE94BBA4-06D1-4D40-A16A-BFD50179D6AC", "Windows RE")
-
- // Open Network Install Environment (ONIE) specific types.
- // See http://www.onie.org/ and
- // https://github.com/opencomputeproject/onie/blob/master/patches/gptfdisk/add-onie-partition-types.patch
- AddType(0x3000, "7412F7D5-A156-4B13-81DC-867174929325", "ONIE boot")
- AddType(0x3001, "D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149", "ONIE config")
-
- // Plan 9; see http://man.cat-v.org/9front/8/prep
- AddType(0x3900, "C91818F9-8025-47AF-89D2-F030D7000C2C", "Plan 9")
-
- // PowerPC reference platform boot partition
- AddType(0x4100, "9E1A2D38-C612-4316-AA26-8B49521E5A8B", "PowerPC PReP boot")
-
- // Windows LDM ("dynamic disk") types
- AddType(0x4200, "AF9B60A0-1431-4F62-BC68-3311714A69AD", "Windows LDM data") // Logical disk manager
- AddType(0x4201, "5808C8AA-7E8F-42E0-85D2-E1E90434CFB3", "Windows LDM metadata") // Logical disk manager
- AddType(0x4202, "E75CAF8F-F680-4CEE-AFA3-B001E56EFC2D", "Windows Storage Spaces") // A newer LDM-type setup
-
- // An oddball IBM filesystem....
- AddType(0x7501, "37AFFC90-EF7D-4E96-91C3-2D7AE055B174", "IBM GPFS") // General Parallel File System (GPFS)
-
- // ChromeOS-specific partition types...
- // Values taken from vboot_reference/firmware/lib/cgptlib/include/gpt.h in
- // ChromeOS source code, retrieved 12/23/2010. They're also at
- // http://www.chromium.org/chromium-os/chromiumos-design-docs/disk-format.
- // These have no MBR equivalents, AFAIK, so I'm using 0x7Fxx values, since they're close
- // to the Linux values.
- AddType(0x7f00, "FE3A2A5D-4F32-41A7-B725-ACCC3285A309", "ChromeOS kernel")
- AddType(0x7f01, "3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC", "ChromeOS root")
- AddType(0x7f02, "2E0A753D-9E48-43B0-8337-B15192CB1B5E", "ChromeOS reserved")
- AddType(0x7f03, "CAB6E88E-ABF3-4102-A07A-D4BB9BE3C1D3", "ChromeOS firmware")
- AddType(0x7f04, "09845860-705F-4BB5-B16C-8A8A099CAF52", "ChromeOS mini-OS")
- AddType(0x7f05, "3F0F8318-F146-4E6B-8222-C28C8F02E0D5", "ChromeOS hibernate")
-
- // Linux-specific partition types....
- AddType(0x8200, "0657FD6D-A4AB-43C4-84E5-0933C84B4F4F", "Linux swap") // Linux swap (or Solaris on MBR)
- AddType(0x8300, "0FC63DAF-8483-4772-8E79-3D69D8477DE4", "Linux filesystem") // Linux native
- AddType(0x8301, "8DA63339-0007-60C0-C436-083AC8230908", "Linux reserved")
- // See https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html
- // and https://systemd.io/DISCOVERABLE_PARTITIONS
- AddType(0x8302, "933AC7E1-2EB4-4F13-B844-0E14E2AEF915", "Linux /home") // Linux /home (auto-mounted by systemd)
- AddType(0x8303, "44479540-F297-41B2-9AF7-D131D5F0458A", "Linux x86 root (/)") // Linux / on x86 (auto-mounted by systemd)
- AddType(0x8304, "4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709", "Linux x86-64 root (/)") // Linux / on x86-64 (auto-mounted by systemd)
- AddType(0x8305, "B921B045-1DF0-41C3-AF44-4C6F280D3FAE", "Linux ARM64 root (/)") // Linux / on 64-bit ARM (auto-mounted by systemd)
- AddType(0x8306, "3B8F8425-20E0-4F3B-907F-1A25A76F98E8", "Linux /srv") // Linux /srv (auto-mounted by systemd)
- AddType(0x8307, "69DAD710-2CE4-4E3C-B16C-21A1D49ABED3", "Linux ARM32 root (/)") // Linux / on 32-bit ARM (auto-mounted by systemd)
- AddType(0x8308, "7FFEC5C9-2D00-49B7-8941-3EA10A5586B7", "Linux dm-crypt")
- AddType(0x8309, "CA7D7CCB-63ED-4C53-861C-1742536059CC", "Linux LUKS")
- AddType(0x830A, "993D8D3D-F80E-4225-855A-9DAF8ED7EA97", "Linux IA-64 root (/)") // Linux / on Itanium (auto-mounted by systemd)
- AddType(0x830B, "D13C5D3B-B5D1-422A-B29F-9454FDC89D76", "Linux x86 root verity")
- AddType(0x830C, "2C7357ED-EBD2-46D9-AEC1-23D437EC2BF5", "Linux x86-64 root verity")
- AddType(0x830D, "7386CDF2-203C-47A9-A498-F2ECCE45A2D6", "Linux ARM32 root verity")
- AddType(0x830E, "DF3300CE-D69F-4C92-978C-9BFB0F38D820", "Linux ARM64 root verity")
- AddType(0x830F, "86ED10D5-B607-45BB-8957-D350F23D0571", "Linux IA-64 root verity")
- AddType(0x8310, "4D21B016-B534-45C2-A9FB-5C16E091FD2D", "Linux /var") // Linux /var (auto-mounted by systemd)
- AddType(0x8311, "7EC6F557-3BC5-4ACA-B293-16EF5DF639D1", "Linux /var/tmp") // Linux /var/tmp (auto-mounted by systemd)
- // https://systemd.io/HOME_DIRECTORY/
- AddType(0x8312, "773F91EF-66D4-49B5-BD83-D683BF40AD16", "Linux user's home") // used by systemd-homed
- AddType(0x8313, "75250D76-8CC6-458E-BD66-BD47CC81A812", "Linux x86 /usr ") // Linux /usr on x86 (auto-mounted by systemd)
- AddType(0x8314, "8484680C-9521-48C6-9C11-B0720656F69E", "Linux x86-64 /usr") // Linux /usr on x86-64 (auto-mounted by systemd)
- AddType(0x8315, "7D0359A3-02B3-4F0A-865C-654403E70625", "Linux ARM32 /usr") // Linux /usr on 32-bit ARM (auto-mounted by systemd)
- AddType(0x8316, "B0E01050-EE5F-4390-949A-9101B17104E9", "Linux ARM64 /usr") // Linux /usr on 64-bit ARM (auto-mounted by systemd)
- AddType(0x8317, "4301D2A6-4E3B-4B2A-BB94-9E0B2C4225EA", "Linux IA-64 /usr") // Linux /usr on Itanium (auto-mounted by systemd)
- AddType(0x8318, "8F461B0D-14EE-4E81-9AA9-049B6FB97ABD", "Linux x86 /usr verity")
- AddType(0x8319, "77FF5F63-E7B6-4633-ACF4-1565B864C0E6", "Linux x86-64 /usr verity")
- AddType(0x831A, "C215D751-7BCD-4649-BE90-6627490A4C05", "Linux ARM32 /usr verity")
- AddType(0x831B, "6E11A4E7-FBCA-4DED-B9E9-E1A512BB664E", "Linux ARM64 /usr verity")
- AddType(0x831C, "6A491E03-3BE7-4545-8E38-83320E0EA880", "Linux IA-64 /usr verity")
- AddType(0x831D, "6523F8AE-3EB1-4E2A-A05A-18B695AE656F", "Linux Alpha root (/)")
- AddType(0x831E, "D27F46ED-2919-4CB8-BD25-9531F3C16534", "Linux ARC root (/)")
- AddType(0x831F, "77055800-792C-4F94-B39A-98C91B762BB6", "Linux LoongArch root (/)")
- AddType(0x8320, "E9434544-6E2C-47CC-BAE2-12D6DEAFB44C", "Linux MIPS-32 BE root (/)")
- AddType(0x8321, "D113AF76-80EF-41B4-BDB6-0CFF4D3D4A25", "Linux MIPS-64 BE root (/)")
- AddType(0x8322, "37C58C8A-D913-4156-A25F-48B1B64E07F0", "Linux MIPS-32 LE root (/)")
- AddType(0x8323, "700BDA43-7A34-4507-B179-EEB93D7A7CA3", "Linux MIPS-64 LE root (/)")
- AddType(0x8324, "1AACDB3B-5444-4138-BD9E-E5C2239B2346", "Linux PA-RISC root (/)")
- AddType(0x8325, "1DE3F1EF-FA98-47B5-8DCD-4A860A654D78", "Linux PowerPC-32 root (/)")
- AddType(0x8326, "912ADE1D-A839-4913-8964-A10EEE08FBD2", "Linux PowerPC-64 BE root (/)")
- AddType(0x8327, "C31C45E6-3F39-412E-80FB-4809C4980599", "Linux PowerPC-64 LE root (/)")
- AddType(0x8328, "60D5A7FE-8E7D-435C-B714-3DD8162144E1", "Linux RISC-V-32 root (/)")
- AddType(0x8329, "72EC70A6-CF74-40E6-BD49-4BDA08E8F224", "Linux RISC-V-64 root (/)")
- AddType(0x832A, "08A7ACEA-624C-4A20-91E8-6E0FA67D23F9", "Linux s390 root (/)")
- AddType(0x832B, "5EEAD9A9-FE09-4A1E-A1D7-520D00531306", "Linux s390x root (/)")
- AddType(0x832C, "C50CDD70-3862-4CC3-90E1-809A8C93EE2C", "Linux TILE-Gx root (/)")
- AddType(0x832D, "E18CF08C-33EC-4C0D-8246-C6C6FB3DA024", "Linux Alpha /usr")
- AddType(0x832E, "7978A683-6316-4922-BBEE-38BFF5A2FECC", "Linux ARC /usr")
- AddType(0x832F, "E611C702-575C-4CBE-9A46-434FA0BF7E3F", "Linux LoongArch /usr")
- AddType(0x8330, "773B2ABC-2A99-4398-8BF5-03BAAC40D02B", "Linux MIPS-32 BE /usr")
- AddType(0x8331, "57E13958-7331-4365-8E6E-35EEEE17C61B", "Linux MIPS-64 BE /usr")
- AddType(0x8332, "0F4868E9-9952-4706-979F-3ED3A473E947", "Linux MIPS-32 LE /usr")
- AddType(0x8333, "C97C1F32-BA06-40B4-9F22-236061B08AA8", "Linux MIPS-64 LE /usr")
- AddType(0x8334, "DC4A4480-6917-4262-A4EC-DB9384949F25", "Linux PA-RISC /usr")
- AddType(0x8335, "7D14FEC5-CC71-415D-9D6C-06BF0B3C3EAF", "Linux PowerPC-32 /usr")
- AddType(0x8336, "2C9739E2-F068-46B3-9FD0-01C5A9AFBCCA", "Linux PowerPC-64 BE /usr")
- AddType(0x8337, "15BB03AF-77E7-4D4A-B12B-C0D084F7491C", "Linux PowerPC-64 LE /usr")
- AddType(0x8338, "B933FB22-5C3F-4F91-AF90-E2BB0FA50702", "Linux RISC-V-32 /usr")
- AddType(0x8339, "BEAEC34B-8442-439B-A40B-984381ED097D", "Linux RISC-V-64 /usr")
- AddType(0x833A, "CD0F869B-D0FB-4CA0-B141-9EA87CC78D66", "Linux s390 /usr")
- AddType(0x833B, "8A4F5770-50AA-4ED3-874A-99B710DB6FEA", "Linux s390x /usr")
- AddType(0x833C, "55497029-C7C1-44CC-AA39-815ED1558630", "Linux TILE-Gx /usr")
- AddType(0x833D, "FC56D9E9-E6E5-4C06-BE32-E74407CE09A5", "Linux Alpha root verity")
- AddType(0x833E, "24B2D975-0F97-4521-AFA1-CD531E421B8D", "Linux ARC root verity")
- AddType(0x833F, "F3393B22-E9AF-4613-A948-9D3BFBD0C535", "Linux LoongArch root verity")
- AddType(0x8340, "7A430799-F711-4C7E-8E5B-1D685BD48607", "Linux MIPS-32 BE root verity")
- AddType(0x8341, "579536F8-6A33-4055-A95A-DF2D5E2C42A8", "Linux MIPS-64 BE root verity")
- AddType(0x8342, "D7D150D2-2A04-4A33-8F12-16651205FF7B", "Linux MIPS-32 LE root verity")
- AddType(0x8343, "16B417F8-3E06-4F57-8DD2-9B5232F41AA6", "Linux MIPS-64 LE root verity")
- AddType(0x8344, "D212A430-FBC5-49F9-A983-A7FEEF2B8D0E", "Linux PA-RISC root verity")
- AddType(0x8345, "906BD944-4589-4AAE-A4E4-DD983917446A", "Linux PowerPC-64 LE root verity")
- AddType(0x8346, "9225A9A3-3C19-4D89-B4F6-EEFF88F17631", "Linux PowerPC-64 BE root verity")
- AddType(0x8347, "98CFE649-1588-46DC-B2F0-ADD147424925", "Linux PowerPC-32 root verity")
- AddType(0x8348, "AE0253BE-1167-4007-AC68-43926C14C5DE", "Linux RISC-V-32 root verity")
- AddType(0x8349, "B6ED5582-440B-4209-B8DA-5FF7C419EA3D", "Linux RISC-V-64 root verity")
- AddType(0x834A, "7AC63B47-B25C-463B-8DF8-B4A94E6C90E1", "Linux s390 root verity")
- AddType(0x834B, "B325BFBE-C7BE-4AB8-8357-139E652D2F6B", "Linux s390x root verity")
- AddType(0x834C, "966061EC-28E4-4B2E-B4A5-1F0A825A1D84", "Linux TILE-Gx root verity")
- AddType(0x834D, "8CCE0D25-C0D0-4A44-BD87-46331BF1DF67", "Linux Alpha /usr verity")
- AddType(0x834E, "FCA0598C-D880-4591-8C16-4EDA05C7347C", "Linux ARC /usr verity")
- AddType(0x834F, "F46B2C26-59AE-48F0-9106-C50ED47F673D", "Linux LoongArch /usr verity")
- AddType(0x8350, "6E5A1BC8-D223-49B7-BCA8-37A5FCCEB996", "Linux MIPS-32 BE /usr verity")
- AddType(0x8351, "81CF9D90-7458-4DF4-8DCF-C8A3A404F09B", "Linux MIPS-64 BE /usr verity")
- AddType(0x8352, "46B98D8D-B55C-4E8F-AAB3-37FCA7F80752", "Linux MIPS-32 LE /usr verity")
- AddType(0x8353, "3C3D61FE-B5F3-414D-BB71-8739A694A4EF", "Linux MIPS-64 LE /usr verity")
- AddType(0x8354, "5843D618-EC37-48D7-9F12-CEA8E08768B2", "Linux PA-RISC /usr verity")
- AddType(0x8355, "EE2B9983-21E8-4153-86D9-B6901A54D1CE", "Linux PowerPC-64 LE /usr verity")
- AddType(0x8356, "BDB528A5-A259-475F-A87D-DA53FA736A07", "Linux PowerPC-64 BE /usr verity")
- AddType(0x8357, "DF765D00-270E-49E5-BC75-F47BB2118B09", "Linux PowerPC-32 /usr verity")
- AddType(0x8358, "CB1EE4E3-8CD0-4136-A0A4-AA61A32E8730", "Linux RISC-V-32 /usr verity")
- AddType(0x8359, "8F1056BE-9B05-47C4-81D6-BE53128E5B54", "Linux RISC-V-64 /usr verity")
- AddType(0x835A, "B663C618-E7BC-4D6D-90AA-11B756BB1797", "Linux s390 /usr verity")
- AddType(0x835B, "31741CC4-1A2A-4111-A581-E00B447D2D06", "Linux s390x /usr verity")
- AddType(0x835C, "2FB4BF56-07FA-42DA-8132-6B139F2026AE", "Linux TILE-Gx /usr verity")
- AddType(0x835D, "D46495B7-A053-414F-80F7-700C99921EF8", "Linux Alpha root verity signature")
- AddType(0x835E, "143A70BA-CBD3-4F06-919F-6C05683A78BC", "Linux ARC root verity signature")
- AddType(0x835F, "42B0455F-EB11-491D-98D3-56145BA9D037", "Linux ARM32 root verity signature")
- AddType(0x8360, "6DB69DE6-29F4-4758-A7A5-962190F00CE3", "Linux ARM64 root verity signature")
- AddType(0x8361, "E98B36EE-32BA-4882-9B12-0CE14655F46A", "Linux IA-64 root verity signature")
- AddType(0x8362, "5AFB67EB-ECC8-4F85-AE8E-AC1E7C50E7D0", "Linux LoongArch root verity signature")
- AddType(0x8363, "BBA210A2-9C5D-45EE-9E87-FF2CCBD002D0", "Linux MIPS-32 BE root verity signature")
- AddType(0x8364, "43CE94D4-0F3D-4999-8250-B9DEAFD98E6E", "Linux MIPS-64 BE root verity signature")
- AddType(0x8365, "C919CC1F-4456-4EFF-918C-F75E94525CA5", "Linux MIPS-32 LE root verity signature")
- AddType(0x8366, "904E58EF-5C65-4A31-9C57-6AF5FC7C5DE7", "Linux MIPS-64 LE root verity signature")
- AddType(0x8367, "15DE6170-65D3-431C-916E-B0DCD8393F25", "Linux PA-RISC root verity signature")
- AddType(0x8368, "D4A236E7-E873-4C07-BF1D-BF6CF7F1C3C6", "Linux PowerPC-64 LE root verity signature")
- AddType(0x8369, "F5E2C20C-45B2-4FFA-BCE9-2A60737E1AAF", "Linux PowerPC-64 BE root verity signature")
- AddType(0x836A, "1B31B5AA-ADD9-463A-B2ED-BD467FC857E7", "Linux PowerPC-32 root verity signature")
- AddType(0x836B, "3A112A75-8729-4380-B4CF-764D79934448", "Linux RISC-V-32 root verity signature")
- AddType(0x836C, "EFE0F087-EA8D-4469-821A-4C2A96A8386A", "Linux RISC-V-64 root verity signature")
- AddType(0x836D, "3482388E-4254-435A-A241-766A065F9960", "Linux s390 root verity signature")
- AddType(0x836E, "C80187A5-73A3-491A-901A-017C3FA953E9", "Linux s390x root verity signature")
- AddType(0x836F, "B3671439-97B0-4A53-90F7-2D5A8F3AD47B", "Linux TILE-Gx root verity signature")
- AddType(0x8370, "41092B05-9FC8-4523-994F-2DEF0408B176", "Linux x86-64 root verity signature")
- AddType(0x8371, "5996FC05-109C-48DE-808B-23FA0830B676", "Linux x86 root verity signature")
- AddType(0x8372, "5C6E1C76-076A-457A-A0FE-F3B4CD21CE6E", "Linux Alpha /usr verity signature")
- AddType(0x8373, "94F9A9A1-9971-427A-A400-50CB297F0F35", "Linux ARC /usr verity signature")
- AddType(0x8374, "D7FF812F-37D1-4902-A810-D76BA57B975A", "Linux ARM32 /usr verity signature")
- AddType(0x8375, "C23CE4FF-44BD-4B00-B2D4-B41B3419E02A", "Linux ARM64 /usr verity signature")
- AddType(0x8376, "8DE58BC2-2A43-460D-B14E-A76E4A17B47F", "Linux IA-64 /usr verity signature")
- AddType(0x8377, "B024F315-D330-444C-8461-44BBDE524E99", "Linux LoongArch /usr verity signature")
- AddType(0x8378, "97AE158D-F216-497B-8057-F7F905770F54", "Linux MIPS-32 BE /usr verity signature")
- AddType(0x8379, "05816CE2-DD40-4AC6-A61D-37D32DC1BA7D", "Linux MIPS-64 BE /usr verity signature")
- AddType(0x837A, "3E23CA0B-A4BC-4B4E-8087-5AB6A26AA8A9", "Linux MIPS-32 LE /usr verity signature")
- AddType(0x837B, "F2C2C7EE-ADCC-4351-B5C6-EE9816B66E16", "Linux MIPS-64 LE /usr verity signature")
- AddType(0x837C, "450DD7D1-3224-45EC-9CF2-A43A346D71EE", "Linux PA-RISC /usr verity signature")
- AddType(0x837D, "C8BFBD1E-268E-4521-8BBA-BF314C399557", "Linux PowerPC-64 LE /usr verity signature")
- AddType(0x837E, "0B888863-D7F8-4D9E-9766-239FCE4D58AF", "Linux PowerPC-64 BE /usr verity signature")
- AddType(0x837F, "7007891D-D371-4A80-86A4-5CB875B9302E", "Linux PowerPC-32 /usr verity signature")
- AddType(0x8380, "C3836A13-3137-45BA-B583-B16C50FE5EB4", "Linux RISC-V-32 /usr verity signature")
- AddType(0x8381, "D2F9000A-7A18-453F-B5CD-4D32F77A7B32", "Linux RISC-V-64 /usr verity signature")
- AddType(0x8382, "17440E4F-A8D0-467F-A46E-3912AE6EF2C5", "Linux s390 /usr verity signature")
- AddType(0x8383, "3F324816-667B-46AE-86EE-9B0C0C6C11B4", "Linux s390x /usr verity signature")
- AddType(0x8384, "4EDE75E2-6CCC-4CC8-B9C7-70334B087510", "Linux TILE-Gx /usr verity signature")
- AddType(0x8385, "E7BB33FB-06CF-4E81-8273-E543B413E2E2", "Linux x86-64 /usr verity signature")
- AddType(0x8386, "974A71C0-DE41-43C3-BE5D-5C5CCD1AD2C0", "Linux x86 /usr verity signature")
-
- // Used by Intel Rapid Start technology
- AddType(0x8400, "D3BFE2DE-3DAF-11DF-BA40-E3A556D89593", "Intel Rapid Start")
- // This is another Intel-associated technology, so I'm keeping it close to the previous one....
- AddType(0x8401, "7C5222BD-8F5D-4087-9C00-BF9843C7B58C", "SPDK block device")
-
- // Type codes for Container Linux (formerly CoreOS; https://coreos.com)
- AddType(0x8500, "5DFBF5F4-2848-4BAC-AA5E-0D9A20B745A6", "Container Linux /usr")
- AddType(0x8501, "3884DD41-8582-4404-B9A8-E9B84F2DF50E", "Container Linux resizable rootfs")
- AddType(0x8502, "C95DC21A-DF0E-4340-8D7B-26CBFA9A03E0", "Container Linux /OEM customizations")
- AddType(0x8503, "BE9067B9-EA49-4F15-B4F6-F36F8C9E1818", "Container Linux root on RAID")
-
- // Another Linux type code....
- AddType(0x8e00, "E6D6D379-F507-44C2-A23C-238F2A3DF928", "Linux LVM")
-
- // Android type codes....
- // from Wikipedia, https://gist.github.com/culots/704afd126dec2f45c22d0c9d42cb7fab,
- // and my own Android devices' partition tables
- AddType(0xa000, "2568845D-2332-4675-BC39-8FA5A4748D15", "Android bootloader")
- AddType(0xa001, "114EAFFE-1552-4022-B26E-9B053604CF84", "Android bootloader 2")
- AddType(0xa002, "49A4D17F-93A3-45C1-A0DE-F50B2EBE2599", "Android boot 1")
- AddType(0xa003, "4177C722-9E92-4AAB-8644-43502BFD5506", "Android recovery 1")
- AddType(0xa004, "EF32A33B-A409-486C-9141-9FFB711F6266", "Android misc")
- AddType(0xa005, "20AC26BE-20B7-11E3-84C5-6CFDB94711E9", "Android metadata")
- AddType(0xa006, "38F428E6-D326-425D-9140-6E0EA133647C", "Android system 1")
- AddType(0xa007, "A893EF21-E428-470A-9E55-0668FD91A2D9", "Android cache")
- AddType(0xa008, "DC76DDA9-5AC1-491C-AF42-A82591580C0D", "Android data")
- AddType(0xa009, "EBC597D0-2053-4B15-8B64-E0AAC75F4DB1", "Android persistent")
- AddType(0xa00a, "8F68CC74-C5E5-48DA-BE91-A0C8C15E9C80", "Android factory")
- AddType(0xa00b, "767941D0-2085-11E3-AD3B-6CFDB94711E9", "Android fastboot/tertiary")
- AddType(0xa00c, "AC6D7924-EB71-4DF8-B48D-E267B27148FF", "Android OEM")
- AddType(0xa00d, "C5A0AEEC-13EA-11E5-A1B1-001E67CA0C3C", "Android vendor")
- AddType(0xa00e, "BD59408B-4514-490D-BF12-9878D963F378", "Android config")
- AddType(0xa00f, "9FDAA6EF-4B3F-40D2-BA8D-BFF16BFB887B", "Android factory (alt)")
- AddType(0xa010, "19A710A2-B3CA-11E4-B026-10604B889DCF", "Android meta")
- AddType(0xa011, "193D1EA4-B3CA-11E4-B075-10604B889DCF", "Android EXT")
- AddType(0xa012, "DEA0BA2C-CBDD-4805-B4F9-F428251C3E98", "Android SBL1")
- AddType(0xa013, "8C6B52AD-8A9E-4398-AD09-AE916E53AE2D", "Android SBL2")
- AddType(0xa014, "05E044DF-92F1-4325-B69E-374A82E97D6E", "Android SBL3")
- AddType(0xa015, "400FFDCD-22E0-47E7-9A23-F16ED9382388", "Android APPSBL")
- AddType(0xa016, "A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4", "Android QSEE/tz")
- AddType(0xa017, "E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A", "Android QHEE/hyp")
- AddType(0xa018, "098DF793-D712-413D-9D4E-89D711772228", "Android RPM")
- AddType(0xa019, "D4E0D938-B7FA-48C1-9D21-BC5ED5C4B203", "Android WDOG debug/sdi")
- AddType(0xa01a, "20A0C19C-286A-42FA-9CE7-F64C3226A794", "Android DDR")
- AddType(0xa01b, "A19F205F-CCD8-4B6D-8F1E-2D9BC24CFFB1", "Android CDT")
- AddType(0xa01c, "66C9B323-F7FC-48B6-BF96-6F32E335A428", "Android RAM dump")
- AddType(0xa01d, "303E6AC3-AF15-4C54-9E9B-D9A8FBECF401", "Android SEC")
- AddType(0xa01e, "C00EEF24-7709-43D6-9799-DD2B411E7A3C", "Android PMIC")
- AddType(0xa01f, "82ACC91F-357C-4A68-9C8F-689E1B1A23A1", "Android misc 1")
- AddType(0xa020, "E2802D54-0545-E8A1-A1E8-C7A3E245ACD4", "Android misc 2")
- AddType(0xa021, "65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03", "Android device info")
- AddType(0xa022, "E6E98DA2-E22A-4D12-AB33-169E7DEAA507", "Android APDP")
- AddType(0xa023, "ED9E8101-05FA-46B7-82AA-8D58770D200B", "Android MSADP")
- AddType(0xa024, "11406F35-1173-4869-807B-27DF71802812", "Android DPO")
- AddType(0xa025, "9D72D4E4-9958-42DA-AC26-BEA7A90B0434", "Android recovery 2")
- AddType(0xa026, "6C95E238-E343-4BA8-B489-8681ED22AD0B", "Android persist")
- AddType(0xa027, "EBBEADAF-22C9-E33B-8F5D-0E81686A68CB", "Android modem ST1")
- AddType(0xa028, "0A288B1F-22C9-E33B-8F5D-0E81686A68CB", "Android modem ST2")
- AddType(0xa029, "57B90A16-22C9-E33B-8F5D-0E81686A68CB", "Android FSC")
- AddType(0xa02a, "638FF8E2-22C9-E33B-8F5D-0E81686A68CB", "Android FSG 1")
- AddType(0xa02b, "2013373E-1AC4-4131-BFD8-B6A7AC638772", "Android FSG 2")
- AddType(0xa02c, "2C86E742-745E-4FDD-BFD8-B6A7AC638772", "Android SSD")
- AddType(0xa02d, "DE7D4029-0F5B-41C8-AE7E-F6C023A02B33", "Android keystore")
- AddType(0xa02e, "323EF595-AF7A-4AFA-8060-97BE72841BB9", "Android encrypt")
- AddType(0xa02f, "45864011-CF89-46E6-A445-85262E065604", "Android EKSST")
- AddType(0xa030, "8ED8AE95-597F-4C8A-A5BD-A7FF8E4DFAA9", "Android RCT")
- AddType(0xa031, "DF24E5ED-8C96-4B86-B00B-79667DC6DE11", "Android spare1")
- AddType(0xa032, "7C29D3AD-78B9-452E-9DEB-D098D542F092", "Android spare2")
- AddType(0xa033, "379D107E-229E-499D-AD4F-61F5BCF87BD4", "Android spare3")
- AddType(0xa034, "0DEA65E5-A676-4CDF-823C-77568B577ED5", "Android spare4")
- AddType(0xa035, "4627AE27-CFEF-48A1-88FE-99C3509ADE26", "Android raw resources")
- AddType(0xa036, "20117F86-E985-4357-B9EE-374BC1D8487D", "Android boot 2")
- AddType(0xa037, "86A7CB80-84E1-408C-99AB-694F1A410FC7", "Android FOTA")
- AddType(0xa038, "97D7B011-54DA-4835-B3C4-917AD6E73D74", "Android system 2")
- AddType(0xa039, "5594C694-C871-4B5F-90B1-690A6F68E0F7", "Android cache")
- AddType(0xa03a, "1B81E7E6-F50D-419B-A739-2AEEF8DA3335", "Android user data")
- AddType(0xa03b, "98523EC6-90FE-4C67-B50A-0FC59ED6F56D", "LG (Android) advanced flasher")
- AddType(0xa03c, "2644BCC0-F36A-4792-9533-1738BED53EE3", "Android PG1FS")
- AddType(0xa03d, "DD7C91E9-38C9-45C5-8A12-4A80F7E14057", "Android PG2FS")
- AddType(0xa03e, "7696D5B6-43FD-4664-A228-C563C4A1E8CC", "Android board info")
- AddType(0xa03f, "0D802D54-058D-4A20-AD2D-C7A362CEACD4", "Android MFG")
- AddType(0xa040, "10A0C19C-516A-5444-5CE3-664C3226A794", "Android limits")
-
- // Atari TOS partition type
- AddType(0xa200, "734E5AFE-F61A-11E6-BC64-92361F002671", "Atari TOS basic data")
-
- // FreeBSD partition types....
- // Note: Rather than extract FreeBSD disklabel data, convert FreeBSD
- // partitions in-place, and let FreeBSD sort out the details....
- AddType(0xa500, "516E7CB4-6ECF-11D6-8FF8-00022D09712B", "FreeBSD disklabel")
- AddType(0xa501, "83BD6B9D-7F41-11DC-BE0B-001560B84F0F", "FreeBSD boot")
- AddType(0xa502, "516E7CB5-6ECF-11D6-8FF8-00022D09712B", "FreeBSD swap")
- AddType(0xa503, "516E7CB6-6ECF-11D6-8FF8-00022D09712B", "FreeBSD UFS")
- AddType(0xa504, "516E7CBA-6ECF-11D6-8FF8-00022D09712B", "FreeBSD ZFS")
- AddType(0xa505, "516E7CB8-6ECF-11D6-8FF8-00022D09712B", "FreeBSD Vinum/RAID")
- AddType(0xa506, "74BA7DD9-A689-11E1-BD04-00E081286ACF", "FreeBSD nandfs")
-
- // Midnight BSD partition types....
- AddType(0xa580, "85D5E45A-237C-11E1-B4B3-E89A8F7FC3A7", "Midnight BSD data")
- AddType(0xa581, "85D5E45E-237C-11E1-B4B3-E89A8F7FC3A7", "Midnight BSD boot")
- AddType(0xa582, "85D5E45B-237C-11E1-B4B3-E89A8F7FC3A7", "Midnight BSD swap")
- AddType(0xa583, "0394Ef8B-237E-11E1-B4B3-E89A8F7FC3A7", "Midnight BSD UFS")
- AddType(0xa584, "85D5E45D-237C-11E1-B4B3-E89A8F7FC3A7", "Midnight BSD ZFS")
- AddType(0xa585, "85D5E45C-237C-11E1-B4B3-E89A8F7FC3A7", "Midnight BSD Vinum")
-
- // OpenBSD partition type....
- AddType(0xa600, "824CC7A0-36A8-11E3-890A-952519AD3F61", "OpenBSD disklabel")
-
- // A MacOS partition type, separated from others by NetBSD partition types...
- AddType(0xa800, "55465300-0000-11AA-AA11-00306543ECAC", "Apple UFS") // Mac OS X
-
- // NetBSD partition types. Note that the main entry sets it up as a
- // FreeBSD disklabel. I'm not 100% certain this is the correct behavior.
- AddType(0xa900, "516E7CB4-6ECF-11D6-8FF8-00022D09712B", "FreeBSD disklabel", 0) // NetBSD disklabel
- AddType(0xa901, "49F48D32-B10E-11DC-B99B-0019D1879648", "NetBSD swap")
- AddType(0xa902, "49F48D5A-B10E-11DC-B99B-0019D1879648", "NetBSD FFS")
- AddType(0xa903, "49F48D82-B10E-11DC-B99B-0019D1879648", "NetBSD LFS")
- AddType(0xa904, "2DB519C4-B10F-11DC-B99B-0019D1879648", "NetBSD concatenated")
- AddType(0xa905, "2DB519EC-B10F-11DC-B99B-0019D1879648", "NetBSD encrypted")
- AddType(0xa906, "49F48DAA-B10E-11DC-B99B-0019D1879648", "NetBSD RAID")
-
- // Mac OS partition types (See also 0xa800, above)....
- AddType(0xab00, "426F6F74-0000-11AA-AA11-00306543ECAC", "Recovery HD")
- AddType(0xaf00, "48465300-0000-11AA-AA11-00306543ECAC", "Apple HFS/HFS+")
- AddType(0xaf01, "52414944-0000-11AA-AA11-00306543ECAC", "Apple RAID")
- AddType(0xaf02, "52414944-5F4F-11AA-AA11-00306543ECAC", "Apple RAID offline")
- AddType(0xaf03, "4C616265-6C00-11AA-AA11-00306543ECAC", "Apple label")
- AddType(0xaf04, "5265636F-7665-11AA-AA11-00306543ECAC", "AppleTV recovery")
- AddType(0xaf05, "53746F72-6167-11AA-AA11-00306543ECAC", "Apple Core Storage")
- AddType(0xaf06, "B6FA30DA-92D2-4A9A-96F1-871EC6486200", "Apple SoftRAID Status")
- AddType(0xaf07, "2E313465-19B9-463F-8126-8A7993773801", "Apple SoftRAID Scratch")
- AddType(0xaf08, "FA709C7E-65B1-4593-BFD5-E71D61DE9B02", "Apple SoftRAID Volume")
- AddType(0xaf09, "BBBA6DF5-F46F-4A89-8F59-8765B2727503", "Apple SoftRAID Cache")
- AddType(0xaf0a, "7C3457EF-0000-11AA-AA11-00306543ECAC", "Apple APFS")
- AddType(0xaf0b, "69646961-6700-11AA-AA11-00306543ECAC", "Apple APFS Pre-Boot")
- AddType(0xaf0c, "52637672-7900-11AA-AA11-00306543ECAC", "Apple APFS Recovery")
-
- // U-Boot boot loader; see https://lists.denx.de/pipermail/u-boot/2020-November/432928.html
- // and https://source.denx.de/u-boot/u-boot/-/blob/v2021.07/include/part_efi.h#L59-61
- AddType(0xb000, "3DE21764-95BD-54BD-A5C3-4ABE786F38A8", "U-Boot boot loader")
-
- // QNX Power-Safe (QNX6)
- AddType(0xb300, "CEF5A9AD-73BC-4601-89F3-CDEEEEE321A1", "QNX6 Power-Safe")
-
- // Barebox boot loader; see https://barebox.org/doc/latest/user/state.html?highlight=guid#sd-emmc-and-ata
- AddType(0xbb00, "4778ED65-BF42-45FA-9C5B-287A1DC4AAB1", "Barebox boot loader")
-
- // Acronis Secure Zone
- AddType(0xbc00, "0311FC50-01CA-4725-AD77-9ADBB20ACE98", "Acronis Secure Zone")
-
- // Solaris partition types (one of which is shared with MacOS)
- AddType(0xbe00, "6A82CB45-1DD2-11B2-99A6-080020736631", "Solaris boot")
- AddType(0xbf00, "6A85CF4D-1DD2-11B2-99A6-080020736631", "Solaris root")
- AddType(0xbf01, "6A898CC3-1DD2-11B2-99A6-080020736631", "Solaris /usr & Mac ZFS") // Solaris/MacOS
- AddType(0xbf02, "6A87C46F-1DD2-11B2-99A6-080020736631", "Solaris swap")
- AddType(0xbf03, "6A8B642B-1DD2-11B2-99A6-080020736631", "Solaris backup")
- AddType(0xbf04, "6A8EF2E9-1DD2-11B2-99A6-080020736631", "Solaris /var")
- AddType(0xbf05, "6A90BA39-1DD2-11B2-99A6-080020736631", "Solaris /home")
- AddType(0xbf06, "6A9283A5-1DD2-11B2-99A6-080020736631", "Solaris alternate sector")
- AddType(0xbf07, "6A945A3B-1DD2-11B2-99A6-080020736631", "Solaris Reserved 1")
- AddType(0xbf08, "6A9630D1-1DD2-11B2-99A6-080020736631", "Solaris Reserved 2")
- AddType(0xbf09, "6A980767-1DD2-11B2-99A6-080020736631", "Solaris Reserved 3")
- AddType(0xbf0a, "6A96237F-1DD2-11B2-99A6-080020736631", "Solaris Reserved 4")
- AddType(0xbf0b, "6A8D2AC7-1DD2-11B2-99A6-080020736631", "Solaris Reserved 5")
-
- // I can find no MBR equivalents for these, but they're on the
- // Wikipedia page for GPT, so here we go....
- AddType(0xc001, "75894C1E-3AEB-11D3-B7C1-7B03A0000000", "HP-UX data")
- AddType(0xc002, "E2A1E728-32E3-11D6-A682-7B03A0000000", "HP-UX service")
-
- // Open Network Install Environment (ONIE) partitions....
- AddType(0xe100, "7412F7D5-A156-4B13-81DC-867174929325", "ONIE boot")
- AddType(0xe101, "D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149", "ONIE config")
-
- // Veracrypt (https://www.veracrypt.fr/en/Home.html) encrypted partition
- AddType(0xe900, "8C8F8EFF-AC95-4770-814A-21994F2DBC8F", "Veracrypt data")
-
- // See https://systemd.io/BOOT_LOADER_SPECIFICATION/
- AddType(0xea00, "BC13C2FF-59E6-4262-A352-B275FD6F7172", "XBOOTLDR partition")
-
- // Type code for Haiku; uses BeOS MBR code as hex code base
- AddType(0xeb00, "42465331-3BA3-10F1-802A-4861696B7521", "Haiku BFS")
-
- // Manufacturer-specific ESP-like partitions (in order in which they were added)
- AddType(0xed00, "F4019732-066E-4E12-8273-346C5641494F", "Sony system partition")
- AddType(0xed01, "BFBFAFE7-A34F-448A-9A5B-6213EB736C22", "Lenovo system partition")
-
- // EFI system and related partitions
- AddType(0xef00, "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", "EFI system partition") // Parted identifies these as having the "boot flag" set
- AddType(0xef01, "024DEE41-33E7-11D3-9D69-0008C781F39F", "MBR partition scheme") // Used to nest MBR in GPT
- AddType(0xef02, "21686148-6449-6E6F-744E-656564454649", "BIOS boot partition") // Used by GRUB
-
- // Fuscia OS codes; see https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/system/public/zircon/hw/gpt.h
- AddType(0xf100, "FE8A2634-5E2E-46BA-99E3-3A192091A350", "Fuchsia boot loader (slot A/B/R)")
- AddType(0xf101, "D9FD4535-106C-4CEC-8D37-DFC020CA87CB", "Fuchsia durable mutable encrypted system data")
- AddType(0xf102, "A409E16B-78AA-4ACC-995C-302352621A41", "Fuchsia durable mutable boot loader")
- AddType(0xf103, "F95D940E-CABA-4578-9B93-BB6C90F29D3E", "Fuchsia factory ro system data")
- AddType(0xf104, "10B8DBAA-D2BF-42A9-98C6-A7C5DB3701E7", "Fuchsia factory ro bootloader data")
- AddType(0xf105, "49FD7CB8-DF15-4E73-B9D9-992070127F0F", "Fuchsia Volume Manager")
- AddType(0xf106, "421A8BFC-85D9-4D85-ACDA-B64EEC0133E9", "Fuchsia verified boot metadata (slot A/B/R)")
- AddType(0xf107, "9B37FFF6-2E58-466A-983A-F7926D0B04E0", "Fuchsia Zircon boot image (slot A/B/R)")
- AddType(0xf108, "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", "Fuchsia ESP")
- AddType(0xf109, "606B000B-B7C7-4653-A7D5-B737332C899D", "Fuchsia System")
- AddType(0xf10a, "08185F0C-892D-428A-A789-DBEEC8F55E6A", "Fuchsia Data")
- AddType(0xf10b, "48435546-4953-2041-494E-5354414C4C52", "Fuchsia Install")
- AddType(0xf10c, "2967380E-134C-4CBB-B6DA-17E7CE1CA45D", "Fuchsia Blob")
- AddType(0xf10d, "41D0E340-57E3-954E-8C1E-17ECAC44CFF5", "Fuchsia FVM")
- AddType(0xf10e, "DE30CC86-1F4A-4A31-93C4-66F147D33E05", "Fuchsia Zircon boot image (slot A)")
- AddType(0xf10f, "23CC04DF-C278-4CE7-8471-897D1A4BCDF7", "Fuchsia Zircon boot image (slot B)")
- AddType(0xf110, "A0E5CF57-2DEF-46BE-A80C-A2067C37CD49", "Fuchsia Zircon boot image (slot R)")
- AddType(0xf111, "4E5E989E-4C86-11E8-A15B-480FCF35F8E6", "Fuchsia sys-config")
- AddType(0xf112, "5A3A90BE-4C86-11E8-A15B-480FCF35F8E6", "Fuchsia factory-config")
- AddType(0xf113, "5ECE94FE-4C86-11E8-A15B-480FCF35F8E6", "Fuchsia bootloader")
- AddType(0xf114, "8B94D043-30BE-4871-9DFA-D69556E8C1F3", "Fuchsia guid-test")
- AddType(0xf115, "A13B4D9A-EC5F-11E8-97D8-6C3BE52705BF", "Fuchsia verified boot metadata (A)")
- AddType(0xf116, "A288ABF2-EC5F-11E8-97D8-6C3BE52705BF", "Fuchsia verified boot metadata (B)")
- AddType(0xf117, "6A2460C3-CD11-4E8B-80A8-12CCE268ED0A", "Fuchsia verified boot metadata (R)")
- AddType(0xf118, "1D75395D-F2C6-476B-A8B7-45CC1C97B476", "Fuchsia misc")
- AddType(0xf119, "900B0FC5-90CD-4D4F-84F9-9F8ED579DB88", "Fuchsia emmc-boot1")
- AddType(0xf11a, "B2B2E8D1-7C10-4EBC-A2D0-4614568260AD", "Fuchsia emmc-boot2")
-
- // Ceph type codes; see https://github.com/ceph/ceph/blob/9bcc42a3e6b08521694b5c0228b2c6ed7b3d312e/src/ceph-disk#L76-L81
- // and Wikipedia
- AddType(0xf800, "4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D", "Ceph OSD") // Ceph Object Storage Daemon
- AddType(0xf801, "4FBD7E29-9D25-41B8-AFD0-5EC00CEFF05D", "Ceph dm-crypt OSD") // Ceph Object Storage Daemon (encrypted)
- AddType(0xf802, "45B0969E-9B03-4F30-B4C6-B4B80CEFF106", "Ceph journal")
- AddType(0xf803, "45B0969E-9B03-4F30-B4C6-5EC00CEFF106", "Ceph dm-crypt journal")
- AddType(0xf804, "89C57F98-2FE5-4DC0-89C1-F3AD0CEFF2BE", "Ceph disk in creation")
- AddType(0xf805, "89C57F98-2FE5-4DC0-89C1-5EC00CEFF2BE", "Ceph dm-crypt disk in creation")
- AddType(0xf806, "CAFECAFE-9B03-4F30-B4C6-B4B80CEFF106", "Ceph block")
- AddType(0xf807, "30CD0809-C2B2-499C-8879-2D6B78529876", "Ceph block DB")
- AddType(0xf808, "5CE17FCE-4087-4169-B7FF-056CC58473F9", "Ceph block write-ahead log")
- AddType(0xf809, "FB3AABF9-D25F-47CC-BF5E-721D1816496B", "Ceph lockbox for dm-crypt keys")
- AddType(0xf80a, "4FBD7E29-8AE0-4982-BF9D-5A8D867AF560", "Ceph multipath OSD")
- AddType(0xf80b, "45B0969E-8AE0-4982-BF9D-5A8D867AF560", "Ceph multipath journal")
- AddType(0xf80c, "CAFECAFE-8AE0-4982-BF9D-5A8D867AF560", "Ceph multipath block 1")
- AddType(0xf80d, "7F4A666A-16F3-47A2-8445-152EF4D03F6C", "Ceph multipath block 2")
- AddType(0xf80e, "EC6D6385-E346-45DC-BE91-DA2A7C8B3261", "Ceph multipath block DB")
- AddType(0xf80f, "01B41E1B-002A-453C-9F17-88793989FF8F", "Ceph multipath block write-ahead log")
- AddType(0xf810, "CAFECAFE-9B03-4F30-B4C6-5EC00CEFF106", "Ceph dm-crypt block")
- AddType(0xf811, "93B0052D-02D9-4D8A-A43B-33A3EE4DFBC3", "Ceph dm-crypt block DB")
- AddType(0xf812, "306E8683-4FE2-4330-B7C0-00A917C16966", "Ceph dm-crypt block write-ahead log")
- AddType(0xf813, "45B0969E-9B03-4F30-B4C6-35865CEFF106", "Ceph dm-crypt LUKS journal")
- AddType(0xf814, "CAFECAFE-9B03-4F30-B4C6-35865CEFF106", "Ceph dm-crypt LUKS block")
- AddType(0xf815, "166418DA-C469-4022-ADF4-B30AFD37F176", "Ceph dm-crypt LUKS block DB")
- AddType(0xf816, "86A32090-3647-40B9-BBBD-38D8C573AA86", "Ceph dm-crypt LUKS block write-ahead log")
- AddType(0xf817, "4FBD7E29-9D25-41B8-AFD0-35865CEFF05D", "Ceph dm-crypt LUKS OSD")
-
- // VMWare ESX partition types codes
- AddType(0xfb00, "AA31E02A-400F-11DB-9590-000C2911D1B8", "VMWare VMFS")
- AddType(0xfb01, "9198EFFC-31C0-11DB-8F78-000C2911D1B8", "VMWare reserved")
- AddType(0xfc00, "9D275380-40AD-11DB-BF97-000C2911D1B8", "VMWare kcore crash protection")
-
- // A straggler Linux partition type....
- AddType(0xfd00, "A19D880F-05FC-4D3B-A006-743F0F84911E", "Linux RAID")
-};
-#undef AddType
-
-static inline const gpt_type_entry_t* gpt_type_lookup(uint16_t code)
-{
- for (int i = 0; i < ARRAYSIZE(gpt_type_table); i++) {
- if (gpt_type_table[i].code == code)
- return &gpt_type_table[i];
- }
- return NULL;
-}
-
-static inline const char* gpt_type_desc(const GUID* guid)
-{
- const char* guid_str = GuidToString(guid, TRUE);
- if (guid_str == NULL)
- return NULL;
- for (int i = 0; i < ARRAYSIZE(gpt_type_table); i++) {
- if (_strnicmp(&guid_str[1], gpt_type_table[i].guid_str, 36) == 0)
- return gpt_type_table[i].description;
- }
- return NULL;
-}
-
-static inline const char* gpt_type_guid_str(uint16_t code)
-{
- const gpt_type_entry_t* e = gpt_type_lookup(code);
- return (e != NULL) ? e->guid_str : NULL;
-}
-
-static inline const char* gpt_type_description(uint16_t code)
-{
- const gpt_type_entry_t* e = gpt_type_lookup(code);
- return (e != NULL) ? e->description : NULL;
-}
-
-static inline GUID gpt_type_guid(uint16_t code)
-{
- return StringToGuid(gpt_type_guid_str(code));
-}
-
-// Also redefine the constant GUIDs we use in the application
+DEFINE_GUID(PARTITION_ANDROID_BOOT, 0x49A4D17F, 0x93A3, 0x45C1, 0xA0, 0xDE, 0xF5, 0x0B, 0x2E, 0xBE, 0x25, 0x99);
+DEFINE_GUID(PARTITION_ANDROID_BOOTLOADER1, 0x2568845D, 0x2332, 0x4675, 0xBC, 0x39, 0x8F, 0xA5, 0xA4, 0x74, 0x8D, 0x15);
+DEFINE_GUID(PARTITION_ANDROID_BOOTLOADER2, 0x114EAFFE, 0x1552, 0x4022, 0xB2, 0x6E, 0x9B, 0x05, 0x36, 0x04, 0xCF, 0x84);
+DEFINE_GUID(PARTITION_ANDROID_CACHE, 0xA893EF21, 0xE428, 0x470A, 0x9E, 0x55, 0x06, 0x68, 0xFD, 0x91, 0xA2, 0xD9);
+DEFINE_GUID(PARTITION_ANDROID_CONFIG, 0xBD59408B, 0x4514, 0x490D, 0xBF, 0x12, 0x98, 0x78, 0xD9, 0x63, 0xF3, 0x78);
+DEFINE_GUID(PARTITION_ANDROID_DATA, 0xDC76DDA9, 0x5AC1, 0x491C, 0xAF, 0x42, 0xA8, 0x25, 0x91, 0x58, 0x0C, 0x0D);
+DEFINE_GUID(PARTITION_ANDROID_EXT, 0x193D1EA4, 0xB3CA, 0x11E4, 0xB0, 0x75, 0x10, 0x60, 0x4B, 0x88, 0x9D, 0xCF);
+DEFINE_GUID(PARTITION_ANDROID_FACTORY1, 0x8F68CC74, 0xC5E5, 0x48DA, 0xBE, 0x91, 0xA0, 0xC8, 0xC1, 0x5E, 0x9C, 0x80);
+DEFINE_GUID(PARTITION_ANDROID_FACTORY2, 0x9FDAA6EF, 0x4B3F, 0x40D2, 0xBA, 0x8D, 0xBF, 0xF1, 0x6B, 0xFB, 0x88, 0x7B);
+DEFINE_GUID(PARTITION_ANDROID_FASTBOOT, 0x767941D0, 0x2085, 0x11E3, 0xAD, 0x3B, 0x6C, 0xFD, 0xB9, 0x47, 0x11, 0xE9);
+DEFINE_GUID(PARTITION_ANDROID_METADATA1, 0x20AC26BE, 0x20B7, 0x11E3, 0x84, 0xC5, 0x6C, 0xFD, 0xB9, 0x47, 0x11, 0xE9);
+DEFINE_GUID(PARTITION_ANDROID_METADATA2, 0x19A710A2, 0xB3CA, 0x11E4, 0xB0, 0x26, 0x10, 0x60, 0x4B, 0x88, 0x9D, 0xCF);
+DEFINE_GUID(PARTITION_ANDROID_MISC, 0xEF32A33B, 0xA409, 0x486C, 0x91, 0x41, 0x9F, 0xFB, 0x71, 0x1F, 0x62, 0x66);
+DEFINE_GUID(PARTITION_ANDROID_OEM, 0xAC6D7924, 0xEB71, 0x4DF8, 0xB4, 0x8D, 0xE2, 0x67, 0xB2, 0x71, 0x48, 0xFF);
+DEFINE_GUID(PARTITION_ANDROID_PERSISTENCE, 0xEBC597D0, 0x2053, 0x4B15, 0x8B, 0x64, 0xE0, 0xAA, 0xC7, 0x5F, 0x4D, 0xB1);
+DEFINE_GUID(PARTITION_ANDROID_RECOVERY, 0x4177C722, 0x9E92, 0x4AAB, 0x86, 0x44, 0x43, 0x50, 0x2B, 0xFD, 0x55, 0x06);
+DEFINE_GUID(PARTITION_ANDROID_SYSTEM, 0x38F428E6, 0xD326, 0x425D, 0x91, 0x40, 0x6E, 0x0E, 0xA1, 0x33, 0x64, 0x7C);
+DEFINE_GUID(PARTITION_ANDROID_VENDOR, 0xC5A0AEEC, 0x13EA, 0x11E5, 0xA1, 0xB1, 0x00, 0x1E, 0x67, 0xCA, 0x0C, 0x3C);
+DEFINE_GUID(PARTITION_APPLE_APFS, 0x7C3457EF, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+DEFINE_GUID(PARTITION_APPLE_BOOT, 0x426F6F74, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+DEFINE_GUID(PARTITION_APPLE_FILEVAULT, 0x53746F72, 0x6167, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+DEFINE_GUID(PARTITION_APPLE_HFS, 0x48465300, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+DEFINE_GUID(PARTITION_APPLE_LABEL, 0x4C616265, 0x6C00, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+DEFINE_GUID(PARTITION_APPLE_OFFLINE_RAID, 0x52414944, 0x5F4F, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+DEFINE_GUID(PARTITION_APPLE_RAID, 0x52414944, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+DEFINE_GUID(PARTITION_APPLE_RAID_CACHE, 0xBBBA6DF5, 0xF46F, 0x4A89, 0x8F, 0x59, 0x87, 0x65, 0xB2, 0x72, 0x75, 0x03);
+DEFINE_GUID(PARTITION_APPLE_RAID_SCRATCH, 0x2E313465, 0x19B9, 0x463F, 0x81, 0x26, 0x8A, 0x79, 0x93, 0x77, 0x38, 0x01);
+DEFINE_GUID(PARTITION_APPLE_RAID_STATUS, 0xB6FA30DA, 0x92D2, 0x4A9A, 0x96, 0xF1, 0x87, 0x1E, 0xC6, 0x48, 0x62, 0x00);
+DEFINE_GUID(PARTITION_APPLE_RAID_VOLUME, 0xFA709C7E, 0x65B1, 0x4593, 0xBF, 0xD5, 0xE7, 0x1D, 0x61, 0xDE, 0x9B, 0x02);
+DEFINE_GUID(PARTITION_APPLE_RECOVERY, 0x5265636F, 0x7665, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+DEFINE_GUID(PARTITION_APPLE_UFS, 0x55465300, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC);
+// Stolen from Solaris below. Great job here, Apple! Then again, Oracle can and *should* go to hell, so who cares...
+DEFINE_GUID(PARTITION_APPLE_ZFS, 0x6A898CC3, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_ATARI_DATA, 0x734E5AFE, 0xF61A, 0x11E6, 0xBC, 0x64, 0x92, 0x36, 0x1F, 0x00, 0x26, 0x71);
+DEFINE_GUID(PARTITION_BEOS_BFS, 0x42465331, 0x3BA3, 0x10F1, 0x80, 0x2A, 0x48, 0x61, 0x69, 0x6B, 0x75, 0x21);
+DEFINE_GUID(PARTITION_CHROMEOS_KERNEL, 0xFE3A2A5D, 0x4F32, 0x41A7, 0xB7, 0x25, 0xAC, 0xCC, 0x32, 0x85, 0xA3, 0x09);
+DEFINE_GUID(PARTITION_CHROMEOS_RESERVED, 0x2E0A753D, 0x9E48, 0x43B0, 0x83, 0x37, 0xB1, 0x51, 0x92, 0xCB, 0x1B, 0x5E);
+DEFINE_GUID(PARTITION_CHROMEOS_ROOT, 0x3CB8E202, 0x3B7E, 0x47DD, 0x8A, 0x3C, 0x7F, 0xF2, 0xA1, 0x3C, 0xFC, 0xEC);
+DEFINE_GUID(PARTITION_COREOS_RAID, 0xBE9067B9, 0xEA49, 0x4F15, 0xB4, 0xF6, 0xF3, 0x6F, 0x8C, 0x9E, 0x18, 0x18);
+DEFINE_GUID(PARTITION_COREOS_RESERVED, 0xC95DC21A, 0xDF0E, 0x4340, 0x8D, 0x7B, 0x26, 0xCB, 0xFA, 0x9A, 0x03, 0xE0);
+DEFINE_GUID(PARTITION_COREOS_ROOT, 0x3884DD41, 0x8582, 0x4404, 0xB9, 0xA8, 0xE9, 0xB8, 0x4F, 0x2D, 0xF5, 0x0E);
+DEFINE_GUID(PARTITION_COREOS_USR, 0x5DFBF5F4, 0x2848, 0x4BAC, 0xAA, 0x5E, 0x0D, 0x9A, 0x20, 0xB7, 0x45, 0xA6);
+DEFINE_GUID(PARTITION_FREEBSD_BOOT, 0x83BD6B9D, 0x7F41, 0x11DC, 0xBE, 0x0B, 0x00, 0x15, 0x60, 0xB8, 0x4F, 0x0F);
+DEFINE_GUID(PARTITION_FREEBSD_DATA, 0x516E7CB4, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B);
+DEFINE_GUID(PARTITION_FREEBSD_LVM, 0x516E7CB8, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B);
+DEFINE_GUID(PARTITION_FREEBSD_SWAP, 0x516E7CB5, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B);
+DEFINE_GUID(PARTITION_FREEBSD_UFS, 0x516E7CB6, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B);
+DEFINE_GUID(PARTITION_FREEBSD_ZFS, 0x516E7CBA, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B);
+DEFINE_GUID(PARTITION_GENERIC_BIOS_BOOT, 0x21686148, 0x6449, 0x6E6F, 0x74, 0x4E, 0x65, 0x65, 0x64, 0x45, 0x46, 0x49);
+DEFINE_GUID(PARTITION_GENERIC_XBOOTLDR, 0xBC13C2FF, 0x59E6, 0x4262, 0xA3, 0x52, 0xB2, 0x75, 0xFD, 0x6F, 0x71, 0x72);
DEFINE_GUID(PARTITION_GENERIC_ESP, 0xC12A7328, 0xF81F, 0x11D2, 0xBA, 0x4B, 0x00, 0xA0, 0xC9, 0x3E, 0xC9, 0x3B);
+DEFINE_GUID(PARTITION_GENERIC_MBR, 0x024DEE41, 0x33E7, 0x11D3, 0x9D, 0x69, 0x00, 0x08, 0xC7, 0x81, 0xF3, 0x9F);
+DEFINE_GUID(PARTITION_GENERIC_UNUSED, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
+DEFINE_GUID(PARTITION_HPUX_DATA, 0x75894C1E, 0x3AEB, 0x11D3, 0xB7, 0xC1, 0x7B, 0x03, 0xA0, 0x00, 0x00, 0x00);
+DEFINE_GUID(PARTITION_HPUX_SERVICE, 0xE2A1E728, 0x32E3, 0x11D6, 0xA6, 0x82, 0x7B, 0x03, 0xA0, 0x00, 0x00, 0x00);
+DEFINE_GUID(PARTITION_IBM_GPFS, 0x37AFFC90, 0xEF7D, 0x4E96, 0x91, 0xC3, 0x2D, 0x7A, 0xE0, 0x55, 0xB1, 0x74);
+DEFINE_GUID(PARTITION_INTEL_IFF, 0xD3BFE2DE, 0x3DAF, 0x11DF, 0xBA, 0x40, 0xE3, 0xA5, 0x56, 0xD8, 0x95, 0x93);
+DEFINE_GUID(PARTITION_LENOVO_BOOT, 0xBFBFAFE7, 0xA34F, 0x448A, 0x9A, 0x5B, 0x62, 0x13, 0xEB, 0x73, 0x6C, 0x22);
+DEFINE_GUID(PARTITION_LINUX_BOOT, 0xBC13C2FF, 0x59E6, 0x4262, 0xA3, 0x52, 0xB2, 0x75, 0xFD, 0x6F, 0x71, 0x72);
DEFINE_GUID(PARTITION_LINUX_DATA, 0x0FC63DAF, 0x8483, 0x4772, 0x8E, 0x79, 0x3D, 0x69, 0xD8, 0x47, 0x7D, 0xE4);
+DEFINE_GUID(PARTITION_LINUX_ENCRYPTED, 0x7FFEC5C9, 0x2D00, 0x49B7, 0x89, 0x41, 0x3E, 0xA1, 0x0A, 0x55, 0x86, 0xB7);
+DEFINE_GUID(PARTITION_LINUX_HOME, 0x933AC7E1, 0x2EB4, 0x4F13, 0xB8, 0x44, 0x0E, 0x14, 0xE2, 0xAE, 0xF9, 0x15);
+DEFINE_GUID(PARTITION_LINUX_LUKS, 0xCA7D7CCB, 0x63ED, 0x4C53, 0x86, 0x1C, 0x17, 0x42, 0x53, 0x60, 0x59, 0xCC);
+DEFINE_GUID(PARTITION_LINUX_LVM, 0xE6D6D379, 0xF507, 0x44C2, 0xA2, 0x3C, 0x23, 0x8F, 0x2A, 0x3D, 0xF9, 0x28);
+DEFINE_GUID(PARTITION_LINUX_RAID, 0xA19D880F, 0x05FC, 0x4D3B, 0xA0, 0x06, 0x74, 0x3F, 0x0F, 0x84, 0x91, 0x1E);
+DEFINE_GUID(PARTITION_LINUX_RESERVED, 0x8DA63339, 0x0007, 0x60C0, 0xC4, 0x36, 0x08, 0x3A, 0xC8, 0x23, 0x09, 0x08);
+DEFINE_GUID(PARTITION_LINUX_ROOT_ARM_32, 0x69DAD710, 0x2CE4, 0x4E3C, 0xB1, 0x6C, 0x21, 0xA1, 0xD4, 0x9A, 0xBE, 0xD3);
+DEFINE_GUID(PARTITION_LINUX_ROOT_ARM_64, 0xB921B045, 0x1DF0, 0x41C3, 0xAF, 0x44, 0x4C, 0x6F, 0x28, 0x0D, 0x3F, 0xAE);
+DEFINE_GUID(PARTITION_LINUX_ROOT_X86_32, 0x44479540, 0xF297, 0x41B2, 0x9A, 0xF7, 0xD1, 0x31, 0xD5, 0xF0, 0x45, 0x8A);
+DEFINE_GUID(PARTITION_LINUX_ROOT_X86_64, 0x4F68BCE3, 0xE8CD, 0x4DB1, 0x96, 0xE7, 0xFB, 0xCA, 0xF9, 0x84, 0xB7, 0x09);
+DEFINE_GUID(PARTITION_LINUX_SRV, 0x3B8F8425, 0x20E0, 0x4F3B, 0x90, 0x7F, 0x1A, 0x25, 0xA7, 0x6F, 0x98, 0xE8);
+DEFINE_GUID(PARTITION_LINUX_SWAP, 0x0657FD6D, 0xA4AB, 0x43C4, 0x84, 0xE5, 0x09, 0x33, 0xC8, 0x4B, 0x4F, 0x4F);
DEFINE_GUID(PARTITION_MICROSOFT_DATA, 0xEBD0A0A2, 0xB9E5, 0x4433, 0x87, 0xC0, 0x68, 0xB6, 0xB7, 0x26, 0x99, 0xC7);
+DEFINE_GUID(PARTITION_MICROSOFT_LDM_DATA, 0xAF9B60A0, 0x1431, 0x4F62, 0xBC, 0x68, 0x33, 0x11, 0x71, 0x4A, 0x69, 0xAD);
+DEFINE_GUID(PARTITION_MICROSOFT_LDM_META, 0x5808C8AA, 0x7E8F, 0x42E0, 0x85, 0xD2, 0xE1, 0xE9, 0x04, 0x34, 0xCF, 0xB3);
+DEFINE_GUID(PARTITION_MICROSOFT_RECOVERY, 0xDE94BBA4, 0x06D1, 0x4D40, 0xA1, 0x6A, 0xBF, 0xD5, 0x01, 0x79, 0xD6, 0xAC);
DEFINE_GUID(PARTITION_MICROSOFT_RESERVED, 0xE3C9E316, 0x0B5C, 0x4DB8, 0x81, 0x7D, 0xF9, 0x2D, 0xF0, 0x02, 0x15, 0xAE);
+DEFINE_GUID(PARTITION_MICROSOFT_STORAGE_SPACES, 0xE75CAF8F, 0xF680, 0x4CEE, 0xAF, 0xA3, 0xB0, 0x01, 0xE5, 0x6E, 0xFC, 0x2D);
+DEFINE_GUID(PARTITION_NETBSD_CONCAT, 0x2DB519C4, 0xB10F, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48);
+DEFINE_GUID(PARTITION_NETBSD_ENCRYPTED, 0x2DB519EC, 0xB10F, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48);
+DEFINE_GUID(PARTITION_NETBSD_FFS, 0x49F48D5A, 0xB10E, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48);
+DEFINE_GUID(PARTITION_NETBSD_LFS, 0x49F48D82, 0xB10E, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48);
+DEFINE_GUID(PARTITION_NETBSD_RAID, 0x49F48DAA, 0xB10E, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48);
+DEFINE_GUID(PARTITION_NETBSD_SWAP, 0x49F48D32, 0xB10E, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48);
+DEFINE_GUID(PARTITION_OPENBSD_DATA, 0x824CC7A0, 0x36A8, 0x11E3, 0x89, 0x0A, 0x95, 0x25, 0x19, 0xAD, 0x3F, 0x61);
+DEFINE_GUID(PARTITION_PLAN9_DATA, 0xC91818F9, 0x8025, 0x47AF, 0x89, 0xD2, 0xF0, 0x30, 0xD7, 0x00, 0x0C, 0x2C);
+DEFINE_GUID(PARTITION_PREP_BOOT, 0x9E1A2D38, 0xC612, 0x4316, 0xAA, 0x26, 0x8B, 0x49, 0x52, 0x1E, 0x5A, 0x8B);
+DEFINE_GUID(PARTITION_QNX_DATA, 0xCEF5A9AD, 0x73BC, 0x4601, 0x89, 0xF3, 0xCD, 0xEE, 0xEE, 0xE3, 0x21, 0xA1);
+DEFINE_GUID(PARTITION_SOLARIS_ALT, 0x6A9283A5, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_BACKUP, 0x6A8B642B, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_BOOT, 0x6A82CB45, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_HOME, 0x6A90BA39, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_RESERVED1, 0x6A945A3B, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_RESERVED2, 0x6A9630D1, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_RESERVED3, 0x6A980767, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_RESERVED4, 0x6A96237F, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_RESERVED5, 0x6A8D2AC7, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+// You sure you don't need a couple more reserved partition GUIDs here, Solaris?
+DEFINE_GUID(PARTITION_SOLARIS_ROOT, 0x6A85CF4D, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_SWAP, 0x6A87C46F, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+//DEFINE_GUID(PARTITION_SOLARIS_USR, 0x6A898CC3, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SOLARIS_VAR, 0x6A8EF2E9, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31);
+DEFINE_GUID(PARTITION_SONY_BOOT, 0xF4019732, 0x066E, 0x4E12, 0x82, 0x73, 0x34, 0x6C, 0x56, 0x41, 0x49, 0x4F);
+DEFINE_GUID(PARTITION_VERACRYPT_DATA, 0x8C8F8EFF, 0xAC95, 0x4770, 0x81, 0x4A, 0x21, 0x99, 0x4F, 0x2D, 0xBC, 0x8F);
+DEFINE_GUID(PARTITION_VMWARE_COREDUMP, 0x9D275380, 0x40AD, 0x11DB, 0xBF, 0x97, 0x00, 0x0C, 0x29, 0x11, 0xD1, 0xB8);
+DEFINE_GUID(PARTITION_VMWARE_RESERVED, 0x9198EFFC, 0x31C0, 0x11DB, 0x8F, 0x78, 0x00, 0x0C, 0x29, 0x11, 0xD1, 0xB8);
+DEFINE_GUID(PARTITION_VMWARE_VMFS, 0xAA31E02A, 0x400F, 0x11DB, 0x95, 0x90, 0x00, 0x0C, 0x29, 0x11, 0xD1, 0xB8);
+
+typedef struct {
+ const GUID* guid;
+ const char* name;
+} gpt_type_t;
+
+gpt_type_t gpt_type[] = {
+ { &PARTITION_ANDROID_BOOT, "Android Boot Partition" },
+ { &PARTITION_ANDROID_BOOTLOADER1, "Android Bootloader Partition" },
+ { &PARTITION_ANDROID_BOOTLOADER2, "Android Bootloader Partition" },
+ { &PARTITION_ANDROID_CACHE, "Android Cache Partition" },
+ { &PARTITION_ANDROID_CONFIG, "Android Config Partition" },
+ { &PARTITION_ANDROID_DATA, "Android Data Partition" },
+ { &PARTITION_ANDROID_EXT, "Android Ext Partition" },
+ { &PARTITION_ANDROID_FACTORY1, "Android Factory Partition" },
+ { &PARTITION_ANDROID_FACTORY2, "Android Factory Partition" },
+ { &PARTITION_ANDROID_FASTBOOT, "Android Fastboot Partition" },
+ { &PARTITION_ANDROID_METADATA1, "Android Metadata Partition" },
+ { &PARTITION_ANDROID_METADATA2, "Android Metadata Partition" },
+ { &PARTITION_ANDROID_MISC, "Android Misc Partition" },
+ { &PARTITION_ANDROID_OEM, "Android OEM Partition" },
+ { &PARTITION_ANDROID_PERSISTENCE, "Android Persistent Partition" },
+ { &PARTITION_ANDROID_RECOVERY, "Android Recovery Partition" },
+ { &PARTITION_ANDROID_SYSTEM, "Android System Partition" },
+ { &PARTITION_ANDROID_VENDOR, "Android Vendor Partition" },
+ { &PARTITION_APPLE_APFS, "Apple APFS Partition" },
+ { &PARTITION_APPLE_BOOT, "Apple Boot Partition" },
+ { &PARTITION_APPLE_FILEVAULT, "Apple Filevault Partition" },
+ { &PARTITION_APPLE_HFS, "Apple HFS+ Partition" },
+ { &PARTITION_APPLE_LABEL, "Apple Label Partition" },
+ { &PARTITION_APPLE_OFFLINE_RAID, "Apple RAID Partition (Offline)" },
+ { &PARTITION_APPLE_RAID, "Apple RAID Partition" },
+ { &PARTITION_APPLE_RAID_CACHE, "Apple RAID Cache Partition" },
+ { &PARTITION_APPLE_RAID_SCRATCH, "Apple RAID Scratch Partition" },
+ { &PARTITION_APPLE_RAID_STATUS, "Apple RAID Status Partition" },
+ { &PARTITION_APPLE_RAID_VOLUME, "Apple RAID Volume Partition" },
+ { &PARTITION_APPLE_RECOVERY, "Apple Recovery Partition" },
+ { &PARTITION_APPLE_UFS, "Apple UFS Partition" },
+ { &PARTITION_APPLE_ZFS, "Apple ZFS Partition" },
+ { &PARTITION_ATARI_DATA, "Atari Data Partition" },
+ { &PARTITION_BEOS_BFS, "BeOS BFS Partition" },
+ { &PARTITION_CHROMEOS_KERNEL, "Chrome OS Kernel Partition" },
+ { &PARTITION_CHROMEOS_RESERVED, "Chrome OS Reserved Partition" },
+ { &PARTITION_CHROMEOS_ROOT, "Chrome OS Root Partition" },
+ { &PARTITION_COREOS_RAID, "CoreOS Raid Partition" },
+ { &PARTITION_COREOS_RESERVED, "CoreOS Reserved Partition" },
+ { &PARTITION_COREOS_ROOT, "CoreOS Root Partition" },
+ { &PARTITION_COREOS_USR, "CoreOS Usr Partition" },
+ { &PARTITION_FREEBSD_BOOT, "FreeBSD Boot Partition" },
+ { &PARTITION_FREEBSD_DATA, "FreeBSD Data Partition" },
+ { &PARTITION_FREEBSD_LVM, "FreeBSD LVM Partition" },
+ { &PARTITION_FREEBSD_SWAP, "FreeBSD Swap Partition" },
+ { &PARTITION_FREEBSD_UFS, "FreeBSD UFS Partition" },
+ { &PARTITION_FREEBSD_ZFS, "FreeBSD ZFS Partition" },
+ { &PARTITION_GENERIC_BIOS_BOOT, "BIOS Boot Partition" },
+ { &PARTITION_GENERIC_XBOOTLDR, "Extended Boot Loader Partition" },
+ { &PARTITION_GENERIC_ESP, "EFI System Partition" },
+ { &PARTITION_GENERIC_MBR, "MBR Partition" },
+ { &PARTITION_GENERIC_UNUSED, "Unused Partition" },
+ { &PARTITION_HPUX_DATA, "HP-UX Data Partition" },
+ { &PARTITION_HPUX_SERVICE, "HP-UX Service Partition" },
+ { &PARTITION_IBM_GPFS, "IBM GPFS Partition" },
+ { &PARTITION_INTEL_IFF, "Intel Fast Flash Partition" },
+ { &PARTITION_LENOVO_BOOT, "Lenovo Boot Partition" },
+ { &PARTITION_LINUX_BOOT, "Linux Boot Partition" },
+ { &PARTITION_LINUX_DATA, "Linux Data Partition" },
+ { &PARTITION_LINUX_ENCRYPTED, "Linux Encrypted Partition" },
+ { &PARTITION_LINUX_HOME, "Linux Home Partition" },
+ { &PARTITION_LINUX_LUKS, "Linux LUKS Partition" },
+ { &PARTITION_LINUX_LVM, "Linux LVM Partition" },
+ { &PARTITION_LINUX_RAID, "Linux RAID Partition" },
+ { &PARTITION_LINUX_RESERVED, "Linux Reserved Partition" },
+ { &PARTITION_LINUX_ROOT_ARM_32, "Linux Boot Partition (ARM)" },
+ { &PARTITION_LINUX_ROOT_ARM_64, "Linux Boot Partition (ARM64)" },
+ { &PARTITION_LINUX_ROOT_X86_32, "Linux Boot Partition (x86-32)" },
+ { &PARTITION_LINUX_ROOT_X86_64, "Linux Boot Partition (x86-64)" },
+ { &PARTITION_LINUX_SRV, "Linux Srv Partition" },
+ { &PARTITION_LINUX_SWAP, "Linux Swap Partition" },
+ { &PARTITION_MICROSOFT_DATA, "Microsoft Basic Data Partition" },
+ { &PARTITION_MICROSOFT_LDM_DATA, "Microsoft LDM Data Partition" },
+ { &PARTITION_MICROSOFT_LDM_META, "Microsoft LDM Metadata Partition" },
+ { &PARTITION_MICROSOFT_RECOVERY, "Microsoft Recovery Partition" },
+ { &PARTITION_MICROSOFT_RESERVED, "Microsoft System Reserved Partition" },
+ { &PARTITION_MICROSOFT_STORAGE_SPACES, "Microsoft Storage Spaces Partition" },
+ { &PARTITION_NETBSD_CONCAT, "NetBSD Concatenated Partition" },
+ { &PARTITION_NETBSD_ENCRYPTED, "NetBSD Encrypted Partition" },
+ { &PARTITION_NETBSD_FFS, "NetBSD FFS Partition" },
+ { &PARTITION_NETBSD_LFS, "NetBSD LFS Partition" },
+ { &PARTITION_NETBSD_RAID, "NetBSD RAID Partition" },
+ { &PARTITION_NETBSD_SWAP, "NetBSD Swap Partition" },
+ { &PARTITION_OPENBSD_DATA, "OpenBSD Data Partition" },
+ { &PARTITION_PLAN9_DATA, "Plan 9 Data Partition" },
+ { &PARTITION_PREP_BOOT, "PReP Boot Partition" },
+ { &PARTITION_QNX_DATA, "QNX Data Partition" },
+ { &PARTITION_SOLARIS_ALT, "Solaris Alternate Sector Partition" },
+ { &PARTITION_SOLARIS_BACKUP, "Solaris Backup Partition" },
+ { &PARTITION_SOLARIS_BOOT, "Solaris Boot Partition" },
+ { &PARTITION_SOLARIS_HOME, "Solaris Home Partition" },
+ { &PARTITION_SOLARIS_RESERVED1, "Solaris Reserved Partition" },
+ { &PARTITION_SOLARIS_RESERVED2, "Solaris Reserved Partition" },
+ { &PARTITION_SOLARIS_RESERVED3, "Solaris Reserved Partition" },
+ { &PARTITION_SOLARIS_RESERVED4, "Solaris Reserved Partition" },
+ { &PARTITION_SOLARIS_RESERVED5, "Solaris Reserved Partition" },
+ { &PARTITION_SOLARIS_ROOT, "Solaris Root Partition" },
+ { &PARTITION_SOLARIS_SWAP, "Solaris Swap Partition" },
+// { &PARTITION_SOLARIS_USR, "Solaris Usr Partition" },
+ { &PARTITION_SOLARIS_VAR, "Solaris Var Partition" },
+ { &PARTITION_SONY_BOOT, "Sony Boot Partition" },
+ { &PARTITION_VERACRYPT_DATA, "VeraCrypt Data Partition" },
+ { &PARTITION_VMWARE_COREDUMP, "VMware Coredump Partition" },
+ { &PARTITION_VMWARE_RESERVED, "VMware Reserved Partition" },
+ { &PARTITION_VMWARE_VMFS, "VMware VMFS Partition" },
+};
diff --git a/src/hash.c b/src/hash.c
index 20a354bc..a99d297b 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -5,7 +5,7 @@
* Copyright © 2004-2019 Tom St Denis
* Copyright © 2004 g10 Code GmbH
* Copyright © 2002-2015 Wei Dai & Igor Pavlov
- * Copyright © 2015-2025 Pete Batard
+ * Copyright © 2015-2024 Pete Batard
* Copyright © 2022 Jeffrey Walton
* Copyright © 2016 Alexander Graf
*
@@ -65,24 +65,26 @@
#include
#include
#include
-#include
#include
#include
#include "db.h"
-#include "efi.h"
+#include "cpu.h"
#include "rufus.h"
#include "winio.h"
#include "missing.h"
-#include "darkmode.h"
#include "resource.h"
#include "msapi_utf8.h"
#include "localization.h"
-#if (defined(_M_IX86) || defined(_M_X64) || defined(__i386__) || defined(__i386) || \
- defined(_X86_) || defined(__I86__) || defined(__x86_64__))
-#define CPU_X86_SHA1_ACCELERATION 1
-#define CPU_X86_SHA256_ACCELERATION 1
+/* Includes for SHA-1 and SHA-256 intrinsics */
+#if defined(CPU_X86_SHA1_ACCELERATION) || defined(CPU_X86_SHA256_ACCELERATION)
+#if defined(_MSC_VER)
+#include
+#elif defined(__GNUC__)
+#include
+#include
+#endif
#endif
#if defined(_MSC_VER)
@@ -105,7 +107,6 @@ char hash_str[HASH_MAX][150];
HANDLE data_ready[HASH_MAX] = { 0 }, thread_ready[HASH_MAX] = { 0 };
DWORD read_size[NUM_BUFFERS];
BOOL enable_extra_hashes = FALSE, validate_md5sum = FALSE;
-BOOL cpu_has_sha1_accel = FALSE, cpu_has_sha256_accel = FALSE;
uint8_t ALIGNED(64) buffer[NUM_BUFFERS][BUFFER_SIZE];
uint8_t* pe256ssp = NULL;
uint32_t proc_bufnum, hash_count[HASH_MAX] = { MD5_HASHSIZE, SHA1_HASHSIZE, SHA256_HASHSIZE, SHA512_HASHSIZE };
@@ -114,81 +115,7 @@ uint64_t md5sum_totalbytes;
StrArray modified_files = { 0 };
extern int default_thread_priority;
-extern const char* efi_archname[ARCH_MAX];
-extern char *sbat_level_txt, *sb_active_txt, *sb_revoked_txt;
-extern BOOL expert_mode, usb_debug;
-
-/*
- * Detect if the processor supports SHA-1 acceleration. We only check for
- * the three ISAs we need - SSSE3, SSE4.1 and SHA. We don't check for OS
- * support or XSAVE because that's been enabled since Windows 2000.
- */
-BOOL DetectSHA1Acceleration(void)
-{
-#if defined(CPU_X86_SHA1_ACCELERATION)
-#if defined(_MSC_VER)
- uint32_t regs0[4] = { 0,0,0,0 }, regs1[4] = { 0,0,0,0 }, regs7[4] = { 0,0,0,0 };
- const uint32_t SSSE3_BIT = 1u << 9; /* Function 1, Bit 9 of ECX */
- const uint32_t SSE41_BIT = 1u << 19; /* Function 1, Bit 19 of ECX */
- const uint32_t SHA_BIT = 1u << 29; /* Function 7, Bit 29 of EBX */
-
- __cpuid(regs0, 0);
- const uint32_t highest = regs0[0]; /*EAX*/
-
- if (highest >= 0x01) {
- __cpuidex(regs1, 1, 0);
- }
- if (highest >= 0x07) {
- __cpuidex(regs7, 7, 0);
- }
-
- return (regs1[2] /*ECX*/ & SSSE3_BIT) && (regs1[2] /*ECX*/ & SSE41_BIT) && (regs7[1] /*EBX*/ & SHA_BIT) ? TRUE : FALSE;
-#elif defined(__GNUC__) || defined(__clang__)
- /* __builtin_cpu_supports available in GCC 4.8.1 and above */
- return __builtin_cpu_supports("ssse3") && __builtin_cpu_supports("sse4.1") && __builtin_cpu_supports("sha") ? TRUE : FALSE;
-#else
- return FALSE;
-#endif
-#else
- return FALSE;
-#endif
-}
-
-/*
- * Detect if the processor supports SHA-256 acceleration. We only check for
- * the three ISAs we need - SSSE3, SSE4.1 and SHA. We don't check for OS
- * support or XSAVE because that's been enabled since Windows 2000.
- */
-BOOL DetectSHA256Acceleration(void)
-{
-#if defined(CPU_X86_SHA256_ACCELERATION)
-#if defined(_MSC_VER)
- uint32_t regs0[4] = { 0,0,0,0 }, regs1[4] = { 0,0,0,0 }, regs7[4] = { 0,0,0,0 };
- const uint32_t SSSE3_BIT = 1u << 9; /* Function 1, Bit 9 of ECX */
- const uint32_t SSE41_BIT = 1u << 19; /* Function 1, Bit 19 of ECX */
- const uint32_t SHA_BIT = 1u << 29; /* Function 7, Bit 29 of EBX */
-
- __cpuid(regs0, 0);
- const uint32_t highest = regs0[0]; /*EAX*/
-
- if (highest >= 0x01) {
- __cpuidex(regs1, 1, 0);
- }
- if (highest >= 0x07) {
- __cpuidex(regs7, 7, 0);
- }
-
- return (regs1[2] /*ECX*/ & SSSE3_BIT) && (regs1[2] /*ECX*/ & SSE41_BIT) && (regs7[1] /*EBX*/ & SHA_BIT) ? TRUE : FALSE;
-#elif defined(__GNUC__) || defined(__clang__)
- /* __builtin_cpu_supports available in GCC 4.8.1 and above */
- return __builtin_cpu_supports("ssse3") && __builtin_cpu_supports("sse4.1") && __builtin_cpu_supports("sha") ? TRUE : FALSE;
-#else
- return FALSE;
-#endif
-#else
- return FALSE;
-#endif
-}
+extern const char* efi_bootname[ARCH_MAX];
/*
* Rotate 32 or 64 bit integers by n bytes.
@@ -1680,7 +1607,8 @@ static int cmp_pe_section(const void* arg1, const void* arg2)
* @len: Size of @efi
* @regp: Pointer to a list of regions
*
- * Parse image binary in PE32(+) format.
+ * Parse image binary in PE32(+) format, assuming that sanity of PE image
+ * has been checked by a caller.
*
* Return: TRUE on success, FALSE on error
*/
@@ -1695,11 +1623,7 @@ BOOL efi_image_parse(uint8_t* efi, size_t len, struct efi_image_regions** regp)
uint32_t align, size, authsz;
size_t bytes_hashed;
- if (len < 0x80)
- return FALSE;
dos = (void*)efi;
- if (dos->e_lfanew > (LONG)len - 0x40)
- return FALSE;
nt = (void*)(efi + dos->e_lfanew);
authsz = 0;
@@ -1833,18 +1757,36 @@ err:
* for some part of this but you'd be very, very wrong since the PE sections it
* feeds to the hash function does include the PE header checksum field...
*/
-BOOL PE256Buffer(uint8_t* buf, uint32_t len, uint8_t* hash)
+BOOL PE256File(const char* path, uint8_t* hash)
{
BOOL r = FALSE;
HASH_CONTEXT hash_ctx = { {0} };
int i;
+ uint32_t rb;
+ uint8_t* buf = NULL;
+ struct __stat64 stat64 = { 0 };
struct efi_image_regions* regs = NULL;
- if ((buf == NULL) || (len == 0) || (len < 1 * KB) || (len > 64 * MB) || (hash == NULL))
+ if ((path == NULL) || (hash == NULL))
+ goto out;
+
+ /* Filter anything that would be out of place as a EFI bootloader */
+ if (_stat64U(path, &stat64) != 0) {
+ uprintf("Could not open '%s", path);
+ goto out;
+ }
+ if ((stat64.st_size < 1 * KB) || (stat64.st_size > 64 * MB)) {
+ uprintf("'%s' is either too small or too large for PE-256", path);
+ goto out;
+ }
+
+ /* Read the executable into a memory buffer */
+ rb = read_file(path, &buf);
+ if (rb < 1 * KB)
goto out;
/* Isolate the PE sections to hash */
- if (!efi_image_parse(buf, len, ®s))
+ if (!efi_image_parse(buf, rb, ®s))
goto out;
/* Hash the relevant PE data */
@@ -1858,6 +1800,7 @@ BOOL PE256Buffer(uint8_t* buf, uint32_t len, uint8_t* hash)
out:
free(regs);
+ free(buf);
return r;
}
@@ -1888,22 +1831,19 @@ out:
*/
INT_PTR CALLBACK HashCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
- static HFONT hFont = NULL;
int i, dw, dh;
RECT rc;
+ HFONT hFont;
HDC hDC;
switch (message) {
case WM_INITDIALOG:
- SetDarkModeForDlg(hDlg);
apply_localization(IDD_HASH, hDlg);
- if (hFont == NULL) {
- hDC = GetDC(hDlg);
- hFont = CreateFontA(-MulDiv(9, GetDeviceCaps(hDC, LOGPIXELSY), 72),
- 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET,
- 0, 0, PROOF_QUALITY, 0, "Courier New");
- safe_release_dc(hDlg, hDC);
- }
+ hDC = GetDC(hDlg);
+ hFont = CreateFontA(-MulDiv(9, GetDeviceCaps(hDC, LOGPIXELSY), 72),
+ 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET,
+ 0, 0, PROOF_QUALITY, 0, "Courier New");
+ safe_release_dc(hDlg, hDC);
SendDlgItemMessageA(hDlg, IDC_MD5, WM_SETFONT, (WPARAM)hFont, TRUE);
SendDlgItemMessageA(hDlg, IDC_SHA1, WM_SETFONT, (WPARAM)hFont, TRUE);
SendDlgItemMessageA(hDlg, IDC_SHA256, WM_SETFONT, (WPARAM)hFont, TRUE);
@@ -1943,14 +1883,10 @@ INT_PTR CALLBACK HashCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPa
for (i = (int)strlen(image_path); (i > 0) && (image_path[i] != '\\'); i--);
SetWindowTextU(hDlg, &image_path[i + 1]);
}
- SetDarkModeForChild(hDlg);
// Set focus on the OK button
SendMessage(hDlg, WM_NEXTDLGCTL, (WPARAM)GetDlgItem(hDlg, IDOK), TRUE);
CenterDialog(hDlg, NULL);
break;
- case WM_NCDESTROY:
- safe_delete_object(hFont);
- break;
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDOK:
@@ -2159,304 +2095,36 @@ BOOL IsFileInDB(const char* path)
return FALSE;
}
-BOOL FileMatchesHash(const char* path, const char* str)
-{
- uint8_t hash[SHA256_HASHSIZE];
- if (!HashFile(HASH_SHA256, path, hash))
- return FALSE;
- return (memcmp(hash, StringToHash(str), SHA256_HASHSIZE) == 0);
-}
-
-BOOL BufferMatchesHash(const uint8_t* buf, const size_t len, const char* str)
-{
- uint8_t hash[SHA256_HASHSIZE];
- if (!HashBuffer(HASH_SHA256, buf, len, hash))
- return FALSE;
- return (memcmp(hash, StringToHash(str), SHA256_HASHSIZE) == 0);
-}
-
-static BOOL IsRevokedBySbat(uint8_t* buf, uint32_t len)
-{
- char* sbat = NULL, *version_str;
- uint32_t i, j, sbat_len;
- sbat_entry_t entry;
-
- // Fall back to embedded sbat_level.txt if we couldn't access remote
- if (sbat_entries == NULL) {
- sbat_level_txt = safe_strdup(db_sbat_level_txt);
- sbat_entries = GetSbatEntries(sbat_level_txt);
- }
- assert(sbat_entries != NULL);
- if (sbat_entries == NULL)
- return FALSE;
-
- // Look for a .sbat section
- sbat = GetPeSection(buf, ".sbat", &sbat_len);
- if (sbat == NULL || sbat < (char*)buf || sbat >= (char*)buf + len)
- return FALSE;
-
- for (i = 0; sbat[i] != '\0'; ) {
- while (sbat[i] == '\n')
- i++;
- if (sbat[i] == '\0')
- break;
- entry.product = &sbat[i];
- for (; sbat[i] != ',' && sbat[i] != '\0' && sbat[i] != '\n'; i++);
- if (sbat[i] == '\0' || sbat[i] == '\n')
- break;
- sbat[i++] = '\0';
- version_str = &sbat[i];
- for (; sbat[i] != ',' && sbat[i] != '\0' && sbat[i] != '\n'; i++);
- sbat[i++] = '\0';
- entry.version = atoi(version_str);
- uuprintf(" SBAT: %s,%d", entry.product, entry.version);
- for (; sbat[i] != '\0' && sbat[i] != '\n'; i++);
- if (entry.version == 0)
- continue;
- for (j = 0; sbat_entries[j].product != NULL; j++) {
- if (strcmp(entry.product, sbat_entries[j].product) == 0 && entry.version < sbat_entries[j].version) {
- uprintf(" SBAT version for '%s' (%d) is lower than the current minimum SBAT version (%d)!",
- entry.product, entry.version, sbat_entries[j].version);
- return TRUE;
- }
- }
- }
-
- return FALSE;
-}
-
-// NB: Can be tested using en_windows_8_1_x64_dvd_2707217.iso
-extern BOOL UseLocalDbx(int arch);
-static BOOL IsRevokedByDbx(uint8_t* hash, uint8_t* buf, uint32_t len)
-{
- EFI_VARIABLE_AUTHENTICATION_2* efi_var_auth;
- EFI_SIGNATURE_LIST* efi_sig_list;
- BYTE* dbx_data = NULL;
- BOOL ret = FALSE, needs_free = FALSE;
- DWORD dbx_size = 0;
- char dbx_name[32], path[MAX_PATH];
- uint32_t i, fluff_size, nb_entries;
-
- i = MachineToArch(GetPeArch(buf));
- if (i == ARCH_UNKNOWN)
- goto out;
-
- // Check if a more recent local DBX should be preferred over embedded
- static_sprintf(dbx_name, "dbx_%s.bin", efi_archname[i]);
- if (UseLocalDbx(i)) {
- static_sprintf(path, "%s\\%s\\%s", app_data_dir, FILES_DIR, dbx_name);
- dbx_size = read_file(path, &dbx_data);
- needs_free = (dbx_data != NULL);
- if (needs_free)
- duprintf(" Using local %s for revocation check", path);
- }
- if (dbx_size == 0) {
- dbx_data = (BYTE*)GetResource(hMainInstance, MAKEINTRESOURCEA(IDR_DBX + i),
- _RT_RCDATA, dbx_name, &dbx_size, FALSE);
- }
- if (dbx_data == NULL || dbx_size <= sizeof(EFI_VARIABLE_AUTHENTICATION_2))
- goto out;
-
- efi_var_auth = (EFI_VARIABLE_AUTHENTICATION_2*)dbx_data;
- fluff_size = efi_var_auth->AuthInfo.Hdr.dwLength + sizeof(EFI_TIME);
- if (dbx_size <= fluff_size)
- goto out;
- efi_sig_list = (EFI_SIGNATURE_LIST*)&dbx_data[fluff_size];
- fluff_size += sizeof(EFI_SIGNATURE_LIST);
- if (dbx_size <= fluff_size)
- goto out;
- // Expect SHA-256 hashes
- if (!CompareGUID(&efi_sig_list->SignatureType, &EFI_CERT_SHA256_GUID)) {
- uprintf(" Warning: %s is not using SHA-256 hashes - Cannot check for UEFI revocation!", dbx_name);
- goto out;
- }
- fluff_size += efi_sig_list->SignatureHeaderSize;
- assert(efi_sig_list->SignatureSize != 0);
- nb_entries = (efi_sig_list->SignatureListSize - efi_sig_list->SignatureHeaderSize - sizeof(EFI_SIGNATURE_LIST)) / efi_sig_list->SignatureSize;
- assert(dbx_size >= fluff_size + nb_entries * efi_sig_list->SignatureSize);
-
- fluff_size += sizeof(GUID);
- for (i = 0; i < nb_entries && !ret; i++) {
- if (memcmp(hash, &dbx_data[fluff_size + i * efi_sig_list->SignatureSize], SHA256_HASHSIZE) == 0)
- ret = TRUE;
- }
-
-out:
- if (needs_free)
- free(dbx_data);
- return ret;
-}
-
-static BOOL IsRevokedBySvn(uint8_t* buf, uint32_t len)
-{
- wchar_t* rsrc_name = NULL;
- uint8_t *root;
- uint32_t i, j, rsrc_rva, rsrc_len, *svn_ver;
- IMAGE_DOS_HEADER* dos_header = (IMAGE_DOS_HEADER*)buf;
- IMAGE_NT_HEADERS32* pe_header;
- IMAGE_NT_HEADERS64* pe64_header;
- IMAGE_DATA_DIRECTORY img_data_dir;
-
- if (sbat_entries == NULL)
- return FALSE;
-
- for (i = 0; sbat_entries[i].product != NULL; i++) {
- // SVN entries are expected to be uppercase
- for (j = 0; j < strlen(sbat_entries[i].product) && isupper(sbat_entries[i].product[j]); j++);
- if (j < strlen(sbat_entries[i].product))
- continue;
- rsrc_name = utf8_to_wchar(sbat_entries[i].product);
- if (rsrc_name == NULL)
- continue;
-
- pe_header = (IMAGE_NT_HEADERS32*)&buf[dos_header->e_lfanew];
- if (pe_header->FileHeader.Machine == IMAGE_FILE_MACHINE_I386 || pe_header->FileHeader.Machine == IMAGE_FILE_MACHINE_ARM) {
- img_data_dir = pe_header->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE];
- } else {
- pe64_header = (IMAGE_NT_HEADERS64*)pe_header;
- img_data_dir = pe64_header->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE];
- }
-
- root = RvaToPhysical(buf, img_data_dir.VirtualAddress);
- rsrc_rva = FindResourceRva(rsrc_name, root, root, &rsrc_len);
- safe_free(rsrc_name);
- if (rsrc_rva != 0) {
- if (rsrc_len == sizeof(uint32_t)) {
- svn_ver = (uint32_t*)RvaToPhysical(buf, rsrc_rva);
- if (svn_ver != NULL) {
- uuprintf(" SVN version: %d.%d", *svn_ver >> 16, *svn_ver & 0xffff);
- if (*svn_ver < sbat_entries[i].version) {
- uprintf(" SVN version %d.%d is lower than required minimum SVN version %d.%d!",
- *svn_ver >> 16, *svn_ver & 0xffff, sbat_entries[i].version >> 16, sbat_entries[i].version & 0xffff);
- return TRUE;
- }
- }
- } else {
- uprintf(" Warning: Unexpected Secure Version Number size");
- }
- }
- }
- return FALSE;
-}
-
-static BOOL IsRevokedByCert(cert_info_t* info)
-{
- uint32_t i;
-
- // TODO: Enable this for non expert mode after enforcement of PCA2011 cert revocation
- if (!expert_mode)
- return FALSE;
-
- // Fall back to embedded Secure Boot thumbprints if we couldn't access remote
- if (sb_revoked_certs == NULL) {
- sb_revoked_txt = safe_strdup(db_sb_revoked_txt);
- sb_revoked_certs = GetThumbprintEntries(sb_revoked_txt);
- }
- assert(sb_revoked_certs != NULL && sb_revoked_certs->count != 0);
- if (sb_revoked_certs == NULL)
- return FALSE;
-
- for (i = 0; i < sb_revoked_certs->count; i++) {
- if (memcmp(info->thumbprint, sb_revoked_certs->list[i], SHA1_HASHSIZE) == 0) {
- uuprintf(" Found '%s' revoked certificate", info->name);
- return TRUE;
- }
- }
- return FALSE;
-}
-
-BOOL IsSignedBySecureBootAuthority(uint8_t* buf, uint32_t len)
-{
- uint32_t i;
- uint8_t* cert;
- cert_info_t info;
-
- if (buf == NULL || len < 0x100)
- return FALSE;
-
- // Get the signer/issuer info
- cert = GetPeSignatureData(buf);
- // Secure Boot Authority is always an issuer
- if (GetIssuerCertificateInfo(cert, &info) != 2)
- return FALSE;
-
- // Fall back to embedded Secure Boot thumbprints if we couldn't access remote
- if (sb_active_certs == NULL) {
- sb_active_txt = safe_strdup(db_sb_active_txt);
- sb_active_certs = GetThumbprintEntries(sb_active_txt);
- }
- // If we still manage to get an empty list at this stage, I sure wanna know about it!
- assert(sb_active_certs != NULL && sb_active_certs->count != 0);
- if (sb_active_certs == NULL || sb_active_certs->count == 0)
- return FALSE;
-
- for (i = 0; i < sb_active_certs->count; i++) {
- if (memcmp(info.thumbprint, sb_active_certs->list[i], SHA1_HASHSIZE) == 0)
- return TRUE;
- }
- return FALSE;
-}
-
-int IsBootloaderRevoked(uint8_t* buf, uint32_t len)
+int IsBootloaderRevoked(const char* path)
{
+ version_t* ver;
uint32_t i;
uint8_t hash[SHA256_HASHSIZE];
- IMAGE_DOS_HEADER* dos_header = (IMAGE_DOS_HEADER*)buf;
- IMAGE_NT_HEADERS32* pe_header;
- uint8_t* cert;
- cert_info_t info;
- int r, revoked = 0;
- if (buf == NULL || len < 0x100 || dos_header->e_magic != IMAGE_DOS_SIGNATURE)
- return -2;
- pe_header = (IMAGE_NT_HEADERS32*)&buf[dos_header->e_lfanew];
- if (pe_header->Signature != IMAGE_NT_SIGNATURE)
- return -2;
+ if (!PE256File(path, hash))
+ return -1;
+ for (i = 0; i < ARRAYSIZE(pe256dbx); i += SHA256_HASHSIZE)
+ if (memcmp(hash, &pe256dbx[i], SHA256_HASHSIZE) == 0)
+ return 1;
+ for (i = 0; i < pe256ssp_size * SHA256_HASHSIZE; i += SHA256_HASHSIZE)
+ if (memcmp(hash, &pe256ssp[i], SHA256_HASHSIZE) == 0)
+ return 2;
+ ver = GetExecutableVersion(path);
+ // Blanket filter for Windows 10 1607 (excluded) to Windows 10 20H1 (excluded)
+ // TODO: Revoke all bootloaders prior to 2023.05 once Microsoft does
+// uprintf("Found UEFI bootloader version: %d.%d.%d.%d", ver->Major, ver->Minor, ver->Micro, ver->Nano);
+ if (ver != NULL && ver->Major == 10 && ver->Minor == 0 && ver->Micro > 14393 && ver->Micro < 19041)
+ return 3;
+ return 0;
+}
- // Get the signer/issuer info
- cert = GetPeSignatureData(buf);
- r = GetIssuerCertificateInfo(cert, &info);
- if (r == 0) {
- uprintf(" (Unsigned Bootloader)");
- } else if (r > 0) {
- uprintf(" Signed by '%s'", info.name);
- // Only perform revocation checks on signed bootloaders
- if (!PE256Buffer(buf, len, hash))
- return -1;
- // Check for UEFI DBX revocation
- if (IsRevokedByDbx(hash, buf, len))
- revoked = 1;
- // Check for Microsoft SSP revocation
- for (i = 0; revoked == 0 && i < pe256ssp_size * SHA256_HASHSIZE; i += SHA256_HASHSIZE)
- if (memcmp(hash, &pe256ssp[i], SHA256_HASHSIZE) == 0)
- revoked = 2;
- // Check for Linux SBAT revocation
- if (revoked == 0 && IsRevokedBySbat(buf, len))
- revoked = 3;
- // Check for Microsoft SVN revocation
- if (revoked == 0 && IsRevokedBySvn(buf, len))
- revoked = 4;
- // Check for UEFI DBX certificate revocation
- if (revoked == 0 && IsRevokedByCert(&info))
- revoked = 5;
-
- // If signed and not revoked, print the various Secure Boot "gotchas"
- if (revoked == 0) {
- if (strcmp(info.name, "Microsoft Windows Production PCA 2011") == 0) {
- uprintf(" Note: This bootloader may fail Secure Boot validation on systems that");
- uprintf(" have been updated to use the 'Windows UEFI CA 2023' certificate.");
- } else if (strcmp(info.name, "Windows UEFI CA 2023") == 0) {
- uprintf(" Note: This bootloader will fail Secure Boot validation on systems that");
- uprintf(" have not been updated to use the latest Secure Boot certificates");
- } else if (strcmp(info.name, "Microsoft Corporation UEFI CA 2011") == 0 ||
- strcmp(info.name, "Microsoft UEFI CA 2023") == 0) {
- uprintf(" Note: This bootloader may fail Secure Boot validation on *some* systems,");
- uprintf(" unless you enable \"Microsoft 3rd-party UEFI CA\" in your 'BIOS'.");
- }
- }
- }
-
- return revoked;
+void PrintRevokedBootloaderInfo(void)
+{
+ uprintf("Found %d officially revoked UEFI bootloaders from embedded list", sizeof(pe256dbx) / SHA256_HASHSIZE);
+ if (ParseSKUSiPolicy())
+ uprintf("Found %d additional revoked UEFI bootloaders from this system's SKUSiPolicy.p7b", pe256ssp_size);
+ else
+ uprintf("WARNING: Could not parse this system's SkuSiPolicy.p7b for additional revoked UEFI bootloaders");
}
/*
@@ -2477,16 +2145,16 @@ void UpdateMD5Sum(const char* dest_dir, const char* md5sum_name)
intptr_t pos;
uint32_t i, j, size, md5_size, new_size;
uint8_t sum[MD5_HASHSIZE];
- char md5_path[64], path1[64], path2[64], bootloader_name[32];
- char *md5_data = NULL, *new_data = NULL, *str_pos, *d, *s, *p;
+ char md5_path[64], path1[64], path2[64], *md5_data = NULL, *new_data = NULL, *str_pos;
+ char *d, *s, *p;
if (!img_report.has_md5sum && !validate_md5sum)
- return;
+ goto out;
static_sprintf(md5_path, "%s\\%s", dest_dir, md5sum_name);
md5_size = read_file(md5_path, (uint8_t**)&md5_data);
if (md5_size == 0)
- return;
+ goto out;
for (i = 0; i < modified_files.Index; i++) {
for (j = 0; j < (uint32_t)strlen(modified_files.String[i]); j++)
@@ -2518,7 +2186,7 @@ void UpdateMD5Sum(const char* dest_dir, const char* md5sum_name)
new_data = malloc(md5_size + 1024);
assert(new_data != NULL);
if (new_data == NULL)
- return;
+ goto out;
// Will be nonzero if we created the file, otherwise zero
if (md5sum_totalbytes != 0) {
snprintf(new_data, md5_size + 1024, "# md5sum_totalbytes = 0x%llx\n", md5sum_totalbytes);
@@ -2529,13 +2197,12 @@ void UpdateMD5Sum(const char* dest_dir, const char* md5sum_name)
}
s = md5_data;
// Extract the MD5Sum bootloader(s)
- for (i = 1; i < ARRAYSIZE(efi_archname); i++) {
- static_sprintf(bootloader_name, "boot%s.efi", efi_archname[i]);
- static_sprintf(path1, "%s\\efi\\boot\\boot%s.efi", dest_dir, efi_archname[i]);
+ for (i = 1; i < ARRAYSIZE(efi_bootname); i++) {
+ static_sprintf(path1, "%s\\efi\\boot\\%s", dest_dir, efi_bootname[i]);
if (!PathFileExistsA(path1))
continue;
res_data = (BYTE*)GetResource(hMainInstance, MAKEINTRESOURCEA(IDR_MD5_BOOT + i),
- _RT_RCDATA, bootloader_name, &res_size, FALSE);
+ _RT_RCDATA, efi_bootname[i], &res_size, FALSE);
static_strcpy(path2, path1);
path2[strlen(path2) - 4] = 0;
static_strcat(path2, "_original.efi");
@@ -2562,21 +2229,20 @@ void UpdateMD5Sum(const char* dest_dir, const char* md5sum_name)
}
// Rename the original bootloaders if present in md5sum.txt
for (p = md5_data; (p = StrStrIA(p, " ./efi/boot/boot")) != NULL; ) {
- for (i = 1; i < ARRAYSIZE(efi_archname); i++) {
- static_sprintf(bootloader_name, "boot%s.efi", efi_archname[i]);
- if (p[12 + strlen(bootloader_name)] != 0x0a)
+ for (i = 1; i < ARRAYSIZE(efi_bootname); i++) {
+ if (p[12 + strlen(efi_bootname[i])] != 0x0a)
continue;
- p[12 + strlen(bootloader_name)] = 0;
- if (lstrcmpiA(&p[12], bootloader_name) == 0) {
- size = (uint32_t)(p - s) + 12 + (uint32_t)strlen(bootloader_name) - 4;
+ p[12 + strlen(efi_bootname[i])] = 0;
+ if (lstrcmpiA(&p[12], efi_bootname[i]) == 0) {
+ size = (uint32_t)(p - s) + 12 + (uint32_t)strlen(efi_bootname[i]) - 4;
memcpy(d, s, size);
d = &d[size];
strcpy(d, "_original.efi\n");
new_size += 9;
d = &d[14];
- s = &p[12 + strlen(bootloader_name) + 1];
+ s = &p[12 + strlen(efi_bootname[i]) + 1];
}
- p[12 + strlen(bootloader_name)] = 0x0a;
+ p[12 + strlen(efi_bootname[i])] = 0x0a;
}
p = &p[12];
}
@@ -2589,27 +2255,28 @@ void UpdateMD5Sum(const char* dest_dir, const char* md5sum_name)
write_file(md5_path, md5_data, md5_size);
free(md5_data);
+
+out:
+ // We no longer need the string array at this stage
+ StrArrayDestroy(&modified_files);
}
-/* Convert an (unprefixed) hex string to hash binary. Non concurrent. */
-uint8_t* StringToHash(const char* str)
+#if defined(_DEBUG) || defined(TEST) || defined(ALPHA)
+/* Convert a lowercase hex string to binary. Returned value must be freed */
+uint8_t* to_bin(const char* str)
{
- static uint8_t ret[MAX_HASHSIZE];
size_t i, len = safe_strlen(str);
- uint8_t val = 0;
- char c;
+ uint8_t val = 0, *ret = NULL;
- if_assert_fails(len / 2 == MD5_HASHSIZE || len / 2 == SHA1_HASHSIZE ||
- len / 2 == SHA256_HASHSIZE || len / 2 == SHA512_HASHSIZE)
+ if ((len < 2) || (len % 2))
+ return NULL;
+ ret = malloc(len / 2);
+ if (ret == NULL)
return NULL;
- memset(ret, 0, sizeof(ret));
for (i = 0; i < len; i++) {
val <<= 4;
- c = tolower(str[i]);
- if_assert_fails((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'))
- return NULL;
- val |= ((c - '0') < 0xa) ? (c - '0') : (c - 'a' + 0xa);
+ val |= ((str[i] - '0') < 0xa) ? (str[i] - '0') : (str[i] - 'a' + 0xa);
if (i % 2)
ret[i / 2] = val;
}
@@ -2617,7 +2284,6 @@ uint8_t* StringToHash(const char* str)
return ret;
}
-#if defined(_DEBUG) || defined(TEST) || defined(ALPHA)
const char test_msg[] = "Did you ever hear the tragedy of Darth Plagueis The Wise? "
"I thought not. It's not a story the Jedi would tell you. It's a Sith legend. "
"Darth Plagueis was a Dark Lord of the Sith, so powerful and so wise he could "
@@ -2665,7 +2331,7 @@ int TestHashes(void)
const uint32_t blocksize[HASH_MAX] = { MD5_BLOCKSIZE, SHA1_BLOCKSIZE, SHA256_BLOCKSIZE, SHA512_BLOCKSIZE };
const char* hash_name[4] = { "MD5 ", "SHA1 ", "SHA256", "SHA512" };
int i, j, errors = 0;
- uint8_t hash[MAX_HASHSIZE];
+ uint8_t hash[MAX_HASHSIZE], *hash_expected;
size_t full_msg_len = strlen(test_msg);
char* msg = malloc(full_msg_len + 1);
if (msg == NULL)
@@ -2688,12 +2354,14 @@ int TestHashes(void)
if (i != 0)
memcpy(msg, test_msg, copy_msg_len[i]);
HashBuffer(j, msg, copy_msg_len[i], hash);
- if (memcmp(hash, StringToHash(test_hash[j][i]), hash_count[j]) != 0) {
+ hash_expected = to_bin(test_hash[j][i]);
+ if (memcmp(hash, hash_expected, hash_count[j]) != 0) {
uprintf("Test %s %d: FAIL", hash_name[j], i);
errors++;
} else {
uprintf("Test %s %d: PASS", hash_name[j], i);
}
+ free(hash_expected);
}
}
diff --git a/src/hdd_vs_ufd.h b/src/hdd_vs_ufd.h
index 33941f76..e239cb9d 100644
--- a/src/hdd_vs_ufd.h
+++ b/src/hdd_vs_ufd.h
@@ -250,7 +250,6 @@ static vidpid_score_t vidpid_score[] = {
{ 0x04e8, 0x0101, -20 }, // Connect3D Flash Drive
{ 0x04e8, 0x1a23, -20 }, // 2 GB UFD
{ 0x04e8, 0x5120, -20 }, // 4 GB UFD
- { 0x04e8, 0x6300, -20 }, // 256 GB UFD (MUF-256DA/APC)
{ 0x04e8, 0x6818, -20 }, // 8 GB UFD
{ 0x04e8, 0x6845, -20 }, // 16 GB UFD
{ 0x04e8, 0x685E, -20 }, // 16 GB UFD
diff --git a/src/icon.c b/src/icon.c
index 3aba4824..7579050c 100644
--- a/src/icon.c
+++ b/src/icon.c
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* Extract icon from executable and set autorun.inf
- * Copyright © 2012-2026 Pete Batard
+ * Copyright © 2012-2024 Pete Batard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -105,7 +105,7 @@ BOOL ExtractAppIcon(const char* path, BOOL bSilent)
if (icondir == NULL || icondir->idCount > 64)
goto out;
- hFile = CreateFileU(path, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ,
+ hFile = CreateFileU(path, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ,
NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if (hFile == INVALID_HANDLE_VALUE) {
uprintf("Unable to create icon '%s': %s.", path, WindowsErrorString());
diff --git a/src/iso.c b/src/iso.c
index 952c80bd..a5b978be 100644
--- a/src/iso.c
+++ b/src/iso.c
@@ -1,7 +1,7 @@
/*
* Rufus: The Reliable USB Formatting Utility
* ISO file extraction
- * Copyright © 2011-2026 Pete Batard
+ * Copyright © 2011-2024 Pete Batard
* Based on libcdio's iso & udf samples:
* Copyright © 2003-2014 Rocky Bernstein
*
@@ -44,7 +44,6 @@
#include "rufus.h"
#include "ui.h"
-#include "vhd.h"
#include "drive.h"
#include "libfat.h"
#include "missing.h"
@@ -66,13 +65,12 @@ _Static_assert(256 * KB >= ISO_BLOCKSIZE, "Can't set PROGRESS_THRESHOLD");
#define ISO_EXTENSION_MASK (ISO_EXTENSION_ALL & (enable_joliet ? ISO_EXTENSION_ALL : ~ISO_EXTENSION_JOLIET) & \
(enable_rockridge ? ISO_EXTENSION_ALL : ~ISO_EXTENSION_ROCK_RIDGE))
-// Is an MBR partition type for a FAT12/FAT16/FAT32 partition?
-#define IS_FAT_TYPE(x) ((x) == 0x01 || (x) == 0x04 || (x) == 0x06 || (x) == 0x0b || (x) == 0x0c || (x) == 0x0e)
-
// Needed for UDF ISO access
CdIo_t* cdio_open (const char* psz_source, driver_id_t driver_id) {return NULL;}
void cdio_destroy (CdIo_t* p_cdio) {}
+uint32_t GetInstallWimVersion(const char* iso);
+
typedef struct {
BOOLEAN is_cfg;
BOOLEAN is_conf;
@@ -83,10 +81,7 @@ typedef struct {
} EXTRACT_PROPS;
RUFUS_IMG_REPORT img_report;
-FILE* fd_md5sum = NULL;
int64_t iso_blocking_status = -1;
-uint64_t total_blocks, extra_blocks, nb_blocks, last_nb_blocks;
-
extern uint64_t md5sum_totalbytes;
extern BOOL preserve_timestamps, enable_ntfs_compression, validate_md5sum;
extern HANDLE format_thread;
@@ -103,11 +98,11 @@ const char* md5sum_name[2] = { "md5sum.txt", "MD5SUMS" };
static const char* casper_dirname = "/casper";
static const char* proxmox_dirname = "/proxmox";
const char* efi_dirname = "/efi/boot";
-const char* efi_bootname[3] = { "boot", "grub", "mm" };
-const char* efi_archname[ARCH_MAX] = { "", "ia32", "x64", "arm", "aa64", "ia64", "riscv64", "loongarch64", "ebc" };
+const char* efi_bootname[ARCH_MAX] = {
+ "boot.efi", "bootia32.efi", "bootx64.efi", "bootarm.efi", "bootaa64.efi", "bootia64.efi",
+ "bootriscv32.efi", "bootriscv64.efi", "bootriscv128.efi", "bootebc.efi" };
static const char* sources_str = "/sources";
static const char* wininst_name[] = { "install.wim", "install.esd", "install.swm" };
-_STATIC_ASSERT(ARRAYSIZE(wininst_name) < 4); // Must fit as 4 bit position flag
// We only support GRUB/BIOS (x86) that uses a standard config dir (/boot/grub/i386-pc/)
// If the disc was mastered properly, GRUB/EFI will take care of itself
static const char* grub_dirname[] = { "/boot/grub/i386-pc", "/boot/grub2/i386-pc" };
@@ -118,7 +113,7 @@ static const char* syslinux_cfg[] = { "isolinux.cfg", "syslinux.cfg", "extlinux.
static const char* isolinux_bin[] = { "isolinux.bin", "boot.bin" };
static const char* pe_dirname[] = { "/i386", "/amd64", "/minint" };
static const char* pe_file[] = { "ntdetect.com", "setupldr.bin", "txtsetup.sif" };
-static const char* reactos_name[] = { "setupldr.sys", "freeldr.sys" };
+static const char* reactos_name = "setupldr.sys"; // TODO: freeldr.sys doesn't seem to work
static const char* kolibri_name = "kolibri.img";
static const char* autorun_name = "autorun.inf";
static const char* manjaro_marker = ".miso";
@@ -130,8 +125,10 @@ const char* old_c32_name[NB_OLD_C32] = OLD_C32_NAMES;
static const int64_t old_c32_threshold[NB_OLD_C32] = OLD_C32_THRESHOLD;
static uint8_t joliet_level = 0;
static uint32_t md5sum_size = 0;
+static uint64_t total_blocks, extra_blocks, nb_blocks, last_nb_blocks;
static BOOL scan_only = FALSE;
-static StrArray config_path, isolinux_path, grub_filesystems;
+static FILE* fd_md5sum = NULL;
+static StrArray config_path, isolinux_path;
static char symlinked_syslinux[MAX_PATH], *md5sum_data = NULL, *md5sum_pos = NULL;
// Ensure filenames do not contain invalid FAT32 or NTFS characters
@@ -149,8 +146,8 @@ static __inline char* sanitize_filename(char* filename, BOOL* is_identical)
}
// Must start after the drive part (D:\...) so that we don't eliminate the first column
- for (i = 2; i4GB install.wim if the target filesystem is FAT
- if (file_length >= 4 * GB && psz_dirname != NULL && IS_FAT(fs_type) && img_report.has_4GB_file == 0x11) {
- if (safe_stricmp(&psz_dirname[max(0, ((int)safe_strlen(psz_dirname)) -
- ((int)strlen(sources_str)))], sources_str) == 0) {
- char wim_path[4 * MAX_PATH];
- for (i = 0; i < ARRAYSIZE(wininst_name) - 1; i++) {
- if (safe_stricmp(psz_basename, wininst_name[i]) == 0 && file_length >= 4 * GB) {
- print_split_file((char*)psz_fullpath, file_length);
- char* dst = safe_strdup(psz_fullpath);
- dst[strlen(dst) - 3] = 's';
- dst[strlen(dst) - 2] = 'w';
- dst[strlen(dst) - 1] = 'm';
- assert(safe_strlen(image_path) + safe_strlen(psz_dirname) + safe_strlen(psz_basename) + 2 < ARRAYSIZE(wim_path));
- static_sprintf(wim_path, "%s|%s/%s", image_path, psz_dirname, psz_basename);
- WimSplitFile(wim_path, dst);
- free(dst);
- return TRUE;
- }
- }
- }
- }
} else { // Scan-time checks
// Check for GRUB artifacts
for (i = 0; i < ARRAYSIZE(grub_dirname); i++) {
@@ -352,10 +249,9 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t file_length, const
// We may extract the bootloaders for revocation validation later but
// to do so, since we're working with case sensitive file systems, we
// must store all found UEFI bootloader paths with the right case.
- for (j = 0; j < ARRAYSIZE(img_report.efi_boot_entry); j++) {
- if (img_report.efi_boot_entry[j].path[0] == 0) {
- img_report.efi_boot_entry[j].type = EBT_BOOTMGR;
- static_strcpy(img_report.efi_boot_entry[j].path, psz_fullpath);
+ for (j = 0; j < ARRAYSIZE(img_report.efi_boot_path); j++) {
+ if (img_report.efi_boot_path[j][0] == 0) {
+ static_strcpy(img_report.efi_boot_path[j], psz_fullpath);
break;
}
}
@@ -377,12 +273,9 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t file_length, const
}
}
- // Check for ReactOS presence anywhere
- if (img_report.reactos_path[0] == 0) {
- for (i = 0; i < ARRAYSIZE(reactos_name); i++)
- if (safe_stricmp(psz_basename, reactos_name[i]) == 0)
- static_strcpy(img_report.reactos_path, psz_fullpath);
- }
+ // Check for ReactOS' setupldr.sys anywhere
+ if ((img_report.reactos_path[0] == 0) && (safe_stricmp(psz_basename, reactos_name) == 0))
+ static_strcpy(img_report.reactos_path, psz_fullpath);
// Check for the first 'efi*.img' we can find (that hopefully contains EFI boot files)
if (!HAS_EFI_IMG(img_report) && (safe_strlen(psz_basename) >= 7) &&
@@ -390,27 +283,15 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t file_length, const
(safe_stricmp(&psz_basename[strlen(psz_basename) - 4], ".img") == 0))
static_strcpy(img_report.efi_img_path, psz_fullpath);
- // Special case for Lenovo UEFI firmware update ISOs, that use emulated El-Torito HDD images
- if (!HAS_EFI_IMG(img_report) && stricmp(psz_fullpath, "/[BOOT]/0-Boot-HardDisk.img") == 0)
- static_strcpy(img_report.efi_img_path, psz_fullpath);
-
- // Check for the EFI boot entries. Note that because of Bazzite maintainers' disregard for end users
- // (evidenced in https://github.com/ublue-os/bazzite/issues/4374) and Fedora's disregards for standards
- // (evidenced in pushing for '/efi/fedora/' to store bootloaders, instead of sticking to '/efi/boot/')
- // we check for anything starting with '/efi/' instead of just '/efi/boot/').
- if (safe_strnicmp(psz_dirname, "/efi/", 5) == 0) {
- for (k = 0; k < ARRAYSIZE(efi_bootname); k++) {
- for (i = 0; i < ARRAYSIZE(efi_archname); i++) {
- static_sprintf(bootloader_name, "%s%s.efi", efi_bootname[k], efi_archname[i]);
- if (safe_stricmp(psz_basename, bootloader_name) == 0) {
- if (k == 0)
- img_report.has_efi |= (2 << i); // start at 2 since "bootmgr.efi" is bit 0
- for (j = 0; j < ARRAYSIZE(img_report.efi_boot_entry); j++) {
- if (img_report.efi_boot_entry[j].path[0] == 0) {
- img_report.efi_boot_entry[j].type = (uint8_t)k;
- static_strcpy(img_report.efi_boot_entry[j].path, psz_fullpath);
- break;
- }
+ // Check for the EFI boot entries
+ if (safe_stricmp(psz_dirname, efi_dirname) == 0) {
+ for (i = 0; i < ARRAYSIZE(efi_bootname); i++) {
+ if (safe_stricmp(psz_basename, efi_bootname[i]) == 0) {
+ img_report.has_efi |= (2 << i); // start at 2 since "bootmgr.efi" is bit 0
+ for (j = 0; j < ARRAYSIZE(img_report.efi_boot_path); j++) {
+ if (img_report.efi_boot_path[j][0] == 0) {
+ static_strcpy(img_report.efi_boot_path[j], psz_fullpath);
+ break;
}
}
}
@@ -421,7 +302,7 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t file_length, const
// https://salsa.debian.org/live-team/live-build/-/commit/5bff71fea2dd54adcd6c428d3f1981734079a2f7
// Because of this, if we detect a small bootx64.efi file, we assert that it's a
// broken link and try to extract a "good" version from the El-Torito image.
- if ((safe_stricmp(psz_basename, "bootx64.efi") == 0) && (file_length < 256)) {
+ if ((safe_stricmp(psz_basename, efi_bootname[2]) == 0) && (file_length < 256)) {
img_report.has_efi |= 0x4000;
static_strcpy(img_report.efi_img_path, "[BOOT]/1-Boot-NoEmul.img");
}
@@ -437,8 +318,6 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t file_length, const
static_sprintf(img_report.wininst_path[img_report.wininst_index],
"?:%s", psz_fullpath);
img_report.wininst_index++;
- if (file_length >= 4 * GB)
- img_report.has_4GB_file |= (0x10 << i);
}
}
}
@@ -468,8 +347,8 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t file_length, const
if (props->is_old_c32[i])
img_report.has_old_c32[i] = TRUE;
}
- if (file_length >= 4 * GB && (img_report.has_4GB_file & 0x0f) != 0x0f)
- img_report.has_4GB_file++;
+ if (file_length >= 4 * GB)
+ img_report.has_4GB_file = TRUE;
// Compute projected size needed (NB: ISO_BLOCKSIZE = UDF_BLOCKSIZE)
if (file_length != 0)
total_blocks += (file_length + (ISO_BLOCKSIZE - 1)) / ISO_BLOCKSIZE;
@@ -505,23 +384,14 @@ static void fix_config(const char* psz_fullpath, const char* psz_path, const cha
if ((props->is_grub_cfg) && replace_in_token_data(src, "linux",
"maybe-ubiquity", "", TRUE))
uprintf(" Removed 'maybe-ubiquity' kernel option");
- } else if (replace_in_token_data(src, props->is_grub_cfg ? "linux" : "append",
- "boot=casper", "boot=casper persistent", TRUE) != NULL) {
- // Linux Mint uses "boot=casper". Oh and we want this replacement to happen BEFORE
- // the "linux /casper/vmlinuz" one, because Mint (Why is it ALWAYS them?) also use
- // "linux /casper/vmlinuz" and "kernel /casper/vmlinuz" in their config, and even
- // do so in a SUPER INCONSISTENT manner in their Syslinux' live.cfg, so we want to
- // make sure we don't have to do extra work to fix their inconsistency.
- uprintf(" Added 'persistent' kernel option");
- modified = TRUE;
} else if (replace_in_token_data(src, "linux", "/casper/vmlinuz",
"/casper/vmlinuz persistent", TRUE) != NULL) {
// Ubuntu 23.04 and 24.04 use GRUB only with the above and don't use "maybe-ubiquity"
uprintf(" Added 'persistent' kernel option");
modified = TRUE;
- } else if (replace_in_token_data(src, "kernel", "/casper/vmlinuz",
- "/casper/vmlinuz persistent", TRUE) != NULL) {
- // Some people might use "kernel" in their Syslinux config instead of "linux"
+ } else if (replace_in_token_data(src, props->is_grub_cfg ? "linux" : "append",
+ "boot=casper", "boot=casper persistent", TRUE) != NULL) {
+ // Linux Mint uses boot=casper.
uprintf(" Added 'persistent' kernel option");
modified = TRUE;
} else if (replace_in_token_data(src, props->is_grub_cfg ? "linux" : "append",
@@ -619,6 +489,81 @@ static void fix_config(const char* psz_fullpath, const char* psz_path, const cha
free(src);
}
+// Returns TRUE if a path appears in md5sum.txt
+static BOOL is_in_md5sum(char* path)
+{
+ BOOL found = FALSE;
+ char c[3], *p, *pos = md5sum_pos, *nul_pos;
+
+ // If we are creating the md5sum file from scratch, every file is in it.
+ if (fd_md5sum != NULL)
+ return TRUE;
+
+ // If we don't have an existing file at this stage, then no file is in it.
+ if (md5sum_size == 0 || md5sum_data == NULL)
+ return FALSE;
+
+ // We should have a "X:/xyz" path
+ assert(path[1] == ':' && path[2] == '/');
+
+ // Modify the path to have " ./xyz"
+ c[0] = path[0];
+ c[1] = path[1];
+ path[0] = ' ';
+ path[1] = '.';
+
+ // Search for the string in the remainder of the md5sum.txt
+ // NB: md5sum_data is always NUL terminated.
+ p = strstr(pos, path);
+ // Cater for the case where we matched a partial string and look for the full one
+ while (p != NULL && p[strlen(path)] != '\n' && p[strlen(path)] != '\r' && p[strlen(path)] != '\0') {
+ pos = p + strlen(path);
+ p = strstr(pos, path);
+ }
+ found = (p != NULL);
+ // If not found in remainder and we have a remainder, loop to search from beginning
+ if (!found && pos != md5sum_data) {
+ nul_pos = pos;
+ c[2] = *nul_pos;
+ *nul_pos = 0;
+ p = strstr(md5sum_data, path);
+ while (p != NULL && p[strlen(path)] != '\n' && p[strlen(path)] != '\r' && p[strlen(path)] != '\0') {
+ pos = p + strlen(path);
+ p = strstr(pos, path);
+ }
+ *nul_pos = c[2];
+ found = (p != NULL);
+ }
+
+ path[0] = c[0];
+ path[1] = c[1];
+ if (found)
+ md5sum_pos = p + strlen(path);
+ return found;
+}
+
+static void print_extracted_file(char* psz_fullpath, uint64_t file_length)
+{
+ size_t nul_pos;
+
+ if (psz_fullpath == NULL)
+ return;
+ // Replace slashes with backslashes and append the size to the path for UI display
+ to_windows_path(psz_fullpath);
+ nul_pos = strlen(psz_fullpath);
+ safe_sprintf(&psz_fullpath[nul_pos], 24, " (%s)", SizeToHumanReadable(file_length, TRUE, FALSE));
+ uprintf("Extracting: %s", psz_fullpath);
+ safe_sprintf(&psz_fullpath[nul_pos], 24, " (%s)", SizeToHumanReadable(file_length, FALSE, FALSE));
+ PrintStatus(0, MSG_000, psz_fullpath); // MSG_000 is "%s"
+ // Remove the appended size for extraction
+ psz_fullpath[nul_pos] = 0;
+ // ISO9660 cannot handle backslashes
+ to_unix_path(psz_fullpath);
+ // Update md5sum_totalbytes as needed
+ if (is_in_md5sum(psz_fullpath))
+ md5sum_totalbytes += file_length;
+}
+
// Convert from time_t to FILETIME
// Uses 3 static entries so that we can convert 3 concurrent values at the same time
static LPFILETIME __inline to_filetime(time_t t)
@@ -749,9 +694,7 @@ static int udf_extract_files(udf_t *p_udf, udf_dirent_t *p_udf_dirent, const cha
hash_write[HASH_MD5](&ctx, buf, buf_size);
ISO_BLOCKING(r = WriteFileWithRetry(file_handle, buf, buf_size, &wr_size, WRITE_RETRIES));
if (!r || (wr_size != buf_size)) {
- if (r)
- SetLastError(ERROR_WRITE_FAULT);
- uprintf(" Error writing file: %s", WindowsErrorString());
+ uprintf(" Error writing file: %s", r ? "Short write detected" : WindowsErrorString());
goto out;
}
file_length -= wr_size;
@@ -788,8 +731,6 @@ static int udf_extract_files(udf_t *p_udf, udf_dirent_t *p_udf_dirent, const cha
return 0;
out:
- if (GetLastError() != ERROR_SUCCESS)
- ErrorStatus = RUFUS_ERROR(GetLastError());
udf_dirent_free(p_udf_dirent);
ISO_BLOCKING(safe_closehandle(file_handle));
safe_free(psz_sanpath);
@@ -808,7 +749,7 @@ static int iso_extract_files(iso9660_t* p_iso, const char *psz_path)
BOOL is_symlink, is_identical, create_file, free_p_statbuf = FALSE;
int length, r = 1;
char psz_fullpath[MAX_PATH], *psz_basename = NULL, *psz_sanpath = NULL;
- char tmp[128], target_path[256], *last_slash;
+ char tmp[128], target_path[256];
const char *psz_iso_name = &psz_fullpath[strlen(psz_extract_dir)];
_Static_assert(ISO_BUFFER_SIZE % ISO_BLOCKSIZE == 0,
"ISO_BUFFER_SIZE is not a multiple of ISO_BLOCKSIZE");
@@ -984,21 +925,6 @@ static int iso_extract_files(iso9660_t* p_iso, const char *psz_path)
if (create_file) {
file_handle = CreatePreallocatedFile(psz_sanpath, GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, file_length);
- if (file_handle == INVALID_HANDLE_VALUE && GetLastError() == ERROR_PATH_NOT_FOUND) {
- // Some folks (umbrelos) managed to master their ISOs in a manner where some
- // directories don't exist (or don't have _STAT_DIR) but still have files,
- // in which case our approach, that expects a sane layout with directories
- // properly declared before the files they contain, breaks. Therefore:
- last_slash = strrchr(psz_sanpath, '/');
- if (last_slash != NULL) {
- *last_slash = '\0';
- uprintf("WARNING: Directory '%s/' was improperly mastered on the source image!", &psz_sanpath[2]);
- _mkdirExU(psz_sanpath);
- *last_slash = '/';
- file_handle = CreatePreallocatedFile(psz_sanpath, GENERIC_READ | GENERIC_WRITE,
- FILE_SHARE_READ, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, file_length);
- }
- }
if (file_handle == INVALID_HANDLE_VALUE) {
err = GetLastError();
uprintf(" Unable to create file: %s", WindowsErrorString());
@@ -1033,9 +959,7 @@ static int iso_extract_files(iso9660_t* p_iso, const char *psz_path)
hash_write[HASH_MD5](&ctx, buf, buf_size);
ISO_BLOCKING(r = WriteFileWithRetry(file_handle, buf, buf_size, &wr_size, WRITE_RETRIES));
if (!r || wr_size != buf_size) {
- if (r)
- SetLastError(ERROR_WRITE_FAULT);
- uprintf(" Error writing file: %s", WindowsErrorString());
+ uprintf(" Error writing file: %s", r ? "Short write detected" : WindowsErrorString());
goto out;
}
file_length -= wr_size;
@@ -1070,8 +994,6 @@ static int iso_extract_files(iso9660_t* p_iso, const char *psz_path)
r = 0;
out:
- if (r != 0 && GetLastError() != ERROR_SUCCESS)
- ErrorStatus = RUFUS_ERROR(GetLastError());
ISO_BLOCKING(safe_closehandle(file_handle));
if (p_entlist != NULL)
iso9660_filelist_free(p_entlist);
@@ -1080,7 +1002,7 @@ out:
return r;
}
-void GetGrubVersion(char* buf, size_t buf_size, const char* source)
+void GetGrubVersion(char* buf, size_t buf_size)
{
// In typical "I'll make my own Open Source... with blackjack and hookers!" fashion,
// IBM/Red-Hat/Fedora took it upon themselves to "fix" the double space typo from the
@@ -1092,7 +1014,6 @@ void GetGrubVersion(char* buf, size_t buf_size, const char* source)
const char* grub_version_str[] = { "GRUB version %s", "GRUB version %s" };
const char* grub_debug_is_enabled_str = "grub_debug_is_enabled";
const size_t max_string_size = 32; // The strings above *MUST* be no longer than this value
- char grub_version[192] = { 0 };
size_t i, j;
BOOL has_grub_debug_is_enabled = FALSE;
@@ -1100,24 +1021,15 @@ void GetGrubVersion(char* buf, size_t buf_size, const char* source)
if (buf_size > max_string_size) {
for (i = 0; i < buf_size - max_string_size; i++) {
for (j = 0; j < ARRAYSIZE(grub_version_str); j++) {
- if (memcmp(&buf[i], grub_version_str[j], strlen(grub_version_str[j])) == 0) {
- // For CentOS, who decided to add a '\n' after "GRUB version %s"
- if (buf[i + strlen(grub_version_str[j]) + 1] == '\0')
- i++;
- static_strcpy(grub_version, &buf[i + strlen(grub_version_str[j]) + 1]);
- }
+ if (memcmp(&buf[i], grub_version_str[j], strlen(grub_version_str[j]) + 1) == 0)
+ static_strcpy(img_report.grub2_version, &buf[i + strlen(grub_version_str[j]) + 1]);
}
if (memcmp(&buf[i], grub_debug_is_enabled_str, strlen(grub_debug_is_enabled_str)) == 0)
has_grub_debug_is_enabled = TRUE;
}
}
- uprintf(" Detected GRUB version: %s (from '%s')", grub_version, source);
-
- if (img_report.grub2_version[0] != 0)
- return;
-
- static_strcpy(img_report.grub2_version, grub_version);
+ uprintf(" Reported Grub version: %s", img_report.grub2_version);
// "KASPERSKYYYYYY!!!..." (https://github.com/pbatard/rufus/issues/467)
// But seriously, these guys should know better than "security" through obscurity...
@@ -1159,7 +1071,7 @@ void GetGrubVersion(char* buf, size_t buf_size, const char* source)
// Make sure we append '-nonstandard' and '-gdie' before the sanitized label.
BOOL append_label = (safe_strcmp(img_report.grub2_version, "2.06") == 0);
// Must be in the same order as we have on the server
- if ((img_report.has_grub2 & 0x7f) > 1)
+ if (img_report.has_grub2 > 1)
safe_strcat(img_report.grub2_version, sizeof(img_report.grub2_version), "-nonstandard");
if (has_grub_debug_is_enabled)
safe_strcat(img_report.grub2_version, sizeof(img_report.grub2_version), "-gdie");
@@ -1171,61 +1083,13 @@ void GetGrubVersion(char* buf, size_t buf_size, const char* source)
}
}
-void GetGrubFs(char* buf, size_t buf_size)
-{
- const char* grub_fshelp_str = "fshelp";
- const size_t max_string_size = 32;
- size_t i;
-
- if (buf_size > max_string_size) {
- for (i = 0; i < buf_size - max_string_size; i++) {
- if (memcmp(&buf[i], grub_fshelp_str, strlen(grub_fshelp_str) + 1) == 0) {
- if (buf[i + strlen(grub_fshelp_str) + 1] != 0 && strlen(&buf[i + strlen(grub_fshelp_str) + 1]) < 12) {
- StrArrayAddUnique(&grub_filesystems, &buf[i + strlen(grub_fshelp_str) + 1], TRUE);
- }
- }
- }
- }
-}
-
-void GetEfiBootInfo(char* buf, size_t buf_size, const char* source)
-{
- // Data to help us identify the EFI bootloader type
- const struct {
- const char* label;
- const char* search_string;
- } boot_info[] = {
- { "Shim", "UEFI SHIM\n$Version: "},
- // NB: There's also an ID=systemd-boot\nVERSION="x.y.z" footer
- // in the Arch systemd-boot EFI binary, but I'm not sure if we
- // can count on this metadata footer to always be present...
- { "systemd-boot", "#### LoaderInfo: systemd-boot " },
- };
- const size_t max_string_size = 64;
- size_t i, j, k;
-
- if (buf_size > max_string_size) {
- for (i = 0; i < buf_size - max_string_size; i++) {
- for (j = 0; j < ARRAYSIZE(boot_info); j++) {
- if (memcmp(&buf[i], boot_info[j].search_string, strlen(boot_info[j].search_string)) == 0) {
- i += strlen(boot_info[j].search_string);
- for (k = 0; k < 32 && i + k < buf_size - 1 && !isspace(buf[i + k]); k++);
- buf[i + k] = '\0';
- uprintf(" Detected %s version: %s (from '%s')", boot_info[j].label, &buf[i], source);
- return;
- }
- }
- }
- }
-}
-
BOOL ExtractISO(const char* src_iso, const char* dest_dir, BOOL scan)
{
const char* basedir[] = { "i386", "amd64", "minint" };
+ const char* tmp_sif = ".\\txtsetup.sif~";
int k, r = 1;
- char *tmp, *ext, *spacing = " ";
+ char *tmp, *buf = NULL, *ext, *spacing = " ";
char path[MAX_PATH], path2[16];
- uint8_t* buf = NULL;
uint16_t sl_version;
size_t i, j, size, sl_index = 0;
FILE* fd;
@@ -1241,7 +1105,7 @@ BOOL ExtractISO(const char* src_iso, const char* dest_dir, BOOL scan)
scan_only = scan;
if (!scan_only)
spacing = "";
- cdio_log_set_handler((scan_only && !usb_debug) ? NULL : log_handler);
+ cdio_log_set_handler(log_handler);
psz_extract_dir = dest_dir;
// Change progress style to marquee for scanning
if (scan_only) {
@@ -1253,7 +1117,6 @@ BOOL ExtractISO(const char* src_iso, const char* dest_dir, BOOL scan)
// String array of all isolinux/syslinux locations
StrArrayCreate(&config_path, 8);
StrArrayCreate(&isolinux_path, 8);
- StrArrayCreate(&grub_filesystems, 8);
PrintInfo(0, MSG_202);
} else {
uprintf("Extracting files...");
@@ -1267,7 +1130,7 @@ BOOL ExtractISO(const char* src_iso, const char* dest_dir, BOOL scan)
last_nb_blocks = 0;
iso_blocking_status = 0;
symlinked_syslinux[0] = 0;
- StrArrayClear(&modified_files);
+ StrArrayCreate(&modified_files, 8);
if (validate_md5sum) {
md5sum_totalbytes = 0;
// If there isn't an already existing md5sum.txt create one
@@ -1341,9 +1204,7 @@ try_iso:
out:
iso_blocking_status = -1;
if (scan_only) {
- const char* fs_name[] = { "fat", "exfat", "ntfs" };
struct __stat64 stat;
- char fses[256] = { 0 };
// Find if there is a mismatch between the ISO size, as reported by the PVD, and the actual file size
if ((iso9660_ifs_read_pvd(p_iso, &pvd)) && (_stat64U(src_iso, &stat) == 0))
img_report.mismatch_size = (int64_t)(iso9660_get_pvd_space_size(&pvd)) * ISO_BLOCKSIZE - stat.st_size;
@@ -1351,9 +1212,7 @@ out:
for (k = (int)safe_strlen(img_report.label) - 1; ((k > 0) && (isspaceU(img_report.label[k]))); k--)
img_report.label[k] = 0;
// We use the fact that UDF_BLOCKSIZE and ISO_BLOCKSIZE are the same here
- // Also, we add 1% extra requirement, on account that we most likely use a 4k or higher cluster size
- // whereas ISO_BLOCKSIZE is 2k, which means we'll need extra spaces if there are many small files.
- img_report.projected_size = (uint64_t)((double)total_blocks * ISO_BLOCKSIZE * 1.01f);
+ img_report.projected_size = total_blocks * ISO_BLOCKSIZE;
// We will link the existing isolinux.cfg from a syslinux.cfg we create
// If multiple config files exist, choose the one with the shortest path
// (so that a '/syslinux.cfg' is preferred over a '/isolinux/isolinux.cfg')
@@ -1385,8 +1244,10 @@ out:
uprintf(" Will use '%s' for Syslinux", img_report.cfg_path);
// Extract all of the isolinux.bin files we found to identify their versions
for (i = 0; i < isolinux_path.Index; i++) {
- size = (size_t)ReadISOFileToBuffer(src_iso, isolinux_path.String[i], &buf);
- if (size == 0) {
+ char isolinux_tmp[MAX_PATH];
+ static_sprintf(isolinux_tmp, "%sisolinux.tmp", temp_dir);
+ size = (size_t)ExtractISOFile(src_iso, isolinux_path.String[i], isolinux_tmp, FILE_ATTRIBUTE_NORMAL);
+ if ((size == 0) || (read_file(isolinux_tmp, (uint8_t**)&buf) != size)) {
uprintf(" Could not access %s", isolinux_path.String[i]);
} else {
sl_version = GetSyslinuxVersion(buf, size, &ext);
@@ -1395,7 +1256,7 @@ out:
img_report.sl_version = sl_version;
sl_index = i;
} else if ((img_report.sl_version != sl_version) || (safe_strcmp(img_report.sl_version_ext, ext) != 0)) {
- uprintf(" Found conflicting Isolinux versions:\r\n '%s' (%d.%02d%s) vs '%s' (%d.%02d%s)",
+ uprintf(" Found conflicting isolinux versions:\r\n '%s' (%d.%02d%s) vs '%s' (%d.%02d%s)",
isolinux_path.String[sl_index], SL_MAJOR(img_report.sl_version), SL_MINOR(img_report.sl_version),
img_report.sl_version_ext, isolinux_path.String[i], SL_MAJOR(sl_version), SL_MINOR(sl_version), ext);
// Workaround for Antergos and other ISOs, that have multiple Syslinux versions.
@@ -1407,8 +1268,9 @@ out:
sl_index = i;
}
}
- safe_free(buf);
+ free(buf);
}
+ DeleteFileU(isolinux_tmp);
}
if (img_report.sl_version != 0) {
static_sprintf(img_report.sl_version_str, "%d.%02d",
@@ -1427,7 +1289,7 @@ out:
img_report.sl_version_str);
}
}
- if (!IS_EFI_BOOTABLE(img_report) && HAS_EFI_IMG(img_report) && HasEfiImgBootLoaders(p_iso)) {
+ if (!IS_EFI_BOOTABLE(img_report) && HAS_EFI_IMG(img_report) && HasEfiImgBootLoaders()) {
img_report.has_efi = 0x8000;
}
if (HAS_WINPE(img_report)) {
@@ -1435,77 +1297,43 @@ out:
// during scan, to see if /minint was provided for OsLoadOptions, as it decides
// whether we should use 0x80 or 0x81 as the disk ID in the MBR
static_sprintf(path, "/%s/txtsetup.sif",
- basedir[((img_report.winpe & WINPE_I386) == WINPE_I386) ? 0 : ((img_report.winpe & WINPE_AMD64) == WINPE_AMD64 ? 1 : 2)]);
- size = (size_t)ReadISOFileToBuffer(src_iso, path, &buf);
- tmp = get_token_data_buffer("OsLoadOptions", 1, buf, size);
+ basedir[((img_report.winpe&WINPE_I386) == WINPE_I386)?0:((img_report.winpe&WINPE_AMD64) == WINPE_AMD64?1:2)]);
+ ExtractISOFile(src_iso, path, tmp_sif, FILE_ATTRIBUTE_NORMAL);
+ tmp = get_token_data_file("OsLoadOptions", tmp_sif);
if (tmp != NULL) {
for (i = 0; i < strlen(tmp); i++)
tmp[i] = (char)tolower(tmp[i]);
uprintf(" Checking txtsetup.sif:\r\n OsLoadOptions = %s", tmp);
img_report.uses_minint = (strstr(tmp, "/minint") != NULL);
- safe_free(tmp);
}
- safe_free(buf);
+ DeleteFileU(tmp_sif);
+ safe_free(tmp);
}
if (HAS_WININST(img_report)) {
- char wim_path[4 * MAX_PATH];
- assert(safe_strlen(image_path) + safe_strlen(&img_report.wininst_path[0][2]) + 2 < ARRAYSIZE(wim_path));
- static_sprintf(wim_path, "%s|%s", image_path, &img_report.wininst_path[0][2]);
- img_report.wininst_version = GetWimVersion(wim_path);
+ img_report.wininst_version = GetInstallWimVersion(src_iso);
}
if (img_report.has_grub2) {
char grub_path[128];
- static_sprintf(grub_path, "/%s/normal.mod", &grub_dirname[img_report.has_grub2 - 1][1]);
+ static_sprintf(grub_path, "%s/normal.mod", &grub_dirname[img_report.has_grub2 - 1][1]);
// In case we have a GRUB2 based iso, we extract boot/grub/i386-pc/normal.mod to parse its version
img_report.grub2_version[0] = 0;
- size = (size_t)ReadISOFileToBuffer(src_iso, grub_path, &buf);
- if (size == 0)
- uprintf(" Could not read Grub version from '%s'", grub_path);
- else
- GetGrubVersion(buf, size, grub_path);
- safe_free(buf);
+ // coverity[swapped_arguments]
+ if (GetTempFileNameU(temp_dir, APPLICATION_NAME, 0, path) != 0) {
+ size = (size_t)ExtractISOFile(src_iso, grub_path, path, FILE_ATTRIBUTE_NORMAL);
+ if ((size == 0) || (read_file(path, (uint8_t**)&buf) != size))
+ uprintf(" Could not read Grub version from '%s'", grub_path);
+ else
+ GetGrubVersion(buf, size);
+ safe_free(buf);
+ DeleteFileU(path);
+ }
if (img_report.grub2_version[0] == 0) {
uprintf(" Could not detect Grub version");
- img_report.has_grub2 &= 0x80;
+ img_report.has_grub2 = 0;
}
}
- for (j = 0; j < ARRAYSIZE(img_report.efi_boot_entry); j++) {
- if (!img_report.efi_boot_entry[j].path[0])
- continue;
- if (img_report.efi_boot_entry[j].type == EBT_GRUB) {
- size = (size_t)ReadISOFileToBuffer(src_iso, img_report.efi_boot_entry[j].path, &buf);
- if (size == 0) {
- uprintf(" Could not read Grub version from '%s'", img_report.efi_boot_entry[j].path);
- } else {
- img_report.has_grub2 |= 0x80;
- GetGrubVersion(buf, size, img_report.efi_boot_entry[j].path);
- GetGrubFs(buf, size);
- }
- safe_free(buf);
- } else if (img_report.efi_boot_entry[j].type == EBT_MAIN) {
- size = (size_t)ReadISOFileToBuffer(src_iso, img_report.efi_boot_entry[j].path, &buf);
- if (size == 0) {
- uprintf(" Could not parse '%s'", img_report.efi_boot_entry[j].path);
- } else {
- GetEfiBootInfo(buf, size, img_report.efi_boot_entry[j].path);
- }
- safe_free(buf);
- }
- }
- for (i = 0; i < (int)grub_filesystems.Index; i++) {
- if (i != 0)
- static_strcat(fses, ", ");
- static_strcat(fses, grub_filesystems.String[i]);
- for (j = 0; j < ARRAYSIZE(fs_name); j++)
- if (stricmp(grub_filesystems.String[i], fs_name[j]) == 0)
- img_report.has_grub2_fs |= (1 << j);
- }
- if (*fses)
- uprintf(" Supported GRUB filesystems: %s", fses);
-
StrArrayDestroy(&config_path);
StrArrayDestroy(&isolinux_path);
- StrArrayDestroy(&grub_filesystems);
SendMessage(hMainDialog, UM_PROGRESS_EXIT, 0, 0);
} else {
// Solus and other ISOs only provide EFI boot files in a FAT efi.img
@@ -1517,7 +1345,7 @@ out:
static_sprintf(path, "%s\\EFI\\boot\\bootx64.efi", dest_dir);
DeleteFileU(path);
}
- DumpFatDir(p_iso, dest_dir, 0);
+ DumpFatDir(dest_dir, 0);
}
if (HAS_SYSLINUX(img_report)) {
static_sprintf(path, "%s\\syslinux.cfg", dest_dir);
@@ -1597,7 +1425,7 @@ out:
if (MoveFileA(path, dst_path))
uprintf("Moved: %s → %s", path, dst_path);
else
- uprintf("Could not move %s → %s: %s", path, dst_path, WindowsErrorString());
+ uprintf("Could not move %s → %s", path, dst_path, WindowsErrorString());
}
}
if (fd_md5sum != NULL) {
@@ -1632,7 +1460,7 @@ int64_t ExtractISOFile(const char* iso, const char* iso_file, const char* dest_f
file_handle = CreateFileU(dest_file, GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ, NULL, CREATE_ALWAYS, attributes, NULL);
if (file_handle == INVALID_HANDLE_VALUE) {
- uprintf("Could not create file %s: %s", dest_file, WindowsErrorString());
+ uprintf(" Could not create file %s: %s", dest_file, WindowsErrorString());
goto out;
}
@@ -1659,9 +1487,9 @@ int64_t ExtractISOFile(const char* iso, const char* iso_file, const char* dest_f
uprintf("Error reading UDF file %s", iso_file);
goto out;
}
- buf_size = (DWORD)MIN(file_length, (int64_t)read_size);
+ buf_size = (DWORD)MIN(file_length, read_size);
if (!WriteFileWithRetry(file_handle, buf, buf_size, &wr_size, WRITE_RETRIES)) {
- uprintf("Error writing file %s: %s", dest_file, WindowsErrorString());
+ uprintf(" Error writing file %s: %s", dest_file, WindowsErrorString());
goto out;
}
file_length -= buf_size;
@@ -1689,12 +1517,12 @@ try_iso:
memset(buf, 0, ISO_BLOCKSIZE);
lsn = p_statbuf->lsn + (lsn_t)i;
if (iso9660_iso_seek_read(p_iso, buf, lsn, 1) != ISO_BLOCKSIZE) {
- uprintf("Error reading ISO9660 file %s at LSN %lu", iso_file, (long unsigned int)lsn);
+ uprintf(" Error reading ISO9660 file %s at LSN %lu", iso_file, (long unsigned int)lsn);
goto out;
}
buf_size = (DWORD)MIN(file_length, ISO_BLOCKSIZE);
if (!WriteFileWithRetry(file_handle, buf, buf_size, &wr_size, WRITE_RETRIES)) {
- uprintf("Error writing file %s: %s", dest_file, WindowsErrorString());
+ uprintf(" Error writing file %s: %s", dest_file, WindowsErrorString());
goto out;
}
file_length -= buf_size;
@@ -1727,7 +1555,6 @@ uint32_t ReadISOFileToBuffer(const char* iso, const char* iso_file, uint8_t** bu
iso9660_stat_t* p_statbuf = NULL;
*buf = NULL;
- cdio_loglevel_default = CDIO_LOG_WARN;
// First try to open as UDF - fallback to ISO if it failed
p_udf = udf_open(iso);
@@ -1801,12 +1628,76 @@ out:
udf_dirent_free(p_udf_file);
iso9660_close(p_iso);
udf_close(p_udf);
- cdio_loglevel_default = usb_debug ? CDIO_LOG_INFO : CDIO_LOG_WARN;
if (ret == 0)
safe_free(*buf);
return ret;
}
+uint32_t GetInstallWimVersion(const char* iso)
+{
+ char *wim_path = NULL, buf[UDF_BLOCKSIZE] = { 0 };
+ uint32_t* wim_header = (uint32_t*)buf, r = 0xffffffff;
+ iso9660_t* p_iso = NULL;
+ udf_t* p_udf = NULL;
+ udf_dirent_t *p_udf_root = NULL, *p_udf_file = NULL;
+ iso9660_stat_t *p_statbuf = NULL;
+
+ wim_path = safe_strdup(&img_report.wininst_path[0][2]);
+ if (wim_path == NULL)
+ goto out;
+ // UDF indiscriminately accepts slash or backslash delimiters,
+ // but ISO-9660 requires slash
+ to_unix_path(wim_path);
+
+ // First try to open as UDF - fallback to ISO if it failed
+ p_udf = udf_open(iso);
+ if (p_udf == NULL)
+ goto try_iso;
+
+ p_udf_root = udf_get_root(p_udf, true, 0);
+ if (p_udf_root == NULL) {
+ uprintf("Could not locate UDF root directory");
+ goto out;
+ }
+ p_udf_file = udf_fopen(p_udf_root, wim_path);
+ if (!p_udf_file) {
+ uprintf("Could not locate file %s in ISO image", wim_path);
+ goto out;
+ }
+ if (udf_read_block(p_udf_file, buf, 1) != UDF_BLOCKSIZE) {
+ uprintf("Error reading UDF file %s", wim_path);
+ goto out;
+ }
+ r = wim_header[3];
+ goto out;
+
+try_iso:
+ p_iso = iso9660_open_ext(iso, ISO_EXTENSION_MASK);
+ if (p_iso == NULL) {
+ uprintf("Could not open image '%s'", iso);
+ goto out;
+ }
+ p_statbuf = iso9660_ifs_stat_translate(p_iso, wim_path);
+ if (p_statbuf == NULL) {
+ uprintf("Could not get ISO-9660 file information for file %s", wim_path);
+ goto out;
+ }
+ if (iso9660_iso_seek_read(p_iso, buf, p_statbuf->lsn, 1) != ISO_BLOCKSIZE) {
+ uprintf("Error reading ISO-9660 file %s at LSN %d", wim_path, p_statbuf->lsn);
+ goto out;
+ }
+ r = wim_header[3];
+
+out:
+ iso9660_stat_free(p_statbuf);
+ udf_dirent_free(p_udf_root);
+ udf_dirent_free(p_udf_file);
+ iso9660_close(p_iso);
+ udf_close(p_udf);
+ safe_free(wim_path);
+ return bswap_uint32(r);
+}
+
#define ISO_NB_BLOCKS 16
typedef struct {
iso9660_t* p_iso;
@@ -1847,21 +1738,26 @@ int iso9660_readfat(intptr_t pp, void *buf, size_t secsize, libfat_sector_t sec)
/*
* Returns TRUE if an EFI bootloader exists in the img.
*/
-BOOL HasEfiImgBootLoaders(void* iso)
+BOOL HasEfiImgBootLoaders(void)
{
BOOL ret = FALSE;
- iso9660_t* p_iso = (iso9660_t*)iso;
+ iso9660_t* p_iso = NULL;
iso9660_stat_t* p_statbuf = NULL;
iso9660_readfat_private* p_private = NULL;
int32_t dc, c;
struct libfat_filesystem *lf_fs = NULL;
struct libfat_direntry direntry;
- char bootloader_name[16];
- int i;
+ char name[12] = { 0 };
+ int i, j, k;
- if ((p_iso == NULL) || !HAS_EFI_IMG(img_report))
+ if ((image_path == NULL) || !HAS_EFI_IMG(img_report))
return FALSE;
+ p_iso = iso9660_open_ext(image_path, ISO_EXTENSION_MASK);
+ if (p_iso == NULL) {
+ uprintf("Could not open image '%s' as an ISO-9660 file system", image_path);
+ goto out;
+ }
p_statbuf = iso9660_ifs_stat_translate(p_iso, img_report.efi_img_path);
if (p_statbuf == NULL) {
uprintf("Could not get ISO-9660 file information for file %s", img_report.efi_img_path);
@@ -1878,20 +1774,6 @@ BOOL HasEfiImgBootLoaders(void* iso)
uprintf("Error reading ISO-9660 file %s at LSN %lu", img_report.efi_img_path, (long unsigned int)p_private->lsn);
goto out;
}
- // Try to skip to first FAT partition, if working with an MBR partitioned image
- if (p_private->buf[0x1fe] == 0x55 && p_private->buf[0x1ff] == 0xaa &&
- p_private->buf[0x1be] == 0x80 && IS_FAT_TYPE(p_private->buf[0x1c2])) {
- uint32_t lba = *((uint32_t*)&p_private->buf[0x1c6]);
- if (lba % 4 != 0) {
- uprintf("Error: First MBR partition doesn't map to ISO-9660 sector");
- goto out;
- }
- p_private->lsn += lba / 4;
- if (iso9660_iso_seek_read(p_private->p_iso, p_private->buf, p_private->lsn, ISO_NB_BLOCKS) != ISO_NB_BLOCKS * ISO_BLOCKSIZE) {
- uprintf("Error reading ISO-9660 file %s at LSN %lu", img_report.efi_img_path, (long unsigned int)p_private->lsn);
- goto out;
- }
- }
lf_fs = libfat_open(iso9660_readfat, (intptr_t)p_private);
if (lf_fs == NULL) {
uprintf("FAT access error");
@@ -1906,19 +1788,23 @@ BOOL HasEfiImgBootLoaders(void* iso)
goto out;
dc = direntry.entry[26] + (direntry.entry[27] << 8);
- for (i = 1; i < ARRAYSIZE(efi_archname); i++) {
- // We consider it unlikely that any bootri#####.efi or bootlo#####.efi files
- // in the /efi/boot/ subdirectory will be anything but 'bootriscv64.efi' and
- // 'bootloongarch64.efi', so we'll use the ~1 LFN shortened names for them.
- static_sprintf(bootloader_name, "BOOT%c%c%c%cEFI", efi_archname[i][0], efi_archname[i][1],
- strlen(efi_archname[i]) > 4 ? '~' : efi_archname[i][2],
- strlen(efi_archname[i]) > 4 ? '1' : (strlen(efi_archname[i]) > 3 ? efi_archname[i][3] : ' '));
- safe_strtoupper(bootloader_name);
- c = libfat_searchdir(lf_fs, dc, bootloader_name, &direntry);
+ for (i = 0; i < ARRAYSIZE(efi_bootname); i++) {
+ // TODO: bootriscv###.efi will need LFN support but cross that bridge when/if we get there...
+ if (strlen(efi_bootname[i]) > 12)
+ continue;
+ for (j = 0, k = 0; efi_bootname[i][j] != 0; j++) {
+ if (efi_bootname[i][j] == '.') {
+ while (k < 8)
+ name[k++] = ' ';
+ } else {
+ name[k++] = toupper(efi_bootname[i][j]);
+ }
+ }
+ c = libfat_searchdir(lf_fs, dc, name, &direntry);
if (c > 0) {
if (!ret)
uprintf(" Detected EFI bootloader(s) (from '%s'):", img_report.efi_img_path);
- uprintf(" ● 'boot%s.efi'", efi_archname[i]);
+ uprintf(" ● '%s'", efi_bootname[i]);
ret = TRUE;
}
}
@@ -1927,11 +1813,12 @@ out:
if (lf_fs != NULL)
libfat_close(lf_fs);
iso9660_stat_free(p_statbuf);
+ iso9660_close(p_iso);
safe_free(p_private);
return ret;
}
-BOOL DumpFatDir(void* iso, const char* path, int32_t cluster)
+BOOL DumpFatDir(const char* path, int32_t cluster)
{
// We don't have concurrent calls to this function, so a static lf_fs is fine
static struct libfat_filesystem *lf_fs = NULL;
@@ -1943,7 +1830,7 @@ BOOL DumpFatDir(void* iso, const char* path, int32_t cluster)
libfat_diritem_t diritem = { 0 };
libfat_dirpos_t dirpos = { cluster, -1, 0 };
libfat_sector_t s;
- iso9660_t* p_iso = (iso9660_t*)iso;
+ iso9660_t* p_iso = NULL;
iso9660_stat_t* p_statbuf = NULL;
iso9660_readfat_private* p_private = NULL;
@@ -1952,8 +1839,13 @@ BOOL DumpFatDir(void* iso, const char* path, int32_t cluster)
if (cluster == 0) {
// Root dir => Perform init stuff
- if (iso == NULL || image_path == NULL)
+ if (image_path == NULL)
return FALSE;
+ p_iso = iso9660_open_ext(image_path, ISO_EXTENSION_MASK);
+ if (p_iso == NULL) {
+ uprintf("Could not open image '%s' as an ISO-9660 file system", image_path);
+ goto out;
+ }
p_statbuf = iso9660_ifs_stat_translate(p_iso, img_report.efi_img_path);
if (p_statbuf == NULL) {
uprintf("Could not get ISO-9660 file information for file %s", img_report.efi_img_path);
@@ -1970,15 +1862,6 @@ BOOL DumpFatDir(void* iso, const char* path, int32_t cluster)
uprintf("Error reading ISO-9660 file %s at LSN %lu", img_report.efi_img_path, (long unsigned int)p_private->lsn);
goto out;
}
- // Try to skip to first FAT partition, if working with an MBR partitioned image
- if (p_private->buf[0x1fe] == 0x55 && p_private->buf[0x1ff] == 0xaa &&
- p_private->buf[0x1be] == 0x80 && IS_FAT_TYPE(p_private->buf[0x1c2])) {
- p_private->lsn += *((uint32_t*)&p_private->buf[0x1c6]) / 4;
- if (iso9660_iso_seek_read(p_private->p_iso, p_private->buf, p_private->lsn, ISO_NB_BLOCKS) != ISO_NB_BLOCKS * ISO_BLOCKSIZE) {
- uprintf("Error reading ISO-9660 file %s at LSN %lu", img_report.efi_img_path, (long unsigned int)p_private->lsn);
- goto out;
- }
- }
lf_fs = libfat_open(iso9660_readfat, (intptr_t)p_private);
if (lf_fs == NULL) {
uprintf("FAT access error");
@@ -2004,7 +1887,7 @@ BOOL DumpFatDir(void* iso, const char* path, int32_t cluster)
uprintf("Could not create directory '%s': %s", target, WindowsErrorString());
continue;
}
- if (!DumpFatDir(p_iso, target, dirpos.cluster))
+ if (!DumpFatDir(target, dirpos.cluster))
goto out;
} else if (!PathFileExistsU(target)) {
// Need to figure out if it's a .conf file (Damn you Solus!!)
@@ -2056,7 +1939,8 @@ out:
libfat_close(lf_fs);
lf_fs = NULL;
}
- iso9660_stat_free(p_statbuf);
+ iso9660_stat_free(p_statbuf);;
+ iso9660_close(p_iso);
safe_free(p_private);
}
safe_closehandle(handle);
@@ -2065,7 +1949,8 @@ out:
return ret;
}
-static DWORD WINAPI OpticalDiscSaveImageThread(void* param)
+// TODO: If we can't get save to ISO from virtdisk, we might as well drop this
+static DWORD WINAPI IsoSaveImageThread(void* param)
{
BOOL s;
DWORD rSize, wSize;
@@ -2090,7 +1975,7 @@ static DWORD WINAPI OpticalDiscSaveImageThread(void* param)
// In case someone poked the disc before us
li.QuadPart = 0;
if (!SetFilePointerEx(hPhysicalDrive, li, NULL, FILE_BEGIN))
- uprintf("WARNING: Unable to rewind device position - wrong data might be copied!");
+ uprintf("Warning: Unable to rewind device position - wrong data might be copied!");
hDestImage = CreateFileU(img_save->ImagePath, GENERIC_WRITE, FILE_SHARE_WRITE, NULL,
CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if (hDestImage == INVALID_HANDLE_VALUE) {
@@ -2117,7 +2002,7 @@ static DWORD WINAPI OpticalDiscSaveImageThread(void* param)
// Optical drives do not appear to increment the sectors to read automatically
li.QuadPart = wb;
if (!SetFilePointerEx(hPhysicalDrive, li, NULL, FILE_BEGIN))
- uprintf("WARNING: Unable to set device position - wrong data might be copied!");
+ uprintf("Warning: Unable to set device position - wrong data might be copied!");
s = ReadFile(hPhysicalDrive, buffer,
(DWORD)MIN(img_save->BufSize, img_save->DeviceSize - wb), &rSize, NULL);
if (!s) {
@@ -2171,7 +2056,7 @@ out:
ExitThread(0);
}
-void OpticalDiscSaveImage(void)
+void IsoSaveImage(void)
{
static IMG_SAVE img_save = { 0 };
char filename[33] = "disc_image.iso";
@@ -2202,7 +2087,7 @@ void OpticalDiscSaveImage(void)
// Disable all controls except cancel
EnableControls(FALSE, FALSE);
InitProgress(TRUE);
- format_thread = CreateThread(NULL, 0, OpticalDiscSaveImageThread, &img_save, 0, NULL);
+ format_thread = CreateThread(NULL, 0, IsoSaveImageThread, &img_save, 0, NULL);
if (format_thread != NULL) {
uprintf("\r\nSave to ISO operation started");
PrintInfo(0, -1);
@@ -2214,57 +2099,3 @@ void OpticalDiscSaveImage(void)
PostMessage(hMainDialog, UM_FORMAT_COMPLETED, (WPARAM)FALSE, 0);
}
}
-
-// Create an ISO image from the currently selected drive, using oscdimg.exe
-DWORD WINAPI IsoSaveImageThread(void* param)
-{
- DWORD r = ERROR_NOT_FOUND;
- HANDLE exe = INVALID_HANDLE_VALUE;
- IMG_SAVE* img_save = (IMG_SAVE*)param;
- char cmd[2 * KB], letters[27], *label;
-
- if (!GetDriveLabel(SelectedDrive.DeviceNumber, letters, &label, TRUE) || letters[0] == '\0')
- goto out;
-
- // Get a lock and validate that the oscdimg.exe has not been tampered with
- static_sprintf(cmd, "%s\\%s\\oscdimg_%s.exe", app_data_dir, FILES_DIR, APPLICATION_ARCH);
- exe = CreateFileU(cmd, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
- if (exe == INVALID_HANDLE_VALUE) {
- uprintf("ERROR: Could not lock 'oscdimg.exe'");
- r = GetLastError();
- goto out;
- }
- if (!FileMatchesHash(cmd, OSCDIMG_HASH)) {
- uprintf("ERROR: Existing 'oscdimg.exe' hash does not match expected value!");
- r = ERROR_INVALID_IMAGE_HASH;
- goto out;
- }
-
- // UDF labels cannot be more than 32 characters (and if we have more than 32 chars we are
- // using the static modifiable char buffer from GetDriveLabel(), so we can alter it).
- if (strlen(label) > 32)
- label[32] = '\0';
-
- // Save to UDF only, as Microsoft's implementation of ISO-9660 doesn't support multiextent
- // and produces BROKEN images if you try to add files larger than 4 GB.
- // Plus ISO-9660/Joliet limits labels to 16 characters and has issues with long paths.
- static_sprintf(cmd, "\"%s\\%s\\oscdimg_%s.exe\" -g -h -k -l\"%s\" -m -u2 -udfver102 %c:\\ \"%s\"",
- app_data_dir, FILES_DIR, APPLICATION_ARCH, label, letters[0], img_save->ImagePath);
- uprintf("Running command: '%s'", cmd);
- // For detecting typical oscdimg commandline progress report of type: "\r15.5% complete"
- r = RunCommandWithProgress(cmd, sysnative_dir, FALSE, MSG_261, ".*\r([0-9\\.]+)% complete.*");
-
-out:
- safe_closehandle(exe);
- if (r != 0 && !IS_ERROR(ErrorStatus)) {
- SetLastError(r);
- uprintf("Failed to write ISO image: %s", WindowsErrorString());
- ErrorStatus = RUFUS_ERROR(SCODE_CODE(r));
- }
- PostMessage(hMainDialog, UM_FORMAT_COMPLETED, (WPARAM)TRUE, 0);
- if (!IS_ERROR(ErrorStatus))
- uprintf("Saved '%s'", img_save->ImagePath);
- safe_free(img_save->DevicePath);
- safe_free(img_save->ImagePath);
- ExitThread(r);
-}
diff --git a/src/libcdio/cdio/ecma_167.h b/src/libcdio/cdio/ecma_167.h
index 275224d8..81a12209 100644
--- a/src/libcdio/cdio/ecma_167.h
+++ b/src/libcdio/cdio/ecma_167.h
@@ -1,5 +1,5 @@
-/*
- Copyright (c) 2005, 2006, 2008, 2012, 2024 Rocky Bernstein
+/*
+ Copyright (c) 2005, 2006, 2008, 2012 Rocky Bernstein
Copyright (c) 2001-2002 Ben Fennema
This program is free software: you can redistribute it and/or modify
@@ -59,7 +59,7 @@
distinct values of an enum.
*/
typedef enum {
- VSD_STD_ID_SIZE = 5, /** Volume Structure Descriptor (ECMA 167r3
+ VSD_STD_ID_SIZE = 5, /** Volume Structure Descriptor (ECMA 167r3
2/9.1) */
UDF_REGID_ID_SIZE = 23, /**< See identifier (ECMA 167r3 1/7.4) */
UDF_VOLID_SIZE = 32,
@@ -105,7 +105,7 @@ typedef enum {
CHARSPEC_TYPE_CS8 = 0x08, /**< Section 1/7.2.10 */
} udf_charspec_enum_t;
-
+
typedef uint8_t udf_Uint8_t; /*! Section 1/7/1.1 */
typedef uint16_t udf_Uint16_t; /*! Section 1/7.1.3 */
typedef uint32_t udf_Uint32_t; /*! Section 1/7.1.5 */
@@ -142,12 +142,12 @@ struct udf_timestamp_s
typedef struct udf_timestamp_s udf_timestamp_t;
-/** Type and Time Zone (ECMA 167r3 1/7.3.1)
+/** Type and Time Zone (ECMA 167r3 1/7.3.1)
Imagine the below enum values as \#define'd values rather than
distinct values of an enum.
*/
-typedef enum {
+typedef enum {
TIMESTAMP_TYPE_CUT = 0x0000,
TIMESTAMP_TYPE_LOCAL = 0x1000,
TIMESTAMP_TYPE_AGREEMENT = 0x2000,
@@ -213,7 +213,7 @@ extern const char VSD_STD_ID_TEA01[sizeof("TEA01")-1];
#define VSD_STD_ID_BOOT2 "BOOT2" /**< ECMA-167 2/9.4 */
#define VSD_STD_ID_CD001 "CD001" /**< ECMA-119 */
#define VSD_STD_ID_CDW02 "CDW02" /**< ECMA-168 */
-#define VSD_STD_ID_NSR02 "NSR02" /**< ECMA-167, 3/9.1
+#define VSD_STD_ID_NSR02 "NSR02" /**< ECMA-167, 3/9.1
NOTE: ECMA-167, 2nd edition */
#define VSD_STD_ID_NSR03 "NSR03" /**< ECMA-167 3/9.1 */
#define VSD_STD_ID_TEA01 "TEA01" /**< ECMA-168 2/9.3 */
@@ -469,7 +469,7 @@ struct generic_partition_map1
struct generic_partition_map2
{
udf_Uint8_t partition_map_type;
- udf_Uint8_t partition_map_length;
+ udf_Uint8_t partition_map_length;
udf_Uint8_t partition_id[62];
} GNUC_PACKED;
@@ -478,7 +478,7 @@ struct unalloc_space_desc_s
{
udf_tag_t tag;
udf_Uint32_t vol_desc_seq_num;
- udf_Uint32_t u_alloc_descs;
+ udf_Uint32_t i_alloc_descs;
udf_extent_ad_t allocDescs[0];
} GNUC_PACKED;
@@ -605,7 +605,7 @@ struct udf_fileid_desc_s
typedef struct udf_fileid_desc_s udf_fileid_desc_t;
-/** File Characteristics (ECMA 167r3 4/14.4.3)
+/** File Characteristics (ECMA 167r3 4/14.4.3)
Imagine the below enumeration values are \#defines to be used in a
bitmask rather than distinct values of an enum.
@@ -623,7 +623,7 @@ struct allocExtDesc
{
udf_tag_t tag;
udf_Uint32_t previous_alloc_ext_loc;
- udf_Uint32_t u_alloc_descs;
+ udf_Uint32_t i_alloc_descs;
} GNUC_PACKED;
/** ICB Tag (ECMA 167r3 4/14.6) */
@@ -647,7 +647,7 @@ typedef struct udf_icbtag_s udf_icbtag_t;
/** Strategy Type (ECMA 167r3 4/14.6.2) which helpfully points
largely to 4/A.x */
-#define ICBTAG_STRATEGY_TYPE_UNDEF 0x0000
+#define ICBTAG_STRATEGY_TYPE_UNDEF 0x0000
#define ICBTAG_STRATEGY_TYPE_1 0x0001 /**< 4/A.2 Direct entries Uint16 */
#define ICBTAG_STRATEGY_TYPE_2 0x0002 /**< 4/A.3 List of ICB direct entries */
#define ICBTAG_STRATEGY_TYPE_3 0x0003 /**< 4/A.4 */
@@ -656,7 +656,7 @@ typedef struct udf_icbtag_s udf_icbtag_t;
This is what's most often used.
*/
-/** File Type (ECMA 167r3 4/14.6.6)
+/** File Type (ECMA 167r3 4/14.6.6)
Imagine the below enum values as \#define'd values rather than
distinct values of an enum.
@@ -711,7 +711,7 @@ typedef enum {
ICBTAG_FLAG_MULTIVERSIONS = 0x1000,
ICBTAG_FLAG_STREAM = 0x2000
} icbtag_flag_enum_t;
-
+
/** Indirect Entry (ECMA 167r3 4/14.7) */
struct indirect_entry_s
{
@@ -730,30 +730,30 @@ struct terminal_entry_s
/** File Entry (ECMA 167r3 4/14.9) */
struct udf_file_entry_s
{
- udf_tag_t tag;
+ udf_tag_t tag;
udf_icbtag_t icb_tag; /**< 4/14.9.2 */
udf_Uint32_t uid; /**< 4/14.9.3 */
udf_Uint32_t gid; /**< 4/14.9.4 */
udf_Uint32_t permissions; /**< 4/14.9.5 */
udf_Uint16_t link_count; /**< 4/14.9.6 */
- udf_Uint8_t rec_format; /**< 4/14.9.7 */
+ udf_Uint8_t rec_format; /**< 4/14.9.7 */
udf_Uint8_t rec_disp_attr; /**< 4/14.9.8 */
udf_Uint32_t rec_len; /**< 4/14.9.9 */
udf_Uint64_t info_len; /**< 4/14.9.10 */
udf_Uint64_t logblks_recorded; /**< 4/14.9.11 */
- udf_timestamp_t access_time; /**< 4/14.9.12 - last access to
- any stream of file prior to
+ udf_timestamp_t access_time; /**< 4/14.9.12 - last access to
+ any stream of file prior to
recording file entry */
- udf_timestamp_t modification_time; /**< 4/14.9.13 - last access to
- modification to any stream of
+ udf_timestamp_t modification_time; /**< 4/14.9.13 - last access to
+ modification to any stream of
file */
udf_timestamp_t attribute_time;
udf_Uint32_t checkpoint;
udf_long_ad_t ext_attr_ICB;
udf_regid_t imp_id;
udf_Uint64_t unique_ID;
- udf_Uint32_t u_extended_attr;
- udf_Uint32_t u_alloc_descs;
+ udf_Uint32_t i_extended_attr;
+ udf_Uint32_t i_alloc_descs;
/* The following union allows file entry reuse without worrying
about overflows, by ensuring the struct is always the
maximum possible size allowed by the specs: one UDF block. */
@@ -969,7 +969,7 @@ struct partitionIntegrityEntry
/** Extended Allocation Descriptor (ECMA 167r3 4/14.14.3) */
/** Logical Volume Header Descriptor (ECMA 167r3 4/14.15) */
-struct logical_vol_header_desc_s
+struct logical_vol_header_desc_s
{
udf_Uint64_t uniqueID;
udf_Uint8_t reserved[24];
@@ -1001,14 +1001,14 @@ struct extended_file_entry
udf_Uint64_t info_len; /**< 4/14.17.10 & 4/14.9.10 */
udf_Uint64_t object_size; /**< 4/14.17.11 */
udf_Uint64_t logblks_recorded; /**< 4/14.17.12 & 4/14.9.11 */
- udf_timestamp_t access_time; /**< 4/14.17.13 & 4/14.9.12 - last
+ udf_timestamp_t access_time; /**< 4/14.17.13 & 4/14.9.12 - last
access to any stream of file */
udf_timestamp_t modification_time; /**< 4/14.17.14 & 4/14.9.13 - last
- modification to any stream of
+ modification to any stream of
file*/
udf_timestamp_t create_time; /**< 4/14.17.15 */
- udf_timestamp_t attribute_time; /**< 4/14.17.16 & 4/14.9.14 -
- most recent create or modify
+ udf_timestamp_t attribute_time; /**< 4/14.17.16 & 4/14.9.14 -
+ most recent create or modify
time */
udf_Uint32_t checkpoint;
udf_Uint32_t reserved; /**< #00 bytes */
@@ -1038,5 +1038,5 @@ extern icbtag_file_type_enum_t debug_icbtag_file_type_enum;
extern icbtag_flag_enum_t debug_flag_enum;
extern ecma_167_enum1_t debug_ecma_167_enum1;
extern ecma_167_timezone_enum_t debug_ecma_167_timezone_enum;
-
+
#endif /* CDIO_ECMA_167_H */
diff --git a/src/libcdio/cdio/iso9660.h b/src/libcdio/cdio/iso9660.h
index a9d9ea54..46115470 100644
--- a/src/libcdio/cdio/iso9660.h
+++ b/src/libcdio/cdio/iso9660.h
@@ -940,13 +940,12 @@ iso9660_dir_calc_record_size (unsigned int namelen, unsigned int su_len);
lsn and return information about it.
@param p_cdio the CD object to read from
- @param i_lsn an lsn to find
@return stat_t of entry if we found lsn, or NULL otherwise.
Caller must free return value using iso9660_stat_free().
*/
+#define iso9660_fs_find_lsn iso9660_find_fs_lsn
iso9660_stat_t *iso9660_fs_find_lsn(CdIo_t *p_cdio, lsn_t i_lsn);
-iso9660_stat_t *iso9660_find_fs_lsn(CdIo_t *p_cdio, lsn_t i_lsn);
/*!
diff --git a/src/libcdio/cdio/types.h b/src/libcdio/cdio/types.h
index 40f07229..dc0f90cf 100644
--- a/src/libcdio/cdio/types.h
+++ b/src/libcdio/cdio/types.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2002-2008, 2012, 2017, 2019, 2024
+ Copyright (C) 2002-2008, 2012, 2017 2019
Rocky Bernstein
Copyright (C) 2000 Herbert Valerio Riedel
@@ -31,8 +31,6 @@ extern "C" {
# include
#endif /* __cplusplus */
-#include
-
/* If is not available on your platform please
contact the libcdio mailing list so that we can fix it! */
#if !defined(ARE_THERE_STILL_ENVS_WITHOUT_SYS_TYPES)
@@ -132,9 +130,6 @@ typedef uint8_t ubyte;
#define GNUC_CONST
#define GNUC_UNUSED
#define GNUC_PACKED
-#ifdef _MSC_VER
-#define __PRETTY_FUNCTION__ __FUNCSIG__
-#endif
#endif /* !__GNUC__ */
#if defined(__MINGW32__) || (defined( __clang_major__) && __clang_major__ > 9)
@@ -164,6 +159,10 @@ typedef uint8_t ubyte;
#else
# define GNUC_LIKELY(x) (x)
# define GNUC_UNLIKELY(x) (x)
+#endif
+
+#ifndef NULL
+# define NULL ((void*) 0)
#endif
/** Provide a notice for deprecated elements. Before gcc 4.5 'deprecated'
diff --git a/src/libcdio/cdio/udf.h b/src/libcdio/cdio/udf.h
index a5c6278f..21cdec4e 100644
--- a/src/libcdio/cdio/udf.h
+++ b/src/libcdio/cdio/udf.h
@@ -190,15 +190,6 @@ extern "C" {
bool udf_get_lba(const udf_file_entry_t *p_udf_fe,
/*out*/ uint32_t *start, /*out*/ uint32_t *end);
- /**
- * Seek to a specific offset in a UDF file.
- * The offset *must* be a multiple of UDF_BLOCKSIZE.
- * Returns true if the position was successfully changed, or false on
- * any error condition (such as offset out of range or not aligned to
- * UDF_BLOCKSIZE).
- */
- bool udf_setpos(udf_dirent_t* p_udf_dirent, off_t offset);
-
#ifdef __cplusplus
}
#endif /* __cplusplus */
diff --git a/src/libcdio/cdio/version.h b/src/libcdio/cdio/version.h
index ab25158d..fd72ae05 100644
--- a/src/libcdio/cdio/version.h
+++ b/src/libcdio/cdio/version.h
@@ -1,19 +1,19 @@
/** \file version.h
*
* \brief A file containing the libcdio package version
- * number (20201) and OS build name.
+ * number (20000) and OS build name.
*/
/*! CDIO_VERSION is a C-Preprocessor macro of a string that shows what
version is used. cdio_version_string has the same value, but it is a
constant variable that can be accessed at run time. */
-#define CDIO_VERSION "2.2.1 (Rufus)"
+#define CDIO_VERSION "2.1.0 (Rufus)"
extern const char *cdio_version_string; /**< = CDIO_VERSION */
/*! LIBCDIO_VERSION_NUM is a C-Preprocessor macro that can be used for
testing in the C preprocessor. libcdio_version_num has the same
value, but it is a constant variable that can be accessed at run
time. */
-#define LIBCDIO_VERSION_NUM 20201
+#define LIBCDIO_VERSION_NUM 20000
extern const unsigned int libcdio_version_num; /**< = LIBCDIO_VERSION_NUM */
diff --git a/src/libcdio/config.h b/src/libcdio/config.h
index 1831706b..b0ee3c99 100644
--- a/src/libcdio/config.h
+++ b/src/libcdio/config.h
@@ -39,14 +39,11 @@
/* Define to 1 if you have the `fseeko64' function. */
#define HAVE_FSEEKO64 1
-
-#if defined(_MSC_VER)
/* The equivalent of fseeko64 for MSVC is _fseeki64 */
#define fseeko64 _fseeki64
-#endif
/* Define to 1 if you have the `ftruncate' function. */
-#define HAVE_FTRUNCATE 1
+/* #undef HAVE_FTRUNCATE */
/* Define if you have the iconv() function and it works. */
/* #undef HAVE_ICONV */
diff --git a/src/libcdio/driver/_cdio_stdio.c b/src/libcdio/driver/_cdio_stdio.c
index 07f411f6..1d46b156 100644
--- a/src/libcdio/driver/_cdio_stdio.c
+++ b/src/libcdio/driver/_cdio_stdio.c
@@ -210,13 +210,6 @@ _stdio_read(void *user_data, void *buf, size_t count)
_UserData *const ud = user_data;
long read_count;
- // Define a max buffer size of 1 GB for _stdio_read
- const size_t MAX_ALLOWED_COUNT = 0x40000000;
- if (count > MAX_ALLOWED_COUNT) {
- cdio_error("Requested count exceeds maximum allowed value.\n");
- return 0;
- }
-
read_count = fread(buf, 1, count, ud->fd);
if (read_count != count)
diff --git a/src/libcdio/driver/logging.c b/src/libcdio/driver/logging.c
index ab3fd2be..b89ab37a 100644
--- a/src/libcdio/driver/logging.c
+++ b/src/libcdio/driver/logging.c
@@ -120,8 +120,7 @@ cdio_logv(cdio_log_level_t level, const char format[], va_list args)
vsnprintf(buf, sizeof(buf)-1, format, args);
- if (_handler)
- _handler(level, buf);
+ _handler(level, buf);
in_recursion = 0;
}
diff --git a/src/libcdio/driver/track.c b/src/libcdio/driver/track.c
index 20f60a39..a5906921 100644
--- a/src/libcdio/driver/track.c
+++ b/src/libcdio/driver/track.c
@@ -178,7 +178,6 @@ cdio_get_track(const CdIo_t *p_cdio, lsn_t lsn)
{
track_t i_low_track = cdio_get_first_track_num(p_cdio);
- // coverity[overflow_const]
track_t i_high_track = cdio_get_last_track_num(p_cdio)+1;
track_t i_lead_track = i_high_track;
diff --git a/src/libcdio/driver/utf8.c b/src/libcdio/driver/utf8.c
index 469a5bb5..d9a9a573 100644
--- a/src/libcdio/driver/utf8.c
+++ b/src/libcdio/driver/utf8.c
@@ -288,7 +288,7 @@ bool cdio_charset_from_utf8(cdio_utf8_t * src, char ** dst,
wchar_t* le_dst;
size_t i, len;
- if (src == NULL || dst == NULL || dst_len == NULL || dst_charset == NULL || strcmp(dst_charset, "UCS-2BE") != 0)
+ if (src == NULL || dst == NULL || dst_len == NULL || dst_charset == NULL || strcmp(dst_charset, "UTF-8") != 0)
return false;
/* Eliminate empty strings */
@@ -314,83 +314,37 @@ bool cdio_charset_from_utf8(cdio_utf8_t * src, char ** dst,
bool cdio_charset_to_utf8(const char *src, size_t src_len, cdio_utf8_t **dst,
const char *src_charset)
{
- int codepage = 0;
- wchar_t* wstr = NULL;
- int i, size = 0;
+ wchar_t* le_src;
+ int i;
- if (src == NULL || dst == NULL || src_charset == NULL)
+ if (src == NULL || dst == NULL || src_charset == NULL || strcmp(src_charset, "UCS-2BE") != 0)
return false;
- if (strcmp(src_charset, "UCS-2BE") == 0) {
- codepage = -1;
- } else if (strcmp(src_charset, "ASCII") == 0 || strcmp(src_charset, "ISO-8859-1") == 0) {
- codepage = 28591;
- } else if (strcmp(src_charset, "SHIFT_JIS") == 0) {
- codepage = 932;
+ /* Compute UCS-2 src length */
+ if (src_len == (size_t)-1) {
+ for (src_len = 0; ((uint16_t*)src)[src_len] !=0; src_len++);
} else {
- cdio_warn("Conversion from %s to UTF-8 is not implemented", src_charset);
+ src_len >>=1;
+ }
+
+ /* Eliminate empty strings */
+ if ((src_len < 1) || ((src[0] == 0) && (src[1] == 0))) {
+ *dst = NULL;
return false;
}
- switch (codepage) {
- case -1: /* Convert big endian to little endian */
- /* Compute UCS-2 src length */
- if (src_len == (size_t)-1) {
- for (src_len = 0; ((uint16_t*)src)[src_len] !=0; src_len++);
- } else {
- src_len >>=1;
- }
-
- /* Eliminate empty strings */
- if ((src_len < 1) || ((src[0] == 0) && (src[1] == 0))) {
- *dst = NULL;
- return false;
- }
-
- /* Perform byte reversal */
- wstr = (wchar_t*)calloc(src_len+1, sizeof(wchar_t));
- cdio_assert(wstr != NULL);
- for (i=0; iLT_FIELD, sizeof(p_ldate->LT_FIELD)); \
num[sizeof(p_ldate->LT_FIELD)] = '\0'; \
errno = 0; \
- tmp = strtol(num, (char **)NULL, 10); \
- if ( tmp == LONG_MIN || tmp == LONG_MAX || \
- (uint64_t)tmp + ADD_CONSTANT >= (uint64_t)LONG_MAX || \
- (uint64_t)tmp + ADD_CONSTANT <= (uint64_t)LONG_MIN ) \
+ tmp = strtol(num, \
+ (char **)NULL, 10); \
+ if ( tmp < INT_MIN || tmp > INT_MAX || \
+ ((unsigned long)tmp + ADD_CONSTANT) > INT_MAX || \
+ (tmp + ADD_CONSTANT) < INT_MIN ) \
return false; \
p_tm->TM_FIELD = tmp + ADD_CONSTANT; \
}
@@ -380,7 +381,7 @@ iso9660_set_ltime_with_timezone(const struct tm *p_tm,
if (!p_tm) return;
-#if defined(__GNUC__) && !defined(__DARWIN_C_ANSI)
+#if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wformat-truncation"
#endif
snprintf(_pvd_date, 17,
@@ -752,7 +753,6 @@ iso9660_dir_add_entry_su(void *dir,
unsigned int ofs_last_rec = 0;
offset = 0;
- // coverity[tainted_data]
while (offset < dsize)
{
if (!dir8[offset])
diff --git a/src/libcdio/iso9660/iso9660_fs.c b/src/libcdio/iso9660/iso9660_fs.c
index 6abde7da..513d8489 100644
--- a/src/libcdio/iso9660/iso9660_fs.c
+++ b/src/libcdio/iso9660/iso9660_fs.c
@@ -63,10 +63,6 @@
/* Maximum number of El-Torito boot images we keep an index for */
#define MAX_BOOT_IMAGES 8
-/* El-Torito media types, similar to what 7-zip uses in Archive/Iso/IsoIn.cpp */
-static const char* const eltorito_media_name[] =
-{ "NoEmul", "1.2M", "1.44M", "2.88M", "HardDisk" };
-
/** Implementation of iso9660_t type */
struct _iso9660_s {
cdio_header_t header; /**< Internal header - MUST come first. */
@@ -92,7 +88,6 @@ struct _iso9660_s {
M2RAW_SECTOR_SIZE (2336).
*/
struct {
- uint8_t type; /**< Type of El-Torito bootable image */
uint32_t lsn; /**< Start LSN of an El-Torito bootable image */
uint32_t num_sectors; /**< Number of virtual sectors occupied by the
bootable image */
@@ -257,7 +252,7 @@ iso9660_open_ext (const char *psz_path,
contained in a file format that libiso9660 doesn't know natively
(or knows imperfectly.)
- Some tolerance allowed for positioning the ISO 9660 image. We scan
+ Some tolerence allowed for positioning the ISO 9660 image. We scan
for STANDARD_ID and use that to set the eventual offset to adjust
by (as long as that is <= i_fuzz).
@@ -272,7 +267,7 @@ iso9660_open_fuzzy (const char *psz_path, uint16_t i_fuzz /*, mode*/)
}
/*!
- Open an ISO 9660 image for reading with some tolerance for positioning
+ Open an ISO 9660 image for reading with some tolerence for positioning
of the ISO9660 image. We scan for ISO_STANDARD_ID and use that to set
the eventual offset to adjust by (as long as that is <= i_fuzz).
@@ -346,7 +341,7 @@ get_member_id(iso9660_t *p_iso, cdio_utf8_t **p_psz_member_id,
}
#ifdef HAVE_JOLIET
if (p_iso->u_joliet_level) {
- /* Translate UCS-2 string from Secondary Volume Descriptor */
+ /* Translate USC-2 string from Secondary Volume Descriptor */
if (cdio_charset_to_utf8(svd_member, max_size,
p_psz_member_id, "UCS-2BE")) {
/* NB: *p_psz_member_id is never NULL on success. */
@@ -442,7 +437,7 @@ bool iso9660_ifs_get_publisher_id(iso9660_t *p_iso,
}
/*!
- Return a string containing the PVD's system id with trailing
+ Return a string containing the PVD's publisher id with trailing
blanks removed.
*/
bool iso9660_ifs_get_system_id(iso9660_t *p_iso,
@@ -455,7 +450,7 @@ bool iso9660_ifs_get_system_id(iso9660_t *p_iso,
}
/*!
- Return a string containing the PVD's volume id with trailing
+ Return a string containing the PVD's publisher id with trailing
blanks removed.
*/
bool iso9660_ifs_get_volume_id(iso9660_t *p_iso,
@@ -468,7 +463,7 @@ bool iso9660_ifs_get_volume_id(iso9660_t *p_iso,
}
/*!
- Return a string containing the PVD's volumeset id with trailing
+ Return a string containing the PVD's publisher id with trailing
blanks removed.
*/
bool iso9660_ifs_get_volumeset_id(iso9660_t *p_iso,
@@ -527,7 +522,7 @@ iso9660_ifs_read_superblock (iso9660_t *p_iso,
p_iso->u_joliet_level = 0;
- /* There may be multiple Secondary Volume Descriptors (e.g. El Torito + Joliet) */
+ /* There may be multiple Secondary Volume Descriptors (eg. El Torito + Joliet) */
for (i=1; (0 != iso9660_iso_seek_read (p_iso, &p_svd, ISO_PVD_SECTOR+i, 1)); i++) {
if (ISO_VD_END == from_711(p_svd.type) ) /* Last SVD */
break;
@@ -542,8 +537,7 @@ iso9660_ifs_read_superblock (iso9660_t *p_iso,
for (j = 0, k = 0;
j < (ISO_BLOCKSIZE / sizeof(iso9660_br_t)) && k < MAX_BOOT_IMAGES;
j++) {
- if (br[j].boot_id == 0x88 && (br[j].media_type & 0x0F) <= 4) {
- p_iso->boot_img[k].type = br[j].media_type & 0x0F;
+ if (br[j].boot_id == 0x88 && br[j].media_type == 0) {
p_iso->boot_img[k].lsn = uint32_from_le(br[j].image_lsn);
p_iso->boot_img[k++].num_sectors = uint16_from_le(br[j].num_sectors);
}
@@ -565,14 +559,12 @@ iso9660_ifs_read_superblock (iso9660_t *p_iso,
next_lsn = p_iso->boot_img[k].lsn;
}
/* If the image has a sector size of 0 or 1 and theres' more than */
- /* 0x1000 sectors (8 MB) to the next LSN, assume it needs expansion. */
+ /* 0xffff sectors to the next LSN, assume it needs expansion. */
if (p_iso->boot_img[j].num_sectors <= 1 &&
- (next_lsn - p_iso->boot_img[j].lsn) >= 0x1000) {
+ (next_lsn - p_iso->boot_img[j].lsn) >= 0x4000) {
p_iso->boot_img[j].num_sectors =
- (next_lsn - p_iso->boot_img[j].lsn) * 4;
- cdio_warn("Auto-expanding the size of %d-Boot-%s.img to %d KB",
- j, eltorito_media_name[p_iso->boot_img[j].type],
- (next_lsn - p_iso->boot_img[j].lsn) * 2);
+ (next_lsn - p_iso->boot_img[j].lsn) * 4;
+ cdio_warn("Auto-expanding the size of %d-Boot-NoEmul.img", j);
}
}
}
@@ -999,7 +991,7 @@ _iso9660_dir_to_statbuf (iso9660_dir_t *p_iso9660_dir,
if (i_rr_fname > 0) {
if (i_rr_fname > i_fname) {
- /* realloc gives Valgrind errors */
+ /* realloc gives valgrind errors */
iso9660_stat_t *p_stat_new =
calloc(1, sizeof(iso9660_stat_t)+i_rr_fname+2);
if (!p_stat_new) {
@@ -1132,7 +1124,7 @@ _fs_stat_root (CdIo_t *p_cdio)
if (!p_env->u_joliet_level)
iso_extension_mask &= ~ISO_EXTENSION_JOLIET;
- /* FIXME: try also with Joliet.*/
+ /* FIXME try also with Joliet.*/
if ( !iso9660_fs_read_superblock (p_cdio, iso_extension_mask) ) {
cdio_warn("Could not read ISO-9660 Superblock.");
return NULL;
@@ -1280,9 +1272,11 @@ _fs_stat_traverse (const CdIo_t *p_cdio, const iso9660_stat_t *_root,
return ret_stat;
}
-skip_to_next_record:
iso9660_stat_free(p_iso9660_stat);
p_iso9660_stat = NULL;
+
+skip_to_next_record:;
+
offset += iso9660_get_dir_len(p_iso9660_dir);
}
@@ -1393,7 +1387,6 @@ _fs_iso_stat_traverse (iso9660_t *p_iso, const iso9660_stat_t *_root,
cdio_assert (offset == (blocks * ISO_BLOCKSIZE));
/* not found */
- iso9660_stat_free(p_stat);
free (_dirbuf);
return NULL;
}
@@ -1446,7 +1439,7 @@ typedef iso9660_stat_t * (stat_traverse_t)
Get file status for psz_path into stat. NULL is returned on error.
pathname version numbers in the ISO 9660
name are dropped, i.e. ;1 is removed and if level 1 ISO-9660 names
- are downcased.
+ are lowercased.
*/
static iso9660_stat_t *
fs_stat_translate (void *p_image, stat_root_t stat_root,
@@ -1474,7 +1467,7 @@ fs_stat_translate (void *p_image, stat_root_t stat_root,
/*!
Return file status for path name psz_path. NULL is returned on error.
pathname version numbers in the ISO 9660 name are dropped, i.e. ;1
- is removed and if level 1 ISO-9660 names are downcased.
+ is removed and if level 1 ISO-9660 names are lowercased.
@param p_cdio the CD object to read from
@@ -1499,22 +1492,21 @@ iso9660_fs_stat_translate (CdIo_t *p_cdio, const char psz_path[])
@return file status for path name psz_path. NULL is returned on
error. pathname version numbers in the ISO 9660 name are dropped,
- i.e. ;1 is removed and if level 1 ISO-9660 names are downcased.
+ i.e. ;1 is removed and if level 1 ISO-9660 names are lowercased.
The caller must free the returned result using iso9660_stat_free().
*/
iso9660_stat_t *
iso9660_ifs_stat_translate (iso9660_t *p_iso, const char psz_path[])
{
- /* Special case for virtual El-Torito boot images ('/[BOOT]/#-Boot-######.img') */
+ /* Special case for virtual El-Torito boot images ('/[BOOT]/#-Boot-NoEmul.img') */
if (psz_path && p_iso && p_iso->boot_img[0].lsn != 0) {
/* Work on a path without leading slash */
const char* path = (psz_path[0] == '/') ? &psz_path[1] : psz_path;
if ((_cdio_strnicmp(path, "[BOOT]/", 7) == 0) &&
- (_cdio_strnicmp(&path[8], "-Boot-", 6) == 0) &&
- (_cdio_strnicmp(&path[strlen(path) - 4], ".img", 4) == 0)) {
+ (_cdio_stricmp(&path[8], "-Boot-NoEmul.img") == 0)) {
int index = path[7] - '0';
iso9660_stat_t* p_stat;
- if (strlen(path) < 20)
+ if (strlen(path) < 24)
return NULL;
cdio_assert(MAX_BOOT_IMAGES <= 10);
if ((path[7] < '0') || (path[7] > '0' + MAX_BOOT_IMAGES - 1))
@@ -1589,12 +1581,6 @@ iso9660_fs_readdir (CdIo_t *p_cdio, const char psz_path[])
iso9660_stat_t *p_iso9660_stat = NULL;
iso9660_stat_t *p_stat;
- unsigned offset = 0;
- uint8_t *_dirbuf = NULL;
- uint64_t blocks;
- CdioISO9660DirList_t *retval;
- bool skip_following_extents = false;
-
if (!p_cdio) return NULL;
if (!psz_path) return NULL;
@@ -1608,77 +1594,64 @@ iso9660_fs_readdir (CdIo_t *p_cdio, const char psz_path[])
return NULL;
}
- /* Check for overflow on 32-bit systems.
- uint32_t has a limited maximum value, and if p_stat->total_size (the total
- size of the directory) is very large, the calculation might exceed this limit.
- */
- if (p_stat->total_size > SIZE_MAX / ISO_BLOCKSIZE) {
- cdio_warn("Total size is too large");
- iso9660_stat_free(p_stat);
- return NULL;
- }
+ {
+ unsigned offset = 0;
+ uint8_t *_dirbuf = NULL;
+ uint32_t blocks = CDIO_EXTENT_BLOCKS(p_stat->total_size);
+ CdioISO9660DirList_t *retval = _cdio_list_new ();
+ bool skip_following_extents = false;
- blocks = CDIO_EXTENT_BLOCKS(p_stat->total_size);
- retval = _cdio_list_new ();
+ _dirbuf = calloc(1, blocks * ISO_BLOCKSIZE);
+ if (!_dirbuf)
+ {
+ cdio_warn("Couldn't calloc(1, %d)", blocks * ISO_BLOCKSIZE);
+ iso9660_stat_free(p_stat);
+ iso9660_dirlist_free(retval);
+ return NULL;
+ }
- /* Check for potential integer overflow when calculating total blocks */
- if (blocks > (SIZE_MAX / ISO_BLOCKSIZE)) {
- cdio_warn("Total size is too large");
- iso9660_stat_free(p_stat);
- return NULL;
- }
-
- _dirbuf = calloc(1, blocks * ISO_BLOCKSIZE);
- if (!_dirbuf)
- {
- cdio_warn("Couldn't calloc(1, %lld)", blocks * ISO_BLOCKSIZE);
+ if (cdio_read_data_sectors (p_cdio, _dirbuf, p_stat->lsn,
+ ISO_BLOCKSIZE, blocks)) {
iso9660_stat_free(p_stat);
iso9660_dirlist_free(retval);
return NULL;
}
- if (cdio_read_data_sectors (p_cdio, _dirbuf, p_stat->lsn,
- ISO_BLOCKSIZE, blocks)) {
+ while (offset < (blocks * ISO_BLOCKSIZE))
+ {
+ p_iso9660_dir = (void *) &_dirbuf[offset];
+
+ if (iso9660_check_dir_block_end(p_iso9660_dir, &offset))
+ continue;
+
+ if (skip_following_extents) {
+ /* Do not register remaining extents of ill file */
+ p_iso9660_stat = NULL;
+ } else {
+ p_iso9660_stat = _iso9660_dir_to_statbuf(p_iso9660_dir,
+ p_iso9660_stat, p_cdio,
+ dunno, p_env->u_joliet_level);
+ if (NULL == p_iso9660_stat)
+ skip_following_extents = true; /* Start ill file mode */
+ }
+ if ((p_iso9660_dir->file_flags & ISO_MULTIEXTENT) == 0)
+ skip_following_extents = false; /* Ill or not: The file ends now */
+
+ if ((p_iso9660_stat) &&
+ ((p_iso9660_dir->file_flags & ISO_MULTIEXTENT) == 0)) {
+ _cdio_list_append (retval, p_iso9660_stat);
+ p_iso9660_stat = NULL;
+ }
+
+ offset += iso9660_get_dir_len(p_iso9660_dir);
+ }
+
+ cdio_assert (offset == (blocks * ISO_BLOCKSIZE));
+
+ free(_dirbuf);
iso9660_stat_free(p_stat);
- iso9660_dirlist_free(retval);
- return NULL;
+ return retval;
}
-
- while (offset < (blocks * ISO_BLOCKSIZE))
- {
- p_iso9660_dir = (void *) &_dirbuf[offset];
-
- if (iso9660_check_dir_block_end(p_iso9660_dir, &offset))
- continue;
-
- if (skip_following_extents) {
- /* Do not register remaining extents of ill file */
- p_iso9660_stat = NULL;
- } else {
- p_iso9660_stat = _iso9660_dir_to_statbuf(p_iso9660_dir,
- p_iso9660_stat, p_cdio,
- dunno, p_env->u_joliet_level);
- if (NULL == p_iso9660_stat)
- skip_following_extents = true; /* Start ill file mode */
- }
- if ((p_iso9660_dir->file_flags & ISO_MULTIEXTENT) == 0)
- skip_following_extents = false; /* Ill or not: The file ends now */
-
- if ((p_iso9660_stat) &&
- ((p_iso9660_dir->file_flags & ISO_MULTIEXTENT) == 0)) {
- _cdio_list_append (retval, p_iso9660_stat);
- p_iso9660_stat = NULL;
- }
-
- offset += iso9660_get_dir_len(p_iso9660_dir);
- }
-
- cdio_assert (offset == (blocks * ISO_BLOCKSIZE));
-
- free(_dirbuf);
- iso9660_stat_free(p_stat);
- iso9660_stat_free(p_iso9660_stat);
- return retval;
}
/*!
@@ -1693,14 +1666,6 @@ iso9660_ifs_readdir (iso9660_t *p_iso, const char psz_path[])
iso9660_stat_t *p_iso9660_stat = NULL;
iso9660_stat_t *p_stat;
- long int ret;
- unsigned offset = 0;
- uint8_t *_dirbuf = NULL;
- uint32_t blocks;
- CdioList_t *retval;
- size_t dirbuf_len;
- bool skip_following_extents = false;
-
if (!p_iso) return NULL;
if (!psz_path) return NULL;
@@ -1708,20 +1673,21 @@ iso9660_ifs_readdir (iso9660_t *p_iso, const char psz_path[])
if (p_iso->boot_img[0].lsn != 0) {
const char* path = (psz_path[0] == '/') ? &psz_path[1] : psz_path;
if (_cdio_strnicmp(path, "[BOOT]", 6) == 0 && (path[6] == '\0' || path[6] == '/')) {
- retval = _cdio_list_new();
+ CdioList_t* retval = _cdio_list_new();
for (i = 0; i < MAX_BOOT_IMAGES && p_iso->boot_img[i].lsn != 0; i++) {
- p_iso9660_stat = calloc(1, sizeof(iso9660_stat_t) + 24);
+ p_iso9660_stat = calloc(1, sizeof(iso9660_stat_t) + 18);
if (!p_iso9660_stat) {
- cdio_warn("Couldn't calloc(1, %d)", (int)sizeof(iso9660_stat_t) + 24);
+ cdio_warn("Couldn't calloc(1, %d)", (int)sizeof(iso9660_stat_t) + 18);
break;
}
- snprintf(p_iso9660_stat->filename, 24, "%d-Boot-%s.img", i,
- eltorito_media_name[p_iso->boot_img[i].type]);
+ strcpy(p_iso9660_stat->filename, "#-Boot-NoEmul.img");
+ p_iso9660_stat->filename[0] = '0' + i;
p_iso9660_stat->type = _STAT_FILE;
p_iso9660_stat->lsn = p_iso->boot_img[i].lsn;
p_iso9660_stat->total_size = p_iso->boot_img[i].num_sectors * VIRTUAL_SECTORSIZE;
iso9660_get_ltime(&p_iso->pvd.creation_date, &p_iso9660_stat->tm);
_cdio_list_append(retval, p_iso9660_stat);
+ p_iso9660_stat = NULL;
}
return retval;
}
@@ -1735,99 +1701,97 @@ iso9660_ifs_readdir (iso9660_t *p_iso, const char psz_path[])
return NULL;
}
- /* Check for overflow on 32-bit systems.
- uint32_t has a limited maximum value, and if p_stat->total_size (the total
- size of the directory) is very large, the calculation might exceed this limit.
- */
+ {
+ long int ret;
+ unsigned offset = 0;
+ uint8_t *_dirbuf = NULL;
+ uint32_t blocks = CDIO_EXTENT_BLOCKS(p_stat->total_size);
+ CdioList_t *retval = _cdio_list_new ();
+ const size_t dirbuf_len = blocks * ISO_BLOCKSIZE;
+ bool skip_following_extents = false;
- if (p_stat->total_size > SIZE_MAX / ISO_BLOCKSIZE) {
- cdio_warn("Total size is too large");
- iso9660_stat_free(p_stat);
- return NULL;
- }
-
- blocks = CDIO_EXTENT_BLOCKS(p_stat->total_size);
- dirbuf_len = blocks * ISO_BLOCKSIZE;
- retval = _cdio_list_new ();
-
- /* Add the virtual El-Torito "[BOOT]" directory to root */
- if (p_iso->boot_img[0].lsn != 0) {
- if (psz_path[0] == '\0' || (psz_path[0] == '/' && psz_path[1] == '\0')) {
- p_iso9660_stat = calloc(1, sizeof(iso9660_stat_t) + 7);
- if (p_iso9660_stat) {
- strcpy(p_iso9660_stat->filename, "[BOOT]");
- p_iso9660_stat->type = _STAT_DIR;
- p_iso9660_stat->lsn = ISO_PVD_SECTOR + 1;
- iso9660_get_ltime(&p_iso->pvd.creation_date, &p_iso9660_stat->tm);
- _cdio_list_append(retval, p_iso9660_stat);
- p_iso9660_stat = NULL;
+ /* Add the virtual El-Torito "[BOOT]" directory to root */
+ if (p_iso->boot_img[0].lsn != 0) {
+ if (psz_path[0] == '\0' || (psz_path[0] == '/' && psz_path[1] == '\0')) {
+ p_iso9660_stat = calloc(1, sizeof(iso9660_stat_t) + 7);
+ if (p_iso9660_stat) {
+ strcpy(p_iso9660_stat->filename, "[BOOT]");
+ p_iso9660_stat->type = _STAT_DIR;
+ p_iso9660_stat->lsn = ISO_PVD_SECTOR + 1;
+ iso9660_get_ltime(&p_iso->pvd.creation_date, &p_iso9660_stat->tm);
+ _cdio_list_append(retval, p_iso9660_stat);
+ p_iso9660_stat = NULL;
+ }
}
}
- }
- if (!dirbuf_len)
- {
- cdio_warn("Invalid directory buffer sector size %u", blocks);
- iso9660_stat_free(p_stat);
+ if (!dirbuf_len)
+ {
+ cdio_warn("Invalid directory buffer sector size %u", blocks);
+ iso9660_stat_free(p_stat);
+ _cdio_list_free (retval, true, NULL);
+ return NULL;
+ }
+
+ _dirbuf = calloc(1, dirbuf_len);
+ if (!_dirbuf)
+ {
+ cdio_warn("Couldn't calloc(1, %lu)", (unsigned long)dirbuf_len);
+ iso9660_stat_free(p_stat);
+ _cdio_list_free (retval, true, NULL);
+ return NULL;
+ }
+
+ ret = iso9660_iso_seek_read (p_iso, _dirbuf, p_stat->lsn, blocks);
+ if (ret != dirbuf_len) {
_cdio_list_free (retval, true, NULL);
+ iso9660_stat_free(p_stat);
+ free (_dirbuf);
return NULL;
}
- _dirbuf = calloc(1, dirbuf_len);
- if (!_dirbuf)
- {
- cdio_warn("Couldn't calloc(1, %lu)", (unsigned long)dirbuf_len);
- iso9660_stat_free(p_stat);
- _cdio_list_free (retval, true, NULL);
- return NULL;
- }
+ while (offset < (dirbuf_len))
+ {
+ p_iso9660_dir = (void *) &_dirbuf[offset];
+
+ if (iso9660_check_dir_block_end(p_iso9660_dir, &offset))
+ continue;
+
+ if (skip_following_extents) {
+ /* Do not register remaining extents of ill file */
+ p_iso9660_stat = NULL;
+ } else {
+ p_iso9660_stat = _iso9660_dir_to_statbuf(p_iso9660_dir,
+ p_iso9660_stat,
+ p_iso,
+ p_iso->b_xa,
+ p_iso->u_joliet_level);
+ if (NULL == p_iso9660_stat)
+ skip_following_extents = true; /* Start ill file mode */
+ else if (p_iso9660_stat->rr.u_su_fields & ISO_ROCK_SUF_RE)
+ continue; /* Ignore RE entries */
+ }
+ if ((p_iso9660_dir->file_flags & ISO_MULTIEXTENT) == 0)
+ skip_following_extents = false; /* Ill or not: The file ends now */
+ if ((p_iso9660_stat) &&
+ ((p_iso9660_dir->file_flags & ISO_MULTIEXTENT) == 0)) {
+ _cdio_list_append(retval, p_iso9660_stat);
+ p_iso9660_stat = NULL;
+ }
+
+ offset += iso9660_get_dir_len(p_iso9660_dir);
+ }
- ret = iso9660_iso_seek_read (p_iso, _dirbuf, p_stat->lsn, blocks);
- if (ret != dirbuf_len) {
- _cdio_list_free (retval, true, NULL);
- iso9660_stat_free(p_stat);
free (_dirbuf);
- return NULL;
- }
+ iso9660_stat_free(p_stat);
- while (offset < (dirbuf_len))
- {
- p_iso9660_dir = (void *) &_dirbuf[offset];
-
- if (iso9660_check_dir_block_end(p_iso9660_dir, &offset))
- continue;
-
- if (skip_following_extents) {
- /* Do not register remaining extents of ill file */
- p_iso9660_stat = NULL;
- } else {
- p_iso9660_stat = _iso9660_dir_to_statbuf(p_iso9660_dir,
- p_iso9660_stat,
- p_iso,
- p_iso->b_xa,
- p_iso->u_joliet_level);
- if (NULL == p_iso9660_stat)
- skip_following_extents = true; /* Start ill file mode */
- else if (p_iso9660_stat->rr.u_su_fields & ISO_ROCK_SUF_RE)
- continue; /* Ignore RE entries */
- }
- if ((p_iso9660_dir->file_flags & ISO_MULTIEXTENT) == 0)
- skip_following_extents = false; /* Ill or not: The file ends now */
- if ((p_iso9660_stat) &&
- ((p_iso9660_dir->file_flags & ISO_MULTIEXTENT) == 0)) {
- _cdio_list_append(retval, p_iso9660_stat);
- p_iso9660_stat = NULL;
- }
-
- offset += iso9660_get_dir_len(p_iso9660_dir);
+ if (offset != dirbuf_len) {
+ _cdio_list_free (retval, true, (CdioDataFree_t) iso9660_stat_free);
+ return NULL;
}
- free (_dirbuf);
- iso9660_stat_free(p_stat);
- if (offset != dirbuf_len)
- _cdio_list_free (retval, true, (CdioDataFree_t) iso9660_stat_free);
- iso9660_stat_free(p_iso9660_stat);
- return (offset == dirbuf_len) ? retval : NULL;
+ return retval;
+ }
}
typedef CdioISO9660FileList_t * (iso9660_readdir_t)
@@ -1938,12 +1902,6 @@ iso9660_fs_find_lsn(CdIo_t *p_cdio, lsn_t i_lsn)
free(psz_full_filename);
return p_statbuf;
}
-iso9660_stat_t *
-#if defined(__GNUC__) && !defined(__DARWIN_C_ANSI)
-iso9660_find_fs_lsn(CdIo_t *p_cdio, lsn_t i_lsn) __attribute__ ((alias ("iso9660_fs_find_lsn")));
-#else
-iso9660_find_fs_lsn(CdIo_t *p_cdio, lsn_t i_lsn);
-#endif
/*!
Given a directory pointer, find the filesystem entry that contains
@@ -2098,7 +2056,7 @@ iso9660_dirlist_free(CdioISO9660DirList_t *p_filelist) {
/*!
- Return true if ISO 9660 image has extended attributes (XA).
+ Return true if ISO 9660 image has extended attrributes (XA).
*/
bool
iso9660_ifs_is_xa (const iso9660_t * p_iso)
@@ -2185,7 +2143,7 @@ iso_have_rr_traverse (iso9660_t *p_iso, const iso9660_stat_t *_root,
@param p_iso the ISO-9660 file image to get data from
- @param u_file_limit the maximum number of (non-rock-ridge) files
+ @param u_file_limit the maximimum number of (non-rock-ridge) files
to consider before giving up and returning "dunno".
"dunno" can also be returned if there was some error encountered
diff --git a/src/libcdio/iso9660/rock.c b/src/libcdio/iso9660/rock.c
index b72e53aa..fd03be24 100644
--- a/src/libcdio/iso9660/rock.c
+++ b/src/libcdio/iso9660/rock.c
@@ -68,7 +68,7 @@ realloc_symlink(/*in/out*/ iso9660_stat_t *p_stat, uint8_t i_grow)
p_stat->rr.i_symlink_max = i_max;
return (NULL != p_stat->rr.psz_symlink);
} else {
- unsigned int i_needed = p_stat->rr.i_symlink + i_grow * 2; // Allocate enough space for growth and additional buffer
+ unsigned int i_needed = p_stat->rr.i_symlink + i_grow ;
if ( i_needed <= p_stat->rr.i_symlink_max)
return true;
else {
@@ -188,7 +188,6 @@ repeat:
int sig;
int rootflag;
- // coverity[tainted_data]
while (len > 1){ /* There may be one byte for padding somewhere */
rr = (iso_extension_record_t *) chr;
sig = *chr+(*(chr+1) << 8);
diff --git a/src/libcdio/udf/udf_file.c b/src/libcdio/udf/udf_file.c
index 219fd97e..d969dcf0 100644
--- a/src/libcdio/udf/udf_file.c
+++ b/src/libcdio/udf/udf_file.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2005, 2006, 2008, 2010, 2012, 2024 Rocky Bernstein