A Powerslave / Exhumed Map and Game FAQ

User avatar
jonof
Posts: 7
Joined: Wed Oct 24, 2018 6:57 am

Re: A Powerslave / Exhumed Map and Game FAQ

Postby jonof » Wed Nov 07, 2018 10:04 am

This version should work fine: http://static.jonof.id.au/tmp/exhumed-e ... 1b81bb.zip

I checked with a fresh WinXP installation having nothing but Microsoft's OpenGL 1.1 software renderer, copied just stuff.dat from Exhumed into the directory, and it gracefully fell back to 8-bit rendering. You'll still see the GL modes offered for selection in the setup window though. I'm currently thinking of a nice way to veto GL early if it doesn't meet the requirements.
-=CHE@TER=-
Posts: 46
Joined: Thu Dec 14, 2017 11:54 am

Re: A Powerslave / Exhumed Map and Game FAQ

Postby -=CHE@TER=- » Wed Nov 07, 2018 1:17 pm

jonof wrote:This version should work fine
Yay! Works like a charm and with proper palettes. Thank you!
Few suggestions:

1) When you press ESC and L (load) in 2D mode - can you change default folder from "My Documents" to the current folder if "user_profiles_disabled" exists? It's not very convenient to go to the game folder from up there.

Code: Select all

OPENFILENAME ofn;
  // ...
  ZeroMemory(&ofn, sizeof(ofn));
  // ...
  if (user_profiles_disabled) {
    ofn.lpstrInitialDir = TEXT("."); // current folder
  }
  // ...
  if (GetOpenFileName(&ofn)) {
    // ...
  }


2) Don't know why, but after I load a map from (G)RP file I can't save as (A) or load (L) any map - for the moment I see a default Windows cursor (as I understand dialog box apper) and then it instantly closed - operation canceled.

3) I see that you're using Microsoft Visual C++ 2015 Redistributable libraries:

Code: Select all

push 000497454 ; "newboard.map"
push 0004AAB78
call strcpy ; api-ms-win-crt-string-l1-1-0.dll

I don't know how much of new funcions you're using, but for old ones like strcpy() linking against MSVCRT.DLL probably should remove all these new dependences for better backward compatability (you don't need to download or install any Redistributable packages). It's just a suggestion if you want to implement this.

Thanks!
User avatar
Corvin
Posts: 204
Joined: Fri May 20, 2016 1:10 pm
Location: R.T.C.M.
Contact:

Re: A Powerslave / Exhumed Map and Game FAQ

Postby Corvin » Fri Nov 09, 2018 12:57 pm

JonoF,

I'd prefer if your editor would default to the local game folder automatically, rather than have to have an extra file present in the main game folder to say otherwise.

No big deal though. I can work with what you provided.
User avatar
jonof
Posts: 7
Joined: Wed Oct 24, 2018 6:57 am

Re: A Powerslave / Exhumed Map and Game FAQ

Postby jonof » Wed Dec 05, 2018 6:50 am

Once I close off the stuff I'm currently finishing I'll see about those editor load/save quirks. (Cross-compilation changes, OpenGL ES2.0 support, and Polymostless/OpenGL-less build support, and trying to get some semblance of continuous integration working again instead of manually checking for build-breaking changes on three platforms.)

Return to “Powerslave / Exhumed”

Who is online

Users browsing this forum: No registered users and 0 guests