Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Starfield support #618

Merged
merged 3 commits into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ The following is a small overview of the current state of each supported game:
| Oblivion | working | [some plugins might require manual setup](https://github.com/rockerbacon/lutris-skyrimse-installers/issues/63#issuecomment-643690247) | not tested |
| Skyrim | working | working | working |
| Skyrim Special Edition | working | working | not tested |
| Starfield | working | working | not tested |

For known bugs and necessary workarounds, please refer to the [issues page](https://github.com/rockerbacon/lutris-skyrimse-installers/issues?q=is:issue+is:open+label:bug+)

Expand Down
11 changes: 11 additions & 0 deletions gamesinfo/starfield.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
game_steam_subdirectory="Starfield"
game_nexusid="starfield"
game_appid=1716740
game_executable="Starfield.exe"
game_protontricks=("xaudio2_7=native")
game_scriptextender_url="https://sfse.silverlock.org/download/sfse_0_2_6.7z"
game_scriptextender_files=( \
"sfse_0_2_6/sfse_1_10_32.dll" \
"sfse_0_2_6/sfse_loader.exe" \
)

1 change: 1 addition & 0 deletions step/select_game.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ selected_game=$( \
"skyrim" "Skyrim" \
"skyrimspecialedition" "Skyrim Special Edition" \
"skyrimvr" "Skyrim VR" \
"starfield" "Starfield"\
)

if [ -z "$selected_game" ]; then
Expand Down
10 changes: 10 additions & 0 deletions workarounds/starfield.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

sfse_config_dir="$game_installation/Data/SFSE"

mkdir -p "$sfse_config_dir"

cat << EOT >> "$sfse_config_dir/SFSE.ini"
[Loader]
RuntimeName=_Starfield.exe
EOT
Loading