Author Topic: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999  (Read 529 times)

0 Members and 1 Guest are viewing this topic.

Offline L@Zar0

Hi,

I need to import a resource View over 999. This is the spanish resource for menus, buttons, graphical texts, number 1040. I think this resource for other languages goes over this number also. But I get this warning when importing it in that number:



How can I import the resource in that number? The own game has even resources over 999. I understand that SCI0 has 999 as limit and SCI1.1 has 65535. But KQ5 CD is SCI1.0. So...

I could change the version of SCI in SCI Companion, but I don't know if it will break anything and I will be able to accomplish this goal.

Well, any help would be appreciated.



Offline Kawa

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #1 on: November 18, 2024, 09:07:58 AM »
You cannot just change the version number, there are too many internal differences between each version.

What you can do is import your Spanish view 1040 to simply replace 999. That's perfectly safe, especially if each loop and cel in the view matches up to the original.

Offline L@Zar0

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #2 on: November 18, 2024, 09:30:18 AM »
Yes, changing the version to SCI1.1 can not even reload the game. xD

Ok. I thought as an alternative changing the view for the english one (946), or put it in an inexistant number, like it could be 999 and then, change in scripts 1040 for 999.

But I want to maintain the english version, as I will try to leave the game with english/spanish subtitles. So I will need number 946 for that menu. I could change then 1040 for 999, but I would like to leave the original game numbers as they are. In fact, for strange that it seems, this version of the game (GOG) of KQ5 CD, has the menu for German language, which is 1026. But it is not even used. I would like to use spanish though. But as I have not resource 1040, I can not even test it. xD I can not even do a patch if I use DosBox, for example.

I will try to hack SCI Companion for accept at least a number greater than 999... if I have not another choice, like a resource tool, as resource viewer, but with the feature to add new resources.

Offline L@Zar0

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #3 on: November 18, 2024, 10:12:53 AM »
Ok, now is possible:  ;)



Put the limit in 1999 (the last resource number existant in Views).

Apart of this, I have another question, if needed I will open a new thread, but well, let's see if you can help here. I've done in SCI Companion the option "Tools->Rebuild resources", to delete all the duplicated resources. I had until now RESOURCES.000 (about 580kb) and RESOURCES.001 (about 16Mb). But after doing that rebuild, it has left a RESOURCES.000 file with 16Mb. How can I rebuild the resources in the same resource files?

Offline Kawa

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #4 on: November 18, 2024, 10:34:00 AM »
You can't. That's not what Rebuild Resources does.

Offline L@Zar0

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #5 on: November 18, 2024, 10:45:35 AM »
Well, that is what it says here:

https://scicompanion.com/Documentation/intro.html#adding-new-resources

So, I used it for do that (delete duplicated resources), but it has left me only 1 resource file.

Offline Kawa

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #6 on: November 18, 2024, 10:47:20 AM »
Yes. That's what Rebuild Resources does. Primarily, it removes duplicates that build up from saving your changes a lot, and secondarily it compacts everything down to one volume. Because on diskette-based games, there's a lot of duplication.

Offline L@Zar0

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #7 on: November 18, 2024, 10:51:05 AM »
Ok, so it rebuilds all in only one RESOURCE.000 file. I must be confident that it will work well, right?

Offline Kawa

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #8 on: November 18, 2024, 11:06:02 AM »
The engine handles disk management, it'll work.

Offline L@Zar0

Re: [KQ5 CD][SCI Companion 3.0.1.7] Importing a resource view over 999
« Reply #9 on: November 18, 2024, 11:30:55 AM »
Ok, thank you very much. :)


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

Page created in 0.036 seconds with 23 queries.