Commit Graph

171 Commits

Author SHA1 Message Date
Unknown W. Brackets
63b5ec3d85 Allow specifying a root path for host0:/.
This way, similar to the PSP, we can have a root path outside the test.
2014-04-19 21:43:09 -07:00
Unknown W. Brackets
4c35c1bb13 Attempt to load VFS in headless on Android.
Otherwise we don't get fonts, and savestates fail to load.
2014-03-25 00:49:03 -07:00
Unknown W. Brackets
36c3a0dd68 Make it possible to load a savestate in headless.
This is primarily useful to reproduce crashes or test performance.
2014-03-25 00:46:21 -07:00
Unknown W. Brackets
e3506ead69 Clear the symbol map between each test.
This way we could, for example, test function replacement properly.

Actually slows down tests because it spends more time correctly
determining the function boundaries.
2014-03-02 10:20:40 -08:00
Unknown W. Brackets
2e69aa913d Run tests with the max volume set. 2014-02-17 01:39:54 -08:00
Henrik Rydgard
7ac99e866a Delete temp file (accidentally committed) 2014-02-10 18:32:13 +01:00
Henrik Rydgard
c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgard
8b6b491820 Remove obsolete outputWidth/outputHeight 2014-02-10 12:44:35 +01:00
Unknown W. Brackets
cd4cd77938 Clean up defines in MSVC project files.
This way they're all basically the same.  A lot of cases where
debug/release/etc. where inconsistent...

Also, define USING_WIN_UI.
2014-02-08 16:38:44 -08:00
Unknown W. Brackets
2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
Henrik Rydgård
2871633e36 Merge pull request #4750 from unknownbrackets/ui-tweaks
Support pinning paths in the game browser
2013-12-16 06:08:05 -08:00
Unknown W. Brackets
0c7e9b9849 headless: default to single core.
Was zero before, causing divide by zero issues.
2013-12-15 11:59:24 -08:00
Unknown W. Brackets
4bc86afd5e Adjust some project filters. 2013-12-14 22:36:41 -08:00
Henrik Rydgard
109decf481 Actually fix headless build, doh 2013-12-08 12:12:45 +01:00
Unknown W. Brackets
83dd3c74d6 Fix a stupid mistake in the headless timeout.
Although, still need to figure out why it gets corrupted.
2013-12-06 21:18:26 -08:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Unknown W. Brackets
f1f87e7b6f Workaround random headless timeouts on Android/etc.
Seems like we have stack corruption, so probably it's not that XMM etc.
need to be saved.  Not sure what exactly is up.
2013-11-23 10:42:28 -08:00
Unknown W. Brackets
fa7467f03d Try to find the flash0 directory in headless. 2013-11-17 10:15:49 -08:00
Unknown W. Brackets
c1c1b5213e Fix logging missing in headless with --log. 2013-11-17 10:15:13 -08:00
Unknown W. Brackets
712b582d26 Remove coreParam.disableG3Dlog and enableDebugging.
One was uninitialized, the other one unused.
2013-11-09 11:02:12 -08:00
Unknown W. Brackets
5d523ea06a Add android-ndk-profiler v3.2.
This allows fairly easy profiling on Android without rooting.
2013-11-02 21:54:45 -07:00
Unknown W. Brackets
2757fb7096 Ignore import warnings from ffmpeg.
Seems to be a known issue with the msvc ffmpeg stuff.
2013-10-26 17:37:08 -07:00
The Dax
1f1c8e4a48 Remove avdevice.lib linker dependency/input for Headless and PPSSPP. 2013-10-26 15:54:17 -04:00
Henrik Rydgård
f73aec2570 Only disable buffered rendering by default on Galaxy Y instead of all
Armv6 devices.

Would have like to use gpu feature flags but GL isn't necessarily initialized
when we load the config. Will need to find a different solution.

Also a buildfix for headless non-windows.
2013-10-25 11:47:44 +02:00
Unknown W. Brackets
04f1df4415 Set directories in headless on Windows.
Caused some tests to fail.
2013-10-24 21:29:48 -07:00
Unknown W. Brackets
c486a09c2c Use a better default font path on Linux/Mac OS X.
This way people don't have to copy to ~/.ppsspp/flash0.
The override in ~/.ppsspp/PSP/flash0 still works.
2013-10-20 23:45:56 -07:00
Unknown W. Brackets
5554865ebb Fix headless auto-compare when expected have \r's. 2013-10-14 23:55:18 -07:00
Unknown W. Brackets
b190208aa5 Fix non-Windows headless build. 2013-10-14 02:35:47 -07:00
Unknown W. Brackets
af2ccbb9da Rename flashDirectory to flash0Directory. 2013-10-12 16:08:39 -07:00
adrian17
58d8bc86c5 Removed two functions as they are also in Native/file.
Also, removed TabsToSpaces() from the header as it no longer exists.
2013-09-28 23:05:36 +02:00
Unknown W. Brackets
54f2bc8262 Don't frameskip unthrottle in headless.
Could make graphic tests wrong or something.
2013-09-19 00:29:19 -07:00
Ced2911
8ec6ca8dc0 [dx9] correct window size 2013-09-18 14:40:53 +02:00
Henrik Rydgård
198434c6eb Merge pull request #3823 from unknownbrackets/headless
Fix headless on buildbot (command line length), speed up further
2013-09-18 00:48:17 -07:00
Unknown W. Brackets
48eef19538 Optionally read test filenames from stdin.
This way we don't hit command line length limits.
2013-09-18 00:17:30 -07:00
Unknown W. Brackets
0735a9a679 Just disable PPGe during tests, should be okay. 2013-09-17 23:13:13 -07:00
Unknown W. Brackets
7a81b802cc Don't shutdown gl in headless so quickly.
Oops.
2013-09-17 22:50:43 -07:00
Henrik Rydgård
2de4db3e31 Merge pull request #3818 from unknownbrackets/headless
Headless - use auto compare, just build test list in test.py
2013-09-17 09:08:20 -07:00
Unknown W. Brackets
43c3fd9386 Remove compare logic from test.py, use --compare. 2013-09-17 08:40:20 -07:00
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Henrik Rydgård
db92f26e56 Merge pull request #3806 from thedax/win32UITranslation
Win32 UI: Rewrite most of the menu translation code to be cleaner and simpler.
2013-09-17 06:43:24 -07:00
Unknown W. Brackets
0185825b23 Support the verbose test compare parameter. 2013-09-17 00:15:19 -07:00
Unknown W. Brackets
c96ea1d226 List failed tests in autocompare. 2013-09-17 00:02:53 -07:00
Unknown W. Brackets
e72a06503e Support running multiple tests in a row. 2013-09-16 23:58:42 -07:00
Unknown W. Brackets
9a2ea4cdc1 Move the actual test run to its own function. 2013-09-16 23:49:41 -07:00
Unknown W. Brackets
5d99fd8a98 Skip trailing newlines in test comparison. 2013-09-16 23:49:09 -07:00
Unknown W. Brackets
3e6df2d7aa Just save XMM0-XMM15 on x64.
Not really sure why but seems like VS2010 expects XMM4 to be preserved.

Fixes headless on x64.
2013-09-16 23:17:34 -07:00
The Dax
426e6630d9 Rewrite most of the translation stuff to be cleaner.
Also fix a bug where in-game only menu items become enabled after selecting a language when we're in various NewUI menus.
Rename Config::ilanguage to Config::iLanguage for consistency with other Config variables.
2013-09-16 18:45:09 -04:00
Unknown W. Brackets
94af2b388b Support a timeout directly in headless.
Obviously, though, if headless infinite loops we're screwed.
2013-09-16 08:36:10 -07:00
Unknown W. Brackets
57b636816b Add an internal comparison algorithm to headless.
This is slightly smarter than the test.py version, and should be
completely compatible.  It doesn't handle timeouts though.
2013-09-16 08:30:02 -07:00
Unknown W. Brackets
35cd59ae87 Remove hack to skip messages from native.
Native is not so talkative anymore.
2013-09-16 08:19:53 -07:00
Unknown W. Brackets
c2e20e32e7 Buffer test output in headless a bit.
Just to newlines.  Cuts from profile by like 70%.

Seems like the bottleneck is Python, though...
2013-09-16 08:19:53 -07:00
Ced2911
b084e5169a Merge branch 'master' of https://github.com/hrydgard/ppsspp into dx9windows
Conflicts:
	headless/Headless.vcxproj
2013-09-16 10:54:04 +02:00
Ced2911
5c4ed26442 Make the dx9 renderer working in headless mode 2013-09-16 09:42:30 +02:00
Henrik Rydgard
83f39fdaa6 Report the combination of bezier/spline + morph/skinning to see if it happens 2013-09-16 09:01:20 +02:00
Unknown W. Brackets
5617f07462 Fix dx9 so it builds on Windows (DOES NOT WORK.) 2013-09-15 23:22:10 -07:00
Unknown W. Brackets
5ec2b00108 Allow selection of GPU in headless. 2013-09-11 21:57:39 -07:00
Henrik Rydgard
ad620e463a Detect language on first boot on Windows (Vista+) and Android 2013-09-04 12:08:22 +02:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Unknown W. Brackets
b17b23f1f2 Add a function to run the CPU core. 2013-08-04 15:23:38 -07:00
Unknown W. Brackets
7b7801d59a Switch to including Windows.h from an intermediate.
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Henrik Rydgard
2f50bec779 Merge branch 'raven02-master'
Conflicts:
	native
2013-07-21 22:37:22 +02:00
Unknown W. Brackets
3decbba334 Correctly output NULs, etc. (i.e. UTF-16.) 2013-07-21 12:56:55 -07:00
raven02
87fc81e56d Consolidate Rendering Mode 2013-07-21 23:17:42 +08:00
raven02
de4d970ab6 Toggle to adjust VPS/FPS/Both , new timeFormat/dateFormat/buttonPerference 2013-06-19 15:09:01 +08:00
Henrik Rydgard
2afbc94734 Turn off RTTI, simulate it where needed. 2013-06-09 13:02:16 +02:00
Henrik Rydgard
51daa1f878 Delete the "Use Media Engine" option. 2013-06-08 22:53:36 +02:00
Henrik Rydgard
a3dd3b53c3 Implement a couple basic Psmf functions, unify some project settings, update native. 2013-06-05 21:24:14 +02:00
Henrik Rydgard
0c7833796b Merge branch 'master' into plugindownload
Conflicts:
	Core/Core.vcxproj
	Windows/PPSSPP.vcxproj
	native
2013-06-03 23:42:49 +02:00
Henrik Rydgard
f0385aa2ac Use FFMPEG on 64-bit Windows, now that there's a build. 2013-06-03 21:46:10 +02:00
Henrik Rydgard
b3f3305068 vcproj update: enable multithread build 2013-06-02 23:45:44 +02:00
Henrik Rydgard
059aed36ee Add on-screen feedback for some keyboard shortcuts (so you know which setting was changed) 2013-05-22 18:00:06 +02:00
Unknown W. Brackets
a723d43e4f Enable frameskip when fps limit is at turbo. 2013-05-20 08:28:07 -07:00
Henrik Rydgard
96cb66a988 Windows: Use prebuilt FFMPEG for 32-bit builds. 2013-05-08 22:11:05 +02:00
Unknown W. Brackets
acd0b471e7 Make sure that x64 uses all the same opt settings.
There were some differences.  Also, make debug use the same sse mode
release does so they have parity.
2013-04-28 22:22:01 -07:00
Henrik Rydgard
660d5700e7 Unify some VS project settings 2013-04-27 19:34:41 +02:00
Unknown W. Brackets
b264915d28 Correct sceUtilityGetSystemParamString() per tests. 2013-04-20 09:37:47 -07:00
Unknown W. Brackets
b7bdaf603e Set more options to match the defaults.
We should really test the defaults, no?
2013-04-10 22:17:43 -07:00
Unknown W. Brackets
de3f4d03ba Update WindowsHeadlessHost to fix graphic tests.
Although I'm not sure if they actually work...
2013-04-10 22:07:57 -07:00
Unknown W. Brackets
ab37f6e760 Set a fixed base address in headless Windows.
This matches and makes x64 not crash with errors.
2013-04-10 21:31:07 -07:00
Henrik Rydgard
afa21588d7 Some work towards better control handling, includes stickyfix from native 2013-03-30 23:55:28 +01:00
Unknown W. Brackets
e024f29240 Better buildfix.
Fixes #1099.
2013-03-29 22:57:28 -07:00
Unknown W. Brackets
503b837628 Buildfix for Linux/Mac at least.
Qt still not happy, I think.
2013-03-29 22:22:44 -07:00
Henrik Rydgard
84fd5781de GL UI in Win32: Some basics work. 2013-03-29 18:50:08 +01:00
Henrik Rydgard
46b2e15945 Set _CRT_SECURE_NO_WARNINGS 2013-03-16 09:17:39 +01:00
Henrik Rydgård
b770ba7809 Merge pull request #940 from unknownbrackets/logging
Add a VERBOSE logging level + show thread name in log
2013-03-11 02:21:25 -07:00
Unknown W. Brackets
a34cf0bb79 Add a VERBOSE logging level, for noisy logging.
The debug log is hard to look at because it has so much unneeded info.
2013-03-10 22:32:48 -07:00
Henrik Rydgard
94e485e695 Slightly improved OpenGL error handling on Windows 2013-03-10 23:09:52 +01:00
Unknown W. Brackets
806ee13b61 Add a delay to sceUtilityLoadAvModule() as well. 2013-03-09 12:53:53 -08:00
Unknown W. Brackets
2cc0e08ce5 Switch on jit again by default. 2013-02-23 19:33:11 -08:00
Unknown W. Brackets
e085c3ee76 Fix crash on quit / pause not working. 2013-02-21 01:05:37 -08:00
Unknown W. Brackets
c7a545ecda Buildfix for headless on non-Windows. 2013-02-19 08:00:05 -08:00
Henrik Rydgard
cbb786c7f0 Restructure Windows "gameloop" to be more similar to others. 2013-02-19 00:45:25 +01:00
Unknown W. Brackets
7cb00849f7 Remove faster interpreter from headless. 2013-02-16 01:48:28 -08:00
Unknown W. Brackets
0ff30cf239 Turn jit back off, build server can't handle it. 2013-02-09 01:58:03 -08:00
Unknown W. Brackets
779171e8d5 Run tests using jit by default. 2013-02-09 01:14:39 -08:00
Unknown W. Brackets
1e2065a280 Fix a confusing comment for screenshots. 2013-02-08 11:03:45 -08:00
Unknown W. Brackets
6a72b0d325 Separate out the actual screenshot comparison.
Fixes #109.
2013-02-08 00:25:29 -08:00
Unknown W. Brackets
b24d41b156 Bitmaps are stored BGR, so let's read it that way. 2013-02-07 22:46:53 -08:00
Unknown W. Brackets
eb6258d4d8 Simple Windows-only headless screenshot compare. 2013-02-07 22:44:54 -08:00
Unknown W. Brackets
f875e3699f Handle the emit screenshot headless command.
But, it doesn't work.  Shouldn't the vram have the graphics?
2013-02-07 22:44:54 -08:00