Skip to content

Releases

rexbox v0.0.33

Choose a tag to compare

@github-actions github-actions released this 23 Nov 16:32
af36e2f

rexbox v0.0.33

이전 릴리스 v0.0.32 이후의 변경입니다(issue #91). D3D8 표시 단계에 화면 셰이더(libretro GLSL)가 생겼습니다. repsp v0.0.24의 기능을 옮긴 것으로, 내장 crt, scanline, fsr, scalefx, anime4k와 사용자 .glsl/.glslp, #pragma parameter를 지원합니다.

issue

issue 내용 커밋
#91 PresentRenderTarget의 후처리 pass(SMAA, 감마 램프 뒤, 맞춘 사각형에), GL 없는 목록·preset·소스 조립, 제어 계약 include/rexbox/hle/d3d8/d3d8_post_shader.h(ResolvePostShaderDirectory, ChoosePostShader 포함), rexbox_post_shader_probe(93 checks), 안내 docs/guides/post-process-shaders.md, 고지 d2a3b19, 3653b67, 9294f57

소비자가 할 일

  • 코드 변경은 필요 없다. 셰이더를 고르지 않으면 표시 GL 호출이 이전과 같다.
  • 셰이더를 쓰려면 앱이 SetPostShaderDirectory, SetInitialPostShader를 장치 생성 전에 부르고, 메뉴는 오버레이 빌더 안에서 GetPostShaderControl()을 쓴다(reexec/reEXCEED#20 참고).
  • 고지: re2DJ(BSD 3-Clause), FSR 1.0·ScaleFX·Anime4K(MIT)가 THIRD_PARTY_NOTICES.md에 있다.

확인한 것

구성 확인
reEXCEED Win32 x86 Release·Debug 경고 0, CTest 9/9, rexbox_post_shader_probe 93 checks 0 failures
reEXCEED 창 crt 등 셰이더가 똑바로 적용되고 오버레이는 셰이더 밖, 60 fps. 사용자 확인

이 변경은 Antigravity가 구현하고 Claude가 설계·검토·검증했습니다.


rexbox v0.0.33 (English)

The changes since v0.0.32 (issue #91). D3D8 presentation gains screen shaders (libretro GLSL), moved from repsp v0.0.24: the built-ins crt, scanline, fsr, scalefx and anime4k, user .glsl/.glslp files and #pragma parameter.

Issue #91 (d2a3b19, 3653b67, 9294f57):

  • the post-processing pass in PresentRenderTarget (after SMAA and the gamma ramp, into the fitted rectangle);
  • the GL-free catalog, preset and source assembly;
  • the control contract include/rexbox/hle/d3d8/d3d8_post_shader.h, with ResolvePostShaderDirectory and ChoosePostShader;
  • rexbox_post_shader_probe (93 checks), the guide docs/guides/post-process-shaders.md, and the notices.

For consumers:

  • No code change is needed. With no shader chosen, the presentation GL calls are as before.
  • To use shaders, the app calls SetPostShaderDirectory and SetInitialPostShader before the device is created, and its menu uses GetPostShaderControl() inside the overlay builder (see reexec/reEXCEED#20).
  • Notices for re2DJ (BSD 3-Clause) and FSR 1.0, ScaleFX and Anime4K (MIT) are in THIRD_PARTY_NOTICES.md.

Verified in reEXCEED:

  • Win32 x86 Release and Debug with 0 warnings, CTest 9/9, rexbox_post_shader_probe with 93 checks and 0 failures.
  • In the window, shaders such as crt apply upright with the overlay unshaded at 60 fps; checked by the user.

Implemented by Antigravity; designed, reviewed and verified by Claude.

rexbox v0.0.32

Choose a tag to compare

@github-actions github-actions released this 23 Nov 16:27
67eaabc

rexbox v0.0.32

이전 릴리스 v0.0.31 이후의 변경입니다(issue #89). 창에서 F10을 누르면 게스트 스레드 보고를 한 번 출력합니다. 그림은 계속 나오는데 스레드 하나만 멈춘 경우를, 호출마다 기록하는 진단 없이 볼 수 있습니다.

issue

issue 내용 커밋
#89 F10 → stall 모니터 스레드가 ReportGuestThreads 출력, 플랫폼 계약 ConsumeThreadReportRequest(). REXBOX_STALL_REPORT=0은 present 정지 보고만 끈다 b2a401f

소비자가 할 일

  • 코드 변경은 필요 없다. 플랫폼 계층을 직접 구현하는 소비자는 platform::ConsumeThreadReportRequest()를 더해야 한다(SDL 백엔드는 rexbox에 있다).
  • REXBOX_STALL_REPORT=0이어도 모니터 스레드가 하나 돈다(100 ms마다 깨어남).

확인한 것

구성 확인
reEXCEED Win32 x86 Release·Debug 경고 0, CTest 7/7(rexbox probe 4개 포함). F10으로 스레드 보고가 나왔고, 이 보고로 음악 무음의 원인(reexec/reEXCEED#9)을 찾았다

이 변경은 사용자 결정으로 Claude가 설계·구현·검증했습니다.


rexbox v0.0.32 (English)

The changes since v0.0.31 (issue #89). F10 in the window prints the guest thread report once, so a thread that stops while the picture goes on can be inspected without per-call logging.

Issue: #89, F10 makes the stall monitor thread print ReportGuestThreads, through the platform contract ConsumeThreadReportRequest(); REXBOX_STALL_REPORT=0 now turns off only the no-present report (b2a401f).

For consumers: no code change is needed. A consumer with its own platform layer must add platform::ConsumeThreadReportRequest() (rexbox has the SDL backend). With REXBOX_STALL_REPORT=0 one monitor thread still runs, waking every 100 ms.

Verified in reEXCEED: Win32 x86 Release and Debug with 0 warnings, CTest 7/7 (including rexbox's four probes); F10 printed the thread report, which found the cause of the silent music (reexec/reEXCEED#9).

Designed, implemented and verified by Claude, by the user's decision.

rexbox v0.0.31

Choose a tag to compare

@github-actions github-actions released this 22 Nov 16:57
3fd4991

rexbox v0.0.31

이전 릴리스 v0.0.30 이후의 변경입니다(issue #87). 타이틀 코드가 커널 대기가 아닌 대기를 알릴 수 있습니다. 그 대기 동안 게스트 잠금이 내려가고, stall 보고에 대기로 나타납니다.

issue

issue 내용 커밋
#87 rexbox_guest_wait_begin/rexbox_guest_wait_end(C API), kernel probe 확인 3개 245ed3f

소비자가 할 일

  • 코드 변경은 필요 없다. 새 함수를 쓰는 소비자만 부르면 된다. reexec/reCT3#52가 CRI safe thread 핸드셰이크에 쓴다.

확인한 것

구성 확인
rexbox Release 경고 0, CTest 4/4, kernel probe 106 checks
reCT3 숨긴 데모 48번에서 교착 0(수정 전 48번 중 1번), 주행 정상

이 변경은 Antigravity가 구현하고 Claude가 설계·검토·측정했습니다.


rexbox v0.0.31 (English)

The changes since v0.0.30 (issue #87). Title code can announce a wait that is not a kernel wait: for its length the guest locks are put down, and the stall report shows it as a wait.

Issue: #87, rexbox_guest_wait_begin/rexbox_guest_wait_end (C API) and three kernel probe checks (245ed3f).

For consumers: no code change is needed; only a consumer that wants the new functions calls them. reexec/reCT3#52 uses them for CRI's safe-thread handshake.

Verified: rexbox Release with 0 warnings, CTest 4/4, kernel probe 106 checks; reCT3: no deadlock in 48 hidden demo runs (one in 48 before the fix), drives fine.

Implemented by Antigravity; designed, reviewed and measured by Claude.

rexbox v0.0.30

Choose a tag to compare

@github-actions github-actions released this 08 Nov 15:33
682cdaf

rexbox v0.0.30

이전 릴리스 v0.0.29 이후의 변경입니다(issue #83). 새 텍스처를 만들 때의 멈춤이 사라집니다. 2D 텍스처의 저장소를 glTexStorage2D로 한 번에 정하고, 데이터는 sub-image로 올립니다. 레벨마다 glTexImage2D/glCompressedTexImage2D로 정하던 예전 경로는 작은 DXT 텍스처 하나에 3~14 ms를 쓰기도 했습니다.

issue

issue 내용 커밋
#83 느린 프레임의 단계별 시간·양·oncpu(정밀 스레드 CPU 시간), 텍스처 저장소를 미리 정함 ef357d5, 926a76d

소비자가 할 일

  • 코드 변경은 필요 없다. glTexStorage2D가 없는 호스트와 3D 텍스처는 예전 경로를 쓴다.
  • 플랫폼 계층을 직접 구현하는 소비자는 platform::ThreadCpuPreciseNanoseconds()를 더해야 한다(Win32, Linux는 rexbox에 있다).

확인한 것

구성 확인
rexbox CTest 4/4
reCT3 Win32 x86 Release CTest 7/7. 주행 중 느린 프레임(20 ms 넘음) 189 → 80·54, 느린 프레임의 텍스처 GL 시간 190.7 ms → 0.1 ms. 캡처 정상

이 변경은 Antigravity가 구현하고 Claude가 설계·검토·측정했습니다.


rexbox v0.0.30 (English)

The changes since v0.0.29 (issue #83). Making new textures no longer stalls. 2D textures get their storage at once with glTexStorage2D and their data through sub-image calls; the old path, defining each level with glTexImage2D/glCompressedTexImage2D, sometimes spent 3–14 ms on one small DXT texture.

Issue: #83, per-phase time, volume and oncpu (precise thread CPU time) in slow frames, and texture storage up front (ef357d5, 926a76d).

For consumers: no code change is needed. Hosts without glTexStorage2D and 3D textures use the old path. A consumer with its own platform layer must add platform::ThreadCpuPreciseNanoseconds() (rexbox has Win32 and Linux).

Verified: rexbox CTest 4/4; reCT3 Win32 x86 Release, CTest 7/7. Driving slow frames (over 20 ms) fell from 189 to 80 and 54, and the texture GL time in slow frames from 190.7 ms to 0.1 ms; captures were correct.

Implemented by Antigravity; designed, reviewed and measured by Claude.

rexbox v0.0.29

Choose a tag to compare

@github-actions github-actions released this 08 Nov 14:34
baa3b05

rexbox v0.0.29

이전 릴리스 v0.0.28 이후의 변경입니다(issue #80, #81). REXBOX_D3D8_SLOW_FRAME의 느린 프레임 보고가 무엇에 시간을 썼는지 더 자세히 보여 줍니다. reexec/reCT3#41(프레임 페이싱)의 진단 기능입니다.

issue

issue 내용 커밋
#80 present하는 스레드의 대기(커널 대기, 임계 구역, 호스트 게스트 잠금)와 파일 읽기를 느린 프레임 줄에 붙임 6793062
#81 느린 프레임 아래에 텍스처 업로드마다(이유, 크기, 디코딩·GL 시간)와 새 프로그램마다(첫 draw, setup, 만든 방법) 한 줄 ebecbc5

소비자가 할 일

  • 코드 변경은 필요 없다. REXBOX_D3D8_SLOW_FRAME을 켰을 때만 모으고, 기본 경로는 플래그 하나를 본다.

확인한 것

구성 확인
rexbox CTest 4/4
reCT3 Win32 x86 Release 경고 0, CTest 7/7. 주행에서 로딩 프레임의 파일 읽기, 프로파일 보고 쓰기가 만드는 가짜 멈춤, 주행 중 업로드가 작은 원인임을 확인

이 기능은 Antigravity가 구현하고 Claude가 설계·검토·측정했습니다.


rexbox v0.0.29 (English)

The changes since v0.0.28 (issues #80, #81). REXBOX_D3D8_SLOW_FRAME's slow-frame report shows in more detail what a long frame spent its time on. These are diagnostics for reexec/reCT3#41 (frame pacing).

Issues: #80, the presenting thread's waits (kernel waits, critical sections, host guest locks) and file reads on the slow-frame line (6793062); #81, one line under a slow frame per texture upload (reason, size, decode and GL time) and per new program (first draw, setup, how it was made) (ebecbc5).

For consumers: no code change is needed. The data is collected only with REXBOX_D3D8_SLOW_FRAME set; the default path checks one flag.

Verified: rexbox CTest 4/4; reCT3 Win32 x86 Release with 0 warnings and CTest 7/7. In drives it showed the loading frames' file reads, the artifact stalls of writing the profile's reports, and that uploads are a small cause during driving.

Implemented by Antigravity; designed, reviewed and measured by Claude.

rexbox v0.0.28

Choose a tag to compare

@github-actions github-actions released this 07 Nov 02:37
f552fac

rexbox v0.0.28

이전 릴리스 v0.0.27 이후의 변경입니다(issue #78). 모든 draw가 정점 배열(VAO) 하나를 씁니다. 캐시된 정점 구간마다 VAO를 두던 방식(#23)은, 밀집 장면에서 드라이버가 VAO마다 검증하는 비용 때문에 프레임당 수 ms를 썼습니다.

issue

issue 내용 커밋
#78 구간별 VAO를 걷어내고 스트림 VAO 하나로 그림. 실험 스위치로 두 방식을 비교한 뒤 결정 198d97c, 158477e

소비자가 할 일

  • 코드 변경은 필요 없다. 설정도 없다(실험 스위치 REXBOX_GL_VAO는 결정 뒤 걷어냈다).

확인한 것

구성 확인
rexbox CTest 4/4, Python 테스트 6/6
reCT3 Win32 x86 Release 경고 0, CTest 7/7. 밀집 주행 구간(draw 12301300) 59.259.3 fps, cpu 8.38.9 ms/프레임, GL 0.9 ms/프레임(전에는 5457 fps, cpu 12.714.3 ms, GL 4.14.6 ms)

이 변경은 Antigravity가 구현하고 Claude가 설계·검토·측정했습니다.


rexbox v0.0.28 (English)

The changes since v0.0.27 (issue #78). Every draw uses one vertex array (VAO). The VAO per cached vertex range (#23) cost several ms per frame in dense scenes, because the driver validates each VAO.

Issue: #78, the per-range VAOs are removed and draws go through the one stream VAO, decided after comparing both with an experiment switch (198d97c, 158477e).

For consumers: no code change and no setting. The experiment switch REXBOX_GL_VAO was removed after the decision.

Verified: rexbox CTest 4/4 and Python tests 6/6; reCT3 Win32 x86 Release with 0 warnings and CTest 7/7. In the dense driving stretches (1230–1300 draws) the game ran at 59.2–59.3 fps with 8.3–8.9 ms of CPU and 0.9 ms of GL per frame, against 54–57 fps, 12.7–14.3 ms and 4.1–4.6 ms before.

Implemented by Antigravity; designed, reviewed and measured by Claude.

rexbox v0.0.27

Choose a tag to compare

@github-actions github-actions released this 06 Nov 17:51
12eddbe

rexbox v0.0.27

이전 릴리스 v0.0.26 이후의 변경입니다(issue #76). REXBOX_GL_CALLS=time으로 프레임당 GL 드라이버 시간을 진입점별로 잽니다. reexec/reCT3#41(밀집 장면의 CPU 비용)의 크기를 재는 진단 기능입니다.

issue

issue 내용 커밋
#76 REXBOX_GL_CALLS=time: GL 호출마다 시간을 재고, 프로파일 창마다 gl time 줄(합계, 호출 수, 타이머 추정치, cpu 대비 비율, 진입점 16개)을 출력 6e553d7

소비자가 할 일

  • 코드 변경은 필요 없다. 변수를 켰을 때만 동작하고, REXBOX_GL_CALLS=1은 지금처럼 횟수만 센다.

확인한 것

구성 확인
rexbox CTest 4/4, Python 테스트 6/6
reCT3 Win32 x86 Release 경고 0, CTest 7/7. 주행에서 밀집 장면(1584 draw)의 GL 시간 7.44 ms/프레임 중 glBindVertexArray가 6.66 ms

이 기능은 Antigravity가 구현하고 Claude가 설계·검토했습니다.


rexbox v0.0.27 (English)

The changes since v0.0.26 (issue #76). REXBOX_GL_CALLS=time measures the GL driver time per frame by entry point. It is a diagnostic for sizing reexec/reCT3#41 (the CPU cost of dense scenes).

Issue: #76, REXBOX_GL_CALLS=time times every GL call, and each profile window prints a gl time line with the total, the number of calls, the timer estimate, the share of cpu and 16 entry points (6e553d7).

For consumers: no code change is needed. It works only when the variable is set, and REXBOX_GL_CALLS=1 still counts calls only.

Verified: rexbox CTest 4/4 and Python tests 6/6; reCT3 Win32 x86 Release with 0 warnings and CTest 7/7. In a drive, glBindVertexArray took 6.66 ms of the 7.44 ms of GL time per frame in a dense scene (1584 draws).

Implemented by Antigravity, designed and reviewed by Claude.

rexbox v0.0.23

Choose a tag to compare

@github-actions github-actions released this 04 Nov 16:56
25587f7

rexbox v0.0.23

이전 릴리스 v0.0.22 이후의 변경입니다(issue #62~#64). 로딩 화면을 다른 스레드에서 그리는 타이틀(reexec/reEXCEED의 Pump It Up: Exceed)이 창을 띄운 채 멈추지 않습니다.

issue

issue 내용 커밋
#62 창 제목과 이벤트 펌프는 창을 만든 스레드에서만(Windows의 교차 스레드 SetWindowTextW 교착) 9e2fa23
#63 RtlLeaveCriticalSection이 첫 대기자에게 소유권을 넘긴다(재진입을 반복하는 스레드가 대기자를 굶기지 않음) b61f4ea
#64 GetVideoMemoryInfo의 GL 오류 비우기에 상한(GL 컨텍스트가 없는 스레드에서 끝나지 않던 루프) a0744fb

소비자가 할 일

  • 코드 변경은 필요 없다.
  • 다른 스레드의 present가 바꾼 창 제목(FPS)은 창을 만든 스레드가 다음에 present하거나 펌프할 때 보인다.
  • 다른 스레드의 PumpDisplayEvents는 아무것도 하지 않는다.
  • 임계 구역은 대기 순서대로 넘어간다.

알려진 한계

  • GL 컨텍스트는 디스플레이를 만든 스레드에서만 current다. 두 번째 게스트 스레드의 GL 작업은 효과가 없다(#65).
  • Windows의 stall 보고에는 호스트 스택이 없다.

확인한 것

구성 확인
Win32 x86 Debug·Release(reEXCEED 트리) 오류 0, 경고 0, CTest 7/7(probe recomp, kernel, dsound, d3d8 포함)
reEXCEED(창 표시, 오디오, 키보드) 타이틀에서 START → SELECT MODE → 곡 선택 → 난이도 선택, 120초 동안 멈춤 없음

rexbox v0.0.23 (English)

The changes since v0.0.22 (issues #62–#64). A title that draws its loading screen from another thread (Pump It Up: Exceed in reexec/reEXCEED) no longer stops with the window shown.

Issues:

  • #62: the window title and the event pump only on the window's thread, which fixes a cross-thread SetWindowTextW deadlock on Windows (9e2fa23).
  • #63: RtlLeaveCriticalSection hands the section to the first waiter, so a thread that re-enters in a loop no longer starves it (b61f4ea).
  • #64: a bound on the GL error drain in GetVideoMemoryInfo, which never ended on a thread without the GL context (a0744fb).

For consumers: no code change is needed. A window title (frame rate) set by a present on another thread shows at the window thread's next present or pump. PumpDisplayEvents does nothing on other threads. Critical sections pass in waiting order.

Known limits:

  • The GL context is current only on the thread that created the display, so a second guest thread's GL work has no effect (#65).
  • The Windows stall report has no host stacks.

Verified:

  • Win32 x86 Debug and Release (in the reEXCEED tree): 0 errors and 0 warnings, CTest 7/7 (with the recomp, kernel, dsound and d3d8 probes).
  • reEXCEED (window shown, audio, keyboard): START at the title → SELECT MODE → song select → difficulty select, with no stop in 120 s.

rexbox v0.0.22

Choose a tag to compare

@github-actions github-actions released this 04 Nov 16:54
b77dab0

rexbox v0.0.22

이전 릴리스 v0.0.21 이후의 변경입니다(issue #49~#58, #60). XDK 5849의 LTCG 타이틀(reexec/reEXCEED의 Pump It Up: Exceed)이 부팅해 시작 동영상과 타이틀 화면까지 그립니다.

issue

issue 내용 커밋
#49 커널 데이터 export XeImageFileName, KernelConfig::image_file_name, DataExportAddress 3748866
#50 D3D8LTCG 레지스터 규약 변형: Direct3D_CreateDevice_4__LTCG_eax1_ecx3, 표 기반 어댑터 12개 f49d055, b1d9cd4
#51 타이틀이 직접 쓰는 디바이스 푸시 버퍼, MakeRequestedSpace/KickOff b1d9cd4
#52 커널: KeQueryPerformanceCounter/Frequency, XcHMAC, MmQueryStatistics, XcRC4Key/XcRC4Crypt 8c250fc
#53 XNET 오프라인: XNetStartup = WSAENETDOWN, XNetGetEthernetLinkStatus = 0 616ff96
#54 DSOUND 스트림(XMediaObject vtable, 패킷, 완료), HLE 메서드 합성 주소 0xFF000000 f3e00e2, b1cbfcd
#55 rexbox_dsound_apu_sample_count(): APU 전역 샘플 카운터 3a16fb2
#56 타이틀이 직접 닿는 D3D8 조회·정점 상수·DSOUND 보이스 export, 바인딩된 LTCG 정적 디바이스, Lock2DSurface LTCG 9a8f164, b1cbfcd
#57 HLE 스냅숏으로 하는 상태 블록 b1cbfcd
#58 YUY2/UYVY 텍스처, 캡처의 world/view 변환 82719c8, 84fbd7f
#60 XDK 5849 렌더 상태 배치, 없는 specular의 알파, LTCG가 쓰는 디바이스 변환 배열 9b46414

소비자가 할 일

  • 코드 변경은 필요 없다. KernelConfig::image_file_name은 기본값 default.xbe다. 실제로 불러온 XBE 이름을 넘기면 XeImageFileName이 그것을 가리킨다.
  • IsKernelThunkVa는 이제 0xFE000000 이상 0xFF000000 미만이다(0xFF000000~는 HLE 메서드 합성 주소, kHleMethodVaBase).
  • DirectSoundDoWork는 이제 스트림 완료를 전달한다(전에는 아무것도 하지 않았다).
  • 렌더 상태 배치: 4134보다 큰 deferred 블록을 받아들인다. 4134·4531 타이틀의 결과는 같다(d3d8 probe의 4531 검사 그대로).
  • 타이틀이 XDK 내부 변수 D3D_g_Device, D3DDevice__m_Transform_OFFSET, D3DRS_SampleAlpha를 바인딩하면 해당 동작이 켜진다(바인딩하지 않으면 전과 같다).

알려진 한계

  • 디바이스 푸시 버퍼의 NV2A 메서드 중 해석하지 않은 것이 남아 있다(보고만 한다).
  • 받기만 하는 설정이 있다: DSOUND 스트림의 mix bin·필터·피치 등, 출력(submix) 버퍼, D3D8 오버레이, 시저.
  • Debug 빌드에서 패드가 연결될 때 게스트 스레드에서 SDL_PumpEvents를 불러 SDL 단언에 걸린다(후속 issue).

확인한 것

구성 확인
Win32 x86 Debug·Release(reEXCEED 트리) 오류 0, 경고 0. probe: recomp 8, kernel 103, dsound 73, d3d8 234 검사, 실패 0
reEXCEED(Release, hidden, no audio) 120초 넘게 진행, 시작 동영상과 타이틀 화면

rexbox v0.0.22 (English)

The changes since v0.0.21 (issues #49–#58, #60). An XDK 5849 LTCG title (Pump It Up: Exceed in reexec/reEXCEED) boots and draws its opening movie and title screen.

Issues, as in the table above: #49 the kernel data export XeImageFileName with KernelConfig::image_file_name and DataExportAddress (3748866); #50 D3D8LTCG register-convention variants, Direct3D_CreateDevice_4__LTCG_eax1_ecx3 and twelve through a table-driven adapter (f49d055, b1d9cd4); #51 the device push buffer the title writes itself, MakeRequestedSpace/KickOff (b1d9cd4); #52 kernel KeQueryPerformanceCounter/Frequency, XcHMAC, MmQueryStatistics, XcRC4Key/XcRC4Crypt (8c250fc); #53 XNET offline (616ff96); #54 DSOUND streams and the HLE method synthetic addresses at 0xFF000000 (f3e00e2, b1cbfcd); #55 rexbox_dsound_apu_sample_count() (3a16fb2); #56 the D3D8 queries, vertex-constant and DSOUND voice exports a title reaches directly, the bound static LTCG device and Lock2DSurface LTCG (9a8f164, b1cbfcd); #57 state blocks as HLE snapshots (b1cbfcd); #58 YUY2/UYVY textures and the world/view transforms in captures (82719c8, 84fbd7f); #60 the XDK 5849 render-state layout, the absent specular's alpha and the device transform array LTCG writes (9b46414).

For consumers: no code change is needed. KernelConfig::image_file_name defaults to default.xbe; pass the XBE actually loaded for XeImageFileName to name it. IsKernelThunkVa now covers 0xFE000000 up to 0xFF000000 (from 0xFF000000 on are HLE method addresses, kHleMethodVaBase). DirectSoundDoWork now delivers stream completions (it did nothing before). The render-state layout accepts deferred blocks larger than 4134's; 4134 and 4531 titles get the same results (the d3d8 probe's 4531 checks are unchanged). Binding the XDK internals D3D_g_Device, D3DDevice__m_Transform_OFFSET and D3DRS_SampleAlpha turns their behavior on; without them nothing changes.

Known limits: some NV2A methods in the device push buffer are still only reported; some settings are accepted only (DSOUND stream mix bins, filters, pitch and the like, output (submix) buffers, the D3D8 overlay, scissors); in Debug builds a pad's arrival calls SDL_PumpEvents on a guest thread and trips an SDL assertion (a follow-up issue).

Verified: Win32 x86 Debug and Release (in the reEXCEED tree) with 0 errors and 0 warnings, probes recomp 8, kernel 103, dsound 73 and d3d8 234 checks with 0 failures; reEXCEED (Release, hidden, no audio) runs past 120 s and draws the opening movie and the title screen.

rexbox v0.0.21

Choose a tag to compare

@github-actions github-actions released this 03 Nov 01:47
bc21519

rexbox v0.0.21

이전 릴리스 v0.0.20 이후의 변경입니다(issue #46). CI와 릴리스 워크플로의 Linux x86 작업이 다시 패키지를 설치합니다. 2026-11-02부터 glib 2.80.0-6ubuntu3.10 때문에 설치가 멈춰, main의 CI가 실패하고 v0.0.17~v0.0.20의 GitHub Release가 만들어지지 않았습니다.

issue

issue 내용 커밋
#46 Linux x86 작업의 libglib2.0-dev:i386 설치 실패 i046-ci-glib-i386 브랜치

바뀐 것

  • ci.yml, release.yml: x86 작업이 i386 개발 패키지 전에 amd64 libglib2.0-dev-bin과 qemu-user를 설치한다. glib 3.10의 개발 파일은 python3 | qemu-user | qemu-user-static에 의존하는데, i386 패키지에서 이 python3는 i386 python3다. 목록을 한 번에 주면 apt가 그것을 골라 러너의 amd64 Python과 충돌하고 포기했다(작업 로그).
  • docs/guides/linux-setup-and-build.md: i386 설치에 같은 선행 설치.

소비자가 할 일

  • 코드 변경은 없다. submodule을 올려도 되고 그대로 두어도 된다.
  • 자기 CI나 Linux 기계에서 libpulse-dev:i386을 설치한다면 같은 선행 설치를 한다.

확인한 것

구성 확인
브랜치의 ci.yml 6개 작업 모두 통과

rexbox v0.0.21 (English)

Changes since v0.0.20 (issue #46). The Linux x86 jobs of CI and the release workflow install their packages again. Since 2026-11-02 glib 2.80.0-6ubuntu3.10 stopped the install, so CI on main failed and no GitHub Release was made for v0.0.17–v0.0.20.

Issue: #46, the Linux x86 jobs' libglib2.0-dev:i386 install failure (branch i046-ci-glib-i386).

Changes: ci.yml and release.yml install the amd64 libglib2.0-dev-bin and qemu-user before the i386 development packages in the x86 jobs. glib 3.10's development files depend on python3 | qemu-user | qemu-user-static, and for an i386 package that python3 is python3:i386; given the whole list at once apt took it, clashed with the runner's amd64 Python and gave up (work log). docs/guides/linux-setup-and-build.md adds the same step to the i386 install.

Consumers: no code changes; moving the submodule is optional. A consumer CI or Linux machine installing libpulse-dev:i386 needs the same first step.

Verified: the branch's ci.yml passes all six jobs.


이 릴리스에 함께 담는 이전 버전 / Earlier versions included in this release

v0.0.17~v0.0.20은 태그만 있고 GitHub Release가 없습니다. 그때 릴리스 워크플로의 Linux x86 작업이 실패했기 때문입니다(issue #46). 각 버전의 릴리스 노트를 아래에 그대로 싣습니다.

v0.0.17–v0.0.20 have tags but no GitHub Release, because the release workflow's Linux x86 jobs failed then (issue #46). Their release notes follow as they were.


rexbox v0.0.20

이전 릴리스 v0.0.19 이후의 변경입니다(issue #23 2차). 셰이더 프로그램 캐시를 표시 스레드가 vblank를 기다리는 시간에 미리 올립니다. 장면이 시작될 때 캐시에서 프로그램을 수십 개 불러오느라 생기던 끊김이 줄어듭니다(소비자 reCT3 운전 시작: 프로그램 74개 4042 ms → 45 ms). 긴 프레임 진단이 측정하는 프레임을 더 이상 늦추지 않습니다.

issue

issue 내용 커밋
#23 (2차, 열림) 긴 프레임 진단, 프로그램 캐시 미리 올리기 3fbf90c, b496593, 515fa4b, f844f01, c17f839

바뀐 것

  • 프로그램 미리 올리기(d3d8_gl_program_cache.*, d3d8_vblank.*, d3d8_device.cpp): 표시 스레드가 present나 BlockUntilVerticalBlank에서 잠들기 직전, 마감(다음 blank − 2 ms)까지 캐시의 프로그램을 최근에 쓴 순서로 만들어 둔다. 장면이 요청하면 바로 꺼낸다. 파일 읽기와 쓰인 항목의 파일 시각 갱신은 읽기 스레드가 한다. REXBOX_SHADER_WARM=<n>은 최대 n개(기본 1024, 0이면 끔)다(설계).
  • REXBOX_D3D8_SLOW_FRAME=<ms>(진단): 그 ms를 넘는 프레임의 단계, 텍스처 업로드 수·크기·시간, 프로그램 수·시간을 보고한다. 보고는 모아 600프레임마다 쓴다. 한 줄씩 바로 쓰면 그 쓰기(리디렉션된 파일로 7~35 ms)가 다음 프레임을 늘려 60 fps 타이틀이 30 fps에 갇혔다.
  • 프로파일의 프로그램 줄에 미리 올린 수와 시간을 더한다.
  • 문서: 설계 i023 미리 올리기, 작업 지시·작업 로그 i023(2차).

소비자가 할 일

  • submodule을 올린다. 공개 계약은 바뀌지 않았고 재생성도 필요 없다.
  • 프로그램 캐시 디렉터리(기본 cache/shaders)의 파일 수정 시각이 "최근 사용"으로 쓰인다. 캐시를 복사하거나 지울 때 참고한다.

확인한 것

구성 확인
소비자 reCT3 Win32 x86 Release(Ryzen 5 5600X, RTX 4090) 경고 0(생성 코드의 기존 D9025 제외), CTest 7/7
운전 진입, 켬/끔 번갈아 3쌍 장면 시작 프로그램 74개 45 ms 대 4042 ms, 최악 프레임 5051 ms 대 5861 ms, 부팅 구간 fps 같음, 멈춤 없음
진단 보고 있음/없음 모두 운전 59.8 fps

알려진 한계

  • 캐시에 없는 프로그램(처음 실행, 소스 변경)은 지금처럼 장면에서 컴파일된다.
  • 운전 시작 프레임의 텍스처 업로드(112개 15 ms, 가끔 56 ms)는 그대로다.
  • 디스크 캐시가 빈 첫 실행은 읽기 스레드 구조로 다시 재현하지 못했다.

rexbox v0.0.20 (English)

Changes since v0.0.19 (issue #23, second pass). The shader program cache is warmed while the presenting thread waits for the vertical blank, cutting the hitches of scenes that load dozens of cached programs at once (in the consumer reCT3 at the start of driving, 74 programs went from 40–42 ms to 4–5 ms). The long-frame diagnostic no longer delays the frames it measures.

Issue: #23 (second pass, still open): the long-frame diagnostic and program-cache warming (3fbf90c, b496593, 515fa4b, f844f01, c17f839).

Changes:

  • Program warming (d3d8_gl_program_cache.*, d3d8_vblank.*, d3d8_device.cpp): right before the presenting thread sleeps in a present or BlockUntilVerticalBlank, it makes cached programs, most recently used first, until a deadline (the next blank less 2 ms); a scene's request takes them at once. A reader thread reads the files and updates the file times of used entries. REXBOX_SHADER_WARM=<n> warms at most n (default 1024, 0 off) (design).
  • REXBOX_D3D8_SLOW_FRAME=<ms> (diagnostic): a frame over that many ms reports its phases, its texture uploads (count, size, time) and its programs (count, time). Reports are held and written every 600 frames; written one line at a time, the write (7–35 ms to a redirected file) lengthened the next frame and held a 60 fps title at 30 fps.
  • The profile's program line adds the programs warmed and their time.
  • Documents: the i023 warming design, the i023 work order and work log (second pass).

Consumers: move the submodule. The public contract is unchanged and no regeneration is needed. File modification times in the program cache directory (default cache/shaders) now mean "recently used"; keep that in mind when copying or clearing the cache.

Verified: consumer reCT3 Win32 x86 Release (Ryzen 5 5600X, RTX 4090) with 0 warnings (apart from the generated code's existing D9025) and CTest 7/7; three alternating on/off pairs into driving: 74 programs at the scene start in 4–5 ms against 40–42 ms, worst frame 50–51 ms against 58–61 ms, the same boot fps, no stops; driving at 59.8 fps with and without the diagnostic.

Known limits: programs missing from the cache (a first run, changed sources) are still compiled in the scene; the texture uploads of the driving-start frame (112 in 15 ms, sometimes 56 ms) are unchanged; a first run with a cold disk cache was not reproduced again with the reader thread.


rexbox v0.0.19

이전 릴리스 v0.0.18 이후의 변경입니다(issue #42, #43). render state로 쓴 combiner 상수를 픽셀 셰이더 상수로 쓰고, 다시 채워지지 않는 스트림 루프 버퍼를 기본 로그에 보고합니다.

issue

issue 내용 커밋
#42 render state로 쓴 combiner 상수(COMBINER_FACTOR0/1, 최종 상수) 4f3e5b8
#43 스트림 루프 버퍼 정지 보고, 게스트 스레드 상태와 호스트 콜스택 87e7017, 이 릴리스의 마지막 커밋

바뀐 것

  • D3D8: SetPixelShader 뒤에 render state로 쓴 COMBINER_FACTOR0/1(단계별)과 최종 combiner 상수가 그 단계의 c0/c1이 된다. 정의의 상수와 SetPixelShaderConstant보다 우선한다(설계 i042). d3d8 probe 220 → 223.
  • DSOUND: 16 KiB 이상의 루프 버퍼가 스트림으로 쓰이다가 같은 내용을 8바퀴, 2초 넘게 반복하면 [dsound] buffer ... its writer stopped를 한 번 보고한다. 이어서 게스트 스레드 상태와 호스트 콜스택을 출력한다(설계 i043).
  • runtime·플랫폼: ReportGuestThreads, 플랫폼 계약 stack_report.h(Linux 구현, Win32는 아직 없음). 정지 보고(present 정지)도 호스트 콜스택을 출력한다.
  • 문서: ARCHITECTURE, 설계·작업 지시·작업 로그 i042, i043.

소비자가 할 일

  • submodule을 올린다. 공개 계약은 늘기만 했고 재생성은 필요 없다.
  • render state로 combiner 상수를 쓰는 타이틀은 그 그리기의 색과 알파가 바뀐다(원본과 같아지는 방향). 화면을 확인한다.
  • Linux에서 게스트 스레드는 SIGUSR2를 진단 보고에 쓴다. 타이틀이 SIGUSR2를 쓰지 않아야 한다.

확인한 것

구성 확인
d3d8 probe 223/223
소비자 reCT3 Linux x64 Release 경고 0, CTest 7/7
소비자 reCT3 데모 바퀴 불꽃이 그려짐(사용자 확인). 스트림 정지 보고 한 번, 정적 루프·무음에 오탐 없음

rexbox v0.0.19 (English)

Changes since v0.0.18 (issues #42, #43). Combiner constants written as render states become the pixel shader constants, and a streamed loop buffer no longer refilled is reported in the default log.

Issues: #42, combiner constants written as render states (COMBINER_FACTOR0/1, final constants) (4f3e5b8); #43, the stalled-stream report with guest thread states and host stacks (87e7017 and the last commit of this release).

Changes: D3D8: per-stage COMBINER_FACTOR0/1 and the final combiner constants written as render states after SetPixelShader become that stage's c0/c1, over the definition and SetPixelShaderConstant (design i042); d3d8 probe 220 → 223. DSOUND: a loop buffer of 16 KiB or more used as a stream that then replays the same content for 8 laps and over 2 s is reported once ([dsound] buffer ... its writer stopped), followed by the guest thread states and host stacks (design i043). Runtime and platform: ReportGuestThreads and the platform contract stack_report.h (Linux; Win32 not yet); the present-stall report prints host stacks too. Documents: ARCHITECTURE, design, work order and work log i042 and i043.

Consumers: move the submodule; the public contract only grew and no regeneration is needed. A title writing combiner constants as render states sees those draws' color and alpha change (toward the original); check the picture. On Linux the guest threads use SIGUSR2 for diagnostic reports; the title must not use SIGUSR2.

Verified: d3d8 probe 223/223; the consumer reCT3 Linux x64 Release with 0 warnings and CTest 7/7; in reCT3's demo the wheel flames are drawn (user confirmed) and the stalled-stream report fires once, with no false positive for static loops or silence.


rexbox v0.0.18

이전 릴리스 v0.0.17 이후의 변경입니다(issue #40). **DSOUND가 음성 headroom과 3D 음성(거리·cone 감쇠, 좌우 패닝, 도플러)을 소리에 반영하고, 믹스 빈을 스테...

Read more