Sword of Moonlight > Beginner and other Nonsense

Issues Getting Started with Custom Objects

(1/2) > >>

jamesmthomas:
I'm incredibly new to the Sword of Moonlight tool. I've read through the tutorials, and I've had success creating a small game with the included asset. My issues have been with creating my own objects and assigning them textures.

Using MetaSeqouia I've successfully created a simple cube that I've been able to insert into the game with x2mdo and ObjEdit, but I cannot for the life of me get x2mdo to generate a texture file from any BMP I've thrown at it. The tutorial I read said to just make sure the .x file and the .bmp file have the same name and are in the same folder as x2mdo but I get the error "\cube.bmp could not be read." when I attempt to run it. A .mdo is generated, I'm able to create a .prf with ObjEdit, but when I put it in SoM I have no textures.

I'm probably making a complete noob mistake, but any help would be greatly appreciated.

Holey Moley:
Hi James. I think From Software's DLC tools may only accept 24-bit BMP textures. I'm not sure. The bmp2txr tool may be more flexible. I struggled for many years to get the X tools to do anything because they want a specific kind of X file. So at least you don't have that problem to contend with.

Did you get the files here set up? I am moving the website right now, so it could have some hiccups in the coming weeks. If you are not using the files here (most don't) you'll have a wrong impression of SOM and do yourself no favors.

Once you are ready to make animated models chime in so I can give you the best tool set. The possibilities for making custom models should open up very shortly since it's what I'm focused like a laser on right now.

You're the first to sign-up/sign-in in a very long time... or at least since I disabled some spam defenses a while back that may have been keeping visitors out (They can always track me down and email me. Anyway, SOM is a no man's land. Good luck.)

SOM doesn't have a killer-app yet, which is I think holding it back from getting the attention it probably deserves. In its case such an "app" is a game with original art that takes full advantage of its capabilities. Right now there's so many new features that haven't been used. I'm rebuilding King's Field II right now to release it next Christmas.

There is an early King's Field II demo here:

https://www.patreon.com/posts/23273769

There is a demo for a very old version of Moratheia here:

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

Oh, and Welcome! by the way :thumbsup:

Holey Moley:
EDITED: Another possibility is that the tools are limited to 256x256 images.

Others use 512 somehow. I'm not sure which program they use to do that.

jamesmthomas:
I am using the files from this website, and I've gotta say the UI is much more user friendly. I'm having an issue though with playing what I've created. I can get the original version of SoM with the translation patch to playtest and everything works fine, but when I attempt to playtest on SoM Ex nothing pops up. It looks like it tries to load something, but I never actually see anything or get to see the map I've created.

I was also able to get my textures onto a model by using the x2mdl tool and that worked flawlessly from what I can tell.

I'll probably try re-downloading and installing SoM Ex to see if that fixes my playtesting issue. I just find it strange that I can run the old jankey vanilla SoM but not Ex.

My interest in this started as a joke where I would make a little meme game for my co-worker because he loves King's Field. I was a huge fan of playing with the Morrowind Construction Set and the old RPG maker games on playstation so this seemed right up my alley. Hopefully I can muster up enough skill and knowledge to make something a little more involved than the joke I'd originally intended.

Holey Moley:
x2mdl is for animated models. It uses a PlayStation like format that puts the skins inside the model file. So, it's not ideal for nonanimated models, and I'm working toward transitioning it into an animation format instead the model format, since its models are different from the MDO and MSM ones, and more archaic, less well suited for display.

I may have a new version of x2mdl. I don't know if the one available is up-to-date... historically it's just a little experimental side project I did to entice people to make original art. But it didn't get enough use to warrant further work. It is used by Moratheia, but its author doesn't communicate with me enough to be able to ensure they are using it correctly and improve on it. I recently added code to it for making morph-target animations, but it doesn't yet accept an input format other than KF2's. I can quickly add code to it to convert X files that use skin animations. But I'm working on pathways for doing proper morph-target work, which means arbitrary animations.

I've worked on SOM for 10yrs, but art tools have only accounted for maybe 1% of that work. I've mainly, personally worked on preserving the art that comes with it, so haven't had need to develop assistive technologies, and haven't had collaborators that would make it worthwhile to do so. The problem is calculating if it's worthwhile to spend time doing that if it won't have dividends in the long run. Without a healthy community base there is no dividends from developing art tools. Time is better spent making SOM viable, since there's no need for art with a nonviable platform.

The goal right now is to not have to deal with the proprietary formats, since it's a hassle. The workflow I'm angling for is to have the player manage a cache and convert art on the fly to whatever internal representation it is going to use. This has been a long term problem because there are not good candidate file formats for that purpose. So I've split my work between SOM and developing COLLADA, which is a failed technology, in order to build a professional noncommercial platform. Noncommercial resources for 3D development are nonexistent. When it comes to open environment 3D games SOM is probably the vanguard.

If you need to make larger TXR files, I think the Somplayer.exe program may be able to save to TXR. But I don't really know. That program is defunct unless I revive it. But I did use it last year to clean up the map textures.

"PRF Editor v1.6.exe" is probably how people make larger TXR files. I don't recommend going over 512x512. I can upload it if necessary. Note there are better PRF tools now built into SOM_PRM, but they don't do BMP to TXR conversion. This tool, also called "Enemy PRF Editor v1.0.exe" can also make SND files.

I've never heard of difficulties using the play-testing feature. Sometimes people make the set up process way too complicated, and get things crosswired. I can't remember how they do it, but they find very creative ways of shooting themselves in the foot so-to-speak.

You have to use the "Prepare" step obviously. And the triangle shaped (play) button does that automatically. You can make a shortcut to SOM_EX.exe run the game independently from the project folder by using the argument som_db followed by a two-digit map number:

"C:\Users\Michael\Sword of Moonlight\tool\SOM_EX.exe" SOM_DB 00

SOM_EX has a lot of icons to choose from to make these shortcuts standout. You can make shortcuts to everything. They are probably documented somewhere.

If that doesn't work your game is not starting. It's probably missing something. If you haven't, make a new project, and see if it works. Then copy your other project over it.

It's hard to carry over projects if you started with JDO's conversion because they renamed all of the profiles. It's possible but I recommend instead just starting over and reassigning your profiles in SOM_PRM. Put custom files in your project data folder. If they are in the public files they will get clobbered. You can share data folders between projects and map your old SOM install's data folder to your project.

http://en.swordofmoonlight.org/wiki/SOM_file

Most would-be SOM creators don't make it far. Forgive me if I'm reluctant to take too much time out of my schedule to assist you. It's time thrown away. Unless you make something of yourself. Demonstrate you aren't just going through a passing phase.

EDITED: The New Project function copies a default extension INI file (Ex.ini) from your language-pack with recommended settings. The following URL has a near complete list of extensions.

http://en.swordofmoonlight.org/wiki/SomEx/list_of_extensions

do_missing_file_dialog_ok is something that often comes up. It may not be on by default, in which case the game will likely show missing file popup boxes. It's best to satisfy those. But if it's too much, use that extension, and deal with it later to identify files your game is missing prior to publishing it.

Navigation

[0] Message Index

[#] Next page

Go to full version