Aks for help on reconstruction DeusExUI.u [Edit: -> solved!]

A refuge for those migrating from the fallen DXEditing.com and a place for general discussion relating to Deus Ex editing (coding, mapping, etc).
Post Reply
dx_blaster
Thug
Posts: 43
Joined: Fri Aug 12, 2011 2:47 am

Aks for help on reconstruction DeusExUI.u [Edit: -> solved!]

Post by dx_blaster »

Hi all,

I’m new here, and 1st I want to thank all the people Off Topic Productions for this great Forum and especially for TNM of course, best mod I have ever played.

2nd I have a big problem with DeusEx and its UI reconstruction.

Right now I’m fooling around with some source codes like DXv2 and Shifter....
I created a new Controls UI graphics for an AutoSave Button for DXv2r11 by Lork. (bAutoSave is an Boolean stored in the User.ini, Script works perfectly, Saves when True, does not when False, had to make an new AutoSave Script, was not the trick).
Problem is I cannot reconstruct the DesuExUI.u correctly, have no fonts and most of the UI graphics is gone (icons, labels, buttons, you name it...), i got no errors or warnings in the UCC.log.

But of cause in the SDK 1.112fm the doc says: DeusExUI.u is not save to rebuild because of some missing files.

Now the great Crew of TNM managed to design some new UI stuff, so it’s possible some how...
I have worked the last 72 hours on it, searched on the net some stuff (I haven't found any good help / info’s on basic Unreal 1 compiling).

I'm not a skilled programmer, I can read code and mostly guess what its supposed to do (more or less) if its not too complicated or some math calculations (like DX ballistic, or damage characteristics).

I hope someone can help me out, that would be very nice.

Greetings to all DX Gamers and Moder
DX_Blaster

ps: the HazMat Suit fix in DeusEx 2.0 r11 (Dec 2010, only available if you download the last update from the source code base and compile it your self...) by Lork does not work for Burning Barrel’s, the fix from yukichigai Shifter v1.8.4 mod, works perfectly. Also the NPC Name fix does not work correctly with the unconscious kill fix too. (Unconscious NPC don’t show the familiar name, like unconscious NFS Terrorist, or unconscious CAT, and so on). -> looks like an vanilla bug...
Both Mods (DXv2 and Shifter) are great and I'm both moder very thankful, making their source code public available, learned much by studding the scripts.

pps: thanks again to all moder out there, contributing ideas and stuff for DeusEx, keeping this very best PC game ever after such a long time (10 years +) alive and fun (the new renderers are blessing). =D>

ppps: sorry for my bad English and by typos, its not my native tongue. :oops:


Edit: some pictures of the behavior after using the reconstructed DeusExUI.u

1st shows new Controls UI - without fonts - buged....
Last shows new Autosave Option, resized windows but with out the new background gfx (using orginal deusexui.u)
rest shows the bugs and the new sofa color at smugglers :)

http://imageshack.us/g/834/deudxv2r1208dxuibugs201.jpg/

Direct Links:
http://img834.imageshack.us/img834/5057 ... ugs201.jpg
http://img803.imageshack.us/img803/9569 ... ugs201.jpg
http://img843.imageshack.us/img843/8798 ... ugs201.jpg
http://img189.imageshack.us/img189/9315 ... ugs201.jpg
http://img818.imageshack.us/img818/1058 ... ugs201.jpg
http://img202.imageshack.us/img202/7884 ... ugs201.jpg
http://img269.imageshack.us/img269/2568 ... ugs201.jpg
Last edited by dx_blaster on Fri Aug 12, 2011 8:04 pm, edited 1 time in total.
wbr
DX_Blaster
sorry for my bad English it is not my native tongue

latest cool thing i found on the net:
http://www.youtube.com/watch?v=Y414Q7vV ... re=related
http://www.youtube.com/watch?v=QoFe8hRy ... r_embedded
DDL
Traditional Evil Scientist
Traditional Evil Scientist
Posts: 3791
Joined: Mon Oct 17, 2005 10:03 am

Re: Aks for help on reconstruction DeusExUI.u

Post by DDL »

I wouldn't do anything with deusexUI.u, all it is is "some textures".

Since you're introducing custom code anyway, just import your new custom UI elements with your custom code.

The fact that you're not showing any text on any of your menus suggests that your problem is not in deusexui anyway, it's in the actual window code you've messed with in deusex.u...or, admittedly, that you've wiped all the fonts from deusexui, which would mean you simply don't have any text, anywhere, any more, since it no longer knows how to display it.

So. I'd simply not do anything with deusexUI: keep the original. There is no reason why UI elements need to be in that package, they can be anywhere upstream of the code that references them, including being in the same class.
dx_blaster
Thug
Posts: 43
Joined: Fri Aug 12, 2011 2:47 am

Re: Aks for help on reconstruction DeusExUI.u

Post by dx_blaster »

Hi, DDL
thx for your fast answer.

the no fonts thing is the wired part, actually some are present:
it shows text on the main screen (new game, load game, intro,....) like seen on pic #5 (DXMP menu I think)
or on pic #2 with the ID'aug on alex. also i have fonts at command (if I enter the cheats I can see the text), so some few fonts are displayed, but most are gone. i guess the problem is at reconstruction somehow the fonts are not compiled correctly -> i guess that’s the missing files problem described in the SDK (maybe because the fonts start at Texture13.pcx, there are 23 files related to be fonts texture13 - 35).
i found some other fonts within the engine.u: texture0 - 9, ill guess that’s the fonts i see.

so if I understand this correct:
1. never touch the deusexui.u or any of the other .u's not save to reconstruct listed in the SDK...
2. provide the new UI Texture within the new DeusEx.u?

I. create a new sub dir called 'Textures' (...DXinstDir\DeusEx\Textures)
III. create a new script called 'anyname.uc' or 'AllUI.uc'? and add the 6 new Texture parameters...
(because AllUI.uc holds all desusexui.u related info’s)
III. reconstruct the new deusex.u ... done?

Edit: done -> and it works nicly

i called the new script newMCBUI.uc -> build it like AllUI.uc from desuexui.u
-> had to change the meuecontorls... to look for the new textures in deusex.u and not in deusexui.u
and it compiled without errors or warnings...

here are some images:
http://imageshack.us/g/821/deudxv2r1225dxuibugs201.jpg/

http://img821.imageshack.us/img821/7461 ... ugs201.jpg
http://img845.imageshack.us/img845/3980 ... ugs201.jpg

thx very much DDL! =D>

ps: if anyone wants the source code for this autosave button mod, leave a msg or write an e-mail.
ill send a .zip with all the needed files and a short how to text.
(i don' want to open extra a google.source for this small thing)
wbr
DX_Blaster
sorry for my bad English it is not my native tongue

latest cool thing i found on the net:
http://www.youtube.com/watch?v=Y414Q7vV ... re=related
http://www.youtube.com/watch?v=QoFe8hRy ... r_embedded
Post Reply