kichikuou
ccd06e4b84
Version 1.4.0
v1.4.0
2025-01-04 16:26:50 +09:00
kichikuou
0e2025a347
Merge pull request #33 from kichikuou/rance2
...
Add support for Rance 2 Hint Disk
2025-01-04 16:20:37 +09:00
kichikuou
721679e387
README: Add rance2 and rance2_hint to the game ID table
2025-01-04 09:36:20 +09:00
kichikuou
37273534cc
Set text/menu box locations for Rance 2
...
Contributed by @RottenBlock.
2025-01-04 08:34:28 +09:00
kichikuou
ceadba8f4d
Load GDISK.DAT and GG00.DAT if game_id is rance2_hint
...
AG00.DAT on the hint disk must be renamed to GG00.DAT to avoid conflicts
with AG00.DAT of the main game. This is the setup used in the Ryu1's
porting kit (http://www.ryu1.jp/alice/r2port.html ).
2025-01-03 13:17:22 +09:00
kichikuou
67b6d71232
Clean up
2025-01-03 13:17:18 +09:00
kichikuou
15c9d0e820
RottenBlock's changes for Rance 2 Hint Disk
2025-01-03 13:17:12 +09:00
kichikuou
ffe11c695e
Reorganize initialization error reporting
...
- Invalid game id -> sys_error() in GameId::GameId()
- Unknown crc32 -> SDL_ShowSimpleMessageBox() in GameId::GameId()
- Cannot open ADISK.DAT -> sys_error() in NACT::NACT()
2025-01-03 12:36:27 +09:00
kichikuou
a7dbdd0510
windows: Set up console if CLI debugger is enabled
2025-01-03 09:21:09 +09:00
kichikuou
a274aaee57
GameId: Remove '_ENG' variants from Game enum
...
Use GameId::language field if necessary.
2025-01-03 08:52:30 +09:00
kichikuou
7f7ff91439
GameId: Replace CRC32 with enum
...
This makes it possible to define games that do not have a CRC32.
2025-01-03 08:52:27 +09:00
kichikuou
d771352346
Fix typo
2025-01-02 21:32:19 +09:00
kichikuou
edb48f2513
Send warnings to DAP client
2025-01-02 16:53:27 +09:00
kichikuou
1a53c50c75
Rework NACT command tracing
...
- Now tracing is not a build-time config but a runtime option (`-trace`)
- One command per line, so that traces are not mixed with other outputs
- Send traces to DAP client
- Fix garbled characters in non-SJIS environments
2025-01-02 16:53:01 +09:00
kichikuou
ea77d594bf
Make Encoding::fromUtf8() and Encoding::toUtf8() return std::string
2025-01-02 11:57:56 +09:00
kichikuou
6800258113
NACT: Add warnings for unimplemented Y commands
2025-01-02 10:54:21 +09:00
kichikuou
0309388097
Make ERROR() an alias of sys_error()
...
Now it shows a message box and exits.
2025-01-02 10:28:16 +09:00
kichikuou
ddc790b268
Add error message when game files not found
2024-12-31 22:05:04 +09:00
kichikuou
320f790fb3
Version 1.3.0
v1.3.0
2024-12-28 16:27:21 +09:00
kichikuou
ff530981ff
Update README
2024-12-28 14:32:47 +09:00
kichikuou
0841f36dfc
Fix debugger on Windows
2024-12-28 14:09:57 +09:00
kichikuou
2b61798f99
CMake: FetchContent() nlohmann-json in MSVC build
2024-12-28 14:09:57 +09:00
kichikuou
1fd72a28eb
ci: install nlohmann-json
2024-12-28 14:09:57 +09:00
kichikuou
64b3e2a284
dabugger: Add support for custom DAP messages for palette changes
...
This implements "xsystem35.palette" custom request and
"xsystem35.paletteChanged" custom event, introduced in
kichikuou/xsystem35-sdl2@4b15f45 .
2024-12-28 14:09:57 +09:00
kichikuou
909140f3bc
Add support for Debug Adapter Protocol
2024-12-28 14:09:56 +09:00
kichikuou
8883bd5d68
Add command line debugger
2024-12-28 14:09:53 +09:00
kichikuou
d6e3cb8415
Scenario: Label / page calls share a single call stack
...
This allows the debugger to present a linear backtrace.
It's still possible to return from the other call type.
2024-12-27 16:08:58 +09:00
kichikuou
a13719d84c
AGS: Fix a bug in GAIJI.DAT loading code
...
There was a bug in the JIS to Shift_JIS conversion code, causing out-of-
range access to the gaiji array. Since the conversion was not necessary
in the first place, the indexes to the array are now calculated directly
from JIS code points.
2024-12-27 14:47:20 +09:00
kichikuou
2498669da3
NACT: Refactor data structure for menu
2024-12-24 13:46:47 +09:00
kichikuou
b08b9f80f2
Add some helper functions to GameId
2024-12-24 12:22:10 +09:00
kichikuou
bb1573ec6d
NACT: Factor out load/save functions
2024-12-24 12:19:13 +09:00
kichikuou
57fad54420
NACT: Make some command functions non-virtual
2024-12-24 12:19:10 +09:00
kichikuou
78da768d92
Version 1.2.1
v1.2.1
2024-12-21 16:26:45 +09:00
kichikuou
a7d4e32273
Set RND after save / load
...
`L [1-26]` should set RND to 0 after load, and `Q [1-26]` should set RND
to 1 after save. This behavior is used by the following games:
ayumi_fd, prog_fd, funnybee_cd, funnybee_fd, onlyyou, prog_cd, ayumi_cd,
yakata3_cd, otome, hashirionna2
Especially in hashirionna2, not setting RND breaks the control flow.
2024-12-21 16:14:35 +09:00
kichikuou
eae1951646
Intruder: Fix Z2 command
...
* `Z 2, 0:` clears the graphic screen.
* `Z 2, 1:` restores the screen by loading the background image, but
with a transparent color so that the preceding G command can be seen.
Fixes #31 .
2024-12-21 13:43:50 +09:00
kichikuou
daeef22a29
AGS: Introduce Palette type
2024-12-21 09:55:29 +09:00
kichikuou
b1c917b89a
Refactor NACT::message() to take first command byte
2024-12-20 14:16:55 +09:00
kichikuou
24c6041915
Encoding: Refactor mblen() to accept first byte instead of pointer
2024-12-20 13:59:30 +09:00
kichikuou
b000fecf92
Remove unused NACT_Sys[12]::cali2()
2024-12-18 13:51:26 +09:00
kichikuou
f356d268df
Scenario: Refactor address handling
2024-12-18 13:50:46 +09:00
kichikuou
f8acad01d8
Move TexthookMode enum to config.h
2024-12-14 10:22:38 +09:00
kichikuou
989b6a844d
System3: L 101-126 returns 255 if save file does not exist
...
This fixes an issue in Hashiri Onna II where "Data Load" appears in the
start menu even though there is no save. (#32 )
2024-12-11 17:00:14 +09:00
kichikuou
eab5eb075d
Fix out-of-bounds memory access in text rendering
...
This fixes SEGV in Hashiri Onna II when custom font is used. (#32 )
2024-12-11 16:30:42 +09:00
kichikuou
07a049e05e
NACT: Initialize members in class declaration
2024-12-11 14:03:58 +09:00
kichikuou
4930154d45
Expose g_nact
2024-12-11 14:03:55 +09:00
kichikuou
e791af2a1e
Refactor window creation logic
2024-12-11 10:43:32 +09:00
kichikuou
9173742ffb
Introduce GameId class
2024-12-11 10:43:28 +09:00
kichikuou
930fdfab4e
Fix MSVS build
2024-12-10 22:08:19 +09:00
kichikuou
e4cf322420
Add GitHub issue template
2024-12-10 22:00:12 +09:00
kichikuou
e77a6b8bb5
Rename skip_string to skip_syseng_string for consistency
2024-12-10 09:15:26 +09:00