Quick question

#1
Heyo just started up DoM for the first time and I have a query.
Is there anyway to disable the ingame gamepad?
I prefer to map my controllers using an external program (Xpadder) and the in game config is interfering.
I can't set up my controller properly in game anyway (it only supports 8 of my 12 buttons and no analog mapping).

Also, what are the chances of the memory leak issue actually affecting me?
Is it even a problem on modern systems, because the game is kind of old now correct?
Reply

#2
As it happens I just programmed something to do just that. It has an option to hide controllers from SOM, but also you could replace your "xpadder" with it and remap your keyboard if you wanted to.

https://anon.swordofmoonlight.com/holy/S...anilla.zip

It's kind of an entire extension system, so you will need to make some changes here and there. I should probably include a README file in the next "release", I will try to write something up soon.

Quick instructions I think are to copy all of the files in the archive into the folder with the game's exe file.

Since you just want to work with controllers. You can probably get away with renaming SomEx.dll to dinput.dll. Alternatively you can open up the exe in a hexeditor and replace DINPUT.dll with SomEx.dll (or if renaming doesn't work for some reason)

Then you need to edit SOM_EX.INI. You can either change [.Joypad] to [Joypad] if you want to use this instead of "Xpadder" or you can just add the following above [.Joypad]

Code:
[Joypad]
do_hide_controllers_from_som = yes

If all you want is for the game to not see your controllers. Xpadder is probably a bit more sophisticated than extension at this point, however sooner or later the extension will be able to recognize what context the game is in, so you can change the button mapping if you are in the menu or in a text dialog. Also once the menu extension is in place you will be able to easily configure this stuff from in the game, but not nearly to the degree the ini file permits.

PS: I don't know that anyone has tested this. So if it crashes it's probably wanting a dll not in the archive, hopefully it will tell which. Anyway, let us know if you have any trouble or not.
Reply

#3
(2009-11-03, 05:51 PM)Vicious link Wrote: Also, what are the chances of the memory leak issue actually affecting me?
Is it even a problem on modern systems, because the game is kind of old now correct?

A memory leak is not like a virus or anything. It might cause your system to appear low in the physical memory dept under extreme circumstances as long the offending process is running. However even while it is running virtual memory paging would probably not be noticeable unless you're already strapped for physical memory.
Reply

#4
Hrmm, when I rename SomEx.dll to DINPUT.dll DoM fails to initialize.
Is that what you meant when you said if it doesn't work for some reason I should Hex it in?

As for now I just want to hide the controller and configure it with xpadder instead of trying to set it up with this extension.

Also off topic question, what game is that mecha avatar of yours from? Looks almost like AC.
Reply

#5
(2009-11-03, 08:44 PM)Vicious link Wrote: Hrmm, when I rename SomEx.dll to DINPUT.dll DoM fails to initialize.
Is that what you meant when you said if it doesn't work for some reason I should Hex it in?

As for now I just want to hide the controller and configure it with xpadder instead of trying to set it up with this extension.

If it it "failed to initialize", then it is probably working. There is probably just some dll dependency I have in my system folder which I'm unaware of. It's probably you don't have a debugging mode wincrt library on your system.

Don't worry, I expected this to happen (clearly)

Quote:Also off topic question, what game is that mecha avatar of yours from? Looks almost like AC.

That I stole from this page here (https://www5f.biglobe.ne.jp/~yasuwo/R-SPE1a.htm)

It is an AC circa AC3 showing off its ever loving Moonlight Cool

It's not from a CG movie, dunno the circumstances around it Smokin


PS: In the meantime, you might try editing the game's .ini file and setting the controller to use variable to some other controller number. It's very possible SOM won't default to the first/only one.
Reply

#6
Unfortunately it indeed does default to it even when I change the setting, maybe if I plugged in a secondary controller and hope it chooses it instead, but that'd still require me to plug it in anytime I want to play...
However.. now that I think about it if this game doesn't support xinput(most likely) then I could try my 360 controller instead...

And as for that link that's a nice collection of Moonlight swords, I wonder how many series have one...
And I figured it was AC but the resolution was throwing me off since it makes it look like a PS1 game almost, and at the time the original AC games on PS1 didn't have mechs that looked that japanese, they were more mechwarrior-ish back then. *is a fan*
Reply

#7
Plugging in a second controller and choosing it to play your game with would work. I'm not sure what xpadder (or xinput) is, I assumed it was a joystick to keyboard kinda deal (which is how the extension works)

If you can't wait for me to upload a new release, most likely the dlls you need to add to your folder are MSVCP80D.dll and MSVCR80D.dll. You can easily find those on the internet if you're in a rush. Be careful downloading dlls however because they can install/be malware on your system. You can probably find checksums for the dlls somewhere if you want to be more careful. They might be available on the MSDN.


Reply

#8
Hmmmm, apparently those dlls are buried somewhere in a crazy folder called C:\Windows\winsxs which I was not even aware of. It will probably be easier for you to find them on the internet. In the meantime I will work on a proper release mode build.


Errrr! Actually on a lark I looked in a program folder for a project I knew came with the debugging crt libraries and they happened to be the same versions. I use, and under a MB each, so I will just attach those now....


PS: The program I'm getting these from is LackeyCCG, so checkout that project first to decide if you trust it or not (you'll just have to trust me like it or not anyway won't you)


Attached Files
.dll   msvcp80.dll (Size: 528 KB / Downloads: 218)
.dll   msvcr80.dll (Size: 612 KB / Downloads: 224)
Reply

#9
^BTW: Don't release your games with these two dlls in them. Look me up and I will get your proper release builds within a day or two. No harm in making your games with these / experimenting with them like Vicious.
Reply

#10
since you've got a far better grasp of these things, I think i'll wait and see what is comming. I'd hate to screw up my som again now that im networked. by libraries, do you mean like the libraries like in my V Studio
Reply





Users browsing this thread:
1 Guest(s)