Sword of Moonlight Forum

Sword Of Moonlight Games => Games in Progress (Demo) => Topic started by: Holy_Diver on December 01, 2018, 11:22:55 pm

Title: King's Field II, accurate recreation, including VR
Post by: Holy_Diver on December 01, 2018, 11:22:55 pm
Project file/demo/personal backup: http://www.swordofmoonlight.net/holy/KING'S%20FIELD%20II.zip

Information: http://www.swordofmoonlight.net/bbs2/index.php?topic=286.0

Supplemental: http://www.swordofmoonlight.com/bbs/index.php?topic=1129.0
Title: Re: King's Field II, accurate recreation, including VR
Post by: Xethuminra on February 09, 2019, 02:06:51 pm
My computer keeps telling me zlibd1.dll has a trojan. Any advice?
Title: Re: King's Field II, accurate recreation, including VR
Post by: Holy_Diver on February 10, 2019, 12:50:43 am
You can delete it. I didn't know it was in there. It's a dependency of a tool I was using to convert files. It's not a "trojan." Thanks for showing an interest. Those things have lots of false positives.
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 14, 2019, 05:58:12 pm
King's field 2 was one of my favorite games, definitely gonna try this out.
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 14, 2019, 06:14:35 pm
Experienced an issue with the resolution, the default is set to 1024x768, it cuts off the right and left side of the screen, the left side isn't a problem, but the right is since it cuts off part of the game screen.
Title: Re: King's Field II, accurate recreation, including VR
Post by: Holy_Diver on April 14, 2019, 07:52:57 pm
Experienced an issue with the resolution, the default is set to 1024x768, it cuts off the right and left side of the screen, the left side isn't a problem, but the right is since it cuts off part of the game screen.

You'd have to post an image. There aren't any resolution problems. You can change the resolution in the Options. What do you mean the "left side isn't a problem" anyway? If the picture is not there for you that would be a major problem.


EDITED: The image below is an example screen. You can set the resolution to anything and that is the resolution the window will be. You can maximize or press Alt+F11 to put it into full screen. Normally F11 by itself would do so, however the debug overlay system is enabled, which does something else with F11. (To preempt further confusion, the image shows a water effect not in the current demo files. It was released the other day, but isn't enabled without changing the INI file.)

(http://www.swordofmoonlight.net/bbs2/index.php?action=dlattach;topic=286.0;attach=976;image)
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 14, 2019, 09:39:47 pm
This is what I mean.
Title: Re: King's Field II, accurate recreation, including VR
Post by: Holy_Diver on April 14, 2019, 11:21:28 pm
EDITED: I wrote a reply, but I had an idea, and I think I understand your trouble now. Your monitor is 768 tall isn't it? I was able to cause problems for myself by setting the height to 1080 but narrower than the monitor width. Thanks.

I will work on a fix and a patch. Please try 720 in the meantime, or whatever is available on your system that is not as tall as your monitor. Unfortunately SOM uses the monitor's full screen modes to generate its display resolution menus, even though I recommend playing it in a window. My goal is to replace the system menu with a new more expansive program/library named after the Exselector from King's Field III. It's actually among my current projects.
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 15, 2019, 12:44:30 am
Yeah, I switched it to 800, 600 and it works fine. Thanks for the quick responses. It's nice to see someone still working with the old king's field games, I grew up playing them. Nearly 20 years ago I first picked up the US version on king's field 1(2) for ps1. The demo looks really nice, takes some time getting used to the SoMs controls layout.
Title: Re: King's Field II, accurate recreation, including VR
Post by: Holy_Diver on April 15, 2019, 03:21:25 am
Yeah, I switched it to 800, 600 and it works fine. Thanks for the quick responses. It's nice to see someone still working with the old king's field games, I grew up playing them. Nearly 20 years ago I first picked up the US version on king's field 1(2) for ps1. The demo looks really nice, takes some time getting used to the SoMs controls layout.

http://www.swordofmoonlight.net/bbs2/index.php?topic=294.msg2711#msg2711

Here (http://csv.swordofmoonlight.net/SomEx.dll/1.2.2.9.zip) is a fix for the DLL in the EX/SYSTEM folder. The fix is really at 1.2.2.10.zip but 9 is a demo that makes the water move even though that's not yet implemented.

Quote
It's nice to see someone still working with the old king's field games

This is an unauthorized port to Sword of Moonlight. I am really developing SOM as a more attractive, noncommercial alternative to big company's products. I think we're resurrecting the King's Field franchise, but it may be too soon to say. I mean business. I think KF2 is probably the best video game (that there is) so it's neat to be able to support it. I think it's made for VR so it would be a real shame to not do something with it now.

EDITED: This was a lucky find. I guess I never worked on this problem because it only really manifests (currently) if the INI file is set to a resolution that is probably not offered by the Option menu.  I didn't know 768 was a size monitors come in. It's a good find; I'm glad you spoke up.

P.S. You can add this to the Ex.ini file to see the water with a new depth-based effect. It's a little too blue, since the full color shows instead of being 50/50 blended with the black background. It's going to have an underwater feature after some more work later... even though in KF2 that's just good for dying. Swimming would come after, but I have a feeling swimming doesn't fit well into KF2's setting.

Code: [Select]
[Volume]

;testing new feature
0_ii1161280 = Veld seawater
volume_depth = 8
volume_power = 1/3
volume_sides = 1
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 16, 2019, 12:47:51 am
King's field would be so good in VR. Trying the patch now.
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 16, 2019, 12:53:39 am
Sweet, the patch worked perfectly. :)
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 16, 2019, 01:00:00 am
I've noticed while holding the spacebar to run, the player can turn with the right arrow key, but the left arrow key locks and doesn't allow them to turn left, while running. If the player hold spacebar to run and moves forward with the W key, they are freely able to turn left and right with the arrow keys while running.
Title: Re: King's Field II, accurate recreation, including VR
Post by: Holy_Diver on April 16, 2019, 01:41:29 am
I've noticed while holding the spacebar to run, the player can turn with the right arrow key, but the left arrow key locks and doesn't allow them to turn left, while running. If the player hold spacebar to run and moves forward with the W key, they are freely able to turn left and right with the arrow keys while running.

That's normal for keyboards. You should invest in a controller, like the PlayStation's or XBox's. It's not meant to be played with a keyboard or mouse. In fact, I think twin handheld controls will eventually supplant the controller, but it can still be used if it has SIXAXIS sensors in it. I played it with full tracking for the first time only last week. It really strained my neck. I really was not expecting that.

EDITED: Just to be clear, your keyboard isn't designed for playing games with multiple inputs. You're pressing more keys than it can simultaneously sustain. Most keyboards won't. You have to look for "gaming keyboards" that don't come with PCs that aren't sold as gaming PCs. But King's Field is a controller game. It's a waste of time to play with keyboards.
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 16, 2019, 01:50:33 am
Are there special controllers for the playstation that can be used for pcs? my laptop is pretty old, i don't even know how to hook up a controller to a pc. I have ps4 controllers.
Title: Re: King's Field II, accurate recreation, including VR
Post by: Holy_Diver on April 16, 2019, 02:03:27 am
It should work if you plug it in with the USB adapter the PS4 uses to recharge. Press Esc to change modes. The "default" is 2B. B is inverted. I assume it works before Windows 10.
Title: Re: King's Field II, accurate recreation, including VR
Post by: HerDarkLord on April 16, 2019, 02:11:39 am
Ah, thanks, I'll have to try that, my laptop is windows 8.1
Title: Re: King's Field II, accurate recreation, including VR
Post by: KangzField on May 17, 2019, 10:10:10 pm
VR? Awesome, I was thinking FROM Software should make a Kings Field / Shadow Tower / Eternal Ring sequel or another spinoff with a PSVR and Xbox's VR optional mode. It's perfect for VR, heck going through dungeon corridors with a low draw-distance (simulating darkness) would help keep the game running 90+ FPS, important for Virtual Reality.
Also, I'm new here. Hello everyone!
Title: Re: King's Field II, accurate recreation, including VR
Post by: Holy_Diver on May 18, 2019, 03:34:10 am
This demo does VR on my Rubik's Cube sized workstation. It should should work at higher frame rates, but my output is limited to 60hz. I don't believe there's any special reason to say that VR requires higher than normal frame rates, but probably 60hz is a base line, unlike in movies where 20hz or 24hz delivers a satisfactory picture.

VR on PC is a walled garden. I recently tried to use SteamVR to experience a collaborator's game, and did not get far, because SteamVR is unsuited for low cost computers. I've developed SOM to provide the same experience on any home computer that has a GPU. It turns out you can do VR with inexpensive computers. Commercial companies are just not interested in that, just as they discount audiences who own inexpensive computers.

I also recently did full tracking with SOM. What struck me is how quickly your neck is made weak, if you don't break it, by lugging around the heavy set. Very soon the set is pulling your head around instead of vice versa. I didn't expect this because VR is marketed as a playroom affair mainly now. I think it's telling the marketing takes this view even though in practice it's physically impractical or demanding.