Export and Import QFG5 Backgrounds with qfg5pano

Not finding any Glory in this whole Quest for Glory bit? Need a hint? Or just want to discuss Quest for Glory - this is the place to do it!
Post Reply
GMFattay
Noob
Posts: 6
Joined: Sun Jan 27, 2013 3:32 pm
Gender: Not Specified

Export and Import QFG5 Backgrounds with qfg5pano

Post by GMFattay » Sun Sep 21, 2014 3:11 am

Qfg5pano is a command-line program that imports and exports panorama backgrounds to and from Quest for Glory 5. An exported background can be modified in image editing software and imported back into the game.

The community may be particularly interested in the unused WIP backgrounds found in some of the game's files. Some of the backgrounds also make nice desktop wallpapers :)

Example of exported background:
Image

Details and Download Links here: http://qfgmods.net/index.php?title=Qfg5pano
Image
QFGMods.net - Your resource for QFG modding.

User avatar
Collector
Grand Poobah
Posts: 10963
Joined: Wed Oct 08, 2008 12:57 am
Location: Sierraland
Contact:

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by Collector » Sun Sep 21, 2014 4:44 am

Nice. Is this your work?
01000010 01111001 01110100 01100101 00100000 01101101 01100101 00100001

Image

GMFattay
Noob
Posts: 6
Joined: Sun Jan 27, 2013 3:32 pm
Gender: Not Specified

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by GMFattay » Sun Sep 21, 2014 4:57 pm

Yeah. I'm usually a web programmer so it took a bit of research and learning to write the program.

I'll be looking into extracting the region data (RGD files) for the backgrounds at some point and also the look and touch data.

The program is open source and can be freely extended by others ( background viewer GUI?). There are a few other programs on qfgmods.net for extracting and importing things like the meshes and skins from the game.
Image
QFGMods.net - Your resource for QFG modding.

User avatar
Tawmis
Grand Poobah's Servant
Posts: 10321
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by Tawmis » Sun Sep 21, 2014 5:06 pm

This is pretty freaking amazing.

User avatar
Collector
Grand Poobah
Posts: 10963
Joined: Wed Oct 08, 2008 12:57 am
Location: Sierraland
Contact:

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by Collector » Sun Sep 21, 2014 5:37 pm

C# is my preference, so I will have a look when I get time.
01000010 01111001 01110100 01100101 00100000 01101101 01100101 00100001

Image

GMFattay
Noob
Posts: 6
Joined: Sun Jan 27, 2013 3:32 pm
Gender: Not Specified

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by GMFattay » Sun Sep 21, 2014 5:57 pm

Awesome, thanks for the comments guys - it would be awesome to get some help from other programmers =]

Another element of the backgrounds I forgot to mention is the animation overlays (GRA files). I have yet to investigate these aswell.
Image
QFGMods.net - Your resource for QFG modding.

GMFattay
Noob
Posts: 6
Joined: Sun Jan 27, 2013 3:32 pm
Gender: Not Specified

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by GMFattay » Sun Sep 21, 2014 6:03 pm

Collector wrote:C# is my preference, so I will have a look when I get time.
Cool as, just let me know if you need any pointers as my code comments are quite sporadic :lol:
Image
QFGMods.net - Your resource for QFG modding.

Chixdiggit
Noob
Posts: 1
Joined: Thu Jan 18, 2018 12:24 pm
Gender: Not Specified

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by Chixdiggit » Tue Jan 23, 2018 12:12 am

I'm not super familiar with the fifth Quest for Glory game but am I right in that there is no true 3d besides the characters, that the backgrounds are all prerendered? If so, what is the method for 360 degree (or whatever, 270) viewing? I remember being a teen when the demo for this came out, and trying to stitch the backgrounds together with screen grabs, and finding that there was a perspective misalignment when looking left to right, so I always assumed there was a sort of 3d going on.

I do have a memory falling in a net-hole and reading of somebody, somewhere making a 3d extraction tool. But that's probably a faulty memory and I am thinking of this same topic.

Thanks guys.

Rath Darkblade
The Cute One
Posts: 4030
Joined: Fri Oct 24, 2008 5:15 am
Location: Lost in Translation
Gender: Not specified
Contact:

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by Rath Darkblade » Thu Jan 25, 2018 4:26 am

Chixdiggit! :shock: Is that really you? The last time I "saw" you was at Hans Halfwitten's Halfwittenberg Door! (Now defunct, alas). How the hell are you? :D

User avatar
Tawmis
Grand Poobah's Servant
Posts: 10321
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by Tawmis » Thu Jan 25, 2018 12:21 pm

Rath Darkblade wrote:Chixdiggit! :shock: Is that really you? The last time I "saw" you was at Hans Halfwitten's Halfwittenberg Door! (Now defunct, alas). How the hell are you? :D
It's the same person - they emailed me directly to ask if I can create an account for them since Forum Registration is currently disabled.

User avatar
adeyke
Oldbie
Posts: 754
Joined: Wed Sep 16, 2009 11:47 pm
Location: Germany
Contact:

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by adeyke » Thu Jan 25, 2018 2:02 pm

Unlike many games with a pre-rendered background, QfG5 had a moving camera. The simplest way to simulate this would just be by zooming and panning the background, but I'm not sure if QfG5 did something more complex than that. If there's even a small difference in the zoom level, you won't be able to fit separate screenshots together (and even if you scale them to fit, the lossy nature of this could still leave the seam noticeable).

Also, while the graphics themselves are pre-rendered, there must be some sort of information about what 3D space an image represents. The 2D games do this by having each background image be accompanied by a control screen defining the walkable areas and a priority screen defining what parts of the image are foreground and what parts are background. QfG5 seems to go beyond this, though, with projectiles able to bounce off of or stick into various parts of the background. I'm not sure how they did this, but it wouldn't surprise me if the game actually did have rudimentary 3D models of the scenes that weren't displayed but were used to define these sorts of collisions.

User avatar
Collector
Grand Poobah
Posts: 10963
Joined: Wed Oct 08, 2008 12:57 am
Location: Sierraland
Contact:

Re: Export and Import QFG5 Backgrounds with qfg5pano

Post by Collector » Thu Jan 25, 2018 8:09 pm

Might be worth it to ask Cory about it.
01000010 01111001 01110100 01100101 00100000 01101101 01100101 00100001

Image

Post Reply