How abouts we have ourselves an all new controller system?!

#23
I'm just going to hide the first release of this in here...

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

Poo poo for you if you missed out.

Not an opensource release just because I don't want to think about that right now. I might post some code later if anyone is interested.


Installation is not necessarily a snap. You basically just want to copy all the files into your tool folder (same one with SOM_MAIN.exe) if you want to test it via the map editor / project test (all I recommend for now)

Except SOM_EX.INI needs to be in your project folder, beside SOM_DB.INI.

Lastly you'll have to hexedit som_db.exe. You'll need to change one or more of the DLL strings (search for DDRAW to find the general neighborhood) to SomEx.dll. If you change DDRAW.DLL for example you can access extensions like playing in a window. And if you change DINPUT.DLL you can use the keymap/controller extensions. ole32.dll entry points are also available but I haven't seen anything come thru them (my guess is they're used for movies) ...and DSOUND will be a definite candidate in the future (the final version will load the exe into memory and change whichever of these strings it needs before running from memory as a child process... there will also be an output console)

When it starts you might be missing a dll or two. Hopefully it will tell you which one if so. In which case I'll try to get it to you / point you to a place to download it.

Finally you'll have to edit your SOM_EX.INI file to see any changes. The only really interesting thing with this release is the [Joypad] section, which I've changed to [.Joypad] so it won't be seen. You will need to remove the dot... but first you will have to look over all the Joypad section settings, because they're not likely to work with your environment out of the box (unless it's identical to mine)

I think I have an idea to make the SOM_EX.INI file more clear, and it's possible I introduced some bugs in the last build of SomEx.dll. So probably before tonight is over I'll re-upload the zip archive.
Reply



Messages In This Thread
Re: How abouts we have ourselves an all new controller system?! - by HolyDiver - 2009-10-29, 03:30 AM



Users browsing this thread:
4 Guest(s)