关于Steam获取免费但锁国区的游戏

关于Steam获取免费但锁国区的游戏

十二月 19, 2020

正常情况如果使用国区去搜索可能找不到游戏结果或者是如下图无法入库:

r9L9gS.png

第一步:

复制游戏名字去SteamDB查询你需要入库的游戏复制他的SUBID(注意是Free On Demand一行的):

r9vAMT.png

第二步:

这时候我们需要挂科学上网(挂不锁的节点)在浏览器里登录steam然后任意添加一个游戏到购物车:

r9OeZd.png

第三步:

进入购物车并且点击右上角的:国家\地区 切换成你代理的地区

r9Otds.png

第四步:

不要购买,直接按下f12在控制台输入:

r9vNod.png

注意第13行需要把里面的数字替换成你在steamDB查询到的SUBID

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
(function () {
if (location.hostname !== 'store.steampowered.com') {
alert('Run this code on the Steam Store!');
return;
} else if (typeof jQuery !== 'function') {
ShowAlertDialog('Fail', 'This page has no jQuery, try homepage.');
return;
} else if (document.getElementById('header_notification_area') === null) {
ShowAlertDialog('Fail', 'You have to be logged in.');
return;
}

var freePackages = [0000000]; //《---这里数字替换成查询到的SUBID

var loaded = 0,
total = freePackages.length,
modal = ShowBlockingWaitDialog('Executing...', 'Please wait until all requests finish.');

for (var i = 0; i < total; i++) {
jQuery.post(
'//store.steampowered.com/checkout/addfreelicense', {
action: 'add_to_cart',
sessionid: g_sessionID,
subid: freePackages[i]
},
function (data) {
loaded++;

modal.Dismiss();

if (loaded === total) {
ShowAlertDialog('All done!', 'Enjoy.');
} else {
modal = ShowBlockingWaitDialog('Executing...', 'Loaded ' + loaded + '/' + total);
}
}
).fail(function () {
loaded++;

modal.Dismiss();

if (loaded === total) {
ShowAlertDialog('All done!', 'Enjoy.');
} else {
modal = ShowBlockingWaitDialog('Executing...', 'Loaded ' + loaded + '/' + total);
}
});
}



}());

如果出现这个弹窗就成功了然后你就发现这个游戏被添加进你的库了:

r9Xo90.png

最后

ENJOY:

r9v5lV.png