Steam'i Yükleyin
giriş
|
dil
简体中文 (Basitleştirilmiş Çince)
繁體中文 (Geleneksel Çince)
日本語 (Japonca)
한국어 (Korece)
ไทย (Tayca)
Български (Bulgarca)
Čeština (Çekçe)
Dansk (Danca)
Deutsch (Almanca)
English (İngilizce)
Español - España (İspanyolca - İspanya)
Español - Latinoamérica (İspanyolca - Latin Amerika)
Ελληνικά (Yunanca)
Français (Fransızca)
Italiano (İtalyanca)
Bahasa Indonesia (Endonezce)
Magyar (Macarca)
Nederlands (Hollandaca)
Norsk (Norveççe)
Polski (Lehçe)
Português (Portekizce - Portekiz)
Português - Brasil (Portekizce - Brezilya)
Română (Rumence)
Русский (Rusça)
Suomi (Fince)
Svenska (İsveççe)
Tiếng Việt (Vietnamca)
Українська (Ukraynaca)
Bir çeviri sorunu bildirin
Could you send some screenshots with more information from http://html5gamepad.com/ ?
I know that some Mac Players can play the game with gamepads, so using certain drivers/gamepads it should work properly.
I especially don't understand why the mapping would be wrong in that particular way.
I've done some research about Xbox controllers. And found out that it has many versions and revisions. Some are USB-wired, some are USB-dongle wireless and some has Bluetooth capability (which is the one I have, and this one can be connected to macOS out of the box, recognized literally as "Xbox Wireless Controller" both on macOS system and Steam). So, lots of versions of the controller out there. Which might mean some possibilities, that it's not that all of them are sharing the same index of buttons and sticks. Mine is "Xbox `One` Wireless Controller".
And I also searched about this issue on this forum and seems there are certain amount of people are suffered from the (seemingly) the same problem that I have. If we can solve this out now, we can help them too I think.
Anyway, let me list all the output I get via http://html5gamepad.com/ below:
Well, [Unpressed State After Recognizing] is something bad, I guess. That makes some sense that I cannot exit aiming mode once pressing LT Button.
Hope this helps.
okay if your gamepad has this kind of mapping it explains why it behaves so strange in CrossCode.
We could now try to implement support for such mapping but there are several issues with that:
1. I'm not sure how exactly to identify this kind of mapping. Quering a "mapping" value of "none" (for me it says "standard") might be a way to do it but it's possible that it won't work for other users
2. We can't test it since we don't have the right setup to get this kind of mapping.
3. It might be possible that a correct implementation with this mapping isn't possible in the first place.
4. It might actually be somewhat challenging to implement since CrossCode is currently fairly hardcoded for the standard gamepad mapping.
Overall it's just a very difficult for us to fix this issue and it's something that only gets reported by very few players... That's why I currently can't promise anything, unfortunately.
Installing a different driver for your gamepad might help to fix the issue for your particular system.
At some point, someone suggested this driver:
http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/OsxDriver
Though it seems to be for an Xbox 360 gamepad.
It states that there really is just one kind of mapping which is "standard". If the browser isn't capable to match the buttons to the "standard" mapping, the mapping is empty string (which probably means "none"). Unfortunately that means the buttons can be mapped in any possible way so I don't think there is a point to support such a mapping. The issue here is that your gamepad isn't recognized as a "standard" gamepad, which means this is most likely a limitation of the browser or NW.js that can't handle your particular gamepad with the drivers you're currently using.
It's unfortunately not something that we can fix anytime soon, since we're not really capable to solve issues of the browser itself. Sorry :/
It might still be possible to get the gamepad to run on OSX with the right drivers, though.
It’s naturally not your team’s fault nor something, just my controller isn’t compatible with the API, it seems.
In the future, manual key-mapping for controllers would be awesome..., however. If that’s possible, though.
Unfortunately no drivers are available for my very controller currently, as it is natively already working. So my only option is to re-map buttons by using 3rd party app...
Let’s try. At least it turned out that I have the option and it’s the way, this is one good step.
CrossCode is basically based on: https://w3c.github.io/gamepad/#remapping
This standard mapping, am I right? So if I could re-map my controller to this layout, problem will be solved.
Let me report if I succeeded...
Updated firmware of my Xbox controller. And it is now detected as below! :
Moreover, it works flawlessly on: http://www.cross-code.com/en/start !!! (via Chromium 61.0.3163.100)
Now, only problem is... via Steam, it does not work properly, somehow. Seems buttons recognition is still messed out.
Is there any information I can provide to improve this situation?
What you can still do is manually update NW.js and see if it fixes the isssue.
I wrote how that works here:
http://steamcommunity.com/app/368340/discussions/0/2381701715713962046/#c2381701715715487562
That is for a Windows user, but it should be similar for Mac. Also: In your case you should not lose your saves.
Just make sure to download the Mac Version (64bit) of NW.js here: https://nwjs.io/
You can try the newest version or older ones. (your current version should be 0.14.5)
That makes sense and sounds promising. I’ll try and report the result. Thanks for instructions. :)
Replaced to NW.js ver 0.26, and now the controller is working flawlessly!!! ...except Select button (which Microsoft calls 'Back' button, and later replaced with 'View' button on Xbox One series). Seems CrossCode is Xbox 360 Controller specific hard-coded, yes? But that's just it, I managed to workaround by mapping the button to 'Tab' key. Not a big problem.
FYI, I haven't noticed any performance decrease, so far.
Now I can finally begin playing the game literally! Thanks for all your replies with courtesy, lachsen.
Although I know, my case might have been rare... but lastly, if I could put some request...
1. Reconsider updating Nw.js for Mac in the future
2. Controller mapping with dependency injection
3. Japanese localization XD
Please consider 'em in the future if possible.
Thanks again for your support lachsen, now I'll just enjoy this awesome game... btw I’m just surprised for this quality of something can be done based on browser-based architecture...
My Mac environment:
- APPLE M1
- OS: 14.4.1
Update steps:
1. Download the latest NW.js from https://nwjs.io/downloads/. My version is Mac OS X 64-bit v0.86.0.
2. Extract the nwjs-v0.86.0-osx-x64.zip, and you'll get the "nwjs" file.
3. Right-click the "nwjs" file and select "Show Package Contents". You should see the "Contents" folder.
4. Enter the "Contents" folder, where you'll find folders including "Frameworks", "MacOS" and "Resources". We'll use these three folders to update NW.js.
5. Locate the "Cross Code" local folder by right-clicking "Cross Code" in Steam, selecting "Manage", and then "Browse local files". You'll see the "Cross Code" file.
6. Back up the "Cross Code" file. I copied it and named it "Cross Code.bak".
7. Right-click the "Cross Code" file and select "Show Package Contents".
8. Enter the "Contents" folder, where you'll see folders similar to those in step 4.
9. Update the "Frameworks" and "MacOS" folders in step 8 using the folders from step 4. I simply deleted the "Frameworks" and "MacOS" from step 8 and dragged the "Frameworks" and "MacOS" from step 4 into the "Contents" folder of step 8.
10. Copy all files and folders in the "Resources" folder from step 4 and paste them into the "Resources" folder of step 8, updating all files and folders except for "app.nw".
11. Done. You've successfully updated NW.js to the latest version. Enjoy your game!
If you encounter any problems opening the updated "Cross Code" game, try opening it again. The first time I ran the game, there was no response, but it worked upon trying again!