Jump to content

Can't reinstall widescreen mod


Greenhorn

Recommended Posts

 

widescreen/backup/0/C#LC03lm.bmp, 4382 bytes

Copied [C#LC03lm.bmp] to [override/C#LC03lm.bmp]

[./override/C#LC03sr.bmp] loaded, 1770 bytes

override/C#LC03sr.bmp copied to widescreen/backup/0/C#LC03sr.bmp, 1770 bytes

Copied [C#LC03sr.bmp] to [override/C#LC03sr.bmp]

Creating 1 directory

Creating 1 directory

Copying and patching 1 file ...

 

ERROR locating resource for 'COPY'

Resource [C#LC03.tis] not found in KEY file:

[./chitin.key]

Stopping installation because of error.

Stopping installation because of error.

ERROR: [widescreen/areas] -> [widescreen] Patching Failed (COPY) (Failure("resource [C#LC03.tis] not found for 'COPY'"))

Stopping installation because of error.

Stopping installation because of error.

Well, the problem is likely related to whatever mod, as it is likely not adding the C#LC03.tis file to the game, while still referencing to it, as one of the areas that it does add "uses" that as it's tileset file.

Link to comment

Ouh, darn it, I found the probable cause of this ... it's in this file:
widescreen-v3.06.exe\widescreen\libsmall/patch.tpa
This is the whole code:

OUTER_PATCH_SAVE outDirAreas ~%source_res%~ BEGIN
	DELETE_BYTES (BUFFER_LENGTH - 1) 1
END
OUTER_SET $allOutDirAreas(EVALUATE_BUFFER "%outDirAreas%") = 1
MKDIR ~widescreen/temp~
MKDIR ~widescreen/temp/%outDirAreas%~

COPY_EXISTING ~%source_res%.tis~ ~widescreen/temp/%outDirAreas%~
	READ_LONG 0x08 cnt
	READ_LONG 0x0c tiles_len
	READ_LONG 0x10 off
	READ_LONG 0x14 tile_siz
	INSERT_BYTES off + cnt * tiles_len  tiles_len * xReq * (yReq - yMaxWed)
	INSERT_BYTES off + cnt * tiles_len  tiles_len * yMaxWed * (xReq - xMaxWed)
	WRITE_LONG 0x08 cnt + xReq * yReq - xMaxWed * yMaxWed

ACTION_IF FILE_EXISTS_IN_GAME ~%source_res%.mos~ BEGIN
	COPY_EXISTING ~%source_res%.mos~ ~override~
		READ_ASCII 0 sig (4)
		READ_SHORT 0x8 mosX
		READ_SHORT 0xa mosY
		EXTEND_MOS BOTTOM (mosY * yReq) / yMaxWed
		EXTEND_MOS RIGHT (mosX * xReq) / xMaxWed
		ACTION_IF ~%sig%~ STRING_COMPARE ~MOS ~ BEGIN
			PRINT @24
			FAIL @25
		END
END

The trouble is with the %source_res% ... as it might not be the same one in the .web file as it's .mos file and the .tis file. To fix it... eerrhhmm this goes way over my head, but probably the .web file needs to be read, to look out for the assigned actual .mos and .tis values ... and then append them instead of the samely named as the .web file. Not that I have any clues to know how to do that. As like I said... eerrhhmm this goes way over my head.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...