Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Johannes

Pages: [1]
1
Mega Tokyo SCI Archive / Resource map -> SCI Version detection
« on: January 06, 2003, 08:06:52 AM »
Good day
\=-\=\=-\
I dont know if the is the correct forum to ask but here goes. I want to know what the criteria is for validating that a resource.map file is in the SCI0 version of the SCI file format. As I have looked at the SCI Studio code and it confuses me in LoadResourceMap procedure on Line : 1428 in the rexplorer.cpp file. Where the if statement that looks as follows :
//====== START SNIP ========/
    if(ResourceMapData[0]&0x80&&ResourceMapData[3]&0x80&&ResourceMapData[6]&0x80
       &&ResourceMapData[9]&0x80&&ResourceMapData[12]&0x80&&ResourceMapData[16]&0x80
       &&ResourceMapData[20]) {
//====== END SNIP ========/

Occording to this the default resource.map file must not be a valid file as the 0 and 3 entry of the file is 0, thus resulting in a FALSE.  Can somebody please give me some clarity on this please.

Thanks in Advance

Johannes Pretorius


Pages: [1]

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

Page created in 0.043 seconds with 21 queries.