Skip to content

Commit

Permalink
WIP Aperture Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Jun 3, 2024
1 parent fe2f364 commit 0083a3c
Show file tree
Hide file tree
Showing 14 changed files with 4,073 additions and 31 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
run: |
7z a cmm-linux.zip ${{ github.workspace }}/cmm
7z a cmm-windows.zip ${{ github.workspace }}/cmm.exe
pushd mods/aperturetag
7z a cmm-aperturetag.zip -x'!resource' -x'!scripts'
popd
pushd mods/portal_stories
7z a cmm-portal_stories.zip -x'!resource' -x'!scripts'
popd
Expand All @@ -58,11 +61,12 @@ jobs:
Linux: [Download cmm-linux.zip](https://github.com/NeKzor/cmm/releases/download/${{ github.ref_name }}/cmm-linux.zip)
Requirements:
- [SAR 1.13+](https://sar.portal2.sr)
- [SAR](https://sar.portal2.sr)
Usage:
- Run the installer from anywhere. Required files will be downloaded automatically.
files: |
cmm-linux.zip
cmm-windows.zip
mods/aperturetag/cmm-aperturetag.zip
mods/portal_stories/cmm-portal_stories.zip
36 changes: 20 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@ Challenge mode for Portal 2 mods.
## Requirements

- Portal 2 installed
- [SourceAutoRecord 1.13+]
- [SourceAutoRecord]

[SourceAutoRecord 1.13+]: https://sar.portal2.sr
[SourceAutoRecord]: https://sar.portal2.sr

## Supported Mods

| Game | Status | Leaderboard |
| -------------------------- | -------- | ---------------------- |
| Portal Stories: Mel | Released | [mel.board.portal2.sr] |
| Aperture Tag | Planned | - |
| Thinking with Time Machine | - | - |
| Portal Reloaded | - | - |
| Game | Status | Leaderboard |
| -------------------------- | -------- | ------------------------ |
| Portal Stories: Mel | Released | [mel.board.portal2.sr] |
| Aperture Tag | Planned | [aptag.board.portal2.sr] |
| Thinking with Time Machine | - | - |
| Portal Reloaded | - | - |

[mel.board.portal2.sr]: https://mel.board.portal2.sr
[aptag.board.portal2.sr]: https://aptag.board.portal2.sr

## Autosubmit

Expand All @@ -42,6 +43,7 @@ Challenge mode for Portal 2 mods.
### Manual

- Download the contents for the game:
- [cmm-aperturetag.zip][cmm-aperturetag]
- [cmm-portal_stories.zip][cmm-portal_stories]
- Go to the game's folder `Portal Stories Mel`
- Create a new folder called `cmm`
Expand All @@ -52,6 +54,7 @@ Challenge mode for Portal 2 mods.
- Add `mod cmm` before `game |gameinfo_path|.`
- Add `game portal2_dlc1` before `game portal2_dlc2`

[cmm-aperturetag]: https://github.com/NeKzor/cmm/releases/latest/download/cmm-aperturetag.zip
[cmm-portal_stories]: https://github.com/NeKzor/cmm/releases/latest/download/cmm-portal_stories.zip

### Uninstall
Expand All @@ -64,16 +67,17 @@ Revert above steps + "Verify integrity of game files" via Steam.

[Deno]: https://deno.com

- Use `deno task pack` to create the VPK files.
- Move the created files into the game's `cmm` folder
- `challenge_maplist.txt`
- `pak01_001.vpk`
- `pak01_dir.vpk`
- The installer can be tested with: `deno task run`
- Use `deno task pack:aptag` or `deno task pack:mel` to create the VPK files.
- Move the created files into the game's `cmm` folder
- `pak01_001.vpk`
- `pak01_dir.vpk`
- Make sure that `portal2_dlc1` is copied from `Portal 2` to the game's folder
- Copy `challenge_maplist.txt` into `poratl2_dlc1`
- The installer can be tested with: `deno task run -s` (the `-s` flag will skip the download from the repository)

## Credits

- Rex (menu)
- sear (screenshots, testing)
- Nidboj132 (testing)
- hero (SAR)
- Nidboj132 (testing)
- sear (screenshots, testing)
6 changes: 4 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"compile": "deno task compile:lin & deno task compile:win",
"compile:lin": "deno compile --target x86_64-unknown-linux-gnu --output cmm -A src/cmm.ts",
"compile:win": "deno compile --target x86_64-pc-windows-msvc --allow-ffi --unstable-ffi --output cmm.exe -A src/cmm.ts",
"pack": "deno run -A src/vpkt.ts pack --output mods/portal_stories/pak01_dir.vpk --pack mods/portal_stories",
"pack:check": "deno run -A src/vpkt.ts list --input mods/portal_stories/pak01_dir.vpk"
"pack:aptag": "deno run -A src/vpkt.ts pack --output mods/aperturetag/pak01_dir.vpk --pack mods/aperturetag",
"pack:check:aptag": "deno run -A src/vpkt.ts list --input mods/aperturetag/pak01_dir.vpk",
"pack:mel": "deno run -A src/vpkt.ts pack --output mods/portal_stories/pak01_dir.vpk --pack mods/portal_stories",
"pack:check:mel": "deno run -A src/vpkt.ts list --input mods/portal_stories/pak01_dir.vpk"
},
"exclude": [
"ui"
Expand Down
50 changes: 50 additions & 0 deletions mods/aperturetag/challenge_maplist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
"challenge_maps"
{
"sp"
{
"chapter_1"
{
"map" "gg_intro_wakeup"
"map" "gg_blue_only"
"map" "gg_blue_only_2"
"map" "gg_blue_only_3"
"map" "gg_blue_only_2_pt2"
"map" "gg_a1_intro4"
"map" "gg_blue_upplatform"
}
"chapter_2"
{
"map" "gg_red_only"
"map" "gg_red_surf"
"map" "gg_all_intro"
"map" "gg_all_rotating_wall"
"map" "gg_all_fizzler"
"map" "gg_all_intro_2"
"map" "gg_a2_column_blocker"
"map" "gg_all_puzzle2"
}
"chapter_3"
{
"map" "gg_all2_puzzle1"
"map" "gg_all_puzzle1"
"map" "gg_all2_escape"
}
"chapter_4"
{
"map" "gg_stage_reveal"
"map" "gg_stage_bridgebounce_2"
"map" "gg_stage_redfirst"
"map" "gg_stage_laserrelay"
"map" "gg_stage_beamscotty"
"map" "gg_stage_bridgebounce"
"map" "gg_stage_roofbounce"
"map" "gg_stage_pickbounce"
"map" "gg_stage_theend"
}
"chapter_5"
{
"map" "gg_tag_remix"
"map" "gg_trailer_map"
}
}
}
Binary file added mods/aperturetag/resource/basemodui_english.txt
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 0083a3c

Please sign in to comment.