Main > Software Forum
hiscore diff (with no nag/white box removal)
GalaxianUK:
No crash here with multi-threading enabled (although the frame rate drops)..
GalaxianUK:
I've noticed that a white edged outline of the nag box (which contains no text) momentarily appears for a split second (not present in windows) just before the game loads. Hardly an issue but may be worth reporting.
BlackGreen:
Wanted to chime in here with my experience trying to patch with the 0155 diff.
I'm running MAME on a linux box based on slackware 13.37 without SDL2 (VectorLinux), so I don't want to deal with the SDL upgrade stuff quite yet (0156+). My purpose for upgrading was to get some of the game fixes in later versions from 0148.
I tried running dos2unix on the diff and source files, as well as upgrading my "patch" binary on the linux box. I was still unable to to patch. I would always get:
--- Code: ---patch -p0 < hi_155_2.txt
Hunk #1 FAILED at <line_number> (different line endings).
--- End code ---
The only way I could get the patch to work was to make sure to unzip the mame source and download the hiscore diff files directly on my linux box. I also had to use the --binary option in patch:
--- Code: ---patch --binary -p0 < hi_155_2.txt
--- End code ---
--- Code: ---patching file src/emu/emu.mak
patching file src/emu/emuopts.c
patching file src/emu/emuopts.h
patching file src/emu/hiscore.c
patching file src/emu/hiscore.h
patching file src/emu/machine.c
patching file src/emu/machine.h
patching file src/emu/mame.c
patching file src/emu/profiler.c
patching file src/emu/profiler.h
patching file src/emu/romload.c
patching file src/emu/ui/ui.c
patching file src/emu/video.c
patching file src/emu/video.h
patching file src/mame/machine/cps2crpt.c
patching file src/osd/osdepend.c
patching file src/osd/osdepend.h
patching file src/osd/sdl/osdsdl.h
patching file src/osd/sdl/video.c
patching file src/osd/sdl/window.c
patching file src/osd/sdl/window.h
patching file src/osd/windows/video.c
patching file src/osd/windows/window.c
patching file src/osd/windows/window.h
patching file src/osd/windows/winmain.h
--- End code ---
So, ultimately:
> Make sure to download / unzip on the linux box to avoid CR endings.
> Use the --binary option with patch.
lamprey:
--- Quote from: chubsta on April 11, 2015, 07:34:57 am ---It would appear the problem revolves around 'multithreading' - with it enabled i get a crash, with it disabled everything is fine - still not sure if it is patch related or whether something else is happening. Can other people try with multithreading enabled and let me know if they suffer the same issues please?
--- End quote ---
You might try scrolling to the bottom of this thread and see the post by Calamity to see if that helps.
newoski:
Is it possible to patch HBMAMEUI 0.160 with nonag/white box removal?
Every time I try, I get the following error. Any tips would be really appreciated:
C:\buildtools\src>cmd.exe
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\buildtools\src>patchmame hi_160
C:\buildtools\src>set path=c:\mingw\mingw64-w64\bin
C:\buildtools\src>patch -p0 -E 0<hi_160.diff
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 old/emu/emu.mak src/emu/emu.mak
|--- old/emu/emu.mak 2015-03-25 08:16:52.000000000 -0500
|+++ src/emu/emu.mak 2015-03-25 11:50:02.000000000 -0500
--------------------------
File to patch:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version