Repository navigation
Releases
reJSRF v0.0.54
reJSRF v0.0.54
이전 릴리스 v0.0.53 이후의 변경입니다(issue #124). 한국 정발 콤보 디스크(Sega GT 2002 + JSRF)의 SegaJSRF.xbe를 빌드 변형(jsrf_bundle_kor)으로 지원합니다.
해결된 issue
| issue | 내용 | 커밋 |
|---|---|---|
| #124 | 한국 정발 콤보 디스크(SegaJSRF.xbe) 빌드 변형 지원 | 3ddfd2a |
바뀐 것
- 바이너리 분석 및 변형 지원(20261026-i124)
- 한국 정발 콤보 디스크의
SegaJSRF.xbe(MD58bf3c450e9c1cc39730d4025ef987e2c)를 새 빌드 변형jsrf_bundle_kor로 등록했습니다. - 세그먼트별 주소 이동 규칙(
va < 0x00074EC3: 0,0x00074EC3 <= va < 0x0018CB40:-0x30,va >= 0x0018CB40:-0x40)을 규명하여 리프터 및 지문 검증에 적용했습니다. - 언어 변수(
0x001FC6E4, 초깃값1/English)를 확인하여 본편 텍스트가 영문으로 구성된 동작을 보존합니다.
- 한국 정발 콤보 디스크의
- 지문 검증 및 리프터
scripts/recomp/variant_fingerprints.py: 주소 변환기translate_va를 구현하여 US판 기준 225개 핵심 함수의 지문이 100% 일치함을 검증했습니다.scripts/recomp/lifter.py: 시드 주소, XDK extra 심볼 및overrides.c주소 변환을 적용했습니다.
- 디컴파일 함수 심볼 다형화
- C 전처리기 매크로 연쇄 확장 충돌을 방지하기 위해
include/rejsrf/jsrf_addresses.h에JSRF_DECOMP_XXXXXXXX고유 심볼을 도입하고mmatrix.c,camera_frustum.c,adxm_lock.c에 적용했습니다.
- C 전처리기 매크로 연쇄 확장 충돌을 방지하기 위해
- 빌드 시스템 및 앱
build_win32_x86.ps1에-Variant bundle_kor(별칭kor)를 추가하여build\win32_x86_bundle_kor에 빌드합니다.src/app/main.cpp에서 디렉터리 경로를 지정했을 때default.xbe외에SegaJSRF.xbe도 자동으로 탐색하도록 지원했습니다.
확인한 것
| 구성 | 확인 |
|---|---|
| XBE 자동 감지 | SegaJSRF.xbe → Korea bundle (SegaJSRF.xbe) 정상 인식 및 English 언어 플래그 확인 |
| 번들 변형 실행 | D3D8 디바이스 생성(640x480 OpenGL 3.3), 첫 프레임 및 PRESS 화면 텍스처 로드, 오디오/스레드 초기화 및 워치독 5초 통과 |
| 기존 US 빌드 회귀 | Release 빌드 경고 0, 디컴파일 검증 도구 및 빌드 성공 |
| 사용자 | 실행 확인 및 머지 승인 |
reJSRF v0.0.54 (English)
Changes since v0.0.53 (issue #124). Adds support for SegaJSRF.xbe from the Korean combo disc (Sega GT 2002 + JSRF) as a build variant (jsrf_bundle_kor).
Resolved issue
| Issue | Description | Commit |
|---|---|---|
| #124 | Korean combo disc (SegaJSRF.xbe) build variant support | 3ddfd2a |
Changes
- Binary analysis and variant support (20261026-i124)
- Registered
SegaJSRF.xbe(MD58bf3c450e9c1cc39730d4025ef987e2c) as the new build variantjsrf_bundle_kor. - Identified segmented address shifting rules (
va < 0x00074EC3: 0,0x00074EC3 <= va < 0x0018CB40:-0x30,va >= 0x0018CB40:-0x40) applied to the lifter and fingerprint verification. - Confirmed the language global variable (
0x001FC6E4, initial value1/English) to preserve English text display.
- Registered
- Fingerprint verification and lifter
scripts/recomp/variant_fingerprints.py: Implementedtranslate_vaand confirmed 100% (225/225) matching against US function fingerprints.scripts/recomp/lifter.py: Applied address translation to seeds, XDK extra symbols, andoverrides.c.
- Decompiled function symbol polymorphism
- Introduced dedicated
JSRF_DECOMP_XXXXXXXXtokens ininclude/rejsrf/jsrf_addresses.hto avoid preprocessor cascading macro expansion collisions, applied acrossmmatrix.c,camera_frustum.c, andadxm_lock.c.
- Introduced dedicated
- Build system and app
- Added
-Variant bundle_kor(aliaskor) tobuild_win32_x86.ps1, outputting tobuild\win32_x86_bundle_kor. - Added auto-detection for
SegaJSRF.xbeinsrc/app/main.cppwhen specifying a game directory path.
- Added
Verification
| Configuration | Verification |
|---|---|
| XBE Auto-detection | SegaJSRF.xbe → Korea bundle (SegaJSRF.xbe) detected with English language setting |
| Bundle variant run | D3D8 device created at 640x480 OpenGL 3.3, first frame presented, PRESS screen textures loaded, DSOUND and threads initialized, 5s watchdog passed |
| US build regression | Release build with 0 warnings; decomp check tools passed |
| User | Verified run and approved merge |
reJSRF v0.0.53
reJSRF v0.0.53
이전 릴리스 v0.0.52 이후의 변경입니다(issue #121). 빌드 스크립트가 체크아웃되지 않은 submodule을 CMake 전에 잡아 git submodule update --init --recursive를 안내합니다. rexbox(third_party/rexbox)는 자기 submodule(SDL, imgui, smaa, XbSymbolDatabase)을 가지므로 git submodule update --init만으로는 그 네 디렉터리가 비어 있고, 구성은 rexbox 안에서 같은 비재귀 명령을 안내하는 메시지로 멈췄습니다.
해결된 issue
| issue | 내용 | 커밋 |
|---|---|---|
| #121 | 빌드 스크립트의 중첩 submodule 검사 | 4fc01c5 |
| #121 | rexbox v0.0.15 | 4a7569d |
바뀐 것
- 빌드 스크립트(작업 로그 i121):
scripts/build_win32_x86.ps1과scripts/build_linux.sh가 구성 전에git submodule status --recursive를 읽어, 체크아웃되지 않은 submodule(-로 시작하는 줄)이 있으면 그 경로와git submodule update --init --recursive를 말하고 멈춘다..git이 없는 트리(내보낸 소스)는 검사를 건너뛴다. 중첩 submodule의 이름은 적지 않는다. - rexbox: v0.0.15(reexec/rexbox#33). CMakeLists.txt의 submodule 누락 메시지 네 개와 Win32 가이드가
--recursive를 붙인 명령을 안내한다. 코드 변경은 없다. - 빌드하는 쪽은
git submodule update --init --recursive가 필요하다. 재생성은 필요 없다.
확인한 것
| 구성 | 확인 |
|---|---|
third_party/rexbox/third_party/smaa를 deinit한 상태 |
.ps1은 CMake 전에 Submodule(s) not checked out: third_party/rexbox/third_party/smaa; run: git submodule update --init --recursive로 멈춤(종료 코드 1), .sh는 같은 안내로 종료 코드 2 |
| 모두 체크아웃된 Win32 x86 Release 전체 빌드 | 검사 통과, rejsrf.exe까지 경고 0 |
| rexbox v0.0.15로 구성 | rexbox version 0.0.15, 오류 없음 |
| 사용자 | 머지 승인 |
reJSRF v0.0.53 (English)
Changes since v0.0.52 (issue #121). The build scripts catch a submodule that is not checked out before CMake runs and name git submodule update --init --recursive. rexbox (third_party/rexbox) carries its own submodules (SDL, imgui, smaa, XbSymbolDatabase), so after a plain git submodule update --init those four directories were empty and the configure stopped inside rexbox with a message naming the same non-recursive command.
Resolved issue: #121, the nested-submodule check in the build scripts; commits 4fc01c5 (the scripts) and 4a7569d (rexbox v0.0.15).
Changes:
- Build scripts (work log i121):
scripts/build_win32_x86.ps1andscripts/build_linux.shreadgit submodule status --recursivebefore configuring; when a submodule is not checked out (a line starting with-) they name its path andgit submodule update --init --recursiveand stop. A tree without.git(an exported source) skips the check. No nested submodule is named. - rexbox: v0.0.15 (reexec/rexbox#33): the four submodule-missing messages in its CMakeLists.txt and the Win32 guide name the recursive command. No code change.
- Builders need
git submodule update --init --recursive. No regeneration is needed.
Verified: with third_party/rexbox/third_party/smaa deinit-ed, the .ps1 stops before CMake with Submodule(s) not checked out: third_party/rexbox/third_party/smaa; run: git submodule update --init --recursive (exit code 1) and the .sh with the same advice (exit code 2); with everything checked out the full Win32 x86 Release build passes the check and builds through rejsrf.exe with 0 warnings; the configure with rexbox v0.0.15 prints rexbox version 0.0.15 with no error. User: approved the merge.
reJSRF v0.0.52
reJSRF v0.0.52
이전 릴리스 v0.0.51 이후의 변경입니다(issue #119). Linux x64와 x86(-m32)에서 빌드하고 실행합니다. 코드는 Win32와 같고 플랫폼 계층은 rexbox의 Linux 구현입니다. WSL2 Ubuntu 24.04(GCC 13)에서 확인했습니다.
해결된 issue
| issue | 내용 | 커밋 |
|---|---|---|
| #119 | Linux 앱: 설계 | 3f6903a |
| #119 | 프리셋, 빌드 스크립트, CI, Linux 재생성, 가이드 | a3f20f4 |
| #119 | rexbox v0.0.14: 생성 코드 없는 트리의 링크 | 6edca4f |
| #119 | 일본판 재생성 비교 기록 | ed65431 |
바뀐 것
- 빌드 진입점(설계 i119):
CMakePresets.json의linux-{x64,x86}-{debug,release}[-jp](Ninja, x86은-m32; Linux 호스트에서만 보임)와scripts/build_linux.sh <arch> <config> [us|jp] [--no-test] [--target …]. 결과는build/<preset>/. - 재생성:
regenerate.py가rexbox_xdk_symbols를 자기 호스트의 빌드에서만 찾는다. WSL에서는 Windows 빌드 폴더도 보여 Windows.exe를 집었고, 그 프로그램이/mnt/…경로를 열지 못해 실패하던 문제다. - CI:
linux작업(x64·x86 × debug·release). 생성 코드 없는 빌드, rexbox probe(ctest), 앱 smoke, x64 release에서 일본판 앱 빌드. - rexbox: v0.0.13(Linux GCC 경고 2개, 그중 DPC trace 문자열 마지막 글자 잘림은 실제 버그)과 v0.0.14(생성 코드 없는 트리에서 GNU ld가 레지스터 접근 함수 대체 라이브러리를 링크 줄에서 그 사용자보다 앞에 두어 앱이 링크되지 않던 문제; 이 작업의 첫 CI가 잡음).
- 문서: 가이드 linux-setup-and-build.md(패키지, capstone 가상 환경, 재생성, 빌드, 실행, WSL의 GPU
GALLIUM_DRIVER=d3d12),README.md플랫폼 상태,ARCHITECTURE.md,THIRD_PARTY_NOTICES.md. - 태그 릴리스(사용자 요청):
.github/workflows/release.yml.v*태그를 push하면 태그가VERSION과 같고main위에 있는지 확인한 뒤 모든 호스트에서 CI와 같은 빌드·probe를 하고,docs/release-notes/<tag>.md가 있으면 그 본문으로 GitHub Release를 만든다(소스만).AGENTS.md에 규칙을 더했다. 이 버전의 태그가 첫 실행이다. - 빌드하는 쪽은
git submodule update --init --recursive가 필요하다.
확인한 것
| 구성 | 확인 |
|---|---|
| Linux x64·x86 × Debug·Release, x64 Release 일본판 | 경고 0, ctest 4/4. 생성 코드 없는 x64 Debug도 링크(rexbox v0.0.14) |
| 타이틀 도구(Linux x64 Release) | rejsrf_decomp_check 129 차이 0, rejsrf_d3d8_check 14,018 차이 0 |
| Linux 재생성(capstone 5.0.7) | 미국판·일본판 모두 43개 중 42개가 줄 끝만 빼고 Windows와 같고, 하나는 생성기 이름 주석만 다르다 |
| 데모 | 5개 빌드 모두 파일 열기 순서가 Windows 기준과 같다. 프레임은 x64와 x86이 바이트 단위로 같고, Windows와는 렌더러 반올림만 다르다 |
| WSLg 보이는 창 | GPU(D3D12/RTX 4090) 렌더링, 오디오 장치, 키보드 입력(타이틀 → 메인 메뉴), 한국어 폴더 로드 |
| Windows | 영향 없음: 경고 0, probe 94/55/220, rejsrf_decomp_check 129 차이 0 |
| CI | Win32 Debug·Release, Linux 4개 작업 모두 통과 |
| 사용자 | 머지 승인 |
reJSRF v0.0.52 (English)
Changes since v0.0.51 (issue #119). reJSRF builds and runs on Linux x64 and x86 (-m32). The code is Win32's; the platform layer is rexbox's Linux implementation. Checked on WSL2 Ubuntu 24.04 with GCC 13.
Resolved issue: #119, the Linux app; commits 3f6903a (design), a3f20f4 (presets, build script, CI, regeneration on Linux, guide), 6edca4f (rexbox v0.0.14), ed65431 (the Japanese regeneration comparison).
Changes:
- Build entry (design i119): the
linux-{x64,x86}-{debug,release}[-jp]presets ofCMakePresets.json(Ninja;-m32for x86; Linux hosts only) andscripts/build_linux.sh <arch> <config> [us|jp] [--no-test] [--target …], building intobuild/<preset>/. - Regeneration:
regenerate.pylooks forrexbox_xdk_symbolsin this host's builds only. On WSL the Windows build folder is visible too, so the Windows.exewas picked and, unable to open/mnt/…paths, failed. - CI: a
linuxjob (x64 and x86 × debug and release): the build without generated code, rexbox's probes (ctest), the app smoke checks, and the Japanese app build on x64 release. - rexbox: v0.0.13 (two Linux GCC warnings, one a real truncation of the DPC trace string) and v0.0.14 (in a tree without generated code GNU ld placed the accessor stand-in archive before its user, so the application did not link; found by this task's first CI run).
- Documents: the guide linux-setup-and-build.md (packages, a capstone virtual environment, regeneration, build, running, the GPU in WSL through
GALLIUM_DRIVER=d3d12),README.mdplatform status,ARCHITECTURE.md,THIRD_PARTY_NOTICES.md. - Tag releases (user request):
.github/workflows/release.yml. A pushedv*tag must equalVERSIONand sit onmain; the CI build and probes then run on every host, and whendocs/release-notes/<tag>.mdexists a GitHub Release is created with it as the body (source only).AGENTS.mdgains the rule. This version's tag is its first run. - Builders need
git submodule update --init --recursive.
Verified: Linux x64 and x86 × Debug and Release plus the x64 Release Japanese build, all with 0 warnings and ctest 4/4, and x64 Debug without generated code links (rexbox v0.0.14); rejsrf_decomp_check 129 and rejsrf_d3d8_check 14,018 with 0 differences on Linux x64 Release; regeneration on Linux (capstone 5.0.7) gives, for both builds, 42 of 43 files equal to Windows' apart from line endings and one differing only in a generator-name comment; every build's demo file-open sequence equals the Windows baseline, with frames byte-identical between x64 and x86 and differing from Windows only by renderer rounding; a visible WSLg window renders on the GPU (D3D12/RTX 4090), opens an audio device, takes keyboard input (title to main menu) and loads the Korean folder; Windows is unaffected (0 warnings, probes 94/55/220, decomp check 129 with 0 differences); CI: the Win32 Debug and Release jobs and the four Linux jobs pass. User: approved the merge.