Author Topic: shortcut menu corrupted  (Read 1384 times)

zanzibar

  • Forum Legend
  • *
  • Posts: 6523
    • View Profile
shortcut menu corrupted
« on: June 21, 2005, 06:10:06 am »
I need to replace the file which stores the shortcut menu.  I\'d rather avoid a complete reinstall.

Basically, I was clearing off the buttons I didn\'t use.  The next time I opened Plane Shift, the menu was wack.  It was a green rectangle that stretched the height of my screen.  No buttons, could not be resize.  Right clicking just brought up an empty shortcut window.
Quote from: Raa
Immaturity is FTW.

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #1 on: June 21, 2005, 08:11:25 am »
Try to go in the dir where PS is installed, then data and then, if you want to reset completely you should have a file called:
shortcutcommands_def.xml
I am pretty sure you can reset to default the shortcut from ingame, but I don\'t know how. You can try deleting the file shortcutcommands.xml that should be the one with your personal preferences.
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

zanzibar

  • Forum Legend
  • *
  • Posts: 6523
    • View Profile
(No subject)
« Reply #2 on: June 21, 2005, 09:32:41 am »
No dice.  Looks like I have to re-install.
Quote from: Raa
Immaturity is FTW.

Androgos

  • Guest
(No subject)
« Reply #3 on: June 21, 2005, 03:24:55 pm »
It\'s by no chance you changed data/gui/shortcuts.xml?
Since that\'s the window definition, it will get crazy if you change too much especialy remove stuff

zanzibar

  • Forum Legend
  • *
  • Posts: 6523
    • View Profile
(No subject)
« Reply #4 on: June 21, 2005, 06:17:51 pm »
It did go crazy, and I did remove stuff.  Most of the shortcuts I simply do not need.
Quote from: Raa
Immaturity is FTW.

Rilar

  • Hydlaa Resident
  • *
  • Posts: 117
  • GRRRRR
    • View Profile
(No subject)
« Reply #5 on: July 10, 2005, 01:14:27 am »
It seems I am experiencing the same. I changed something and now my shortcut-window is about 1600000 times too large...
No chance to resize it in-game... Would be nice to have a field in the window-options-screen to type in the wished size...

I tried to delete the shortcutcommands.xml and shortcutwindow.xml and updated, also tried to change the size in the setupwindow.xml and in the psclient.cfg... but to no avail. It just turns back to this: .
What is a king without folk? A man with a crown on the head. - Rilar

Rilar

  • Hydlaa Resident
  • *
  • Posts: 117
  • GRRRRR
    • View Profile
(No subject)
« Reply #6 on: July 10, 2005, 03:25:08 am »
I made some progress by changing the values in the planeshift.cfg to those of a friend:
The values in the \"GUI.ShortcutWindow\" section:
visible=true, posX=730, posY=161, width=66, height=190, mintrans=0, maxtrans=200 fadespeed=8, fade=true

That is the result:
You see the shortcutwindow faded in, at the left side the grabbing-edge. The window has again such a big height i cant get to the bottom to change the size.
What is a king without folk? A man with a crown on the head. - Rilar

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #7 on: July 10, 2005, 03:47:41 am »
If you need to replace any file for PS, just delete or rename it.  Run the updater and it will replace it with the default.

Suggestion on editing shortcutcommands.xml:  Make sure your tags are closed and have numbers that match on each side of the shortcut.

::  PlaneShift Team Programmer  ::

zabeal

  • Hydlaa Citizen
  • *
  • Posts: 369
    • View Profile
(No subject)
« Reply #8 on: July 10, 2005, 03:59:04 am »
You edited the wrong lines for making the shortcut menu smaller- there are lines like:
PlaneShift.GUI.ShortcutEdit.Width =
PlaneShift.GUI.ShortcutEdit.Height =
change those to something like 200x200, and they should be useable. The only problem is that it may get really huge again when you log out- in that case you have a bad shortcutcommands.xml. To fix that, delete it from the data/options folder and run the updater.

Lux perpetua luceat eis

Rilar

  • Hydlaa Resident
  • *
  • Posts: 117
  • GRRRRR
    • View Profile
(No subject)
« Reply #9 on: July 11, 2005, 02:46:19 am »
I deleted the whole gui-folder, but after that the shortcutwindow was back to the state as the first screenshot shows.
I think the shortcutwindowsettings are modified somehow by another file which is not obvious.
Im trying now to delete everything but those files I deleted before and are updated already...
What is a king without folk? A man with a crown on the head. - Rilar

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #10 on: July 11, 2005, 08:55:22 am »
The files with some shortcut things:

Planeshift.cfg

data/options/shortcutcommands_def.xml
data/options/shortcutcommands.xml
data/gui/shortcutwindow.xml

and nothing else that I know...
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

Drey

  • Forum Addict
  • *
  • Posts: 2380
    • View Profile
(No subject)
« Reply #11 on: July 11, 2005, 10:27:32 am »
i had this once and the menu was taking up the whole screen, so i tried to delete stuff and update but it didnt work. so in the end i just uninstalled and then installed again and this fixed it for a bit now its broken again but not as bad, the buttons are just bigger so i cant have it in two colums and i have to scroll through them.
<Rux> i wish i could say that narrows it down, but the internet is one freaky place

Platyna

  • Hydlaa Notable
  • *
  • Posts: 556
    • View Profile
(No subject)
« Reply #12 on: July 11, 2005, 11:18:34 am »
Well, you have to find a place which is normally between buttons and window frame, then right click on it.


Regards.
Zuzanna K. Filutowska
RPG Players Community || Platyna\'s Planeshift Warehouse
\"The only thing necessary for evil to triumph is for good men to do nothing.\" -- Edward Burke

zabeal

  • Hydlaa Citizen
  • *
  • Posts: 369
    • View Profile
(No subject)
« Reply #13 on: July 11, 2005, 12:19:35 pm »
Quote
Originally posted by amogorkon
I deleted the whole gui-folder, but after that the shortcutwindow was back to the state as the first screenshot shows.
I think the shortcutwindowsettings are modified somehow by another file which is not obvious.
Im trying now to delete everything but those files I deleted before and are updated already...

Once you have \"data/options/shortcutcommands.xml\" updated, that should stop the settings from being changed, then change the values in psclient.cfg.

Lux perpetua luceat eis

Androgos

  • Guest
(No subject)
« Reply #14 on: July 11, 2005, 01:40:37 pm »
Quote
Originally posted by AryHann
data/gui/shortcutwindow.xml


NEVER NEVER NEVER EVER change the stuff in data/gui if you\'re not 110% sure what you are doing!!!!!!11111one.

It\'s simply the layout of the window, no data is EVER stored in those. To for example remove buttons, DO NOT remove them in the gui xml, do it in the options one and reorder.

If you still edit the gui .xml and screw up, well that\'s your fault