Commit graph

6434 commits

Author SHA1 Message Date
Ronnie Sahlberg f7a3358b1f pbp: pstitleimg sections are allowed also for single disc games
Multidisc games are stored inside the EBOOT.PBP file as
A)
pstitleimg
psisoimg
psisoimg
...

Single disk games can be stored in two different formats, with or
without a pstitleimg section, i.e. as

B)
pstitleimg
psisoimg

or

C)
psisoimg

Fix a conditional in duckstation that incorrectly flags B) as an error.
These types of EBOOT.PBP files can be created by the pop-fe utility.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2022-03-29 21:36:39 +10:00
Connor McLaughlin 8c6ced6758
Merge pull request #2816 from andercard0/patch-1
Small change (fix)
2022-03-29 21:36:27 +10:00
IlDucci f9212363d3 Spanish translation overhaul + Addition of es-ES alternative
In its current state, the Spanish translations for Duckstation are a mess of different dialects, multiple translations for the same terms, mistranslations or excessively literal translations, and typos.

It's a shame, because you could feel that the initial translations were done with care, but were muddled with future revisions.

This commit tries to solve all of these and also change the initial decision of the first translator to have an "universal" "neutral" Spanish, as time has proven it's not possible without a dedicated translator who actually wants to have one Spanish language for all Spanish-speakers across the globe.

I'm not going to be that one, so the next option would be to duplicate the Spanish translations into two: one for the Spanish-speaking American people (called "Latin American Spanish", "español de Hispanoamérica", code es-419") and one for the European Spanish speakers (called "Spanish (Spain)", "español de España", code es-ES).

This distinction is used in multiple software applications that managed to have translators for different languages, and should also funnel any future Latin American Spanish and European Spanish translators to the corresponding file.

I have tried to follow as many existing terms and constructions as possible, restoring and/or rewording any phrasal constructions that were disunified by the multiple translators.

Since I have a limited experience with Latin American Spanish, this commit should be sent as a draft for additional revisions. I'm open to stick to having a single Spanish language, but it has to be done RIGHT.

This is an overview of changes across the board:
 - Added missing translations for QT and Android builds.
 - Unified translations between those.
 - Updated the QT file with the latest string values.
 - Massive removal of Title Uppercasing inherited from English in menu strings (the rules set by the Royal Academy of the Spanish Language, or RAE, limit the areas where Title Uppercasing is considered correct in Spanish. Menu names and window header texts are not within those areas).
 - Unified the treatment of users in the Latin American version to formal "ustedeo". This treatment could be modified with additional input.
 - Removed any gendering assumptions from any string directed towards the user (Are you sure...?, changed ¿Está/s seguro...? with ¿Seguro que...?)
 - Naturalization rewrites.
 - Typo corrections.
 - Gender corrections over definitive terms.
 - Adding missing NBSPs after required mathemathical characters or units.
 - Mass replacement of double/single quotes with angled quotes (the ones approved for Spanish).
 - Quoted non-Spanish, non-proper noun English words as dictated by RAE.
 - Removal of unwanted hyphens to join words (Auto-detectar with Detección automática, post-procesamiento with posprocesamiento). In Spanish, hyphens tend to separate, rather than join.
 - Revision of the compound forms, unified depending on Latin American Spanish or European Spanish.
 - Lowercased the first word of a text between parenthesis (Spanish rules dictate that they should be considered a continuation of the phrase, and thus, they should start with lowercase unless it's a proper noun or a word that must be uppercased) and corrected the positions between periods and parentheses.
 - Unified the accentuation rules for the adverb solo/sólo and the demostrative pronouns (este/ese/aquel) by removing all accents in European Spanish (following the RAE's 2010 suggestions) or keeping/adding them for Latin American Spanish (the 2010 rule ended up being a suggestion because while Spain has mostly deprecated those accents, it appears that the Latin American countries have not). To discuss?
 - Tweaked the key shortcuts for the QT menu to minimize duplicates.
 - Terms unified (this list doesn't represent the entirety of the changes):
    - Failed to (Fallo al/Error al): Fallo al
    - Hardcore Mode (Modo Hardcore/Modo Difícil): «hardcore» mode (Foreign non-proper nouns should be quoted, RetroAchievements does not have an official Spanish translation, so the term should be kept in English)
    - Enable/Disable (habilitado/deshabilitado/activado/desactivado/activo/inactivo): habilitado/deshabilitado
    - host (host/anfitrión/sistema): sistema, TO BE DETERMINED AND UNIFIED
    - Signed (numbers; firmados): (números) con signo
    - scan (verb and noun; escanear): buscar/búsqueda
    - Clear (something, like bindings or codes; despejar, limpiar): borrar/quitar
    - requirement (of a system, requisito/requerimento): requisito
    - input (of a controller, control): entrada
    - Threaded X (hilo de X): X multihilo
    - Frame Pacing (frame pacing): duración de fotogramas
    - XX-bit (XX-bit): XX bits (proper form)
    - Widescreen (screens, widescreen hacks; pantalla ancha, pantalla panorámica): pantalla panorámica
    - Antialiasing (anti-aliasing): Antialiasing (considered a proper noun by NVidia, doesn't need that hyphen)
    - hash: «hash» (could be discussed as "sumas de verificación", like on Dolphin)
    - Focus Loss (perder el foco): ir/entrar en segundo plano
    - toggle (verb for hotkeys, activar): alternar (as the key alternates between enabling and disabling the function, while "activate" might sound like it's just the enable part)
    - Rewind (function; retrocediendo, retrocedimiento): rebobinado (to discuss on LATAM Spanish)
    - shader (shader/sombreado): sombreador
    - resume (resumir): reanudar, continuar (resumir is a false friend)
    - Check (verb; chequear/revisar/comprobar): chequear (LATAM Spanish), comprobar (European Spanish)
    - Add (something; añadir/agregar): agregar (LATAM Spanish, to discuss) or añadir (European Spanish)
    - Enter/Input (ingrese, inserte): ingresar (LATAM Spanish) or introducir (European Spanish)
    - mouse (device; mouse/ratón): mouse (LATAM Spanish), ratón (European Spanish)
    - Auto-Detect (Auto-detectar): Detección automática
    - Controller (control): mando (for European Spanish only)
    - run (a game, the emulator; correr): ejecutar, funcionar (for European Spanish only)
2022-03-28 15:01:08 +02:00
Anderson_Cardoso a3d4c4d648
Small change (fix)
Added tiny fix for table view column "type", when launch Ducko in list mode the type column get a bit squished, I just increased it a bit this number.
2022-03-27 13:15:18 -03:00
Connor McLaughlin 07d331deca
Merge pull request #2814 from CookiePLMonster/y2038
Fix a Y2038 bug in UnixTimeToFileTime
2022-03-27 17:47:35 +10:00
Connor McLaughlin da5513e9eb
Merge pull request #2807 from Guwange/fix_gamedb_negcon
GameDB: fix NeGcon typo in some game entries
2022-03-27 17:47:21 +10:00
Connor McLaughlin a55537ec1b D3D12/Builders: Fix incorrect depth write mask 2022-03-27 17:38:48 +10:00
Connor McLaughlin 3c2d5ae508 dep/vixl: Fix compilation under MSVC2022 2022-03-27 17:38:48 +10:00
Connor McLaughlin 859a156b3c Various build fixes 2022-03-27 17:38:48 +10:00
Connor McLaughlin 3d61e3e379 CI: Switch to windows-2022/VS2022 2022-03-27 17:01:50 +10:00
Connor McLaughlin 4c4e62cee6 dep: Update rcheevos to 0e9eb7c 2022-03-27 16:59:02 +10:00
Connor McLaughlin a55b5022c7 System: Include cheevos state in save states 2022-03-27 16:59:02 +10:00
Connor McLaughlin 584525cb11 Cheevos: Move to core 2022-03-27 16:59:02 +10:00
Connor McLaughlin c43df29abc ImGuiFullscreen: Move to core 2022-03-27 16:59:02 +10:00
Connor McLaughlin fd76f437b3 Core: Purge WITH_IMGUI define 2022-03-27 16:59:02 +10:00
Connor McLaughlin d5128a5ea9 HTTPDownloader: Move to common 2022-03-27 16:59:02 +10:00
Connor McLaughlin cb51ab7197 Misc: Purge unused definitions 2022-03-27 16:59:02 +10:00
Connor McLaughlin ad26d352d3 vsprops: Update to VS2022 toolchain 2022-03-27 16:59:01 +10:00
Brian Blakely 717ee3103f M3U: Preloading to RAM for single-disc playlists. 2022-03-27 16:58:51 +10:00
Silent e43f2ddddb
Fix a Y2038 bug in UnixTimeToFileTime 2022-03-26 16:49:02 +01:00
Dolphin 4a4b69db35 GameDB: fix NeGcon typo in some game entries 2022-01-22 22:44:54 +09:00
Connor McLaughlin 51041e47f7
Merge pull request #2797 from CookiePLMonster/rcheevos-update
Rcheevos update
2022-01-11 00:26:24 +10:00
Silent 9414f68f51
Add Cheevos::GetAchievementProgressText
Measured achievements formatting is now up to rcheevos,
not DuckStation
2022-01-07 16:59:36 +01:00
Silent 9c91af6dfa
Update to rcheevos v10.2.0
Leaderboard rurl hacks are now replaced by proper calls
2022-01-07 16:21:37 +01:00
Connor McLaughlin 46737acecd CPU: Prevent mismatched va_start/va_end in log 2022-01-06 22:47:10 +10:00
Connor McLaughlin 541947c6f8 CPU/CodeCache: Fix currently-invalidated blocks breaking memory states 2022-01-06 22:47:10 +10:00
Connor McLaughlin 30a53fbb3c GameSettings: Disable GPU runahead for Red Asphalt PAL 2022-01-06 22:47:10 +10:00
Connor McLaughlin 8e56bb3f72
Merge pull request #2783 from Calinou/add-issue-forms
Replace existing issue templates with issue forms
2021-12-30 14:47:12 +10:00
Connor McLaughlin bcce434ab4
Merge pull request #2782 from Calinou/readme-improve-macos-instructions
Improve macOS and Linux build instructions
2021-12-30 14:46:25 +10:00
Connor McLaughlin a7bb590208
Merge pull request #2784 from Calinou/github-actions-use-ninja
Use Ninja for macOS builds on GitHub Actions
2021-12-30 14:45:12 +10:00
Hugo Locurcio d13a418d06
Use Ninja for macOS builds on GitHub Actions
Ninja makes for faster builds compared to Make.
2021-12-26 23:39:06 +01:00
Hugo Locurcio 2c1ee9372b
Improve macOS and Linux build instructions
- Use CMake's `-B` option to automatically create the build folder
  and avoid the `cd` requirement.
- Use CMake's build tool-agnostic `--build` option to use the same
  build command regardless of whether GNU Make or Ninja is used.
  `--parallel` also ensures that all CPU threads are used by default.
- Mention optional dependency on Ninja for macOS (it's confirmed to work
  there, installed from Homebrew).
- Update Qt macOS path to use the default installation path on a modern
  Homebrew installation. The old path is still mentioned just in case.
- Mention that the generated macOS application bundle may have to be
  manually resigned before it can be run.

The macOS build steps were successfully followed on a 2020 Mac mini
(Apple M1).
2021-12-26 22:51:21 +01:00
Hugo Locurcio b9841634cd
Replace existing issue templates with issue forms
Issue forms provide better guidance when creating issues, especially
for people less familiar with GitHub issue creation.
2021-12-26 22:48:04 +01:00
Connor McLaughlin bee50481f5 CDImageMDS: Possible fix for multi-track images 2021-12-25 14:28:33 +10:00
Connor McLaughlin 592a591b5f FileSystem: Get rid of trailing nulls in GetWorkingDirectory() 2021-12-25 14:28:33 +10:00
Connor McLaughlin fa9e50d7c1 HostInterface: Don't disable fastmem for runahead 2021-12-25 14:28:33 +10:00
Connor McLaughlin 25ea24853f HostInterface: Don't disable recompiler for runahead 2021-12-25 14:28:33 +10:00
Connor McLaughlin 4513c7a23d System: Invalidate instead of flushing code cache on memory state 2021-12-25 14:28:33 +10:00
Connor McLaughlin c440593788 CPU/CodeCache: Add InvalidateAll() method 2021-12-25 14:28:32 +10:00
Connor McLaughlin fe2062ff9f System: Warning fix 2021-12-25 14:28:32 +10:00
Connor McLaughlin bbf67ef544 CPU: Warning fix 2021-12-25 14:28:32 +10:00
Connor McLaughlin 59cb7c0343
Merge pull request #2766 from CookiePLMonster/ui-improvements
UI improvements
2021-12-16 20:01:53 +10:00
Silent 5d4622af9a
Migrate most dialogs to use QDialogButtonBox 2021-12-13 22:06:05 +01:00
Silent 690fa6ec3c
Memory Card Editor: Make fields not editable 2021-12-13 22:06:04 +01:00
Connor McLaughlin 85b49da62a
Merge pull request #2752 from BailShamber/master
Make appimage respect "QT_QPA_PLATFORM" env var.
2021-11-30 00:14:09 +10:00
Connor McLaughlin 7141e68e62
Merge pull request #2754 from bslenul/db-mouse-update
Database update for mouse compatible games
2021-11-30 00:13:50 +10:00
bslenul 1af69ff38e Database update for mouse compatible games 2021-11-29 12:29:05 +01:00
BailShamber 14a7ac78ac
Makes it safe if somehow the WAYLAND_DISPLAY env var is set but incorrectly.
Inspired by qurious' solution.
2021-11-28 11:27:29 +02:00
BailShamber 7dea8d9043 Make appimage respect "QT_QPA_PLATFORM" env var. 2021-11-28 11:04:36 +02:00
Connor McLaughlin 46f9da97d2
Merge pull request #2749 from bslenul/guncon-update
Update database for GunCon/Justifier games
2021-11-28 11:22:20 +10:00