Kurt
aa968f56aa
File scoped namespace for drawing projects
...
Extract color util to separate class as it's not entirely image related.
2021-12-10 00:15:04 -08:00
Kurt
f1fe2f6a8c
Minor clean
2021-12-09 19:30:12 -08:00
Kurt
cacd6e9965
More records/sealing
2021-12-05 23:54:59 -08:00
Kurt
c7de0154e3
Handle net6 warnings for nullability
2021-12-04 22:29:51 -08:00
Kurt
ba92024e54
Bump the net5 build to net6
2021-12-04 22:29:32 -08:00
Kurt
f55c5bea66
Minor clean
...
no functional change
2021-12-04 17:56:56 -08:00
Kurt
9a1b2719ec
Add simple legal item filtering for giveall
...
Closes #3318
Gen8: if held item, only give if can be legally held; if dmax crystal, only give if available.
Gen8b: if held item, only give if can be legally held
Others: unimplemented; pull requests accepted.
2021-12-04 12:24:32 -08:00
Kurt
e9eebc984b
Fix case sensitive resource names
...
Closes #3321
2021-12-04 11:03:33 -08:00
Kurt
e50bb8f288
Abstract-ify pouch items; acknowledge sort order
...
Closes #3320
Should better handle bdsp inventory format; shows sort order with the now-zero slots
2021-12-02 23:31:48 -08:00
Kurt
e48c81f685
Update met date & location when toggling IsEgg via GUI
2021-12-02 16:35:35 -08:00
XxPhoenix1996xX
1481831ec6
Update (ES) localization ( #3317 )
...
* Create flag_bdsp_es.txt
* Update flag_bdsp_es.txt
* Update lang_es.txt
* Update flags_c_es.txt
2021-11-30 13:19:06 -08:00
matty
f94c431712
Add PKHeX icon to generic/simple/whatever editor ( #3316 )
...
Replaces the generic winforms icon with PKHeX's icon.
2021-11-28 08:19:33 -08:00
Kurt
bc809af06c
Split PKHeX.Drawing into subprojects
...
Allows trimmed dll usage by keeping pkm sprites in one project, and all other cosmetic UI stuff in another project
2021-11-27 15:48:08 -08:00
Kurt
b5b57ffa90
Update PluginLoader.cs
2021-11-27 13:54:38 -08:00
Kurt
cc34d40120
Update 21.11.27
2021-11-27 10:50:42 -08:00
Kurt
335baf68e6
Reorder poffin names from raw -> indexed
...
StreamingAssets\AssetAssistant\FureaiHiroba\fureai\masterdata\PoffinResult.json indicates which text line is used for a given MstID
Change Taste to Smooth to match community's naming
2021-11-27 10:20:22 -08:00
Kurt
be3af9fba9
Add bdsp poffin editor
...
The RAM is pretty dirty for unallocated poffins; slots that have never been filled will have junk with whatever the unallocated pointer was looking at.
An empty poffin slot is just marked as FF, ignores the stats for that slot. Not sure on the naming, but Matt had a single Level 60 poffin -> must be Mild? Thus, all the names are -1 from the textfile array...
2021-11-27 02:06:35 -08:00
sora10pls
8bce248d95
Crop BDSP Box Wallpapers, re-tile Grass, and fix off-by-one
2021-11-26 22:11:54 -05:00
Kurt
2bc9ff9073
Fix clamping of BDSP work value NumericUpDowns
...
https://projectpokemon.org/home/forums/topic/59826-work-constants-can-be-out-of-range-of-the-gui-fields-bdsp/
ty BlackShark !
2021-11-26 09:20:22 -08:00
Kurt
b7c9993bac
Add Misc editor form for bdsp
...
Three clickables so people can stop getting confused about event-bound encounters like Darkrai/Shaymin/Spiritomb
2021-11-25 22:48:09 -08:00
Kurt
02dc4dc8a7
Automatically update v1.1 expanded records on TID/SID change
...
Closes #3305
I think it was actually crashing due to the bad GameClear date record, not this extra record data, but we'll still update the head record
Fix note of ENC_SV_DATA start offset now that we know the real size of Record8b
Add actual maximums for all record entries
2021-11-25 20:05:39 -08:00
Kurt
ae2c5080a5
Set nicknamed flag in GUI depending on encounter
...
#3311
2021-11-25 12:40:42 -08:00
Kurt
039095d75c
Revise zero hw checks
...
fishy by default, opt in
ignore certain encounters
2021-11-24 23:03:30 -08:00
Kurt
cce0111a9d
Add scalar randomizer shortcut
...
Okay I'll be nice, fudge your values this way.
2021-11-24 19:32:12 -08:00
Kurt
203b764829
Add zero height/weight flagging setting
...
because people couldn't hacc responsibly, I might as well give them a nudge in the right direction.
Doesn't mean I won't check your "random" choices distribution.
2021-11-24 19:29:02 -08:00
Kurt
d79864b049
Add seal list editor
...
Inject all the stickers you want.
2021-11-24 17:51:12 -08:00
Kurt
5374ca1db6
Simplify egg location set on version change
2021-11-24 14:14:11 -08:00
Kurt
29579d7b22
Autosize dropdown width for met locations
...
BDSP locations are pretty long.
2021-11-24 13:14:02 -08:00
Kurt
c8ae0fb275
Fix custom system flag set
2021-11-23 00:44:59 -08:00
Kurt
4b40414b8b
Add BattleTower work reader, move BP get/set into it
2021-11-22 19:30:28 -08:00
Kurt
57cf384f44
Condense friendship shortcut's expression
...
decouples it from the GUI by doing things step by step
2021-11-22 19:03:42 -08:00
Synthlight
b32ad02c10
Add/Enable BDSP Battle Tower Points (BP). ( #3309 )
2021-11-22 18:56:31 -08:00
Kurt
e6cd906177
Allow saving of affixedribbon from gui
...
do it in batch editor `.AffixedRibbon=-1` anyways
2021-11-22 16:14:10 -08:00
Kurt
37e2804aed
Update 21.11.21
...
Things are stable enough, and I'm not passing up that palindrome date version ;)
still 11/21 where it matters!
2021-11-21 23:08:11 -08:00
Kurt
cd5c220ddc
Show correct HatchCounter value for BDSP traded eggs
...
Yay abstractions to hide away the quirks.
BDSP traded eggs set HT_Friendship and the CurrentHandler flag, but the HatchCounter is always the OT_Friendship value.
Trades always receive BaseFriendship, instead of a hardcoded 50. Necessary to not hardcode because it's immutable for eggs.
Clicking the hatch counter label now sets it to the legal minimum hatch counter (best), and control clicking sets it to the max (worst). Check the encounter template for the true maximum.
2021-11-21 19:53:13 -08:00
Kurt
829641d874
Set none location when eggifying
2021-11-21 18:47:57 -08:00
Kurt
2cb3b61e48
Fix egg toggling in GUI, egg location auto-select
2021-11-21 18:36:02 -08:00
Kurt
32edb660ce
BDSP: Add underground item-inventory editor
2021-11-21 11:33:04 -08:00
Kurt
5e867a1830
BDSP: Show adventurestart/latest save time in trainer editor
2021-11-21 09:14:13 -08:00
Kurt
6980026ca2
Add BDSP trainer stat records
...
Continue crawling down the serialized savedata structure :)
2021-11-20 15:40:18 -08:00
Kurt
1d3d317665
Add initial Trainer Info editor for BDSP
...
Closes #3297
2021-11-20 10:34:20 -08:00
Kurt
b26f4db6ab
Enforce AffixedRibbon -1
...
All your hacks are still hacks
Re-expose affixed ribbon in the ribbon editor for PB8
Since there's no way to change it in BDSP, flag anything non-neg1
2021-11-20 09:04:09 -08:00
Kurt
93aaad6cd4
Revert net6 to net5
...
would rather have pipeline builds for those keen right now
2021-11-19 23:19:41 -08:00
Kurt
c67565288c
Update translatable resources
...
actually committing to master
2021-11-19 18:51:33 -08:00
Kurt
723514e89c
Update 21.11.19 - Brilliant Diamond & Shining Pearl ( #3289 )
...
Big thanks to @SciresM @sora10pls @Lusamine @architdate @ReignOfComputer for testing and contributing code / test cases. Can't add co-authors from the PR menu :(
Builds will fail because azure pipelines not yet updated with net6.
2021-11-19 18:23:49 -08:00
Kurt
b77a197b74
Add optional EXP stripe toggle for sprite draw
...
helps visual identification of suspect EXP values
2021-11-07 14:48:59 -08:00
Kurt
3f44acf813
Don't show blank popup when saying No on group import
...
ty anubis
2021-10-31 12:20:19 -07:00
TcavemanT
135610124a
Added a tooltip to the legal PictureBox to better help new users. ( #3280 )
2021-10-30 22:04:44 -07:00
Kurt
77d1a990cd
Add setting to auto-max IVs when changing HP type
...
https://projectpokemon.org/home/forums/topic/59634-hidden-power-improvement-feature-request/?do=findComment&comment=270001
Default is true.
2021-10-30 12:38:00 -07:00
Kurt
32bd948f26
Fix battle frontier gold symbol set
...
Closes #3279
2021-10-29 20:11:30 -07:00
Kurt
533526465e
Omit exclusions if empty
2021-10-25 20:03:16 -07:00
Kurt
4089a42fe0
Wait for csv export before disposing of form
...
https://projectpokemon.org/home/forums/topic/59622-error-generation-csv-of-box-data-report/
ty GLBBx303
2021-10-25 20:00:47 -07:00
Kurt
640cb3bad1
Update OT and language state when egging pk3
...
https://projectpokemon.org/home/forums/topic/59250-pkhex-210806/?do=findComment&comment=269850
2021-10-23 15:45:32 -07:00
FeralFalcon
3afd51e587
Adding a plethora of event flag data ( #3273 )
...
* Add metadata flagging for values
Allows users to set a minimum importance for the list displayed.
Could probably make this checkboxes within the flags UI.
* Add setting to filter out gen8 block names
Allows users to filter out unwanted low-value property names.
Co-authored-by: Kurt <kaphotics@gmail.com>
2021-10-23 11:25:14 -07:00
Kurt
009e37662f
Startup Enhancements, Gen1/2 Save Indication, Export SAV cleaned up ( #3275 )
...
* Providing pkm/sav files via command line (dragging files onto exe / associated file launched) will more intelligently source a partner sav/pkm object if not provided.
* Gen1/2 mainline save files now indicate if they are VC era or GB era (legality implications) in the program title bar.
* Fixes loading VC era save backups not being recognized as VC era (`.bak` extension hides `.dat`)
* Export BAK moved to the SAV tab, which allows Export main to be deleted and Export SAV to be used as the single-click for exporting saves. `CTRL-E` is still the hotkey.
2021-10-21 22:13:21 -07:00
Kurt
993a2d684c
Update nature amps on PID text changed
...
Closes #3272
2021-10-15 18:27:16 -07:00
berichan
cc2f195359
Add load plugin method setting ( #3263 )
...
* Add load plugin method setting
* Remove static settings dependency, change compiler-time functions to enum-switch
2021-10-06 14:48:17 -07:00
Kurt
6deef4e76d
Update version tag for winforms exe
...
Oops, update check fixed.
2021-09-30 23:42:28 -07:00
Kurt
93f2639de2
Update 21.10.01
...
Update events & go binaries with latest.
2021-09-30 23:04:02 -07:00
Kurt
4e6a38189b
Force validation differently for met location list changes
...
Startup, load gen5 save file.
Immediately load a pk3; met location is converted to Poketransfer
When data is prepared, the validation fails and the selectedvalue is reset to 0
Future selectedvalue sets will work
Just force validation when we change the list, so that future value sets work.
Weird winforms quirk
https://stackoverflow.com/questions/14624129/setting-combobox-droppeddown-false-resets-selected-item
2021-09-17 19:20:24 -07:00
Kurt
d2d71494e3
Update debug logging for plugin fails
2021-09-16 17:04:34 -07:00
Kurt
02af45cb30
Add LGPE to block editor
...
thanks for nobody noticing this yet :)
2021-09-16 14:06:52 -07:00
Kurt
b9d4721553
Hide some controls if WR7 (LGPE)
...
User experience.
Co-Authored-By: FeralFalcon <33670476+FeralFalcon@users.noreply.github.com>
2021-09-16 13:45:41 -07:00
Kurt
c353ec1584
Fix double processing on batch modify file path
...
Only process a single time, and only save if processing worked.
2021-09-15 17:35:41 -07:00
Kurt
80d1712b72
Mark stuff with enums, remove unused arrays
...
Fix shuffled comments for FormInfo
Remove unnecessary Reset on ctor, all fields are already the default
2021-09-07 20:57:19 -07:00
Kurt
a7ed5b400f
Add Trainer Class / Title property for LGPE
2021-09-04 22:04:49 -07:00
Kurt
2f3e496e6f
Change defunct gen8 location memory setting to check 1%
...
Refer to previous commit, the apply-memory has a 1% chance of failing for 100% memories, resulting in the ability to have 0-memory HT via link trades.
In-game trades caused the previous logic, as those forget to set the HT memory (likely the same logic flaw as skipping the nickname check via game settings).
2021-08-29 13:09:26 -07:00
Kurt
87a268fa7f
Clean up memory generation parameter fetching
2021-08-25 19:45:47 -07:00
Kurt
0e2dac3ff6
Minor tweaks
...
Empty return for invalid species encountertemplate fetch
Expose property for ck3 @ 0xD7
show legal memory context items rather than gen8 always
2021-08-25 19:23:15 -07:00
Kurt
d932be5f75
Default the box slot encounter indicator to off
...
Don't wanna scare the plebs; it's opt in.
2021-08-24 20:04:14 -07:00
Kurt
de2d3a43be
Add toggleable setting for encounter background types
...
Fine archit and matt, have it whichever way you want :)
2021-08-24 19:52:06 -07:00
Kurt
e3fecdf1d5
Update translatable GUI text
2021-08-24 14:24:43 -07:00
Kurt
a121f4d617
Add optional box slot coloring, add settings
2021-08-24 14:21:35 -07:00
Kurt
302b5d1d90
Update WinFormsUtil.cs
2021-08-24 13:22:29 -07:00
Kurt
9f1a8d1da1
Split memory text string resources
...
Much easier to maintain and reference now
2021-08-23 23:06:51 -07:00
Kurt
28e7473f1a
Condense some expressions
2021-08-22 01:26:28 -07:00
Kurt
5b42dc8ae4
Minor clean
2021-08-22 00:05:41 -07:00
Kurt
8f0fb902d1
ArgumentException -> ArgumentOutOfRangeException
2021-08-21 16:51:50 -07:00
Kurt
bedc52943e
Trailing commas
...
No functional change
2021-08-20 13:49:20 -07:00
Kurt
c6342a163f
Minor clean
...
variable swaps, simplifications
2021-08-20 13:42:25 -07:00
liketolike
8b4730a2ee
Update zh translation ( #3241 )
...
Adds Gen2 zh const/flag name files
Adds Gen7 zh lgpe flag names
Updates GUI translation
Updates gen3,4 const/flag files
2021-08-19 20:19:49 -07:00
Kurt
d4ce28ed12
Fix exception when opening trashbytes
2021-08-15 19:32:22 -07:00
DOTTEL Gaël
ff309fc9c5
fix french translation for form ( #3243 )
2021-08-15 07:43:28 -07:00
Kurt
2f9b175cd2
Show gmax for encounters in encdb
2021-08-14 17:16:53 -07:00
Kurt
44589e6fbb
Minor tweaks
...
use switch expr for auto-backup load
trycatch plugin activator (just in case)
extract dialog prompt for easier reading
remove dead method
2021-08-13 15:37:21 -07:00
Kurt
9793e9f1a0
Minor clean
...
Slap on interface for EntreeSlot
De-magic some 💯 numbers to indicate what they're doing
Improve perf of move-match-relearn check
Add an "else" as valid is never both values (history verifier)
2021-08-13 15:36:30 -07:00
Kurt
4719ee7816
Trigger combobox event for event work values if value is 0
...
Closes #3240
Initial value is zero, so the "changed" event doesn't trigger, leaving the first combo item selected.
Co-Authored-By: CanoeHope <43196464+CanoeHope@users.noreply.github.com>
2021-08-08 12:08:14 -07:00
Kurt
76df80719a
Fix inverted check
...
Closes #3239
Thanks @SunakazeKun !
2021-08-08 10:21:39 -07:00
sora10pls
803fe84f04
Add form strings for Eiscue, Morpeko, and Zacian/Zamazenta
...
Ice Face, Full Belly Mode, and Hero of Many Battles (strings trimmed where appropriate)
2021-08-07 13:22:14 -04:00
Kurt
c77543584e
Widen pkm form dropdowns
...
Removes the hax form ID specifying; just use batch commands to mod the slot for out of bounds values.
2021-08-06 22:04:11 -07:00
Kurt
d2d10b445b
Update translatable strings
2021-08-06 10:11:55 -07:00
Kurt
a939a2dbd6
Add pkmdb sorting rules for loaded database set
2021-08-06 10:09:16 -07:00
Kurt
0094492bd2
Update 21.08.06
...
Update mgdb with latest
2021-08-06 00:34:31 -07:00
Kurt
0f3e5095c5
Replace more linq usage
2021-08-05 22:39:38 -07:00
Kurt
5c472a400d
Expand shorthand parameters
...
int i => int index, or whatever the value is representing.
2021-08-05 20:33:25 -07:00
Kurt
9f910120f9
Use filtered sources if available
2021-08-05 19:12:47 -07:00
Kurt
6fe918c7e2
Use filtered sources
2021-08-05 18:59:21 -07:00
Kurt
c2f6b08418
Use explicit generation for sprite fetches
2021-08-05 18:55:05 -07:00
Kurt
8d7f56a7db
Remove box bar, inline sprite height calc
...
Skip empty slots since the input data no longer guarantees no empty slots
2021-08-05 18:54:47 -07:00
Kurt
1ea4683fbe
Resize gen6 HoF editor sprite preview to large size
2021-08-05 18:23:39 -07:00