fallout2-ce/README.md

67 lines
2.7 KiB
Markdown
Raw Normal View History

2022-05-19 01:51:26 -07:00
# Fallout 2 Community Edition
## Installation
2022-07-05 23:47:19 -07: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
2022-07-12 08:07:17 -07:00
$ chmod a+x /home/john/Desktop/Fallout2/fallout2-ce
2022-07-05 23:47:19 -07:00
```
- Install [SDL2](https://libsdl.org/download-2.0.php):
```console
2022-07-12 08:07:17 -07:00
$ sudo apt install libsdl2-2.0-0
2022-07-05 23:47:19 -07:00
```
- Run `./fallout2-ce`.
### macOS
2022-07-06 01:25:10 -07:00
> **NOTE**: macOS 11 or higher 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.
2022-07-05 23:47:19 -07:00
- 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 01:51:26 -07: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.