fallout2-ce/README.md

67 lines
2.7 KiB
Markdown
Raw Normal View History

2022-05-19 08:51:26 +00:00
# Fallout 2 Community Edition
## Installation
2022-07-06 06:47:19 +00:00
You must own the game to play. Purchase your copy on [GOG](https://www.gog.com/game/fallout_2) or [Steam](https://store.steampowered.com/app/38410). Download latest build or build from source.
### Windows
Download and copy `fallout2-ce.exe` to your `Fallout2` folder. It serves as a drop-in replacement for `fallout2.exe`.
### Linux
- Use Windows installation as a base - it contains data assets needed to play. Copy `Fallout2` folder somewhere, for example `/home/john/Desktop/Fallout2`.
- Download and copy `fallout2-ce` to this folder.
- Fix permissions (GitHub artifacts issue):
```console
chmod a+x /home/john/Desktop/Fallout2/fallout2-ce
```
- Install [SDL2](https://libsdl.org/download-2.0.php):
```console
$ sudo apt install libsd2-2.0-0
```
- Run `./fallout2-ce`.
### macOS
> **NOTE**: macOS Monterey is required. The app is not universal. It should run on Apple Silicon under Rosetta 2, but I haven't tried it. The app is neither signed, nor notarized.
- Use Windows installation as a base - it contains data assets needed to play. Copy `Fallout2` folder somewhere, for example `/Applications/Fallout2`.
- Download and copy `fallout2-ce.app` to this folder.
- Run `fallout2-ce.app`.
- When running for the first time, macOS will complain that the app is not signed and you'll be present two options - `Move to bin`, and `Cancel`. Click `Cancel`, open `System Preferences`, go to `Security & Privacy`. The pane at the bottom will say `fallout2-ce was blocked from use because it is not from an identified developer`. Click `Open Anyway`. Confirm once again. Alternatively you can remove quarantine attribute from terminal:
```console
$ xattr -d com.apple.quarantine /Applications/Fallout2/fallout2-ce.app
```
2022-05-19 08:51:26 +00:00
## Contributing
For now there are three major areas.
### Intergrating Sfall
There are literally hundreds if not thousands of fixes and features in sfall. I guess not all of them are needed in Community Edition, but for the sake of compatibility with big mods out there, let's integrate them all.
### SDL
Migrate DirectX stuff to SDL. This is the shortest path to native Linux version.
### Prepare to 64-bit
Modern macOS requires apps to be 64-bit, so even if we have SDL, the scripting part of the game will not work, because of builtin SSL interpreter. It stores pointers (both functions and variables) as 32-bit integers, so 64-bit pointers will not fit into stack. Since the stack is shared for both instructions and data, it needs some attention.
## Legal & License
See [Fallout 2 Reference Edition](https://github.com/alexbatalov/fallout2-re). Same conditions apply until the source code in this repository is changed significantly.