Page 1 of 4

Fanaleds 2.2e [fixed in 2.2f]

Posted: 29 Aug 2014, 17:18
by Wheely
Hi,
my SLI-M/FanaLeds 2.2e does not work with the new Update 0.22 from Assetto Corsa :cry: .
Please, can you fix it :) ?

Wheely

Re: Fanaleds 2.2e

Posted: 29 Aug 2014, 20:18
by Rally Bird
Hello,
Got the same problem but with a Club Sport wheels:(
After update displays on wheels don't work

Re: Fanaleds 2.2e

Posted: 29 Aug 2014, 20:46
by CoNa
+1 also having issues with the latest version of AC with the CSW.
I only get brackets blinking.

Re: Fanaleds 2.2e

Posted: 29 Aug 2014, 22:08
by SimRacer92
Yep, Fanaleds is broken with latest AC update 0.22... For me it stops working as soon as the game loads, completely shutting down..

Fanaleds 2.2e crashes with AC 0.22

Posted: 30 Aug 2014, 00:43
by mms
Hello, since the last update of Assetto Corsa (0.22) whenever I start a race Fanaleds crashes (I have CSW w. formula rim and CSP v2 pedals).

That's what I have in the windows event viewer:
Faulting application name: FanaLEDs.exe, version: 0.0.0.0, time stamp: 0x53c64f2f
Faulting module name: FanaLEDs.exe, version: 0.0.0.0, time stamp: 0x53c64f2f
Exception code: 0xc0000005
Fault offset: 0x00018785
Faulting process id: 0x1690
Faulting application start time: 0x01cfc3c633eaea87
Faulting application path: C:\Program Files (x86)\FanaLEDs\FanaLEDs.exe
Faulting module path: C:\Program Files (x86)\FanaLEDs\FanaLEDs.exe
Report Id: aedc02b9-2fb9-11e4-bf62-bcaec577f985

Let me know if you need any other info.

Re: Fanaleds 2.2e

Posted: 30 Aug 2014, 04:21
by anthonyl
Also reporting the same problem...Fanaleds does not work with latest A/C update.

Thank you!

Re: Fanaleds 2.2e

Posted: 30 Aug 2014, 12:57
by Bose321
Sounds like AC is broken. :lol: We'll have a look around to see what they did wrong this time so we can fix it. Stay tuned.

Edit: I've merged some posts and another topic because they're all about the same.

Re: Fanaleds 2.2e crashes with AC 0.22

Posted: 30 Aug 2014, 13:49
by SimRacer92
quote from the AC devs:

"the shared memory layout is changed.
They have to update their software"

Re: Fanaleds 2.2e crashes with AC 0.22

Posted: 30 Aug 2014, 17:12
by Bose321
Thanks for that. Do you happen to know what the layout is now? I don't have AC myself so I can't access their forums.

Gotta love when they update vital things like these without letting developers know.

Re: Fanaleds 2.2e crashes with AC 0.22

Posted: 30 Aug 2014, 17:14
by SimRacer92
yep, this is the actual shared memory layout:

SHARED MEMORY STRUCTS

#pragma once

typedef int AC_STATUS;

#define AC_OFF 0
#define AC_REPLAY 1
#define AC_LIVE 2
#define AC_PAUSE 3

typedef int AC_SESSION_TYPE;

#define AC_UNKNOWN -1
#define AC_PRACTICE 0
#define AC_QUALIFY 1
#define AC_RACE 2
#define AC_HOTLAP 3
#define AC_TIME_ATTACK 4
#define AC_DRIFT 5
#define AC_DRAG 6


#pragma pack(push)
#pragma pack(4)

struct SPageFilePhysics
{
int packetId = 0;
float gas = 0;
float brake = 0;
float fuel = 0;
int gear = 0;
int rpms = 0;
float steerAngle = 0;
float speedKmh = 0;
float velocity[3];
float accG[3];
float wheelSlip[4];
float wheelLoad[4];
float wheelsPressure[4];
float wheelAngularSpeed[4];
float tyreWear[4];
float tyreDirtyLevel[4];
float tyreCoreTemperature[4];
float camberRAD[4];
float suspensionTravel[4];
float drs = 0;
float tc = 0;
float heading = 0;
float pitch = 0;
float roll = 0;
float cgHeight;
float carDamage[5];
int numberOfTyresOut = 0;
int pitLimiterOn = 0;
float abs = 0;
};


struct SPageFileGraphic
{
int packetId = 0;
AC_STATUS status = AC_OFF;
AC_SESSION_TYPE session = AC_PRACTICE;
wchar_t currentTime[15];
wchar_t lastTime[15];
wchar_t bestTime[15];
wchar_t split[15];
int completedLaps = 0;
int position = 0;
int iCurrentTime = 0;
int iLastTime = 0;
int iBestTime = 0;
float sessionTimeLeft = 0;
float distanceTraveled = 0;
int isInPit = 0;
int currentSectorIndex = 0;
int lastSectorTime = 0;
int numberOfLaps = 0;
wchar_t tyreCompound[33];

float replayTimeMultiplier = 0;
float normalizedCarPosition = 0;
float carCoordinates[3];
};


struct SPageFileStatic
{
wchar_t smVersion[15];
wchar_t acVersion[15];
// session static info
int numberOfSessions = 0;
int numCars = 0;
wchar_t carModel[33];
wchar_t track[33];
wchar_t playerName[33];
wchar_t playerSurname[33];
wchar_t playerNick[33];
int sectorCount = 0;

// car static info
float maxTorque = 0;
float maxPower = 0;
int maxRpm = 0;
float maxFuel = 0;
float suspensionMaxTravel[4];
float tyreRadius[4];
};


#pragma pack(pop)


SHARED MEMORY NAMES

physics : acpmf_physics
graphics : acpmf_graphics
static : acpmf_static