TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
187 stars 3 forks source link

[FIXED][Game Crash] Game crashes every time I plug in my USB mat #734

Closed distressingorgans closed 4 months ago

distressingorgans commented 6 months ago

Describe the crash

when ever i plug a USB mat into my macbook (OS BigSUR) the game crashes, it will crash like 5-15 times bfore it finally opens and stays open lol. anyone know anything about this? this is the error that pops up:

Screen Shot 2024-05-03 at 6 52 55 PM

How can you reproduce the error?

  1. start the game 2. plug in USB mat 3. crash
  2. plug in USB mat 2. start the game 3. doesnt open/crash

Screenshots/Videos

Screen Shot 2024-05-03 at 6 52 55 PM

Game Mode

dance

Additional Information

No response

KisanoWasTaken commented 6 months ago

I'm no expert, but I think that's either caused by Outfox killing itself to prevent a memory leak or a buffer overflow has happened. Again, I'm no expert, so I'm going off what I know.

Jousway commented 6 months ago

I'm no expert, but I think that's either caused by Outfox killing itself to prevent a memory leak or a buffer overflow has happened. Again, I'm no expert, so I'm going off what I know.

nah its a bug with the version of SDL we have cuz macOS updated in a way that it crashes older SDL apps, we updated SDL and are testing if everything works

KisanoWasTaken commented 6 months ago

Oh, alright. Also, why did Apple do this???

Scraticus commented 6 months ago

The changed happened when Apple stopped using Intel CPUs and moved to 'Apple Silicone' which is their posh name for ARM chips.

ARM uses a slightly different system than Intel so there needed to be changes added to the kernel of MacOS, which allowed the new CPU to talk to devices. This also meant that older Intel methods were slowly removed as they have no plans to go back now, so devices that once worked fine on Intel Macs, don't do so well on M based Macs.

It's just a case from our side to juggle the code so folks that still have Intel Macs, can use their dance mats and pads, but sometimes there is a developer from the libraries we use to talk to these old dance mats that does not do testing on the older Mac books, (they probably don't own one) and then these bugs creep in.

Hope this helps you understand it!

KisanoWasTaken commented 6 months ago

Oh, alright. Thanks for explaining! Although knowing how many beautiful apps and games existed before then, it would've been a smarter idea for apple to add some backwards compatibility at least... But I digress. Besides, that's not gonna make them more money right now right!?

Scraticus commented 6 months ago

of course, they only wish you to buy newer hardware. the e-waste they create is obscene.

Scraticus commented 4 months ago

This bug should be fixed in 043, as we have changed how Mac addresses input devices.

There are test builds for it in discord, but you can wait for the official release and reply back here.

Thanks so much for your support!