PSOBB Controls for PSOPC 1.2 (07/17/2011) WASD or ESDF

View previous topic View next topic Go down

PSOBB Controls for PSOPC 1.2 (07/17/2011) WASD or ESDF

Post  SDreamer on Tue Jul 12, 2011 11:52 pm

Introduction:
Because PSOBB runs like crap on my laptops (running an Intel 4500MHD and HD), and I wanted to play the original PSO experience, I opted to play PSOPC (PSU runs fine on both laptops). Problem was that it is incompatible sorts to speak with laptops (no numpads!). Linked below is an AutoHotKey script that I threw together to simulate PSOBB controls working on PSOPC.

Requirements:
Tested on two laptops, both running PSOPC (torrent) and PSO Vista & 7 Window Executable. (both from Aleron Ives's download page)
- "Stock" PSO PC install (download from torrent)
- PSO Vista & 7 Exe for Vista and 7 (for Vista and 7 only, not tested on XP)
- No Compatibility Mode and/or Run as Admin applied to exe's (for Vista and 7 only)
- US Keyboard or QWERTY compatible.

Directions
- Download executable (link below) or run via AutoHotKey (copy the script below to your own scripts).
- Run concurrently along PSO. Can be loaded at any time.

Controls:
- WASD or ESDF for direciton (depends on which one you're running)
- Caps lock to toggle typing and WASD
- Q or E (or W or R) to toggle auto move (moving backwards toggles off as well. Character continues to run even if controls are toggeled off)
- JKL alternate for arrow controls (bottom row)
- I key for center camera
- U for Quick Chat
- O for Options
- ; for Secondary controls
- Regular Arrow key controls still intact w/ Right Shift as Center Camera

Note:
- This script shouldn't interfere with typing in other programs. You don't have to toggle WASD and typing outside of PSO.
- Tested it on another install I found over on schtscherv's new forums, and that didn't work at all for me.
- Some keys are entered globally. Example: Talking on MSN/WLM/AIM/YIM/etc when pushing enter to send an IM, will cause PSO to press enter as well. Can be annoying if in menus.
- Might work on XP as well. (no XP box to test on)
- Running the programs in compatibility mode or as admin causes incompatibility (no clue why)
- Created an ESDF and added IJKL controls help minimize movement between chat and gameplay controls. Original controls still intact (arrow keys). Can use UJKL to navigate menus as well.
- There were two occasions when I had keys get stuck on me. Couldn't figure out what exactly happened. Requires a restart of the game to return things back to normal (even exiting the script didn't seem to fix it). This isn't a regular occurance, but some random occurance (they happened when I was testing some things at the time, but couldn't figure out what the cause was).
- Semicolon remap may not work for everyone depending on their keyboard region.

Downloads
PSOBB Controls 1.2 WASD via Megaupload
PSOBB Controls 1.2 ESDF via Megaupload

Changelog
Code:

1.2 - 07/17/2011
- Added alternate .exe with ESDF controls for direction instead of WASD.
- Added alternate IJKL controls to Arrow keys.
- U for quick chat, I for Center Camera, O for Home, J for Left Panel, K for Center Panel, L for Right Panel, Semi-colon for alternate panel.
- Reason for addition is to make it more seemless going between typing and gameplay (at least for myself anyways).
- Original Arrow keys work as is with Right Shift as Center Camera.

1.1 - 07/13/2011
-Added auto run toggle to Q and E keys.

1.0 - 07/12/2011
- Initial Release.
- WASD for directional movement
- Right Shift for Center Camera

Hope this helps!

Auto Hot Key Scripts
WASD version
Code:

#IfWinActive ahk_class PSO for PC
{
capslock::suspend
w::numpadup
a::numpadleft
d::numpadright
s::
   {
   GetKeyState, state, NumpadUp
   if state = D
      {
         send {numpadup up}
         send {numpaddown down}
         return
      }
   else
      {   
         s::numpaddown
      }
   return
   }

q::
   {
   GetKeyState, state, NumpadUp

   if state = U
      {
         send {numpadup down}
         return   
      }
   if state = D
      {
         send {numpadup up}
         return
      }
   return
   }
e::
   {
   GetKeyState, state, NumpadUp

   if state = U
      {
         send {numpadup down}
         return
      }
   if state = D
      {
         send {numpadup up}
         return
      }
   return
   }
u::up
j::left
k::down
l::right
i::tab
o::home

SC027::ctrl

rshift::tab
}

ESDF version
Code:

#IfWinActive ahk_class PSO for PC
{
capslock::suspend
e::numpadup
s::numpadleft
f::numpadright
d::
   {
   GetKeyState, state, NumpadUp
   if state = D
      {
         send {numpadup up}
         send {numpaddown down}
         return
      }
   else
      {   
         d::numpaddown
      }
   return
   }

w::
   {
   GetKeyState, state, NumpadUp

   if state = U
      {
         send {numpadup down}
         return   
      }
   if state = D
      {
         send {numpadup up}
         return
      }
   return
   }
r::
   {
   GetKeyState, state, NumpadUp

   if state = U
      {
         send {numpadup down}
         return
      }
   if state = D
      {
         send {numpadup up}
         return
      }
   return
   }
u::up
j::left
k::down
l::right
i::tab
o::home

SC027::ctrl

rshift::tab
}


Last edited by SDreamer on Mon Jul 18, 2011 12:53 am; edited 9 times in total

SDreamer
Member
Member

Number of posts : 8
Registration date : 2011-07-12

View user profile

Back to top Go down

Re: PSOBB Controls for PSOPC 1.2 (07/17/2011) WASD or ESDF

Post  Aleron Ives on Wed Jul 13, 2011 12:30 pm

What is an Auto Hot Key script? Is this like a batch file you can paste into a text file and then run, or does it require some other program?

_________________
"Fear the HUnewearl."
avatar
Aleron Ives
Socially-Devoid Member
Socially-Devoid Member

Number of posts : 2113
Age : 29
Registration date : 2008-03-24

View user profile http://psopalace.funurl.com

Back to top Go down

Re: PSOBB Controls for PSOPC 1.2 (07/17/2011) WASD or ESDF

Post  SDreamer on Wed Jul 13, 2011 12:47 pm

AutHotKey lets you remap keys and mouse clicks. The software is separate, you can use the included compiler to compile your scripts into stand alone executables. The software is located at http://www.autohotkey.com/. It's pretty hand for other things and making macros. Requires some programming logic, pretty easy to learn if you've taken a basic programming course. Scripts are stored as text files with the extension .ahk, and you can just copy and paste scripts together and run it through AutoHotKey or compile it as an executable.

Updated to 1.1
- Includes toggle for auto run via Q and E keys.

SDreamer
Member
Member

Number of posts : 8
Registration date : 2011-07-12

View user profile

Back to top Go down

PSOBB Controls for PSOBB 1.2 WASD + ESDF

Post  SDreamer on Mon Jul 18, 2011 12:48 am

Updated to 1.2 (07/17/2011)
- Added alternate .exe with ESDF controls for direction instead of WASD.
- Added alternate IJKL controls to Arrow keys.
- U for quick chat, I for Center Camera, O for Home, J for Left Panel, K for Center Panel, L for Right Panel, Semi-colon for alternate panel.
- Reason for addition is to make it more seemless going between typing and gameplay (at least for myself anyways).
- Original Arrow keys work as is with Right Shift as Center Camera.

Smile

SDreamer
Member
Member

Number of posts : 8
Registration date : 2011-07-12

View user profile

Back to top Go down

Re: PSOBB Controls for PSOPC 1.2 (07/17/2011) WASD or ESDF

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum