Pages: 1
Posted on 07-09-11, 08:57 pm
Banned for being a complete idiot.

Karma: 529
Posts: 1/987
Since: 07-09-11
Hey guys,

I downloaded the trunk from Google Code, revision 159 today. I used Tortoise SVN for my SVN client, and Visual Studio 2010 Ultimate for my compiler. OS is XP Pro SP3.

Once I built NSMBe, spritedata.txt was not in the same directory as my binaries. I looked at my build output, and didn't see spritedata.txt get copied. I ran NSMBe, and gave me an error message stating it couldn't open spritedata.txt. I dismissed the message, and I still prompted the Open window, so I opened a NSMB game, and tried to load Level 1-1, Area 1. I got an exception, stating "Value cannot be null. Parameter name: item". So, I quit NSMBe, and copied spritedata.txt in the same directory as NSMBe4.sln to the directory with the binary. I ran NSMBe again, giving me an error stating that the input string was not in a correct format. I repeated the same steps, giving me the same error when loading Level 1-1, Area 1. Then, I tried to copy the spritedata.txt under the NSMBe4 directory to replace the current spritedata.txt with my binary. It gave me the same results as the other spritedata.txt

What happened here?
Posted on 07-09-11, 09:08 pm


Karma: 3752
Posts: 85/2112
Since: 06-28-11
Update you Spritedata.txt:
Go to the Tools Tab. Click Update Spritedata.txt
Reopen NSMBe.
All works fine now.
Posted on 07-09-11, 09:38 pm
Banned for being a complete idiot.

Karma: 529
Posts: 2/987
Since: 07-09-11
I did what you said, NsmB_PrO, but it doesn't work for some strange reason.
When I clicked the button "update spritedata.txt", the spritedata.txt in the directory with binaries didn't get touched. I even removed spritedata.txt from the directory, rebooted the program, and clicked the button, without any spritedata.txt re-appearing. However, when I clicked the button, the internet gets used for a shortI still can't load Level 1-1, Area 1.

Maybe these last few revisions messed things up severely.

Can you think of anything else I can do, NsmB_PrO?
Posted on 07-09-11, 09:59 pm


Karma: 3752
Posts: 86/2112
Since: 06-28-11
no, sorry. For me all worked fine.
Posted on 07-09-11, 11:18 pm (rev. 1 by ImageBot on 11-21-16, 02:08 am)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 223/4457
Since: 06-08-11
Hi, ELMario!
First of all, welcome to the forum

Looks like there are two things wrong:
The first spritedata.txt was probably bad, using the old format. r159 has changed the spritedata.txt format. So, delete all the spritedata.txt files you have to be sure you're not using any bad file.

Second, it looks like the download is failing, I have no idea why.
Try to download it manually. Go in your browser to http://nsmbhd.net/spritedata.php, save the page as spritedata.txt in the same dir as NSMBe5.exe. Then launch NSMBe. You shouldn't get any errors then.
Posted on 07-10-11, 02:13 am
Banned for being a complete idiot.

Karma: 529
Posts: 3/987
Since: 07-09-11
Yay! It works now.
Thanks Dirbaio. You should probably update the trunk with the latest spritedata.txt, and make sure spritedata.txt is copied to the right directory at build time, so people won't be complaining on this forum NSMBe is not working.

But anyways, Thanks!
Posted on 07-10-11, 11:33 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 227/4457
Since: 06-08-11
You're welcome.

Yeah, it looks like I left an old spritedata.txt in the SVN. I will remove it

But, did the update button work, or did you download it manually?
Posted on 07-13-11, 01:44 am
Banned for being a complete idiot.

Karma: 529
Posts: 4/987
Since: 07-09-11
Revision 159's spritedata.txt update button didn't work. But in r. 162, when I ran the editor, it asked me if I wanted to download spritedata.txt, and it successfully downloaded when I clicked yes.
Posted on 07-13-11, 07:37 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 289/4457
Since: 06-08-11
Weird.
Could you check again if the update button works with the newest rev?
I just want to make sure.

Thanks
Posted on 07-15-11, 09:19 pm
Banned for being a complete idiot.

Karma: 529
Posts: 12/987
Since: 07-09-11
No, the button is still broken.

I guess the only way to update it for now is to delete spritedata.txt, and relaunch NSMBe.
Posted on 07-15-11, 09:23 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 323/4457
Since: 06-08-11
Hmm, okay.
Then I'll have to look at it again

Thanks for reporting, though
Posted on 08-12-11, 02:32 am (rev. 1)
Banned for being a complete idiot.

Karma: 529
Posts: 171/987
Since: 07-09-11
Still not working...

Tried putting in a blank spritedata.txt, and it still doesn't update it. Or, while NSMBe is running, delete spritedata.txt and try to update. Auto-update doesn't seem to work either.

Maybe you could generate a CRC of spritedata.txt, and when the CRC of spritedata.txt on the server is different than the local one, then update it. Or, you could use version numbers to keep track.

EDIT:

I just tried updating the Sprite DB, and when I press "Update spritedata.txt", it doesn't update.
But according to ray, the Auto-Update seems to work. I wounder why...
Pages: 1