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

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • 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: 10
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: 2352
  • 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: 10
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: 2352
  • 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: 2352
  • 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: 10
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: 2352
  • 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: 10
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: 2352
  • 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: 10
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 :)

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #161 on: June 11, 2023, 11:34:38 PM »
So there's actually a lot changed under the hood with the new research interface partially built. I might go ahead and make a v0.8.8 release for ya, see if some of tgst crashing is improved.

Ivve still not been able to reproduce the conditions your save game ended up in. Really really weird. But we have found and squashed some other defects that may be related.

Offline ytszazu

  • Newbie
  • *
  • Posts: 10
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #162 on: July 15, 2023, 06:57:30 AM »
Monthly check in.

Of course i am intrested to test any new releases. :):):)

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #163 on: August 05, 2023, 09:36:21 AM »
Haven't made a whole lot of progress in the last month -- work moved me to another store so that's occupied my time and I got a paid gig to help develop some parts of a commercial game so my time has been focused on that the last couple of weeks. So not dead, just on the back burner for a bit :D

Offline ytszazu

  • Newbie
  • *
  • Posts: 10
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #164 on: August 11, 2023, 08:33:06 AM »
"Jumps in"

Monthly check in!!!!

"Jumping out"

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #165 on: August 11, 2023, 01:29:03 PM »
Ahh yes, subtle hints we should get back to work on this.  ;)

Offline ytszazu

  • Newbie
  • *
  • Posts: 10
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #166 on: October 20, 2023, 07:24:35 AM »
Monthly peek-a-boo!

Offline Sirbomber

  • Hero Member
  • *****
  • Posts: 3238
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #167 on: October 20, 2023, 01:12:49 PM »
You should probably hop on the official OPU Discord channel if you want to stay up to date on things.
"As usual, colonist opinion is split between those who think the plague is a good idea, and those who are dying from it." - Outpost Evening Star

Outpost 2 Coding 101 Tutorials

Offline VileTerror

  • Newbie
  • *
  • Posts: 9
discord is a bad piece of software with a dangerous T.o.U.
« Reply #168 on: October 23, 2023, 07:15:46 PM »
But there's a wonderful forum right here!

Offline Arklon

  • Administrator
  • Hero Member
  • *****
  • Posts: 1269
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #169 on: October 28, 2023, 04:59:52 PM »
But there's a wonderful forum right here!
To each his own, but really we're all here for a niche cult hit from the 90's RTS, itself a genre that's even more abandoned than Arena FPS is now. Let's not pretend as if QuakeNet IRC was any better though. :P

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: OutpostHD - An Open Source Remake of OUTPOST by Sierra On-Line
« Reply #170 on: November 28, 2023, 10:21:48 AM »
I know I've been a bit quiet as of late -- mostly I've just needed a break from coding in general.

Definitely haven't forgotten about the project. Holidays are usually a bad time for me so not sure when I'll get back into the swing of it.

Anyway, I've been hyping myself up to push for 0.9.0 -- the biggest bottleneck is the research interface. I'm getting stuck on trying to make it perfect the first time around. So I've been telling myself that I just need to get it working and can make it better later.