|
 |
| Author |
Message |
|
possumman
|
Posted: 13 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
I just patched from version 1.0.3189 to 1.1.3280, and now I get a fatal error every time I try to load the game. I have tried running as administrator and that doesn't help. Help?
Failed to setup initial search path.
Program : C:\Program Files\THQ\Gas Powered Games\Supreme Commander\bin\SupremeCommander.exe Cmd line arguments :
Callstack: Unknown symbol (address 0x004031aa)
Last 100 lines of log...
Running "C:\Program Files\THQ\Gas Powered Games\Supreme Commander\bin\SupComDataPath.lua" failed: PERSONALSHGetFolderPath failed: stack traceback: [C]: in function `SHGetFolderPath' ...wered Games\Supreme Commander\bin\SupComDataPath.lua(20): in main chunk
|
|
| Top |
|
 |
|
X-Cubed
|
Posted: 13 Feb, 2012
|
|
Joined: 24 Dec, 2008 Posts: 3184
|
|
Try going into your game's user data folder (by default it was in [your username]\AppData (or Application Data if XP)\Local\Gas Powered Games\Supreme Commander) and deleting a file called game.prefs. Note that AppData is a hidden folder in Vista/7. This might solve your problem.
If the folder does not exist, try going to your Documents/My Documents folder\My Games\Gas Powered Games\Supreme Commander folder and seeing if game.prefs is there.
_________________ My system: Intel Core i7-3770K @ 3.5 / 8 GB DDR3 RAM / EVGA GTX 670 FTW
"TA has been the role model of (sic) all Chris Taylor RTSes to come: always big, always complex, always innovative, always niche, and always in need of one more patch."
|
|
| Top |
|
 |
|
possumman
|
Posted: 14 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
Thanks, but it didn't work. Still getting the same error message. Any more ideas? Is there a way to uninstall the patch without uninstalling the whole game? And do I need to restore the game.prefs file?
Thanks!
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16426 Location: camping near the biggest power-up
|
|
Does your profile (your account in Windows) have any non-standard characters in it?
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
|
|
| Top |
|
 |
|
possumman
|
Posted: 14 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
No, it's just "dan" or something. I'm on Windows 7.
The laptop is a work laptop - will that affect things? All other games have run fine, but maybe some access privilege goes wrong or something? It has McAfree antivirus on it (which I do NOT understand, can't they use avast?) but can't see any conflict there...
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16426 Location: camping near the biggest power-up
|
|
I was asking because the information in the error implies there was a problem getting the user profile folders for loading settings and save files.
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
|
|
| Top |
|
 |
|
reddev32
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Jun, 2008 Posts: 1845 Location: England
|
|
even after patch the the supcomdata.lua does not even get modified that was not right.
only game data and the exe get updated when its been patch paste your SupComDataPath.lua in here so we can have a look.
_________________ Reddev32 ~ Reddev GPGnet ~ Obliterating Wave ~ GPGnet ~ SC-Vanilla ~ FA ~ Supcom 2
GPGnet Vault
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16426 Location: camping near the biggest power-up
|
|
revdev, re-read all the posts again.
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
|
|
| Top |
|
 |
|
reddev32
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Jun, 2008 Posts: 1845 Location: England
|
BulletMagnet wrote: revdev, re-read all the posts again. yes but this is after patching. Did the game work before the patch?
_________________ Reddev32 ~ Reddev GPGnet ~ Obliterating Wave ~ GPGnet ~ SC-Vanilla ~ FA ~ Supcom 2
GPGnet Vault
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16426 Location: camping near the biggest power-up
|
Code: stack traceback: [C]: in function `SHGetFolderPath' ...wered Games\Supreme Commander\bin\SupComDataPath.lua(20): in main chunk Means the function SHGetFolderPath was run, and failed so hard that it killed the game. That function's sole purpose is to fetch the address of the folder where mods, maps, and saves are stored. If the SupComDataPath was broken, then the function most likely wouldn't run at all, and we'd be presented with a different error message. Trust me; I've modded my SupComDataPath in both FA and Sup2. That error means the file is fine.
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
|
|
| Top |
|
 |
|
possumman
|
Posted: 14 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
The game worked perfectly before the patch.
So if it's not the SupComDataPath, what is it...? Should I post what it says just on the off-chance? (I know zero about all this, and really appreciate you guys helping!)
|
|
| Top |
|
 |
|
reddev32
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Jun, 2008 Posts: 1845 Location: England
|
possumman wrote: The game worked perfectly before the patch.
So if it's not the SupComDataPath, what is it...? Should I post what it says just on the off-chance? (I know zero about all this, and really appreciate you guys helping!) Yes please post as well as bullet says is true i can't understand after patvhing it fails
_________________ Reddev32 ~ Reddev GPGnet ~ Obliterating Wave ~ GPGnet ~ SC-Vanilla ~ FA ~ Supcom 2
GPGnet Vault
|
|
| Top |
|
 |
|
possumman
|
Posted: 14 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
Ok, I opened it with notepad and here it is:
path = {}
local function mount_dir(dir, mountpoint) table.insert(path, { dir = dir, mountpoint = mountpoint } ) end
local function mount_contents(dir, mountpoint) LOG('checking ' .. dir) for _,entry in io.dir(dir .. '\\*') do if entry != '.' and entry != '..' then local mp = string.lower(entry) mp = string.gsub(mp, '[.]scd$', '') mp = string.gsub(mp, '[.]zip$', '') mount_dir(dir .. '\\' .. entry, mountpoint .. '/' .. mp) end end end
mount_contents(SHGetFolderPath('PERSONAL') .. '/My Games/Gas Powered Games/SupremeCommander/mods', '/mods') mount_contents(SHGetFolderPath('PERSONAL') .. '/My Games/Gas Powered Games/SupremeCommander/maps', '/maps') mount_contents(SHGetFolderPath('LOCAL_APPDATA') .. '/Gas Powered Games/SupremeCommander/mods', '/mods') mount_contents(SHGetFolderPath('LOCAL_APPDATA') .. '/Gas Powered Games/SupremeCommander/maps', '/maps') mount_dir(InitFileDir .. '/../gamedata/*.scd', '/') mount_dir(InitFileDir .. '/..', '/')
hook = { '/schook' }
protocols = { 'http', 'https', 'mailto', 'ventrilo', 'teamspeak', 'daap', 'im', }
|
|
| Top |
|
 |
|
reddev32
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Jun, 2008 Posts: 1845 Location: England
|
|
whats your use path to your gam files aka C:\Users\Danny\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance
_________________ Reddev32 ~ Reddev GPGnet ~ Obliterating Wave ~ GPGnet ~ SC-Vanilla ~ FA ~ Supcom 2
GPGnet Vault
|
|
| Top |
|
 |
|
possumman
|
Posted: 14 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
All the game files are in C:\Program Files\THQ\Gas Powered Games\Supreme Commander
That's where teh patch is saved, along with a load of other folders (bin, coderes, fonts, gamedata, etc) along with some files (Data files, Installed.prefs, readme)
|
|
| Top |
|
 |
|
reddev32
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Jun, 2008 Posts: 1845 Location: England
|
|
no i mean like the link i showed you the errors poing to teh path of teh my games in my docs
_________________ Reddev32 ~ Reddev GPGnet ~ Obliterating Wave ~ GPGnet ~ SC-Vanilla ~ FA ~ Supcom 2
GPGnet Vault
|
|
| Top |
|
 |
|
possumman
|
Posted: 14 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
All I can find is cache and replays, under C:\Users\dcove\AppData\Local\Gas Powered Games\SupremeCommander
The cache has lots of files with 3189 extensions.... Important?
|
|
| Top |
|
 |
|
reddev32
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Jun, 2008 Posts: 1845 Location: England
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 14 Feb, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16426 Location: camping near the biggest power-up
|
Does your laptop do anything funny with the Documents folder? You said it was a work laptop, so the only thing I can think of is that's getting in the way. If you want to go to extreme measures, you can always mod-out that SHGetFolderPath and replace it with the actual folder addresses. Code: path = {}
local function mount_dir(dir, mountpoint) table.insert(path, { dir = dir, mountpoint = mountpoint } ) end
local function mount_contents(dir, mountpoint) LOG('checking ' .. dir) for _,entry in io.dir(dir .. '\\*') do if entry != '.' and entry != '..' then local mp = string.lower(entry) mp = string.gsub(mp, '[.]scd$', '') mp = string.gsub(mp, '[.]zip$', '') mount_dir(dir .. '\\' .. entry, mountpoint .. '/' .. mp) end end end
mount_contents('C:/Users/dcove/My Documents/My Games/Gas Powered Games/SupremeCommander/mods', '/mods') mount_contents('C:/Users/dcove/My Documents/My Games/Gas Powered Games/SupremeCommander/maps', '/maps')
--mount_contents(SHGetFolderPath('PERSONAL') .. '/My Games/Gas Powered Games/SupremeCommander/mods', '/mods') --mount_contents(SHGetFolderPath('PERSONAL') .. '/My Games/Gas Powered Games/SupremeCommander/maps', '/maps') --mount_contents(SHGetFolderPath('LOCAL_APPDATA') .. '/Gas Powered Games/SupremeCommander/mods', '/mods') --mount_contents(SHGetFolderPath('LOCAL_APPDATA') .. '/Gas Powered Games/SupremeCommander/maps', '/maps') mount_dir(InitFileDir .. '/../gamedata/*.scd', '/') mount_dir(InitFileDir .. '/..', '/')
hook = { '/schook' }
protocols = { 'http', 'https', 'mailto', 'ventrilo', 'teamspeak', 'daap', 'im', } Just double-check that the address I've typed out are correct. If you try this, SupCom won't like being used on other accounts.
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
|
|
| Top |
|
 |
|
possumman
|
Posted: 15 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
Yeah, the documents folder is weird.
C:/Users/dcove/My Documents/My Games
does not exist on my laptop. My Documents is completely empty (and I mean completely). All my work files are saved to my desktop.
Is this the source of the problem?
|
|
| Top |
|
 |
|
reddev32
|
Posted: 15 Feb, 2012
|
|
Joined: 05 Jun, 2008 Posts: 1845 Location: England
|
|
what operating system do you have now that just not natural at all.
is your laptop part of a company?
_________________ Reddev32 ~ Reddev GPGnet ~ Obliterating Wave ~ GPGnet ~ SC-Vanilla ~ FA ~ Supcom 2
GPGnet Vault
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 15 Feb, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16426 Location: camping near the biggest power-up
|
|
That very most likely is the cause of the problem!
@revdev, PAY SOME FUGGIN' ATTENTION!
[EDIT:] I'm not sure how you'll be able to get around that. The game automatically saves things in those missing folders, and I've never seen a way to change where they go.
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
Last edited by BulletMagnet on 15 Feb, 2012, edited 1 time in total.
|
|
| Top |
|
 |
|
reddev32
|
Posted: 15 Feb, 2012
|
|
Joined: 05 Jun, 2008 Posts: 1845 Location: England
|
BulletMagnet wrote: That very most likely is the cause of the problem!
@revdev, PAY SOME FUGGIN' ATTENTION! OF CAUSE IT IS. I KNOW THAT ifs its part of a domain companys don't use local user paths anymore that could be the problem
_________________ Reddev32 ~ Reddev GPGnet ~ Obliterating Wave ~ GPGnet ~ SC-Vanilla ~ FA ~ Supcom 2
GPGnet Vault
|
|
| Top |
|
 |
|
possumman
|
Posted: 15 Feb, 2012
|
|
Joined: 13 Feb, 2012 Posts: 13
|
|
Could I create folders called My Games, etc? (Probably a noob question, but worth checking!)
It's a company laptop that I have with me 24/7. Under C:\Users there are various folders for various IT staff and technicians, but I'm the only person who ever actually uses it.
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 15 Feb, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16426 Location: camping near the biggest power-up
|
|
Worth a shot.
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
|
|
| Top |
|
 |
 |
 |
|