Taitara · bei.pm

I tukuna i te 19.11.2015·I whakahouhia i te 13 o 02, 2025·Māori
I whakamaoritia tēnei tuhinga e te OpenAI GPT-4o Mini.

Ko ngā hōputu kōnae e whakahuahia ana i tēnei whārangi e pā ana ki te tātaritanga hangarau o ngā rawa hinengaro nā Dynamix, Inc. me Sierra Entertainment.
Ko te rawa hinengaro he wāhanga nō te Activision Publishing, Inc.- / Activision Blizzard, Inc.-rahi, ā, kei te pātea i Microsoft Corp. i tēnei wā.

I kohia ngā mōhiohio mā te Reverse Engineering me te Datenanalyse hei whakaritenga mō te pānui me te whakawhanaketanga i ngā raraunga hītori.
Kāore i whakamahia he whakaritenga rangatōpū, he whakaritenga huna rānei.

Ka taea te hoko i te kēmu i tēnei wā i gog.com hei tā downloads.

Adr x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF herenga
0x0000 50 42 4d 50 -- -- -- -- -- -- -- -- -- -- -- -- P B M P . . . . . . . . . . . .
Tāwhāinga Momo kōrero Tūtohu Whakamārama
0x0000 uint(32) Ngā Pātū Pākiki
0x0004 uint(24) Te roa o te pātea
0x0007 uint(8) Tūāhua

Ko ngā Tiles he pātea-2-āhuatanga Bitmap-Whakaahua hōputu. Ka toro ki ngā 13 Tilesets, "wells" te ingoa (well0000.bmp ki well0012.bmp), e noho ana i roto i te tūātea maps.vol.

I reira, kei roto i ngā Tilesets / Wells ngā mea e whai ake nei:

Ingoa kōnae Ngā Ihirangi
well0000.bmp He whakaahua kikorangi 32x32px te rahi - pai hei whakamātau mēnā e pai ana tō kaiwhakarato whakaahua
well0001.bmp He kohinga pōtae mā, ngā maunga i runga i ngā pōtae mā me ngā momo rerekē o ngā pātea puia i runga i ngā pōtae mā
well0002.bmp He kohinga 'Doodads' pōtae mā - ā, he wāhanga e taea ana te whakatakoto hei whakatikatika (nāna, hei hanga, pērā i ngā pari) ki runga i ngā pōtae mā, tae atu ki te rākau
well0003.bmp He kohinga hanganga paraharaha i runga i ngā pōtae mā
well0004.bmp He kohinga pōtae pango, ngā maunga i runga i ngā pōtae pango me ngā momo rerekē o ngā pātea puia i runga i ngā pōtae pango
well0005.bmp He kohinga 'Doodads' pōtae pango - ā, he wāhanga e taea ana te whakatakoto hei whakatikatika (nāna, hei hanga, pērā i ngā pari) ki runga i ngā pōtae pango
well0006.bmp He kohinga hanganga paraharaha i runga i ngā pōtae pango, tae atu ki ngā whakawhitinga i waenga i ngā pōtae mā me ngā pōtae pango
well0007.bmp He kohinga lava me ngā whakaahua 4-5 o te nekehanga
well0008.bmp He kohinga oneone me ngā momo rerekē o ngā pātea puia i runga i te oneone
well0009.bmp He kohinga 'Doodads' oneone - ā, he wāhanga e taea ana te whakatakoto hei whakatikatika (nāna, hei hanga, pērā i ngā pari) ki runga i te oneone
well0010.bmp He 48 ngā whakawhitinga i waenga i te oneone me ngā pōtae mā me ngā pōtae pango
well0011.bmp He kohinga o ngā ākau polar o te Map, me ngā pōtae pango hei papa
well0012.bmp He kohinga o ngā ākau polar o te Map, me ngā pōtae mā hei papa

He mea nui kia kaua e whakarewa i ngā tiles i mua, hei pupuri i ngā raraunga, nā te mea me mahi tonu i ngā raraunga mō te huringa o te rā me te pō - ā, ka nui rawa atu ngā raraunga ka puta.

Ko ngā tiles he whakaahua 8bpp me te pātea rārangi ngā rārangi 32x32 pikitia, ā, kua whakarārangitia i raro i te tahi. I roto i tētahi tāpiritanga o ngā tiles, ka taea te whai i te nui atu o ngā mea.

Ko te ipu matua he 2 ngā wāhanga: head me data.

Te Pūtake Pātea

Adr x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF herenga
0x0000 68 65 61 64 -- -- -- -- -- -- -- -- -- -- -- -- h e a d . . . . . . . . . . . .
0x0010 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- . . . . . . . . . . . . . . . .
Tāwhāinga Momo kōrero Tūtohu Whakamārama
0x0000 uint(32) Ngā Pātū Pākiki
0x0004 uint(24) Te roa o te pātea
0x0007 uint(8) Tūāhua
0x0008 uint(32) Putanga / Tūtohu?

Ka taea pea hei tohu mō te putanga o te kōnae; i roto i ngā kōnae katoa i te mea kei a au, ko te uara i tū mai ko te 0x02

0x000c uint(32) Whānui (Te whakaritenga hōrapa)

Ka whakamaharatia te whanui o te kōnae whakaahua (i ngā pika).

I ngā puna katoa o Outpost 2, ka tūmanakohia te uara 0x20 rānei 32.

0x0010 uint(32) Teitei (Whakaū i te Pūtahi)

Whakamārama mai i te teitei o te whakaahua (i ngā piksel).

I ngā well katoa o Outpost 2, ka tūmanakohia te uara 0x20 rātou 32 i konei.

0x0014 uint(32) Te pātea tae?

Ko te tikanga o tēnei uara kāore e mōhiotia.

I te mea kei roto i ngā kōnae katoa i tirohia e ia te uara 8, tērā pea he kōrero mō te hōhonutanga tae.

0x0018 uint(32) Te whanui tae 2?

Ko te tikanga o tēnei uara kāore e mōhiotia.

Aroha mai, tērā pea he 'whāinga' te hōhonutanga tae.

Ā muri i ēnei kōrero, ka puta he kōnae pātene e noho ana i te whakaritenga RIFF paerewa. Ka kitea te whakaritenga tika i reira - nā te mea ka kitea ngā pātene i ētahi atu wāhi - i raro i te pātene.

Te Raraunga Pātea

Adr x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF herenga
0x0000 64 61 74 61 -- -- -- -- -- -- -- -- -- -- -- -- d a t a . . . . . . . . . . . .
Tāwhāinga Momo kōrero Tūtohu Whakamārama
0x0000 uint(32) Ngā Pātū Pākiki
0x0004 uint(24) Te roa o te pātea
0x0007 uint(8) Tūāhua

Ka tae mai ngā raraunga pikitia, e tīmata mai ana i te topu mauī e haere ana ki te taha katau raro.
Ko te uara raraunga i ngā whakaahua e mōhiotia ana hei 8bpp-Bitmaps, e pā ana ki te tohu o te tae i roto i te pātea tae.

Ka tīmata ngā raraunga pikitia i te taha mauī runga, ka mutu i te taha katau raro.

Ka tuhia e te miihini kēmu ngā Tiles *tērā pea* i runga i te tono.
E pā ana tēnei ki te huringa rā-ngāpo, e mōhiotia ana he 32 te rahi o ngā Tiles. I ngā wā katoa, ka tangoia 'tētahi iti' mai i te uara marama. Kāore anō kia taea te kimi i ngā uara tika, e mahi ana au i runga i te pokanga;

v *= (daylight / 48) + 0.25;

ko ngā raraunga HSV o ngā pikitia, ā, ko te daylight he uara i waenganui i te 0-31, ā, ko v he uara i waenganui i te 0-1. Hei tāpiri, me whakaaro hoki ki te mea e 16 ngā Tiles e karauna ana i te taha mauī me te taha k(right) (he mea hei whakaputa i ngā rōpū kāore e kitea).

I tua atu, e mōhiotia ana ko te huringa rā-ngāpo e whakahou ana i ia kēmu i tētahi pou o te mapi anake.
Ko te huringa rā-ngāpo hei whakahihiri ka ahua pēnei:

Tātaritanga o te huringa rā-ngāpo