TrinityPK
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Making clients work for 64 bit OS (such as vista and win
EmpathyDate: Friday, 2009-12-11, 2:29 AM | Message # 1
Lieutenant
Group: Users
Messages: 45
Reputation: 2
Status: Offline
The following guide should fix issues such as the client crashing after taking two steps after logging in, which is the problem which makes a vast majority of servers crash for 64 bit operating systems. This will be required for 64 bit Vista and probably Win 7 (I don't have windows 7 so I wouldn't know)

Firstly, go into (for the new client),
Computer -> OS (C:) -> Program Files (x86) -> TrinityPk Client

Then find the windows batch file called RunClient. Right click on this, then click "Edit"
This should bring up a text file containing what that file is ordered to do.
For most clients, it should look a little like:

Code
@echo off
Start java -Xmx500m -cp .;Theme.jar Gui
exit

Now, you have to highlight all of that and delete it.
Then replace it with the following, which should redirect the opening of Java to the place it is saved in 64 bit OS:

Code
@echo off
cls
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx500m -cp .;Theme.jar Gui
exit
pause

Hopefully that should make clients work for anyone who had this issue.
This was the reason I could not play the latter part of old Trinity-Pk, I got a new computer and I myself had this problem.

I found out how to do all this from the moparscape thread http://www.moparscape.org/smf/index.php/topic,409149.0.html , and all credit of this guide goes to the author of that thread. I have simply reworded and adapted his guide to suite those of this server.

 
ChiefDate: Friday, 2009-12-11, 4:07 AM | Message # 2
Lieutenant
Group: Administrators
Messages: 49
Reputation: 2
Status: Offline
Im pretty sure you dont need the exit and pause in the same thing.

Just make it like this:

Code
@echo off
cls
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx500m -cp .;Theme.jar Gui
exit
 
ChiefDate: Friday, 2009-12-11, 4:08 AM | Message # 3
Lieutenant
Group: Administrators
Messages: 49
Reputation: 2
Status: Offline
Im pretty sure you dont need the exit and pause in the same thing.

Just make it like this:

Code
@echo off
cls
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx500m -cp .;Theme.jar Gui
exit
 
HeavenDate: Friday, 2009-12-11, 7:30 PM | Message # 4
Sergeant
Group: Users
Messages: 23
Reputation: 0
Status: Offline
it says acces denied if i want to save it

Message edited by Heaven - Saturday, 2009-12-12, 1:15 AM
 
ChiefDate: Friday, 2009-12-11, 7:51 PM | Message # 5
Lieutenant
Group: Administrators
Messages: 49
Reputation: 2
Status: Offline
Then try "run as administrator"
 
HeavenDate: Saturday, 2009-12-12, 1:14 AM | Message # 6
Sergeant
Group: Users
Messages: 23
Reputation: 0
Status: Offline
Already tried that
 
EmpathyDate: Saturday, 2009-12-12, 7:17 PM | Message # 7
Lieutenant
Group: Users
Messages: 45
Reputation: 2
Status: Offline
In that case I have no idea. You might need to add environmental variables...
 
ChiefDate: Wednesday, 2009-12-16, 5:29 AM | Message # 8
Lieutenant
Group: Administrators
Messages: 49
Reputation: 2
Status: Offline
I have just received a new laptop and I as well had your same problem with the access denied and all.

Just go into you Program Files (x86) and click and drag the Client into your desktop.

Then run the client from there.

 
MonsterDate: Tuesday, 2009-12-22, 2:07 AM | Message # 9
Private
Group: Users
Messages: 13
Reputation: 2
Status: Offline
ahh thnx dude.. nice guide... had to re-install every time i wanted to play.. but u fixed it thnx mate +rep for u

Message edited by Monster - Tuesday, 2009-12-22, 2:08 AM
 
  • Page 1 of 1
  • 1
Search:

Copyright TrinityPK © 2025