Wizzard Posted June 30, 2021 Share Posted June 30, 2021 (edited) I tried another game and it seems that Star Ship HSC does not report game variation 10, both normal and expert difficulty. I am not doing it on purpose, I just like to explore various variations of the games I never played before Edited June 30, 2021 by Wizzard Link to comment Share on other sites More sharing options...
+Al_Nafuur Posted June 30, 2021 Share Posted June 30, 2021 @Omegamatrix I changed the transformation from: return [ (dechex($post_array[0] - 1) + (($post_array[1] & 128 ) == 128 ) * 17), dechex($post_array[2]) ]; to: return [ (dechex($post_array[0]) - 1 + (($post_array[1] & 128 ) == 128 ) * 17), dechex($post_array[2]) ]; I think this should fix the issue with the BCD value 10 (decimal 16) sent as gamevariation Link to comment Share on other sites More sharing options...
+Al_Nafuur Posted June 30, 2021 Share Posted June 30, 2021 1 hour ago, Wizzard said: I tried another game and it seems that Star Ship HSC does not report game variation 10, both normal and expert difficulty. I am not doing it on purpose, I just like to explore various variations of the games I never played before @Wizzard I fixed the game variation for your scores that were affected by this bug. Link to comment Share on other sites More sharing options...
Wizzard Posted July 1, 2021 Author Share Posted July 1, 2021 Thanks, I do not care about my zero scores, I just wanted to try all the variants btw, that game is really strange, cause it uses second joystick for first player. Link to comment Share on other sites More sharing options...
Omegamatrix Posted July 1, 2021 Share Posted July 1, 2021 15 hours ago, Al_Nafuur said: @Omegamatrix I changed the transformation from: return [ (dechex($post_array[0] - 1) + (($post_array[1] & 128 ) == 128 ) * 17), dechex($post_array[2]) ]; to: return [ (dechex($post_array[0]) - 1 + (($post_array[1] & 128 ) == 128 ) * 17), dechex($post_array[2]) ]; I think this should fix the issue with the BCD value 10 (decimal 16) sent as gamevariation Cool. I haven't used that transform in any game so it shouldn't affect anything. BTW if you ever need to change the value from BCD to Binary in the game code itself than I have a blog entry on that: https://atariage.com/forums/blogs/entry/17463-bcd-to-binary/ 1 Link to comment Share on other sites More sharing options...
Wizzard Posted July 1, 2021 Author Share Posted July 1, 2021 Would it be possible also to swap the joysticks? It is quite annoying always to reconnect the joystick to play the 1 player game Link to comment Share on other sites More sharing options...
Recommended Posts