Jump to content
CCHyper

Dune2K - High Resolution

Recommended Posts

well if the patch is completely fixed it might be good.....

He fixed most of the graphic issues, so as long as you are not higher then 1024x768 your fine, although the menu bar is still invisibly rendered on the battlefeild

Share this post


Link to post
Share on other sites

well tht's the only problem....

if it's fixed then I need to change graphical stuff for my mod....

Share this post


Link to post
Share on other sites
Really great work.

Regarding resource files, I can take a look. I have a partially complete R16 editor, that may give me enough data to isolate the assets.

I've created a UI patch for the MainMenu, which makes (only) the main menu look ok at 1024 resolution. Really this is just an example of what UIL changes could be made.

Note that this UI patch assumes you already have the Mission Select patch, if you don't have it, make sure to install it before the UI patch.

http://forum.dune2k.com/public/style_images/infinite_dark/attachicon.gif 20130307205819477.png

http://forum.dune2k.com/public/style_images/infinite_dark/attachicon.gif 1024MainMenuUIL.zip

Edit: my guess is the file is in UIBB, which seems to be in a different format to most the other resource files. Magic Team's R8 editor has some success loading the file, but looking at the binary it doesn't look like their editor fully supports it, my own R8/R16 editor doesn't work with UIBB.

Menu looks great!

Share this post


Link to post
Share on other sites

Excellent work here, seriously!

 

I struggled with the blitting routines as i *had* no graphics background, and always got stuck for days working out what was going on.

 

I have a IDA Pro database with a lot of stuff named, mostly function names and static members, but your welcome to it if you like, just PM me and ill send it over. :)

Share this post


Link to post
Share on other sites

I just tested the highres patch together with the adjusted main menu and it is working great! I'll definitely watch this place from now on...

Share this post


Link to post
Share on other sites

yes do...

it's good....

yet needs a few more tweaks before. it gets working properly....

Share this post


Link to post
Share on other sites
yes do...

it's good....

yet needs a few more tweaks before. it gets working properly....

well to be fair, it needs more then just graphical tweaks, it needs some game play tweaks to fix the core issue.

Share this post


Link to post
Share on other sites

The Patch creates a new file (your selected resolution is in its filename). You have to replace the vanilla dune file with this one and rename it. I'm at work right now so I can't tell you the exact name :)

Share this post


Link to post
Share on other sites
Haven't thought that people would play the high res version even with the glitches. I have written a patch which creates a workaround till a proper fix is done to the UI. The workaround removes the glitches, adds a black side bar and removes top bar. The patch also allows you to setup any resolution supported by your hardware.

Usage: Dune2000-hrpatch.exe -w X- h Y --workaround

If --workaround switch is provided you get minimalistic UI as already mentioned and need to use hotkeys for the missing buttons and ESC for the menu. Otherwise original UI settings are used.

I.e. "-w 1980 -h 1080 --workaround" looks like attached image. Patch is attached as well.

As Gruntlord6 mentioned, someone (who knows Dune resources) should try to extend the top bar to appropriate resolution. If i.e. width 1024 then the equation is:

TopBarWidth = ResoltuoinWidth(1024) - OptionButtonWidth - MoneyCounterWidth - LeftSideBarWidth;

The problem with the invisible buttons is related to this issue. From the looks of it the constants (x and y) for the buttons are either taken from the UI resources (read width from file and displace button coordinates for mouse/drawing) or the constant are directly hardwired in the assembly instructions which is even worth from a programming point of view. If someone can try the resource thing it would sure shed some light on this.

What about asking the author of C&C95 1.06?

Share this post


Link to post
Share on other sites
What about asking the author of C&C95 1.06?

Not sure how much it would help, they were made by different programming teams and game studios.

Share this post


Link to post
Share on other sites
Not sure how much it would help, they were made by different programming teams and game studios.

I thought C&C95, RA95, and Dune2k use the same engine.

Share this post


Link to post
Share on other sites

C&C 95 and RA do, dune2k was "jointly developed by westwood studios and intelligent games".

  • Upvote 1

Share this post


Link to post
Share on other sites
C&C 95 and RA do, dune2k was "jointly developed by westwood studios and intelligent games".

Basically, they outsourced it. 

Share this post


Link to post
Share on other sites
Basically, they outsourced it. 

Yep Dune 2000 was created by Intelligent Games under supervision from Westwood. Westwood essentially handled production management and some of the overarching technical direction. Some of the technology used in Dune 2000 is Westwood's own, for example the VQA v2 format (FMVs) and AUD audio format which was used by Dune 2000 and also like you say Westwood's own C&C95 and RA95. However, as far as I'm aware (from my limited look at those C&C games) that's about the only technologies shared. There might be a couple of other things, but they're completely different engines.

  • Upvote 1

Share this post


Link to post
Share on other sites

well dune 2000 is good enough for me...

dune 2 was done by virgin games I presume...

likewise dune 2000...

Share this post


Link to post
Share on other sites

Virgin Games is only the publisher...

Share this post


Link to post
Share on other sites

I didn't know that. That explains sloppy coding and "Intellegent" strings in the executable resources. Good to know.

Share this post


Link to post
Share on other sites

Excellent patch! But in first mission, where the map is too small, and if you try to run the first mission it will be crashed

Share this post


Link to post
Share on other sites
Excellent patch! But in first mission, where the map is too small, and if you try to run the first mission it will be crashed

Well, that's going to be an issue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×