Mac GUI
#1
Posté 09 février 2012 - 05:31
#2
Posté 09 février 2012 - 05:56
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
Posté 09 février 2012 - 06:33
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
Posté 09 février 2012 - 06:54
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
Posté 09 février 2012 - 09:07
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
Posté 09 février 2012 - 10:30
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
Posté 09 février 2012 - 10:36
#8
Posté 09 février 2012 - 04:09
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
Posté 09 février 2012 - 04:57
#10
Posté 10 février 2012 - 01:57
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
Posté 10 février 2012 - 03:15
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
Posté 10 février 2012 - 03:35
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
Posté 10 février 2012 - 03:50
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
Posté 10 février 2012 - 05:09
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
Posté 10 février 2012 - 05:47
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
Posté 10 février 2012 - 04:15
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.
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.OK well maybe 'unplayable' was too strong a word, but it is a pita and annoys me enough to not want to play it.
Regards
#17
Posté 11 février 2012 - 06:59
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
Posté 11 février 2012 - 06:08
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
Posté 11 février 2012 - 11:15





Retour en haut






