1
0
mirror of synced 2024-11-27 17:00:50 +01:00
Commit Graph

1181 Commits

Author SHA1 Message Date
0auBSQ
1314118073 deprecate old calibration method (calibration tja) that got replaced by input calibration on the regular menu 2024-10-23 03:04:09 +09:00
Julian Holfeld
12eec18ab9
Early returns and Switch Expressions (#715)
* refactor: shorten getGamePad- getJoystickId

* refactor: use switch expression

* refactor: CPad early return & shortened bool returns

* refactor: CTextConsole
2024-10-23 00:57:25 +09:00
Julian Holfeld
a38003bdb2
Translate japanese variables and code (part 3) (#714)
* refactor: translate CConfigIni

* refactor: remove unused CDTXVersion.cs

* refactor: ConfigManager

* refactor: translate CPad.cs

* refactor: translate CTextConsole

* refactor: remove unused CVersionList.cs
2024-10-22 23:40:48 +09:00
0auBSQ
fe31f0d8f2 don't read deprecated tower textures 2024-10-22 07:57:51 +09:00
DragonRatTiger / リュウコ
6e8be10105
ImGui debugging - view CTextures & Inputs (#713)
* ImGui debugging - view CTextures & Inputs

* Update CDTX.cs
2024-10-22 07:28:22 +09:00
0auBSQ
6f85e8fa86 remove old openencyclopedia references 2024-10-22 05:39:39 +09:00
0auBSQ
4957d54710 remove deprecated DTX plugin references 2024-10-22 05:33:49 +09:00
0auBSQ
b28c2f6c56 delete CDTXVmode references 2024-10-22 05:16:30 +09:00
0auBSQ
b20302627f remove compact mode unused references 2024-10-22 05:04:45 +09:00
Julian Holfeld
d19654e3c0
Refactor CConfigIni (#710)
* refactor: use switch Statements

* refactor: use early-return to avoid nesting

* refactor: ProcessSystemSection

* refactor: ProcessAutoPlaySection

* refactor: HitRange- and LogSection

* refactor: ProcessPlayOptionSection

* refactor: remaining process sections

* refactor: section process dict

* refactor: rename vars for clear context

* refactor: make key-value local

* refactor: early return to avoid nesting

* refactor: wrap suggestions

* refactor: merge isMenu into logical pattern

* refactor: TrimStart on next line

* refactor: RemoveDuplicateKeyAssignments

* revert: switch expression ProcessDebug
2024-10-22 04:33:40 +09:00
0auBSQ
f88cd1d676 unlockables and minor fixes 2024-10-21 06:07:10 +09:00
Julian Holfeld
49737ea36d
fix: use this. qualifier (#709) 2024-10-21 01:54:26 +09:00
Julian Holfeld
c610b3ad93
Translate japanese variables and code (part 2) (#708)
* feat: translate CConversion

* feat: CConfigIni part 1

* feat: CConfigIni part 2

* feat: CConfigIni part 3
2024-10-21 01:54:08 +09:00
DragonRatTiger / リュウコ
92b096c159
oops, that change breaks towers (#707) 2024-10-20 03:16:33 +09:00
Julian Holfeld
c0fea95c59
DE translation and missing translation keys (#706)
* feat(de): translate HEYA and unlocks

* fix: missing version and translation keys
2024-10-20 02:29:27 +09:00
Expédic Habbet
570dfa74e8
Ignore Unlocks Text (#705)
Ignoration of Unlocks in Chinese and Russian.
The option names both means "Ignore Unlock Conditions of Songs".
2024-10-19 21:34:53 +09:00
0auBSQ
cd8e916e70 ow the edge 2024-10-18 23:08:55 +09:00
DragonRatTiger / リュウコ
b29b7b20b6
Multiple changes, read desc (#704)
* Fix individual gauge exam bricking global gauge exam

* Correctly display individual exam gauge

* Fix background presets crashing on null entries

* oops, forgot to check if its null

* imgui stuff
2024-10-18 21:57:52 +09:00
0auBSQ
fc88d051a9 few unlockables improvements 2024-10-18 07:45:12 +09:00
DragonRatTiger / リュウコ
41086c5f3f
ja description re-translation (#703) 2024-10-17 09:19:28 +09:00
0auBSQ
1baaa856ec yes 2024-10-17 04:38:13 +09:00
DragonRatTiger / リュウコ
52e2627871
ImGui debugging controls (#702)
* ImGui debugging controls

* re-private context

* Update ImGuiDebugWindow.cs
2024-10-17 03:04:15 +09:00
0auBSQ
223259ecb3 Add an option to ignore song unlockables for lazy people, minor fix and skin issue (fix softlock) 2024-10-17 03:01:29 +09:00
0auBSQ
b3e0ba1f72 .net 8 2024-10-16 21:11:50 +09:00
Expédic Habbet
7293e484fe
Some Additions and Revisions in my charge (#701)
* Some Additions and Revisions in my charge

Some additions and revisions in my charge, and fix some English misses.

* Something forgotten (?)
2024-10-15 19:16:40 +09:00
Julian Holfeld
59aea071d4
Translate japanese variables and code (#697)
* feat: translate animation files

* feat: translate プロパティ properties

* feat: translate クラス class

* feat: CConfigIni.cs first translations

* feat: mostly renames of コンストラクタ -> Constructor

* refactor: remove dead code and redundant overrides CActSortSongs

* feat: translate enums

* feat: capitalize enums

* refactor: rename C定数.cs to CConstants.cs

* fix: refactor of Caps Enums

* refactor: standardize enum PascalCase

* refactor: nMsWaitPreviewSoundFromSongSelected

* refactor: nMinDisplayedCombo

* refactor: bNoAudioIfNot1xSpeed

* refactor(doc): linear movement specifier

* refactor: validity -> enabled

* refactor(doc): remove difficulty doc

* refactor: EGameplayScreenReturnValue

* refactor: BM- and HBScroll

* refactor: Text and Image in EDifficultyDisplayType

* refactor: ERollState

* refactor: survival and survival hard

* refactor: prefix Ms

* refactor: Log names

* revert: remove sorting options comments

* refactor: remove DTXMania sorting options
2024-10-15 18:15:49 +09:00
DragonRatTiger / リュウコ
f532144205
Minor adjustments (#700)
* Correctly scale mini display for videos on >720p skins

* Stop drawing tower floor count on song select for now

* nvm i fixed it

* allow diff number to be positioned for tower/dan

* adjust OWM assets

* Correctly scale screenshots to intended size

* Do not rescale window when skin changes

* actually nevermind this looks better in white

* new skin ver 😃

* wait hang on i'm dumb
2024-10-15 17:52:27 +09:00
Julian Holfeld
6df8bad11e
refactor: remove dead code (#693) 2024-10-04 20:51:01 +09:00
Julian Holfeld
dbfe13f82e
feat: translate tripple helix de & nl (#695) 2024-10-04 20:41:30 +09:00
0auBSQ
f513701b2d Create CHANGELOG.md 2024-10-04 20:39:46 +09:00
DragonRatTiger / リュウコ
61f6f8b462
Minor adjustments (#694)
* fix trapped passion lyrics

* Initialize Saves.db3 if it doesn't exist

* how do i keep making this mistake everytime.
2024-10-03 12:34:12 +09:00
0auBSQ
14fd1f3da2 so long encyclopedia menu 2024-10-02 23:11:56 +09:00
0auBSQ
3b6366c55a Merge branch 'main' of https://github.com/0auBSQ/OpenTaiko 2024-10-02 00:56:15 +09:00
0auBSQ
cd316d2ca1 Support color tags on vertical texts (gradiant works only with horizontal text) 2024-10-02 00:56:12 +09:00
Expédic Habbet
35c8e5981c
More Heya Texts in Chinese and Russian (#691)
Provide more Heya texts in Chinese and Russian.
Here I introduce some about Russian word stem + dot, or abbreviations. Even if this is my temporary measure to counter against the gender and case cooperations in Russian, as well as other European languages that share this characterstic, some expressions like this are very common, for example:
Time, с(секунда, s), мин(минута, min), ч(час, h),
And Вкл.(Включаться, On), Выкл.(Выключаться, Off) that already used.
There are length and mass units used this technique as well, as their people famous on Physics.
Doesn’t the first verb of Spliting Lanes use singular third person (or after he/she or il/elle in French) conjuation of "Splits"?
Do not forget Japanese and French text! As they haven’t been completed yet.
2024-10-01 21:47:03 +09:00
Julian Holfeld
c1f443dfa0
feat: translate nl score.ini keys (#692) 2024-10-01 21:46:47 +09:00
0auBSQ
d774c3ac4d oopsie 2024-10-01 19:43:05 +09:00
DragonRatTiger / リュウコ
f63e0603f6
Finish Nameplate/Dan selection for Quick Heya; Add more lang keys for Puchichara effects; Adjust rarity colors (#690)
* Adjust rarity colors

* Finish nameplate/dan selector in Quick Heya

* Add more lang keys for Puchichara effects
2024-10-01 13:12:02 +09:00
Expédic Habbet
6f124714ac
AI Section Native Texts (#689)
Provide AI Section Native Texts.
2024-10-01 13:11:17 +09:00
DragonRatTiger / リュウコ
0107954eff
oops, that wasn't supposed to be brought back (#688)
* oops, that wasn't supposed to be brought back

* believe it or not, no
2024-10-01 13:10:49 +09:00
TFD500
e8dd821f10
Reject TJAP3, embrace OpenTaiko. (#653)
* dtxmania / tjap3 removal (part 2)

Fixed some stuff with BSQ's supervision. Only doing log translation for now.

* ok hold on i updated it

* Reject TJAP3, embrace OpenTaiko.

Keeping it slow with this one. I've got a ton of translation stuff that I need to do and then that's it. I cannot help any further due to my poor coding skillz 😭
- Replaced TJAPlayer3-f references in some error messages with OpenTaiko in Program.cs, along with some slight log modifications.
- Replaced Input Calibration chart metadata with OpenTaiko Developers instead of TJAPlayer3 Developers in CStage曲読み込み.cs.
- Fixed a tiny bug that I had while changing TJAPlayer3.cs. Oops.

BONUS CHANGE:
- If you check CActSelect曲リスト.cs, I have changed it to say "loading" instead of enumerating. It's more clear for the user and it saves a bit of coding space.

* Delete Readme.txt

i forgot to remove it, this is an extension of this specific PR: 72c8f71dda (Reject TJAP3, embrace OpenTaiko)
2024-09-30 20:02:23 +09:00
Expédic Habbet
84f8d8ab2b
Enabling German Font in OpenWorld-Memories (#687)
Enabling German Font in OpenWorld-Memories.
2024-09-30 20:00:15 +09:00
Julian Holfeld
53659aec2e
Add german translation file (#684)
* feat: german translation file

* fix(de-translation): "schlecht" -> "übel"
2024-09-30 18:48:40 +09:00
Expédic Habbet
db0838e21d
Texts of Import Score.ini Files (#682)
* Texts of Import Score.ini Files

Chinese and Russian texts of Import Score.ini Files. Here I want to tell something about Russian countings:
Russian countings do not work the same like English, French and Spanish - the countings are only determined by the last digits:
Ends in 1 do not change the case in sentence;
Ends from 2 to 4 use Genitive (or 2nd) case singular(-а/я, -ы/и);
Ends in 0, 5 to 9, or 11 to 19 use Genitive plural(-ей/ев/ёв/ов, or any consonant or a soft sign).
There is only one counting here that defaultly uses the Genitive case, so we may safely use this case and its plural without using the dumb method of word stem + dot.

By the way, the Russian text revisions, include:
Russian uses a dash symbol (–) to show conjugation of verb to be in English (or verb être in French).
Messes of using the word персонаж (character).
Other revisions are inconvenient to describe.

I will continue to do my best on Chinese and Russian text, as previously said, and I will support the completion of Japanese, French, Spanish, Dutch and Korean text.

* Review on Chinese word "transfer" and "Clear"
2024-09-30 18:48:08 +09:00
DragonRatTiger / リュウコ
fcbdac3b44
Fix Puchichara list crashing on Quick Heya (#686) 2024-09-30 18:47:42 +09:00
Julian Holfeld
60b3349444
feat: .idea and comments in gitignore (#685) 2024-09-30 18:47:22 +09:00
DragonRatTiger / リュウコ
be18ecd036
Add visuals while importing Score.ini files (#680) 2024-09-28 16:56:00 +09:00
Ashiro12138
35664808bf
Feature/import score ini (#674)
* Add button in setting to import scores

* Change description and add to all lang.json files

* Revert name change

* Run dotnet format

---------

Co-authored-by: 0auBSQ <58159635+0auBSQ@users.noreply.github.com>
2024-09-27 18:26:48 +09:00
Wei-Cheng Yeh (IID)
0ff4869cb9
fix: remove DTX parsing to prevent freezing due to DTX commands in TJA (#678)
Currently, the engine support DTX commands within TJA file,
where chart objects can be placed using DTX commands.

However, TJA charts with DTX commands will only be shown in the song list
when there are any TJA chart definition in the TJA,
which seems to cause weird behaviors when DTX chart definition is also present.

To prevent this issue, the core DTX parsing functionality is now removed.

* CDTX.CDTX():
    * param nReadVersion -> nReadVersionUnused as its all usages are 0
* CDTX.t入力() [tInput]:
    * remove unused overloads
    * param nReadVersion -> nReadVersionUnused
    * simplify codes by assuming nReadVersionUnused to be 0
    * remove now-irrelevant comments
* CDTX.t入力_全入力文字列から() [tInput_FromFullInputText]:
    * param str1 -> str1Unused
    * simplify codes by assuming str1 to be str全入力文字列 [strFullInputText]
    * remove pre-processing steps of str全入力文字列 which have never been applied to TJA parsing
    * remove codes for handling DTX commands
* remove now-unused DTX-parsing methods
    * CDTX.t入力_コマンド文字列を抜き出す() [tInput_ExtractCommandText]
    * CDTX.t入力_コメントをスキップする() [tInput_SkipComment]
    * CDTX.t入力_コメント文字列を抜き出す() [tInput_ExtractCommentText]
    * CDTX.t入力_パラメータ食い込みチェック() [tInput_CheckAndTrimParameter]
    * CDTX.t入力_パラメータ文字列を抜き出す() [tInput_ExtractParameterText]
    * CDTX.t入力_空白と改行をスキップする() [tInput_SkipSpacesAndNewlines]
    * CDTX.t入力_空白をスキップする() [tInput_SkipSpaces]
    * CDTX.t入力_行解析() [tInput_ParseLine]
    * CDTX.t入力_行解析_BPM_BPMzz() [tInput_ParseLine_BPM_BPMzz]
    * CDTX.t入力_行解析_SIZE() [tInput_ParseLine_SIZE]
    * CDTX.t入力_行解析_WAVPAN_PAN() [tInput_ParseLine_WAVPAN_PAN]
    * CDTX.t入力_行解析_チップ配置() [tInput_ParseLine_PlaceChips]
    * CDTX.TryParse() (parse float, with either `.` or `,` as the decimal point)
2024-09-25 12:37:10 +09:00
DragonRatTiger / リュウコ
558f57aff2
Add Dutch as a supported language (#679)
* Dutch is now real

* Restore missing brackets
2024-09-25 12:34:44 +09:00