News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Modified MAME ROM problem  (Read 4025 times)

szemigi

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Modified MAME ROM problem
« on: December 22, 2018, 12:52:08 pm »
I know I already asked this before, but I want real answer: How the heck can I run for example a VS. Super Mario Bros. hack I made? Since I'm planning to do arcade hack in the future, but I need your help, too.

Because I received error that the checksum is wrong and I wanna know how to pass it.


I also especially ask it, because there's a VS Super Mario Bros. hack called VS Skate Kid Brothers.


I want constructive answers only!

USC

  • Submission Reviewer
  • Sr. Member
  • *****
  • Posts: 269
  • Obviously Outdated
    • View Profile
Re: Modified MAME ROM problem
« Reply #1 on: December 22, 2018, 01:34:27 pm »
According to this page, you can fix the file's checksum so it doesn't give errors.
Hope that works for you.

szemigi

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Modified MAME ROM problem
« Reply #2 on: December 22, 2018, 02:57:00 pm »
By building my own MAME with the source code. But what programme can compile MAME? Tell me.

Psyklax

  • Hero Member
  • *****
  • Posts: 1107
    • View Profile
    • Psyklax Translations
Re: Modified MAME ROM problem
« Reply #3 on: December 22, 2018, 03:08:18 pm »
I hacked BurgerTime, works from the command line:
http://www.romhacking.net/forum/index.php?topic=25990.msg354014#msg354014

szemigi

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Modified MAME ROM problem
« Reply #4 on: December 22, 2018, 03:35:10 pm »
I tried it in MAME32 (since MAME64 isn't the proper one for my OS) and it quitted with the same error (except it was in a DOS-window): Required files are missing.

Seriously, I'm starting to be frustrated! :banghead:

USC

  • Submission Reviewer
  • Sr. Member
  • *****
  • Posts: 269
  • Obviously Outdated
    • View Profile
Re: Modified MAME ROM problem
« Reply #5 on: December 22, 2018, 03:49:54 pm »
You can compile the software with any C Compiler, or you can just search for that line with a hex editor:

Quote
If you don't want to do the work to compile MAME (it's not that hard), you can hex-edit the executable file mame.exe, search for the lines, and modify them.

szemigi

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Modified MAME ROM problem
« Reply #6 on: December 22, 2018, 03:50:24 pm »
Modify to what?

And where can I find the line?


I'm using MAME 0.149b anyway.

USC

  • Submission Reviewer
  • Sr. Member
  • *****
  • Posts: 269
  • Obviously Outdated
    • View Profile
Re: Modified MAME ROM problem
« Reply #7 on: December 22, 2018, 03:54:14 pm »
On the same page I linked before, it tells you what to edit (The "ROM_LOAD").
Search for the version of that string that corresponds to the VS. Super Mario Brothers ROM in mame.exe using a hex editor, and then make the changes that the page describes.

szemigi

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Modified MAME ROM problem
« Reply #8 on: December 22, 2018, 03:55:13 pm »
Ah, I get what you mean!

Jorpho

  • Hero Member
  • *****
  • Posts: 4426
  • The cat screams with the voice of a man.
    • View Profile
Re: Modified MAME ROM problem
« Reply #9 on: December 22, 2018, 06:04:24 pm »
If I'm not mistaken, both FCEUX and Nestopia support the VS Unisystem and will probably be much more cooperative than MAME.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

tc

  • Hero Member
  • *****
  • Posts: 1163
  • Lum Fan
    • View Profile
    • Eon Blog
Re: Modified MAME ROM problem
« Reply #10 on: December 22, 2018, 07:45:52 pm »
I could be wrong, but I don't think after all this time MAME has ever supported arbitrary or hacked roms.
It uses a database of required files and their checksums. Something like that.

szemigi

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Modified MAME ROM problem
« Reply #11 on: December 24, 2018, 03:25:00 am »
Only question is that where can I find the proper CHECKSUM and the proper CRC?

Jorpho

  • Hero Member
  • *****
  • Posts: 4426
  • The cat screams with the voice of a man.
    • View Profile
Re: Modified MAME ROM problem
« Reply #12 on: December 24, 2018, 09:19:10 am »
Only question is that where can I find the proper CHECKSUM and the proper CRC?

Calculating the CRC of a file is a fairly standard operation and you should easily be able to find any number of freeware Windows programs that will do that for you.

If all else fails, you can even use 7-Zip.  Just compress the files and look at the "CRC" column.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

USC

  • Submission Reviewer
  • Sr. Member
  • *****
  • Posts: 269
  • Obviously Outdated
    • View Profile
Re: Modified MAME ROM problem
« Reply #13 on: December 24, 2018, 09:24:32 am »
You can also just write this instead:

Quote
If you are hacking and changing ROM contents a lot, it's a pain to keep updating the hashes. Instead of specifying the CRC() and SHA1(), you can use NO_DUMP:

  • ROM_LOAD( "robotron.sbc", 0x0f000, 0x1000, NO_DUMP )

When you start MAME, it will give a warning, but if you type OK, you can proceed.

szemigi

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Modified MAME ROM problem
« Reply #14 on: December 27, 2018, 03:48:50 am »
Well, everything works very well!