Initial commit

This commit is contained in:
unknown 2022-02-08 13:58:09 -05:00
commit 78f0abe577
1392 changed files with 45596 additions and 0 deletions

View File

@ -0,0 +1,101 @@
name: Assemble Assets and Publish Release
on: [push]
jobs:
Assemble-and-Release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Clone Repository and Run Script
working-directory: ./tools
run: |
sudo -i
./assemble-assets.sh
- name: Generate Build Date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H-%M-%S')"
- name: Get Changes in Repo
id: files
uses: jitterbit/get-changed-files@v1
with:
format: 'csv'
- run: |
mapfile -d ',' -t added_modified_files < <(printf '%s,' '${{ steps.files.outputs.added_modified }}')
- name: Delete Old Release
uses: dev-drprasad/delete-tag-and-release@v0.2.0
with:
delete_release: true
tag_name: newest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: newest
release_name: Automated Release ${{ steps.date.outputs.date }}
body: |
These are the latest versions of NZ:P's game asset data. This does **not** include the game itself or the QuakeC. If you do not know what you are doing, you may want/need to be [here](https://github.com/nzp-developers/nzportable) instead.
<details>
<summary>Changed files (ignore)</summary>
```
${{ steps.files.outputs.added_modified }}
```
</details>
To install:
- Grab the `.ZIP` archive for your desired platform below (*-nzp-assets.zip)
- Extract the contents of the `.ZIP` archive to the required locations.
- NX: `/switch/`
- PC: Anywhere, or where your `nzportable.exe` from an existing install is.
- PSP: `/PSP/GAME/`
- VITA: `/ux0:` (archive contains a `data` folder).
draft: true
prerelease: false
- name: Upload NX Data
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./tmp/nx-nzp-assets.zip
asset_name: nx-nzp-assets.zip
asset_content_type: application/zip
- name: Upload PC Data
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./tmp/pc-nzp-assets.zip
asset_name: pc-nzp-assets.zip
asset_content_type: application/zip
- name: Upload PSP Data
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./tmp/psp-nzp-assets.zip
asset_name: psp-nzp-assets.zip
asset_content_type: application/zip
- name: Upload VITA Data
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./tmp/vita-nzp-assets.zip
asset_name: vita-nzp-assets.zip
asset_content_type: application/zip
- name: Publish Release
uses: StuYarrow/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
id: ${{ steps.create_release.outputs.id }}

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
tmp/*

33
README.md Normal file
View File

@ -0,0 +1,33 @@
# Nazi Zombies: Portable Game Assets
## About
This repository stores the game data required to play the game, such as maps, textures, or sounds. It also includes the source data for some, and will be updated over time to eventually include them all.
## Project Structure
Here is how the files in this asset repository are structured:
* `common`: Game assets shared between all platforms, `common` is treated like a base directory (i.e. contains `maps/`, `gfx/`, etc.)
* `nx`, `psp`, `pc`, `vita`: These directories contain assets exclusive to their individual platforms, starting with the ['root' directory](https://en.wikipedia.org/wiki/Root_directory) for NZ:P data.
* `source`: Contains assets sources, structured in a similar manner to the compiled paths found in `nzp/*`.
* `tools`: Script(s) to assist in assembling a complete archive of game assets.
## Downloading
It is recommended that if you do not know what you are doing to use the completely set up builds found [here](https://github.com/nzp-developers/nzportable).
If you want to continue anyway, you can download a pre-assembled `.ZIP` archive of assets for your platform on the [Releases](https://github.com/nzp-developers/assets/releases/tag/newest) page. Follow the instructions there for installation assistance.
It is also an option for people who may want to modify model sources to either [download](https://github.com/nzp-developers/assets/archive/refs/heads/main.zip) this repository (easy) or [clone it](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) (for developers).
## Modifying Model Sources
[Blender](https://www.blender.org/) version 2.9X is used to create models, and as such the model sources are in `.blend` format.
Inside of the directory for a given asset is is mesh (`mesh.blend`) and a texture in PNG format (`texture.png`). Relative texture paths are already established so you can open the mesh in Blender 2.9X and begin modifying.
## Modifying Map Sources
Being a Quake-based game, NZ:P uses conventional Quake mapping tools and standards. It is recommended to use [Trenchbroom](https://trenchbroom.github.io/) to map, though [J.A.C.K.](https://jack.hlfx.ru/en/) is also an option.
If you are new to Quake mapping, check out `dumptruck_ds`'s ["Mapping for Quake" Trenchbroom YouTube tutorials](https://www.youtube.com/watch?v=gONePWocbqA&list=PLgDKRPte5Y0AZ_K_PZbWbgBAEt5xf74aE). If you are familiar with Trenchbroom and want to get started with NZ:P mapping, you can watch `BCDeshiG`'s [NZ:P Trenchbroom Set Up Guide](https://youtu.be/ATvpV7xyfhQ).
Note that we have .WAD3 textures ready for you to use in your `nzp/textures` directory, and latest FGDs can be found in `source/maps/fgd` in this repository.
## Assembly
Assembling `.ZIP` archives from this asset repository requires a Linux system to run the automatic shell script. Simply navigate to `tools/` and execute `assemble-assets.sh`. If unfamiliar with executing shell (`.sh`) scripts on Linux systems, give this [itsFOSS article](https://itsfoss.com/run-shell-script-linux/) a read.

84
common/data/ach.dat Normal file
View File

@ -0,0 +1,84 @@
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

BIN
common/gfx/Particle.tga Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
common/gfx/Q1pal.lmp Normal file

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.

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.

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.

After

Width:  |  Height:  |  Size: 15 KiB

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.

BIN
common/gfx/box_bl.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_bm.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_br.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_ml.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_mm.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_mm2.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_mr.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_tl.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_tm.lmp Normal file

Binary file not shown.

BIN
common/gfx/box_tr.lmp Normal file

Binary file not shown.

BIN
common/gfx/colormap.lmp Normal file

Binary file not shown.

BIN
common/gfx/env/skybk.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
common/gfx/env/skyboxbk.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
common/gfx/env/skyboxdn.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
common/gfx/env/skyboxft.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
common/gfx/env/skyboxlf.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
common/gfx/env/skyboxrt.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
common/gfx/env/skyboxup.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
common/gfx/env/skydn.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

BIN
common/gfx/env/skyft.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
common/gfx/env/skylf.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
common/gfx/env/skyrt.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
common/gfx/env/skyup.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
common/gfx/env/warehousebk.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
common/gfx/env/warehousedn.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

BIN
common/gfx/env/warehouseft.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
common/gfx/env/warehouself.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
common/gfx/env/warehousert.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
common/gfx/env/warehouseup.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
common/gfx/error.lmp Normal file

Binary file not shown.

BIN
common/gfx/error.tga Normal file

Binary file not shown.

BIN
common/gfx/h2pal.lmp Normal file

Binary file not shown.

BIN
common/gfx/hud/2x.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/betty.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/blood.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/dead.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/double.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/flopper.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/frag.tga Normal file

Binary file not shown.

Binary file not shown.

BIN
common/gfx/hud/in_kill.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/jug.tga Normal file

Binary file not shown.

Binary file not shown.

BIN
common/gfx/hud/mule.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/r1.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/r2.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/r3.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/r4.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/r5.tga Normal file

Binary file not shown.

BIN
common/gfx/hud/r_num0.tga Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More