0 users browsing Emulation. | 1 guest | 1 bot  
Main » Emulation » Regarding Super Famicom.bml
Pages: 1
Posted on 19-06-02, 14:24
Post: #1 of 21
Since: 06-02-19

Last post: 285 days
Last view: 270 days
Hello you absolute legends!

I have a question regarding the Super Famicom.bml file.

I want to change and add stuff to this specific file because it lacks most of the Japanese titles I own but even if you change a single letter on a already existing title it invalidates the whole thing.

For example, one of the "Verified Game Started" games I have when I start bsnes v107.1 is Lufia (Lufia 2 in the US) doesn't show up in the emulator as "Verified Game Started" anymore if I change something in the Super Famicom.bml file.

My question is why I can't edit and change stuff in the Super Famicom.bml? If I want to add Estpolis Denki 2 for example which is the Japanese version of Lufia 2, I want it to show up as "Verified Game Started" in bsnes but it doesn't.

This is no big deal per se as I have my own databases of checksum hashes that is verified with No-Intro ones, but it would be great to have my whole Collection of Super Famicom and Super Nintendo titles showing up as "Verified Game Started" in bsnes.

Best regards

RokkumanX
Posted on 19-06-02, 20:07

Post: #84 of 158
Since: 10-30-18

Last post: 1 day
Last view: 10 hours
You’re probably breaking the encoding when you save the file. The indentation and encoding should be intact. If you’re using Windows notepad, don’t. It’ll screw up any UTF8 files by adding a marker.
Posted on 19-06-02, 20:12
Post: #2 of 21
Since: 06-02-19

Last post: 285 days
Last view: 270 days
Posted by BearOso
You’re probably breaking the encoding when you save the file. The indentation and encoding should be intact. If you’re using Windows notepad, don’t. It’ll screw up any UTF8 files by adding a marker.


Thank you so much for your reply!

Using notepad is exactly what I'm doing.....I feel bad but how would I suppose to know? :-)

Can you please recommend a good program to edit the Super Famicom.bml without breaking anything?
Posted on 19-06-02, 20:26
Stirrer of Shit
Post: #353 of 717
Since: 01-26-19

Last post: 73 days
Last view: 71 days
Posted by RokkumanX
Posted by BearOso
You’re probably breaking the encoding when you save the file. The indentation and encoding should be intact. If you’re using Windows notepad, don’t. It’ll screw up any UTF8 files by adding a marker.


Thank you so much for your reply!

Using notepad is exactly what I'm doing.....I feel bad but how would I suppose to know? :-)

Can you please recommend a good program to edit the Super Famicom.bml without breaking anything?

I think Notepad++ should work.

There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this.
Posted on 19-06-02, 20:41
Post: #4 of 21
Since: 06-02-19

Last post: 285 days
Last view: 270 days
Posted by sureanem

I think Notepad++ should work.


Thank you very much for your recommendation, I will try this out first thing in the morning.
It certainly looks like what I'm requesting and hopefully it will do the job!
Posted on 19-06-02, 22:52
Custom title here

Post: #485 of 866
Since: 10-30-18

Last post: 1 day
Last view: 5 hours
I think the verification is related to byuu's redump project. He's found errors in no-intro, and there's no way to tell who dumped the erroneous games nor what other games they dumped, so does not consider them a trusted source.

If it isn't dumped by byuu, it isn't verified.



Also, Notepad was updated end of last year to handle incomplete line-endings and I believe it respects existing byte-order mark status too.

--- In UTF-16, where available. ---
Posted on 19-06-03, 00:16

Post: #85 of 158
Since: 10-30-18

Last post: 1 day
Last view: 10 hours
Posted by CaptainJistuce

Also, Notepad was updated end of last year to handle incomplete line-endings and I believe it respects existing byte-order mark status too.

I think the BOM fix was only just released in Windows 10 1903. Lots of people with Windows 7 still, too, so it's hard to recommend regular notepad since you have to mention all the caveats.
Posted on 19-06-03, 01:21 (revision 1)
Custom title here

Post: #488 of 866
Since: 10-30-18

Last post: 1 day
Last view: 5 hours
Ah. Thought both changes came at the same time, but I was apparently mistaken.

And yeah, I know that it isn't every Notepad. I did note it was a recent change.
But surely we can apply the same attitude towards "deprecated software" that the Linux community does in my experience. It doesn't exist, it never existed, and there is no excuse to use it.


Also, I wouldn't call the byte-order mark a fix. It is a change, but the old behavior wasn't WRONG.
I'm not particularly hardline about it, though.

...

I am about newlines. I genuinely believe that Notepad's previous behavior was correct, neither CR nor LF on their own constitute a valid newline, and Notepad was changed to accept and generate corrupt text files.
The Unix way is fundamentally incorrect here(as is the Macintosh way, if you were wondering why anyone cares about CR in isolation). This is not sarcasm or trolling.

--- In UTF-16, where available. ---
Posted on 19-06-03, 06:27 (revision 1)
Post: #6 of 21
Since: 06-02-19

Last post: 285 days
Last view: 270 days
Posted by CaptainJistuce
I think the verification is related to byuu's redump project. He's found errors in no-intro, and there's no way to tell who dumped the erroneous games nor what other games they dumped, so does not consider them a trusted source.

If it isn't dumped by byuu, it isn't verified.



Also, Notepad was updated end of last year to handle incomplete line-endings and I believe it respects existing byte-order mark status too.


That's great and all, but I for one trust places like datomatic.no-intro.org and redump.org because my dumped cartridge and disc based games matches other known "good" dumps.

Either we all have busted up dumps or the information shared is assumable 99.9% correct.

It's nothing I lose sleep over, every game in my entire collection matches all known databases including byuu's

It's just that 75-80% of the games I happen to own is non-existent in the Super Famicom.bml

I'm using Windows 10 LTSC 2019 1809, and sadly the mentioned update is not included or present in my edition.

Notepad ++ is what I'm going to try out now.


EDIT:

Thank you @sureanem, Notepad++ worked perfectly! Now I can add the missing games from my collection.
Posted on 19-06-03, 08:20
Post: #7 of 21
Since: 06-02-19

Last post: 285 days
Last view: 270 days
Mission accomplished!

All my "physical" games is showing up with "Verified game loaded", it took it's sweet time but it was well worth it.

I also made sure to customize it to perfection removing all the games I don't own, now my Super Famicom.bml contains only the games I own and nothing more.

However due to being dumped from the SNES Classic, Star Fox 2 have to stay "unverified" for now due to the fact no physical cartridge release were made.
Posted on 19-06-03, 10:06 (revision 1)
Post: #8 of 21
Since: 06-02-19

Last post: 285 days
Last view: 270 days
Working Star Fox 2 entry for anyone interested:


game
sha256: e134f20f6ee7d422d06faea6b1ae1e4101d1d0a200a0571d715d1cf23d959e8c
label: Star Fox 2
name: Star Fox 2
region: SNS-FO2-USA
revision: SNS-FO2-0
board: SHVC-1CB0N7S-01
memory
type: ROM
size: 0x200000
content: Program
memory
type: RAM
size: 0x10000
content: Save
oscillator
frequency: 21440000


Had to use a combination of Doom and Yoshi's Island entries enable for it to work properly, the Super Famicom.bml is really great in that aspect because either it works or it ain't.

EDIT:

Think of it as "donor" carts of Doom and Yoshi's Island people used to use to make Reproductions of the Star Fox 2 betas.
Posted on 19-06-03, 10:29

Post: #122 of 210
Since: 10-29-18

Last post: 186 days
Last view: 158 days
qwertymodo used Stunt Race FX as my donor cart.
Posted on 19-06-03, 10:52
Stirrer of Shit
Post: #356 of 717
Since: 01-26-19

Last post: 73 days
Last view: 71 days
Posted by CaptainJistuce
But surely we can apply the same attitude towards "deprecated software" that the Linux community does in my experience. It doesn't exist, it never existed, and there is no excuse to use it.

Windows 10 is the deprecated software.


There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this.
Posted on 19-06-03, 11:51
Post: #10 of 21
Since: 06-02-19

Last post: 285 days
Last view: 270 days
Posted by Kakashi
qwertymodo used Stunt Race FX as my donor cart.


Thanks for sharing that information, I only read about Doom and Yoshi's Island back in the days.

As for the entry I had to use the Doom SHVC-1CB0N7S-01 board and most of the other data from Yoshi's Island.

The SHVC-1CB5B-01 Yoshi's Island is using booted the game but only with sound and a black screen.

But now that I look at them it seems like removing the volatile entry from Doom probably would have been enough.

At first when I only used Doom, the game booted up but didn't create any save so I copied the data from Yoshi's Island and changed the RAM size from 0x8000 to 0x10000 and it worked.

Yoshi's Island doesn't contain the volatile entry, but whatever it works and that's all that matters.

The SNS-FO2-USA and SNS-FO2-0 is made up and based off Star Fox, had to name it somehow.
Posted on 19-06-03, 12:39
Custom title here

Post: #490 of 866
Since: 10-30-18

Last post: 1 day
Last view: 5 hours
Posted by RokkumanX

EDIT:

Think of it as "donor" carts of Doom and Yoshi's Island people used to use to make Reproductions of the Star Fox 2 betas.
Bootlegs, not reproductions. Can't make a reproduction of something that never actually existed.

--- In UTF-16, where available. ---
Posted on 19-06-03, 13:48
Post: #11 of 21
Since: 06-02-19

Last post: 285 days
Last view: 270 days
True, but at the end of the day reproduction is just a "nicer" word for bootleg because that's what all reproduction copies really are.
Posted on 19-06-03, 13:54
Stirrer of Shit
Post: #357 of 717
Since: 01-26-19

Last post: 73 days
Last view: 71 days
We prefer the term 'backups'.

There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this.
Posted on 19-06-03, 22:32
Custom title here

Post: #492 of 866
Since: 10-30-18

Last post: 1 day
Last view: 5 hours
Posted by RokkumanX
True, but at the end of the day reproduction is just a "nicer" word for bootleg because that's what all reproduction copies really are.

But a bootleg of something that exists is also a reproduction. A bootleg of something that never did isn't.

--- In UTF-16, where available. ---
Pages: 1
Main » Emulation » Regarding Super Famicom.bml
Yes, it's an ad.