Introducing: Guild Wars Multi-Launch

9 pages Page 4
Teysar kitait
Teysar kitait
Academy Page
#61
already did just to make sure... nearly 14 hours of downloading using "-image" >.<

and i don't have the old .exe sorry, and so can't do that.

but still, thanks for all your help, it works fine now
T
Tmm Ryan
Frost Gate Guardian
#62
Just wanted to send my appreciation for a well made program!

Works fine on me on Windows 7 (RC 7100) after making a copy (was getting gw.dat error)
Snograt
Snograt
rattus rattus
#63
@imkey:

I'm getting a lot of crashes recently like this:
Code:
*--> Crash <--*
Assertion: 
PathFind.cpp(2130)
App: Gw.exe
Is PathFind.cpp part of GWML or Gw itself? (It's a C++ thang, right?)
Brett Kuntz
Brett Kuntz
Core Guru
#64
Quote:
Originally Posted by Snograt View Post
@imkey:

I'm getting a lot of crashes recently like this:
Code:
*--> Crash <--*
Assertion: 
PathFind.cpp(2130)
App: Gw.exe
Is PathFind.cpp part of GWML or Gw itself? (It's a C++ thang, right?)
That's an error inside of GW, but it is being caused by GWML.


Pro Tip: Make GWML virtualize a seperate environment for each executable, all while sharing common resources like GW.DAT. Just hook the Registry functions that deal with the local enviroment, CreateMutex, and the CreateFile/ReadFile/WriteFile funtions:

-Emulate so every new GW.EXE will think it's running at C:\Program Files\Guild Wars\
-Open Winsock in every executable started. The first GW.EXE launched will be a server, the rest all clients that connect to the server. The first opened GW.EXE (server) will be the I/O traffic controller for all GW.DAT file I/O. All other slave GW.EXE's will get their File I/O through the server, and all slaves will have their GW.DAT writing virtualized so that it doesn't actually happen.

It would be pretty easy to set this all up since it's really only a few simple hooks and a little bit of simple emulated virtualization, and can be done all through W32 User Mode API.

Edit-I drew a super badass picture to go with my super badass post:

i
imkey
Frost Gate Guardian
#65
@Snograt

Do you have any more details about the circumstances around PathFind.cpp issue?

@kunt0r

I originally had the virtualize file access stuff on the wishlist but took it off since I don't have experience hooking the win32 calls which read/write to disk. If you have time to help develop this feature, that would be awesome. I would be happy to add you to svn commit access list.

Also, do you have any insight to whats causing the assertion inside PathFind.cpp to fail.


Quote:
Originally Posted by kunt0r View Post
That's an error inside of GW, but it is being caused by GWML.


Pro Tip: Make GWML virtualize a seperate environment for each executable, all while sharing common resources like GW.DAT. Just hook the Registry functions that deal with the local enviroment, CreateMutex, and the CreateFile/ReadFile/WriteFile funtions:

-Emulate so every new GW.EXE will think it's running at C:\Program Files\Guild Wars\
-Open Winsock in every executable started. The first GW.EXE launched will be a server, the rest all clients that connect to the server. The first opened GW.EXE (server) will be the I/O traffic controller for all GW.DAT file I/O. All other slave GW.EXE's will get their File I/O through the server, and all slaves will have their GW.DAT writing virtualized so that it doesn't actually happen.

It would be pretty easy to set this all up since it's really only a few simple hooks and a little bit of simple emulated virtualization, and can be done all through W32 User Mode API.

Edit-I drew a super badass picture to go with my super badass post:

Brett Kuntz
Brett Kuntz
Core Guru
#66
Quote:
Originally Posted by imkey View Post
@kunt0r

I originally had the virtualize file access stuff on the wishlist but took it off since I don't have experience hooking the win32 calls which read/write to disk. If you have time to help develop this feature, that would be awesome. I would be happy to add you to svn commit access list.

Also, do you have any insight to whats causing the assertion inside PathFind.cpp to fail.
I don't have time to help out at all, but CreateFile, ReadFile, WriteFile, and whatever the one is to set the file pointer, they're all pretty easy to understand.

As for the crash, I'm not too sure about it, but it's most likely causes by a shared GW.DAT or some other shared resource.
i
imkey
Frost Gate Guardian
#67
I'll have to go read up more on how to do the hooking stuff. And in particular the winsock stuff. For that, are you suggesting having gwml running in background and doing the redirecting of calls from one gw to the other? Or do the hooks take care of it? Haven't had much time lately. If it does get implemented it would probably have to be for the 1.0 release cycle.

hmm, regarding the crash. The only thing I am aware of it sharing is just sound system/graphics system when multiple gws are running. When there are multiples copies, they do not share the same gw.dat since that would cause file access issues.
Snograt
Snograt
rattus rattus
#68
Just to complicate things, I didn't have two instances running at the time of the crash(es) last night. Your program is so neat that I now just have two GW shortcuts on my desktop that were created by GWML - I launched via one of those. I didn't think to check if there was a "phantom" instance of GW running (via Task Manager) as sometimes occurs.

The problem went away after a reboot, so it's not a major issue. Oh, and before I rebooted, the problem was occurring when running GW from an un-tainted vanilla shortcut, so it probably wasn't GWML in the first place ^^

(If you can get Kunt0r aboard in even the most trivial capacity you'll be flying - what that guy doesn't know about the inner workings of GW ain't worth knowing)
s
swordmaster grast
Ascalonian Squire
#69
well i have a question...im runnign vistax32 bit and i unzipped it and try to open the launcher and it says GWMultiLaunch has stopped working and i go to
view the problem and it says this...

Description:
Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: gwmultilaunch.exe
Problem Signature 02: 0.5.0.0
Problem Signature 03: 4a171dfd
Problem Signature 04: mscorlib
Problem Signature 05: 2.0.0.0
Problem Signature 06: 47577b16
Problem Signature 07: 37d0
Problem Signature 08: b
Problem Signature 09: System.Security.Security
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 1033

so if u could try to help me figure this out that would be amazing cause i really want a multi loader the guildwars magic one will not work either
i
imkey
Frost Gate Guardian
#70
From the looks of that, it seems to be a security issue.

Are you running this off a network drive?

If you are running this from a local network drive you can either try running it from local hard drive (strongly recommended) or modify the .NET security policies from an admin account:

Start->Control Panel->Administrative Tools->Microsoft .NET Config->
Configure Code Access Security Policy->Adjust zone Security

Select system wide type. Make sure the setting for:
My Computer is Full Trust (definitely make sure this is full trust)
and
Local Intranet is Full Trust (if you want to run it from network share drive)
(you may also need to make "internet zone" full trust depending on your local network config)

Hit Apply.

If you are already running this from a local hard drive, make sure the "My Computer" is given full trust in the "adjust zone security" dialog.

If this does not resolve your issue, you can possibly try installing .NET framework 3.5 sp1 to see if it fixes possible the problem. The .NET framework 3.5 sp1 by default allows apps to run from network drives.

http://www.microsoft.com/downloads/d...displaylang=en

Quote:
Originally Posted by swordmaster grast View Post
well i have a question...im runnign vistax32 bit and i unzipped it and try to open the launcher and it says GWMultiLaunch has stopped working and i go to
view the problem and it says this...

Description:
Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: gwmultilaunch.exe
Problem Signature 02: 0.5.0.0
Problem Signature 03: 4a171dfd
Problem Signature 04: mscorlib
Problem Signature 05: 2.0.0.0
Problem Signature 06: 47577b16
Problem Signature 07: 37d0
Problem Signature 08: b
Problem Signature 09: System.Security.Security
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 1033

so if u could try to help me figure this out that would be amazing cause i really want a multi loader the guildwars magic one will not work either
watrah
watrah
Frost Gate Guardian
#71
hi

I have a problem that I can't run more than 2 copies
i
imkey
Frost Gate Guardian
#72
Can you provide more details than that? What happens specifically? What is your directory setup?

Quote:
Originally Posted by watrah View Post
hi

I have a problem that I can't run more than 2 copies
watrah
watrah
Frost Gate Guardian
#73
I think I know the problem I just reinstall GW and I was able to run 4 copies


thanks for the great work
Nessar
Nessar
Krytan Explorer
#74
Just dropped by to say thanks for making this. GWx2 wasn't working for me x.x. So glad I found this ^.^
s
swordmaster grast
Ascalonian Squire
#75
ok well i got the first problem fixed with the framework...but now when i try to run the second copy it says...

Guild Wars is unable to access its archive file C:\Program Files\Guild Wars2\Gw.dat. Please verify that this file is accessible and writeable, and that no other program is currently using it.

so if u could help again i would greatly appreciate it
i
imkey
Frost Gate Guardian
#76
That means the first copy has "C:\Program Files\Guild Wars2\Gw.dat" open. Gw.exe uses whichever gw.dat is set to in the registry path.

If you are looking into opening multiple copies, it is easiest to open them via the launcher which should take care of the setting the proper registry path before opening. Or just make sure the registry path is set (there's a button) to the right one beforehand if you are open one manually.

The registry path is left set to the last gw.exe opened by the launcher to be more compatible with gw updates.

Quote:
Originally Posted by swordmaster grast View Post
ok well i got the first problem fixed with the framework...but now when i try to run the second copy it says...

Guild Wars is unable to access its archive file C:\Program Files\Guild Wars2\Gw.dat. Please verify that this file is accessible and writeable, and that no other program is currently using it.

so if u could help again i would greatly appreciate it
Kordis Sol
Kordis Sol
Ascalonian Squire
#77
I was wondering if any of you guys could help me.

I have been introduced to the old gwx2 file, and that didnt appear to work - at least as it would let me run the program twice from two different folders, but when i try to log in on one of them i get the code 58 firewall/router issue (other login works fine). The same happens for this application.

I was wondering if any of you have ever had this issue, and know what to do to resolve it? If it helps, I am using a netgear rangemax router.
i
imkey
Frost Gate Guardian
#78
The first thing I would do is isolate the issue. You want to figure out if it is your router configuration or computer.

Attempt to login 2 copies of guild wars from a different computer connected to your router.

If that does not work, it is more likely it is some router configuration issue. I would not be familiar with rangemax routers so your best resource in this case is forums which deal with that router.

If that does work, there is possibly some software such as a software firewall on your main computer which is allowing only one of the gw.exe's to pass through. You may only have given one of the guild wars paths permission to connect to internet. You need to reconfigure your software firewall or just disable it for a quick test.

In either case, I would try to find a coworker or friend that knows about firewalls/network settings to fix your setup if you are not comfortable troubleshooting it. It is easiest for someone to resolve this issue in person.

Quote:
Originally Posted by Kordis Sol View Post
I was wondering if any of you guys could help me.

I have been introduced to the old gwx2 file, and that didnt appear to work - at least as it would let me run the program twice from two different folders, but when i try to log in on one of them i get the code 58 firewall/router issue (other login works fine). The same happens for this application.

I was wondering if any of you have ever had this issue, and know what to do to resolve it? If it helps, I am using a netgear rangemax router.
M
Magi Ultimatus
Ascalonian Squire
#79
I had tried GWx2 to load two different copies, and went through close to 2 hours of hell trying to figure out why it wouldn't work. I tried the multi-launcher and it wouldn't work at all, and again, I tried for nigh an hour to get it to work. The problem was resolved (as was suggested a page or so earlier) when I re-downloaded the client off of guildwars.com. Seems like GWx2 messes with your .exe. Hope my pain helps someone ^^

(Note: I'm running a 64 bit Vista OS.)
sarra june
sarra june
Krytan Explorer
#80
Thanks a lot, this is an awesome program

To anyone having problems running in Vista, try right clicking and choosing the 'run as administrator' option. That may fix it for you as it did me