maree Posted July 20, 2015 Posted July 20, 2015 Hello, I'm new to this forum so I don't know where to post this, exactly.I'm playing Jedi Academy on an Arch Linux 32-bit ultrabook, through Steam and Wine, so I expected a couple bumps along the road.HOWEVER I was experiencing constant crashing when I faced enemy Sith - arguably the best experience in JA . The crashes were not prohibitive - they happened rarely during the fights, which meant I could save scum through the duels. It also crashed more often against the green cultists. However, running the openjk_sp.i386 from the terminal, I noticed it always crashed with a floating point exception. So I run the game with valgrind, activated god mode, and stood still facing a orange and a green cultist, until the game crashes and valgrind outputs to me: ==9844== Process terminating with default action of signal 8 (SIGFPE): dumping core==9844== Integer divide by zero at address 0x6B177B0A==9844== at 0x1394928D: ForceThrow(gentity_s*, int, int) (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x1381D9EC: Jedi_CombatDistance(int) (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x13824C8A: Jedi_Combat() (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x1382B0C7: NPC_BSJedi_Default() (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x138ECE72: NPC_BehaviorSet_Jedi(int) (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x138EE99A: NPC_ExecuteBState(gentity_s*) (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x138EF14E: NPC_Think(gentity_s*) (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x13882D68: GEntity_ThinkFunc(gentity_s*) (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x1388EDC8: G_RunFrame(int) (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/OpenJK/jagamei386.so)==9844== by 0x80ACB96: SV_Frame(int, float) (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/openjk_sp.i386)==9844== by 0x80878B9: Com_Frame() (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/openjk_sp.i386)==9844== by 0x804CA8A: main (in /home/riva/.wine/drive_c/Program Files/Steam/steamapps/common/Jedi Academy/GameData/openjk_sp.i386) So the game has a division-by-zero on the Force Throw method that's crashing for me. I would like to notify the developers, and also to know if anyone else had this problem and solved it. Thanks! Cerez likes this
Xycaleth Posted July 21, 2015 Posted July 21, 2015 Thanks for reporting the problem and for finding out what's causing the crash this sounds like something easy to fix so I may take a look at this in the next few days Cerez likes this
Dusty Posted July 21, 2015 Posted July 21, 2015 Maybe crashing your game is a fearsome dark side power.
jm6 Posted July 24, 2015 Posted July 24, 2015 Same thing happening here. I reverted to an earlier build and now the only saves working are back at the beginning. ;/ It's every time I fight a force user and I think me or him is taking damage, or clashing. On the train level I met the first red saber opponent who fell down low and as soon as we clashed, game crash. Then I got back to that point and fought for a very short amount of time and then went to go in to fight again, crash. I think it could be if there's a low angle strike from an opponent or damage being given/taken. Also the first game the first sith you meet after the stormtroopers, the game crashed when we crossed sabers and had to play past on a different client. Hope this helps, this game is amazing. edit: DIDNT HAVE JA+ properly installed I don't think. I reloaded the mod with a build with way more files than a JA++ downlaod I found, extracted. Now the train fight scene worked fine, game looks amazing.
Ping Posted July 24, 2015 Posted July 24, 2015 Maybe crashing your game is a fearsome dark side power.Level 3 Force Crash to Desktop
Ramikad Posted July 24, 2015 Posted July 24, 2015 Level 3 Force Crash to Desktop Then I can imagine the cheat-only Level 4 effect: Black Screen Of Death. gerbilOFdoom and Ping like this
Darth_Revan Posted August 3, 2015 Posted August 3, 2015 Just wanted to confirm this issue. It's also happening to me on a Win 8.1 system with the openjk-2015-07-27-3ab62479-windows build. Prominent crash occasions where these (among others) occur:1) End of the Hoth level during the fight with Alora - game would crash to desktop any time I tried to engage her in direct lightsaber combat. In the end, I only managed to end the fight by using lightsaber throw all the time. Another problem after that was that the post-Hoth cutscene didn't trigger. Jaden, Luke and Kyle were just standing there and not saying or doing anything. xD At least I was able to skip that and go to the lightsaber fighting screen afterwards. 2) End of Ep.2 Level 4 (Capture crime lord/Coruscant) had a similar scene. Once you enter the building of the crime lord, there are two dark Jedi at the entrance. When fighting the one only using the Force, game crashed every single time. Only way to continue was to simply ignore those guys and run straight to the lift. Any idea when this can be fixed? Fights against lightsaber guys are the highlight of this game, as you know, and if that doesn't work properly, it sucks quite hard.
Xycaleth Posted August 3, 2015 Posted August 3, 2015 I think I can have a look at some point this week Can you upload a save file starting at a point before the crash would happen? It just saves me having to play through everything and means I can be sure I'm setup the same way as you to make a crash happen!
Darth_Revan Posted August 3, 2015 Posted August 3, 2015 Excellent! So here you go, I created two savegames based on my autosaves. OpenJK savegames (75 KB, TinyUpload)Mirror jedi_00.savYou jump right into the Alora fight, directly after the cutscene. Just keep bashing her with the lightsaber and you should see a crash to desktop. Try getting to the Yavin cutscene afterwards anyway because it can be it doesn't work, either (as described above). jedi_01.savIn front of the entrance to Lannik Racto's palace. You basically enter the door in front of you, get attacked by the Force disciple (you don't even have to do anything) and it's the same story. To be on the safe side, I have also included my config file, but I don't believe it matters. Thanks a lot in advance for taking care of this! OpenJK rocks! *EDIT #1, Aug 4*Second half of Vjun mission is more or less unplayable due to this issue. As you all know, there are tons of Sith to fight there, and you can never tell which of them will crash your game if you decide to engage them. Many times I could only continue by running past all enemies, but it would end with the final fight against Rosh at the latest. His guardians cause guaranteed crashes if you attack them, regardless whether you use lightsaber throw, direct lightsaber attacks or whatever. Therefore, fixing this is really urgent since it's pretty close to a showstopper. *EDIT #2, Aug 4*It seems the Yavin cutscene after the Vjun fight with Rosh (btw, was only able to advance by killing the two guardians with conventional weapons - lightsaber attacks would lead to crashes) shows the same problem as the one after Hoth. Luke, Kyle and Jaden do nothing. No clue what's going on here.
eezstreet Posted August 4, 2015 Posted August 4, 2015 Same thing happening here. I reverted to an earlier build and now the only saves working are back at the beginning. ;/ It's every time I fight a force user and I think me or him is taking damage, or clashing. On the train level I met the first red saber opponent who fell down low and as soon as we clashed, game crash. Then I got back to that point and fought for a very short amount of time and then went to go in to fight again, crash. I think it could be if there's a low angle strike from an opponent or damage being given/taken. Also the first game the first sith you meet after the stormtroopers, the game crashed when we crossed sabers and had to play past on a different client. Hope this helps, this game is amazing. edit: DIDNT HAVE JA+ properly installed I don't think. I reloaded the mod with a build with way more files than a JA++ downlaod I found, extracted. Now the train fight scene worked fine, game looks amazing.JA++ is an MP mod. The crash alluded to in the OP is from the singleplayer. The problems shouldn't be related.
ensiform Posted August 5, 2015 Posted August 5, 2015 Unless its some animation mod fucking with SP. eezstreet and Cerez like this
Cerez Posted August 5, 2015 Posted August 5, 2015 I've had this once and a force powers animation mod was the culprit.
Darth_Revan Posted August 5, 2015 Posted August 5, 2015 I am using no mods at all, it's just latest OpenJK build with all assets.pk3 files from JA.
ensiform Posted August 5, 2015 Posted August 5, 2015 Only place I see that does division in there is related to knockback and missiles being pushed.
Darth_Revan Posted August 7, 2015 Posted August 7, 2015 Awesome! So it's gonna be in the next build? I am in the last level now and it crashes already in the beginning. My allies engage the Sith and then it's back to desktop, I have no control over it at all. xD Anyway, will check as soon as the fixed build is available and provide feedback ASAP. Thanks in advance for this already! PS: I hope the fix will also work with existing savegames (made with the broken version). Or otherwise I will have to play everything from the beginning again...
Xycaleth Posted August 7, 2015 Posted August 7, 2015 Yep, should be available from next build (Monday evening). Your save games should work too
Darth_Revan Posted August 11, 2015 Posted August 11, 2015 Issue is fixed with the new build. Thanks a lot!Unfortunately however, the Hoth/Vjun cutscenes remain broken. I know it's a different problem, but it remains annoying.
Xycaleth Posted August 13, 2015 Posted August 13, 2015 I'll try to have a look in the next week or so. SP hasn't been a priority for us recently.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now