auntiepickle / ff7seventhheavensteamdeck

7th Heaven Steam Deck Install Guide
31 stars 3 forks source link

Object reference not set to an instance of an object. #1

Open RonerBent opened 1 year ago

RonerBent commented 1 year ago

After testing this up and down the following error still persists> 04:02:44|INFO|SeventhHeaven.Classes.GameLauncher|Applying compatibility flags in registry (if any) ... 04:02:44|ERROR|SeventhHeaven.Classes.GameLauncher|System.NullReferenceException: Object reference not set to an instance of an object.

Game launched without mods, without problems. After activating one mod (anyway which one) the error prevents starting the game

auntiepickle commented 1 year ago

Thanks for sharing! I’ve never seen this issue and it seems really frustrating. The log seems like it has to do with not finding a game launcher (I’m assuming for ff7?). Is FFNx there in the 7th heaven folder? And in the ff7 install?

I'm also interested what happens if you try to launch it through steam and then try?


From: RonerBent @.> Sent: Saturday, November 12, 2022 7:18:40 PM To: auntiepickle/ff7seventhheavensteamdeck @.> Cc: Subscribed @.***> Subject: [auntiepickle/ff7seventhheavensteamdeck] Object reference not set to an instance of an object. (Issue #1)

After testing this up and down the following error still persists> 04:02:44|INFO|SeventhHeaven.Classes.GameLauncher|Applying compatibility flags in registry (if any) ... 04:02:44|ERROR|SeventhHeaven.Classes.GameLauncher|System.NullReferenceException: Object reference not set to an instance of an object.

Game launched without mods, without problems. After activating one mod (anyway which one) the error prevents starting the game

— Reply to this email directly, view it on GitHubhttps://github.com/auntiepickle/ff7seventhheavensteamdeck/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKWSBCIDQ4OHRZHLUTRXNTWIBMZBANCNFSM6AAAAAAR6TZM7Y. You are receiving this because you are subscribed to this thread.Message ID: @.***>

RonerBent commented 1 year ago

The FFNx is in both folders, i followed your guide completely, with all path and scripts and took care, that the script ran well.

When starting it via steam with: flatpak run --command=bottles-cli com.usebottles.bottles run -p '7th Heaven' -b 'FF7SeventhHeaven' It wont start. Steam content log gives this: [2022-11-13 14:31:17] SpawnProcessInternal: GetInternalAppIDFromGameID failed for non-steam app 17274455913058533376 - wrapped id: 4022022689 [2022-11-13 14:31:17] Game 17274455913058533376 adding PID 187476 as a tracked process "/home/deck/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=3386845186 -- /home/deck/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- flatpak run --command=bottles-cli com.usebottles.bottles run -p '7th Heaven' -b 'FF7SeventhHeaven'" [2022-11-13 14:31:17] OnAppRunningEvent: GetInternalAppIDFromGameID failed for non-steam app 17274455913058533376 - wrapped id: 4022022689 [2022-11-13 14:31:17] Game 17274455913058533376 adding PID 187477 as a tracked process [2022-11-13 14:31:17] Game 17274455913058533376 adding PID 187491 as a tracked process [2022-11-13 14:31:20] Game 17274455913058533376 no longer tracking PID 187491, exit code -1 [2022-11-13 14:31:20] Game 17274455913058533376 no longer tracking PID 187477, exit code -1 [2022-11-13 14:31:20] Game 17274455913058533376 no longer tracking PID 187476, exit code 0 [2022-11-13 14:31:20] OnAppRunningEvent: GetInternalAppIDFromGameID failed for non-steam app 17274455913058533376 - wrapped id: 4022022689

auntiepickle commented 1 year ago

Can you try to add bottles to steam manually via the add game > select bottles method? When doing so do you see an entry for 7th heaven in your programs section of the bottle?

Also just double checking that you’ve selected the vaniglia 6.23 runner.

Oh! Also can you share the contents of your bottle.yml file which should be located in your bottles install folder inside the bottle for 7th heaven.

Last thing that may be happening is permissions for bottles on your machine. Might be worth using flat seal to give it permissions to the whole machine and trying again.


From: RonerBent @.> Sent: Sunday, November 13, 2022 2:40:12 AM To: auntiepickle/ff7seventhheavensteamdeck @.> Cc: F Rogers @.>; Comment @.> Subject: Re: [auntiepickle/ff7seventhheavensteamdeck] Object reference not set to an instance of an object. (Issue #1)

The FFNx is in both folders, i followed your guide completely, with all path and scripts and took care, that the script ran well.

When starting it via steam with: flatpak run --command=bottles-cli com.usebottles.bottles run -p '7th Heaven' -b 'FF7SeventhHeaven' It wont start. I have seen no error log

— Reply to this email directly, view it on GitHubhttps://github.com/auntiepickle/ff7seventhheavensteamdeck/issues/1#issuecomment-1312698664, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKWSBDTTFXQT5UTEF7YEA3WIDAQZANCNFSM6AAAAAAR6TZM7Y. You are receiving this because you commented.Message ID: @.***>

RonerBent commented 1 year ago

The game is now running ... dont ask what i did, it was too much. Maybe the permission change in Flatseal did it.

When I add the bottles and open the specific bottle, theres nothing in it. when i open it in konsole, it does, what it should do. Sounds like steam has a lack of permissions?

auntiepickle commented 1 year ago

Aha! That’s because you have to manually add 7th heaven to the bottle. It’s kinda weird but just go to the programs page and hit the add button and point it at the 7th heaven exe. Make sure the name you give is the same as the command arg -p since that tells bottle to run the specific bottles defined in -b with the program in -p.


From: RonerBent @.> Sent: Sunday, November 13, 2022 12:28:09 PM To: auntiepickle/ff7seventhheavensteamdeck @.> Cc: F Rogers @.>; Comment @.> Subject: Re: [auntiepickle/ff7seventhheavensteamdeck] Object reference not set to an instance of an object. (Issue #1)

The game is now running ... dont ask what i did, it was too much. Maybe the permission change in Flatseal did it.

When I add the bottles and open the specific bottle, theres nothing in it. when i open it in konsole, it does, what it should do. Sounds like steam has a lack of permissions?

— Reply to this email directly, view it on GitHubhttps://github.com/auntiepickle/ff7seventhheavensteamdeck/issues/1#issuecomment-1312814162, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKWSBES6R5ZQL3IHNLKCKLWIFFNTANCNFSM6AAAAAAR6TZM7Y. You are receiving this because you commented.Message ID: @.***>