赞助广告

 

年份

最新评论

评论 RSS

PNG转XNB开源工具

clock 三月 27, 2017 21:51 by author alex
可以方便的游戏资源文件转换成monogame的XNB文件,不需要安装WP7sdk https://github.com/sullerandras/png_to_xnb 这个工具还可以对XNB文件进行压缩 不过要找到xcompress32.dll https://github.com/cpich3g/rpftool/tree/master/RPFTool/bin/Release

Windows Phone 8.0 xap安装目录以及IsolatedStorage的物理路径

clock 十二月 3, 2016 13:52 by author alex
安装目录:此电脑\RM-xxxx\Phone\Data\programs\{guid}\Install IsolatedStorage:此电脑\RM-xxxx\Phone\Data\Users\DefApps\APPDATA\{guid}\Local

microsoft advertising 6.2.40501.0下载

clock 十一月 19, 2016 03:20 by author alex
WP8.0 Silverlight microsoft advertising最后一个支持的广告dll http://download.microsoft.com/download/8/1/3/813172B6-F96F-4000-96BA-F4539B4E2308/WP8SLAdSDK-ENU.msi

打开windows phone 8 部署工具报0x89721800错误解决办法

clock 十一月 6, 2016 20:30 by author alex
打开运行输入%LOCALAPPDATA%\Microsoft\Phone Tools\CoreCon 回车 删除10.0文件夹 问题解决

最实用的Windows Phone(windows 10 mobile) 注册表修改大全

clock 八月 26, 2016 17:12 by author alex
打开禁止锁屏功能 【windows phone 8】HKLM\Software\Microsoft\Settings\Lock  DisableNever  0   默认是1      下面有空在翻译: 原文地址:http://winphonehub.org/tips-on-windows-phone-8-8-1-10-registry-hacks/   ALL VALUES BELOW ARE DEFAULT VALUES !!!! You can change them to your needs. :P all in HKEY_LOCAL_MACHINE SOFTWAREOEMVolumeLimit EnableVolumeLimit 1 VolumeLimit 19 SOFTWAREMicrosoftFMRadioOEM NotPresent 1 SOFTWAREMicrosoftSettingsLock DisableNever 1 SOFTWAREMicrosoftSettingsVolume Key 2 Screen 2 Mute 7 Volume 3328624230 MaxSystemUIVolume 30 MaxInCallUIVolume 10 MaxdBAtten 45 MinInCallVolume 4369 SOFTWAREMicrosoftSecurityManager DeveloperUnlockState 1 ADD MORE THAN 10 UNSIGNED APPS (Default  65539) 1 2 [HKEY_LOCAL_MACHINESoftwareMicrosoftDeviceRegInstall] “MaxUnsignedApp”=dword:265539 ; Allow max number of unsignd apps Enable Wifi 11n 1 2 [HKEY_LOCAL_MACHINECommBCMSDDHD1Parms] “11nModeDisable”=dword:0 Caller ID issue fix 1 2 [HKEY_CURRENT_USERControlPanelPhone] “CallIDMatch”=dword:7 Live ID Activation Code (Usefull on HD2 to bypass boring serial number step) 1 2 [HKEY_LOCAL_MACHINESoftwareMicrosoftGwpCPC] “ActivationCode”=”R****-H****-I****-*7***-**8**” Developer Unlock State 1 2 [HKEY_LOCAL_MACHINECommSecurityLVMod] “DeveloperUnlockState”=dword:1 Unlock Hidden option in ease of access settings 1 2 3 4 5 [HKEY_LOCAL_MACHINESystemAccessibility] “CompactMode”=dword:0 “TTY”=dword:1 “telecoil_UI”=dword:1 “telecoil”=dword:1 Set AutoData 1 2 3 4 5 [HKEY_LOCAL_MACHINESystemAutoDataConfig] “RunADC”=dword:1 “ConfigurationStatus”=dword:0 “Attempt”=dword:0 “MaxAttemptsAllowed”=dword:3 Show 3G Toogle 1 2 [HKEY_LOCAL_MACHINESoftwareMicrosoftConnectivityCellularCPL] “Show3GToggle”=dword:1 Add “never” option to Lockscreen screen time-out 1 2 [HKEY_LOCAL_MACHINEControlPanelLock] “DisableNever”=dword:0 Disable System Logs for best performance (usefull on HD2) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [HKEY_LOCAL_MACHINESystemEventLogChannelApplication] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelSecurity] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelSystem] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-CellularLogPublisher-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-Dtpt-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-FacebookStatusEvent-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-Mtp-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-SharePoint-Notification-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-ShortMsgEtw-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-SNTransports-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-Commsync-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-SyncStatusEvent-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESYSTEMEventLogChannelMicrosoft-WindowsMobile-TelShell-ShellHistoryChannel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-UnifiedStorePublisher-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-RilDrvLogChannel-Channel] “DefaultEnable”=dword:00000000 [HKEY_LOCAL_MACHINESystemEventLogChannelMicrosoft-WindowsMobile-ZTraceChannel] “DefaultEnable”=dword:00000000 Cleartype settings 1 2 3 4 5 6 [HKEY_LOCAL_MACHINESystemGDIClearTypeSettings409] “ForceOff”=dword:1 “Enabled”=dword:0 “Quality”=dword:0 [HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInternet Settings409] “ClearTypeText”=dword:1 System & Home Background color to grey (replace dark theme background color) 1 2 3 [HKEY_LOCAL_MACHINEControlPanelThemes1] “PageBackgroundColor”=”#FF818181” “SysTrayBackgroundColor”=”#FF818181” keypad,keyboard background & menu color black (Restart needed to apply) 1 2 [HKEY_LOCAL_MACHINEControlPanelThemes1] “ChromeColor” value=”#FF000000″ Famous on WM6 glyph cache entry 1 2 [HKEY_LOCAL_MACHINESYSTEMGDIGLYPHCACHE409] “limit”=dword:4000 Notification & sound volume 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [HKEY_CURRENT_USERControlPanelNotificationsVibrate] “Enabled”=dword:0 [HKEY_CURRENT_USERControlPanelNotificationsMessage] “Enabled”=dword:1 [HKEY_CURRENT_USERControlPanelNotificationsLed] “Enabled”=dword:1 “TimeOut”=dword:1e [HKEY_CURRENT_USERControlPanelNotificationsSounds] “Enabled”=dword:1 “Repeat”=dword:0 “Wave”=”Alarm1” [HKEY_CURRENT_USERControlPanelNotificationsDefault] “LedRefCount”=dword:0 [HKEY_LOCAL_MACHINEControlPanelVolume] [HKEY_CURRENT_USERControlPanelVolume] “Key”=dword:2 “Screen”=dword:2 “Mute”=dword:7 “Volume”=dword:C666C666 “MaxSystemUIVolume”=dword:1E “MaxInCallUIVolume”=dword:A “MaxdBAtten”=dword:2D “MinInCallVolume”=dword:1111 Unlock Hidden option in ease of access settings 1 2 3 4 5 [HKEY_LOCAL_MACHINESystemAccessibility] “CompactMode”=dword:0 “TTY”=dword:1 “telecoil_UI”=dword:1 “telecoil”=dword:1 Change default IE search engine BING 1 2 3 4 [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopes] “DefaultScope”=”Bing” [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopesBing] “URL”=”http://m.bing.com/search/search.aspx?mid=8015&LC=en-us” GOOGLE 1 2 3 4 [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopes] “DefaultScope”=”Google” [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopesGoogle] “URL”=”http://www.google.com/m?hl=en&gl=us&client=ms-hms-tmobile-us&q={searchTerms}” YAHOO 1 2 3 4 [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopes] “DefaultScope”=”Yahoo” [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopesYahoo] “URL”=”http://de.search.yahoo.com/search?p={searchTerms}” Add url to IE new Tabs 1 2 [HKEY_LOCAL_MACHINESoftwareMicrosoftInternet ExplorerAboutURLs] “tabs”=”http://www.albertopasca.it” ACCENT COLOR NAMES 1 2 3 4 5 6 7 8 9 10 11 12 13 HKEY_LOCAL_MACHINEControlPanelThemesAccentsDisp layName409] “0”=”Green” ; “1”=”Red” ; “2”=”Blue” ; “3”=”Orange” ; “5”=”Pink” ; “6”=”Brown” ; “7”=”Lime” ; “8”=”Teal” ; “9”=”Purple” ; “10”=”Magenta” ; “11” = “Light blue”; “12” = “Dark blue”; LIGHT 1 2 3 4 5 6 7 8 9 10 11 [HKEY_LOCAL_MACHINEControlPanelThemesAccents] “0”=dword:FF339933 “1”=dword:FFE51400 “2”=dword:FF1BA1E2 “3”=dword:FFF09609 “5”=dword:FFE671B8 “6”=dword:FFA05000 “7”=dword:FF8CBF26 “8”=dword:FF00ABA9 “9”=dword:FFA200FF “10”=dword:FFFF0097 DARK 1 2 3 4 5 6 7 8 9 10 11 [HKEY_LOCAL_MACHINEControlPanelThemes1Accents] “0”=dword:FF339933 “1”=dword:FFE51400 “2”=dword:FF1BA1E2 “3”=dword:FFF09609 “5”=dword:FFE671B8 “6”=dword:FFA05000 “7”=dword:FF8CBF26 “8”=dword:FF00ABA9 “9”=dword:FFA200FF “10”=dword:FFFF0097 ADD MORE COLORS 1 2 3 4 5 [HKEY_LOCAL_MACHINEControlPanelThemesAccentsDisplayName409] “13”=”Grey” “14”=”Light grey” “15”=”Black” “16”=”White” 1 2 3 4 5 [HKEY_LOCAL_MACHINEControlPanelThemesAccentsDisplayNamec0a] “13”=”Gris” “14”=”Gris claro” “15”=”Negro” “16”=”Blanco” 1 2 3 4 5 [HKEY_LOCAL_MACHINEControlPanelThemesAccents] “13”=dword:FF808080 “14”=dword:FFC0C0C0 “15”=dword:FF000000 “16”=dword:FFFFFFFF 1 2 3 4 5 [HKEY_LOCAL_MACHINEControlPanelThemes1Accents] “13”=dword:FF808080 “14”=dword:FFC0C0C0 “15”=dword:FF000000 “16”=dword:FFFFFFFF VARIOUS 1 2 [HKEY_LOCAL_MACHINESoftwareQualcommQosLib] “Enabled”=dword:0 1 2 [HKEY_LOCAL_MACHINESoftwareMicrosoftCameraSettings] “ScreenOrientation”=dword:0 1 2 [HKEY_LOCAL_MACHINESoftwareQualcommRILOptions] “ExtendedSSInfo”=dword:0 1 2 3 4 5 6 [HKEY_LOCAL_MACHINESoftwareMicrosoftConnectivityCellularCPL] “MakeDataConnectionExclusive”=dword:1 “Show3GToggle”=dword:1 “AutoNetwork”=dword:1 “Roaming”=dword:0 “CellDataOn”=dword:1 1 2 3 [HKEY_CURRENT_USERControlPanelPhoneNetSelMode] “AlwaysShowGSMOperationModes”=dword:1 “Option”=dword:0 1 2 [HKEY_LOCAL_MACHINESoftwareHTCProximity] “ProximityDetectStatus”=dword:0 NEVER LOCK SCREEN 1 2     [HKEY_LOCAL_MACHINEControlPanelLock] “DisableNever”=dword:0

Windows Phone 注册表大全

clock 八月 26, 2016 16:27 by author alex
禁用手机更新: HKLM\Software\Microsoft\Windows\DeviceUpdate\Agent\Client "UpdateAvailable"=dword:0 "ShowNotification"=dword:00000000 "UseDataNetwork"=dword:00000000 HKLM\Software\Microsoft\Windows\DeviceUpdate\Agent\Reporting "IsEnabled"=dword:0 不重置更改LIVEID: HKCU\Software\Microsoft\ActiveSync\Partners\{B2830118-7BC6-4A74-8C9A-3D8B9CEF88E0} "Email"=your_new_id@hotmail.com(新的ID) "User"=your_new_id@hotmail.com(新的ID) HKCU\Software\Microsoft\IdentityCRL\Environment\Production "DefaultID"=your_new_id@hotmail.com(新的ID) 短信群发10条限制: HKCU\Software\microsoft\shortmsg\settings "LimitRecipients"=你想要的最大值 减少触屏延时: HKCU\ControlPanel\Keybd "RepeatRate"=dword:3 "InitialDelay"=dword:90 去除应用列表的字母索引: HKCU\Software\Microsoft\Start "GroupingThreshold"=999(默认为0,部分机型需在注册表编辑器界面关机键直接重启才生效,键值在软件数超过45后才出现。需要可先创建) 更改按键: HKLM\HARDWARE\devicemap\touch\buttons\1 "vkey"=91(返回键→win键) HKLM\HARDWARE\devicemap\touch\buttons\2 "vkey"=27(win键→返回键) HKLM\HARDWARE\devicemap\touch\buttons\3 "vkey"=129(搜索键→锁屏) 开启wifi11n模式(费电?): HKLM\Comm\BCMSDDHD1\Parms "11nModeDisable"=dword:0 添加对RAR文件的支持(未测试): HKCR\rarfile "EditFlags"=dword:10000 "Default"="rar" HKCR\rarfile\Shell\OpenDoc\Command "Default"="app://5B04B775-356B-4AA0-AAF8-6491FFEA5628/Default?CmdLine=%s" HKCR\rarfile\Shell\Open\Command "Default"="app://5B04B775-356B-4AA0-AAF8-6491FFEA5628/Default?CmdLine=%s" HKCR\rarfile\FileTypeIcons "large"="res://FileIcons!ZipFileIcon_Large" "medium"="res://FileIcons!ZipFileIcon_Medium" "small"="res://FileIcons!ZipFileIcon_Small" HKCR\rarfile\DefaultIcon "Default"="officeres.dll,-20352" HKCR\.rar(可能需创建) "Default"="rarfile" 关闭系统日志: HKLM\System\EventLog\Channel\Application "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Security "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\System "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-CellularLogPublisher-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-Dtpt-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-FacebookStatusEvent-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-Mtp-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-SharePoint-Notification-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-ShortMsgEtw-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-SNTransports-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-Commsync-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-SyncStatusEvent-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-TelShell-ShellHistoryChannel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-UnifiedStorePublisher-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-RilDrvLogChannel-Channel "DefaultEnable"=dword:0 HKLM\System\EventLog\Channel\Microsoft-WindowsMobile-ZTraceChannel "DefaultEnable"=dword:0 禁用错误报告: HKLM\Drivers\BuiltIn\ErrorReporting "Flags"=dword:4 关闭相机数据自动连接: HKLM\Software\Microsoft\Camera\Settings "AutoUpload"=dword:0 "EmbedLocation"=dword:0 "KeepGPSOnUpload"=dword:0 减少后台恢复延时: HKLM\Software\Microsoft\TaskHost "DehydrateOnPause"=0(默认为3) 彩信设置: HKLM\System\AutoDataConfig "RunADC"=dword:1 "ConfigurationStatus"=dword:0 "Attempt"=dword:0 "MaxAttemptsAllowed"=dword:3 增加后台数量: HKLM\System\Shell\Frame(需创建) "MaxSessions"(需创建)=20(需要的后台数+1) 减少冻屏几率: HKLM\Drivers\Touch "Priority256"=220(默认100,也可改为256) 开启32位色: 注册表端→ HKLM\Drivers\Display\Primary "AllowDithering"=dword:1 "bpp"=dword:32 "PanelBPP"=dword:32 "PrimBPP"=dword:32 HKLM\System\GDI\Drivers "Bpp"=dword:32 "ContrastSupport"=sword:1 "PalleteSupport"=sword:1 Cleartype...里面两项都改为0 软件端→ 在程序的<App>节里面,加入BitsPerPixel="32"就能实现32位色的支持。 例如(箭头只是标注): WMAppManifest.xml <?xmlversion="1.0"?> <Deploymentxmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Appxmlns=""→→→→BitsPerPixel="32"←←←←Version="1.0.0.0"Title="@AppResLib.dll,-100" RuntimeType="Silverlight"Publisher="HTCCorporation" ProductID="{1a0ee8c2-48b1-df11-8a2f-00237de2db9e}"Genre="apps.normal"Description="HTCHub"Author="HTCCorporation"> 调整Gamma值加深色彩显示效果: HKLM\System\GDI\Gamma "GammaValue"=dword:1800(默认1500) 开启歌手背景,zune音乐市场,SmartDJ,Xbox显示全部游戏,ego文件管理txt乱码解决(需更改为米国再改回天朝): HKLM\SOFTWARE\Microsoft\Zune\Settings "XuidLocale"(可能需创建,数值为String)=EN-US "ZunePassSubscriptionEnabled"=1(音乐市场) HKLM\SOFTWARE\Microsoft\Zune\SmartDj "LocalEnabled"=1(SmartDJ功能) 扩大SD卡块传输大小: HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class "BlockTransferSize"=8192(默认128) HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class\EmbeddedHigh_Capaccity "BlockTransferSize"=4096(默认128) HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class\High_Capaccity HKLM\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class "BlockTransferSize"=8192(默认128) HKLM\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class\High_Capaccity "BlockTransferSize"=4096(默认128) 屏蔽触摸屏幕时的震动: HKLM\Drivers\BuiltIn\NLed\Config\Vibrator "LedType"=0(默认为2) 取消键盘灯与按键震动与左上角指示灯: HKLM\Drivers\BuiltIn\AllLEDMgr 后缀”Dll“的字符串值名称给成别的,可先复制,输入1,再粘贴。 取消重力感应: HKLM\Drivers\BuiltIn\Gsensor 修改index的值为0则取消,改为1则启用。(每次更改需重启) 去除软件数量安装限制: HKLM\Software\Microsoft\DeviceReg\Install "MaxUnsignedApp"=dword:9999 关闭电源管理(费电?): HKLM\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class "DisablePowerManagement"=dword:1 HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class "DisablePowerManagement"=dword:1 HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class\High_Capacity "DisablePowerManagement"=dword:1(可能需创建) HKLM\Comm\AsyncMac1\Parms "DisablePowerManagement"=dword:1 视频通过蓝牙耳机输出: HKLM\Software\Microsoft\Zune\Playback\Video\A2DP\CapsSet1 "DisableA2DPPLayback"=0(默认为1) 数据不自动断开: HKLM\Comm\ConnMgr\Planner\Settings "SuspendResume"=#777 相机加入点聚焦: HKLM\Drivers\BuiltIn\GEMINI "Prefix"="GEM"(值类型string) "Dll"="StillGeminiDriver.dll"(值类型string) "Index"="0"(值类型integer) "Irq"="290"(值类型integer) 相机音量随系统音量调节: HKLM\Audio\StreamClass\Output\10 "BypassDeviceGain"=dword:0(默认为1) 修改A-GPS(定位更准确?): HKLM\SOFTWARE\HTC\GPS "IsEnablePWClassDetect"=dword:1 "IsEnableNMEAOutput"=dword:1 HKLM\SOFTWARE\HTC\SUPLAGPS "GPSMode"=dword:1 "QosAccuracy"=dword:32 "QosTimeout"=dword:59 增大系统缓存: HKLM\System\StorageManager\FATFS "EnableCache"=dword:1 "CacheSize"=dword:32768 HKLM\System\StorageManager(从这里开始,子键值我的只要看到有cachesize缓存大小的,都改为32768,感觉有快) HKLM\SYSTEM\GDI\GLYPHCACHE\0804(需创建) "limit"=dword:32768 HKLM\System\GDI\GLYPHCACHE\0409(需创建) "limit"=dword:32768 取消按键震动或修改震动强度: HKLM\SOFTWARE\OEM\KeyState "APPLICATION_BTN_VIBRATE3"(需创建,推荐大写)=1(范围2~99) 自动调节亮度: HKLM\Drivers\BuiltIn\Backlight String值不能直接更改,可以通过新建来覆盖原值。如新建“ALS_RANGE_1”,值1F401,类型选String。刷新原值就变为1F401了。以下几项都需要改: "ALS_RANGE_1"=1F401 "ALS_RANGE_2"=3E802 "ALS_RANGE_3"=8CA04 "ALS_RANGE_4"=119405 "ALS_RANGE_5"=11EBE48 "ALS_RANGE_6"=3D08999 "ALS_RANGE_7"=FFFFFFFFA 附上原配置(T8788): "ALS_RANGE_1"=72104 "ALS_RANGE_2"=F2625 "ALS_RANGE_3"=11C43E6 "ALS_RANGE_4"=1261147 "ALS_RANGE_5"=1DAF6A8 "ALS_RANGE_6"=28EF7E9 "ALS_RANGE_7"=FFFFFFFFA 替换windows下文件,无次数限制: 例如:字体替换 将字体文件复制到手机并分别命名为FZDengXian.ttf和FZDengXian_Bold.ttf,这两个文件windows下已存在,直接覆盖只能替换一次。第二次时需要把windows下同名文件命名成其他名称(推荐直接末尾加1),把新文件放进windows后刷新,重启。再进windows删除之前改名了的原文件即可(可不删)。 系统字体:msyh_5_80.ttf(微软雅黑),FZDengXian.ttf和FZDengXian_Bold.ttf(等线)。 可替换其他文件,不仅限字体。 Provxml写法及命名: 操作注册表: (修改注册表必须以<characteristictype="Registry">开头,并以</characteristic>结束。可以把它们理解为一对括号) 1.已经存在的注册表设置 修改注册表键值 <characteristictype="HKLM\Drivers\BuiltIn\RIL"> <parmname="EnableShortIMEI"datatype="integer"value="1"/> </characteristic> 2.未存在的注册表新建(同1的设置,没有的注册表键值会直接新建) 新建注册表键值 <characteristictype="HKLM\Drivers\BuiltIn\RIL"> <parmname="EnableShortIMEI"datatype="integer"value="1"/> </characteristic> 3.已存在的注册表删除 1)键值 删除注册表键值 <characteristictype="HKLM\cabfile\Shell\Open\Command"> <noparmname="default"/> </characteristic> 这样就把[HKEY_LOCAL_MACHINE\cabfile\Shell\Open\Command]下面的default注册项删除了 2)键 删除注册表键 <nocharacteristictype="HKLM\cabfile\Shell\Open\Command"/> 这样就删除了[HKEY_LOCAL_MACHINE\cabfile\Shell\Open\Command]整个键(包括它下面的注册项) 操作文件: (内容均需要放在<characteristictype="FileOperation">和</characteristic>之间): 1.复制文件到其他目录 复制文件实例代码 <characteristictype="%CE11%"translation="install"> <characteristictype="MakeDir"/> <characteristictype="WindowsMedia.lnk"translation="install"> <characteristictype="Copy"> <parmname="Source"value="\Windows\WMPlayer.lnk"translation="install"/> </characteristic> </characteristic> </characteristic> 2.删除新复制的文件(ROM中不可以删除,仅可以删除后期复制或者新建的文件,比如快捷方式) 删除快捷方式实例代码 <characteristictype="%CE17%\WindowsMedia.lnk"translation="install"> <characteristictype="Delete"> <parmname="ForceDelete"/> </characteristic> </characteristic> 编辑好相应的Provxml之后需要DSM文件引导才能起作用 编辑好的xml可以通过添加代码到启动时加载的txt中(一般为config_operator.txt,可修改),格式为:XML:\Windows\Provxml.xml 命名 1、PROVXML的命名方式必须为如下格式,建议红色部分为自定义 mxip_<packagename>_<version>.provxml mxipupdate_<packagename>_<version>.provxml mxipcold_<packagename>_<version>.provxml 以CeleDial为例:mxip_CeleDial_000.provxml 2、将执行PROVXML写入DSM时,建议用BuildDSM来生成最后的DSM文件,经过反复测试,DSMBuilder生成的DSM容易提示错误。 具体方法举例:首先在CeleDial文件夹下用GUID生成器生成新的DSM文件,并处理好相应的XML文件(注意命名规则),最后将CeleDial文件夹拖动或发送到BuildDSM.exe,生成可以执行当前PROVXML的DSM文件成功!

通过wininet调用,根据url获取缓存文件

clock 八月 15, 2016 23:29 by author alex
wininet.dll using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace ConsoleApplication34 { class Program { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] public struct internet_cache_entry_info { public int dwstructsize; public IntPtr lpszsourceurlname; public IntPtr lpszlocalfilename; public int cacheentrytype; public int dwusecount; public int dwhitrate; public int dwsizelow; public int dwsizehigh; public FILETIME lastmodifiedtime; public FILETIME expiretime; public FILETIME lastaccesstime; public FILETIME lastsynctime; public IntPtr lpheaderinfo; public int dwheaderinfosize; public IntPtr lpszfileextension; public int dwexemptdelta; } [DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)] public static extern IntPtr FindFirstUrlCacheEntry([MarshalAs(UnmanagedType.LPTStr)] string urlsearchpattern, IntPtr lpfirstcacheentryinfo, ref int lpdwfirstcacheentryinfobuffersize); [DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)] public static extern bool GetUrlCacheEntryInfo([MarshalAs(UnmanagedType.LPTStr)] string lpszurlname, IntPtr lpcacheentryinfo, ref int lpdwcacheentryinfobuffersize); public static string getcatchfilename(string url) { int nneeded = 0, nbufsize = 0; IntPtr buf = IntPtr.Zero; FindFirstUrlCacheEntry(null, IntPtr.Zero, ref nneeded); nbufsize = nneeded; buf = Marshal.AllocHGlobal(nbufsize); internet_cache_entry_info cacheitem; GetUrlCacheEntryInfo(url, buf, ref nneeded); cacheitem = (internet_cache_entry_info)Marshal.PtrToStructure(buf, typeof(internet_cache_entry_info)); string res = Marshal.PtrToStringAuto(cacheitem.lpszlocalfilename); return (res); } static void Main(string[] args) { string str = getcatchfilename("http://profile.csdn.net/jinjazz/picture/2.jpg"); Console.WriteLine(str); Console.Read(); } } }

Windows开发者后台无法填Paypal账号收款的解决办法

clock 八月 15, 2016 14:30 by author alex
1.用IE 2.清理cookies以及缓存 3.用IE的InPrivate浏览

关闭I8750的MTP

clock 六月 13, 2016 14:22 by author alex
没有关闭在C盘能找到相应的路径此电脑\Samsung ATIV S\Phone\Data\Users\Public

WP8获取设备实际分辨率

clock 五月 12, 2016 03:13 by author alex
在WP8设备上以下方法获取的设备分辨率总是480x800,这不是设备的实际分辨率。 System.Windows.Application.Current.Host.Content.ActualWidth System.Windows.Application.Current.Host.Content.ActualHeight 可以通过以下方法获取设备的实际分辨率 public static Size DisplayResolution         {             get             {                 if (Environment.OSVersion.Version.Major < 8)                     return new Size(480, 800);                 int scaleFactor = (int)GetProperty(System.Windows.Application.Current.Host.Content, "ScaleFactor");                 switch (scaleFactor)                 {                     case 100:                         return new Size(480, 800);                     case 150:                         return new Size(720, 1280);                     case 160:                         return new Size(768, 1280);                 }                 return new Size(480, 800);             }         }

[手机U盘模式][共享电脑网络] 微软设备中心(WMDC)使用教程

clock 三月 15, 2016 13:30 by author alex
1、什么是WMDC/ActiveSync? Microsoft ActiveSync是基于 Windows Mobile的设备的最新同步软件版本。ActiveSync 提供了即时可用的与基于 Windows® 的个人计算机和 Microsoft Outlook 的良好同步体验。ActiveSync 可充当基于Windows 的个人计算机与基于 Windows Mobile 的设备之间的网关,从而允许您在个人计算机与设备之间传输 Outlook 信息、Office 文档、图片、音乐、视频和应用程序。除了与台式计算机进行同步之外,ActiveSync 还可以直接与 Microsoft Exchange Server 2003 同步,从而允许您在离开个人计算机时也能通过无线方式获得最新的电子邮件、日历数据、任务和联系人信息。 简而言之就是,ActiveSync是一款Windows Mobile 设备与PC的同步工具,在Vista以上的系统中,微软设备中心(Windows Mobile Device Center,即WMDC)取代ActiveSync。 2、为什么用在Windows Mobile 设备上的WMDC也能用在Windows Phone 上? 自从微软从WM升级到Windows Phone系统,WMDC也随之失效。虽然推出的Zune也能方便地同步图片、音乐、视频、应用程序等等,但是却不能像Windows一样进入文件系统和注册表,因为Zune缺少了RAPI(remote API)。为此XDA认证开发者ultrashot开发了wp手机端的WMDC/ActiveSync Launcher,能让WP手机用户也能享受当年WM手机的待遇。这个Launcher能开启对WP手机的Remote API支持,使PC端的WMDC能同时检测到WM和WP手机,Zune工作正常。不过存在一个缺点,就是不能同步通讯录、日历等等。 注意:这个程序只能用在完全解锁的机型上,开发者解锁机型是不能用的。 3、安装WMDC/ActiveSync? ① 在PC上安装以下工具 32位 Vista/Win7/Win8安装WMDC:微软官方下载地址 64位 Vista/Win7/Win8安装WMDC:微软官方下载地址 Windows XP安装ActiveSync:微软官方下载地址 ② 手机上安装WmdcLauncher 第三方自制ROM(目前支持 Nokia 800,三星i917、HTC Radar、Titan、Titan2、Mozart、HD7、Surround、7 Pro等机型)都有集成此软件,如果你使用的是微饭网的ROM,无需安装此软件。 ③ 下载WPConnect 4、 如何使用WMDC/ActiveSync? 将手机通过数据线连接电脑,双击“WPConnect“,几秒钟之后,连接成功,自动弹出WMDC主界面,上面会显示你的机型图片和“已连接”字样。同时,“我的电脑”里会多出了一个“便携设备”(或“可移动磁盘”) 如果你的使用了360安全卫士等软件禁用了WMDC的开机启动项,打开“WPConnect”之后则不会弹出WMDC程序,不用担心,只要“我的电脑”下有“便携设备”就行了。 如果你的WMDC/ActiveSync 连接不上手机,请进“设置——区域+语言——找到系统区域设置”改为“英语(美国)”重启下手机即可。如果还是连不上,进设置找到“微软设备管理器”在主界面点击“运行”即可 ① 连接WMDC/ActiveSync 之后,你相当于开启了U盘模式,你可以对手机里面各个文件随心所欲地操作。 双击打开这个磁盘,不同机型里面分区有所不同,但都会有一个名为“”的磁盘(容量最大的),我们要经常用到的就是这个。 其中,图片,音乐、视频都放在“My DocumentsZune”目录下 “ApplicationsData”目录下装着程序的所有数据,如果你需要备份软件游戏数据,备份这个文件夹就行了。 其他文件夹的作用自行探索吧 ② 连接WMDC/ActiveSync 之后,你可以用手机共享电脑网络。 大家都知道,连接ZUNE之后也可以共享电脑网络,但那是有限制的,比如手机不能打开“商店”“音乐+视频”等,而通过WMDC/ActiveSync连接则没有这些限制,就跟使用WIFI上网一样方便。 暂时先写到这里吧~如果有遗漏的日后再过来补充。以上内容仅作抛砖引玉之用,WMDC的妙处还有许多,写这些只想告诉大家,WMDC这工具实在是太好用了,如果你还没用过,那真是太可惜了~

i917 7720 越狱

clock 三月 12, 2016 02:10 by author alex
1.用浏览器打开http://www.xnadevelop.com/i917.zip 2.分别点击Allinone.xml ,camerasettingsmanifest.0804.xml 3.打开拨号器输入“##634#” 进入工程模式 4.输入“*#9908#” 5.下拉列表选择ALLINONE 点击save 然后点exit 6.重启手机 搞定

XNA项目升级到MonoGame出现Cannot find Microsoft.Xna.Framework.Content.ArrayReader解决办法

clock 三月 6, 2016 19:05 by author alex
XNA项目升级到MonoGame会出现 Cannot find Microsoft.Xna.Framework.Content.ArrayReader错误! 导致这种错误的原因是Content调用是在另外一个dll中,在升级过程中我贪图方便将Library中的代码拷贝到了主项目中导致的!所以在升级过程中必须单独升级Library项目。由于MonoGame并未提供Library的项目模板所以需要手动修改WP8的Library项目模板。方法如下:http://www.xnadevelop.com/post/2016/01/25/MonoGame-Windows-Phone-8-libraries%E9%A1%B9%E7%9B%AE%E5%88%9B%E5%BB%BA.aspx

XNA升级到MonoGame报Vector未引用错误的解决办法

clock 三月 6, 2016 17:47 by author alex
将WP7的XNA项目升级到WP8的MonoGame,项目使用到了重力感应会出现下面的编译错误 错误代码如下: void _accelerometr_ReadingChanged(Accelerometer sender,AccelerometerReadingChangedEventArgs e)        {                        this.accelerate.X =(float)e.Reading.AccelerationX * Camera2d.VirtualScreen.X;                   } 我曾经试图修改monogame的源码来解决问题,结果发现重力感应的Microsoft.Devices.Sensors部分monogame并没有重写。还是需要针对不同平台使用相应方法。 解决该问题最快的方法是将Microsoft.Devices.Sensors改为Windows.Devices.Sensors。WP8支持Windows Runtime部分API(我曾经纠结了很长世间) this._accelerometr = Windows.Devices.Sensors.Accelerometer.GetDefault();            this._accelerometr.ReadingChanged += _accelerometr_ReadingChanged; void _accelerometr_ReadingChanged(Accelerometer sender, AccelerometerReadingChangedEventArgs e)         {             this.accelerate.X = (float)e.Reading.AccelerationX * Camera2d.VirtualScreen.X;         }

monogame无法使用MediaPlayer播放背景音乐

clock 二月 4, 2015 19:46 by author alex
monogame用MediaPlayer虽然编译通过但是无法播放背景音乐的。解决办法是用SoundEffect代替: backgroundSound = Content.Load<SoundEffect>("backgroundmusic"); var backgroundmusic= backgroundSound.CreateInstance(); backgroundmusic.IsLooped = true; backgroundmusic.Play();

XNA默认支持的字体

clock 一月 28, 2015 09:11 by author alex

解决MonoGame3.2黑屏问题

clock 一月 28, 2015 03:30 by author alex
1. GamePage.xaml修改<DrawingSurface x:Name="XnaSurface" />为 <DrawingSurfaceBackgroundGridx:Name="XnaSurface" /> 2.修改monogame3.2源码XamlGame.cs第120行加入 else if (drawingSurface == null && child is DrawingSurfaceBackgroundGrid) drawingSurface = (DrawingSurfaceBackgroundGrid) child;   重新编译成dll即可!

Newtonsoft.Json解析Key是数字的JSON

clock 十月 21, 2014 20:20 by author alex
public class User { public string Name{get;set;} public string Sex{get;set;} } List users=new List(); string content={"1":{"Name":"user1","Sex":"man"},"2":{"Name":"user2","Sex":"woman"},"3":{"Name":"user3","Sex":"woman"}} JObject o = JObject.Parse(content); IEnumerable properties = o.Properties(); foreach (JProperty item in properties) { users.Add(Newtonsoft.Json.JsonConvert.DeserializeObject(item.Value.ToString())); }

Dotfuscator使用教程

clock 十月 13, 2014 22:47 by author alex
登录之后的界面: INPUT 选项里 选择你需要混淆加密的 DLL、EXE文件: 把 Disable String Encryption 设为 NO,即启用字符串加密;检查 Disable Control flow、Dsiable Renaming 也为 NO,即保证控制流和混淆功能打开,其他默认。如下图: Rename 选项 勾选“use enhanced overload induction”(使用增强模式),注意:不要勾选下方的“ Do not suppress on serializable types”,即序列化类型的变量不加密,否则编译后可能异常; “Renaming Scheme” 选择“Unprintable”(不可打印字符,即乱码),也可以选择其他如小写字母、大写字符、数字的方式,如下图: String Encryption 选项 include里勾选需要字符串加密的工程文件EXE、DLL等,点击Build,之后就可以啦:

XNA修改为MonoGame自动缩放屏幕支持WXGA和720P的解决办法

clock 八月 28, 2014 21:48 by author alex
XNA修改为MonoGame好处很多,最大的好处是放广告。目前很多广告平台已经不支持WP7。XNA项目丢之可惜,所有修改成MonoGame是个最佳选择。 靠复制代码,修改音频播放类,还需要解决WP8多种分辨率的问题。直接上代码: GamePage.xaml: GamePage.cs: public partial class GamePage : PhoneApplicationPage { public static GamePage Instance = null; private Game1 _game; // Constructor public GamePage() { InitializeComponent(); if (Instance != null) throw new InvalidOperationException("There can be only one GamePage object!"); Instance = this; _game = XamlGame.Create("", this); SetupScreenAutoScaling(); // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); } private void SetupScreenAutoScaling() { // Get the screen’s WVGA ''ScaleFactor'' via reflection. scaleFactor will be 100 (WVGA), 160 (WXGA), or 150 (WXGA). int? scaleFactor = null; var content = App.Current.Host.Content; var scaleFactorProperty = content.GetType().GetProperty("ScaleFactor"); if (scaleFactorProperty != null) scaleFactor = scaleFactorProperty.GetValue(content, null) as int?; if (scaleFactor == null) scaleFactor = 100; // 100% WVGA resolution double scale = ((double)scaleFactor) / 100.0; //scale from WVGA to Viewport Bounds // For 720P, we will scale to 150% WVGA resolution, resulting in a 1200x720 viewport inside a 1280x720 screen, // which is why letterboxing will be required. By centering the viewport on the screen, it will be less noticeable. if (scaleFactor == 150) { // Centered letterboxing - move Margin.Left to the right by ((1280-1200)/2)/scale //GamePage.Instance.XnaSurface.Margin = new System.Windows.Thickness(40 / scale, 0, 0, 0); } // Scale the XnaSurface: ScaleTransform scaleTransform = new ScaleTransform(); scaleTransform.ScaleX = scaleTransform.ScaleY = scale; GamePage.Instance.XnaSurface.RenderTransform = scaleTransform; } // Sample code for building a localized ApplicationBar //private void BuildLocalizedApplicationBar() //{ // // Set the page's ApplicationBar to a new instance of ApplicationBar. // ApplicationBar = new ApplicationBar(); // // Create a new button and set the text value to the localized string from AppResources. // ApplicationBarIconButton appBarButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/appbar.add.rest.png", UriKind.Relative)); // appBarButton.Text = AppResources.AppBarButtonText; // ApplicationBar.Buttons.Add(appBarButton); // // Create a new menu item with the localized string from AppResources. // ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarMenuItemText); // ApplicationBar.MenuItems.Add(appBarMenuItem); //} }

友情链接赞助