Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to open file #53

Closed
GoogleCodeExporter opened this issue Mar 30, 2015 · 9 comments
Closed

failed to open file #53

GoogleCodeExporter opened this issue Mar 30, 2015 · 9 comments

Comments

@GoogleCodeExporter
Copy link

Uncaught Error: Undefined AMF3 type encountered '-1'
(http://apps.coursevector.com/minerva/js/lib/AMF3.js:4)


Original issue reported on code.google.com by qq169312...@gmail.com on 26 Dec 2014 at 3:45

Attachments:

@GoogleCodeExporter
Copy link
Author

Where did you get this file? You have to give me more to go on than just an 
attached file. Right now minerva is reading a data length mismatch:

Warning: Data Length Mismatch (File Size:12384 != Reported Size:12210)

So it seems to be a corrupt file, but I won't know for sure until you can 
verify where it came from.

Original comment by gmariani405 on 29 Dec 2014 at 12:27

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

It's a flash game save file. (the address of the game 
http://www.u77.com/comment/180598, Chinese)
It isn't corrupted. It works well with the game. (And many other flash games 
have this kind of file. ) 
I've successfully edited the sol file with WinHex,  but failed with Minerva. It 
seems that Minerva works wrong when Data length != File length. But adobe flash 
player accepts this kind of file. 
Maybe a special AMF3 file?

Original comment by qq169312...@gmail.com on 4 Jan 2015 at 12:21

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Ok I've figured out some on this file. The file length is correct, but there is 
data appended to the end of the file. It's the file path of the SOL itself, but 
I'm not sure why it was appended. 

Out of curiosity, was this SOL file originally called 
"MD_Chronicles_Roster.sol"? This file path is embedded at the end: 
"/#localWithNet/download/game/[U77总有好游�]魔�
�巢穴编年� 汉化版(Monster's Den 
Chronicles-cn)/Monster's Den Chronicles-cn.swf/MD_Chronicles_Roster.sol"

This indicates that you're playing the SWF with the standalone player so I'm 
wondering if that's the cause of the extra data. Can you give me a swf from 
playing on the website?

Original comment by gmariani405 on 5 Jan 2015 at 12:32

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Setting to started

Original comment by gmariani405 on 5 Jan 2015 at 12:34

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

I've just found a exe file of the game: 
https://www.dropbox.com/s/axp833kl05vzabo/Monsters-Den-Chronicles.exe?dl=0

And if I play online,  I get the same strange 00000001.sol file.

Original comment by qq169312...@gmail.com on 6 Jan 2015 at 11:56

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

This path should match up to a location on your computer:

"/#localWithNet/download/game/[U77总有好游�]魔�
�巢穴编年� 汉化版(Monster's Den 
Chronicles-cn)/Monster's Den Chronicles-cn.swf/MD_Chronicles_Roster.sol"

I assume that mess of letters is Chinese? Would you happen to have the correct 
path? I've figured out what is different about the file and you were correct, 
it is a special SOL file. It has an additional tag of data containing the file 
path for some reason, i'm guessing it's related to Flex. I have it reading the 
data, i just need to program it to write the data before releasing an update to 
minerva.

Original comment by gmariani405 on 7 Jan 2015 at 2:41

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

That letters are Chinese.
The problem is the additional tag at the end of the file. I have just removed 
the tag with WinHex to make Data length == File length , the sol file is OK, 
but the game doesn't recognize the sol file.
I think it's a good idea that just ignore the tag of the file but not delete it.

Original comment by qq169312...@gmail.com on 7 Jan 2015 at 4:09

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Please clear app caches and visit minerva now. Version 4.1 has your fixes for 
utf-8 support

Original comment by gmariani405 on 8 Jan 2015 at 10:44

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by gmariani405 on 9 Jan 2015 at 12:28

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant