Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ILSpyCmd path filter option request #3150

Open
taozhiyu opened this issue Jan 1, 2024 · 1 comment
Open

ILSpyCmd path filter option request #3150

taozhiyu opened this issue Jan 1, 2024 · 1 comment
Labels
Enhancement Areas for improvement

Comments

@taozhiyu
Copy link

taozhiyu commented Jan 1, 2024

Is your feature request related to a problem? Please describe.
I am trying to use ILSpyCmd to automate the extraction of specified content from unity code, so far everything is working great, but when I extract the code files I have to wait to write out all the files! And usually it would be close to 10 minutes.

For example, we use this command to decompile:

ilspycmd --disable-updatecheck -p -o path/in/temp Assembly-CSharp.dll

and we have to wait for almost 7-8 mins (in avarage)

Describe the solution you'd like
My be we can do it in an easier way:
Add an option to allow us to export only the files we need (as simple as extracting a single file from a zip with files)

so we can use it like this to create file in path a/b/c only:

# maybe use --filter:
ilspycmd --disable-updatecheck -p -o path/in/temp Assembly-CSharp.dll --filter a.b.c
# and (-f) in short, maybe:
ilspycmd --disable-updatecheck -p -o path/in/temp Assembly-CSharp.dll -f a.b.c

Additional context
Add any other context or screenshots about the feature request here.

@taozhiyu taozhiyu added the Enhancement Areas for improvement label Jan 1, 2024
@siegfriedpammer
Copy link
Member

If you know the fully-qualified name of the type you want to decompile, you can use the -toption, we could extend it to support globbing/regex...

@christophwille christophwille changed the title ILSpcCmd path filter option request ILSpyCmd path filter option request Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Areas for improvement
Projects
None yet
Development

No branches or pull requests

2 participants