Author Topic: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line  (Read 122903 times)

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2343
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #150 on: April 10, 2023, 11:49:38 AM »
You can attach save files here, they would be really helpful in figuring out the crashing. I have a feeling it's something dumb I forgot to address.

Labs are the only ones off the top of my head that serve no purpose yet. The UG factories can build items but they're not really consumed yet at this point. UG Commercial improves morale.

Population model needs to be improved. Working on it :D

Offline ytszazu

  • Newbie
  • *
  • Posts: 7
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #151 on: April 11, 2023, 02:16:44 AM »
May i know where is the location of the save files? Thanks

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2343
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #152 on: April 11, 2023, 01:39:43 PM »
It's in the AppData folder in your user directory. It's typically hidden by default. If you launch the game and click Continue, the file picker window will come up. There's a button at the top right that should open the folder for you. (see attached image). In my case it breaks because there's a space in my user name... will have to address that in the next patch.

As a note this is not currently working on macOS (will work on figuring that out).

Also if you are getting any error messages, screenshots of those would also be really helpful.

Finally there is a log that OPHD generates in its launch folder, it's called ophd.log, that could be useful too.

--

But yeah, it's weird that it's so unstable for you. I tried playing the game a few times on three different computers (my main development machine, my macbook pro and my mac mini) and haven't had any crashing.

Offline ytszazu

  • Newbie
  • *
  • Posts: 7
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #153 on: April 12, 2023, 07:47:57 AM »
Hello there,

Here are two save files.

1 10 is working
1 11 will crash upon pressing next turn.

Anyway, i reloaded save file 1 10 and played until turn 230, then it crashed again, refer to the crash screen picture.
« Last Edit: April 12, 2023, 08:10:28 AM by ytszazu »

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2343
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #154 on: April 13, 2023, 09:17:05 AM »
Ah so it just hangs, no error message? Huh. Will definitely look over this. I played a few games on a few different computers without issue so interested to see what's going on here :D



So in 1 11 game this is in the data:

Code: [Select]
<structure age="8" crime_rate="0" depth="1" direction="1" disabled_reason="0" forced_idle="false" idle_reason="0" integrity="95" pop0="2" pop1="0" state="1" type="18" x="53" y="96">
<waste accumulated="966440236" overflow="-2147471807" />
</structure>

So interesting. This looks like a residence... and the overflow value... overflowed. The accumulated value is also very weird. Suspecting this is where I'm going to take a closer look.
« Last Edit: April 13, 2023, 09:22:34 AM by leeor_net »

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2343
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #155 on: April 13, 2023, 06:41:01 PM »
Ran it on my development machine and... ... ew. This is a scary bug. Not sure how this was managed but the savegames you provided are extremely helpful!

If you're able to figure out the steps you used to get the game into the state that they're in (e.g., saving/loading, reloading, etc.), let me know. In the mean time I've got some bug hunting to do!
« Last Edit: April 13, 2023, 06:51:27 PM by leeor_net »

Offline ytszazu

  • Newbie
  • *
  • Posts: 7
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #156 on: April 14, 2023, 04:40:25 PM »
Hello there,

The attachment contains another of those failed saves.

It might be the saving process, as i did not do much except bulldoze a few tiles.

Another assumption is because i bulldoze the robot command center and have about 5 dozers "deactivated somewhere" after bulldozing the robot command center. (due to not enough workforce)

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2343
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #157 on: April 14, 2023, 04:50:12 PM »
That's a really good observation. There is no check in the code atm for whether or not there is storage for robots if an RCC is bulldozed. Not sure if that would cause stack/heap thrashing but it's definitely a clue!

Offline ytszazu

  • Newbie
  • *
  • Posts: 7
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #158 on: April 21, 2023, 09:13:23 AM »
Hello there,

May i know what is your plans for the next version? Estimated date release?

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2343
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #159 on: April 26, 2023, 06:25:17 PM »
A fudge, I thought I replied to this. Probably forgot to hit post.

So I can't say for sure, but the biggest block for me right now is figuring out what the research screen itself should look like. UI/UX design is confounding to me... What I have now is either super kludgy (see Factory Production Window) or someone else designed it and I just made it functional (see factory production full screen UI and mine full screen ui).

That stated, a lot of the research implementation is already complete in the code -- it's why the Fusion Reactor and Solar Receiver Array structures are no longer available to build (until the appropriate research is completed).

So assuming I can figure out a basic idea of the research UI, it shouldn't take more than a few weeks to get it implemented and pushed out for release.
« Last Edit: April 26, 2023, 06:27:25 PM by leeor_net »

Offline ytszazu

  • Newbie
  • *
  • Posts: 7
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #160 on: June 05, 2023, 08:26:24 AM »
Checks here once a month to see if got any updates :)