- Silverlight в Mac OS X: отладка
- Silverlight for Mac
- Microsoft Silverlight Mac Catalina
- Latest Package
- Microsoft Silverlight Mac Catalina Free
- Installation Instructions
- Troubleshooting
- Flash EOL Screen
- MacOS Catalina and Big Sur
- MacOS Big Sur (MacOS 11.0)
- Apple Silicon Macs
- Installing Java
- Microsoft Silverlight Mac Catalina Update
- Installing Wine
- Using Flashpoint with Automator (optional)
- Technologies
- Microsoft Silverlight Mac Catalina 2019
- Supported Platforms
- Unsupported Platforms
- Microsoft Silverlight Mac Catalina Download
- Launcher Issues
- Other Notes
- Packaging Flashpoint for Mac
Silverlight в Mac OS X: отладка
Как известно, Silverlight это кроссплатформенная (Win, Mac) и кроссбраузерная (IE, Safari, Firefox) технология.
Однако, как это часто бывает, на разных платформах Silverlight ведёт себя немножко по-разному (пруф).
Как следствие, приложение без проблем работающее на win-платформе, начинает немного странно себя вести в MacOS. Встаёт известный вопрос.
— Что делать?
— Что-что, дебажить! Что же ещё?
Для теста предлагаю простое Silverlight приложение: тыкаешь кнопку – показывается версия твоей ОС.
Пример работы на Windows 7
Пример работы на Mac OS X
На win-платформе отладка никогда не была проблемой (Visual Studio). А как дебажиться под маком? Оказывается – это реально. Несмотря на то, что под маком невозможен обычный remote debugging, в Silverlight SDK для мака есть интересный костыль для настройки удалённой отладки.
Итак, что же он из себя представляет.
После установки Silverlight SDK for Mac у вас появится в папке Applications одна программка.
Она показывает вам окно, в котором «многабукаф».
Если с картинки читать неудобно или лень, вкратце перескажу – программа настройки создаст вам .exe файл, который вы должны скопировать на машину с установленной Visual Studio (здесь и далее используется VS2010). В этом файле захардкожен TCP порт, через который будет идти удалённый дебаг, а также пароль, который надо ввести на машине разработчика, для подтверждения того, что вы не верблюд.
После запуска этого .exe файла и ввода правильного пароля, в Visual Studio в меню «Tools->Attach to Process» откроется секретный протокол отладки. Введя IP подопытного Mac, мы получим список всех его процессов.
Я аж поперхнулся, когда это в первый раз увидел, настолько непривычно мне было наблюдать в списке процессов таких нежданных гостей, как Finder или iTunes. В Visual Studio на полном серьёзе доступна кроссплатформенная отладка Silverlight кода, что очень радует.
Ну что, можно подцепиться к нашему маку и воспользоваться всеми удобствами студийного отладчика.
Теперь ничто не помешает найти все платформозависимые глюки. 🙂
Самый основной совет командам, начинающим реальный кроссплатформенный проект с использованием Silverlight – чем раньше начнётся тестирование и отладка на всех target-платформах – тем лучше.
PS. Насколько я понимаю, в мире Mono с отладкой Moonlight всё очень грустно, то есть отладчика нет совсем. Поправьте если я ошибаюсь.
PS2. В статье присутствует наглый продакт плейсмент компании, в которой я с недавнего времени работаю. Угадаете в какой именно?
Источник
Silverlight for Mac
Silverlight 5.1.50901.0 LATEST
Silverlight for Mac 2021 full offline installer setup for Mac
Microsoft Silverlight for Mac is a powerful development tool for creating engaging, interactive user experiences for Web and mobile applications. The app is a free plug-in, powered by the .NET framework and compatible with multiple web browsers, devices and operating systems, bringing a new level of interactivity wherever the Web works. Microsoft has made the Silverlight for macOS browser plug-in freely available for all supported platforms and browsers. Download, Install or Update Silverlight for Mac!
Features and Highlights
IIS Smooth Streaming
IIS Smooth Streaming enables you to deliver high definition streams that play back smoothly on any device running this tool.
PivotViewer
PivotViewer makes it easier to interact with massive amounts of data on the web in ways that are powerful, informative, and fun. By visualizing thousands of related items at once.
SketchFlow
SketchFlow, part of Expression Studio Ultimate, revolutionizes the speed and efficiency with which you can demonstrate a vision for an application. SketchFlow provides an.
Deep Zoom
The app Deep Zoom is the fastest, smoothest, zooming technology on the Web, bringing the highest resolution images and frame rates.
Pixel Shader
These software based effects include blur and drop shadow that can be applied to any graphical content and animated. You can also write your own effect.
New Controls
The software is packed with over 60 high-quality, fully skinnable and customizable out-of-the-box controls such as charting and media, new layout containers.
Media Format Extensibility
With the new Raw AV pipeline, the program can easily support a wide variety of third-party codecs. Audio and video can be decoded outside the runtime and rendered.
Perspective 3D Graphics
The tool allows developers and designers to apply content to a 3D plane. Users can rotate or scale live content in space without writing any additional code.
Skinning and Styling
The app makes it easy to create graphics and then use them to customize controls, such as the look of a scrollbar. Silver light for Mac provides XAML based templates for each.
Note: Requires Intel Core Duo or higher processor.
Источник
Microsoft Silverlight Mac Catalina
Flashpoint’s Mac support is heavily experimental. This page provides information about the current Flashpoint for Mac package.
Please join our Discord and provide your feedback: http://discord.gg/S9uJ794
- Silverlight: Silverlight for Mac is available here, but as explained in this StackExchange answer, Microsoft Silverlight for Mac is 32-bit only, even though the Windows version has 64-bit and 32-bit versions. This is a problem because no major browser for MacOS has a 32-bit version, and MacOS Catalina drops support for 32-bit programs entirely.
- Fakten statt Fake News! Sie haben die Wahl: Jetzt 24 Monate lesen und 150€ Sparvorteil sichern oder 3 Monate lesen und nur 2 bezahlen!
- EPPI Reviewer Web is the latest version of our software, running on any modern web browser without the need for any add-ons or other installaton. It works across web-enabled devices including smartphones and tablets — useful for screening on the move!
- Classic Mac OS programming. The original Mac OS used Pascal as its primary development platform, and the APIs were heavily based on Pascal’s call semantics.Much of the Macintosh Toolbox consisted of procedure calls, passing information back and forth between the API and program using a variety of data structures based on Pascal’s variant record concept.
Catalina adds even more compatibility by introducing shared folders to the Notes app. (Microsoft’s search engine), on a Mac Spotlight and Siri used to search using Bing but in 2017 Apple.
- 2 Installation Instructions
- 2.1 Troubleshooting
- 3 Technologies
Latest Package
Download Beta 2019-12-15:
Microsoft Silverlight Mac Catalina Free
2019-12-15: Added ‘wmode’:’direct’ to the default SWFObject parameters. This fixes certain 3D Flash games which previously did not work properly.
2019-12-14: First beta available!
Installation Instructions
- Download and unzip the latest package using the link above.
- Double-click StartFlashpoint.command to open Flashpoint.
- Do not forget this step! You must use StartFlashpoint.command , otherwise Flashpoint will not work properly.
Troubleshooting
If Flashpoint does not work after installation, follow the steps below:
- Click the Apple menu and open System Preferences.
- Click ‘Security & Privacy,’ then click the ‘Privacy’ tab.
- Click ‘Full Disk Access’.
- Click the lock icon and enter your password to make changes. Then click the + button under the list of apps to add Terminal to the list.
- Click the lock icon again to save your changes. You should see Terminal in the list of allowed apps, as shown below.
Flash EOL Screen
If you see the Flash Player EOL information screen when you try to play a game, that means that SeaMonkey is loading your installed Flash Player plugin instead of the plugin that is bundled with Flashpoint. To fix the problem, uninstall Flash Player from your Mac and restart Flashpoint. Games should work again in SeaMonkey.
MacOS Catalina and Big Sur
Because Flashpoint’s applications are from an ‘unidentified developer,’ if you’re using Catalina or Big Sur, you’ll need to approve each application before it can run. Open your system preferences, click ‘Security & Privacy’, then allow each of the following applications to run: StartFlashpoint.command, Flashpoint Launcher, swfbbox, and SeaMonkey. If you have trouble figuring out how to do this, watch this tutorial video.
Because Adobe Director Projectors are 32-bit applications, SPR for Mac will not work on MacOS Catalina or Big Sur. This means that Flashpoint for Mac does not support Shockwave games on Catalina or Big Sur.
MacOS Big Sur (MacOS 11.0)
Flash applications have been successfully tested and are working. To use Flashpoint with Big Sur, a few modifications are required. Follow the steps below:
- Download SeaMonkey 2.53.4 for MacOS x64 from here: https://www.seamonkey-project.org/releases/
- Open Flashpoint Infinity’s FPSoftware folder, then find the old ‘SeaMonkey.app’ there.
- Right-click the old SeaMonkey.app and click ‘Show Package Contents.’
- Open the Contents folder, then within that folder, open the Resources folder.
- Find the folder called plugins and copy it.
- Find the new ‘SeaMonkey.app’ file that you downloaded by searching in Finder under ‘This Mac’.
- Right-click the new ‘SeaMonkey.app’ and click ‘Show Package Contents.’
- Open the Contents folder, then within that folder, open the Resources folder.
- Paste in the plugins folder that you copied earlier.
- Go back outside of the new ‘SeaMonkey.app’ package and copy it.
- Open Flashpoint Infinity’s FPSoftware folder, then paste the ‘SeaMonkey.app’ file that you just copied. Replace the original file when prompted.
Apple Silicon Macs
To run Flashpoint on Macs with the new M1 chip, you’ll need to install Rosetta by following these instructions. Once you’ve done that, follow the instructions in the previous sections to get Flashpoint working.
Installing Java
To add support for Java games, you’ll need to install the Java Development Kit. Follow the steps below:
Microsoft Silverlight Mac Catalina Update
- Download JDK version 8u212 from here: https://github.com/frekele/oracle-java/releases/download/8u212-b10/jdk-8u212-macosx-x64.dmg
- Open the DMG file and run the installer. Follow the on-screen instructions to install the JDK.
Installing Wine
Running games in Wine is not yet supported, but we hope to add support for this in a future build. If you’d like to contribute to our efforts, you can download an installer here.
Using Flashpoint with Automator (optional)
You can start Flashpoint without having to click on StartFlashpoint.command by using Automator using the below steps:
- Choose File > New.
- Select ‘Application’, then click Choose.
- Drag the Run Shell Script action into your workflow.
- Enter open /Users/[YOUR USERNAME HERE]/Downloads/Flashpoint Infinity for Mac Beta/StartFlashpoint.command in the command field.
Technologies
Currently, only Flashpoint Infinity is available for Mac. However, as explained here, both PHP and Apache are included with MacOS. This means it should be fairly simple to create a Flashpoint Ultimate package for MacOS as well. Let us know in our Discord if you can help!
No equivalent to the Flashpoint Redirector currently exists for MacOS. MacOS also does not provide any native way to set per-application proxy settings. In Flashpoint for Mac, the proxy settings for each supported technology must be set separately. This rules out using the Flash projectors, since they do not have configurable proxy settings. In Flashpoint for Mac, all Flash games run in a browser.
The Flashpoint FAQ contains a list of all web game technologies (‘Platforms’) supported in the Windows version of Flashpoint. The Mac version currently supports a small subset of these platforms. This is explained in detail below. The list of supported platforms includes an unscientific estimate of the percentage of games supported by our method.
Microsoft Silverlight Mac Catalina 2019
Supported Platforms
- Flash: Supported using the SeaMonkey web browser, with a Flash plugin included. Games that use a Flash Player version other than 32 are not yet supported.
95% of games supported.
Shockwave: Supported with SPR for Mac. Because LeechProtectionRemovalHelp is only available for Windows, the majority of Shockwave games will not work properly.
- Requires a 32-bit compatible OS; Catalina is not supported.
30% of games supported.
99% of games supported.
Java Applets: Supported natively using the JDK. Java in the browser is not supported yet.
99% of games supported.
Unsupported Platforms
- Unity Web Player: Has not been attempted yet. We would need to track down the Mac builds of all 12 versions of Unity Web Player that we support on Windows. Needless to say, this would be a huge challenge.
- PopCap Plugin: As far as we know, there is no version of PopCap Plugin for modern Macs.
- Authorware Web Player: Authorware is incompatible with all Intel Macs.
- GoBit Plugin: As far as we know, there is no version of GoBit Games Plugin for modern Macs.
- Silverlight: Silverlight for Mac is available here, but as explained in this StackExchange answer, Microsoft Silverlight for Mac is 32-bit only, even though the Windows version has 64-bit and 32-bit versions. This is a problem because no major browser for MacOS has a 32-bit version, and MacOS Catalina drops support for 32-bit programs entirely. As such, Silverlight is unusable on Mac.
- 3DVIA Player: As far as we know, there is no version of 3DVIA Player for modern Macs.
- 3D Groove GX: 3D Groove is incompatible with all Intel Macs.
- ActiveX: ActiveX is a Windows-only technology.
- ShiVa3D: The Windows version of the ShiVa3D Player is available in the free ShiVa Web Edition; this is where we obtained it. However, no Mac version of the ShiVa Web Edition is currently available, so we haven’t been able to find a Mac version of the ShiVa3D Player. It’s possible that we could extract a Mac version of the player from a Mac version of a ShiVa3D game. Or maybe we could obtain the Mac runtime from the Windows version of ShiVa3D Web Edition, since it has the capability of publishing for Mac.
Microsoft Silverlight Mac Catalina Download
Launcher Issues
A number of Flashpoint Launcher issues affect the experience of using Flashpoint Launcher on MacOS. Unfortunately, none of our Launcher developers currently have access to a Mac, so updates for the Mac version of Flashpoint Launcher will not be available in the foreseeable future. We will be unable to release a Mac version of Flashpoint 7.0 until a new version of the Launcher is built for MacOS. If you have access to MacOS and are able to build Flashpoint Launcher, please let us know!
The current issues with the Mac version of Flashpoint Launcher are listed below.
- Errors are shown in the log when services are missing from the services.json . These services are unnecessary for Flashpoint on Mac, so the errors can be ignored.
- Flashpoint Launcher cannot find its own Version file, even if it is present in the Launcher’s folder and app package.
- The Theme dropdown menu on the Config tab does not work properly. To select a theme, you must manually type the path to the theme’s CSS file.
- A popup appears if the user attempts to start a Windows executable from Flashpoint. This popup tells the user to install Wine, and points them to the Linux Support page, even though the Launcher is running on Mac.
- If a shell script is specified in execs.json as an alternative to a batch script, the Launcher will attempt to launch the shell script defined for Linux, even if a different shell script is defined for Darwin (MacOS).
- Flashpoint Launcher attempts to load the hidden resource forks of certain files as separate files. These files are not visible in the MacOS Finder, and have filenames beginning with ._ .
- If any Platform XML has a resource fork, all of the Platform XMLs will fail to load, causing a ‘No games found’ error.
- If any localization JSON file has a resource fork, a ‘NotValidJSON’ error will appear in the logs.
- When Wine is started from Flashpoint Launcher, it uses >70% CPU for several minutes without ever starting the intended executable. This is despite Wine working fine when started from the terminal. This issue needs to be investigated and solved before Flashpoint can support launching games through Wine.
- By default, Flashpoint Launcher will attempt to read and modify config.json and preferences.json inside its own app package. Since Mac applications are not allowed to modify their own app packages, this will fail. For this reason, Flashpoint Launcher must be opened with a shell script command StartFlashpoint.command . This script sets the current directory to the Flashpoint Launcher folder so that the Launcher accesses the config.json and preferences.json in the correct location. However, this unusual way of opening the Launcher may be the cause of the previously mentioned Wine bug.
Other Notes
- Some keyboard controls such as the spacebar or WASD keys may not work in some games. This is a known problem with the NPAPI Flash plugin on MacOS. We plan to resolve this problem in the next build of Flashpoint for Mac by using the PPAPI plugin instead.
- Flash games with URLs pointing to filenames with special characters will not work. This is because nosamuEmbedSWF.sh does not properly handle special characters when it converts URLs to paths, so it cannot copy the game’s HTML to the correct location in htdocs .
- Some Shockwave games may not close when you quit them from the menu. If this occurs, click inside the Message Window next to the game. Then type quit and press Enter to close the game.
- Flashpoint for Mac uses exec mappings to determine what native executable to run based on the specified Windows application path. For example, flashplayer_32_sa.exe is mapped to nosamuEmbedSWF.sh for MacOS. To add more exec mappings, navigate to Flashpoint’s Data folder and open execs.json in a text editor. The exec mappings use ‘darwin’ to refer to MacOS.
- Flashpoint for Mac uses swfbbox to determine the width and height of an SWF file. swfbbox is part of the swftools homebrew package. To install swftools , first install homebrew. Then type brew install swftools in the terminal.
- Flashpoint for Mac requires that PHP and cURL are enabled on your system. These components should be enabled by default.
Packaging Flashpoint for Mac
Here are some steps to keep in mind when packaging Flashpoint for Mac. This assumes that you are using the current package as a base and modifying it.
Источник