Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Shadow of Chernobyl #392

Open
24 of 61 tasks
Xottab-DUTY opened this issue Apr 28, 2019 · 11 comments
Open
24 of 61 tasks

Launch Shadow of Chernobyl #392

Xottab-DUTY opened this issue Apr 28, 2019 · 11 comments
Labels
AI Artificial Intelligence Developer Experience Engine's programmer experience Gameplay Help wanted Modmaker Experience Modmaker experience with OpenXRay Player Experience Renderer Shadow of Chernobyl This can affect Shadow of Chernobyl compatibility, or related to this game. UI

Comments

@Xottab-DUTY
Copy link
Member

Xottab-DUTY commented Apr 28, 2019

Just self explaining.

It's recommended to solve this task after launching Clear Sky. (#382)

Status:

  • Alpha (many bugs, crashes, you can't finish the game)
  • Beta (bugs, crashes, but you can finish the game)
  • Release Candidate (there are minor bugs, from a few to none crashes, game is stable finishable)
  • Release (game is stable)

Tasks:

  • Filesystem:
    • Support both WW and RU encoded archives (efdd646 and 1d92cff)
    • Read archives from game root folder (26841e3)
  • Environment
    • ShoC style weather config
  • Renderer
  • Lua scripting
    • C-style Lua comments (6378093)
    • Return deleted script export
  • Main menu
    • Exit
    • Titles
    • Options
    • Load game
  • Animations
    • Different animation names
      • Crow
      • HUD uses anim_ prefix instead of anm_ (CS/COP standard)
    • Missing animations
      • Dogs
        • This problem is linked with A-Life's group states
  • Old HUD (hands) system (2c0c123)
  • AI
    • Read game.graph and level.gct (6b30ac3)
    • A-Life
      • Mutants
      • Group states use set_current_animation() instead of animation manager
        • This makes us harder to fix the problem with missing dogs animation. Group states should use animation manager too.
  • UI
    • Actor inventory UI
    • PDA
      • Generic
      • Sidorovich's PDA usage tutorial (c36d59e)
    • Another UI parts
    • Return deleted UI functionality
    • Return deleted UI script export
  • Gameplay
  • Actual game (singleplayer)
    • Launch it (not really playable)
    • Launch it and play
    • Finish the game
    • Launch and complete mods:
  • Multiplayer
    • UI
    • Maybe other things
  • Other
    • Disable excessive warnings about missing COP features, outdated file versions, etc.
  • Bugs
Xottab-DUTY referenced this issue May 7, 2019
Replaced boilerplate code with UIHelper functions

// XXX: Support stringized (trade_btn, upgrade_btn, exit_btn) callbacks
// To support it we just should check that it doesn't called twice
Xottab-DUTY referenced this issue May 7, 2019
For example, you can create loading screen like in SoC/CS with this
feature
Xottab-DUTY referenced this issue May 7, 2019
Now it can set level logos from Clear Sky and Shadow of Chernobyl
Xottab-DUTY referenced this issue May 7, 2019
Now you can launch Clear Sky (only main menu for now)
Xottab-DUTY referenced this issue May 7, 2019
It can now read archives encrypted with WW key.
Xottab-DUTY referenced this issue May 7, 2019
Now it can read archives encrypted with both WW and RU key.
Xottab-DUTY added a commit that referenced this issue May 10, 2019
And refactored TextureDescrManager a bit.
Xottab-DUTY added a commit that referenced this issue May 15, 2019
Update poltergeist abilities only if he's alive
And deactivate CTelekinesis when poltergeist dies or despawns
Also added XXX for poltergeist
@Xottab-DUTY Xottab-DUTY added the Modmaker Experience Modmaker experience with OpenXRay label May 20, 2019
Xottab-DUTY added a commit that referenced this issue May 20, 2019
Xottab-DUTY added a commit that referenced this issue Apr 14, 2023
Xottab-DUTY added a commit that referenced this issue Apr 17, 2023
In SOC, there was m_UIDate->AdjustHeightToText() call instead if
m_UIDate->AdjustWidthToText();
and additional height calculation:
float h2 = m_UIDate->GetWndPos().y + m_UIDate->GetHeight();
which was used in final window height determination
h1 = _max(h1,h2);
h1 = _max(h1,h3);

I didn't implemented this small stuff, because it needs some tests for
compatibility with COP. We can add it later if we need.
Xottab-DUTY added a commit that referenced this issue Apr 17, 2023
Xottab-DUTY added a commit to Xottab-DUTY/xray-16 that referenced this issue Aug 7, 2023
Xottab-DUTY added a commit that referenced this issue Aug 13, 2023
WndPosIsProbablyRelative is a bad function :)
@Xottab-DUTY Xottab-DUTY moved this to To do in Roadmap Nov 15, 2023
Xottab-DUTY added a commit that referenced this issue Dec 12, 2024
Xottab-DUTY added a commit that referenced this issue Dec 12, 2024
In SOC and CS slots start from -1.
e.g. knife slot is 0 in SOC/CS and 1 in COP.
Xottab-DUTY added a commit that referenced this issue Dec 16, 2024
Co-authored-by: git <[email protected]>
Co-authored-by: Sultan Lucezarnii <[email protected]>
Xottab-DUTY added a commit that referenced this issue Dec 16, 2024
This will be used to determine the specific version of gamemtl.xr being
used (e.g. SOC, or older builds)
Xottab-DUTY added a commit that referenced this issue Dec 16, 2024
This will be used to determine the specific version of gamemtl.xr being
used (e.g. SOC, or older builds)
@johndoe71rus
Copy link

для теста нужна специальная gamedata как для cs или достаточно из res?
пока у меня
...
~ Found archive without ini header: \home\johndoe\game\OpenXRay\soc\gamedata.db0
Assuming that [\home\johndoe\game\OpenXRay\soc\gamedata.db0] is encrypted ShoC archive
Segmentation fault (core dumped)

Xottab-DUTY added a commit that referenced this issue Dec 27, 2024
, #392)

Also returned VERIFY instead of message to the log.
Logging is MUCH more annoying and drops FPS.
@Xottab-DUTY
Copy link
Member Author

для теста нужна специальная gamedata как для cs или достаточно из res? пока у меня ... ~ Found archive without ini header: \home\johndoe\game\OpenXRay\soc\gamedata.db0 Assuming that [\home\johndoe\game\OpenXRay\soc\gamedata.db0] is encrypted ShoC archive Segmentation fault (core dumped)

Да, нужна специальная геймдата.
Правда, есть вещь: для чтения .db архивов от ТЧ используется одна хитрость и возможно, судя по логу, она не получилась.
Но это не точно. Узнать бы точно, где вылет произошёл.

@johndoe71rus
Copy link

похоже что не получилось

./Start_soc.sh 
ATTENTION: default value of option vblank_mode overridden by environment.
OpenXRay Release build 9447, Dec 19 2024 (Linux 64-bit, shared)
Custom build from commit[4f61ae7422ab72a2b1e6fda67a1ebcbe40f1b582] branch[dev]
 
command line -nointro -soc -fsltx ../soc/fsgame.ltx 

* CPU features: RDTSC, MMX, SSE, SSE2, SSE3, SSE41, SSE42, AVX, AVX2
* CPU threads: 4

Starting INPUT device...
SOUND: OpenAL: enumerate devices...
Initializing File System...
$fs_root$ = /media/johndoe/d34e7202-a057-481d-92a6-24e733c81d7d/OpenXRay/soc
using fs-ltx ../soc/fsgame.ltx
~ Found archive without ini header: \media\johndoe\d34e7202-a057-481d-92a6-24e733c81d7d\OpenXRay\soc\gamedata.db0
Assuming that [\media\johndoe\d34e7202-a057-481d-92a6-24e733c81d7d\OpenXRay\soc\gamedata.db0] is encrypted ShoC archive
Segmentation fault (core dumped)

дебага пока нет

@Xottab-DUTY
Copy link
Member Author

похоже что не получилось

./Start_soc.sh 
ATTENTION: default value of option vblank_mode overridden by environment.
OpenXRay Release build 9447, Dec 19 2024 (Linux 64-bit, shared)
Custom build from commit[4f61ae7422ab72a2b1e6fda67a1ebcbe40f1b582] branch[dev]
 
command line -nointro -soc -fsltx ../soc/fsgame.ltx 

* CPU features: RDTSC, MMX, SSE, SSE2, SSE3, SSE41, SSE42, AVX, AVX2
* CPU threads: 4

Starting INPUT device...
SOUND: OpenAL: enumerate devices...
Initializing File System...
$fs_root$ = /media/johndoe/d34e7202-a057-481d-92a6-24e733c81d7d/OpenXRay/soc
using fs-ltx ../soc/fsgame.ltx
~ Found archive without ini header: \media\johndoe\d34e7202-a057-481d-92a6-24e733c81d7d\OpenXRay\soc\gamedata.db0
Assuming that [\media\johndoe\d34e7202-a057-481d-92a6-24e733c81d7d\OpenXRay\soc\gamedata.db0] is encrypted ShoC archive
Segmentation fault (core dumped)

дебага пока нет

Насколько я помню, если мы ничего не меняли, ключ -fsltx не поддерживает относительный путь, надо абсолютный.

@johndoe71rus
Copy link

с полными путями так же
SSoC_run.log

при этом ЧН из соседней такой же примонтированой папки запускается.
SCS-run.log

где разжиться геймдатой для ТЧ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Artificial Intelligence Developer Experience Engine's programmer experience Gameplay Help wanted Modmaker Experience Modmaker experience with OpenXRay Player Experience Renderer Shadow of Chernobyl This can affect Shadow of Chernobyl compatibility, or related to this game. UI
Projects
Status: To do
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants