Page 5 of 5

Re: A Powerslave / Exhumed Map and Game FAQ

Posted: Wed Nov 07, 2018 10:04 am
by jonof
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.

Re: A Powerslave / Exhumed Map and Game FAQ

Posted: Wed Nov 07, 2018 1:17 pm
by -=CHE@TER=-
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!

Re: A Powerslave / Exhumed Map and Game FAQ

Posted: Fri Nov 09, 2018 12:57 pm
by Corvin
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.

Re: A Powerslave / Exhumed Map and Game FAQ

Posted: Wed Dec 05, 2018 6:50 am
by jonof
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.)