Skip to content

Commit acfae89

Browse files
committed
2024-08-05 v7/v7.1 blog post, site adjustment
1 parent 50319e1 commit acfae89

File tree

5 files changed

+97
-14
lines changed

5 files changed

+97
-14
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/_out
2+
/_metadata

Makefile

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ SITE_TITLE := Neotokyo; Rebuild
33

44
SRC_DIR := src
55
DST_DIR := _out
6-
SRCS := $(shell find $(SRC_DIR) -name '*.md')
6+
SRCS := $(shell find $(SRC_DIR) -name '*.md' | grep -vxF "src/index.md")
77
SRCS_CPY := $(SRC_DIR)/style.css
88

9-
BLOG_LIST_FILE := $(DST_DIR)/blog_list
9+
BLOG_LIST_FILE := _metadata/blog_list
1010
DSTS_HTML := $(SRCS:$(SRC_DIR)/%.md=$(DST_DIR)/%.html)
1111
DSTS_HTML_CPY := $(SRCS_CPY:$(SRC_DIR)/%=$(DST_DIR)/%)
1212

1313
all: html
1414

15+
startup:
16+
mkdir -p _out
17+
mkdir -p _metadata
18+
1519
clean:
1620
rm -fr $(DST_DIR)
21+
rm -fr _metadata
1722

1823
serve:
1924
python3 -m http.server -d $(DST_DIR)
@@ -36,32 +41,34 @@ $(DST_DIR)/%: $(SRC_DIR)/%
3641
@mkdir -p $(dir $@)
3742
@cp $< $@
3843

39-
$(DST_DIR)/blog/index.html: $(SRC_DIR)/blog/*/*.md $(SRC_DIR)/_header.html $(SRC_DIR)/_footer.html
44+
$(DST_DIR)/index.html: $(SRC_DIR)/blog/*/*.md $(SRC_DIR)/_header.html $(SRC_DIR)/_footer.html
4045
@echo "html (blog):" $@
41-
@echo "<h1>Blog</h1><ul>" > $@.mid
4246
@mv $(BLOG_LIST_FILE) $(BLOG_LIST_FILE).tmp
4347
@cat $(BLOG_LIST_FILE).tmp | sort -ur > $(BLOG_LIST_FILE)
4448
@rm $(BLOG_LIST_FILE).tmp
49+
@SSG_TITLE=$$(lowdown -X title $<); \
50+
m4 -DSSG_TITLE="$$SSG_TITLE" $(SRC_DIR)/_header.html > $@.header.html.tmp
51+
@lowdown -Thtml -o $@.tmp < $(SRC_DIR)/index.md
52+
@echo "<ul>" >> $@.mid
4553
@cat $(BLOG_LIST_FILE) | while read line; do \
4654
entry_date=$$(echo "$$line" | cut -f1); \
4755
title=$$(echo "$$line" | cut -f2); \
48-
echo "<li><a href=\"$$entry_date\">$$entry_date - $$title</a></li>"; \
56+
echo "<li><a href=\"/blog/$$entry_date\">$$entry_date - $$title</a></li>"; \
4957
done >> $@.mid
5058
@echo "</ul>" >> $@.mid
51-
@m4 -DSSG_TITLE="Blog" $(SRC_DIR)/_header.html > $@.header
52-
@cat $@.header $@.mid $(SRC_DIR)/_footer.html > $@
53-
@rm $@.header $@.mid
59+
@cat $@.header.html.tmp $@.tmp $@.mid $(SRC_DIR)/_footer.html > $@
60+
@rm $@.tmp $@.header.html.tmp $@.mid
5461

55-
$(DST_DIR)/blog/atom.xml: $(SRC_DIR)/blog/*/*.md
62+
$(DST_DIR)/atom.xml: $(SRC_DIR)/blog/*/*.md
5663
@echo "html (atom):" $@
5764
@echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>" > $@
5865
@echo "<feed xmlns=\"http://www.w3.org/2005/Atom\">" >> $@
5966
@echo "<title type=\"text\">$(SITE_TITLE)</title>" >> $@
6067
@echo "<updated>$$(head -n1 "$(BLOG_LIST_FILE)" | cut -f1)T00:00:00Z</updated>" >> $@
6168
@echo "<id>$(SITE_HTTPS_URL)blog/</id>" >> $@
6269
@echo "<author><name>$(SITE_TITLE)</name></author>" >> $@
63-
@echo "<link rel=\"alternate\" type=\"text/html\" href=\"$(SITE_HTTPS_URL)blog/\"/>" >> $@
64-
@echo "<link rel=\"self\" type=\"application/atom+xml\" href=\"$(SITE_HTTPS_URL)blog/atom.xml\"/>" >> $@
70+
@echo "<link rel=\"alternate\" type=\"text/html\" href=\"$(SITE_HTTPS_URL)\"/>" >> $@
71+
@echo "<link rel=\"self\" type=\"application/atom+xml\" href=\"$(SITE_HTTPS_URL)atom.xml\"/>" >> $@
6572
@cat $(BLOG_LIST_FILE) | while read line; do \
6673
entry_date=$$(echo "$$line" | cut -f1); \
6774
title=$$(echo "$$line" | cut -f2); \
@@ -77,7 +84,7 @@ $(DST_DIR)/blog/atom.xml: $(SRC_DIR)/blog/*/*.md
7784
done >> $@
7885
@echo "</feed>" >> $@
7986

80-
html: $(DSTS_HTML) $(DSTS_HTML_CPY) #$(DST_DIR)/blog/index.html $(DST_DIR)/blog/atom.xml
87+
html: startup $(DSTS_HTML) $(DSTS_HTML_CPY) $(DST_DIR)/index.html $(DST_DIR)/atom.xml
8188

8289
.PHONY: all clean html
8390

src/_header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>SSG_TITLE | Neotokyo; Rebuild</title>
7-
<link rel="alternate" href="/blog/atom.xml" type="application/atom+xml" title="Neotokyo; Rebuild blog atom feed">
7+
<link rel="alternate" href="/atom.xml" type="application/atom+xml" title="Neotokyo; Rebuild blog atom feed">
88
<link rel="stylesheet" href="/style.css">
99
<link rel="icon" href="/favicon.ico">
1010
</head>
1111
<body>
12-
<p><b>Neotokyo; Rebuild</b> - <a href="/">home</a> | <a href="/blog">blog</a> | <a href="/blog/atom.xml">atom</a></p>
12+
<p><b>Neotokyo; Rebuild</b> - <a href="/">home</a> | <a href="/atom.xml">atom</a></p>
1313
<hr>
1414

src/blog/2024-08-05/index.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
title: Pre-Alpha v7.0 and 7.1 Release Note
2+
summary: Release note for Neotokyo; Rebuild Pre-Alpha v7.0 and 7.1
3+
author: nullsystem
4+
5+
# Pre-Alpha v7.0 and 7.1 Release Note
6+
2024-08-05 nullsystem
7+
8+
* [Builds download](https://github.com/NeotokyoRebuild/neo/releases/tag/v7.1)
9+
10+
This is actually released 2 days ago, but here's the general overview of the
11+
changes that went in since v6.
12+
13+
## Major bug fixes
14+
* Fixed: nullptr dereference on `ClientModeHL2MPNormal::GetViewModelFOV`
15+
* Fixed: Dying/disconnection with ghost causing it to noclip through the ground
16+
* Fixed: HUD timer and states not being updated on new map change
17+
* Fixed: HUD not being updated on resolution change
18+
* Fixed: Duplicate weapon view models
19+
* Fixed: Team/Class/Loadout menu race condition
20+
21+
## Parity features
22+
* Damage modifiers
23+
* Bullet penetration
24+
* Hull/view offsets
25+
* Supa7 firerate
26+
* Coloring: Ghost caps, chat, and HUD
27+
* neuropol2 font used for kill feed
28+
* Ghost uplink + beacons
29+
* Allow ADS while changing weapons
30+
31+
## New features
32+
* Client vs server build integrity check
33+
* Distance/HP in friendly marker, removed old CTargetID HUD
34+
* Throwable keybinds
35+
* Steam and application icons
36+
37+
## Bind changes
38+
* New: Alternate binds for next/prev player spectating
39+
* `+specnextplayer`, `+specprevplayer`
40+
41+
## Convar changes
42+
* New: Integrity check server-side convars:
43+
* `neo_sv_build_integrity_check` - Toggle integrity check - Defaults: 1 (Enabled)
44+
* `neo_sv_build_integrity_check_allow_debug` - Toggle debug clients integrity checking bypass - Defaults: 0 (Disabled)
45+
* Note: Debug builds will have this enabled by default
46+
47+
## General bug fixes
48+
* First-person player fixes:
49+
* Crouch jitter
50+
* Stuck on walls/props while leaning
51+
* Spectator fixes:
52+
* Stuck lean 3p
53+
* Previous player button now maps to ADS (AKA defaults to RMB)
54+
* Death to spectator viewmodel
55+
* First-person HUD fixes
56+
* Hide HTA/ammo if observer
57+
* Ghost cap fixes: Round end state HUD
58+
* Chat color bug fixed with too long `neo_name`
59+
* Weapon fixes:
60+
* Grenade should now able to prime+throw on sprint
61+
* Supa7 removed side icons
62+
* Supa7 is now prevented from shooting while sprinting
63+
* Menu (AKA radio menu) fixed maximum 5s timeout
64+
* Damage info bumped to 60s timeout
65+
* Scoreboard: Fix spectator wrong column
66+
67+
## Infrastructure
68+
* GitHub actions now used for building Windows + Linux builds
69+
* Automatic release for master branch
70+

src/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
title: Home
22

33
# Neotokyo; Rebuild
4+
Neotokyo; Rebuild is a work in progress Source SDK 2013 mod of
5+
[NEOTOKYO](https://store.steampowered.com/app/244630/NEOTOKYO/).
6+
Builds are available for Windows and Linux on GitHub, the latest release is [Pre-Alpha v7.1](https://github.com/NeotokyoRebuild/neo/releases/tag/v7.1).
7+
8+
## Blog
49

0 commit comments

Comments
 (0)