Hacking Help compiling a plugin

vladone97

Member
OP
Newcomer
Joined
Oct 16, 2016
Messages
13
Trophies
0
Age
26
XP
192
Country
Romania
So, you might find this weird. Probably because it is.
I've been trying to find a solution for fixing analog stick offset for a while. From what I've noticed, the Vita's deadzones are so small (almost nonexistent, actually) that having the analog values perfectly centred is virtually impossible. There's one plugin, called AnalogsEnhancer, which allows you to set a larger deadzone. But it has a problem. AnalogsEnhancer was designed to force the console to use ANALOG_WIDE mode all the time in order to give better precison, but in some games, this causes issues such as not being able to run/sprint diagonally.
Now, I'm not a programmer, but I know just a tiny bit about how coding works. So I looked at the source code, figured out which line was forcing ANALOG_WIDE mode and removed it. But I need someone to compile it, because I can't get the compiler to work by any means.
I modified Yoti's version of AnalogsEnhancer, the one that loads the config file from ur0, btw.
Update: it turns out the line that forces ANALOG_WIDE mode also contains a function used later in the code, and simply removing it like I did breaks the code. So for the ANALOG_WIDE fix to work, someone needs to edit the original code better than I can.
Update 2: Rin released an update with the modification, so there's no more need to edit and compile this code
 

Attachments

  • AnalogsEnhancer-no ANALOG_WIDE override mod.rar
    17.9 KB · Views: 154
Last edited by vladone97,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    I don't have a pi cuz i'm stupid
  • BigOnYa @ BigOnYa:
    Nuh @Xdqwerty it not a typical game system, or that powerful even, it just a small size pc really.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, well i have a pc
    +1
  • Xdqwerty @ Xdqwerty:
    And that game stick i'm tired of mentioning
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm all my Pi 4 does is game systems lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Scraper went all yelling at me in French yesterday lol
  • Psionic Roshambo @ Psionic Roshambo:
    Something about download limit or something lol
  • BigOnYa @ BigOnYa:
    If you get a chance to get a Pi5, get it, its like 3 times as fast as the Pi4 for Emu. GameCube and Wii games even play well.
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure if it would behoove me, mines that B model with 8GBs of RAM got mine OCed to 2GHz and the only two games I found that might work better N64 Killer Instinct and PSP Motor Storm Arctic Thunder
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Everything else runs fine
  • Psionic Roshambo @ Psionic Roshambo:
    1500 games and like 4700ish arcade games lol
  • Psionic Roshambo @ Psionic Roshambo:
    What is the best arcade ROM set to use?
  • Psionic Roshambo @ Psionic Roshambo:
    Using .139 and most of the games work.... Was happy to play Konami Devil World yesterday lol
  • BigOnYa @ BigOnYa:
    Do you have the mini radiator cooler? I Jerry rigged a heatsink and 5volt fan from a dead graphics card on mine, but eventually wanna get a real cooler/fan.
  • Psionic Roshambo @ Psionic Roshambo:
    Pure copper heat sink kit and fans
    +1
  • BigOnYa @ BigOnYa:
    I don't know bout sets, I downloaded all the roms for mine separately.
  • Psionic Roshambo @ Psionic Roshambo:
    My 1500ish games is all hand picked and scraped it's taken me months but zero trash well except MAME.... Tried deleting clones and broke the originals uugghh
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I legit have been complaining about MAME for over 20 years... Hate the way they handle roms
  • BigOnYa @ BigOnYa:
    Yea is a pain sometimes
  • Psionic Roshambo @ Psionic Roshambo:
    Now that they decided to add Tiger handheld and fruit machines.... Newer sets are worthless
  • Psionic Roshambo @ Psionic Roshambo:
    Because who doesn't want to emulate Halo LCD by Tiger when the machine needed to emulate it... Could just play Halo....
  • K3Nv2 @ K3Nv2:
    Batocera has some tiger games
  • Psionic Roshambo @ Psionic Roshambo:
    I don't have them on mine Ken lol
    Psionic Roshambo @ Psionic Roshambo: I don't have them on mine Ken lol