diff --git a/config.toml b/config.toml
index 3fd18f4..8131711 100644
--- a/config.toml
+++ b/config.toml
@@ -10,6 +10,7 @@ themeVariant = [ "relearn-light", "relearn-dark" ]
collapsibleMenu = true
disableLandingPageButton = true
disableShortcutsTitle=true
+disableNextPrev = true
custom_css = [ "css/custom.css", "css/compatibility.css" ]
[markup]
diff --git a/content/adapters/_index.md b/content/adapters/_index.md
index b073c35..ec663bb 100644
--- a/content/adapters/_index.md
+++ b/content/adapters/_index.md
@@ -1,6 +1,6 @@
---
title: "Adapters and hacks"
-weight: 3
+weight: 4
---
Besides the official compatibility, it is possible to use unofficial adapters, tools and hacks to use controllers with games which is unsupported officially.
diff --git a/content/compatibility/_index.md b/content/compatibility/_index.md
index 2fa1f74..ea41ea9 100644
--- a/content/compatibility/_index.md
+++ b/content/compatibility/_index.md
@@ -1,6 +1,6 @@
---
-title: "Software compatibility (WIP)"
-weight: 2
+title: "Compatibility chart"
+weight: 3
---
The following table lists the compatibility between each controller (first row) and each software (first column). Additional software compatible with the controllers is also listed. The column for the Multi Train Controller (MTC) specifies the supported cassettes. Scroll to the right to see the full table.
diff --git a/content/controllers/_index.md b/content/controllers/_index.md
index b1fc79d..9d3e50a 100644
--- a/content/controllers/_index.md
+++ b/content/controllers/_index.md
@@ -1,5 +1,5 @@
---
+chapter: true
title: "Controllers"
weight: 1
-alwaysopen: true
---
diff --git a/content/software/_index.md b/content/software/_index.md
new file mode 100644
index 0000000..13fb0c9
--- /dev/null
+++ b/content/software/_index.md
@@ -0,0 +1,4 @@
+---
+title: "Software"
+weight: 2
+---
diff --git a/content/software/pc/_index.md b/content/software/pc/_index.md
new file mode 100644
index 0000000..9c44eb3
--- /dev/null
+++ b/content/software/pc/_index.md
@@ -0,0 +1,3 @@
+---
+title: "PC"
+---
diff --git a/content/software/pc/bve/_index.md b/content/software/pc/bve/_index.md
new file mode 100644
index 0000000..310817f
--- /dev/null
+++ b/content/software/pc/bve/_index.md
@@ -0,0 +1,6 @@
+---
+title: "BVE Trainsim"
+weight: 1
+---
+
+{{% software-page "pc_bve" %}}
diff --git a/content/software/pc/openbve/_index.md b/content/software/pc/openbve/_index.md
new file mode 100644
index 0000000..bf37c25
--- /dev/null
+++ b/content/software/pc/openbve/_index.md
@@ -0,0 +1,6 @@
+---
+title: "OpenBVE"
+weight: 2
+---
+
+{{% software-page "pc_openbve" %}}
diff --git a/content/software/ps1/_index.md b/content/software/ps1/_index.md
new file mode 100644
index 0000000..077622f
--- /dev/null
+++ b/content/software/ps1/_index.md
@@ -0,0 +1,3 @@
+---
+title: "Sony PlayStation"
+---
diff --git a/content/games/ps1/densha/_index.md b/content/software/ps1/densha/_index.md
similarity index 54%
rename from content/games/ps1/densha/_index.md
rename to content/software/ps1/densha/_index.md
index 48690be..cfe51b4 100644
--- a/content/games/ps1/densha/_index.md
+++ b/content/software/ps1/densha/_index.md
@@ -3,4 +3,4 @@ title: "Densha de GO!"
weight: 1
---
-{{% game-page "ps1_densha" %}}
+{{% software-page "ps1_densha" %}}
diff --git a/content/software/ps1/densha2/_index.md b/content/software/ps1/densha2/_index.md
new file mode 100644
index 0000000..7bc658f
--- /dev/null
+++ b/content/software/ps1/densha2/_index.md
@@ -0,0 +1,6 @@
+---
+title: "Densha de GO! 2"
+weight: 2
+---
+
+{{% software-page "ps1_densha2" %}}
diff --git a/content/software/ps1/kisha/_index.md b/content/software/ps1/kisha/_index.md
new file mode 100644
index 0000000..8a47070
--- /dev/null
+++ b/content/software/ps1/kisha/_index.md
@@ -0,0 +1,6 @@
+---
+title: "Kisha de GO!"
+weight: 5
+---
+
+{{% software-page "ps1_kisha" %}}
diff --git a/content/software/ps1/nagoya/_index.md b/content/software/ps1/nagoya/_index.md
new file mode 100644
index 0000000..03cc76e
--- /dev/null
+++ b/content/software/ps1/nagoya/_index.md
@@ -0,0 +1,6 @@
+---
+title: "Densha de GO! Nagoya Tetsudōhen"
+weight: 4
+---
+
+{{% software-page "ps1_nagoya" %}}
diff --git a/content/software/ps1/pro/_index.md b/content/software/ps1/pro/_index.md
new file mode 100644
index 0000000..3fb3f7c
--- /dev/null
+++ b/content/software/ps1/pro/_index.md
@@ -0,0 +1,6 @@
+---
+title: "Densha de GO! Professional"
+weight: 3
+---
+
+{{% software-page "ps1_pro" %}}
diff --git a/content/software/wii/_index.md b/content/software/wii/_index.md
new file mode 100644
index 0000000..e2c74bc
--- /dev/null
+++ b/content/software/wii/_index.md
@@ -0,0 +1,3 @@
+---
+title: "Nintendo Wii"
+---
diff --git a/content/games/wii/shinkansen/_index.md b/content/software/wii/shinkansen/_index.md
similarity index 66%
rename from content/games/wii/shinkansen/_index.md
rename to content/software/wii/shinkansen/_index.md
index 4f625d9..bda94f7 100644
--- a/content/games/wii/shinkansen/_index.md
+++ b/content/software/wii/shinkansen/_index.md
@@ -3,4 +3,4 @@ title: "Densha de GO! Shinkansen EX San'yō Shinkansen-hen"
weight: 1
---
-{{% game-page "wii_shinkansen" %}}
+{{% software-page "wii_shinkansen" %}}
diff --git a/data/controllers.yml b/data/controllers.yml
index 1f711e5..7056912 100644
--- a/data/controllers.yml
+++ b/data/controllers.yml
@@ -1,23 +1,95 @@
+dgc255:
+ name: "One handle controller (PC)"
+ date: 2005-07-14
+ code: "DGC-255"
+ ref: "/controllers/usb/dgc255"
+
+dgoc44u:
+ name: "Two handle controller (PC)"
+ date: 2001-06-15
+ code: "DGOC-44U"
+ ref: "/controllers/usb/dgoc44u"
+
+dyc288:
+ name: "Ryojōhen controller (PC)"
+ date: 2005-12-01
+ code: "DYC-288"
+ ref: "/controllers/usb/dyc288"
+
+ohcpc01:
+ name: "Sangying one handle controller (PC)"
+ date: 2018-02-28
+ code: "OHC-PC01"
+ ref: "/controllers/usb/ohcpc01"
+
+sotp031201:
+ name: "Multi Train Controller (Sony PlayStation 2)"
+ date: 2003-12-18
+ code: "SOTP-031201"
+ ref: "/controllers/usb/sotp031201"
+
slph00051:
- name: "Two-handle controller (PlayStation)"
- date: 2007-03-01
+ name: "Two handle controller (Sony PlayStation)"
+ date: 1997-12-18
code: "SLPH-00051"
ref: "/controllers/classic/slph00051"
+tc5175290:
+ name: "Two handle controller (Sega Saturn)"
+ date: 1998-10-01
+ code: "TC-5175290"
+ ref: "/controllers/classic/tc5175290"
+
tcpp20001:
- name: "Single-handle controller (PlayStation)"
- date: 2007-03-01
+ name: "One handle controller (Sony PlayStation)"
+ date: 1999-03-18
code: "TCPP-20001"
ref: "/controllers/classic/tcpp20001"
tcpp20002:
- name: "Mamecon controller (PlayStation)"
- date: 2007-03-01
+ name: "Mamecon (Sony PlayStation)"
+ date: 1999-03-11
code: "TCPP-20002"
ref: "/controllers/classic/tcpp20002"
+tcpp20003:
+ name: "Two handle controller (Nintendo 64)"
+ date: 1999-07-30
+ code: "TCPP-20003"
+ ref: "/controllers/classic/tcpp20003"
+
+tcpp20004:
+ name: "Two handle controller (Sega Dreamcast)"
+ date: 2000-01-20
+ code: "TCPP-20004"
+ ref: "/controllers/classic/tcpp20004"
+
+tcpp20009:
+ name: 'Two handle controller "Type 2" (Sony PlayStation 2)'
+ date: 2001-03-15
+ code: "TCPP-20009"
+ ref: "/controllers/usb/tcpp20009"
+
+tcpp20011:
+ name: "Shinkansen controller (Sony PlayStation 2)"
+ date: 2001-09-20
+ code: "TCPP-20011"
+ ref: "/controllers/usb/tcpp20011"
+
+tcpp20014:
+ name: "Ryojōhen controller (Sony PlayStation 2)"
+ date: 2002-07-25
+ code: "TCPP-20014"
+ ref: "/controllers/usb/tcpp20014"
+
tcpp20017:
- name: "Shinkansen controller (Wii)"
+ name: "Shinkansen controller (Nintendo Wii)"
date: 2007-03-01
code: "TCPP-20017"
ref: "/controllers/wii/tcpp20017"
+
+zkns001:
+ name: "One handle controller (Nintendo Switch)"
+ date: 2021-08-05
+ code: "ZKNS-001"
+ ref: "/controllers/usb/zkns001"
diff --git a/data/games.yml b/data/games.yml
deleted file mode 100644
index 2f40f5a..0000000
--- a/data/games.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-ps1_densha:
- name: "Densha de GO!"
- namejp: "電車でGO!"
- date: 1997-12-18
- code: "SCPS-45166"
- controllers:
- - model: slph00051
- - model: tcpp20001
- - model: tcpp20002
-
-wii_shinkansen:
- name: "Densha de GO! Shinkansen EX San'yō Shinkansen-hen"
- namejp: "電車でGO!新幹線EX 山陽新幹線編"
- date: 2007-03-01
- code: "RVL-P-RG4J"
- cover: "wii_shinkansen.jpg"
- controllers:
- - model: tcpp20017
diff --git a/data/software.yml b/data/software.yml
new file mode 100644
index 0000000..b8568a1
--- /dev/null
+++ b/data/software.yml
@@ -0,0 +1,94 @@
+ps1_densha:
+ name: "Densha de GO!"
+ namejp: "電車でGO!"
+ date: 1997-12-18
+ code: "SCPS-45166"
+ controllers:
+ - model: slph00051
+ - model: tcpp20001
+ - model: tcpp20002
+
+ps1_densha2:
+ name: "Densha de GO! 2"
+ namejp: "電車でGO!2"
+ date: 1999-03-18
+ code: "SLPM-86142"
+ controllers:
+ - model: slph00051
+ - model: tcpp20001
+ - model: tcpp20002
+
+ps1_pro:
+ name: "Densha de GO! Professional"
+ namejp: "電車でGO!プロフェッショナル仕様"
+ date: 1999-12-09
+ code: "SLPM-86378"
+ controllers:
+ - model: slph00051
+ - model: tcpp20001
+ - model: tcpp20002
+
+ps1_nagoya:
+ name: "Densha de GO! Nagoya Tetsudōhen"
+ namejp: "電車でGO!名古屋鉄道編"
+ date: 2000-01-27
+ code: "SLPM-86424"
+ controllers:
+ - model: slph00051
+ - model: tcpp20001
+ - model: tcpp20002
+
+ps1_kisha:
+ name: "Kisha de GO!"
+ namejp: "汽車でGO!"
+ date: 2000-03-23
+ code: "SLPM-86449"
+ controllers:
+ - model: slph00051
+ - model: tcpp20001
+ - model: tcpp20002
+
+wii_shinkansen:
+ name: "Densha de GO! Shinkansen EX San'yō Shinkansen-hen"
+ namejp: "電車でGO!新幹線EX 山陽新幹線編"
+ date: 2007-03-01
+ code: "RVL-P-RG4J"
+ cover: "wii_shinkansen.jpg"
+ controllers:
+ - model: tcpp20017
+
+pc_bve:
+ name: "BVE Trainsim"
+ date: 2011-09-05
+ url: "https://bvets.net/en/"
+ notes: "Compatibility applies to version 5 or later"
+
+pc_openbve:
+ name: "OpenBVE"
+ date: 2009-03-23
+ url: "https://openbve-project.net/"
+ notes: "Compatibility applies to version 1.8.2 or later"
+ controllers:
+ - model: dgoc44u
+ - model: dgc255
+ - model: dyc288
+ - model: ohcpc01
+ - model: slph00051
+ notes: "Requires USB adapter and calibration."
+ - model: sotp031201
+ partial: yes
+ notes: "Only P5/B8 cassette."
+ - model: tc5175290
+ notes: "Requires USB adapter and calibration."
+ - model: tcpp20001
+ notes: "Requires USB adapter and calibration."
+ - model: tcpp20002
+ notes: "Requires USB adapter and calibration."
+ - model: tcpp20003
+ notes: "Requires USB adapter and calibration."
+ - model: tcpp20004
+ notes: "Requires USB adapter and calibration."
+ - model: tcpp20009
+ - model: tcpp20011
+ - model: tcpp20014
+ - model: zkns001
diff --git a/layouts/shortcodes/game-page.html b/layouts/shortcodes/game-page.html
deleted file mode 100644
index d09f772..0000000
--- a/layouts/shortcodes/game-page.html
+++ /dev/null
@@ -1,36 +0,0 @@
-## Game details
-
-
-
- {{ if (index .Site.Data.games (.Get 0)).cover}} {{ end }} |
- Name |
- {{ (index .Site.Data.games (.Get 0)).name }} |
-
-
- Japanese name |
- {{ (index .Site.Data.games (.Get 0)).namejp }} |
-
-
- Release date |
- {{ (index .Site.Data.games (.Get 0)).date | time.Format ":date_long" }} |
-
-
- Serial code |
- {{ (index .Site.Data.games (.Get 0)).code }} |
-
-
-
-## Controller compatibility
-
-
-
- Model |
- Notes |
-
- {{ range (index .Site.Data.games (.Get 0)).controllers }}
-
- {{ (index $.Site.Data.controllers .model).code }}: {{ (index $.Site.Data.controllers .model).name }} |
- {{ .notes }} |
-
- {{ end }}
-
diff --git a/layouts/shortcodes/software-page.html b/layouts/shortcodes/software-page.html
new file mode 100644
index 0000000..daaf3f4
--- /dev/null
+++ b/layouts/shortcodes/software-page.html
@@ -0,0 +1,52 @@
+## Software details
+
+
+
+ {{ if (index .Site.Data.software (.Get 0)).cover}} {{ end }} |
+ Name |
+ {{ (index .Site.Data.software (.Get 0)).name }} |
+
+ {{ if (index .Site.Data.software (.Get 0)).namejp }}
+
+ Japanese name |
+ {{ (index .Site.Data.software (.Get 0)).namejp }} |
+
+ {{ end }}
+
+ Release date |
+ {{ (index .Site.Data.software (.Get 0)).date | time.Format ":date_long" }} |
+
+ {{ if (index .Site.Data.software (.Get 0)).code }}
+
+ Serial code |
+ {{ (index .Site.Data.software (.Get 0)).code }} |
+
+ {{ end }}
+ {{ if (index .Site.Data.software (.Get 0)).url }}
+
+ Website |
+ {{ (index .Site.Data.software (.Get 0)).url }} |
+
+ {{ end }}
+
+ Notes |
+ {{ (index .Site.Data.software (.Get 0)).notes }} |
+
+
+
+## Supported controllers
+
+
+
+ Model |
+ Support |
+ Notes |
+
+ {{ range (index .Site.Data.software (.Get 0)).controllers }}
+
+ {{ (index $.Site.Data.controllers .model).code }}: {{ (index $.Site.Data.controllers .model).name }} |
+ {{ if .unofficial }}Unofficial{{ else if .partial }}Partial{{ else }}Native{{ end }} |
+ {{ .notes }} |
+
+ {{ end }}
+
diff --git a/static/css/compatibility.css b/static/css/compatibility.css
index 6b3f778..ca748d6 100644
--- a/static/css/compatibility.css
+++ b/static/css/compatibility.css
@@ -2,6 +2,6 @@ table #native {
background-color: rgba(189,233,186,.35);
}
-table #adapter {
+table #partial {
background-color: rgba(255,215,140,.35);
}