https://bugs.winehq.org/show_bug.cgi?id=40910
Bug ID: 40910 Summary: The Next BIG Thing can't save the game (needs native xmllite) Product: Wine Version: 1.9.13 Hardware: x86 URL: http://www.fileplanet.com/219646/210000/fileinfo/The-N ext-BIG-Thing-Demo OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: xmllite Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
When attempting to save the game, nothing happens: there is no error message from the game and no saved game is created. The demo version tends to hang after performing a manual save.
In the terminal: fixme:xmllite:xmlwriter_SetProperty Unimplemented property (1)
Saving the game works with native xmllite.dll.
Steps to reproduce the problem in the demo: Start the game with 'The Next Big Thing.exe', create a new player, start a new game. You can skip the intro videos by pressing <Esc.> Move the mouse pointer to the top of the screen and select the rightmost icon to open the controls menu. Use the disk icon to save the game, enter a name, press <Enter>. The game is not saved.
The_Next_BIG_Thing_Demo_EN.zip (793M) sha1: a3ef1262a81a0b853eafd7a51f232b2abf343c14
https://bugs.winehq.org/show_bug.cgi?id=40910
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Thanks for the report, I'll take a look.
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 55022 --> https://bugs.winehq.org/attachment.cgi?id=55022 patch
Hi, Béla.
Could you try this patch?
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 55029 --> https://bugs.winehq.org/attachment.cgi?id=55029 +xmllite log, Steam version (patch applied)
(In reply to Nikolay Sivov from comment #2)
Created attachment 55022 [details] patch
Hi, Béla.
Could you try this patch?
Thanks for looking into this bug.
I tried the patch with the demo and full version of the game and got different results. In the demo version saving the game seemingly works, because the saved game files are created in 'users/Public/Application Data/Pendulo Studios/TNBT/SAVEGAME/'. However, loading a game doesn't work (nothing happens when I try to load a previously saved game).
The full version of the game that I have it on Steam works differently. Saving the game doesn't work at all with your patch (no files are created in the user's profile directory). The game crashes if I click on the save or load game icon the second time (after the unsuccessful save attempt).
The attached +xmllite log was created with the full version on Steam.
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 55030 --> https://bugs.winehq.org/attachment.cgi?id=55030 +xmllite log, demo version
This is the +xmllite log from the demo version where saving the game seems to work, but the saved game cannot be loaded. I guess it's either the saved game or the player's profile itself that is corrupted when using built-in xmllite. I can't load the player's profile that was created with built-in xmllite when using the native dll (the game hangs when selecting a profile that was created with the built-in dll).
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- It uses WriteAttributeString next, in a simple way. Will take a look.
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 55056 --> https://bugs.winehq.org/attachment.cgi?id=55056 patch
Please try with that one, over current git.
https://bugs.winehq.org/show_bug.cgi?id=40910
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55022|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #7 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #6)
Created attachment 55056 [details] patch
Please try with that one, over current git.
Still not working in 1.9.14. Symptoms are the same as before: when I save the game in the demo version, the saved game files are created but they cannot be loaded. When I restart the game and select the profile that was created with built-in xmllite, the game suddenly quits.
In the full version no files are created when I perform a manual save.
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- Could you attach a log and created xml files from demo (where it can't read it back), and a log from full version when no files are created, with +xmllite in both cases of course. I'll try to run a demo in the meantime, let's see if Intel GPU is enough for it.
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 55057 --> https://bugs.winehq.org/attachment.cgi?id=55057 +xmllite log (demo)
+xmllite log from the demo version. I started the demo, created a new profile, started a new game and performed a manual save.
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 55058 --> https://bugs.winehq.org/attachment.cgi?id=55058 demo saved game files (containing xml files)
The archive in the attachment contains the files that were created after performing a manual save in the demo version. SAVEGAME.001 and SAVEGAME.AUT look like xml files.
https://bugs.winehq.org/show_bug.cgi?id=40910
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55029|0 |1 is obsolete| | Attachment #55030|0 |1 is obsolete| |
--- Comment #11 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 55059 --> https://bugs.winehq.org/attachment.cgi?id=55059 +xmllite log (Steam version)
This is the +xmllite log I gathered when running the Steam version of the game. I created a new profile, started a new game, performed a manual save then I tried to load the saved game, which resulted in a crash (no backtrace was generated).
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- I have some fixes to make it save correctly. Now the problem is that it can't read this config file back, so a reader issue.
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com --- Fixes for writer (save functionality) are in:
8b2b455bd0f475333dc2b4b641aa4b871708bafd 0fd4fae7c574dbfd710732485f3e96718da67a24 099eda8eadfb9e7ee55aabb4dc5ef9913a929be2
I didn't compare saved file on wine with the one from windows, but generated xml now looks valid to me.
Reader is still broken.
https://bugs.winehq.org/show_bug.cgi?id=40910
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com --- Immediate problem with reader in current Wine is broken support of character references in text content, I have a patch for that. With this patch I can see saved game thumbnails, but loading it will crash the game. Next issue seems to be some sort of failure to grow input buffer properly, it crashes on element with text content of around 34000 chars (expanded 7 times because of ೌ format) according to save file markup.
This will have to wait until 2.0 is out.
https://bugs.winehq.org/show_bug.cgi?id=40910
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |107615da7f07cfbc69c8f23c3c4 | |16c60fc27a9c8
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com --- It seems to work fine for me now, after 107615da7f07cfbc69c8f23c3c416c60fc27a9c8. Please test.
https://bugs.winehq.org/show_bug.cgi?id=40910
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=40910
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.4.
https://bugs.winehq.org/show_bug.cgi?id=40910
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=40910
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #17 from Michael Stefaniuc mstefani@winehq.org --- Remove 2.0.x milestone.