Commit graph

471 commits

Author SHA1 Message Date
Sam Pearman 2ef6b6aa40 Region flag upgrade & correct NTSC-U to NTSC-U/C
Replace references to NTSC-U with the correct NTSC-U/C and adds Canada in user-facing strings.
Replaces all region flags with revised SVGs.
Brings the US flag down to 3:2 to match Europe and Japan.
Adds a custom split US & Canada flag for the U/C region, also 3:2.
Generated PNGs and new HiDPI PNGs for region flags.
Flag PNGs were generated by downscaling using a Lanczos filter to a width of 36/72 pixels, then a 1px grey border added, then a 2/5px transparent border.
2020-09-09 15:54:07 +09:00
Connor McLaughlin 1e6d50e4dc Qt: Fix advanced setting text being editable 2020-09-08 11:44:54 +10:00
Connor McLaughlin e731c87757 Qt: Turn tweaks/hacks into a table
Also move PGXP CPU mode/vertex cache to advanced options
2020-09-06 20:54:00 +10:00
RaydenX93 3507877cab Update duckstation-qt_it.ts
Many invalid/obsolete entries have appeared. According to @stenzek , this may be due to lost mapping between forms and translated strings. I'm comming this for now as everything seems ok, but a re-mapping is due. Obsolete/invalid strings are still available, as far as i know.
2020-09-06 12:00:22 +02:00
Connor McLaughlin c8ecd031ff
Merge pull request #822 from andercard0/patch-5
Quick update - Pt-Br - Again
2020-09-06 17:59:41 +10:00
Connor McLaughlin 7286dbab51 Qt: Fix sorting game list by title being case sensitive 2020-09-06 17:55:08 +10:00
Silent 2565d2cae1
Ass a 256x256 app icon 2020-09-05 23:01:07 +02:00
Anderson_Cardoso b117326d59
Quick update - Pt-Br - Again
Cosmetic stuff - nothing really important.
2020-09-04 19:57:54 -03:00
Anderson_Cardoso 355b162758
Quick update - Pt-Br and Workaround
Translation Notes: 
- Quick workaround fix for some ~, é, ç accentuations not properly being show;
- Translation of other bunch more user settings added recently;
- Same Tabs still not translatable as before;
2020-09-01 21:28:05 -03:00
Connor McLaughlin c9cefe4020 GameSettings: Add a bunch more user settings 2020-09-02 00:00:48 +10:00
Connor McLaughlin 6bbbb96d4b Move GameList to FrontendCommon
Reduces libretro core dependencies further.
2020-09-01 12:46:44 +10:00
Sam Pearman 0efd0953b1 Remove mistakenly leftover icons.qrc file
Remove mistakenly leftover icons.qrc file, which has been superceded by resources.qrc and causes build to fail if existing items in icons.qrc are removed.
2020-08-31 14:06:22 +09:00
Connor McLaughlin 101907a731
Merge pull request #811 from andercard0/patch-3
Update of Translation
2020-08-31 00:25:45 +10:00
Sam Pearman 32410b4254 Translation assistance scripts
Translation assistance tool for quick and easy file generation/update/edit for future translators.
2020-08-30 22:47:59 +09:00
Anderson_Cardoso e35c2182e5
Update of Translation
Translation Notes:

Untranslatable Texts:

- Port 1 | Port 2 Options in Controller Configuration;
- Crosshair Image Path and Crosshair Image Scale  (when choose Namco GunCon option);
- Left and Right in Playstation Mouse binding options screen
- Up, Down, Left, Right Steering option in NeoGcon options screen
- Tabs: General, Graphics, Save States and Audio in Shortcut configuration screen
- Save Game State 1 Load Game State 1~2.. etc. in Save States screen
- Save Global State 1~9 in Save States screen 
- Keyboard/keypad+Minus and - Keyboard/keypad+Plus in Audio screen
2020-08-29 18:58:31 -03:00
Connor McLaughlin 3d3e552266
Merge pull request #808 from CookiePLMonster/fix-properties-dialog
Give GamePropertiesDialog a parent
2020-08-30 00:02:12 +10:00
Connor McLaughlin 2b902f6d09
Merge pull request #806 from CookiePLMonster/axis-to-button-map
Allow mapping axes to buttons
2020-08-29 23:35:18 +10:00
Silent 800c5303de
Give GamePropertiesDialog a parent 2020-08-29 14:42:28 +02:00
Silent 057bf986c4
Allow mapping half axes to buttons
This allows to bind pressure sensitive NeGcon buttons to keyboard,
mouse and controller buttons
2020-08-29 14:19:28 +02:00
Connor McLaughlin 547cc4dbf6 Qt: Clear OSD messages on system stop 2020-08-29 22:19:09 +10:00
Connor McLaughlin 19d6037b99 CPU: Implement instruction cache simulation
Implemented for all execution modes. Disabled by default in the cached
interpreter and recompiler, always enabled in the pure interpreter.
2020-08-29 22:07:40 +10:00
Connor McLaughlin 5a9f49c1d9
Merge pull request #799 from andercard0/patch-2
Minor Update and corrections for - Brazilian Portuguese Language
2020-08-26 00:16:10 +10:00
Connor McLaughlin 4391d63d0c Build: Create macOS .app for Qt 2020-08-25 22:04:55 +10:00
Anderson_Cardoso 6ca7e12111
Update duckstation-qt_pt-br.ts
Translation notes |  Not translatable:
- Compatibility Settings Tab as well the options below
* Force Interpreter
* Disable true color
* Disable PGXP 

Etc..
2020-08-23 17:31:16 -03:00
Connor McLaughlin 032127a7d6 Qt: Fix widescreen hack value for game settings
Also fixes an .ini entry being created on right click->properties.
2020-08-24 00:49:41 +10:00
Connor McLaughlin 8f54711c72 Make additional strings in controller settings translatable 2020-08-24 00:22:49 +10:00
phoe-nix b929afc33f
Update duckstation-qt_zh-cn.ts (#762)
* Update duckstation-qt_zh-cn.ts

* Merge duckstation-qt_zh-cn.ts with master

Co-authored-by: Connor McLaughlin <stenzek@gmail.com>
2020-08-24 00:22:28 +10:00
RaydenX93 9966d7a0da Update duckstation-qt_it.ts
translation is now up-to-date with minor fixes
2020-08-23 14:53:00 +02:00
Connor McLaughlin 136a9d60e9 Qt: Fix booting system from context menu 2020-08-23 01:41:55 +10:00
Connor McLaughlin 34c125050e Qt: Update display after loading state
Fixes display not updating after loading state while paused.
2020-08-22 18:16:48 +10:00
Connor McLaughlin 3c46f7b44c ControllerInterface: Add XInput controller backend 2020-08-22 16:50:19 +10:00
Connor McLaughlin 62d0ec5584 Qt/AudioSettingsWidget: Mark some help text as translatable 2020-08-22 14:38:57 +10:00
Abbanon 8151594d60
Update gpusettingswidget.cpp (#741)
* Update gpusettingswidget.cpp

* Update gpusettingswidget.cpp

Minor fix

Co-authored-by: Connor McLaughlin <stenzek@gmail.com>
2020-08-22 13:11:03 +10:00
Connor McLaughlin 0f88c0e817
Merge pull request #760 from Richard-L/patch-1
Update audiosettingswidget.cpp
2020-08-22 13:09:53 +10:00
Connor McLaughlin 7100277ad5
Merge branch 'master' into patch-6 2020-08-22 13:09:16 +10:00
Connor McLaughlin ab002e78e1 Support translating strings in emulator core 2020-08-22 13:06:20 +10:00
Connor McLaughlin bca609a2a6 Qt: Add option to disable per-game settings 2020-08-21 00:09:37 +10:00
Connor McLaughlin 5fca2d1d1c Qt: Add toggles for toolbar/status bar 2020-08-21 00:09:37 +10:00
Connor McLaughlin c3ce9135bf Fix recompiler not auto-disabling with PGXP-CPU mode 2020-08-21 00:09:37 +10:00
Connor McLaughlin 60d3fffec1 Add per-game overrides (mainly for compatibility) 2020-08-21 00:09:37 +10:00
Anderson_Cardoso e94ea87a84
Update duckstation-qt_pt-br.ts
Update of Brazilian Portuguese language translation with new options recently added; 
some typo fixed as well.
2020-08-19 21:37:19 -03:00
Connor McLaughlin b98dbc75e9 Qt: Use scm date in update dialog 2020-08-20 00:49:39 +10:00
Connor McLaughlin 71a38adbc7 Qt: List changes between current->latest build in auto updater
Thanks to @hhromic for the API endpoint tip.
2020-08-20 00:49:39 +10:00
Connor McLaughlin 2e9f656546 CPU: Implement PGXP CPU Mode
This is *very* slow. You don't want to enable it if you don't need it.
It is also incompatible with the recompiler and will disable it if the
option is enabled.
2020-08-20 00:49:39 +10:00
Connor McLaughlin db6b9e3bf4 Qt: Fix default value of auto update check 2020-08-19 20:54:02 +10:00
Connor McLaughlin 67fb9253cb Qt: Hide debug menu by default 2020-08-19 00:01:57 +10:00
Connor McLaughlin e3721460a2 Qt: Connect Italian translation 2020-08-17 11:54:10 +10:00
RaydenX93 d10e17cb6c Create duckstation-qt_it.ts
R0
2020-08-16 20:36:51 +02:00
posix aeeb41801a
Update consolesettingswidget.cpp 2020-08-16 19:31:00 +02:00
Connor McLaughlin 4e62b32d60 Add option to dump the contents of RAM to a file 2020-08-16 23:20:36 +10:00
Connor McLaughlin 10a46a7fd8 OSD: Add option to show display resolution 2020-08-16 00:20:11 +10:00
Connor McLaughlin f3c3be7f09 Qt: Make right click game -> state menus translatable 2020-08-16 00:20:10 +10:00
Connor McLaughlin ae3ad04bfc Qt: Fix modifier key bindings not having any effect 2020-08-16 00:20:10 +10:00
Connor McLaughlin 86799775ce Qt: Add UI for playlist disc switching 2020-08-16 00:20:10 +10:00
Connor McLaughlin d9893bb127 System: Add option to use a single memory card for playlists 2020-08-16 00:20:10 +10:00
posix e0c6617b7c
Update duckstation-qt_de.ts
I updated the .ts, opened it in Wordpad, and copy pasted it over, in the hope it'll only show stuff I changed.
2020-08-15 14:05:21 +02:00
posix 54f1ef6f59
Update audiosettingswidget.cpp 2020-08-15 13:14:14 +02:00
Connor McLaughlin 9bac40d6d8 Qt: Connect Spanish translation 2020-08-15 11:37:45 +10:00
Connor McLaughlin 9c413275c2 Qt: Update Portuguese (Br) translation 2020-08-15 11:37:20 +10:00
Connor McLaughlin 852edaa3f9
Merge pull request #758 from Hipnosis183/master
Added universal Spanish translation
2020-08-15 11:30:06 +10:00
Renzo Pigliacampo 97bd7109b2
Added universal Spanish translation 2020-08-14 19:09:56 -03:00
Albert Liu cd0ac1a2bc Qt: Add Chinese (Simplified) translation 2020-08-14 13:47:23 -07:00
Connor McLaughlin 16a4398fdb Qt: Use native name for Portuguese in list 2020-08-15 00:14:49 +10:00
Connor McLaughlin 71bd009eed Qt: Connect Hebrew translation 2020-08-15 00:14:48 +10:00
Connor McLaughlin c5db7db182 Build: Compile source as UTF-8 with MSVC 2020-08-15 00:04:38 +10:00
MojoJojoDojo da596722bc Hebrew Translation 2020-08-14 12:47:59 +03:00
Albert Liu 6e0b71ace4 QtUtils: Improve QTableView column resizing 2020-08-11 11:19:03 -07:00
Connor McLaughlin ba5458c1c3 Qt: Fix a rare crash when rapidly changing settings 2020-08-12 02:27:52 +10:00
posix 79fd77444a
Update consolesettingswidget.cpp
This the way to do it?
2020-08-10 21:35:36 +02:00
Connor McLaughlin 8c472a8258
Merge pull request #732 from Abbanon/master
Update gpusettingswidget.cpp
2020-08-11 03:00:32 +10:00
Connor McLaughlin 9963bde034 Qt: Remove note about bilinear filtering being broken 2020-08-10 23:28:37 +10:00
Connor McLaughlin e59200b8c2 Qt/ConsoleSettingsWidget: Support adding help 2020-08-10 23:28:37 +10:00
Abbanon f0cd42dc1a
Update gpusettingswidget.cpp
Second pass, making some changes to my own changes. Still not entirely sure what I'm doing.
2020-08-10 09:00:19 -04:00
Connor McLaughlin f14dc6de27 Update Portuguese (Pt) translation 2020-08-10 20:40:28 +10:00
Connor McLaughlin 96b86acb4f Qt: Move debug GPU device to advanced options 2020-08-09 00:03:07 +10:00
Connor McLaughlin 1d5f810a4b CPU/Recompiler: Disable memory access exceptions by default
This means it'll no longer pass amidog's CPU test in the default config.
But no games rely on this. You can enable it in advanced options if you
want to pass the CPU test.
2020-08-08 23:44:13 +10:00
Connor McLaughlin 92bc65d883 Qt: Turn language list into radio buttons 2020-08-07 03:34:40 +10:00
Connor McLaughlin f0e3373cb2 Qt: Add message about unofficial builds auto-update incompatibility 2020-08-06 22:37:30 +10:00
Connor McLaughlin 72053e5500 Qt: Fix non-auto-update-enabled builds 2020-08-06 22:22:35 +10:00
Connor McLaughlin c09bfc4d2b Qt: Add automatic updater 2020-08-06 22:08:22 +10:00
Connor McLaughlin 7cafb8c515 Common: Add MinizipHelpers (RAM and UTF-8 compatible fopen) 2020-08-06 19:33:02 +10:00
Connor McLaughlin 6e586311e8 Common: Add title, modal information to ProgressCallback 2020-08-06 19:32:53 +10:00
Connor McLaughlin 8c1a72f640 Qt: Unmark window info error for translation 2020-08-06 19:30:47 +10:00
Connor McLaughlin b6d25c46e4 Qt: Add de language to update_translations.bat 2020-08-05 20:42:48 +10:00
Connor McLaughlin e198e31598 Qt: Add German/Deutsch translation 2020-08-03 13:32:55 +10:00
Connor McLaughlin 8b4624a98e Update Portuguese (Br) translation 2020-08-03 13:23:34 +10:00
Connor McLaughlin 9b7512f7b8 GPU/HW: Implement automatic resolution scale from window size 2020-08-03 03:06:03 +10:00
Connor McLaughlin 75156b76af CMake: Fix Linux build 2020-08-02 13:21:16 +10:00
Connor McLaughlin ba9ada1100 Qt: Add Portuguese (Pt) translation 2020-08-02 13:14:52 +10:00
Connor McLaughlin 5f9481dd3d Qt: Fix game list settings headings not being translatable 2020-08-02 03:06:23 +10:00
Connor McLaughlin 9a9d66882c Qt: Fix game list headings not being translatable 2020-08-02 03:06:23 +10:00
Connor McLaughlin 0c1b637549 PGXP: Add initial implementation 2020-08-02 00:25:07 +10:00
Connor McLaughlin 013497cf20 Qt/GPUSettings: Fix typo in force NTSC timing description 2020-08-01 22:35:28 +10:00
Connor McLaughlin e9882a10aa System: Move restore/reset graphics API state to System
Fixes frame stepping.
2020-08-01 16:45:07 +10:00
Connor McLaughlin 3532ab8d72 Qt: Update interlaced rendering option help 2020-08-01 14:04:52 +10:00
Connor McLaughlin b6f871d2b9
JIT optimizations and refactoring (#675)
* CPU/Recompiler: Use rel32 call where possible for no-args

* JitCodeBuffer: Support using preallocated buffer

* CPU/Recompiler/AArch64: Use bl instead of blr for short branches

* CPU/CodeCache: Allocate recompiler buffer in program space

This means we don't need 64-bit moves for every call out of the
recompiler.

* GTE: Don't store as u16 and load as u32

* CPU/Recompiler: Add methods to emit global load/stores

* GTE: Convert class to namespace

* CPU/Recompiler: Call GTE functions directly

* Settings: Turn into a global variable

* GPU: Replace local pointers with global

* InterruptController: Turn into a global pointer

* System: Replace local pointers with global

* Timers: Turn into a global instance

* DMA: Turn into a global instance

* SPU: Turn into a global instance

* CDROM: Turn into a global instance

* MDEC: Turn into a global instance

* Pad: Turn into a global instance

* SIO: Turn into a global instance

* CDROM: Move audio FIFO to the heap

* CPU/Recompiler: Drop ASMFunctions

No longer needed since we have code in the same 4GB window.

* CPUCodeCache: Turn class into namespace

* Bus: Local pointer -> global pointers

* CPU: Turn class into namespace

* Bus: Turn into namespace

* GTE: Store registers in CPU state struct

Allows relative addressing on ARM.

* CPU/Recompiler: Align code storage to page size

* CPU/Recompiler: Fix relative branches on A64

* HostInterface: Local references to global

* System: Turn into a namespace, move events out

* Add guard pages

* Android: Fix build
2020-07-31 17:09:18 +10:00
Connor McLaughlin f443691ad0 Qt: Fix deprecreated errors with 5.15 2020-07-31 03:40:51 +10:00
Connor McLaughlin fb85e2b441 Qt: Update Portuguese (Br) translation 2020-07-31 03:32:48 +10:00
Connor McLaughlin 167169a03b Qt: Update Portuguese translation 2020-07-30 00:49:32 +10:00
Connor McLaughlin 77481f5b23 Qt: Add context menu and open directory to game directory list 2020-07-29 02:51:52 +10:00