Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3Olympic GamesXXL SpeedrunningXXL Romastered SpeedrunningXXL 2 SpeedrunningXXL 2 Remaster SpeedrunningOlympic Games SpeedrunningRecent StratsOther Asterix GamesOther GamesAsterix MediaSpoofy GoofsCreative ShackVideosHelpBot SpamRetro GamesModdingStreamsPatchesModsToolsResourcesDownloadsWikiUnfair XXLCaesar's ChallengeIntroductionsVC TextAnnouncementsVillage GatesRulesFeedback

#xxl

AdrienTD
There seems to be code that would initialize the mouse device through DirectInput, but it is unused. I put a breakpoint there and the game never passes through it.
AdrienTD
Ok :VitrioThinks:
AdrienTD
So I tried to find the "if condition" to initialize the mouse, and the condition was a boolean value in the CKInput class, and this value is actually serialized in the GAME.KWN. That means you just have to modify a single byte from 00 to 01 in the GAME.KWN file to enable mouse support.
AdrienTD
But so far only the buttons seem to work, you can't map mouse movement, and for some reason left and right mouse buttons are swapped: If in the input settings you set a command to the left mouse button, it will say "Right mouse button" and vice versa.
Martyste Tendertail
Yeah, just like Left-Right and Up-Down for the right stick are inverted with fixed DirectInput controllers. Thankfully, a text edit can bring some sense back.
Martyste Tendertail
Anyway, very cool discovery Adrien! You amaze us everytime. So, this byte change should be permanent? Another great thing to add to the patcher.
AdrienTD
It's in GAME.KWN at byte 0x25A. But it's always possible patch that directly in the GameModule or via DLL.
AdrienTD
Mouse movement does work, but only in fullscreen. And, not sure if it's because I only tested with my laptop's touchpad, but the movement is very slow, when I mapped the mouse movement to the camera.
Martyste Tendertail
Touch Pads need much higher sensitivity to compare with mice
Martyste Tendertail
When playing FPSes my tp is on 20 sensitivity, Minecraft is on Max
Martyste Tendertail
I'm starting to believe, Adrien, that yes, a custom dll injector could be quite useful. Hey, what if all the gamemodule edits were on your dll, so that the gamemodule remains vanilla, aka non virus positive?
AdrienTD
Yes, that's what I was thinking: have a DLL injector that would patch the game in memory.
AdrienTD
So installation you just require copying a DLL to a folder, no exe patching needing.
AdrienTD
Plus I could make the injector load a settings file, so you could enable/disable modifications to the game individually.
AdrienTD
Something I already did for Warrior Kings :TotalKappa:
Martyste Tendertail
Sounds amazing.
Martyste Tendertail
THe game would lo longer be AV flagged
Martyste Tendertail
Altough maybe the language mods should be actual file replacements
Martyste Tendertail
( Unless you really can pull out that aswell )
Martyste Tendertail
And yeah, a settings.ini or .txt could help us set options with true/false and other things