Aller au contenu

Photo

Mac GUI


  • Veuillez vous connecter pour répondre
18 réponses à ce sujet

#1
PianoPete

PianoPete
  • Members
  • 31 messages
  I am  having some issues with the GUI on Mac that may be a dealbreaker. The Hotbars never stay where I put them and neither does the dialog box. The only way I have found to move the dialog box is to click and drag its edges one at a time. It is not easy to do. Otherwise it sits right over where I want the hotbars (on top of each other as is usual). The  extra hotbars load half off the screen above the modes gui (which I haven't found a way to move). It's a total pita and is the biggest chore/waste of time of the game for me. Is there a way to enable/disable the dialog box? Is there a better way to move it on the screen? How do I make stuff stay where I place it? I really like this game but I if I have to continually do this after loading it just ain't worth it.

#2
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
Can i see a screen shot.

There are things you can download off the vault which redo the UI, but not really sure what you mean by what you are describing. Yes there definitely are ways to make it act like you want, just not sure if it requires you learning a bunch of things for you to get what you want, or if it's something already available or easy for you to implement. ( or if it's simple enough that i can just tell you what files to edit to get it working how you want )

#3
PianoPete

PianoPete
  • Members
  • 31 messages
Don't know how to upload a screenshot :P I was as clear as I know how to be. The Dialog box loads directly above the default hotbar where I want the second hotbar to reside. The second hotbar loads off to the right side of the screen over (in the same place) as the modes bar. If I reposition them they revert at the next load.

If I could toggle the dialog box on and off that would make a big difference.

Modifié par PianoPete, 09 février 2012 - 06:43 .


#4
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
What dialog box? Is this the examine, or is it the character itself.

Position i think is loaded from

documents:Neverwinter Nights 2:ui:default:guisettings.ini

[messageboxreport]
xpos-1024=689
ypos-768=114
<--- the above is the x and y position if you have 1024x768 screen resolution

xpos-1440=1105
ypos-900=180
<<--1440x900 for the above

xpos-800=538
ypos-600=88
<<--800x600 for the above

No idea what is the item in the dialog box, if i knew it i could tell you which [messageboxreport] the sizes are located in. But it could be in the xml for what you are viewing.

If you sign up for dropbox you can post a screen shot there. Or use anything you find via google, any photo sharing site, or file sharing site besides megaupload. Kaldor can help you with how to do the screen capture on a mac using NWN2, but you can configure the keystroke as desired in the game options, or use that to figure out what key does it.

#5
PianoPete

PianoPete
  • Members
  • 31 messages
What I mean by the dialog box (guess I am using the wrong terminology) is the opaque window where the game displays all the info like NPC dialog, combat rolls, pause/unpause etc.

As far as the rest of your post goes it is way over my head.

Modifié par PianoPete, 09 février 2012 - 09:07 .


#6
kevL

kevL
  • Members
  • 4 052 messages
there's been some chatter before about this, try looking at these too

http://social.biowar...61767/2#8522586
http://social.biowar...61767/2#8746526


It says the same thing Pain is saying, looking at both might help get a grip; it sounds like you're going to have to find 'guisettings.ini', make a backup of that file ( guisettings_bak.ini ) and tease your boxes into the places you like them for your resolution. In this file you'll find text entries for things like [quickchat], [journal], [inventoryscreen], etc.

you're looking for the sections under [defaultchat], [hotbar_2], etc. (i think ..)

xpos-1680=209
ypos-1050=237

- means "the top left corner of the box is offset from the left edge of the screen 209 pixels when horizontal monitor resolution is set at 1680 pixels" & "the top left corner of the box is offset from the top edge of the screen 237 pixels when vertical monitor resolution is set at 1050 pixels"


(just got me a new 2nd hand monitor :)

#7
kevL

kevL
  • Members
  • 4 052 messages
or ya might have to deal directly with the .Xml files (?) ...

#8
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages

PianoPete wrote...

What I mean by the dialog box (guess I am using the wrong terminology) is the opaque window where the game displays all the info like NPC dialog, combat rolls, pause/unpause etc.

As far as the rest of your post goes it is way over my head.


ah ok  - probably the chat interface, which is likely controlled by one of the following in that file
[partychat]
[defaultchat]
[defaultmpchat2]
[partychat_ol]

change the x and y and it should move the default position.

When i get an easy to use package together, the UI i've been working on will likely solve your problems. ( it does the windows as transparent. )

You might want to just change resolutions in game and see if that helps things.

#9
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 585 messages
What version of the Mac app or you using? Purchased from the Mac App store or installed from disc?

#10
PianoPete

PianoPete
  • Members
  • 31 messages
Purchased from Mac App store. I've no real idea how to find or modify the game files. Sounds rather technical to me. If I had paid full price I'd be very upset. It's pretty unplayable unless I want to make due with only 1 hotbar. Even then the chat window is still poorly positioned.

Edit: I found some ini files in User/Library/Application Support/Neverwinter Nights 2 but there is nothing in the ui folder.

Modifié par PianoPete, 10 février 2012 - 02:29 .


#11
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 585 messages

PianoPete wrote...
Edit: I found some ini files in User/Library/Application Support/Neverwinter Nights 2 but there is nothing in the ui folder.


Right idea but wrong location. Go to your Applications folder and right click on Neverwinter Night 2.app and select "Show Package Contents". Then navigate to Contents > Data > UI > default

Find defaultchat.xml and copy it.  (You could edit it in place, but moving it is probably a better idea since it will leave the program files unmodified in case Aspyr releases a patch.) Navigate to ~Library/Application Support/Neverwinter Nights 2/ui/default/ and paste it into that folder. (If you are on Lion you will need to run the Terminal utility in your Application/Utilities folder and type "open Library" without the quotes to open the ~/Library folder). Now open the pasted defaultchat.xml file in TextEdit. The default x and y positions are near the top on the line:

<UIScene name="SCREEN_MESSAGE_1" width=398 height=138 x=112 y=575 minwidth=314 minheight=118 capturemouseclicks="false" priority="SCENE_INGAME"

The x position is how many pixels from the left side of the screen, and the y is how many from the top of the screen. So changing the y position on that line to a lower number will reposition the chat box up the screen.

I don't have an answer for the hotbar moving except just drag it back into the position you want.

It is a bug that the positions are not saved correctly.

Frankly I've played the game many times and only use one hotbar. It isn't "unplayable" that way.  This isn't NWN so don't try to play it that way. You don't need to put every spell in a hotbar because you can use the Quickcast menu instead.

Regards

Modifié par Kaldor Silverwand, 10 février 2012 - 04:04 .


#12
kevL

kevL
  • Members
  • 4 052 messages
I'm getting the impression, the Mac NwN2 doesn't create a guisettings.ini file, does that sound right Kaldor?

cf. cliff_g said, "I have discovered this can be moved by editing the x and y position of default chat.xml"


which means (to me) he went straight to 'defaultchat.xml', copied it to PlayerFolder, and edited the UIScene element ... (x= , y= )

Modifié par kevL, 10 février 2012 - 03:54 .


#13
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 585 messages

kevL wrote...

I'm getting the impression, the Mac NwN2 doesn't create a guisettings.ini file, does that sound right Kaldor?

cf. cliff_g said, "I have discovered this can be moved by editing the x and y position of default chat.xml"


which means (to me) he went straight to 'defaultchat.xml', copied it to PlayerFolder, and edited the UIScene element ... (x= , y= )


The Mac App Store version doesn't have a guisetting.ini, but the Mac disc version does.  Anyway, I have it correct in my post above. To relocate the chat box position you need to edit defaultchat.xml which is in the Neverwinter Nights.app, not ~/Library. I suggest you copy it to ~Library/Application Support/Neverwinter Nights 2/ui/default and edit the file there rather than editing the original.

Regards

Modifié par Kaldor Silverwand, 10 février 2012 - 04:05 .


#14
PianoPete

PianoPete
  • Members
  • 31 messages

Kaldor Silverwand wrote...

PianoPete wrote...
Edit: I found some ini files in User/Library/Application Support/Neverwinter Nights 2 but there is nothing in the ui folder.


Right idea but wrong location. Go to your Applications folder and right click on Neverwinter Night 2.app and select "Show Package Contents". Then navigate to Contents > Data > UI > default

Find defaultchat.xml and copy it.  (You could edit it in place, but moving it is probably a better idea since it will leave the program files unmodified in case Aspyr releases a patch.) Navigate to ~Library/Application Support/Neverwinter Nights 2/ui/default/ and paste it into that folder. (If you are on Lion you will need to run the Terminal utility in your Application/Utilities folder and type "open Library" without the quotes to open the ~/Library folder). Now open the pasted defaultchat.xml file in TextEdit. The default x and y positions are near the top on the line:

<UIScene name="SCREEN_MESSAGE_1" width=398 height=138 x=112 y=575 minwidth=314 minheight=118 capturemouseclicks="false" priority="SCENE_INGAME"

The x position is how many pixels from the left side of the screen, and the y is how many from the top of the screen. So changing the y position on that line to a lower number will reposition the chat box up the screen.

I don't have an answer for the hotbar moving except just drag it back into the position you want.

It is a bug that the positions are not saved correctly.

Frankly I've played the game many times and only use one hotbar. It isn't "unplayable" that way.  This isn't NWN so don't try to play it that way. You don't need to put every spell in a hotbar because you can use the Quickcast menu instead.

Regards


I found the defaultchat.xml file but could neither copy nor open it. Really weird. Can't right click copy it.

OK well maybe 'unplayable' was too strong a word, but it is a pita and annoys me enough to not want to play it.  

I do appreciate the help. Thank you.

#15
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
If you read the instructions, it says to use textedit, which will open an xml file. Might have to right click and select info, then use the "Open with" menu you see there and select textedit. Then after it is open, select "Save as..." and save to the desktop and do your edits there, then copy it to the location kaldor suggests.

I'd suggest increasing or decreasing the resolution, as you likely are just playing on a oddball resolution - don't remember things being such an issue like you are having.

Modifié par painofdungeoneternal, 10 février 2012 - 05:48 .


#16
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 585 messages

PianoPete wrote...

I found the defaultchat.xml file but could neither copy nor open it. Really weird. Can't right click copy it.


I have no answer for you on that one. Maybe a permissions problem? Make sure you are logged in with the acount that installed it. When I right-click I get the standard open, open with, move to trash, get info, compress, copy, etc. options.

OK well maybe 'unplayable' was too strong a word, but it is a pita and annoys me enough to not want to play it.  

Maybe patience is directly proportional to the purchase price. If having to move a window around when you load a game annoys you enough to think you shouldn't bother playing, then perhaps you're right. I'm sure there are other things in the game that will annoy you far more.

Regards

#17
PianoPete

PianoPete
  • Members
  • 31 messages
It's not easy moving that window! lol. The hotbars are a cinch to move so not a big deal there.

Yeah it's a permissions problem. I changed permission on it via the get info window. I also ran disk utility repair permissions and rebooted but I still can't copy it….ugh.

#18
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 585 messages
Your account is an administrator account?

Here is the content of the unmodified defaultchat.xml file. CAnnot be sure that posting it like this will not alter the contents though, so best approach is to figure out why you cannot copy it.


<?xml version="1.0" encoding="utf-8">

<UIScene name="SCREEN_MESSAGE_1" width=398 height=138 x=112 y=575 minwidth=314 minheight=118 capturemouseclicks="false" priority="SCENE_INGAME"
dragresizable="true" dragresize_x=0 dragresize_y=20 dragresizeborder="6" capturemouseevents="true"
draggable="true" dragregion_x=0 dragregion_y=0 dragregion_width=100 dragregion_height=20 />


<UIPane name="DRAG_REGION" x=0 y=0 width=100 height=20 alpha="1.0" fadealpha="0.0" update=true capturemouseclicks=false
OnUpdate=UIObject_OnUpdate_FadeAlpha("0.25")
OnMouseEnter=UIObject_Input_SetFadeAlpha("1.0")
OnMouseLeave=UIObject_Input_SetFadeAlpha("0.0") >
<UIText strref=2392 align=center valign=middle x=0 y=0 width=PARENT_WIDTH height=PARENT_HEIGHT fontfamily="Default" />
<UIFrame width=PARENT_WIDDTH height=PARENT_HEIGHT topleft="tp_frame_tl.tga" topright="tp_frame_tr.tga" bottomleft="tp_frame_bl.tga"
bottomright="tp_frame_BR.tga" top="tp_frame_t.tga" bottom="tp_frame_b.tga"
left="tp_frame_l.tga" right="tp_frame_r.tga" fillstyle="stretch" fill="tp_frame_bg.tga"
border=5 />
</UIPane>

<UIIcon name="left_edge" x="0" y="20" img="fx_white.tga" width="1" height="PARENT_HEIGHT" color="A1A29A" scalewidthtoparent="false" scaleheighttoparent="false" />
<UIIcon name="top_edge" x="0" y="20" img="fx_white.tga" width="PARENT_WIDTH" height="1" color="A1A29A" scalewidthtoparent="false" scaleheighttoparent="false" />
<UIIcon name="right_edge" x="397" y="20" img="fx_white.tga" width="1" height="PARENT_HEIGHT" color="A1A29A" scalewidthtoparent="false" scaleheighttoparent="false" />
<UIIcon name="bottom_edge" x="0" y="137" img="fx_white.tga" width="PARENT_WIDTH" height="1" color="A1A29A" scalewidthtoparent="false" scaleheighttoparent="false" />

<!-- Input Fields -->
<!-- Nota Bene: These 3 groups need to be in sequence -->
<UIText name="IMEReadingWindow" x=16 y=106 valign="middle" width=64 height=32 editable="false" selectable="false"
multiline="false" scaleytoparent="false" scalewidthtoparent="true" fontfamily="International" hidden="true" color="FFFFFF" />
<UIIcon name="IMEReadingWindowBG" img="fx_white.tga" color="FF0F2F2F" alpha="1.0" x=16 y=86 width=64 height=32 scaleytoparent="false" />

<UIText name="IMEComposeWindow" x="2" y="22" valign="middle" width="296" height="32" editable="false" selectable="false"
multiline="false" scaleytoparent="false" scalewidthtoparent="true" fontfamily="International" hidden="true" color="FFFFFF" />
<UIIcon name="IMEComposeWindowBG" img="fx_white.tga" color="FF0F2F2F" alpha="1.0" x="2" y="2" width="296" height="32" scaleytoparent="false" />

<UIText name="IMECandidateWindow" x="128" y="84" valign="middle" width="188" height="32" editable="false" selectable="false"
multiline="true" scaleytoparent="false" scalewidthtoparent="true" fontfamily="International" hidden="true" color="FFFFFF" />
<UIIcon name="IMECandidateWindowBG" img="fx_white.tga" color="FF0F2F2F" alpha="1.0" x="128" y="64" width="188" height="32" scaleytoparent="false" />
<!-- End 3 group Sequence -->

<!-- Chat Listbox -->
<UIListBox name="messagelistbox" x=24 y=26 xPadding=5 yPadding=2 showpartialchild="true" width=375 height=70
OnResize=UIListBox_OnResize_ScrollToBottom()
OnRadialRequest=UIObject_OnRadial_DisplayQuickchatRadial()
scrollbaronright="false" unequalcontrols="true" scrollsegmentsize="16" hidescrollbarwhennotneeded="true" snaptobottom="true"
scaleheighttoparent="true" scalewidthtoparent="true" capturemouseclicks="false" >

<UIText name="repliestext" width="PARENT_WIDTH" height="DYNAMIC" color="ffc8c0" highlightcolor="FFFFFF" sizetofit="true" align="left"
prototype="true" fontfamily="Default" capturemouseclicks=false capturemouseevents=true />

<UIScrollBar name="SB" style="STYLE_SB_ULTRA_THIN"></UIScrollBar>
</UIListBox>

<!-- Input Listbox -->
<UIPane name="INPUT_CONTAINER" x="24" y="96" width="375" height="36" >
<UIListBox name="INPUT_LISTBOX" x="0" y="0" width="PARENT_WIDTH" height="PARENT_HEIGHT" showpartialchild="true"
unequalcontrols="true" scrollsegmentsize="30" hidescrollbarwhennotneeded="true" >

<!-- WAS filter="alphanumeric" and not allowspace="true" -->
<UIText name="inputbox" allowspace="true" width="PARENT_WIDTH" height="DYNAMIC" align="left" valign="top"
fontfamily="International" multiline="true" returnrestricted="true" editable="true" selectable="true"
maxlength="255" OnReturn="UIText_OnReturn_ParseChatInput()"
update=true OnUpdate="UIText_OnUpdate_ParseChatInput()"
/>

<UIScrollBar name="SB" style="STYLE_SB_ULTRA_THIN"></UIScrollBar>
</UIListBox>
<UIIcon name="inputbg" x="0" y="0" width="PARENT_WIDTH" height="PARENT_HEIGHT" img="fx_white.tga" color="2F000000" alpha="0.75" />
</UIPane>

<!-- Background Image -->
<UIIcon name="messagebackground" x="0" y="20" img="fx_white.tga" width=PARENT_WIDTH height=PARENT_HEIGHT color="2F000000" alpha="0.60" />

#19
PianoPete

PianoPete
  • Members
  • 31 messages
Got it where I want it thank you so much! I changed permissions on the contents folder and applied to all enclosed. It then worked when I selected duplicate (but still wouldn't work if I selected copy). Thanks again for your patience and advice.