I've been having trouble getting mpAL working. I installed it, but when I try to run allegiance it gives me this error:
I'm running Windows 7. I've never had trouble with mpAL under my old XP install, and I just never got around to installing it until now.
I can still play allegiance using ASGSClient directly, but the mpAL-modified Allegiance shortcut on the desktop results in that error.
Ideas?
mpAL
This is the wrong place... You better talk to madpeople.
http://www.freeallegiance.org/forums/index...p;showentry=211
http://www.freeallegiance.org/forums/index...p;showentry=211
Last edited by pkk on Thu Nov 18, 2010 7:19 pm, edited 1 time in total.
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
Maybe, not that I know of. I'll reinstall TS2 and see if that helps.FreeBeer wrote:QUOTE (FreeBeer @ Nov 18 2010, 07:52 AM) pkk is right, it's madp's code and outside our normal area of help.
But I think I know the answer - it's looking for your TS2 shortcut. Now that we do mumble, I'm guessing that you've removed TS2 or at least the shortcut to it?
Yup, it's looking for TS2 and can't find it. (So very long since I've looked at this code, so my responses are somewhat vague and not guaranteed to be accurate.)
Run the mpal config script in the install dir, deselect TS2 (If it's not installed then it shouldn't be available anyway). Perhaps you had TS2 installed when you installed mpal and have since uninstalled it?
Maybe links are getting confused with 64bit windows?
Run the mpal config script in the install dir, deselect TS2 (If it's not installed then it shouldn't be available anyway). Perhaps you had TS2 installed when you installed mpal and have since uninstalled it?
Maybe links are getting confused with 64bit windows?
From what I see is that the script only works with TS2/TSO and needs to be adjusted to mumble.
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
Hmm, slight problem. I can't find the install dir for mpal. It doesn't appear to be in my Allegiance folder, which doesn't make any sense. The mpAL-modified Allegiance shortcut on the desktop has this path:
"C:\Users\AndrewM\AppData\Local\VirtualStore\Program Files\Microsoft Games\Allegiance\mpAL\mpAL.ahk"
Is that right? Isn't it supposed to be in the allegiance folder itself?
Also, I ran the config script deselecting the TS2 parts, and I reinstalled TS2. Didn't change anything. Same error.
"C:\Users\AndrewM\AppData\Local\VirtualStore\Program Files\Microsoft Games\Allegiance\mpAL\mpAL.ahk"
Is that right? Isn't it supposed to be in the allegiance folder itself?
Also, I ran the config script deselecting the TS2 parts, and I reinstalled TS2. Didn't change anything. Same error.
Strange dir, it is meant to select the allegiance install dir after looking in the registry. Perhaps this is how windows 7 deals with certain requests to write to program files dir by a program without admin privileges.LANS wrote:QUOTE (LANS @ Nov 19 2010, 01:04 AM) Hmm, slight problem. I can't find the install dir for mpal. It doesn't appear to be in my Allegiance folder, which doesn't make any sense. The mpAL-modified Allegiance shortcut on the desktop has this path:
"C:\Users\AndrewM\AppData\Local\VirtualStore\Program Files\Microsoft Games\Allegiance\mpAL\mpAL.ahk"
Is that right? Isn't it supposed to be in the allegiance folder itself?
What happens if you find the autohotkey install dir, set the autohotkey.exe to always run with admin privileges, then run the install script?
QUOTE Also, I ran the config script deselecting the TS2 parts, and I reinstalled TS2. Didn't change anything. Same error.[/quote]
Interesting, deselecting it should have removed that part of the script completely, suggests that the config script isn't changing the script that you are running - perhaps it is pointing to a different dir or doesn't have rights to write to that folder?
Something to try - delete the mpAL folder and other associated mpAL files, run the installer from my blog with admin privileges so it can write to the allegiance dir.
When the install script is run it tries to find TS2 (and fraps), if it finds it it makes a link to TS2 in the mpAL install dir (mpAL dir is generated by reading the allegiance dir from the registry and making a sub folder). It then makes a text file indicating what programs are installed (TS2, fraps etc). It then writes the config script to the install dir and then runs that script. The config script reads the text file to decide which options to allow (it disables the TS2 check box if TS2 isn't installed). User selects which options they want in the script. Config utility then writes the actual mpAL script to the mpAL install dir including only the sections the user selected.FreeBeer wrote:QUOTE (FreeBeer @ Nov 19 2010, 02:23 AM) Looking at my install, it's in .../Microsoft Games/Allegiance/mpAL. I also note that there's a TS2 shortcut in that folder. Perhaps that's the shortcut that the script is attempting to use, but doesn't exist?
The installer is actually a script which writes a script that writes a script - which is why I'm not entirely sure about trying to make changes to it (I did it that way because at the time I was wizardly at ahk but knew no other languages well enough to achieve what I wanted). I imagine if there are problems with the install script in windows 7 I could do it again in C# and combine the installer and config utility in a single .exe which could be run with admin power more easily.



