Jesse Plamondon-Willard
06c4273c1e
bump minimum game version to released 1.2.26
2017-04-29 23:59:25 -04:00
Jesse Plamondon-Willard
ddd9c0a804
let mods specify .xnb file extension explicitly ( #257 )
2017-04-29 23:38:45 -04:00
Jesse Plamondon-Willard
3cfe14d279
add contentHelper.GetActualAssetKey(..) to support custom map tilesheets ( #257 )
2017-04-29 22:44:57 -04:00
Jesse Plamondon-Willard
f52edf9e0b
fix mod events triggering during game save in Stardew Valley 1.2
2017-04-29 21:46:01 -04:00
Jesse Plamondon-Willard
ff5d1ef4e4
add internal context for more robust draw loop detection ( #257 )
2017-04-29 21:45:37 -04:00
Jesse Plamondon-Willard
014014ca0f
premultiply alpha when loading PNGs to avoid transparency issues ( #257 )
2017-04-29 19:51:47 -04:00
Jesse Plamondon-Willard
9b615fadaa
add initial content API ( #257 )
2017-04-29 14:13:55 -04:00
Jesse Plamondon-Willard
6b9372237c
fix errors in the game's update causing the game to freeze until the player presses a key in the SMAPI console
2017-04-29 12:23:38 -04:00
Jesse Plamondon-Willard
9fecaa7989
make mod helpers disposable ( #257 )
2017-04-29 01:30:30 -04:00
Jesse Plamondon-Willard
ee5351c38e
detect broken ObjectInformation.xnb data
2017-04-28 00:58:54 -04:00
Jesse Plamondon-Willard
40f174b22d
simplify exception summary code
2017-04-27 15:46:19 -04:00
Jesse Plamondon-Willard
0cf15d36d9
revamp 'exit immediately' to abort ongoing SMAPI tasks
2017-04-26 18:25:59 -04:00
Jesse Plamondon-Willard
971bfd32d2
detect exceptions logged directly to the console and log them as errors
2017-04-26 16:22:41 -04:00
Jesse Plamondon-Willard
afc8ae69fe
No longer suppress console output from the log file
...
Console messages appear in the console (in developer mode only), but weren't saved to the log file based on the argument that they weren't relevant. However, that also suppresses the game's load-game errors in Stardew Valley 1.2, which makes troubleshooting save issues more complicated. To avoid any such issues in the future, they're now always logged to the file. If you need to log a message that isn't shown to the user, use System.Diagnostics.Debug instead.
2017-04-26 16:21:03 -04:00
Jesse Plamondon-Willard
4ef957c191
optimise console interception for the way Stardew Valley logs messages
2017-04-26 16:04:20 -04:00
Jesse Plamondon-Willard
e7606884ad
handle edge case in JSON file read/write code
2017-04-26 14:40:55 -04:00
Jesse Plamondon-Willard
89221b8b2d
add editorconfig, minor style fixes
2017-04-26 14:38:47 -04:00
Jesse Plamondon-Willard
22806ab900
Merge branch 'develop' into stable
2017-04-24 13:30:49 -04:00
Jesse Plamondon-Willard
fee89a99da
remove new manifest field for minimum game version ( #264 )
...
This was added to support parallel releases for SDV 1.11 + 1.2-beta, but SDV 1.2 is now out of beta. Mods should specify the minimum SMAPI version instead if needed.
2017-04-24 12:39:06 -04:00
Jesse Plamondon-Willard
4e7733ba2d
update for SDV 1.2 non-beta release
2017-04-24 12:36:20 -04:00
Jesse Plamondon-Willard
1de8895642
fixed `Constants.SaveFolderName` not set for a new game until the save is created ( #261 )
2017-04-23 23:58:08 -04:00
Jesse Plamondon-Willard
e3219bd969
dispose resources on Windows Form exit ( #268 )
2017-04-23 23:10:52 -04:00
Jesse Plamondon-Willard
a9c220c0fe
minor cleanup
2017-04-23 23:00:51 -04:00
Jesse Plamondon-Willard
8ec607ba3c
ensure SMAPI resources are disposed on exit ( #268 )
2017-04-23 23:00:13 -04:00
Jesse Plamondon-Willard
07197fac9d
add support for non-melee weapons to TrainerMod ( #259 )
2017-04-23 22:46:14 -04:00
Jesse Plamondon-Willard
c1926f263c
add world_setyear command to TrainerMod
2017-04-23 22:13:49 -04:00
Jesse Plamondon-Willard
085ae07251
add string overloads for version methods ( #263 )
2017-04-23 22:04:56 -04:00
Jesse Plamondon-Willard
5ff3184c30
add version.IsBetween method ( #263 )
2017-04-23 21:59:54 -04:00
Jesse Plamondon-Willard
01917e70a2
fix rare issue where installer crashes trying to delete a bundled mod from %appdata% ( #266 )
2017-04-23 21:55:01 -04:00
Jesse Plamondon-Willard
86ef70feec
revamp startup process ( #265 )
...
This revamps SMAPI's startup process to simplify mod development by ensuring that core components are ready by the time mods are loaded (which is also needed for the upcoming content API), and eliminate or reduce SEHExceptions some players experience.
2017-04-23 21:51:49 -04:00
Jesse Plamondon-Willard
5f595d8a46
let mods specify a minimum game version in their manifest.json ( #264 )
2017-04-23 20:34:47 -04:00
Jesse Plamondon-Willard
6f43a3dae5
unify SMAPI versions for SDV 1.11 and 1.2 using compile switches where needed ( #264 )
2017-04-23 20:27:55 -04:00
Jesse Plamondon-Willard
ceabb05a84
Merge branch for Stardew Valley 1.2 beta into develop
...
# Conflicts:
# src/StardewModdingAPI/Framework/SGame.cs
2017-04-23 19:56:07 -04:00
Jesse Plamondon-Willard
a35fe47447
fix monitor.ExitGameImmediately not working correctly
2017-04-23 19:21:48 -04:00
Jesse Plamondon-Willard
489cacca5e
minor cleanup
2017-04-23 19:12:48 -04:00
Jesse Plamondon-Willard
bcaf5b21c1
remove Initialize/LoadContent overrides & deprecate related events ( #265 )
2017-04-23 18:57:43 -04:00
Jesse Plamondon-Willard
7f8d738e86
tweak installer to suggest common fix for file permission issues
2017-04-23 00:03:12 -04:00
Jesse Plamondon-Willard
8b6509731b
fix typo in readme
2017-04-22 23:59:42 -04:00
Jesse Plamondon-Willard
4f87a2b478
fix mouse-changed event never updating prior mouse position
2017-04-22 23:59:38 -04:00
Jesse Plamondon-Willard
780c3335e8
rewrite references to Game1.currentMinigame broken by SDV 1.2
2017-04-05 15:00:14 -04:00
Jesse Plamondon-Willard
37d5390ed0
unbackport for SDV 1.2 branch ( #258 )
2017-04-05 15:00:14 -04:00
Jesse Plamondon-Willard
dbb9bd8430
Merge branch 'develop-1.9' into stable
2017-04-05 14:55:46 -04:00
Jesse Plamondon-Willard
4675da0600
add --log-path argument to specify SMAPI log path during testing
2017-04-01 16:08:31 -04:00
Jesse Plamondon-Willard
c023118356
always show friendly game version
2017-03-30 20:21:15 -04:00
Jesse Plamondon-Willard
b4b4689f00
remove old error logs when installing a new version to avoid confusion
2017-03-30 19:48:01 -04:00
Jesse Plamondon-Willard
7175e9f8ee
add upper version check ( #258 )
2017-03-30 19:43:10 -04:00
Jesse Plamondon-Willard
df1e748629
backport SMAPI 1.9 to Stardew Valley 1.11 ( #258 )
2017-03-30 18:59:01 -04:00
Jesse Plamondon-Willard
04cae4ef46
fix SMAPI not recognising Mod instances that don't subclass Mod directly ( #252 )
2017-03-26 20:15:48 -04:00
Jesse Plamondon-Willard
3530f6f67c
rewrite ItemStackChange references to correct namespace ( #254 )
2017-03-26 20:09:46 -04:00
Jesse Plamondon-Willard
5c253b7bae
add type reference rewriter ( #254 )
2017-03-26 20:08:26 -04:00