Jump to content

[UPDATED] Dune 2000 User Interface Editors


Recommended Posts

Posted

This is the first alpha release of two new editors that constitute part of the D2K+ Toolkit. These are early versions and may contain bugs. You would be wise to backup your Dune 2000 installation before using these editors.

Unlike the string table editor by Siberian, this one features support for editing existing keys (not just values) as well as both adding new entries and removing existing ones. This is important as it means more strings can be added rather than needing to sacrifice an existing string as before.

Dune 2000 String Table Editor

LJ3rx.png

Feature Set:

  • New in 0.2 Displays indexes on the left (these indexes are also used in the mission editor for messages)
  • New in 0.2 Jump to a specific index, for easy navigation
  • Edit existing string table keys and values
  • Add and remove string table entries

Please note: If you are still editing a box, the current contents will not be counted when you save. Hit enter to finish editing the current box before saving.

Download Here

Dune 2000 User Interface Layout Editor

bctR5.png

Feature Set:

  • Converts UIL files to a text format that is easy to edit and converts back on save
  • Supports dragging of UIL files from explorer onto the editor
  • Tracks changes to prevent accidentally closing the program without saving

Editing these files is not dissimilar from editing HTML, you will find some useful information in this topic

Please Note: MainMenu.uil appears to have an incorrect entry count at the start which means it will not currently load or save correctly. Do not attempt to save over this file as you will merely break the file. This will be addressed in a future release

Download Here

By using a combination of these two editors, I added string table entries and then modified LA1MIS.UIL (the Atreides mission 1 briefing screen) to get the following result:

16ZIe.png

  • Upvote 1
Posted

Cool, that's nice you started work on your editors. I guess releasing my editor helped this. But still it would be great if you made a full event/triggers editor.

So can my editor be a part of d2k+ toolkit? During this week I'm going to release new version with some improvements.

Posted

Cool, that's nice you started work on your editors. I guess releasing my editor helped this. But still it would be great if you made a full event/triggers editor.

So can my editor be a part of d2k+ toolkit? During this week I'm going to release new version with some improvements.

I'm working on finishing the reverse engineering of events and conditions at the moment, once that's done I'll finish the mission editor and get a release out. Hopefully that'll happen in the next couple of days.

Absolutely, I'd love to add it to the toolkit. I'll create a page and upload it to it tomorrow, I'm planning on writing up a lot of documentation on the toolkit site so that there's a central place with reliable information on all the different file formats. Do you have an instant messenger by the way?

Posted

Cool, that's nice you started work on your editors. I guess releasing my editor helped this. But still it would be great if you made a full event/triggers editor.

So can my editor be a part of d2k+ toolkit? During this week I'm going to release new version with some improvements.

Added to the toolkit here I'll update the page with your next release :-) I'm making decent progress with the mission editor and I'm also looking into a couple of interesting possibilities.

Posted

Cool, that's nice you started work on your editors. I guess releasing my editor helped this. But still it would be great if you made a full event/triggers editor.

So can my editor be a part of d2k+ toolkit? During this week I'm going to release new version with some improvements.

also added to the gruntmods edition installer as well as the latest patch.

  • 3 weeks later...
Posted

Only opening samples.uib works, the rest gives me an error:

System.ArgumentOutOfRangeException: De index valt buiten het bereik. Deze mag niet negatief zijn en moet kleiner zijn dan de grootte van de verzameling.

Parameternaam: index

This is with UIBEditorV0.1

Posted

UILEditorV0.1 does not work for me. I just opened MainMenu.uil and saved it without any change and the game hangs on starting (it never gets to the main menu)....

Should have read the original post more carefully ;-)

"Please Note: MainMenu.uil appears to have an incorrect entry count at the start which means it will not currently load or save correctly. Do not attempt to save over this file as you will merely break the file. This will be addressed in a future release"

Posted

Only opening samples.uib works, the rest gives me an error:

System.ArgumentOutOfRangeException: De index valt buiten het bereik. Deze mag niet negatief zijn en moet kleiner zijn dan de grootte van de verzameling.

Parameternaam: index

This is with UIBEditorV0.1

Text.uib doesn't work?

Posted

Text.uib doesn't work?


Zie het einde van dit bericht voor meer informatie over het aanroepen
van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.

************** Tekst van uitzondering **************
System.IO.EndOfStreamException: Kan niet voorbij het einde van de stroom lezen.
bij System.IO.BinaryReader.FillBuffer(Int32 numBytes)
bij System.IO.BinaryReader.ReadUInt16()
bij UIBParser.MainForm.ParseUIB(String filename)
bij System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bij System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bij System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bij System.Windows.Forms.ToolStrip.onmouseup(MouseEventArgs mea)
bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ToolStrip.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
bij System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

....etc...

Posted


Zie het einde van dit bericht voor meer informatie over het aanroepen
van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.

************** Tekst van uitzondering **************
System.IO.EndOfStreamException: Kan niet voorbij het einde van de stroom lezen.
bij System.IO.BinaryReader.FillBuffer(Int32 numBytes)
bij System.IO.BinaryReader.ReadUInt16()
bij UIBParser.MainForm.ParseUIB(String filename)
bij System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bij System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bij System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bij System.Windows.Forms.ToolStrip.onmouseup(MouseEventArgs mea)
bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ToolStrip.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
bij System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

....etc...

Odd, have you used Siberian's text editor in the past? Or the older grunt mods version? They both suffer from mistakes in the editing of the files which may cause this, can you send me your text.uib file please and I'll check if this is the case.

Posted

Odd, have you used Siberian's text editor in the past? Or the older grunt mods version? They both suffer from mistakes in the editing of the files which may cause this, can you send me your text.uib file please and I'll check if this is the case.

I have downloaded Grunt Mods Dune 2000 installer.

text.zip

Posted

I have downloaded Grunt Mods Dune 2000 installer.

text.zip

Turns out it was a wrong entry count at the start, although sib grem's editor also added a second null terminator to both. I've fixed both and attached the fixed file

text.zip

  • 2 weeks later...
Posted

i wondered what can happen anyone modified these things? in skirmish.uil file?

GetStringIfValueU1Init gNetPlayerSide 0 Atreides

GetStringIfValueU1Init gNetPlayerSide 1 Harkonnen

GetStringIfValueU1Init gNetPlayerSide 2 Ordos

i will be doing that now to see what happens

================

i tried to make fremen emperor and mercenary (to get mercenary heavy factory) but no crash , no mercenaries :(

  • 2 months later...
Posted

The string table editor has now been updated to include row numbers for items and also has a jump to index button.

You will need to download the new editor on its own as the Toolkit r1 has not been updated with the new string table editor. This also means you will have to run the string table editor exe directly rather than click the button in the toolkit menu.

If people want I can add search functionality in a future release?

I could also add a repair option to fix text files which have been edited in Siberian Gremlin's editor (which introduces blank data in the text.uib files that shouldn't be there).

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.