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

Feature Request & Dunno #57

Open
inukaze opened this issue Jun 21, 2021 · 7 comments
Open

Feature Request & Dunno #57

inukaze opened this issue Jun 21, 2021 · 7 comments

Comments

@inukaze
Copy link

inukaze commented Jun 21, 2021

Hi there, some hours ago i try to play with this mod with 3 friends and well just we play the first level "Escape". because just exist 1 gun and 1 ammo for 1 player. well after i try to use "+set sv_cheats 1" (without quotes, in the command line parameter of shorcut but does not work, ever says "sv_cheats is read only)

Well i think in the follow ways for fix that
1 - Serious Sam Method ( First Encounter / Second Encounter / Next Encounter ) : Exist a copy of gun for each player, connected on current game, the same for ammo.

2 - Borderlands Method : The enemys can drop guns, ammo for players already have the gun or gun for the player does not had the gun yet

3 - Allow to use sv_cheats 1 on the host machine and the creator of coop game, and just the host can use the cheats commands like
/give ammo

Wel on another things for fix
4 - ToggleConsole : when is bind to a key, just show the console but cannot hide when you press again.

And finally a Dunno :
How i can repack the file in pk3 and the binary executable for windows read without problems ?

@MAN-AT-ARMS
Copy link
Contributor

You don't use sv_cheats directly. Use the spdevmap command instead of the map command when starting a map.

Not sure what language keyboard you are using but Shift+Esc should toggle the console on all language keyboards.

Creating the pk3 file should just be a matter of zipping the contents of the sp_pak_coop1 folder (contained in the media folder in the repository) with standard compression.

@inukaze
Copy link
Author

inukaze commented Jun 21, 2021

Hi there

  1. well how i can add ammo to another players without use "sv_cheats" just using "spdevmap", you have some example ?

  2. The keyboards of each are on Spanish

  3. I try to put my spanish translation for this mod, but when i repack in zip with standar compresion, the mod never takes the file, just show me the Main Menu (UI) of Single Player instead of the Main Manu (UI) of Mod

@MAN-AT-ARMS
Copy link
Contributor

  1. Outside of everyone doing a give all, you would have to modify the map scripts.
  2. Shift+Esc should work on all keyboard languages.
  3. The Spanish translation is part of pak1.pk3 and pak3.pk3 in the main folder. The sp_pak_coop1.pk3 should go in the coopmain folder. Make sure you're not including the sp_pak_coop1 folder in your zip file...it's the level below it you want (with all of the subfolders. ie levelshots, maps, models etc.)

@inukaze
Copy link
Author

inukaze commented Jun 21, 2021

  1. Thanks but where are the maps scripts for try exist weapons and ammo based on connected numbers of player for each can take a copy o gun / ammo just unique time for each

2 . Thank you very much i try it later

  1. Well i know the spanish translation for Single/Multi player (io)Wolfenstein is working fine, but the coop mod show all text on english

@inukaze
Copy link
Author

inukaze commented Jun 22, 2021

Well under GNU/Linux, i put the official spanish translation to coop mod and well happend this :
Scrot_2021-06-22|12:18:29_am

Terminal Output :

RTCWCoop 1.0.2 linux-x86_64 Aug 23 2017
SSE instruction set enabled
----- FS_Startup -----
Current search path:
/home/inukaze/.wolf/coopmain
/home/inukaze/.wolf/main
./coopmain
./coopmain/sp_pak_coop1.pk3 (659 files)
./main
./main/sp_rend2_shaders0.pk3 (5 files)
./main/sp_pak4.pk3 (21 files)
./main/sp_pak3.pk3 (14 files)
./main/sp_pak2.pk3 (232 files)
./main/sp_pak1.pk3 (1345 files)
./main/pak0.pk3 (4775 files)
./main/mp_rend2_shaders0.pk3 (2 files)
./main/mp_pakmaps6.pk3 (81 files)
./main/mp_pakmaps5.pk3 (35 files)
./main/mp_pakmaps4.pk3 (52 files)
./main/mp_pakmaps3.pk3 (83 files)
./main/mp_pakmaps2.pk3 (47 files)
./main/mp_pakmaps1.pk3 (34 files)
./main/mp_pakmaps0.pk3 (21 files)
./main/mp_pak5.pk3 (77 files)
./main/mp_pak4.pk3 (5 files)
./main/mp_pak3.pk3 (76 files)
./main/mp_pak2.pk3 (3 files)
./main/mp_pak1.pk3 (308 files)
./main/mp_pak0.pk3 (783 files)
./main/mp_bin0.pk3 (13 files)
./main/mp_bin.pk3 (4 files)
    
----------------------
8675 files in pk3 files
execing default.cfg
execing Language.cfg
execing wolfconfig.coop.cfg
couldn't exec autoexec.coop.cfg
Hunk_Clear: reset the hunk ok
Bypassing CD checks
logfile opened on Tue Jun 22 00:17:48 2021

----- Client Initialization -----
----- Initializing Renderer ----
Trying to load "renderer_coop_opengl1_x86_64.so" from "."...
---- Renderer Initialization Complete ----
Loaded 196 translation strings from scripts/translation.lang
RTCWKEY found.
----- Client Initialization Complete -----
----- R_Init -----
SDL using driver "x11"
Initializing OpenGL display
Display aspect: 1.250
...setting mode 6: 1024 768
Using 24 color bits, 24 depth, 0 stencil display.
Available modes: '1280x1024 320x240 400x300 512x384 640x480 700x525 800x600 832x624 1024x768 1152x864 1280x960 1400x1050 1600x1200'
GL_RENDERER: GeForce GT 620/PCIe/SSE2
Initializing OpenGL extensions
...ignoring GL_EXT_texture_compression_s3tc
...ignoring GL_S3_s3tc
...using GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic
Initializing Shaders
^3WARNING: In shader file scripts/common.shader...Shader "textures/sfx/portal3a_back2" on line 822 is missing closing brace^3.
^3WARNING: In shader file scripts/ui_wolf.shader...Invalid shader name "}" on line 1849.
----- finished R_Init -----
------ Initializing Sound ------
Trying to load "libopenal.so.1"...
tty]AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
Allocated 128 sources.
OpenAL default capture device is 'ALSA Default'
OpenAL capture device opened.
OpenAL info:
  Vendor:         OpenAL Community
  Version:        1.1 ALSOFT 1.18.1
  Renderer:       OpenAL Soft
  AL Extensions:  AL_EXT_ALAW AL_EXT_BFORMAT AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_BFORMAT AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_EXT_SOURCE_RADIUS AL_EXT_STEREO_ANGLES AL_LOKI_quadriphonic AL_SOFT_block_alignment AL_SOFT_deferred_updates AL_SOFT_direct_channels AL_SOFT_gain_clamp_ex AL_SOFT_loop_points AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length AL_SOFT_source_resampler AL_SOFT_source_spatialize
  ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFTX_device_clock ALC_SOFT_HRTF ALC_SOFT_loopback ALC_SOFT_output_limiter ALC_SOFT_pause_device
  Device:         ALSA Default
  Available Devices:
ALSA Default
Ensoniq AudioPCI, ES1371 DAC2/ADC (CARD=AudioPCI,DEV=0)
Ensoniq AudioPCI, ES1371 DAC1 (CARD=AudioPCI,DEV=1)
  Input Device:   ALSA Default
  Available Input Devices:
ALSA Default
Ensoniq AudioPCI, ES1371 DAC2/ADC (CARD=AudioPCI,DEV=0)
Sound initialization successful.
--------------------------------
Try loading dll file ./coopmain/ui.coop.x86_64.so
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 192.168.1.17
IP6: ::1
IP6: fe80::226:18ff:fe53:f59a%eth0
Opening IP socket: 0.0.0.0:27960
sv_maxclients will be changed upon restarting.
------ Server Initialization ------
Server: escape1
RE_Shutdown( 0 )
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/home/inukaze/.wolf/coopmain
/home/inukaze/.wolf/main
./coopmain
./coopmain/sp_pak_coop1.pk3 (659 files)
./main
./main/sp_rend2_shaders0.pk3 (5 files)
./main/sp_pak4.pk3 (21 files)
./main/sp_pak3.pk3 (14 files)
./main/sp_pak2.pk3 (232 files)
./main/sp_pak1.pk3 (1345 files)
./main/pak0.pk3 (4775 files)
./main/mp_rend2_shaders0.pk3 (2 files)
./main/mp_pakmaps6.pk3 (81 files)
./main/mp_pakmaps5.pk3 (35 files)
./main/mp_pakmaps4.pk3 (52 files)
./main/mp_pakmaps3.pk3 (83 files)
./main/mp_pakmaps2.pk3 (47 files)
./main/mp_pakmaps1.pk3 (34 files)
./main/mp_pakmaps0.pk3 (21 files)
./main/mp_pak5.pk3 (77 files)
./main/mp_pak4.pk3 (5 files)
./main/mp_pak3.pk3 (76 files)
./main/mp_pak2.pk3 (3 files)
./main/mp_pak1.pk3 (308 files)
./main/mp_pak0.pk3 (783 files)
./main/mp_bin0.pk3 (13 files)
./main/mp_bin.pk3 (4 files)
    
handle 1: rtcwconsole.log
----------------------
8675 files in pk3 files
couldn't exec mapcfgs/escape1.cfg
Try loading dll file ./coopmain/qagame.coop.x86_64.so
------- Game Initialization -------
gamename: coopmain
gamedate: Aug 23 2017
Gametype changed, clearing session data.
Loading: maps/escape1.coop.ai
Loading: maps/escape1.ents
------- BotLib Initialization -------
------------ Map Loading ------------
trying to load maps/escape1_b0.aas
loaded maps/escape1_b0.aas
trying to load maps/escape1_b1.aas
loaded maps/escape1_b1.aas
-------------------------------------
AAS initialized.
AAS initialized.
-----------------------------------
RE_Shutdown( 0 )
----- R_Init -----
Initializing Shaders
^3WARNING: In shader file scripts/common.shader...Shader "textures/sfx/portal3a_back2" on line 822 is missing closing brace^3.
^3WARNING: In shader file scripts/ui_wolf.shader...Invalid shader name "}" on line 1849.
----- finished R_Init -----
Failed to find pure ui VM, trying unpure
Try loading dll file ./coopmain/ui.coop.x86_64.so
Failed to find pure cgame VM, trying unpure
Try loading dll file ./coopmain/cgame.coop.x86_64.so
LOADING... collision map
LOADING... sounds
    
.........................
Initializing Sound Scripts
done.
voice chat memory size = 4608
LOADING... graphics
LOADING... maps/escape1.bsp
stitched 88 LoD cracks
...loaded 14663 faces, 284 meshes, 367 trisurfs, 7 flares
LOADING... game media
LOADING...  - textures
LOADING...  - models
LOADING...  - weapons
LOADING...  - items
LOADING...  - inline models
LOADING...  - server models
LOADING...  - particles
LOADING...  - game media done
LOADING... flamechunks
LOADING... clients
UI menu load time = 3 milli seconds
CL_InitCGame:  7.66 seconds
10 msec to draw all images
Com_TouchMemory: 0 msec
[skipnotify]Inukaze^7 Unpure client detected. Invalid .PK3 files referenced!
----- Server Shutdown (Server disconnected) -----
==== ShutdownGame ====
AAS shutdown.
---------------------------
----- FS_Startup -----
Current search path:
/home/inukaze/.wolf/coopmain
/home/inukaze/.wolf/main
./coopmain
./coopmain/sp_pak_coop1.pk3 (659 files)
./main
./main/sp_rend2_shaders0.pk3 (5 files)
./main/sp_pak4.pk3 (21 files)
./main/sp_pak3.pk3 (14 files)
./main/sp_pak2.pk3 (232 files)
./main/sp_pak1.pk3 (1345 files)
./main/pak0.pk3 (4775 files)
./main/mp_rend2_shaders0.pk3 (2 files)
./main/mp_pakmaps6.pk3 (81 files)
./main/mp_pakmaps5.pk3 (35 files)
./main/mp_pakmaps4.pk3 (52 files)
./main/mp_pakmaps3.pk3 (83 files)
./main/mp_pakmaps2.pk3 (47 files)
./main/mp_pakmaps1.pk3 (34 files)
./main/mp_pakmaps0.pk3 (21 files)
./main/mp_pak5.pk3 (77 files)
./main/mp_pak4.pk3 (5 files)
./main/mp_pak3.pk3 (76 files)
./main/mp_pak2.pk3 (3 files)
./main/mp_pak1.pk3 (308 files)
./main/mp_pak0.pk3 (783 files)
./main/mp_bin0.pk3 (13 files)
./main/mp_bin.pk3 (4 files)
    
handle 1: rtcwconsole.log
----------------------
8675 files in pk3 files
forcefully unloading cgame vm
RE_Shutdown( 0 )
Hunk_Clear: reset the hunk ok
----- R_Init -----
Initializing Shaders
^3WARNING: In shader file scripts/common.shader...Shader "textures/sfx/portal3a_back2" on line 822 is missing closing brace^3.
^3WARNING: In shader file scripts/ui_wolf.shader...Invalid shader name "}" on line 1849.
----- finished R_Init -----
Try loading dll file ./coopmain/ui.coop.x86_64.so
^3turning EXEC_NOW 'quit' into EXEC_INSERT
----- Client Shutdown (Client quit) -----
RE_Shutdown( 1 )
Hunk_Clear: reset the hunk ok
OpenAL capture device closed.
-----------------------

Reading the message "Inukaze^7 Unpure client detected. Invalid .PK3 files referenced!" well i try with the option "Pure Server : Off"

Umm with Pure Server : Off option, the game can load the official spanish translations without problems, the weird is with the exact same files inside the pk3 file, happend the above error when pure server is on.

Scrot_2021-06-22|12:22:37_am

With just extract content without the file this happend with Pure Server On:
Scrot_2021-06-22|12:26:44_am

With just extract content without the file this happend with Pure Server Off:
Scrot_2021-06-22|12:29:14_am

Well i don't have idea why with « Pure Server : On » is not working if are the official files.

@inukaze
Copy link
Author

inukaze commented Jun 24, 2021

  1. Outside of everyone doing a give all, you would have to modify the map scripts.
  2. Shift+Esc should work on all keyboard languages.
  3. The Spanish translation is part of pak1.pk3 and pak3.pk3 in the main folder. The sp_pak_coop1.pk3 should go in the coopmain folder. Make sure you're not including the sp_pak_coop1 folder in your zip file...it's the level below it you want (with all of the subfolders. ie levelshots, maps, models etc.)

Where are the map scripts i should edit for the « give ammo » instead of « give all » ?
we just need ammo because in coop mod load just for one player, not for the # players connected for that i make the « Feature Request » of a method like « Serious Sam » method for Coop Lan Play.

@fretn
Copy link
Contributor

fretn commented Oct 14, 2021

about the ammo, you can also give ammo to eachother, check the controls menu there's a button for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants