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

Custom language and HD models folder system unsupported #18

Open
IlDucci opened this issue Feb 26, 2018 · 19 comments
Open

Custom language and HD models folder system unsupported #18

IlDucci opened this issue Feb 26, 2018 · 19 comments
Labels
enhancement New feature or request graphics Related to the renderer system This issue is related to engine internals like file I/O.

Comments

@IlDucci
Copy link

IlDucci commented Feb 26, 2018

While the WON versions had the language content pasted on the same valve folder, the Steam version exported all of that to custom folders, like valve_hd for the HD models from Blue Shift and valve_spanish for the Spanish content (Bear in mind that there's plenty of untranslated strings in the custom "dlls" used in Xash3D).

Also, if you need some translation and graphics help, I could help a bit.

@fgsfdsfgs fgsfdsfgs added enhancement New feature or request graphics Related to the renderer system This issue is related to engine internals like file I/O. labels Feb 26, 2018
@fgsfdsfgs
Copy link
Owner

fgsfdsfgs commented Feb 26, 2018

I don't think Xash3D supports either of those systems, since it's closer to WON HL than it is to Steam HL, but I might be mistaken. Once I fix the mod system, however, it will probably be possible to mount those directories as "mods", then I'll see what I can do.

Also, I'm that afraid with the current renderer hi-def models would lag like ass. You can try them out by replacing low-def models in the valve folder with the models from the valve_hd folder, should you want to test performance.

Thanks for the offer, but I can't think of anything graphics-related that you could help with right now. If you find anything yourself that you could improve, feel free to make a pull request with the changes. As for translation, I'll look into that after I fix the mod system at least partially.

@IlDucci
Copy link
Author

IlDucci commented Feb 26, 2018

Well, I'd like to change the menu font to one that's more similar to Trebuchet (The original one), but I don't know about this .FNT format. I thought HL used WADs for texts. Also, the android icons look like crap when opened in an editor, but I don't think you use them.

I could make a Vita raster logo if you plan on doing some sort of custom controls window, or a replica of the old WON menu graphics.

Also, here's a quick idea: Maybe you could use the touchscreen for certain features? Like turning on and off the flashlight, for example.

@fgsfdsfgs
Copy link
Owner

Yes, I will definitely implement some sort of touch screen controls.

In the latest commit menu button rendering actually has been fixed, so Xash will now load the original menu buttons like it should if they're present in either your HL data files or in extras.pak.

@MuskratDesman
Copy link

If you add controls to the touch screen, please adapt the controls for Vita TV - that is, move the functions from touch-control to L2 / R2 and L3 / R3. Also, if you use Dualshock 4 on Vita TV, the touch panel becomes available for use. Please consider this.

@fgsfdsfgs
Copy link
Owner

I'll try to do that when I get to implementing touch controls, though I don't have a PSTV.

@Damin72
Copy link

Damin72 commented Feb 27, 2018

I replace models from valve folder with models from valve_hd and... It's worked. Perfomance don't change.

@a1batross
Copy link

Engine does support "custom" folder.

You can place modified models/sound/etc to valve/custom/, preserving folder hierarchy. So original files won't hurt and you easily can revert it back.

@fgsfdsfgs
Copy link
Owner

Thanks for testing performance. The custom and download folders also work fine in the Vita port.

@IlDucci
Copy link
Author

IlDucci commented Feb 28, 2018

I've put both valve_hd and valve_spanish in the custom folder.

The Spanish translation from Steam seems to work OK (No missing accented characters, voices working just like in English, graphics updated), but, of course, it's missing all of the WON content (Menu BMPs and such). I've made a full replica of the menus for myself for now, but I could do other languages as well.

As for the HD models, I was going through the Hazard Course (Via a game saved before the HD update) and the shooting area had small drops in framerate, like it was trying to load stuff. I think that didn't happen on my previous run.

@Rameron
Copy link

Rameron commented Mar 2, 2018

Hello, guys!
I installed original half-life from steam on my pc, then I installed russian patch. It added folder "valve_addon" to my installation folder of the game. I copied the content of this folder to xash3d/valve folder on my PS Vita and... It was changed only the language of game interface, but the voices are in English. What should I to change for activation of russian voices?
Thanks.

@Damin72
Copy link

Damin72 commented Mar 2, 2018

Rameron
Maybe yo dont transfer sound files?

@Rameron
Copy link

Rameron commented Mar 2, 2018

Damin72
I transfered all files from the addon folder, it was approximately 100 MB of information. Are the sounds files packed in "pak0.pak" file?

@Damin72
Copy link

Damin72 commented Mar 2, 2018

Rameron
Good question... Need to test myself. =/

@Damin72
Copy link

Damin72 commented Mar 2, 2018

Rameron
I don't know how you translated text (because i can't do this =/), but i get russian voices. Install pack from ZoG, look "Date of Change" and just copy "new" folders to Vita/data/valve/sounds.

@IlDucci
Copy link
Author

IlDucci commented Mar 2, 2018

@Damin72 @Rameron Or you can copy the contents of valve_addon to ux0:\data\xash3d\valve\custom.

@Rameron
Copy link

Rameron commented Mar 2, 2018

Oh, thanks. There are "sound" folder in the "pak0.pak", but steam version already have unpacked sound folder with English voice pack, so content of "pak0.pak" was ignoring by xash3d!

@Damin72
Copy link

Damin72 commented Mar 2, 2018

@IlDucci yeah, this works, but with some problem. It seems to be xash3d menu has his own file with text and translated HL-menu file doesn't affect.

@IlDucci
Copy link
Author

IlDucci commented Mar 2, 2018 via email

@Elm4aster
Copy link

hola que tal soy un fan fan de half life y la verdad me interesa eso de traducir el menu de fondo las letras al menos que se vean en español se que quizas se necesite programar y eso pero la verdad me gustaria aprender como puedo empezar a modificar el lenguaje las letras de fondo me refiero en el xash3d pude conseguir el btns-main.bpm en español del half life 1.1.1.0 en español pero me falta las lteras pequeñas que especifican estaria agradecido en verdad me cree esta cuenta para poder consulatar con gente que sabe del tema saludos de peru

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request graphics Related to the renderer system This issue is related to engine internals like file I/O.
Projects
None yet
Development

No branches or pull requests

7 participants