Jump to content

[RELEASE] Mission Select


Recommended Posts

Posted

There seems to be only the Atreides test mission (in my version, at least), selecting HK or OR test missions crash the game with a "Please reinstall" message.

copy test.map and make it

testa.map testo.map testh.map..

Won't this just make three absolutely identical test missions?

Posted

There seems to be only the Atreides test mission (in my version, at least), selecting HK or OR test missions crash the game with a "Please reinstall" message.

Won't this just make three absolutely identical test missions?

no because they have different .mis files.

Posted

You're looking for the root/Data/UI_DATA/loadmis.uil file.

The structure of the UI files has each string preceeded by an int16 describing how long that string is. So if you change a colour to Red when it was Transparent for example, you would need to subtract 8 from the length. I wrote a basic text.uib parser last night (my previous one ran too slow), and eventually I'll write a UIL parser (if only because I think it would be a quite fun program to make.)

It is worth noting that from next week I will be in full time work so my focus will probably shift from working out the files to making tools based on what we already know, when I get the time.

This means that the loadmis.uil was already there and that you just added an option to mainmenu to use it. Cool. :)

Thanks for the help, I got some changes in the look/graphics working.

I also discovered something funny. I tried to add an enter (space) in the file by using normal .txt enter bits (0D 0A) and this triggered an image not there in Dune2000.

See screenshot below. Perhaps it helps.  :)

post-5091-12833239935247_thumb.png

Posted

Looks like some sort of debug image missing error. I think that's one of the first couple of images in the data.R* files might be this image. I'll look into getting house logos in the file :)

Posted

hey maybe  something to replace player intervention in game should be done. i heard that there was on some clan had an program that will produce things that you order to..  it was  something like queue thing but it was outside software. it was  causing game much easier. you build buldings program build units or something.  few  dune vets had it

Posted

There are several "versions" of certain mission, when you can select more than one region on the Dune map. Such versions share the same objectives, but the maps and positions of forces are different.

Posted

There are several "versions" of certain mission, when you can select more than one region on the Dune map. Such versions share the same objectives, but the maps and positions of forces are different.

But you can change the objectives if you know how. that way each map would be unique.

Posted

When I copy the whole BUTTON block of westwood logo in mainmenu to this loadmis.uil file, it works, but you lose the cancel button, if I change the first byte I get my cancel button back but also get the cross I showed in the image above.

That first byte is a hard one to solve. Just put the UI_GAME folder to descend from small to big and go to the smallest .uil and compare that to the next one. Sometimes the first byte says 0x0C and the other also, but the next .uif could also be be 0x0D or 0x0B while not much is changed in the .uil file. Perhaps it has something to do with the amount of commands/strings.

Posted

When I copy the whole BUTTON block of westwood logo in mainmenu to this loadmis.uil file, it works, but you lose the cancel button, if I change the first byte I get my cancel button back but also get the cross I showed in the image above.

That first byte is a hard one to solve. Just put the UI_GAME folder to descend from small to big and go to the smallest .uil and compare that to the next one. Sometimes the first byte says 0x0C and the other also, but the next .uif could also be be 0x0D or 0x0B while not much is changed in the .uil file. Perhaps it has something to do with the amount of commands/strings.

I seem to recall the first couple of bytes are the length of the file, in the little endian system.

Posted (edited)

I made a script that calculates the amount of characters. For loadmis.uil is that 20463 and the first bytes are 0x60 0x03. No mather how I endian that, lol, I don't get that amount.

60 03 = 24579
03 60 =  864
06 03 =  1539
60 30 = 24624
06 30 =  1584

Ok, for another one.

AMis3.uil = 160
First byte 0x0C (and second one is 0x00)
0C = 12
C0 = 192


AMis3.uil = 135
First byte 0x0D (and second one is 0x00)
0D = 13
D0 = 208

RINTRO3.uil = 132
First byte 0x0C (and second one is 0x00)
0C = 12
C0 = 192

huh.pngsmile.png

 

old stuff

Edited by D2k Sardaukar
  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.