Skip to content

Windows: support vanilla bootstrap - #2316

Merged
flyinghead merged 1 commit into
flyinghead:devfrom
vkedwardli:feat/windows-build-script
Apr 15, 2026
Merged

flyinghead merged 1 commit into
flyinghead:devfrom
vkedwardli:feat/windows-build-script

Conversation

@vkedwardli

Copy link
Copy Markdown
Collaborator

Condensed log for the script on a vanilla Windows machine:

Visual Studio Community 2022 with Desktop development for C++ is required.
Install it now? This may show a Windows administrator prompt. [y/N]: y
Downloading Visual Studio Community 2022 bootstrapper...
Installing Visual Studio Community 2022. This can take a while.

Git submodules are missing.
Initialized empty Git repository in C:/Users/Admin/Downloads/flycast-master/.git/
From https://github.com/flyinghead/flycast
 * branch              master     -> FETCH_HEAD
HEAD is now at ad03e10 i18n: protect tinygettext log info set with mutex
Submodule path 'core/deps/glslang': checked out ...

Generating Visual Studio 2022 x64 project...

-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Admin/Downloads/flycast-master/build
Visual Studio project generated.

Opening:
C:\Users\Admin\Downloads\flycast-master\build\flycast.sln

Build and run in Visual Studio:
Once the project opens in Visual Studio, press F5 to build, run, and debug.
If Visual Studio stops on 0xC0000005, uncheck "Break when this exception type is thrown".

@flyinghead
flyinghead merged commit a3373af into flyinghead:dev Apr 15, 2026
19 checks passed
Immersion95 added a commit to Immersion95/flycast that referenced this pull request May 9, 2026
* added in-ram savestates (flyinghead#2252)

* readme: add packaging status (flyinghead#2266)

[ci skip]

* android: update project

* Touch screen emulation for Fish Life

Issue flyinghead#2234

* rend: Detect game FPS and adjust gl/dx swap interval

Detect games running at 30 FPS and double the opengl or directx 9/11
swap interval.
Issue flyinghead#520

* i18n: update pot

* missing localizable string

* i18n: update pot

* ui: make game filter match both filename and game title

* no swap interval support in dx9. Fix rounding of refresh rate on windows

DX9 windowed mode only supports a swap interval of one (and immediate).
Windows reports a refresh rate of 59.94 Hz or 119.98 Hz, which is
rounded down by SDL. This causes the calculated swap interval for 30 FPS
to be less than 2 (for 60 Hz).
Issue flyinghead#520

* sdl: test code leftover

[ci skip]

* Crowdin Translations (flyinghead#2273)

* android: google auto backup support

When enabled, all .cfg and all files in data except savestates are
backed up. Only the direct children of data are considered so boxart,
wwwcache, texdump, etc. are excluded.

* http: allow req and resp headers with GET. 30 s timeout. linux tests

Add http::get function with request and response header params.
Set a 30 s connection timeout for all http requests (except on macOS).
Linux tests with postb.in

* cheat: segfault accessing config db in destructor

* don't allocate memory when logging

Can lead to deadlock if crash happens in malloc/free

* win32 build fix

* modem: proper support of V.42 RNR

[ci skip]

* New translations strings.xml (Turkish)
New translations for {languageName}

* Language Picker

* emu: add locale change event. Simplify i18n UI

* ui: handle language change for Controls tab

lua update

* ui: don't call i18n in static init. msvc utf-8 source option

Don't call i18n::T in static init to avoid potential static init order
issue. Tentative fix for Issue flyinghead#2285
Call i18n::init() in i18n::reloadLanguage()

Set source files to utf-8 for MSVC

* Update imgui backends

* Load font based on locale priorities: CJK > User Locale > Other Locale, remove all glyph ranges

* Font weight/size tuning

* imgui: upgrade to 1.92.6

* Add freetype lib

* refactor font loading system to support weights, better CJK fallback, dynamic font file path from fontconfig for linux

* Replace `largeFont` with `uiLargeFontSize()` and/or `boldFont`

* Android: 32-bit unicode support

* Reject COLRv1 fonts (latest Fedora and possibly some Androids)

* gui_font.cpp

* Temp fix for C++17 and C++/CX

* i18n: update flycast.pot

* more robust elf loading

Fixes MINIDUMP-8G9 MINIDUMP-8NH

* rend: clamp config::PerPixelLayers to avoid shader compile errors

Make sure shaders/pipelines are reset when config changes.
Fixes MINIDUMP-8SY

* naomi: hide implementation details. no functional change

* pvr: avoid crash on invalid poly params

Fixes MINIDUMP-8PX

* ui: replace NULL by nullptr. No functional change

* clubk: set correct node type (disabled/master/slave) and car#

* dx11 build fix

* dricas auth bypass cheat for Rune Jade

[ci skip]

* Crowdin Translations (flyinghead#2291)

[ci skip]

* macOS: Use MAP_JIT from now on

* i18n: protect tinygettext log info set with mutex

Log functions can be called concurrently by multiple threads (game
loader, main, ...)
Fixes MINIDUMP-8WR

* generic dricas auth bypass for WinCE games

Intercept the GetProcAddress call and replace the function with an empty
but successful stub.
[ci skip]

* Crowdin Translations: Spanish, Swedish

* add Pause feature

[ci skip]

* macOS: support vanilla macOS bootstrap and update Vulkan SDK install

* deps: update Vulkan-Headers and VulkanMemoryAllocator

* Fetch translations & Recreate libretro_core_options_intl.h

* Add support for libretro VFS (and file IO indirection in general). (flyinghead#2299)

* Use custom file IO callbacks for libraries: libzip, 7zip, libchdr, and stb_image.
* Add file IO indirection.
* Add libretro VFS implementation.

---------

Co-authored-by: Clownacy <[email protected]>

* imgui: g.Font used instead of g.FontBaked

Fixes MINIDUMP-8WK

* Force PAL for Evil Twin - Cyprien's Chronicles

Issue flyinghead#2048

* samba: round/clamp/bias analog axis values as needed by the game

Issue flyinghead#2282

* chd: fix use-after-free crash when chd_open_file fails

chd_open_file (almost) always closes the passed file even in case of
error.
Fixes MINIDUMP-8ZK

* input: close all gamepads/keyboards/mice when terminating

Failure to do so may cause a static deinit order error on exit.
android: use AKEYCODE_ and AMOTION_EVENT_ system constants

* rend: make transform_matrix.cpp

* Windows: support vanilla bootstrap (flyinghead#2316)

[ci skip]

* docs: clarify download channels and desktop build scripts

* fix explicit template instantiations

* dx9 build fix

* rend: fix clipping with vscale>1. Get rid of scissor matrix

Fix framebuffer clipping when scale>1 (Stretched PAL). Issue flyinghead#728
Get rid of ScissorMatrix.
Don't scale framebuffer clipping rect in full FB emu.
Refactor rend_context. Use Rect and ivec2.

* Fetch translations & Recreate libretro_core_options_intl.h

* UI: Add option to discard video and animated textures during dump (flyinghead#2318)

ui: add option to discard video and animated textures during dump
Implement a filter to prevent flooding the texture dump directory with
thousands of redundant frames from FMVs or procedural effects.
- Add a single 'Discard Video and Animated Textures' option (enabled by default).
- Filter logic: skip dumping if the texture was already updated (Updates > 1)
  or if it uses the YUV format (video).
- Update UI in Advanced settings, French translations, and i18n template.

* macOS: allow building without vulkan

* win32: init winsock in main()

* rend: simplify scissor/dimensions handling. reduce code duplication

Fix regression with split-screen multi render in Quake 3. Caused by
aef3d2d.
Move duplicated code into transform_matrix. Handle framebuffer
dimensions/clipping scaling depending on render mode (Full FB emu, copy
RTT to vram).
Handle RTT and screen render similarly when possible.
[ci skip]

* Crowdin Translations (flyinghead#2319)

* Fetch translations & Recreate libretro_core_options_intl.h

* force real BIOS for MIL-CDs

Issue flyinghead#2321

* i18n: update flycast.pot

[ci skip]

* Crowdin Translations (Turkish)

* Fetch translations & Recreate libretro_core_options_intl.h

* Fetch translations & Recreate libretro_core_options_intl.h

* Crowdin Translations (flyinghead#2329)

[ci skip]

* android: update project

* flash: fix netmask for bomberman BBA

* dricas auth cheat for Nettou Golf. various minor changes

---------

Co-authored-by: eadmaster <[email protected]>
Co-authored-by: scribam <[email protected]>
Co-authored-by: Flyinghead <[email protected]>
Co-authored-by: flyinghead <[email protected]>
Co-authored-by: Edward Li <[email protected]>
Co-authored-by: vkedwardli <[email protected]>
Co-authored-by: github-actions[bot] <[email protected]>
Co-authored-by: Clownacy <[email protected]>
Co-authored-by: Clownacy <[email protected]>
Co-authored-by: Marc Gardent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants