mirror of
https://github.com/fallout2-ce/fallout2-ce.git
synced 2026-07-27 16:47:11 -07:00
Compare commits
130
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a470bdc6af | ||
|
|
22ba94eca3 | ||
|
|
7e49ed8545 | ||
|
|
3249b7dc07 | ||
|
|
f291f52a61 | ||
|
|
4bc2ed5d0d | ||
|
|
b6a522a065 | ||
|
|
bbb01398ef | ||
|
|
fb5e1f9c07 | ||
|
|
625928265e | ||
|
|
a6ccac2a58 | ||
|
|
19e72a5b6d | ||
|
|
44f5477ee5 | ||
|
|
8d0587566f | ||
|
|
0ed3725124 | ||
|
|
86787e2c97 | ||
|
|
f60b773ed4 | ||
|
|
b6384ce8e9 | ||
|
|
15aa1db286 | ||
|
|
763169f33e | ||
|
|
58b811f2ae | ||
|
|
bfcfaa9540 | ||
|
|
491806686b | ||
|
|
245705c468 | ||
|
|
43c0b79f3f | ||
|
|
216710f86c | ||
|
|
a478bad7fa | ||
|
|
9a3ec752dd | ||
|
|
f940766379 | ||
|
|
87e1d1f11b | ||
|
|
5d17e0ef89 | ||
|
|
2bf08228c5 | ||
|
|
571b43410d | ||
|
|
f0e6002df9 | ||
|
|
d593c481f2 | ||
|
|
76f3d82679 | ||
|
|
0e1270a606 | ||
|
|
55a32a00ab | ||
|
|
7b9b545baa | ||
|
|
a96edd9f0c | ||
|
|
55c528f346 | ||
|
|
5c28dc798f | ||
|
|
7ef6943588 | ||
|
|
40bbd6c02a | ||
|
|
45c491c11f | ||
|
|
18c05d438e | ||
|
|
c3a501a644 | ||
|
|
2767a399c5 | ||
|
|
1237d8561d | ||
|
|
89b6812711 | ||
|
|
339146c5b3 | ||
|
|
3949c5d7c1 | ||
|
|
84a64035e8 | ||
|
|
164be5105a | ||
|
|
d532e4c398 | ||
|
|
950c12dbf7 | ||
|
|
2be9b7db65 | ||
|
|
138ce8be9b | ||
|
|
96b9323a97 | ||
|
|
7c6d339e3d | ||
|
|
2ec8240820 | ||
|
|
ca72573c14 | ||
|
|
9974a23c1e | ||
|
|
cd6cce3f34 | ||
|
|
361b9a0b30 | ||
|
|
7c7cb87f65 | ||
|
|
20bcb2360c | ||
|
|
75dbc98321 | ||
|
|
d792cfa32e | ||
|
|
e81a07dcaf | ||
|
|
0d78119680 | ||
|
|
79d0fcfcaa | ||
|
|
2d5e69d740 | ||
|
|
b5cf3ee148 | ||
|
|
a571a985c6 | ||
|
|
6ccba74836 | ||
|
|
30c3af01f5 | ||
|
|
fd25944a9e | ||
|
|
41c5d77f89 | ||
|
|
75513058a5 | ||
|
|
0cf55eca75 | ||
|
|
e6cbdd5466 | ||
|
|
90f634b285 | ||
|
|
666ee6f41c | ||
|
|
4342aefa5d | ||
|
|
7224c7d7fb | ||
|
|
dff7529707 | ||
|
|
2435b33480 | ||
|
|
c4652d799a | ||
|
|
5140b00ccf | ||
|
|
f1ba068d05 | ||
|
|
01db7078c7 | ||
|
|
64fd857da6 | ||
|
|
555652d9c3 | ||
|
|
8c35203b7d | ||
|
|
0303a00299 | ||
|
|
dd16e374ee | ||
|
|
ce4495589b | ||
|
|
af350914ef | ||
|
|
8dd2afc4fa | ||
|
|
240aa8a212 | ||
|
|
c58b5eac1d | ||
|
|
0bd8a76b05 | ||
|
|
853266b380 | ||
|
|
0adc9c9e77 | ||
|
|
150e734955 | ||
|
|
d0ba0151d1 | ||
|
|
67c70661a6 | ||
|
|
9c4efeb59d | ||
|
|
8bd87be687 | ||
|
|
8101c78e78 | ||
|
|
9b5737a14e | ||
|
|
3d4c073856 | ||
|
|
f868ac0e1a | ||
|
|
cd6ca76988 | ||
|
|
5d3cbd567a | ||
|
|
70ef1d4009 | ||
|
|
3acf0ac6c4 | ||
|
|
a73c336ead | ||
|
|
d46aea53bd | ||
|
|
41a7c97e69 | ||
|
|
2ca921c525 | ||
|
|
e676089f83 | ||
|
|
e119aa4c4d | ||
|
|
ea66287551 | ||
|
|
db07e95f5b | ||
|
|
acd0413626 | ||
|
|
196ad2267f | ||
|
|
22a864a0c9 | ||
|
|
252d7fe83e |
@@ -14,6 +14,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions: write-all
|
||||
steps:
|
||||
- name: start deployment
|
||||
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
|
||||
uses: bobheadxi/deployments@v1
|
||||
id: deployment
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
step: start
|
||||
debug: true
|
||||
env: preview-${{ github.event.pull_request.number }}
|
||||
|
||||
- name: Clone
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -76,6 +86,10 @@ jobs:
|
||||
SITE_BASE: ${{ steps.set-path.outputs.SITE_BASE }}
|
||||
F2_GAME_VERSION: Game=${{github.event.pull_request.head.sha || github.sha }}
|
||||
|
||||
- name: Place hash file
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
|
||||
run: echo "$GITHUB_SHA" > fallout2-ce-ems/dist/site_hash.txt
|
||||
|
||||
- name: Install rsync (required for the next step)
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
|
||||
run: |
|
||||
@@ -91,10 +105,37 @@ jobs:
|
||||
clean: false
|
||||
single-commit: true
|
||||
|
||||
- name: Comment preview URL on PR
|
||||
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
|
||||
|
||||
|
||||
- name: Check that site is deployed
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
|
||||
run: |
|
||||
gh pr comment ${{ github.event.pull_request.number }} \
|
||||
--body "🚀 WebAssembly PR Preview for ${{github.event.pull_request.head.sha || github.sha }} is available at: https://${{ github.repository_owner }}.github.io/fallout2-ce/PR-${{ github.event.pull_request.number }}/"
|
||||
URL="$SITE_ORIGIN""$SITE_BASE""site_hash.txt"
|
||||
echo "Expecting $GITHUB_SHA from $URL"
|
||||
for i in `seq 1 80`; do
|
||||
got="$(curl -fsSL --max-time 10 "$URL" | tr -d '\r\n' || true)"
|
||||
if [ "$got" = "$GITHUB_SHA" ]; then
|
||||
echo "âś… Match on attempt $i: ${got}"
|
||||
exit 0
|
||||
fi
|
||||
echo "Received $got, waiting"
|
||||
sleep 5
|
||||
done
|
||||
exit 1
|
||||
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SITE_ORIGIN: https://${{ github.repository_owner }}.github.io
|
||||
SITE_BASE: ${{ steps.set-path.outputs.SITE_BASE }}
|
||||
|
||||
- name: Update deployment status
|
||||
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
|
||||
uses: bobheadxi/deployments@v1
|
||||
with:
|
||||
step: finish
|
||||
status: success
|
||||
debug: true
|
||||
env: ${{ steps.deployment.outputs.env }}
|
||||
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
env_url: https://${{ github.repository_owner }}.github.io/fallout2-ce/PR-${{ github.event.pull_request.number }}/
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: os/android/app/.cxx
|
||||
key: android-cmake-v100
|
||||
key: android-cmake-v101
|
||||
|
||||
- name: Setup signing config
|
||||
if: env.KEYSTORE_FILE_BASE64 != '' && env.KEYSTORE_PROPERTIES_FILE_BASE64 != ''
|
||||
@@ -128,7 +128,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: out
|
||||
key: ios-cmake-v100
|
||||
key: ios-cmake-v101
|
||||
|
||||
- name: Configure
|
||||
run: |
|
||||
@@ -183,7 +183,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: out
|
||||
key: linux-${{ matrix.arch }}-cmake-v100
|
||||
key: linux-${{ matrix.arch }}-cmake-v101
|
||||
|
||||
- name: Configure
|
||||
run: |
|
||||
@@ -288,7 +288,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: out
|
||||
key: macos-cmake-v100
|
||||
key: macos-cmake-v101
|
||||
|
||||
- name: Configure
|
||||
run: |
|
||||
@@ -337,7 +337,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: out
|
||||
key: windows-${{ matrix.arch }}-cmake-v100
|
||||
key: windows-${{ matrix.arch }}-cmake-v101
|
||||
|
||||
- name: Configure
|
||||
shell: cmd
|
||||
|
||||
@@ -12,6 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
deployments: write
|
||||
steps:
|
||||
- name: Checkout gh-pages branch
|
||||
uses: actions/checkout@v4
|
||||
@@ -44,3 +45,11 @@ jobs:
|
||||
git commit --amend -m "đźš® Remove preview for closed PR #${{ github.event.pull_request.number }}"
|
||||
git push --force
|
||||
fi
|
||||
|
||||
- name: mark environment as deactivated
|
||||
uses: bobheadxi/deployments@v1
|
||||
with:
|
||||
step: deactivate-env
|
||||
env: preview-${{ github.event.pull_request.number }}
|
||||
desc: Environment was pruned
|
||||
debug: true
|
||||
|
||||
@@ -288,11 +288,16 @@ target_sources(${EXECUTABLE_NAME} PUBLIC
|
||||
"src/sfall_opcodes.h"
|
||||
"src/sfall_arrays.cc"
|
||||
"src/sfall_arrays.h"
|
||||
"src/sfall_callbacks.cc"
|
||||
"src/sfall_callbacks.h"
|
||||
"src/touch.cc"
|
||||
"src/touch.h"
|
||||
"src/scan_unimplemented.cc"
|
||||
"third_party/lodepng/lodepng.cpp"
|
||||
)
|
||||
|
||||
target_include_directories(${EXECUTABLE_NAME} PUBLIC "third_party/lodepng")
|
||||
|
||||
if(IOS)
|
||||
target_sources(${EXECUTABLE_NAME} PUBLIC
|
||||
"src/platform/ios/paths.h"
|
||||
|
||||
@@ -44,7 +44,7 @@ $ sudo apt install libsdl2-2.0-0
|
||||
|
||||
- Alternatively you can use Fallout 2 from Macplay/The Omni Group as a base - you need to extract game assets from the original bundle. Mount CD/DMG, right click `Fallout 2` -> `Show Package Contents`, navigate to `Contents/Resources`. Copy `GameData` folder somewhere, for example `/Applications/Fallout2`.
|
||||
|
||||
- Or if you're a Terminal user and have Homebrew installed you can extract the needed files from the GoG installer:
|
||||
- Or if you're a Terminal user and have Homebrew installed you can extract the needed files from the GoG installer. **Note**: You must use "Offline backup game installer", not the main game installer.
|
||||
|
||||
```console
|
||||
$ brew install innoextract
|
||||
@@ -126,6 +126,17 @@ IFACE_BAR_SIDES_ORI=0
|
||||
;if IFACE_BAR_WIDTH=640 - Interface bar will remain at it's original width.
|
||||
;if IFACE_BAR_WIDTH=800 - Interface bar will use 800pix wide asset from f2_res.dat.
|
||||
;IFACE_BAR_WIDTH=640
|
||||
|
||||
[STATIC_SCREENS]
|
||||
;if SPLASH_SCRN_SIZE=0 - Splash screen shows at original size if it fits, otherwise scales down while preserving aspect ratio.
|
||||
;if SPLASH_SCRN_SIZE=1 - Splash screen scales to fit the screen while preserving aspect ratio.
|
||||
;if SPLASH_SCRN_SIZE=2 - Splash screen stretches to fill the entire screen.
|
||||
SPLASH_SCRN_SIZE=0
|
||||
|
||||
[MAPS]
|
||||
;if IGNORE_MAP_EDGES=0 - Hi-Res map scroll edges are enabled.
|
||||
;if IGNORE_MAP_EDGES=1 - Hi-Res map scroll edges are ignored.
|
||||
IGNORE_MAP_EDGES=0
|
||||
```
|
||||
|
||||
Recommendations:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user