Jump to content
mvi

[RELEASE] Mission Select

Recommended Posts

I cant get the TEST missions to work Dune 2000 crashes when I try to pick a TEST mission

Share this post


Link to post
Share on other sites

If some1 wanna help me,do this: find a link to graphical card driver(VGA save). :-

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

What are you using C++ for?

I need to make something(bot what clicks designed area by 0,5 second between 2 clicks).

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Im out of project coz i dont have graphical and sound card driver.

Share this post


Link to post
Share on other sites

Probably would be a lot easier to use something like C# for the program rather than C++

Share this post


Link to post
Share on other sites

Amigabot<--No i cant because of my internet connection(i need sound card only).

mvi<-- ok i try it(Thanks for advice)  :D .

Share this post


Link to post
Share on other sites

mvi<-- ok i try it(Thanks for advice)  :D .

I believe Microsoft Visual C# Express is free to download.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Ah, you mean the choice we have for certain missions. For example, Ordos mission 6, protecting the Starport. Thanks.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Well, that's not how it is in the original game.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Well, that's not how it is in the original game.

I wonder why though as it could have added a greater variety.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Gotta admit, this mod is one of the best. Use(d) it a lot for testing.

 

Thanks!

 

edit:

Just a thought, but can Harkonnen and Ordos test missions be fixed?

Edited by D2k Sardaukar

Share this post


Link to post
Share on other sites

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...