Amathayela · bei.pm
Amafomethi edokhumenti achazwe kule ndawo asuselwa ekuhlaziyweni kwezobuchwepheshe kobunikazi bokwakha be-Dynamix, Inc. kanye ne-Sierra Entertainment.
Ubunikazi bokwakha manje sebuye ingxenye ye-Activision Publishing, Inc.- / Activision Blizzard, Inc. futhi manje kuphathwa yi-Microsoft Corp..
Ulwazi luqoqwe ngokuqhuba Reverse Engineering kanye Datenanalyse ngenhloso yokugcinwa futhi kuhlanganyela nedatha yomlando.
Amazwibela okwakha angama-proprietary noma afihlekile awasetshenziswanga.
Umdlalo manje ungathengwa ku-gog.com njengokulanda.
I-Adr | x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | ubcharacter | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0000 | 50 | 42 | 4d | 50 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | P | B | M | P | . | . | . | . | . | . | . | . | . | . | . | . |
I-Offset | Uhlobo lwedatha | Igama leDatha | Incazelo |
---|---|---|---|
0x0000 | uint(32) | Iziphumo Zobuciko | |
0x0004 | uint(24) | Ubude bebhlogo | |
0x0007 | uint(8) | Amabhande |
I-Tiles yizifomathi ze-Bitmap ezikhethekile ze-Outpost-2. Zihlanganisa ama-Tilesets angu-13, abizwa ngokuthi "wells" (well0000.bmp
kuya ku-well0012.bmp
), ezitholakala ngaphakathi kwe-volumu maps.vol.
I-Tilesets / Wells ziqukethe lokhu okulandelayo:
Igama lefayela | Okuqukethwe |
---|---|
well0000.bmp | Umfanekiso omncane ongu-32x32px, oluhlaza - ufaneleka kahle njengezivivinyo zokuthi ingabe i-image-loader yakho iyasebenza |
well0001.bmp | Uqukethe litha eliphakeme, izintaba eziphakeme phezulu kwelitha eliphakeme kanye nezinhlobonhlobo ezingenamkhawulo zeziqhumane ezitholakala nelitha eliphakeme |
well0002.bmp | Uqukethe 'Doodads' lwe-litha eliphakeme - izakhi ezilungele ukuhlinzeka (noma ngokuqondile njengokwakhiwa, njengezindonga) ezitholakala nelitha eliphakeme, kuhlanganisa nevegetation |
well0003.bmp | Uqukethe isakhiwo esifana ne-crust phezulu kwelitha eliphakeme |
well0004.bmp | Uqukethe litha elinsomi, izintaba eziphakeme phezulu kwelitha elinsomi kanye nezinhlobonhlobo ezingenamkhawulo zeziqhumane ezitholakala nelitha elinsomi |
well0005.bmp | Uqukethe 'Doodads' lwe-litha elinsomi - izakhi ezilungele ukuhlinzeka (noma ngokuqondile njengokwakhiwa, njengezindonga) ezitholakala nelitha elinsomi |
well0006.bmp | Uqukethe isakhiwo esifana ne-crust phezulu kwelitha elinsomi, kanye nezinguquko phakathi kwelitha eliphakeme nelinsomi |
well0007.bmp | Uqukethe i-lava kuhlanganiswe nezithombe ezingu-4-5 zokunyakaza kwayo |
well0008.bmp | Uqukethe is sand nezinhlobonhlobo ezingenamkhawulo zeziqhumane ezitholakala esandleni |
well0009.bmp | Uqukethe 'Doodads' zesand - izakhi ezilungele ukuhlinzeka (noma ngokuqondile njengokwakhiwa, njengezindonga) ezitholakala esandleni |
well0010.bmp | Uqukethe izinguquko eziyi-48 ukusuka esandleni kuya kwelitha eliphakeme nelinsomi |
well0011.bmp | Uqukethe ama-Polar Caps eMap, ane litha elinsomi njengesisekelo |
well0012.bmp | Uqukethe ama-Polar Caps eMap, ane litha eliphakeme njengesisekelo |
Kuyasiza ukuhlela kahle, ukuthi amaTiles angakanyathelwa ngaphambi kokuba abekwe ekhadini, ngoba idatha yokujikeleza kosuku/nokuhlwa isadinga ukulungiswa - futhi kuzodingeka idatha eningi kakhulu.
AmaTiles angama-8bpp-grafiki anepalethi eyindekade, ayisigaba esingu-32x32 pixel, ahlelwe ngokuqondile. Kodwa kwiTileset enjalo, kungaba khona okungaphezulu
I-Container eyinhloko iqukethe izingxenye ezi-2: head
kanye data
.
Isihloko Sezitshalo
I-Adr | x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | ubcharacter | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0000 | 68 | 65 | 61 | 64 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | h | e | a | d | . | . | . | . | . | . | . | . | . | . | . | . |
0x0010 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . |
I-Offset | Uhlobo lwedatha | Igama leDatha | Incazelo |
---|---|---|---|
0x0000 | uint(32) | Iziphumo Zobuciko | |
0x0004 | uint(24) | Ubude bebhlogo | |
0x0007 | uint(8) | Amabhande | |
0x0008 | uint(32) | Inguqulo / Amabhanoyi? | Lokhu kungaba yinkomba ye-versions ye-format yefayela; kuyo yonke imibhalo enginayo, le ndlela ibonise inani |
0x000c | uint(32) | Ububanzi (Ukuxazulula Okuhorizontali) | Kukhombisa ukuthi ububanzi befayela lesithombe bungakanani (ngamaphikseli). Kwezozulu zonke ze-Outpost 2, kulindeleke ukuthi inani |
0x0010 | uint(32) | Ukuphakama (Ukuxazululwa Okujolile) | Ikhombisa ukuthi ubude bokuqhafaza bunjani (ku-pixel). Kuwo wonke ama-Wells we-Outpost 2, kulindeleke ukuthi inani |
0x0014 | uint(32) | Ubunzima bemibala? | Incazelo yaleli nani ayaziwa. Njengoba linalo inani elingu |
0x0018 | uint(32) | Ubukhulu bombala 2? | Incazelo yaleli nani ayaziwa. Kungenzeka ukuthi kuyinto 'yemibala' ejulile. |
Ngokwalokhu, kuzolandela ifayela lepalethi elitholakala kufomat ye-RIFF evunyelwe. Ukucaciswa okunembile kutholakala - njengoba ama-palethi ephuma nakwezinye izindawo - ngaphansi kwe Amapalethi.
Idatha yeTiles
I-Adr | x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | ubcharacter | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0000 | 64 | 61 | 74 | 61 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | d | a | t | a | . | . | . | . | . | . | . | . | . | . | . | . |
I-Offset | Uhlobo lwedatha | Igama leDatha | Incazelo |
---|---|---|---|
0x0000 | uint(32) | Iziphumo Zobuciko | |
0x0004 | uint(24) | Ubude bebhlogo | |
0x0007 | uint(8) | Amabhande |
Ukuze kube sekupheleni, sekuphume izithombe ze-pixel ezicacile, zisuka phezulu kwesobunxele ziye phansi kwesokudla.
Ikhodi yedatha kumagrafu avamise ukuba ama-8bpp-bitmaps ihambisana ne-index yombala ku-palette yombala.
i-Game Engine ibonisa ama-Tiles *mhlawumbe* on-demand.
Lokhu kubonakala kuxhumene, phakathi kokunye, ne-cycle ye-day-night, enezigaba eziyi-32 zama-Tiles ahlukene. Kubonakala ukuthi kuthathwa 'kancane' kumazinga okukhanya. Amanani anembile awakatholakala, ngisebenza ngokusekelwe ekubalwa
v *= (daylight / 48) + 0.25;
nge-HSV data ye-pixels, lapho i-daylight ingu-0-31 futhi i-v ingu-0-1. Ukuze kwenziwe kahle, kufanele kuqashelwe ukuthi emaphandleni kukhona umngcele we-Tiles eziyi-16 ngakwesokunxele nasokudla (lokhu kusetshenziselwa ukufaka ama-units engabonakali).
Okwengeziwe, i-cycle ye-day-night ibonakala ivuselela isikhala esisodwa se-map ngokuqhubekayo.
I-cycle ye-day-night esheshayo ibukeka kanje: