Opened 15 years ago

Closed 15 years ago

Last modified 6 years ago

#8980 closed patch

FOA: unique filename for IQ-points file

Reported by: SF/tobigun Owned by: fingolfin
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Indiana Jones 4

Description

Quote from fingolfin (tracker item 1687041): * Right now, we use the filename "iq-points" (or "iq-punkte" in the german * version, and probably others in other languages) verbatim, as given to use * by the engine. We really should internally translate this to * TARGET-iq-points instead. So far, it wasn't so important since the IQ point * system didn't work properly. But as soon as we fix it, we should take care * of that, too.

This patch simply checks if the filename in o5_roomOps SO_LOAD_STRING/SO_SAVE_STRING starts with "iq-". If so, the filename "[_targetName].iq" is used. As Indy3 already uses the ".iq" file-ending this might be more consistent.

This works with the English and German version of FOA but might fail with the Kanji version.

As the episode IQ is stored in a savegame and the series IQ is calculated whenever a savegame is loaded, the full series IQ should be available by repeating the following procedure for each savegame: 1. load savegame 2. press 'i' (adds current episode to series IQ)

Ticket imported from: #2674880. Ticket imported from: patches/1085.

Attachments (1)

iq-filename.patch (1.4 KB ) - added by SF/tobigun 15 years ago.

Download all attachments as: .zip

Change History (4)

by SF/tobigun, 15 years ago

Attachment: iq-filename.patch added

comment:1 by fingolfin, 15 years ago

Thanks for your patch! I just commited a slightly modified version.

comment:2 by fingolfin, 15 years ago

Owner: set to fingolfin
Status: newclosed

comment:3 by digitall, 6 years ago

Component: Engine: SCUMM
Game: Indiana Jones 4
Note: See TracTickets for help on using tickets.