Giter VIP home page Giter VIP logo

Comments (29)

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024 1

You have it installed already, right? Everything points that way. Ok, so that's clearly better. Don't know if it dealt with the bottom bar better as well. I'll open a new issue to investigate, since that code snippet definitely needs more logic added for widescreen.

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

Why not use that mod? If you don't have TUTU, install the widescreen mod instead. Our own scaling ideas are already tracked in #1315.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

@lynxlynxlynx I dont want to use TUTU I want a vaninlla BG1 experience, hence the reason I'm using gemRB.

Installing the widescreen mod without a direct draw plugin or a GUI mod (only 720p) breaks gui and menus. The whole reason I am using GemRB is to not have to use a ddraw plugin or GUI mod.
image
image

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

We don't care about dlls shipped, we just use the modded gui files. Here's a slightly longer explanation if you haven't seen it yet:
https://gemrb.org/Features.html#wide-screen-higher-resolutions

If you're fine with the centered look, but want a bigger gui at 1920x1080, set the gemrb resolution to 960x540 and maximize the window.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

@lynxlynxlynx Thanks I watched the video, but you suggest widescreen mod at the end. From my screenshots I don't think using the mod works with gemRB. What would you suggest for a "scaled" UI with gemRB without TUTU?

Additional: I'm not understanding how you get the UI scaled in the video. I set my resolution to 1024x768 and its still centered.
image

image

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

Without the mod it will always be centered and you have to resize the window, which will in turn resize everything drawn.
bg1 only supported 640x480, so it doesn't have files for anything bigger. bg2 does and that's what's in that screenshot.

re widescreen mod: make sure you're using the latest version. And yeah, it doesn't affect the main menu, just the ingame stuff.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

Good to know thanks @lynxlynxlynx with regards to the resolution.

I'm not understanding how the widescreen mod will work with gemRB. I have the latest version installed. https://github.com/Gibberlings3/widescreen/releases/tag/v3.08 in the screenshots above where the UI is completely gone.

I noticed there is a Removed obsolete GemRB mode (lynx) (hehe) could that be related to why perhaps?

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

The mod creates the updated gui files to replace the original ones, that's all. If you're using it, then you have to set the same resolution as in the mod. If the gui completely vanishes, you will see python errors in the log, since something went wrong.

The latest weidu works with the latest gemrb, don't worry about that.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

@lynxlynxlynx I tried 1280x720 in gemRB and the widescreen mod. Tried a smaller resolution just in case. There are a couple of errors in the gemRb console.

MAGE: 1
current HP:6
Mod[IE_ANIMATION_ID]: 0x6310 ResRef:CHFT1 Stance: 1
TURNUNDEADLEVEL: 0 current: 0
Colors:       421075225   1027423549   757935405   218959117   387389207   370546198   67372036
WaitCounter: 0
LastTarget: 0 <NULL>    LastSpellTarget: 0 <NULL>
LastTalked: 0 <NULL>
INVENTORY:
10: FIST - (1 0 0) Fl:0x2029Wt: 1 x 0Lb
Equipped: 1000       EquippedHeader: 0
Total weight: 0
SPELLBOOK:
EFFECT QUEUE:

[GameScript/ERROR]: Target object: IDS Targeting: 2 0 0 0 0 0 0 0 0 0
Filters: 0 0 0 0 0

[GameScript/ERROR]: Target for dialog couldn't be found (Sender: none, Type: 0).
[Actor/DEBUG]: Debugdump of Actor Imoen (Imoen, Imoen):
Scripts: <none> <none> WAITHSTL <none> IMOEN <none> <none> WTRUNSGT
Area:       ar2600 (2922, 1980)
Dialog:     Imoen    TalkCount:  0
Global ID:  10089   PartySlot: 0
Script name:none                                Current action: 8    Total: 0
Int. Flags: 0x50a00    MC Flags: 0x0    Allegiance: 128   current allegiance:128
Class:      1   current class:1    Kit: 0 (base: 0)
Race:       1   current race:1
Gender:     2   current gender:2
Specifics:  0   current specifics:0
Alignment:  0x21   current alignment:0x21
Morale:     10   current morale:10
Moralebreak:5   Morale recovery:60
Visualrange:28 (Explorer: 0)
Fatigue: 0 (current: 0)   Luck: 0
Movement rate: 10 (current: 10)

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

Those are fine, it's python errors that you should be looking for. Runtime exceptions and the like.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

@lynxlynxlynx Ok so it seems like I'm not seeing any relevant errors in the console with the widescreen mod installed and the UI is missing. Any suggestions?

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

What happens if you press i for inventory?

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

What happens if you press i for inventory?

image

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

Hmm, looks like the mod did something wrong. The window is not centered and the black bar below is from it being too big. It's resized to the full height, so in effect the centering is not visible.

Looking at my last changes in 7941510, are your guiw08.chu and guiw10.chu in the game override folder identical? If not, you can try with the code changed to use guiw08 if that changes anything.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

Hmm, looks like the mod did something wrong. The window is not centered and the black bar below is from it being too big. It's resized to the full height, so in effect the centering is not visible.

Looking at my last changes in 7941510, are your guiw08.chu and guiw10.chu in the game override folder identical? If not, you can try with the code changed to use guiw08 if that changes anything.

Neither of those files are in my BG1 folder.

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

Huh?! Are any *.chu in override?

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

Huh?! Are any *.chu in override?

Yes
image

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

then try with copying guiw.chu to guiw10.chu

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

then try with copying guiw.chu to guiw10.chu

image
image

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

You have it installed already, right? Everything points that way. Ok, so that's clearly better. Don't know if it dealt with the bottom bar better as well. I'll open a new issue to investigate, since that code snippet definitely needs more logic added for widescreen.

Awesome thanks!

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

Got a fix ready, but it's equivalent to what you've already done. The mod just doesn't pad the bottom window and leaves gaps.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

So you mean "equivalent to what I've already done" as in the last screenshot I posted? Is there anyway we can scale the UI and center the dialog box?

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

Manually editing the CHU should be relatively easy (you could do that with NearInfinity). Or you could delete all the other new chus in override. But I don't really see the point — is all this hassle worthy for just having taller sidebars and less visible space?

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

"Not worth it" is a valid opinion i guess.

It would just be nice to not have black and have the option of having floating UI gem-rb as-is functionality. Here is some screenshots of what it could look like.

image

image

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

Ok, but that's different from what you were asking in the previous post. Both can be done with mods, just apparently not the base widescreen one. And unless it patched the exe to do this programmatically, it would work with gemrb as well.

On our side is just #1315. Replicating screenshot 1 would be silly, why give away the real estate? The mod used imagery padding, since the way the window is drawn in the game, even if those areas were transparent, you'd still see only black.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

Sorry I'm not understanding what you mean "different".

The goal of this is to have a true "vanilla" experience without any other mods. This is almost the case with gemRB, but with the floating UI. You suggested using TUTU, but that is not my aim here. It would be nice if you could have a non-floating UI with gemRB as it seems to be the best way to have a vanilla experience without modding.

Then you suggested using the widescreen mod which requires other UI mods at higher resolutions.

My original description for this issue was one of the screenshots, I just posted a different one as a suggestion if that made it easier.

If you don't think its "worth it" I can understand, but I just thought it would be cool to have an option for a non-floating UI. I do think the floating UI is very cool, but some might like the full UI experience that is not feasible with mods or any other manner right now (obscure Polish UI scaling mod only works at 720p, TUTU is too heavy for vanilla experience).

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 2, 2024

I suggested using the tutu gui mod, since you posted it as an example. It works there, because bg2 is used to play bg1, meaning the base resources are available. For us the tutu requirement doesn't really matter, since gemrb can run all ~7 major engine versions. It's the modified/new data that counts (and can be perhaps taken from the mod without even installing it). The issue I closed this as a duplicate of will eventually enable a crude approximation without extra data, but that's it.

from gemrb.

orcutt989 avatar orcutt989 commented on June 2, 2024

I am not understanding why you suggest the TUTU mod again. I do not want to use TUTU. If this is not possible then I will move on. I just thought it was a nice feature idea for gemRB.

from gemrb.

bradallred avatar bradallred commented on June 2, 2024

The renderer doesnt currently support scaling. Something that it will do after #1771, but that wont be along for a long while. Next year probably.

Somebody could (fairly) easily add background tiling (probably mirrored to get a better look) to address the blackness, but thats about it code wise. Anything more would have to be a new CHU pack and we cant really steal resources from the originals to build that. Mods are probably outside the scope of this repo, but if somebody made a good GemRB mod, we would probably host it in a new one if asked.

from gemrb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.