A Powerslave / Exhumed Map and Game FAQ

User avatar
jonof
Posts: 8
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: 50
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: 215
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: 8
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.)
User avatar
jonof
Posts: 8
Joined: Wed Oct 24, 2018 6:57 am

Re: A Powerslave / Exhumed Map and Game FAQ

Postby jonof » Tue Feb 25, 2020 1:11 pm

I don't know how helpful this will be after so long, but since I said I'd get back to it and I finally have, here it is. This version should resolve the "load from GRP" problem and misbehaviour with the native load/save dialogue box: https://dump.jonof.id.au/rtcm/exhumed-e ... 910471.zip
It still needs the MSVC 2015 redistributable, which is included. You just need to provide a copy of stuff.dat from the game. The source it's built from is in the exhumed-editor branch of the jfbuild repository.

Jonathon
-=CHE@TER=-
Posts: 50
Joined: Thu Dec 14, 2017 11:54 am

Re: A Powerslave / Exhumed Map and Game FAQ

Postby -=CHE@TER=- » Tue Feb 25, 2020 5:12 pm

It's never too late to have a proper tool for the level editing or viewing.
There is already two Powerslave/Exhumed ports available (PCExhumed and BuildGDX), but none of them goes with the editor.
So your work really appreciated.
By the way, if you'll work on your editor further I would suggest to take a look at PCExhumed repository, maybe this helps.
Thank you!

Return to “Powerslave / Exhumed”

Who is online

Users browsing this forum: No registered users and 0 guests