Jump to content

Full HD Resolution, with Correct Panel Placement


Crystalyzer
 Share

Recommended Posts

Well, it surprised me no other fan had attempted this before, or at least posted his or her results after trying to change the resolution of the game. The oppertunity to play good ol' Lego Rock Raiders in Full-HD was something I couldn't possibly pass on. 
 
I came across Cafetaria (a tool developed by Cyrem) about a year ago, and tried to do the same things, but with my then limited knowledge of code and data management I didn't get very far. But as the movie Inception tells us: " Once an idea has taken hold of the brain it's almost impossible to eradicate."
 
After quite some hours of counting and painfully figuring out positions I finally managed to get about all of the UI panels in their right position. I almost lost all of the work when I accidentally deleted an unpacked .WAD file, but luckily there's a trash bin :3
 
Unfortunately I didn't quite manage to edit/move these:

  • The oxygen bar (pretty important don't you think) EDIT: done
  • The message text (and repeat button) EDIT: done
  • The info icons. Show when e.g. a new cavern has been discovered, you can see 'Docs' with his big smile next to a picture of a cavern, or 'Jet' when an energy crystal has been found.
  • General menu, options and objective board are still in there original position, but I personally don't mind them not being in the middle of the screen.
  • About all of the screens prior to the ingame screen. They're all still fully functional though. (might do that in some later version)

In order to run the game with this setup you require: 

  • A Full-HD capable monitor or screen, as these settings are exclusively for Full-HD.
  • You'll be needing the Cafetaria 0.7 launcher and put it in the installation directory of LRR (Download it here:  (Link to Cyrem's topic))
  • The LegoRR0.WAD and LegoRR1.WAD files I modded to run 1920x1080. (Download them here: http://www.mediafire.com/download/e3f6mu604f2zu8i/WAD's_1.1.zip )

The last line might be in conflict with the forum rules, I'm not completely sure... If so please tell me and I will change it.
 
 
I expect some of you to encounter a bit of trouble with Cafetaria 0.7, since two of my friends had problems with it. I recommend the 'Run as administrator' compatibility mode, along with the 'Windows XP service pack 3' option. You might want to set the same parameters to the LegoRR.exe just to be sure.
 
In future updates I plan to add an altered Message panel: one that is at the original position, but has a nicely finished bottom (currently the texture just stops there). 
 
Please report any significant issues you can't figure out by yourself, such as resolution not applying or something similar.
 
 
Have fun ;)

 

 
EDIT #1:
 
I thought I'd post a screenshot of my accomplishments: (sorry for the largeness, but it ís Full-HD ;) )

3aQ61OL.png

 

As you can see I edited the MsgPanel. It now has a nicely worked bottom :P

 

As requested by le717, here is the code I changed in the Lego.cfg file:

 

 

Original:

}

PanelRotationControl {
CenterPositionX 484
CenterPositionY 445
Radius 30
LeftImage InterfaceCameraControlnav_left.bmp,460,438
RightImage InterfaceCameraControlnav_right.bmp,490,438
UpImage InterfaceCameraControlnav_up.bmp,477,421
DownImage InterfaceCameraControlnav_down.bmp,477,452
}

Panels640x480 {

;<Panel> <filename>,<xout>,<yout>,<xin>,<yin> (No spaces!)

Panel_Radar InterfaceRadarPanelradar4.bmp,0,0,-167,0
Panel_RadarFill InterfaceRadarPanelRadarFill.bmp,0,0,-167,0
Panel_RadarOverlay InterfaceRadarPanelscan.bmp,24,15,24,15
Panel_Messages InterfaceMessagePanelMsgPanel.bmp,0,0,0,0 ;Position are irrelevant here
Panel_MessagesSide InterfaceMessagePanelMsgSidePanel.bmp,0,409,0,409
Panel_CrystalSideBar InterfaceRightPanelCrystalSideBar.bmp,584,0,584,0
Panel_TopPanel InterfaceTopPanelTopPanel.bmp,330,0,330,0
Panel_Information InterfaceInfoPanelpanelInfo2.bmp,16,330,-256,330
Panel_PriorityList InterfacePriorityPanelPriorities.bmp,398,50,640,50
Panel_CameraControl InterfaceCameraControlCamControl.bmp,410,410,410,410
Panel_InfoDock InterfaceMessageTabsMSG_Holder.bmp,0,330,0,330
Panel_Encyclopedia InterfaceInfoPanelencycPanel.bmp,358,50,640,50

}

 

 
Changed version:
 
PanelRotationControl {

;This one is changed for Full-HD and fully operational)

CenterPositionX 1794 ;Changed
CenterPositionY 1045 ;Changed
Radius 30
LeftImage InterfaceCameraControlnav_left.bmp,1769,1038 ;Changed
RightImage InterfaceCameraControlnav_right.bmp,1798,1038 ;Changed
UpImage InterfaceCameraControlnav_up.bmp,1786,1021 ;Changed
DownImage InterfaceCameraControlnav_down.bmp,1786,1052 ;Changed
}

Panels1920x1080 {

;<Panel> <filename>,<xout>,<yout>,<xin>,<yin> (No spaces!)

Panel_Radar InterfaceRadarPanelradar4.bmp,0,0,-167,0
Panel_RadarFill InterfaceRadarPanelRadarFill.bmp,0,0,-167,0
Panel_RadarOverlay InterfaceRadarPanelscan.bmp,24,15,24,15 ;Don't change, this is already in the right position!
Panel_Messages InterfaceMessagePanelMsgPanel.bmp,0,-600,0,-600 ;Position are irrelevant here, Changed!!
Panel_MessagesSide InterfaceMessagePanelMsgSidePanel.bmp,0,409,0,409 ;Changed
Panel_CrystalSideBar InterfaceRightPanelCrystalSideBar.bmp,1864,0,1864,0 ;Changed
Panel_TopPanel InterfaceTopPanelTopPanel.bmp,1610,0,1610,0 ;Changed
Panel_Information InterfaceInfoPanelpanelInfo2.bmp,16,330,-256,330
Panel_PriorityList InterfacePriorityPanelPriorities.bmp,1678,50,1920,50 ;Changed
Panel_CameraControl InterfaceCameraControlCamControl.bmp,1719,1010,1719,1010 ;Changed
Panel_InfoDock InterfaceMessageTabsMSG_Holder.bmp,0,330,0,330
Panel_Encyclopedia InterfaceInfoPanelencycPanel.bmp,358,50,640,50

}

Don't know why the text is all colorful :S

 

For the small crystal images on the far right side to be in the right place (where they normally are), I had to change the .bmp images a bit, they can be found in the LegoRR0.WADInterfaceRightPanel.

Originally they where 15x17 pixels, but in order to get them in the right place I just added a 1280 pixels long block of black (the color that's used to create transparency in these particular .bmp files)

 

I hope this is enough information le717 ;)

 

<a data-ipb="nomediaparse" data-cke-saved-href="http://www.mediafire.com/download/d4gm4j46fi74z8p/WAD" href="http://www.mediafire.com/download/d4gm4j46fi74z8p/WAD" s.zip"="">

  • Like 2
Link to comment
Share on other sites

Few notes:

 

The oxygen bar

 

Yea, IIRC that is a hard-coded position. I think there was a hack to make it slightly move, but I'm not sure.

 

The message text (and repeat button)

 

Also IIRC, that can be changed only by making a new image.

 

(Same link as Cyrem posted in his topic)

 

It would be better to simply link to the Cafeteria topic in case it ever receives an eventual update. ;)

 

The last line might be in conflict with the forum rules, I'm not completely sure... If so please tell me and I will change it.

 

It depends. Are all the game files in it, even ones that have not been edited? Then yes, because vanilla game files are illegal in the US to distribute (and RRU is hosted in the US, so US law applies). What is usually done for mods is the modded files only are laid out in a proper folder structure and they are compressed and uploaded. That way, users only have to download them and they can apply them no matter what methods they use (WAD or Data). If the CFG needs to be edited, only relevant lines are posted in code boxes and maybe a spoiler. :)

 

Can you spare the formula for adjusting the panel sizes in the CFG? I could not figure it out, and I wanted to at least test it on my 1366 x 768 laptop resolution.

Link to comment
Share on other sites

The last line might be in conflict with the forum rules, I'm not completely sure... If so please tell me and I will change it.

It depends. Are all the game files in it, even ones that have not been edited? Then yes, because vanilla game files are illegal in the US to distribute (and RRU is hosted in the US, so US law applies). What is usually done for mods is the modded files only are laid out in a proper folder structure and they are compressed and uploaded. That way, users only have to download them and they can apply them no matter what methods they use (WAD or Data). If the CFG needs to be edited, only relevant lines are posted in code boxes and maybe a spoiler. :)

You appear to be a bit confused. Resources, configs, etc are okay. Core elements like EXEs are not. There's not usually a need to include default resources though - typically you only see them in overhauls or texture rips.

Link to comment
Share on other sites

Actually, I did manage to move all the panels in the end. The unfortunate part is LRR no longer works for me meaning I can't develop the tool further which would be required to move those panels.

Link to comment
Share on other sites

The last line might be in conflict with the forum rules, I'm not completely sure... If so please tell me and I will change it.

It depends. Are all the game files in it, even ones that have not been edited? Then yes, because vanilla game files are illegal in the US to distribute (and RRU is hosted in the US, so US law applies). What is usually done for mods is the modded files only are laid out in a proper folder structure and they are compressed and uploaded. That way, users only have to download them and they can apply them no matter what methods they use (WAD or Data). If the CFG needs to be edited, only relevant lines are posted in code boxes and maybe a spoiler. :)You appear to be a bit confused. Resources, configs, etc are okay. Core elements like EXEs are not. There's not usually a need to include default resources though - typically you only see them in overhauls or texture rips. Then I'll leave the links in my post.

Actually, I did manage to move all the panels in the end. The unfortunate part is LRR no longer works for me meaning I can't develop the tool further which would be required to move those panels.

Why doesn't your LRR work anymore? I guess it must be quite a difficult problem if you, Cyrem, haven't fixed it :|

I'll try to post the code I changed today, le717. Also I will post some screenshots (if I can manage to) of the UI on my pc (with the 1920x1080 resolution that is)

Link to comment
Share on other sites

 

Why doesn't your LRR work anymore? I guess it must be quite a difficult problem if you, Cyrem, haven't fixed it :|

 

It's my graphics card I believe, seems to be 100% incompatible. However it's brand new and I don't feel like buying a NVidia card to hope it works with LRR.

Link to comment
Share on other sites

Why doesn't your LRR work anymore? I guess it must be quite a difficult problem if you, Cyrem, haven't fixed it :|

It's my graphics card I believe, seems to be 100% incompatible. However it's brand new and I don't feel like buying a NVidia card to hope it works with LRR.

Have you tried using your integrated graphics by disabling your primary GPU in device manager? I've seen others doing it that way and I too use the Intel hd 4600 for LRR to get rid of the flickering UI and texts etcetera.

Link to comment
Share on other sites

 

 

Why doesn't your LRR work anymore? I guess it must be quite a difficult problem if you, Cyrem, haven't fixed it :|

It's my graphics card I believe, seems to be 100% incompatible. However it's brand new and I don't feel like buying a NVidia card to hope it works with LRR.

Have you tried using your integrated graphics by disabling your primary GPU in device manager? I've seen others doing it that way and I too use the Intel hd 4600 for LRR to get rid of the flickering UI and texts etcetera.

 

 

Tried it also, it gets up to the menu then crashes.

Link to comment
Share on other sites

Bump

 

I edited my original post and inserted the new .WAD download link. The new .WAD files only hold the necessary files, so you can use them alongside your High-Poly and texture mods :3

 

Cheers

 

EDIT: the 'edit post' doesn't work anymore... so here's the link to the right .WAD files: http://www.mediafire.com/download/e3f6mu604f2zu8i/WAD's_1.1.zip

Link to comment
Share on other sites

  • 2 weeks later...

Cafetaria doesn't work for me. After applying the new resolution and starting the game, it just crashes back to desktop (doesn't even get to the loading screen).

Tried setting 'windows xp service pack 3' and 'run as administrator' settings, but that didn't help.

Anything else I can try to make it work?

The game Rock Raiders works fine in 640x480 resolution, even without changing compatibility settings.

OS: Windows 7 64-bit

Graphics card: NVIDIA GeForce GTX 650

Link to comment
Share on other sites

Cafetaria doesn't work for me. After applying the new resolution and starting the game, it just crashes back to desktop (doesn't even get to the loading screen).

Tried setting 'windows xp service pack 3' and 'run as administrator' settings, but that didn't help.

Anything else I can try to make it work?

The game Rock Raiders works fine in 640x480 resolution, even without changing compatibility settings.

OS: Windows 7 64-bit

Graphics card: NVIDIA GeForce GTX 650

That might be a CFG problem, the game will crash if it's missing blocks that it is looking for. Make sure ALL occurances of 640x480 have been changed to your resolution you are trying to run at.

Link to comment
Share on other sites

  • 3 weeks later...

Hi guys! Does someone know, how to move the crystals Panel to the right side?
I cant find a "RightPanel" config in the Lego.cfg   I only know, that the Crystal Panel is in the "RightPanel".
I found it in the RR0->Interface->RightPanel->NoSmallCrystal.bmp

And I want to move it to the right side of the screen. Only cant find the config for that...

 

I hope you know what I try to explain.

 

Hammerkraft

Link to comment
Share on other sites

The crystal bar maybe, but definitely the ore and oxygen bars, are hard coded which means that we cannot change their position (even if you find the positions in the cfg. They are there, but a change of their position in the cfg doesn't affect the game). I've also tried it by increasing image files and coloring the added parts black so that the game would hopefully read the black as the alpha color (= he ignores it, so you can only see the repositioned colorful part of the image... in this case either the O2 or ore bar). But even that didn't work  :/

 

Erz- und Sauerstoffbalken sind definitiv hard coded/unveränderlich und ich glaube auch der Balken für die Kristalle. Das heißt, dass man deren Position nicht verändern kann (selbst wenn man die Positionen von denen in der cfg findet. Die sind dort irgendwo, aber es bringt nichts, ihre Werte zu verändern). Ich habe außerdem noch versucht, die Bilddateien mit schwarzen Bereichen zu erweitern , die das Spiel dann als Alpha hätte interpretieren sollen (= das Spiel ignoriert die schwarze Farbe, stattdessen sieht man nur die verschobene Textur... in diesem Fall wäre dies entweder der O2- oder Erzbalken). Aber selbst das hat nicht funktioniert.  :/

Link to comment
Share on other sites

Hmm, Okay. Schade, hatte gehofft das das Lets Play von der Kampagne irgendwie in Full-HD anschaubar wäre, nur wenn da über all die Level immer die Erz und Energie-Kristall-Balken fliegen, ist das auch doof.

 

Hmm, that isnt nice... I had hope, that I can Lets Play the Campaign in Full-HD, but if there fly anytime the Energy and Ore Bars around, its not nice to see.

 

But thanks :)

Hammerkraft

Link to comment
Share on other sites

The crystal bar maybe, but definitely the ore and oxygen bars, are hard coded which means that we cannot change their position (even if you find the positions in the cfg. They are there, but a change of their position in the cfg doesn't affect the game). I've also tried it by increasing image files and coloring the added parts black so that the game would hopefully read the black as the alpha color (= he ignores it, so you can only see the repositioned colorful part of the image... in this case either the O2 or ore bar). But even that didn't work  :/

 

Erz- und Sauerstoffbalken sind definitiv hard coded/unveränderlich und ich glaube auch der Balken für die Kristalle. Das heißt, dass man deren Position nicht verändern kann (selbst wenn man die Positionen von denen in der cfg findet. Die sind dort irgendwo, aber es bringt nichts, ihre Werte zu verändern). Ich habe außerdem noch versucht, die Bilddateien mit schwarzen Bereichen zu erweitern , die das Spiel dann als Alpha hätte interpretieren sollen (= das Spiel ignoriert die schwarze Farbe, stattdessen sieht man nur die verschobene Textur... in diesem Fall wäre dies entweder der O2- oder Erzbalken). Aber selbst das hat nicht funktioniert.  :/

 

Actually it does work... For my, at least. Have you tried using my .WAD files? Feel free to take my edited SmallCrystal.bmp etc. for your own .WAD's :)

 

(It works with the ore, crystal and empty crystal bars)

Link to comment
Share on other sites

I don't believe transparency works on the images that get stretched, that is, oxygen and ore meter bars.

 

It does :P Check my screenshot from my first post, it proves it. (not that I only want to be right, I want to know why people are having the problem ;) )

Link to comment
Share on other sites

 

I don't believe transparency works on the images that get stretched, that is, oxygen and ore meter bars.

 

It does :P Check my screenshot from my first post, it proves it. (not that I only want to be right, I want to know why people are having the problem ;) )

 

 

 

Your screenshot doesn't show the ore meter ;) you've gotta collect some ore before it shows up.

 

But you can rename the files it uses and it'll disappear.

Link to comment
Share on other sites

 

 

I don't believe transparency works on the images that get stretched, that is, oxygen and ore meter bars.

 

It does :P Check my screenshot from my first post, it proves it. (not that I only want to be right, I want to know why people are having the problem ;) )

 

 

 

Your screenshot doesn't show the ore meter ;) you've gotta collect some ore before it shows up.

 

But you can rename the files it uses and it'll disappear.

 

 

Can't you just assume i'm right on this? I'm too lazy to start up rock raiders and get the guys to mine some ore.

Link to comment
Share on other sites

  • 2 weeks later...

There is an Update of the Cafetaria Tool, and there are some Videos which shows that the bars are on the right place.
I will test it now.
I hope it works.

Than I maybe can use it in my second Campaign Mod....
If I got the Config write right.

Link to comment
Share on other sites

There is an Update of the Cafetaria Tool, and there are some Videos which shows that the bars are on the right place.

I will test it now.

I hope it works.

Than I maybe can use it in my second Campaign Mod....

If I got the Config write right.

 

It's best you don't modify any resolution stuff in your mod. Cafeteria does all the configuration for you with it's resolution packs. If you modify your CFG manually Cafeteria will not work as intended.

Link to comment
Share on other sites

  • 6 years later...

Sorry to necro such an old thread, but I see that the author is still active! I didn't see a link for the download, only for some older mods you used in your build. Do you have a link?

Link to comment
Share on other sites

 Share

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