Author Topic: SCI Companion V3 - alpha build notes/bugs/feature requests  (Read 447298 times)

0 Members and 1 Guest are viewing this topic.

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #960 on: November 17, 2021, 01:31:56 PM »
I could do that and add a checkbox that makes DecompileDialog::_AssignFilenames() always shrug and return n47 or whatever. Which is not as easy as I just made it sound.

Or I can remind you that after it auto-assigns "Obj", you can click the script item in the decompiler's list and rename it there. This will affect Obj.sc, Obj.sco, and 999.scr. It will not rename the Obj class itself.

Offline MusicallyInspired

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #961 on: November 18, 2021, 01:14:18 AM »
Of course, it's just a bit more manual labour. :P
But fair enough.

EDIT: But also, this was a feature that was already there that has since been removed. Why? There used to be a "Reset Filenames" button in the decompilation process window. Sometimes there are so many scripts that need to be renamed.
« Last Edit: November 18, 2021, 09:50:07 AM by MusicallyInspired »
Brass Lantern Prop Competition

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #962 on: December 07, 2021, 05:40:19 PM »
There used to be a "Reset Filenames" button in the decompilation process window.
You mean this "Reset Filenames" button that does exactly what the on-screen documentation says, giving them "meaningful names based upon their contents"?

By the way, while I was messing with a temporary hack involving escape "chutes", I realized the "substitute text tuples" checkbox didn't actually do anything. Turns out somewhere down the line it ignored that value and just went with false. So guess what?

Offline MusicallyInspired

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #963 on: December 07, 2021, 09:24:40 PM »
I must have been on something when I posted this. And mostly taking my friend's word for it. Don't mind me.  ;D Sorry about the confusion.
Brass Lantern Prop Competition

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #964 on: December 08, 2021, 08:56:41 AM »
No worries, it made an excellent segue into announcing that the text tuples checkbox works now.

Offline MusicallyInspired

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #965 on: December 08, 2021, 09:23:33 AM »
Which is great news!
Brass Lantern Prop Competition

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #966 on: December 08, 2021, 03:31:20 PM »
Yeah I mean it doesn't do the thing where "these strings" are replaced by text resource tuples when you compile, which makes round-tripping a disaster waiting to happen but it certainly makes the things more readable.

Offline doomlazer

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #967 on: December 08, 2021, 10:12:46 PM »
There used to be a "Reset Filenames" button in the decompilation process window.
You mean this "Reset Filenames" button that does exactly what the on-screen documentation says, giving them "meaningful names based upon their contents"?

By the way, while I was messing with a temporary hack involving escape "chutes", I realized the "substitute text tuples" checkbox didn't actually do anything. Turns out somewhere down the line it ignored that value and just went with false. So guess what?

The filenames seem to get reset when decompiling scripts even if the "Reset filenames" button wasn't pressed in SC 3.2.3.2. Is that a bug?


Edit:
Well, I guess it does say that right there in the description. Sorry, the behavior is different in 3.0.1.7 which threw me.
VVVVVV
« Last Edit: December 09, 2021, 11:10:44 AM by doomlazer »

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #968 on: December 09, 2021, 09:10:58 AM »
The filenames seem to get reset when decompiling scripts even if the "Reset filenames" button wasn't pressed in SC 3.2.3.2. Is that a bug?
Says so in the Decompiler window:
Quote
Start with "Reset filenames" to give scripts meaningful names based upon their contents (or this will be done automatically upon first decompile if no script filenames have been set yet).

Offline gumby

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #969 on: February 11, 2022, 08:32:32 AM »
I've run into this issue a couple of times, but previously hesitated to report it as it's pretty tough to reproduce.  I'm getting an error on compilation of my game "Error enumerating items: Corrupt resource header - mismatched types."  For context, I was working on modifying a script - no other resource manipulation activities.

Game is SCI 1.1, I'm running version 3.2.3.2, Kawa's build.

EDIT: The quick-fix for this was to discard my resource file and map and recompile everything, which was viable for me because I hadn't introduced any other resources since my last commit.
« Last Edit: February 11, 2022, 09:26:46 AM by gumby »
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Kawa

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #970 on: February 11, 2022, 02:08:13 PM »
Interesting. Good thing it has quick fix though, but too bad it requires no other changes or you lose stuff.

By the way, 3.2.4 has been out for a few months now. Who knows?

Offline Collector

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #971 on: February 11, 2022, 03:41:03 PM »
Not that it would be a viable solution, but can treating resources as patches still cause the same error?
KQII Remake Pic

Offline gumby

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #972 on: February 11, 2022, 05:43:52 PM »
Interesting. Good thing it has quick fix though, but too bad it requires no other changes or you lose stuff.

By the way, 3.2.4 has been out for a few months now. Who knows?
Thanks, just downloaded.

Not that it would be a viable solution, but can treating resources as patches still cause the same error?
I would think that would work, yeah.  If I continue to have problems I'll go that route.  In fact, maybe I should just do that anyway, would make versioning easier.
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Collector

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #973 on: February 11, 2022, 08:15:09 PM »
I would think that would work, yeah.  If I continue to have problems I'll go that route.  In fact, maybe I should just do that anyway, would make versioning easier.

Might be a good plugin for companion. I did that backup program for the old companion. Perhaps something modified like that with versioning in mind rather than just backup. Something that could work from Companion's Plugin folder. Maybe if I get a little bit of time to look into it. It would be nice if Companion had some command line options or flags for some of its functions like packing/extracting resources, map manipulation, exporting/importing, etc. that an external program (specifically a plugin) could call. Sadly, my C++ skills to add such flags are next to nonexistent.
KQII Remake Pic

Offline gumby

Re: SCI Companion V3 - alpha build notes/bugs/feature requests
« Reply #974 on: February 11, 2022, 08:21:43 PM »
I think it's already built-in functionality under Properties?  "Manage resources as patch files (good for source control)"
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition


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

Page created in 0.039 seconds with 22 queries.