Code Monkey home page Code Monkey logo

Comments (18)

kittyron avatar kittyron commented on June 17, 2024

I have hl2_linux in the same folder as hl2.sh. Also tried running it as sudo and got the same error.

[user@fedora tf2]$ ls
bin hl2.sh srcds.bat start_tf2.sh
hl2 LICENSE_SDK start_server.bat steam_appid.txt
hl2.bat platform start_server.sh tf
hl2_linux README.md start_tf2.bat thirdpartylegalnotices.txt

from tf2-patches.

mastercoms avatar mastercoms commented on June 17, 2024

you haven't copied over a tf2 installation, you need to set up a separate tc2 folder with the files from tf2 live and then install this on top of that. there's a community script which manages this.

from tf2-patches.

mastercoms avatar mastercoms commented on June 17, 2024

https://github.com/mastercomfig/tf2-patches/blob/60e1a370414f5c2a0a541175ad7bf81ba4fdb977/game_clean/link.sh

from tf2-patches.

mastercoms avatar mastercoms commented on June 17, 2024

With this script, make a tc2 folder. then in that folder, make a folder called scripts and put this in there. make another folder called game as well. then run link.sh, it will link your steam tf2 to the tc2 folder

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

I ran the script and got this error:

cp: cannot stat 'copy/': No such file or directory
ln: failed to create symbolic link '../game/hl2': File exists
ln: failed to create symbolic link '../game/platform': File exists
ln: failed to create symbolic link '../game/tf/maps': No such file or directory
mkdir: cannot create directory ‘../game/tf/materials’: No such file or directory
ln: failed to create symbolic link '../game/tf/materials/models': No such file or directory
ln: failed to create symbolic link '../game/tf/materials/vgui': No such file or directory
ln: failed to create symbolic link '../game/tf/media': No such file or directory
ln: failed to create symbolic link '../game/tf/resource': No such file or directory
ln: failed to create symbolic link '../game/tf/scripts': No such file or directory
ln: target '../game/bin/': No such file or directory
ln: target '../game/tf/': No such file or directory
ln: target '../game/tf/': No such file or directory

It copied over only hl2, hl2.sh and platform to game folder.

from tf2-patches.

ReplayCoding avatar ReplayCoding commented on June 17, 2024

How are you compiling TC2? Are you using #629?

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

Script now works. I thought that all I had to do was to copy the script that mastercoms linked and not download the whole GitHub repo. But the error remains: ./hl2.sh: line 69: /var/home/user/Downloads/tf2-patches-base/game/hl2_linux: cannot execute: required file not found

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

How are you compiling TC2? Are you using #629?

I'm not compiling TC2 myself, I'm using version from releases

from tf2-patches.

getchoo avatar getchoo commented on June 17, 2024

are you using the flatpak version of steam?

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

are you using the flatpak version of steam?

Yes I am

from tf2-patches.

getchoo avatar getchoo commented on June 17, 2024

it doesn't work for tc2. i tried messing with it but couldn't figure it out - it must be something going on with their modified runtime. you can layer the steam package from the rpmfusion repository with rpm-ostree and it'll work fine

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

it doesn't work for tc2. i tried messing with it but couldn't figure it out - it must be something going on with their modified runtime. you can layer the steam package from the rpmfusion repository with rpm-ostree and it'll work fine

Installed steam with rpm-ostree and hl2.sh now launches, but I get another error:

SDL video target is 'x11'
SDL video target is 'x11'
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system supports the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system supports the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system supports the OpenGL extension GL_ARB_buffer_storage.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
OpenGL: AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.49, 6.1.14-200.fc37.x86_64) 4.6 (Compatibility Profile) Mesa 22.3.6 (4.6.0)
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_ARB_buffer_storage: NOT AVAILABLE
GL_EXT_texture_sRGB_decode: AVAILABLE
AppFramework : Unable to load module engine.so!
Unable to load interface VCvarQuery001 from engine.so

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

If it can help, ldd bin/engine.so returns:
linux-gate.so.1 (0xf7faa000)
libtier0.so => not found
libvstdlib.so => not found
libsteam_api.so => not found
libSDL2-2.0.so.0 => not found
libopenal.so.1 => not found
libcurl-gnutls.so.4 => not found
libm.so.6 => /lib/libm.so.6 (0xf7ec3000)
libdl.so.2 => /lib/libdl.so.2 (0xf7ebe000)
libstdc++.so.6 => /lib/libstdc++.so.6 (0xf6e00000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7eb7000)
/lib/ld-linux.so.2 (0xf7fac000)
libc.so.6 => /lib/libc.so.6 (0xf6c14000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7e92000)

from tf2-patches.

getchoo avatar getchoo commented on June 17, 2024

when you ran link.sh did you put the path to your tf2 installation as an argument? it defaults to the regular package installation, so if you didn't it could explain not finding engine.so and the No such file or directory warnings from your previous responses

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

when you ran link.sh did you put the path to your tf2 installation as an argument? it defaults to the regular package installation, so if you didn't it could explain not finding engine.so and the No such file or directory warnings from your previous responses

When I had TF2 installed through flatpak steam then yes I put TF2 installation as an argument, but now I installed TF2 through normal steam. Tried specifying path to TF2 installed through normal steam and the same error shows up.

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

I can see that I have engine.so in game folder.

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

Don't know what I did, but it started working (didn't change anything from the last time I tried to run). Except the game is too bright, and I get error about limited glyph support, but maybe I will open another issue if someone else didn't.
Screenshot from 2023-03-07 22-42-17
Screenshot from 2023-03-07 22-44-43
Screenshot from 2023-03-07 22-46-09

from tf2-patches.

kittyron avatar kittyron commented on June 17, 2024

Right now I doubt I installed it without screwing something up, there are too many bugs.

  • Soldier going to sleep at the end of the taunt
  • Disappearing weapons after shooting
  • Game is too bright
untitled.mp4
untitled1.mp4

from tf2-patches.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.