44e6c12004
fix(storage): some save files would not load due to incorrectly assumed conventions fix(storage): thumbnails would be assumed to exist for certain saves even if the file was missing fix(storage): save files didn't properly delete due to incorrectly assumed conventions
Patoke2026-03-23 23:52:49 -03:00
8716df6eee
feat(render): DoScreenGrabOnNextPresent now properly saves the file into the GameHDD folder feat(storage): save files now filter out the file extension and all save to .ms files to avoid confusion chore(render): make names more accurate
Patoke2026-03-09 01:15:33 -03:00
3ead2bb093
feat(docs): add an implementation guide for more in-depth details on how to use 4JLibs expansions feat(storage): save titles are now encoded into the name of the save files feat(storage): added functionality to delete save files chore(storage): document functions which don't have to be implemented, as they're unused for the Windows platform chore(storage): rename some variables to be more accurate with the binaries fix(render): in vs2012, m_backBufferTexture cannot be initialized in a header fix(storage): in CDLC::GetMountedPath, m_szMountPath and m_szDirectoryPath were mixed up fix(storage): in CSaveGame::SetSaveTitle, there was a wide string to narrow string mismatch
Patoke2026-03-08 04:11:22 -03:00
53bc372890
Merge pull request #16 from kilokki/master
gsdsandGitHub2026-03-04 20:16:27 -03:00
69181ad2f0
use correct string width in swprintf()
kilokkiandGitHub2026-03-04 13:09:44 -08:00
d04ab2d90e
chore: implement GetSaveUniqueFilename and GetSaveUniqueNumber
Patoke2026-03-04 07:43:02 -03:00
36d18b209e
feat: game can now save and display thumbnails, code rebuilt from the xbox one edition of the game fix: Renderer::CaptureThumbnail now can capture thumbnails correctly fix: renderTargetViews and renderTargetShaderResourceViews are no longer null fix: texture saving functions were using BGRA instead of RGBA format
Patoke2026-03-04 06:51:35 -03:00
d7f4651c52
chore: add warning for non zero initialized descriptor breaking the depth stencil
Patoke2026-03-03 23:52:16 -03:00
03f4a4bc8f
chore: match some small stuff
Patoke2026-03-03 23:46:16 -03:00
74dd43e6f6
chore: replace c style casts with static_cast to match the code conventions
la2026-03-04 07:58:35 +10:00
32344c11b1
chore: actually do what the last commit said
la2026-03-04 07:56:45 +10:00
94d52937a5
chore: cleaned up all of the decompiled shaders
la2026-03-04 07:52:32 +10:00
39339e821e
chore: overhaul renderer decompilation to match as closely as possible to the original
dxfiscoolandla2026-03-03 17:14:44 +01:00
c8abc0127b
chore: cleaned up all of the decompiled shaders
la2026-03-04 03:50:31 +10:00
cc6aade337
Merge branch 'Patoke:master' into master
laandGitHub2026-03-03 16:18:29 +10:00
6a910a31cf
fix: revert matching code for the creation of the depthStencil and renderTargetViews
Patoke2026-03-03 03:18:07 -03:00
43f38eaa75
Merge branch 'Patoke:master' into master
laandGitHub2026-03-03 15:24:21 +10:00
7aeed74c87
fix: image format given to pnglib was PNG_FORMAT_RGBA instead of PNG_FORMAT_BGRA
Patoke2026-03-03 02:13:19 -03:00
bac13d7384
fix: forgot to initialize the totalAllocs critical section
Patoke2026-03-03 02:06:49 -03:00
dbdb2d107b
Merge branch 'Patoke:master' into master
laandGitHub2026-03-03 15:00:00 +10:00
7a4e31561d
chore: rename critical section variable to a more accurate one fix: call `Renderer::CBuffTick at C4JRender::Tick` in release mode
Patoke2026-03-03 01:59:30 -03:00
28ab7dd6cc
Merge branch 'Patoke:master' into master
laandGitHub2026-03-03 14:52:06 +10:00
8dd19edd1a
fix: for some reason the renderTarget and depthStencil code weren't matching and didn't use the proper descriptors
Patoke2026-03-03 01:47:35 -03:00
ebfeeac4f8
fix: mismatch in textureFormats definition, textures were created as DXGI_FORMAT_B8G8R8A8_UNORM but the game uses DXGI_FORMAT_R8G8B8A8_UNORM
Patoke2026-03-03 01:24:53 -03:00
fa880572bf
chore: clean up the main vertex shader and fix bugs with it
la2026-03-03 12:26:40 +10:00
28408ca8b4
chore: add license to shaders
la2026-03-03 11:17:41 +10:00
dd54951cf1
Merge pull request #4 from 3UR/master
gsdsandGitHub2026-03-02 17:42:19 -03:00
73fffbbcec
feat: add microprofiler to the renderer
3UR2026-03-03 05:58:08 +10:00
5b3d67063f
chore: change more code conventions and clean up a bit more stuff
3UR2026-03-03 04:13:45 +10:00
9938bd8ee9
chore: initialize sig_bit with NULL to silence MSVC
3UR2026-03-03 03:09:25 +10:00
3b406a063d
chore: make all code conventions consistent, slightly clean up some things and fix bugs where some stuff would visually look messed up
3UR2026-03-03 00:23:38 +10:00
26f8477e4b
Merge branch 'master' into master
laandGitHub2026-03-02 21:47:34 +10:00
5b1270586b
fix: performance difference with original debug binaries caused by compiler flags mismatch (possibly fixes#7)
Patoke2026-03-02 05:02:50 -03:00
420efd2c6e
fix: compiling would fail in the game project because of __snprintf
Patoke2026-03-02 01:43:10 -03:00
9cd1f647c3
chore: make renderer texture a little bit cleaner and fix srv creation in renderer core because backbuffer with DXGI_SWAP_EFFECT_DISCARD doesnt support D3D11_BIND_SHADER_RESOURCE3UR2026-03-02 13:56:42 +10:00
362d185289
chore: update naming convention for bools in render core and update member names in render texture
3UR2026-03-02 12:54:49 +10:00
df37fc63a8
Merge branch 'master' into master
laandGitHub2026-03-02 12:49:45 +10:00
d11b2f396a
chore: fix mistakes with texture renderer
3UR2026-03-02 12:15:26 +10:00
48ce2cc065
feat: cbufftick for debug builds
3UR2026-03-02 12:14:30 +10:00
0b1a1bfdd4
chore: match more names
Patoke2026-03-01 22:37:54 -03:00
02239b50f9
chore: more 4j specific libpng changes
3UR2026-03-02 10:21:22 +10:00
0f74d8703f
chore: make release configuration use the visual studio 2026 toolset
3UR2026-03-02 10:16:11 +10:00
326a370bfa
chore: add a MAX_TEXTURES macro and change the naming convention of bool members
3UR2026-03-02 10:11:19 +10:00
244810d62f
just incase anyone needs to discuss this and wants to know who wrote the todo
3UR2026-03-02 10:09:58 +10:00
b0259bea75
chore: make RendererTexture.cpp more accurate
3UR2026-03-02 10:08:19 +10:00
ce1e29429e
chore: clean up project filters so libpng and zlib aren't bloating the file tree in visual studio
3UR2026-03-02 09:01:30 +10:00
07c7d470ce
chore: swap out libpng to the version 4J used (Includes custom changes made by 4J to png.h and pngwrite.c)
3UR2026-03-02 08:57:28 +10:00
ac4fcfb546
fix: projects now build for both vs 2022 and vs 2012
Patoke2026-03-01 05:50:14 -03:00
4b7769987d
fix: input actually works when used in the game project fix: now it also compiles using vs 2012 build tools
Patoke2026-03-01 05:37:54 -03:00
d3fe70c9fe
chore: include 4J files in gitignore
gsdsandGitHub2026-02-28 22:12:12 -03:00
f357fb3556
chore: add more info on readme
gsdsandGitHub2026-02-28 22:08:23 -03:00
2db1dfebd8
chore: rename Render project internally to Render_PC, for Windows builds, 4J_Render.lib is deprecated, it only uses 4J_Render_PC
Patoke2026-02-28 02:53:21 -03:00
906e0a6aad
chore: add libpng&zlib to Render project
Patoke2026-02-28 02:52:07 -03:00
713247054e
feat: projects can now link seamlessly with project fix: change runtime library usage to MT static
Patoke2026-02-28 02:09:50 -03:00