Author Topic: Extract all SCI scripts as regular text file  (Read 1785 times)

0 Members and 1 Guest are viewing this topic.

Offline ZvikaZ

Extract all SCI scripts as regular text file
« on: May 06, 2020, 06:09:08 AM »
Hi.

Is there a tool to extract all SCI scripts as regular text files? (for example, to `grep` something in all of them)
I know I can open each script in SCICompanion, select all, copy, and paste in a new file.
But isn't there something that can do it once for all?

There is Tools -> Extract all resources, but it extract the scripts as binary patch files.

EDIT
===
I've explained my motivation in other post, with the specific use case that I need now.
However, I needed it also in the past, and was too lazy to ask ;-)
I think that it's useful, even if my specific use case now can be solved otherwise.

« Last Edit: May 06, 2020, 06:21:26 AM by ZvikaZ »



Offline Kawa

Re: Extract all SCI scripts as regular text file
« Reply #1 on: May 06, 2020, 08:00:14 AM »
Decompile, then grep through src/*.sc I'd say. That's where the decompiler puts it after all. 🤷

Offline ZvikaZ

Re: Extract all SCI scripts as regular text file
« Reply #2 on: May 06, 2020, 09:19:18 AM »
Decompile, then grep through src/*.sc I'd say. That's where the decompiler puts it after all. 🤷

Shame on me for not noticing that  ::)

Thanks

Offline Kawa

Re: Extract all SCI scripts as regular text file
« Reply #3 on: May 06, 2020, 10:37:49 AM »
Shaaame!


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.095 seconds with 22 queries.