Author Topic: error deserializing data  (Read 6593 times)

spoon

  • Visitor
  • *
  • Posts: 13
    • View Profile
error deserializing data
« on: 2006-11-17, 03:56:46 PM »
This is a bit of a nightmare.

Im working on a big game, It is just about finished.

When I tried to load it up to do the last few tweaks I get

error deserializing data

I thread going back to a previously saved version but it says the maps are invalid.

Is there anything I can do? or am I up a certain creak without a paddle?

spoon :-[ :-[ :-[ :-[ :-[

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: error deserializing data
« Reply #1 on: 2006-11-18, 07:48:58 AM »
Ouch... if you can zip and post the project somewhere I can download it, I might be able to recover most of the data in a debugger.  If it's small (10 MB or less) you can send it to me as an attachment if you don't have a place to post it.  Otherwise email me and ask for a place to post it and I can provide you with one.

spoon

  • Visitor
  • *
  • Posts: 13
    • View Profile
Re: error deserializing data
« Reply #2 on: 2006-11-18, 06:52:20 PM »
That is a very generous offer, much appreciated.

actually I stayed up ALL night and re built it. I think it was probably for the best as I really learned a lot about improving my workflow by doing it all again.

My laptop seems to hate the map editor, the processor seriously overheats when I am using it, last night it overheated and shut down while I was working on the game. This must have corrupted the data. I was using a powerfull p4 laptop with an ati mobility radeon 9700. Anyhow I switched to using a crappy old laptop and everything was fine!

Anyhow my eyes are hanging out of my head now. I will put the game somewhere when it is completed.

Many thanks though

spoon

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: error deserializing data
« Reply #3 on: 2006-11-18, 10:58:47 PM »
Wow, well your patience and dedication are appreciated.  Are you with Guildhall by any chance or just a very dedicated game creator? :)  I'm glad you didn't give up and that you were even able to learn from it.  Make a backup now if you haven't!  (And don't forget to include the GDP *and* all the MAP, BMP and media files.) ;)

spoon

  • Visitor
  • *
  • Posts: 13
    • View Profile
Re: error deserializing data
« Reply #4 on: 2006-11-19, 07:55:17 AM »
I am using this kit to buid a game with a sort of youth club.

I ran a few sessions with them showing them how to storyboard, design sprites, tiles and maps, Then I buit the game according to their designs. I was going to give them the game yesterday before the crash.

I didnt want them to be dissapointed so thats why I re-built it super fast, I got 1.5 playable levels built again.

In future I know to regularly backup the entire project folder  ;D

oh one quick question, has anyone ever tried using this kit under linux using wine?

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: error deserializing data
« Reply #5 on: 2006-11-19, 08:59:39 AM »
I don't remember for sure if anyone has tried this under linux with wine, but if they have, I don't think it worked as far as I know.  And if it didn't work it was probably related to DirectX... I'm not sure how well wine supports DirectX.  But it might be worth a try because 1) I don't remember if anyone has even tried, and 2) if they have, it was quite a while ago and both DirectX and wine may have improved.

Hopefully games created with SGDK2 will be slightly more portable, however, I don't have any solid plans to support linux with SGDK2 either.  But the fact that the IDE and the produced games are coded in C# should be a step in the right direction.  It still uses DirectX, but it should be easier for someone to just write a replacement for the graphics/display layer than it would have been in 1.x.  As far as the compiled games are concerned, they could probably even be ported without rewriting any SGDK2 code, just changing the custom code embedded in the project file.

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: error deserializing data
« Reply #6 on: 2006-11-19, 03:33:16 PM »
I know a Linux guy who's pretty good with Wine.  He got Half-Life (1) to work under Wine, so I'm guessing SGDK would probably work as well.
Edward Dassmesser

spoon

  • Visitor
  • *
  • Posts: 13
    • View Profile
Re: error deserializing data
« Reply #7 on: 2006-11-20, 02:21:43 PM »
maybe this topic has mutated a bit.

I tried both kits in linux (Ubuntu 6.06)

no surprises that they didnt work (I'm sure there will be some genius out there that can hack it all together)

anyhow it might be helpful to post the output from my terminal below

Code: [Select]

spoon@hovercraft:~/Desktop$ sudo wine setup.exe
Password:
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\windows\\Setup1.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\Setup1.exe" failed, status c0000135
spoon@hovercraft:~/Desktop$ cd sdk2/
spoon@hovercraft:~/Desktop/sdk2$ ls
d3dx9_30.dll                    Microsoft.DirectX.Direct3DX.dll    SGDK2IDE.exefmodex.dll                      Microsoft.DirectX.DirectInput.dll  SHFL.sgdk2Microsoft.DirectX.Direct3D.dll  Microsoft.DirectX.dll
spoon@hovercraft:~/Desktop/sdk2$ wine SGDK2IDE.exe
err:module:import_dll Library mscoree.dll (which is needed by L"Z:\\home\\dominic\\Desktop\\sdk2\\SGDK2IDE.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\dominic\\Desktop\\sdk2\\SGDK2IDE.exe" failed, status c0000135
spoon@hovercraft:~/Desktop/sdk2$ sudo wine SGDK2IDE.exe
err:module:import_dll Library mscoree.dll (which is needed by L"Z:\\home\\dominic\\Desktop\\sdk2\\SGDK2IDE.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\dominic\\Desktop\\sdk2\\SGDK2IDE.exe" failed, status c0000135



basically it doesnt work because it am not running it in windows I think :)


bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: error deserializing data
« Reply #8 on: 2006-11-20, 05:57:46 PM »
Actually those look like relatively simple problems resulting from wine being a more slimmed down OS than Windows.  I changed the default 1.x install to point to the one without MSVBVM60.dll a while back because all modern Microsoft versions of Windows include MSVBVM60.dll.  Apparently Wine doesn't.  I assume you installed from tha package similar to the one at http://sourceforge.net/project/showfiles.php?group_id=9970&package_id=9901 and not the one at http://sourceforge.net/project/showfiles.php?group_id=9970&package_id=10472.  If you try that last one, it might work better.

As for the 2.x install, you'd need to install the Microsoft .NET framework version 1.1 into Wine to get past the problem you were seeing with mscoree.dll, I think.

spoon

  • Visitor
  • *
  • Posts: 13
    • View Profile
Re: error deserializing data
« Reply #9 on: 2006-11-21, 04:46:14 PM »
aaah,

now that last one gets much further!

here is the install output

Code: [Select]
dominic@hovercraft:~$ cd gamedev/
dominic@hovercraft:~/gamedev$ sudo wine setup.exe
Password:
fixme:ole:DllRegisterServer not implemented (olepro32.dll)
fixme:ole:MSFT_ReadValue BSTR length = -1?
fixme:ole:MSFT_ReadValue BSTR length = -1?
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:CoRegisterMessageFilter stub
fixme:ole:OleLoadPictureEx (0x7d9de91c,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8fae8), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x7fd37f48)->(0x7fd3b7b0, 0, (nil)), hacked  stub.
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x7fd3b7c4), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x7fd3b7c4), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x7fd385bc), stub!
fixme:ole:OleLoadPictureEx (0x7d9df674,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f6e8), partially implemented.
fixme:ole:OleLoadPictureEx (0x7d9df674,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f6b8), partially implemented.
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:ole:OLEPictureImpl_SaveAsFile (0x7fd434a0)->(0x7fd47608, 0, (nil)), hacked  stub.
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x7fd4763c), stub!
fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering ic ons...
fixme:ole:OleLoadPictureEx (0x7d9dff14,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f6c4), partially implemented.
fixme:ole:OleLoadPictureEx (0x7d9dff14,2046,1,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f694), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x7fd46f78)->(0x7fd469a0, 0, (nil)), hacked  stub.
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x7fd4491c), stub!
fixme:ole:OleLoadPictureEx (0x7d9e0c0c,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f554), partially implemented.
fixme:ole:OleLoadPictureEx (0x7d9e0c0c,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f524), partially implemented.
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
fixme:ole:OLEPictureImpl_SaveAsFile (0x7fd44400)->(0x7fd47ed0, 0, (nil)), hacked  stub.
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x7fd475c4), stub!
fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering ic ons...
fixme:ole:MSFT_ReadValue BSTR length = -1?
fixme:ole:MSFT_ReadValue BSTR length = -1?
fixme:ole:OleLoadPictureEx (0x7d9e169c,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f6a8), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x7fd668e8)->(0x7fd6bfd0, 0, (nil)), hacked  stub.
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x7fd6c004), stub!
fixme:ole:OleLoadPictureEx (0x7d9e1c24,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f670), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x7fd69e68)->(0x7fd685f8, 0, (nil)), hacked  stub.
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x7fd69d0c), stub!
fixme:ole:OleLoadPictureEx (0x7d9e0c0c,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f554), partially implemented.
fixme:ole:OleLoadPictureEx (0x7d9e0c0c,1086,1,{7bf80980-bf32-101a-8bbb-00aa00300 cab},x=0,y=0,f=0,0x7fb8f524), partially implemented.
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.


it all seems to install fine :) but then the problems come when trying to launch it, however they do not seem massive! have a look

Code: [Select]

dominic@hovercraft:~/gamedev$ winelauncher gamedev.exe
Invoking /usr/bin/wine gamedev.exe ...
Warning: Cannot convert string "vlines2" to type Pixmap
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
wine: could not load L"c:\\windows\\system32\\gamedev.exe": Module not found
Wine failed with return code 126
Warning: Cannot convert string "vlines2" to type Pixmap
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset



bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: error deserializing data
« Reply #10 on: 2006-11-21, 05:05:39 PM »
Looks like you might need a Wine expert to help figure that one out.  Looks foreign to me.  Something to do with a missing font?  I wonder if you need to install MS Sans Serif in Wine's fonts or something.