Source code of https://dos.zczc.cz
$ pip3 install flask
在根目录下执行
$ git submodule update --init --recursive --remote && python3 ./static/games/download_data.py
在根目录下执行
$ python3 app.py
🌐 Source code of https://dos.zczc.cz
Home Page: https://dos.zczc.cz
License: GNU General Public License v3.0
Source code of https://dos.zczc.cz
$ pip3 install flask
在根目录下执行
$ git submodule update --init --recursive --remote && python3 ./static/games/download_data.py
在根目录下执行
$ python3 app.py
下载下来的全是3k多的文件,游戏本体无法下载。
你好
請問一下我在玩
大宋英豪之岳飛傳
第15關高寵走到大本營怎麼沒有過關?
在本地搭建完毕之后,发现对比 https://dos.zczc.cz/ 来说,存档功能似乎是不具有的。
我可以理解项目需要有差别这样才能得到维护网站的基础捐赠。
以后作者会考虑commit基础的存档功能吗?
如题
Python 3.6下 没法下载游戏。
轩辕剑2沒有音樂唷
bug 描述
bug 的描述
玩过三国志英杰传 仙剑 皇帝
之前好好的,今天只有皇帝的存档还在。英杰传和仙剑的存档都不见了,回到了初始第一次玩的状态
如何重现
如何重现这个 bug
未知
预期情况
你预期的正常情况
存档正常读取
截图
bug 的截图
系统环境
操作系统: OSX 10.13.6
浏览器:Chrome Version 71.0.3578.98 (Official Build) (64-bit)
游戏:三国英杰传 仙剑 皇帝
dos.zczc.cz打不开了
Widows:
git submodule update --init --recursive --remote && python3 ./static/games/download_data.py
git bash this command , it led to :
fatal: not a git repository (or any of the parent directories): .git
for your help sincerely :D
1、fork 还是直接下载,得到的game 文件下都是空的,此时只能从老的https://github.com/rwv/chinese-dos-games 把 download_data.py个 games.json下下来复制到game 文件夹。需要修正
2、运行游戏下载脚本,因为上面那个问题,download_data.py里的地址需要修正:
change chinese-dos-games-web/static/games/download_data.py
PREFIX = "https://dos.zczc.cz/static/gamedates/" to
PREFIX = "https://dos.zczc.cz/static/games/bin/"
#1 (comment)
3、下载的游戏数量一下子过多了……600多MB……需要提醒
4、玩游戏的时候……注意还是网页全屏好,把鼠标指针焦点要注意下。
Any way to customize the language or add my own games?
看示意站点有虚拟键盘呀 求分享
新增用户登录并保存游戏进度怎么样
首页里的游戏是完全遍历games.json的,另外也没有游戏列表链接哈,(和网站上相比)
我想架在自己NAS上面,如何去修改监听端口?
使用的是Firefox 63.0.1的版本,操作系统是Manjaro 18
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 563, in error
result = self._call_chain(*args)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 543, in _open
'_open', req)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 1362, in https_open
context=self._context, check_hostname=self._check_hostname)
File "C:\Users\Myst\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 1321, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'dos_bin.zczc.cz'. (_ssl.c:1076)>
我改用下面的方法可以解決
r = requests.get(url)
# open method to open a file on your system and write the contents
with open(file, "wb") as code:
code.write(r.content)
进入vi download_data.py 查看 PREFIX = “https://dos.zczc.cz/static/bin/” 也是这个目录
但是就是无法进入游戏
执行git submodule update --init --recursive --remote && python3 ./static/games/download_data.py 命令后,就如下图,显示正在downloading,但是bin里没有任何文件
我 clone 下來的與 https://dos.zczc.cz/ 中很多功能不一樣.
另外請問安卓可以使用手柄嗎?
如题,因为大部分人不会每个游戏都玩。
所有游戏都是如此,游戏下载也都正常(所有游戏大小都是3.4K)
❯ python3 app.py
* Serving Flask app "app" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 260-433-637
127.0.0.1 - - [02/Mar/2021 14:57:57] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [02/Mar/2021 14:57:59] "GET /games/仙剑奇侠传/ HTTP/1.1" 200 -
127.0.0.1 - - [02/Mar/2021 14:58:18] "GET /games/ HTTP/1.1" 200 -
127.0.0.1 - - [02/Mar/2021 14:58:20] "GET /games/YAB棒球/ HTTP/1.1" 200 -
127.0.0.1 - - [02/Mar/2021 14:58:20] "GET /games/YAB棒球/logo/emularity_color_small.png HTTP/1.1" 301 -
127.0.0.1 - - [02/Mar/2021 14:58:20] "GET /static/games/bin/YAB棒球.zip HTTP/1.1" 200 -
127.0.0.1 - - [02/Mar/2021 14:58:28] "GET /games/ HTTP/1.1" 200 -
127.0.0.1 - - [02/Mar/2021 14:58:39] "GET /games/魔域传奇:史特卡的财宝1.2/ HTTP/1.1" 200 -
127.0.0.1 - - [02/Mar/2021 14:58:40] "GET /games/魔域传奇:史特卡的财宝1.2/logo/emularity_color_small.png HTTP/1.1" 301 -
127.0.0.1 - - [02/Mar/2021 14:58:40] "GET /static/games/bin/魔域传奇:史特卡的财宝1.2.zip HTTP/1.1" 200 -
您好,很喜欢您的项目,按照readme进行操作,最后一步$ python3 app.py后 服务器提示
访问服务器ip或者ip:5000均无法访问,请教有没有更详细的步骤?
py38
--trusted-host mirrors.aliyun.com --index-url http://mirrors.aliyun.com/pypi/simple/
Flask==1.0
itsdangerous==0.24
markupsafe<2.1.0
werkzeug==2.0.1
jinja2==2.11.3
好了 把手機模式改成桌面模式就可以了...
想学习存档和载入是怎么实现的
After running the downloading command
git submodule update --recursive --remote && git submodule update --recursive --remote && python3 ./static/games/download_data.py
there's no game data download to project /static/games/bin folder
Can't play without game data.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.