Iconoclast
Super Moderator
     
Posts: 97
Joined: Mar 2008
Reputation: 4
|
RE: 1030b doens't see vbam.ini in own folder
Well, I don't manage the project, but I'm reading that somebody who does left that as a bug side effect standing to be mended.
So to prevent the phantom process from being created, I don't think it should be possible for a second copy of the process to launch if you've only ran the executable once, since the last time you checked using a Windows processes viewer that any subsequent times of opening the program didn't leave the process open, before opening it again. It should be easy to just right-click the taskbar, "Start Task Manager", to do a safety check, or you can just leave a third-party process viewer constantly open like I do.
About the INI file issues, I wrote my own algorithm for configuration file access, but there are still at least a couple other settings file access methods that Adam could have used in the source. (I am too lazy to check lol; I don't use MSVC anyway.) The "private profile" read and write classes provided by Microsoft kind of come at the expense of a bunch of other built-in functions that do unneeded things like access the registry anyway, so maybe that would have played a part in that sort of issue.
|
|
| 01-15-2012 06:59 PM |
|
The Hero of Time
Junior Member
 
Posts: 4
Joined: Nov 2010
Reputation: 0
|
RE: 1030b doens't see vbam.ini in own folder
Yeah, Task Manager never shows another instance of it running. I can confirm when the issue arises, though. Test this at your own peril, because it seems to permanently fuck any system on which it is performed.
Open an instance of 1030b, enable GBA Linking, and start a server. Open another instance, record the IP Address from the previous instance, and connect under the "Client" tab.
After that, any instance of 1030b that you open will treat you as the second player on the computer, writing .ini setting to AppData and treating your saves differently. You'll also get the "Second Player Disconnected" message when starting a GBC game.
I'm not sure if it occurs when doing the standard connection through localhost. For what it's worth, both computers on which this was tested were running Windows 7 x64.
|
|
| 01-16-2012 04:14 AM |
|
Iconoclast
Super Moderator
     
Posts: 97
Joined: Mar 2008
Reputation: 4
|
RE: 1030b doens't see vbam.ini in own folder
Gosh, this Adamn guy sure sounds like a hard character to come by.
With any luck, he/she/it will clean up after its messes. Heh, but most people are known to not be able to do that anyway.
Also I'm not sure, but I'm guessing it was just because each subsequent instance of the VBA-M process tried to access the INI file, locked from write-access by the first.
Grr, is squall the only person who can post consecutively without auto-merge XD I need to run wild
(01-16-2012 02:18 PM)The Hero of Time Wrote: The problem with mine was that it completely ignored any configuration settings in its local directory, and only wrote to AppData. Nothing could change that, regardless of how many instances were open. It also causes linking issues, since it always thinks there's two instances open. That's what I meant by being "fucked." Poor word choice, I suppose.
I'll compile the latest revision when Adam updates the linking, and see if it helps. Thanks for helping out.
FWIW, 1030b made some headway on connecting with Dolphin-emu for Final Fantasy - Crystal Chronicles. Unfortunately, Dolphin is a raging piece of unstable shitware right now, and it's hard to test.
You're sure the INI file in the emulator directory is named VBAM.INI, though, right? Not VBA.INI? Just making sure.
(This post was last modified: 01-16-2012 02:25 PM by Iconoclast.)
|
|
| 01-16-2012 02:23 PM |
|