Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Terminals.
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#11
RE: Terminals.

(04-01-2016, 10:16 PM)Abion47 Wrote: Also, how are you storing the values in your lang file? Are you adding to an existing file or creating a new one?
That's all too it currently. I am only adding this to one computer so far.
04-01-2016, 10:19 PM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#12
RE: Terminals.

So you've created a brand new lang file with the above contents?
04-01-2016, 10:21 PM
Find
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#13
RE: Terminals.

(04-01-2016, 10:21 PM)Abion47 Wrote: So you've created a brand new lang file with the above contents?
Yes. Is there something wrong with what I did?
(This post was last modified: 04-01-2016, 10:22 PM by Hypercube.)
04-01-2016, 10:22 PM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#14
RE: Terminals.

From what I can tell by how lang files are used, in addition to linking to them in the resources.cfg file, you also have to link to it in your main config file. The other thing is that it seems like the config file only really has a slot for one lang file for your in-game text - the one listed by DefaultGameLanguage. By default, this is the english.lang file that is either in the config folder or a subfolder of the config folder. Since that file generally has stuff already in it, I'd recommend that you copy the one from SOMA's config folder and add your stuff to the bottom of it.

Another thing that I've noticed is that since the SomaDev.bat launcher doesn't load your mod's config files (it just loads the map information), it isn't going to get your lang file either. Because of that, when you run your mod through the DevBat, all your lang stuff isn't going to display. If you run it through the ModLauncher though, it should display just fine.
04-01-2016, 10:37 PM
Find
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#15
RE: Terminals.

(04-01-2016, 10:37 PM)Abion47 Wrote: Another thing that I've noticed is that since the SomaDev.bat launcher doesn't load your mod's config files (it just loads the map information), it isn't going to get your lang file either. Because of that, when you run your mod through the DevBat, all your lang stuff isn't going to display. If you run it through the ModLauncher though, it should display just fine.
I tried loading it in modloader but when I clicked new game in main menu, it started loading and then crashed: "could not load map file". What's wrong with it now?
04-02-2016, 01:25 AM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#16
RE: Terminals.

(04-02-2016, 01:25 AM)Hypercube Wrote:
(04-01-2016, 10:37 PM)Abion47 Wrote: Another thing that I've noticed is that since the SomaDev.bat launcher doesn't load your mod's config files (it just loads the map information), it isn't going to get your lang file either. Because of that, when you run your mod through the DevBat, all your lang stuff isn't going to display. If you run it through the ModLauncher though, it should display just fine.
I tried loading it in modloader but when I clicked new game in main menu, it started loading and then crashed: "could not load map file". What's wrong with it now?

My initial suspicion would be to check your config file to make sure you set your initial map correctly in the StartMap section.
04-02-2016, 05:38 AM
Find
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#17
RE: Terminals.

(04-02-2016, 05:38 AM)Abion47 Wrote: My initial suspicion would be to check your config file to make sure you set your initial map correctly in the StartMap section.

Yeah it is correctly there. But it's still not working.
04-02-2016, 06:06 AM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#18
RE: Terminals.

Is there an error message that shows up when it crashes?
04-02-2016, 11:47 PM
Find
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#19
RE: Terminals.

(04-02-2016, 11:47 PM)Abion47 Wrote: Is there an error message that shows up when it crashes?

already said that ealier. "could not load map 'the_experiment.hps'"
Haha wow, I'm pretty stupid actually. hps is the script file, i meant it said "the_experiment.hpm". The file name in the main_init file I put was .hps and not hpm.
(This post was last modified: 04-03-2016, 03:50 AM by Hypercube.)
04-03-2016, 02:35 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#20
RE: Terminals.

Well, a .hps is not the map file. The .hpm is a map file.

Assuming you're on Windows, navigate to Documents/My Games/SOMA/ and find the hpl.log file. At the bottom, it should show you something along the lines of "Could not load map file", but should give you a full directory. It may hint to you as to why it cannot find the map file.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
04-03-2016, 03:06 AM
Find




Users browsing this thread: 1 Guest(s)