Some random patches
Of course I have no objections.
The continuing development of the legendary VBA gameboy advance emulator.
https://board.visualboyadvance-m.org/
Of course I have no objections.
Okay,
Â
anyone chatted with Nach yet about UPS support with chrono's patches....We kinda need it urgently since Tomato has almost finished his translation.
I'll download the latest svn, and apply the ups patch, then gzip it and send it to spacy for compiling, then get tomato to send me a current ups file so i can check it out.
I have problems trying to apply the patch for UPS (probably with the other patch files as well).
Â
I downloaded a windows verison of the GNU "patch" program.
I cd to trunk.
I run patch -p1 0001--CORE-Add-UPS-PPF-patch-support.patch
Â
Nothing happens, but I can input something.
Â
Â
Â
I looked a bit around in the patch file:
Code: Select all
new file mode 100644
index 0000000..2c9c270
--- /dev/null
+++ b/src/Patch.cpp
@@ -0,0 +1,464 @@
+// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
+// Copyright (C) 1999-2003 Forgotten
Â
Is it correct to have /dev/null as an old file or something like that? I don't have much knowledge of diff/patch files, however, it just seems stupid.
It's new file. [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" />
here's a random patch moves SDL build to XDG specs (using .config/vbam instead of .vbam)
Â
since i saw gtk build went to this i did up a little patch. prob not perfect but seems to work
It's new file. [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" />
Â
Hm, same problem, nothing happens. What command would I use to apply the patch if I was on Linux? My directory structure is the same as on SVN.
Copy *.patch into trunk/ and
Code: Select all
patch -p 1 < 0001--CORE-Add-UPS-PPF-patch-support.patch
patch -p 1 < 0002--SDL-Add-UPS-PPF-patch-support.patch
patch -p 1 < 0003--SDL-Fix-memory-leak.patch
Patch for SVN
Ah, thank you. I misunderstood the syntax.
Â
Unfortunately, now patch.exe crashes -_-"
Â
"Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354"
Â
Â
I'll see if I can get another version.
Â
Btw, it would be really great if you could create an account on SourceForge so we can directly grant you access to SVN. Would save some work messing around with patch files.
Â
Â
EDIT:
Using TortoiseMerge, patch applied fine. Commited. Now I have to make sure the MFC builds works with it.
Â
Â
EDIT2:
I added the following code to make it compile with MSVC:
#ifdef _MSC_VER
#define fseeko64 _fseeki64
#define ftello64 _ftelli64
typedef __int64 __off64_t; // _ftelli64 returns __int64
#endif
PPF/UPS patches for game Boktai - The Sun is in Your Hand (CRC: 9686C36B)