forked from tolga9009/elgato-gchd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed lockup issues, color space autodetect and 1080i support
Also added udev rules for non-root support and added firmware extraction script. README has been updated. Signed-off-by: Scott Dossey <seveirein@yahoo.com>
- Loading branch information
Showing
12 changed files
with
372 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Firmware.tgz | ||
tmp.* | ||
GameCapture*.msi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
type 7z >/dev/null 2>&1 || { echo >&2 "This requires p7zip but it is not installed."; exit 1; } | ||
|
||
shopt -s nullglob #Critical behaviour change variable. | ||
|
||
pattern="GameCaptureSetup*.msi" | ||
fileList=( ${pattern} ) | ||
filename=${fileList[0]} | ||
[[ ! -z "${filename// }" ]] || { echo >&2 "Cannot find a GameCaptureSetup*.msi file."; exit 1; } | ||
|
||
[[ ! -e Firmware.tgz ]] || { echo >&2 "Firmware.tgz file already exists. Delete to rerun."; exit 1; } | ||
|
||
|
||
TEMPDIR=`mktemp -d -p .` | ||
mkdir ${TEMPDIR}/gchd | ||
|
||
7z e -o${TEMPDIR} ${filename} x86_yPushFile3.dll | ||
7z e -o${TEMPDIR}/gchd -r ${TEMPDIR}/x86_yPushFile3.dll MB86H57_H58_IDLE MB86H57_H58_ENC_H MB86M01_ASSP_NSEC_IDLE MB86M01_ASSP_NSEC_ENC_H | ||
|
||
rm -f ${TEMPDIR}/x86_yPushFile3.dll | ||
pushd ${TEMPDIR} && tar cvzf ../Firmware.tgz gchd && popd | ||
|
||
rm -r ${TEMPDIR} |
Oops, something went wrong.