Coder Social home page Coder Social logo

cdtb's People

Contributors

bangingheads avatar benoitryder avatar crauzer avatar jjmaldonis avatar leagueofporo avatar leryss avatar moonshadow565 avatar morilli avatar petersil1998 avatar samguthrie avatar skarajic avatar stelar7 avatar theraphael0000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdtb's Issues

Unpack the bnk files

I‘m sorry to ask another bad question.
I try to find the script which controll the voices’s play.
Such as when a character meets another character,maybe they will conduct a dialogue.I found lots of json files,but it is useless,no script records which events should call which voices.
I hava to guess the scripts are in bnk flles which I can`t crack.
Like

assets\sounds\wwise2016\vo\zh_cn\characters\aatrox\skins\base\aatrox_base_vo_events.bnk

it is base on BKHD compressed format , I try to crack it ,but it failed. So , is there another files records the events ? if not ,how to crack the bnk files?
Thanks.

Receiving Forbidden during export

Hi,
I am trying to export the latest patch. However, the URL http://l3cdn.riotgames.com/releases/live/solutions/league_client_sln/releases/releaselisting is returning 403.

I am getting the same result when I'm trying to access that URL in a browser. Is the URL correct?

Thanks!

Full trace:

PS C:\MyProjects\CDTB> pipenv run python -m cdragontoolbox export latest
Traceback (most recent call last):
  File "C:\Users\PC\.pyenv\pyenv-win\versions\3.10.6\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\PC\.pyenv\pyenv-win\versions\3.10.6\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\MyProjects\CDTB\cdragontoolbox\__main__.py", line 500, in <module>
    main()
  File "C:\MyProjects\CDTB\cdragontoolbox\__main__.py", line 496, in main
    globals()[f"command_{args.command.replace('-', '_')}"](parser, args)
  File "C:\MyProjects\CDTB\cdragontoolbox\__main__.py", line 264, in command_export
    patch = storage.patch(None if args.patch == 'latest' else args.patch)
  File "C:\MyProjects\CDTB\cdragontoolbox\storage.py", line 318, in patch
    return next(it)
  File "C:\MyProjects\CDTB\cdragontoolbox\storage.py", line 302, in patches
    for _, group in itertools.groupby(self.patch_elements(stored=stored), key=lambda e: e.version):
  File "C:\MyProjects\CDTB\cdragontoolbox\rads.py", line 131, in patch_elements
    elem = peeker.peek()
  File "C:\MyProjects\CDTB\cdragontoolbox\rads.py", line 107, in peek
    self.cur = next(self.it)
  File "C:\MyProjects\CDTB\cdragontoolbox\rads.py", line 120, in gen_solution_elements
    for sv in solution.versions(stored=stored):
  File "C:\MyProjects\CDTB\cdragontoolbox\rads.py", line 196, in versions
    listing = self.storage.request_text(f"{self.path}/releaselisting").splitlines()
  File "C:\MyProjects\CDTB\cdragontoolbox\storage.py", line 234, in request_text
    r.raise_for_status()
  File "C:\Users\PC\.virtualenvs\CDTB-Cb147n_d\lib\site-packages\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://l3cdn.riotgames.com/releases/live/solutions/league_client_sln/releases/releaselisting

"Parser Error" when trying to download data

Hey guys

I've been trying to use your tool to download data.
I'm running on Ubuntu 16.04 64bits and have installed all the required dependencies, and all my packages are up to date. I'm using python 3.5.2

When launching python3 -m cdragontoolbox download patch= or python3 -m cdragontoolbox -h I get the following error

Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.5/runpy.py", line 144, in _get_module_details
code = loader.get_code(mod_name)
File "", line 767, in get_code
File "", line 727, in source_to_code
File "", line 222, in _call_with_frames_removed
File "/home/jn/Git/CDTB/cdragontoolbox/main.py", line 31
parser.error(f"invalid component: {component}")
^
SyntaxError: invalid syntax

Can you fix this ?

Thanks !

is there files record the hero's lines by words

you know ,after getting the heros lines from 'Champions' folder. I hava to cost several hours to rename those lines one by one even through its belong to a single hero.
so ,is there scipts record those lines in words.i don`t want to convert audio files to text any more....
thacks a lot.

FileNotFound when doing download

This is the first command listed in README under example. I have not changed anything in hand. It's just freshly cloned. FreeBSD 12.1 stable, Python 3.8.2.

$ python3 -m cdragontoolbox -v download -s patcher:cdn patch=
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/__main__.py", line 493, in <module>
    main()
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/__main__.py", line 489, in main
    globals()[f"command_{args.command.replace('-', '_')}"](parser, args)
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/__main__.py", line 81, in command_download
    for component in parse_component_args(parser, args.storage, args.component):
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/__main__.py", line 47, in parse_component_args
    return [e for c in components for e in parse_component_arg(parser, storage, c)]
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/__main__.py", line 47, in <listcomp>
    return [e for c in components for e in parse_component_arg(parser, storage, c)]
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/__main__.py", line 35, in parse_component_arg
    component = parse_storage_component(storage, component)
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/storage.py", line 476, in parse_storage_component
    patch = storage.patch(version)
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/storage.py", line 318, in patch
    return next(it)
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/storage.py", line 302, in patches
    for _, group in itertools.groupby(self.patch_elements(stored=stored), key=lambda e: e.version):
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/patcher.py", line 346, in patch_elements
    for release in self.iter_releases():
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/patcher.py", line 339, in iter_releases
    yield PatcherRelease(self, version)
  File "/Users/dikoyezhivotnoye/CDTB/cdragontoolbox/patcher.py", line 470, in __init__
    with open(self.storage.fspath(f"{self.storage_dir}/release.json")) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'cdn/cdn/cdtb/releases/live/1599329299/release.json'

There is a:

4       cdn/cdtb/releases/live/latest.timestamp
4       cdn/cdtb/releases/live/1599329299/release.json

I am not sure why it is looking for cdn/cdn instead of cdn/.

Questions for someone new

Short context: I'm trying to create an indicator on the character health bar (Like pyke, urgot and cho gath) for some ultimatums in the game (Like garen, darius or akali, which does increased damage according to the missing health of the target). I have 2 years in programming, but I only know that, programming. I was unzipping the LoL .wad.client but when I found the necessary files (Scripts.wad.client / data / characters / [pyke, chogath, urgot] They are the ones I rely on to create the indicator, and I certainly hope they are the files correct) I find that they have the extension "luabin, preload or luabin64", I have no idea what extensions those are, but searching I found this GitHub community that seems to be doing something similar to what I try

So, I want to know if someone can give me information about this community to know if I can help with something and also if someone can help me in anything, please.

Second edition: Well, reviewing, I see that you are the ones who leak information, it is an honor, I also found I knew how to find the game skins and I supposed that the same way it is in the PBE, by the way my name is Alexander and I speak Spanish (Much of this comes from Google Translate)

Caching structure should change

This is how the caching structure should change:

.cache/
 │ timestamp
 │ versions.json
 └─ tmp/
     │ LeagueClient0.0.0.0.exe
     │ LeagueClient0.0.0.1.exe
     │ ...
     └ LeagueClientn.n.n.n.exe

currently it's structured like this

.cache (should be renamed to timestamp.txt or timestamp)
versions.json
LeagueClient0.0.0.0.exe
LeagueClient0.0.0.1.exe
...
LeagueClientn.n.n.n.exe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.