Difference between revisions of "Development:Game data"
From PCGamingWiki, the wiki about fixing PC games
(reworded Proton note) |
(imported improvements from live) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{#var:use form}}|<h2 class="Game_data">Game data</h2>}}{{{images|}}}{{#if:{{{config data|}}}|<h3 {{#if: {{#var:use form}}|class="Game_data"}}>Configuration file(s) location</h3> | <includeonly>{{#if: {{#var:use form}}|<h2 class="Game_data">Game data</h2>}}{{{images|}}}{{#if:{{{config data|}}}|<h3 {{#if: {{#var:use form}}|class="Game_data"}}>Configuration file(s) location</h3> | ||
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-gamedata"> | <div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-gamedata"> | ||
− | <tr class="template-infotable-head"> | + | <tr class="template-infotable-head table-gamedata-head-row"> |
− | <th scope="col" style="width: 230px;">System</th> | + | <th scope="col" style="width: 230px;" class="table-gamedata-head-system">System</th> |
− | <th scope="col" style="width: 590px;">Location</th> | + | <th scope="col" style="width: 590px;" class="table-gamedata-head-location">Location</th> |
</tr> | </tr> | ||
{{{config data}}} | {{{config data}}} | ||
{{#if:{{#var:steam appid}}| | {{#if:{{#var:steam appid}}| | ||
{{#if:{{#var:Proton}}||{{#vardefine:notes|yes}} | {{#if:{{#var:Proton}}||{{#vardefine:notes|yes}} | ||
− | <tr class="template-infotable-body"> | + | <tr class="template-infotable-body table-gamedata-body-row"> |
− | <th scope="row">Linux ({{abbr|Proton|Steam Windows version running through Steam Play Proton wrapper}})</th> | + | <th scope="row" class="table-gamedata-body-system">Linux ({{abbr|Proton|Steam Windows version running through Steam Play Proton wrapper}})</th> |
− | <td><span class="template-infotable-monospace">{{p|Steam}}/steamapps/compatdata/{{abbr|{{#var:steam appid}}|app ID may differ in some cases}}/pfx/</span>{{#tag:ref|File/folder structure within this directory reflects the path(s) listed for [[#Game data|Windows and/or Steam game data]] (use [https://wiki.winehq.org/Regedit Wine regedit] to access Windows registry paths). Games with [[Store:Steam#Steam Cloud|Steam Cloud]] support may store data in <code>~/.steam/steam/userdata/{{p|uid}}/{{abbr|{{#var:steam appid}}|app ID may differ in some cases|template=yes}}/</code> in addition to or instead of this directory. The app ID ({{#var:steam appid}}) may differ in some cases. Treat backslashes as forward slashes. See the [[Glossary:Game data#Windows data paths|glossary page]] for details.|name="Proton path note"|group=Note}}</td> | + | <td class="table-gamedata-body-location"><span class="template-infotable-monospace">{{p|Steam}}/steamapps/compatdata/{{abbr|{{#var:steam appid}}|app ID may differ in some cases}}/pfx/</span>{{#tag:ref|File/folder structure within this directory reflects the path(s) listed for [[#Game data|Windows and/or Steam game data]] (use [https://wiki.winehq.org/Regedit Wine regedit] to access Windows registry paths). Games with [[Store:Steam#Steam Cloud|Steam Cloud]] support may store data in <code>~/.steam/steam/userdata/{{p|uid}}/{{abbr|{{#var:steam appid}}|app ID may differ in some cases|template=yes}}/</code> in addition to or instead of this directory. The app ID ({{#var:steam appid}}) may differ in some cases. Treat backslashes as forward slashes. See the [[Glossary:Game data#Windows data paths|glossary page]] for details.|name="Proton path note"|group=Note}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 20: | Line 20: | ||
-->{{#if:{{{save data|}}}|<h3 {{#if: {{#var:use form}}|class="Game_data"}}>Save game data location</h3> | -->{{#if:{{{save data|}}}|<h3 {{#if: {{#var:use form}}|class="Game_data"}}>Save game data location</h3> | ||
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-gamedata"> | <div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-gamedata"> | ||
− | <tr class="template-infotable-head"> | + | <tr class="template-infotable-head table-gamedata-head-row"> |
− | <th scope="col" style="width: 230px;">System</th> | + | <th scope="col" style="width: 230px;" class="table-gamedata-head-system">System</th> |
− | <th scope="col" style="width: 590px;">Location</th> | + | <th scope="col" style="width: 590px;" class="table-gamedata-head-location">Location</th> |
</tr> | </tr> | ||
{{{save data}}} | {{{save data}}} | ||
{{#if:{{#var:steam appid}}| | {{#if:{{#var:steam appid}}| | ||
{{#if:{{#var:Proton}}||{{#vardefine:notes|yes}} | {{#if:{{#var:Proton}}||{{#vardefine:notes|yes}} | ||
− | <tr class="template-infotable-body"> | + | <tr class="template-infotable-body table-gamedata-body-row"> |
− | <th scope="row">Linux ({{abbr|Proton|Steam Windows version running through Steam Play Proton wrapper}})</th> | + | <th scope="row" class="table-gamedata-body-system">Linux ({{abbr|Proton|Steam Windows version running through Steam Play Proton wrapper}})</th> |
− | <td><span class="template-infotable-monospace">{{p|Steam}}/steamapps/compatdata/{{abbr|{{#var:steam appid}}|app ID may differ in some cases}}/pfx/</span>{{#tag:ref|File/folder structure within this directory reflects the path(s) listed for [[#Game data|Windows and/or Steam game data]] (use [https://wiki.winehq.org/Regedit Wine regedit] to access Windows registry paths). Games with [[Store:Steam#Steam Cloud|Steam Cloud]] support may store data in <code>~/.steam/steam/userdata/{{p|uid}}/{{abbr|{{#var:steam appid}}|app ID may differ in some cases|template=yes}}/</code> in addition to or instead of this directory. The app ID ({{#var:steam appid}}) may differ in some cases. Treat backslashes as forward slashes. See the [[Glossary:Game data#Windows data paths|glossary page]] for details.|name="Proton path note"|group=Note}}</td> | + | <td class="table-gamedata-body-location"><span class="template-infotable-monospace">{{p|Steam}}/steamapps/compatdata/{{abbr|{{#var:steam appid}}|app ID may differ in some cases}}/pfx/</span>{{#tag:ref|File/folder structure within this directory reflects the path(s) listed for [[#Game data|Windows and/or Steam game data]] (use [https://wiki.winehq.org/Regedit Wine regedit] to access Windows registry paths). Games with [[Store:Steam#Steam Cloud|Steam Cloud]] support may store data in <code>~/.steam/steam/userdata/{{p|uid}}/{{abbr|{{#var:steam appid}}|app ID may differ in some cases|template=yes}}/</code> in addition to or instead of this directory. The app ID ({{#var:steam appid}}) may differ in some cases. Treat backslashes as forward slashes. See the [[Glossary:Game data#Windows data paths|glossary page]] for details.|name="Proton path note"|group=Note}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 36: | Line 36: | ||
{{{save data notes}}}}}}} | {{{save data notes}}}}}}} | ||
{{#if:{{{1|}}}{{{content|}}}|<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-gamedata"> | {{#if:{{{1|}}}{{{content|}}}|<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-gamedata"> | ||
− | <tr class="template-infotable-head"> | + | <tr class="template-infotable-head table-gamedata-head-row"> |
− | <th scope="col" style="width: 230px;">System</th> | + | <th scope="col" style="width: 230px;" class="table-gamedata-head-system">System</th> |
− | <th scope="col" style="width: 590px;">Location</th> | + | <th scope="col" style="width: 590px;" class="table-gamedata-head-location">Location</th> |
</tr> | </tr> | ||
{{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
</table></div>}}{{#if:{{{config data|}}}{{{config data notes|}}}{{{save data|}}}{{{save data notes|}}}{{{1|}}}{{{content|}}}||{{ii}} ''No game data information; you can [[Special:FormEdit/Game data/{{FULLPAGENAME}}|edit this page]] to add it.''[[Category:Invalid template usage (Game data)]]}}</includeonly><noinclude>{{documentation}}</noinclude> | </table></div>}}{{#if:{{{config data|}}}{{{config data notes|}}}{{{save data|}}}{{{save data notes|}}}{{{1|}}}{{{content|}}}||{{ii}} ''No game data information; you can [[Special:FormEdit/Game data/{{FULLPAGENAME}}|edit this page]] to add it.''[[Category:Invalid template usage (Game data)]]}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 00:24, 20 March 2019
Documentation for the above template (sometimes hidden from view).
Visit Development:Game data/Documentation to edit this text. (How does this work?)