nosklo / cemu_utils Goto Github PK
View Code? Open in Web Editor NEWUseful code to deal with cemu configs and files
License: GNU Lesser General Public License v3.0
Useful code to deal with cemu configs and files
License: GNU Lesser General Public License v3.0
I get an error reading "failed to execute script upd_cemu" when I try to launch it I have tried removing and re-adding the program but it doesn't help
Not sure how this works. ?
Graphic pack makers have split the graphic packs into common and uncommon resolutions.
Program defaults to uncommon and doesn't work properly anymore.
Would love to see an update, program has been really solid otherwise!
I use res.txt and upd-cemu.exe. Successfully downloaded but the specific resolution is not unpacked.
2018-05-14 20:45:15,203: INFO upd_cemu(538) Initializing version beta2 (frozen)
2018-05-14 20:45:15,203: DEBUG upd_cemu(520) Command line: ['C:\Users\domin\Desktop\Cemu 1.12.0D\upd_cemu.exe']
2018-05-14 20:45:15,203: INFO upd_cemu(215) Reading config from 'C:\Users\domin\Desktop\Cemu 1.12.0D\upd_cemu.json'
2018-05-14 20:45:15,203: WARNING upd_cemu(220) Error reading config file
Traceback (most recent call last):
File "upd_cemu.py", line 217, in read_config
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\domin\Desktop\Cemu 1.12.0D\upd_cemu.json'
2018-05-14 20:45:15,204: INFO upd_cemu(551) New config generated!
2018-05-14 20:45:15,204: DEBUG upd_cemu(553) Config: {'cemu_path': 'C:\Users\domin\Desktop\Cemu 1.12.0D', 'download_dir': 'C:\Users\domin\Desktop\Cemu 1.12.0D', 'delete_downloads': True, 'resolution_file': 'C:\Users\domin\Desktop\Cemu 1.12.0D\res.txt', 'resolutions': set(), 'last_graphic_packs': None, 'last_cemuhook': None, 'keep_dir': 'C:\Users\domin\Desktop\Cemu 1.12.0D\vault', 'gameid_list': {'000500001010EC00', '00050000101C9400'}, 'exec_cemu': True, 'extra_params': [], 'fullscreen': True, 'update_gameid_list': True, 'command_line_args': Namespace(config='C:\Users\domin\Desktop\Cemu 1.12.0D\upd_cemu.json', game=None, game_compat=None, mlc=None)}
2018-05-14 20:45:15,204: WARNING upd_cemu(397) Error reading resolutions from 'C:\Users\domin\Desktop\Cemu 1.12.0D\res.txt'
2018-05-14 20:45:15,204: INFO upd_cemu(427) No change in resolutions.
2018-05-14 20:45:15,204: DEBUG upd_cemu(95) Searching for games in 'C:\Users\domin\Desktop\Cemu 1.12.0D\mlc01'
2018-05-14 20:45:15,204: DEBUG upd_cemu(413) Games changed: {'000500001010EC00', '00050000101C9400'}
2018-05-14 20:45:15,204: DEBUG upd_cemu(72) Requesting last zip information from github...
2018-05-14 20:45:15,348: ERROR upd_cemu(572) Fatal Error in main
Traceback (most recent call last):
File "urllib\request.py", line 1318, in do_open
File "http\client.py", line 1239, in request
File "http\client.py", line 1285, in _send_request
File "http\client.py", line 1234, in endheaders
File "http\client.py", line 1026, in _send_output
File "http\client.py", line 964, in send
File "http\client.py", line 1400, in connect
File "ssl.py", line 407, in wrap_socket
File "ssl.py", line 814, in init
File "ssl.py", line 1068, in do_handshake
File "ssl.py", line 689, in do_handshake
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "upd_cemu.py", line 555, in
File "upd_cemu.py", line 455, in detect_changes
File "upd_cemu.py", line 438, in detect_changes_zip_pack
File "upd_cemu.py", line 73, in get_latest_pack_name_url
File "urllib\request.py", line 223, in urlopen
File "urllib\request.py", line 526, in open
File "urllib\request.py", line 544, in _open
File "urllib\request.py", line 504, in _call_chain
File "urllib\request.py", line 1361, in https_open
File "urllib\request.py", line 1320, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)>
2018-05-14 20:45:15,348: CRITICAL upd_cemu(573) Flushing log to file 'C:\Users\domin\Desktop\Cemu 1.12.0D\upd_cemu_crashlog.txt'
I have a cmd that stays open when executing cemu.exe, and it closes when cemu.exe is closed, with upd_cemu I corrected an error that was generated with cemu the truth, but now the cmd is closed when cemu.exe starts.
It really is not a mistake, but it would be great if it could be solved.
Otherwise what you have created is really amazing!
Excuse my bad English
2018-03-09 14:30:39,885: INFO upd_cemu(538) Initializing version beta2 (frozen)
2018-03-09 14:30:39,885: DEBUG upd_cemu(520) Command line: ['C:\\cemu_1.11.5\\upd_cemu.exe', 'C:\\Users\\fekwinten\\Desktop\\Breath of the Wild + CEMU 1.7.3 D\\The Legend of Zelda Breath of the Wild (1.33)\\code\\U-King.rpx']
2018-03-09 14:30:39,886: INFO upd_cemu(215) Reading config from 'C:\\cemu_1.11.5\\upd_cemu.json'
2018-03-09 14:30:39,886: DEBUG upd_cemu(553) Config: {'cemu_path': 'C:\\Users\\fekwinten\\Desktop\\cemu_1.11.5', 'download_dir': 'C:\\Users\\fekwinten\\Desktop\\cemu_1.11.5', 'delete_downloads': True, 'resolution_file': 'C:\\Users\\fekwinten\\Desktop\\cemu_1.11.5\\res.txt', 'resolutions': set(), 'last_graphic_packs': 'graphicPacks_2-786.zip', 'last_cemuhook': None, 'keep_dir': 'C:\\Users\\fekwinten\\Desktop\\cemu_1.11.5\\vault', 'gameid_list': set(), 'exec_cemu': True, 'extra_params': [], 'fullscreen': True, 'update_gameid_list': True, 'command_line_args': Namespace(config='C:\\cemu_1.11.5\\upd_cemu.json', game='C:\\Users\\fekwinten\\Desktop\\Breath of the Wild + CEMU 1.7.3 D\\The Legend of Zelda Breath of the Wild (1.33)\\code\\U-King.rpx', game_compat=None, mlc=None)}
2018-03-09 14:30:39,886: WARNING upd_cemu(397) Error reading resolutions from 'C:\\Users\\fekwinten\\Desktop\\cemu_1.11.5\\res.txt'
2018-03-09 14:30:39,886: INFO upd_cemu(427) No change in resolutions.
2018-03-09 14:30:39,886: DEBUG upd_cemu(95) Searching for games in 'C:\\Users\\fekwinten\\Desktop\\cemu_1.11.5\\mlc01'
2018-03-09 14:30:39,886: DEBUG upd_cemu(413) Games changed: set()
2018-03-09 14:30:39,887: DEBUG upd_cemu(72) Requesting last zip information from github...
2018-03-09 14:30:41,308: INFO upd_cemu(445) No change in repository download name
2018-03-09 14:30:41,308: INFO upd_cemu(83) Downloading 'https://github.com/slashiee/cemu_graphic_packs/releases/download/appveyor786/graphicPacks_2-786.zip'
2018-03-09 14:30:41,351: DEBUG selector_events(65) Using selector: SelectSelector
2018-03-09 14:30:43,612: ERROR upd_cemu(572) Fatal Error in main
Traceback (most recent call last):
File "upd_cemu.py", line 555, in <module>
File "upd_cemu.py", line 455, in detect_changes
File "upd_cemu.py", line 449, in detect_changes_zip_pack
File "upd_cemu.py", line 86, in download_pack
File "upd_cemu.py", line 188, in urlretrieve
File "asyncio\base_events.py", line 467, in run_until_complete
File "upd_cemu.py", line 158, in _download
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\fekwinten\\Desktop\\cemu_1.11.5\\graphicPacks_2-786.zip.incomplete'
2018-03-09 14:30:43,612: CRITICAL upd_cemu(573) Flushing log to file 'C:\\cemu_1.11.5\\upd_cemu_crashlog.txt'
Set up the tool for CEMU 1.11.4 and it worked without issues (that I know of), but since I saw that CEMU 1.11.5 got released a few days ago i downloaded it and set it up.
I changed the .rpx file to use upd_cemu.exe in the 1.11.5 folder but it opened CEMU 1.11.4 even though the path in the .json file is going to CEMU 1.11.5 folder
{ "cemu_path": "D:\\Games\\CEMU\\cemu_1.11.4", "download_dir": "D:\\Games\\CEMU\\cemu_1.11.4", "delete_downloads": true, "resolution_file": "D:\\Games\\CEMU\\cemu_1.11.4\\res.txt", "resolutions": [ [ 1920, 1080 ], [ 1280, 720 ] ], "last_graphic_packs": "graphicPacks_2-786.zip", "last_cemuhook": null, "keep_dir": "D:\\Games\\CEMU\\cemu_1.11.4\\vault", "gameid_list": [ "00050000101C9500" ], "exec_cemu": true, "extra_params": [], "fullscreen": true, "update_gameid_list": true }
2018-05-15 15:14:58,136: INFO upd_cemu(538) Initializing version beta2 (frozen)
2018-05-15 15:14:58,137: DEBUG upd_cemu(520) Command line: ['E:\Games\Cemu_1.12.0\upd_cemu.exe']
2018-05-15 15:14:58,137: INFO upd_cemu(215) Reading config from 'E:\Games\Cemu_1.12.0\upd_cemu.json'
2018-05-15 15:14:58,138: WARNING upd_cemu(220) Error reading config file
Traceback (most recent call last):
File "upd_cemu.py", line 217, in read_config
FileNotFoundError: [Errno 2] No such file or directory: 'E:\Games\Cemu_1.12.0\upd_cemu.json'
2018-05-15 15:14:58,138: INFO upd_cemu(551) New config generated!
2018-05-15 15:14:58,138: DEBUG upd_cemu(553) Config: {'cemu_path': 'E:\Games\Cemu_1.12.0', 'download_dir': 'E:\Games\Cemu_1.12.0', 'delete_downloads': True, 'resolution_file': 'E:\Games\Cemu_1.12.0\res.txt', 'resolutions': set(), 'last_graphic_packs': None, 'last_cemuhook': None, 'keep_dir': 'E:\Games\Cemu_1.12.0\vault', 'gameid_list': {'0005000010143600'}, 'exec_cemu': True, 'extra_params': [], 'fullscreen': True, 'update_gameid_list': True, 'command_line_args': Namespace(config='E:\Games\Cemu_1.12.0\upd_cemu.json', game=None, game_compat=None, mlc=None)}
2018-05-15 15:14:58,138: WARNING upd_cemu(397) Error reading resolutions from 'E:\Games\Cemu_1.12.0\res.txt'
2018-05-15 15:14:58,138: INFO upd_cemu(427) No change in resolutions.
2018-05-15 15:14:58,138: DEBUG upd_cemu(95) Searching for games in 'E:\Games\Cemu_1.12.0\mlc01'
2018-05-15 15:14:58,138: DEBUG upd_cemu(413) Games changed: {'0005000010143600'}
2018-05-15 15:14:58,138: DEBUG upd_cemu(72) Requesting last zip information from github...
2018-05-15 15:14:58,393: ERROR upd_cemu(572) Fatal Error in main
Traceback (most recent call last):
File "urllib\request.py", line 1318, in do_open
File "http\client.py", line 1239, in request
File "http\client.py", line 1285, in _send_request
File "http\client.py", line 1234, in endheaders
File "http\client.py", line 1026, in _send_output
File "http\client.py", line 964, in send
File "http\client.py", line 1400, in connect
File "ssl.py", line 407, in wrap_socket
File "ssl.py", line 814, in init
File "ssl.py", line 1068, in do_handshake
File "ssl.py", line 689, in do_handshake
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "upd_cemu.py", line 555, in
File "upd_cemu.py", line 455, in detect_changes
File "upd_cemu.py", line 438, in detect_changes_zip_pack
File "upd_cemu.py", line 73, in get_latest_pack_name_url
File "urllib\request.py", line 223, in urlopen
File "urllib\request.py", line 526, in open
File "urllib\request.py", line 544, in _open
File "urllib\request.py", line 504, in _call_chain
File "urllib\request.py", line 1361, in https_open
File "urllib\request.py", line 1320, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)>
2018-05-15 15:14:58,394: CRITICAL upd_cemu(573) Flushing log to file 'E:\Games\Cemu_1.12.0\upd_cemu_crashlog.txt'
When i enter 480p in res.txt , it didn't install 480p graphic pack.
It doesn't seem to matter if I write 1080p or 1920x1080 in the res.txt file, the program always downloads and unpacks every resolution into my graphic packs folder.
I've made sure that the json file has the correct path to Cemu and the res file. I've also tried manually inputting the resolutions I want with quotations around it in the resolutions
line with no luck.
Am I doing something wrong or is this a bug?
My json file:
"cemu_path": "C:\\Users\\maxim\\Documents\\cemu",
"download_dir": "C:\\Users\\maxim\\Documents\\cemu",
"delete_downloads": true,
"resolution_file": "C:\\Users\\maxim\\Documents\\cemu\\res.txt",
"resolutions": [],
"last_graphic_packs": "graphicPacks_2-876.zip",
"last_cemuhook": null,
"keep_dir": "C:\\Users\\maxim\\Documents\\cemu\\vault",
"gameid_list": [
"0005000010146000",
"0005000010145C00",
"0005000010137F00",
"000500001014B700",
"0005000010162500",
"0005000010143500",
"000500001018DC00",
"00050000101C9500",
"000500001010EC00",
"000500001019E500",
"0005000010176900"
],
"exec_cemu": true,
"extra_params": [],
"fullscreen": true,
"update_gameid_list": true
My res.txt file:
'1080p'
Request for adding of the ability to remove shaders by hash or offset to enable removing shaders with link or compile errors
The first release was working perfectly on my system but when I tried the beta2 eveytime it opens it has a appcrash with the fault:
Faulting application name: upd_cemu.exe, version: 0.0.0.0, time stamp: 0x5a2e9f14
Faulting module name: api-ms-win-crt-environment-l1-1-0.dll, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80000003
Fault offset: 0x0000000000001100
Faulting process id: 0x1004
Faulting application start time: 0x01d3b307ac5810cf
No updates to VC Redist x86 or x64 have been made since using the first release.
I even removed all the VC installs and reinstalled them as well as if any updates on Windows Update.
Opening game titles using upd-cemu.exe no longer opens cemu 1.12.0. The executable doesn't even launch cemu by itself anymore
I noticed that I wasn't able to load a shader cache generated by Cemu 1.19.1, so I looked into it a bit and saw that it uses a new magic number: 0x8371B696.
Do you have access to the new specification? It appears that removing the assert doesn't cause any problems, but there must be some reason why they bumped the magic number.
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.