Skip to content

Commit 2bd1d44

Browse files
ellzieThisAMJ
andauthored
feat: No Major Glitches page (#30)
https://rules.portal2.sr/nmg/ * Create 07_nmg.md Transferred NMG rules from doc to md file, only temporarily placed in main render until rules site multiple pages is setup * test pages workflow * feat: NMG page * Links and descriptions added links and descriptions to a chunk of the listed glitches and non glitches * remove 07_nmg whoops * Finished Linking Found the last few wiki links and made a few fake ones that someone can populate in the future * fix: open content links in new tab except navigation on the same site * fixup: extra change --------- Co-authored-by: ThisAMJ <69196954+ThisAMJ@users.noreply.github.com>
1 parent 7982991 commit 2bd1d44

5 files changed

Lines changed: 74 additions & 1 deletion

File tree

content/index/06_games/01_portal-2-catext.cats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name,Objective,OOB,SLA,"Pause Abuse","Demo Requirement","Video Requirement",Lead
55
"Marathon% Solo-Coop", "Complete the Cooperative campaign by yourself in a Marathon environment!",Yes,No,Yes,Yes,Yes,https://www.speedrun.com/portal_2_category_extensions?h=Marathon-Solo_Coop&x=vdoore1d-p859je7n.013vgd3l,,"Betsruner, Jaio"
66
"Co-op any% EHM","Complete up to the end of course 5 of the cooperative campaign.",Yes,Yes,No,Yes,Yes,https://www.speedrun.com/portal_2_category_extensions?h=Co-op_Any_EHM&x=vdononok,"You may use glitches to skip courses and maps. EHM is allowed.","Betsruner"
77
"Portal Placement Never Fail","Complete the specified campaign according to the standard ruleset for the underlying category.",-,-,Yes,"Yes",Yes,https://www.speedrun.com/portal_2_category_extensions?h=Portal_Placement_Never_Fail-SP&x=wkpo8182-38dw2v1n.8102832q,"You must use `sv_portal_placement_never_fail 1` (which requires `sv_cheats 1`). All other rules come from the underlying category (Inbounds No SLA, AMC, Co-op any%, or Solo Co-op).","Rudko"
8-
"No Major Glitches","Complete the entire singleplayer campaign.",No,No,No,Yes,Yes,https://www.speedrun.com/portal_2_category_extensions?h=No_Major_Glitches&x=zdn458xk,"You must complete the game without the use of a major glitch. A list of major glitches can be found [here](https://docs.google.com/document/d/10F62Cgars4I-kZ-alOjptZ64ozSMIJ4_j1r26kTGXHc/edit?usp=sharing)","JaioCG, TurkeySR"
8+
"No Major Glitches","Complete the entire singleplayer campaign.",No,No,No,Yes,Yes,https://www.speedrun.com/portal_2_category_extensions?h=No_Major_Glitches&x=zdn458xk,"You must complete the game without the use of a major glitch. A list of major glitches can be found [here](/nmg/)","JaioCG, TurkeySR"
99
"Super 8", "Complete the Super 8 Trailer",No,No,No,No,Yes,https://www.speedrun.com/portal_2_category_extensions?h=Super_8&x=824rmqnd,,"TurkeySR"
1010
"Least Portals Challenge Runs: Singleplayer 100 Portals","Complete the entire singleplayer campaign within 100 portals.",No,No,Yes,Yes,Yes,https://www.speedrun.com/portal_2_category_extensions?h=Least_Portals_Challenge_Runs-SP_100_Portals&x=9d83ywl2-ylqqryzl.z1903g81,"You must place no more than 100 portals during the run. `sar_lphud` can be used to track portal shots.","Betsruner, BiSaXa, phunkpai"
1111
"Least Portal2 Challenge Runs: Co-op 69 Portals","Complete all courses (1-6) of the cooperative campaign within 69 portals.",Yes,Yes,No,Yes,Yes,https://www.speedrun.com/portal_2_category_extensions?h=Least_Portals_Challenge_Runs-Co-op_69_Portals&x=9d83ywl2-ylqqryzl.814rjevq,"You must place no more than 69 portals during the run. `sar_lphud` can be used to track portal shots.","Betsruner, BiSaXa, phunkpai"

content/nmg/00_nmg.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## No Major Glitches
2+
3+
No Major Glitches (NMG) is a category extension that prohibits the use of some major glitches, similar to a 'glitchless' category.
4+
5+
The moderation team reserves the right to reject any run that uses a major glitch not listed here, if you are ever unsure, do not be afraid to ask. Please report anything that you may believe to be a major glitch to the moderation team.

content/nmg/01_banned-glitches.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
### Banned Glitches
2+
3+
The following are considered major glitches and are prohibited in NMG runs:
4+
5+
- [Funnel Fly](https://wiki.portal2.sr/Crouch_Flying_Glitch)
6+
- [Button Glitch](https://wiki.portal2.sr/Button_Glitch)
7+
- Such as in Future Starter and Repulsion Intro
8+
- [Reportals](https://wiki.portal2.sr/Reportal)
9+
- [Turret Fly](https://wiki.portal2.sr/Prop_Fly)
10+
- Such as in Turret Sabotage, using two turrets to prop fly
11+
- [Portal Cuts](https://wiki.portal2.sr/Portal_Placement_Tech#Grate_Shot)
12+
- Such as in Funnel Catch
13+
- [Scripted Momentum Abuse](https://wiki.portal2.sr/Scripted_Momentum_Abuse)
14+
- Such as in Cave Johnson
15+
- [Laser Switch Glitch](https://wiki.portal2.sr/Laser_Switch_Glitch)
16+
- Rapidly switching lasers between multiple receivers to activate them at once, such as in Triple Laser
17+
- [Crouch Toggling Abuse](https://wiki.portal2.sr/Ceiling_Catapult#General_Route)
18+
- Referring to double dialogue skip in Ceiling Catapult, **NOT** CTG
19+
- [Multiple Gel Bounces in a Short Time](https://wiki.portal2.sr/Gel_Scroll)
20+
- Such as in Prop Flings, otherwise known as Gel Scroll
21+
- [Prop/Object Hopping](https://wiki.portal2.sr/Prop_Hop)
22+
- Cubes and Non-cubes
23+
- [Placement Helper Abuse](https://wiki.portal2.sr/Portal_Placement_Tech#Placement_Helper_Abuse)
24+
- Such as in PotatOS
25+
- [Portal Placements on Disappearing Gel](https://wiki.portal2.sr/Finale_4#Early_Moon_Shot)
26+
- Such as in Finale 4
27+
- [Super Physics Deformation (SPD)](https://wiki.portal2.sr/Super_Physics_Deformation)
28+
- [Stucklaunches](https://wiki.portal2.sr/Stucklaunch)
29+
- Such as in Three Gels and Crazy Box
30+
- [Portal Bump Abuse](https://wiki.portal2.sr/Portal_Placement_Tech#Portal_Bumping)
31+
- Portal Bumping is allowed so long as it falls under its intended effects
32+
- [Peek-a-Portals/Flipshots](https://wiki.portal2.sr/Peek-a-portal)
33+
- Such as in Ceiling Catapult
34+
- [Seamshots](https://wiki.portal2.sr/Portal_Placement_Tech#Seam_Shot)
35+
- [Pancake Shots](https://wiki.portal2.sr/Portal_Placement_Tech#Pancake_Shot)
36+
- [Observatory Room Gap Shots](https://wiki.portal2.sr/Column_Blocker#Challenge_Mode_Specific)
37+
- [Portal Bubble Abuse](https://wiki.portal2.sr/Smooth_Jazz#Pushing_the_Cube_Through_the_Door_.28Item_Edge_Glitch.29)
38+
- Such as in Smooth Jazz
39+
- [FCPS Abuse](https://wiki.portal2.sr/FindClosestPassableSpace)
40+
- Such as during Chorus Skip
41+
- [Dane/Jerry Skip](https://wiki.portal2.sr/Column_Blocker)
42+
- Including any other way of the player clipping through a model
43+
- [PPD](https://wiki.portal2.sr/Player_Physics_Deformation)
44+
- [Betsrighter](https://wiki.portal2.sr/Wakeup#Wakeup_Skip_.2F_Betsrighter)
45+
- [Pause Abusing](https://wiki.portal2.sr/Wakeup#Wakeup_Skip_.2F_Betsrighter)
46+
- [EHM Abuse](https://wiki.portal2.sr/Entity_Handle_Misinterpretation)
47+
- [Double Trigger_Once Activation](https://wiki.portal2.sr/Double_Trigger_Activation)
48+
- Such as in Laser Relays LP

content/nmg/02_allowed-glitches.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
### Allowed Glitches
2+
3+
The following are **NOT** considered major glitches and can be performed:
4+
5+
- [Bunnyhopping](https://wiki.portal2.sr/Bunnyhopping_help)
6+
- [Crouch Toggle Glitch](https://wiki.portal2.sr/Crouch_Toggle_Glitch)
7+
- [Elevator Skip](https://wiki.portal2.sr/Core#Ending_Cutscene_and_Elevator_Skip)
8+
- Core
9+
- [Test Cube Throw](https://wiki.portal2.sr/Test#Frankenturret_Testing_Chamber)
10+
- [Flashlight Skip](https://wiki.portal2.sr/Turret_Factory)
11+
- Turret Factory
12+
- [Wheatley Skip](https://wiki.portal2.sr/Secret_Panel)
13+
- Secret Panel
14+
- [Door Skip](https://wiki.portal2.sr/Bridge_The_Gap#Door_Skip)
15+
- Bridge the Gap
16+
- [Panel Fling](https://wiki.portal2.sr/Ricochet#Harder_Route)
17+
- Ricochet

generate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ def _repl(m):
152152
md_str = _replace_timestamp_tokens(md_str)
153153

154154
content = md.convert(md_str)
155+
content = re.sub(r'<a href="/', f'<a href="/', content)
156+
content = re.sub(r'<a href="', f'<a target="_blank" href="', content)
157+
content = re.sub(r'<a href="/', f'<a href="/', content)
155158

156159
out = (template
157160
.replace("{{CONTENT}}", content)

0 commit comments

Comments
 (0)