Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Hello!

I am trying to setup some plugins.  As an example, I downloaded the necessary files and checked the box in the setup menu to use hiscores, but nothing happens.

After some research, I need to change a line in plugin.ini, but I can't find the file.  I did a search and came up with nothing.  Can anyone point me in the right direction or send me a copy of their file so I can edit it?  Or I am just completely off-base and need to do something totally different.


Thanks, 


Jim

Posted

Did you compile a version of MAME with high score support?

headkaze has an outstanding utility for this, just apply the hi_xxx dif, that matches your release, then compile.  Note that the utility isn't always 100% up to date, i.e. sometimes it'll pull down a previous release of MAME, but you can easily work around this by just grabbing the files yourself.

 

 

Posted

I seem to be having trouble with the compiler. I will admit that I am not the most technical person.  Here is what I did. 

I downloaded and installed the compiler from the link you provided.

I downloaded and extracted MAME182 (the version of ROMs that I have)

I downloaded the highscore diff file and put it in the proper folder

When I hit apply patch, I get the following:

Spoiler

missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru oldsrc/emu/emuopts.cpp src/emu/emuopts.cpp
|--- oldsrc/emu/emuopts.cpp    2016-09-28 13:25:48.000000000 +1000
|+++ src/emu/emuopts.cpp    2016-09-28 23:50:30.101527022 +1000
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 28 of patch
can't find file to patch at input line 28
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru oldsrc/emu/emuopts.h src/emu/emuopts.h
|--- oldsrc/emu/emuopts.h    2016-09-28 13:25:48.000000000 +1000
|+++ src/emu/emuopts.h    2016-09-28 23:50:30.101527022 +1000
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
4 out of 4 hunks ignored
missing header for unified diff at line 70 of patch
Finished!
0 Hours 0 Minutes and 0 Seconds Elapsed.
can't find file to patch at input line 70
 

Can you help? I tried compiling with the given errors but it works for about 8 or 9 minutes and then there wasn't any output (or none that I could find).

Thanks in advance, 


Jim

Posted

Did you create the proper compiling environment?

Basically as a precursor to compiling, you need the proper tools, which are available here.

Once you download these, I'd recommend you place them in the folders that MAME64 compiler defaults to, as it serves as not to further complicate the process.

 

You need to download MAME 0.182s respective to your system, i.e. 32/64 bit, which is the source code, and not the regular binary.

 

Posted

You may also want to run the compiler as Administrator so as to avoid any issues with write rights.

  • 3 weeks later...
Posted

OK, I am finally back from travel and have gotten pretty far with the compiler.  I managed to get it to run all the way through and it listed an error in red on the second to last step (It took about 21 or so minutes).  I noticed that I did not click "No warnings as errors" in Build Options.  I clicked that option and hit go.  Now I get a bunch of green (good) things and the same red errors after about 1 to 2 minutes.  What am I doing wrong?  I have downloaded a new version of MAME source code.  Do I need to reinstall the MAME compiler tools?  How about the Hi-Score diff patch?

Here is the output that I got on my last run.  The bolded lines are the errors.

Any help would greatly be appreciated.

Spoiler

Compiling MAME...
Using Parameters PYTHON_AVAILABLE=python SHELLTYPE=msdos -j6 TARGETOS=windows TARGET=mame OSD=windows PTR64=1 SYMLEVEL=2
GCC 6.3.0 detected
make[1]: Entering directory `C:/buildtools/src/MAME182S/3rdparty/genie/build/gmake.windows'
Creating obj/Release
Creating obj/Release/src/host
Creating obj/Release/src/host/lua-5.3.0/src
Converting translation language/Afrikaans/strings.po...
Converting translation language/Albanian/strings.po...
Converting translation language/Arabic/strings.po...
lapi.c
lauxlib.c
Converting translation language/Basque/strings.po...
lbaselib.c
lbitlib.c
Converting translation language/Belarusian/strings.po...
lcode.c
lcorolib.c
Converting translation language/Bosnian/strings.po...
Converting translation language/Bulgarian/strings.po...
Converting translation language/Burmese/strings.po...
Converting translation language/Catalan/strings.po...
Converting translation language/Chinese_Simplified/strings.po...
lctype.c
Converting translation language/Chinese_Traditional/strings.po...
Converting translation language/Czech/strings.po...
ldebug.c
ldo.c
Converting translation language/Croatian/strings.po...
Converting translation language/Danish/strings.po...
ldump.c
lfunc.c
ldblib.c
Converting translation language/Dutch/strings.po...
Converting translation language/English/strings.po...
Converting translation language/Estonian/strings.po...
Converting translation language/Finnish/strings.po...
Converting translation language/French/strings.po...
Converting translation language/French_Belgium/strings.po...
lgc.c
liolib.c
linit.c
Converting translation language/French_Canada/strings.po...
lmathlib.c
llex.c
lmem.c
Converting translation language/Georgian/strings.po...
Converting translation language/German/strings.po...
Converting translation language/Hebrew/strings.po...
Converting translation language/Greek/strings.po...
Converting translation language/Hindi/strings.po...
loadlib.c
Converting translation language/Hungarian/strings.po...
lopcodes.c
Converting translation language/Italian/strings.po...
Converting translation language/Japanese/strings.po...
Converting translation language/Indonesian/strings.po...
lobject.c
loslib.c
lstate.c
lparser.c
Converting translation language/Latvian/strings.po...
Converting translation language/Korean/strings.po...
Converting translation language/Lithuanian/strings.po...
Converting translation language/Macedonian/strings.po...
Converting translation language/Norwegian/strings.po...
lstring.c
Converting translation language/Persian/strings.po...
Converting translation language/Polish/strings.po...
Converting translation language/Portuguese/strings.po...
lstrlib.c
Converting translation language/Portuguese_Brazil/strings.po...
ltable.c
ltablib.c
Converting translation language/Romanian/strings.po...
Converting translation language/Russian/strings.po...
Converting translation language/Serbian/strings.po...
ltm.c
Converting translation language/Serbian_Cyrillic/strings.po...
lundump.c
Converting translation language/Slovak/strings.po...
Converting translation language/Slovenian/strings.po...
Converting translation language/Spanish/strings.po...
Converting translation language/Spanish_Mexico/strings.po...
lutf8lib.c
lvm.c
Converting translation language/Swedish/strings.po...
lzio.c
Converting translation language/Thai/strings.po...
Converting translation language/Turkish/strings.po...
Converting translation language/Ukrainian/strings.po...
os_chdir.c
os_copyfile.c
make: *** No rule to make target `build/generated/mame/layout/', needed by `build/generated/mame/layout/18w.lh'.  Stop.
make: *** Waiting for unfinished jobs....

Converting translation language/Vietnamese/strings.po...
os_getcwd.c
os_is64bit.c
os_isdir.c
os_isfile.c
os_match.c
os_mkdir.c
os_pathsearch.c
os_rmdir.c
os_stat.c
os_ticks.c
os_uuid.c
path_isabsolute.c
premake.c
premake_main.c
scripts.c
string_endswith.c
string_hash.c
Creating ../../bin/windows
Linking genie
make[1]: Leaving directory `C:/buildtools/src/MAME182S/3rdparty/genie/build/gmake.windows'
Finished!
0 Hours 0 Minutes and 16 Seconds Elapsed.
 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...