Important information: this site is currently scheduled to go offline indefinitely by end of the year.

demon's souls FLV file

Post questions about game models here, or help out others!
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4287
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1149 times
Been thanked: 2242 times

Re: demon's souls FLV file

Post by shakotay2 »

cool! :)
Here's a python script (blender versions 2.5x and greater) for multi obj import:

Code: Select all

import os
import bpy

# http://blender.stackexchange.com/questions/5064/batch-import-wavefront-obj
# put the location to the folder where the objs are located here in this fashion
# this line will only work on windows ie C:\objects
#path_to_obj_dir = os.path.join('C:\\', 'objects')
path_to_obj_dir = os.path.join('X:\\', 'path_to_flver.obj')

# get list of all files in directory
file_list = sorted(os.listdir(path_to_obj_dir))

# get a list of files ending in 'obj'
obj_list = [item for item in file_list if item[-3:] == 'obj']

# loop through the strings in obj_list and add the files to the scene
for item in obj_list:
    path_to_file = os.path.join(path_to_obj_dir, item)
    bpy.ops.import_scene.obj(filepath = path_to_file)
replace 'X' with your drive letter and path_to_flver.obj with your .obj path.
You'll need \\ (instead of single \) for each sub directory.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
dropoff
veteran
Posts: 140
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 34 times
Been thanked: 28 times

Re: demon's souls FLV file

Post by dropoff »

Cool, also btw, map models usually placed at right position after import, they misplaced only in tutorial level which is m08.
Portugalotaku
mega-veteran
mega-veteran
Posts: 164
Joined: Fri Oct 02, 2015 3:35 pm
Has thanked: 9 times
Been thanked: 4 times

Re: demon's souls FLV file

Post by Portugalotaku »

All DeS models come out mirrored for me, I assume that is the problem you are having?
User avatar
dropoff
veteran
Posts: 140
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 34 times
Been thanked: 28 times

Re: demon's souls FLV file

Post by dropoff »

Portugalotaku wrote:All DeS models come out mirrored for me, I assume that is the problem you are having?
Hm it should be ok, tool mirrors them by x when converting. And no, its not a problem at all.
Bazza
n00b
Posts: 12
Joined: Thu Jan 31, 2019 6:15 am
Has thanked: 4 times
Been thanked: 2 times

Re: demon's souls FLV file

Post by Bazza »

dropoff wrote:Here is tool for converting map flvers to obj, with all materials and correct uvs (most of them), still have problem with some models that dont have lightmap uvs i believe.
Made using soulsformats c# library made by TKGP. https://github.com/JKAnderson/SoulsFormats

Usage: run tool and put path to folder with flvers you want to convert.

This is amazing!

It gets the models to OBJ pretty much instantly. Doesn't get textures as far as I can tell though.

Is it supposed to close after one action though? success or fail, the next key pressed closes the app?
User avatar
dropoff
veteran
Posts: 140
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 34 times
Been thanked: 28 times

Re: demon's souls FLV file

Post by dropoff »

Bazza wrote:
dropoff wrote:Here is tool for converting map flvers to obj, with all materials and correct uvs (most of them), still have problem with some models that dont have lightmap uvs i believe.
Made using soulsformats c# library made by TKGP. https://github.com/JKAnderson/SoulsFormats

Usage: run tool and put path to folder with flvers you want to convert.

This is amazing!

It gets the models to OBJ pretty much instantly. Doesn't get textures as far as I can tell though.

Is it supposed to close after one action though? success or fail, the next key pressed closes the app?
You need to extract textures by yourself, it only does models. Also idk, never tried to press key while it works, it will say when conversion done.
Bazza
n00b
Posts: 12
Joined: Thu Jan 31, 2019 6:15 am
Has thanked: 4 times
Been thanked: 2 times

Re: demon's souls FLV file

Post by Bazza »

dropoff wrote: You need to extract textures by yourself, it only does models. Also idk, never tried to press key while it works, it will say when conversion done.
After it's done I mean. Success or fail, once it's completed one folder, it closes as soon as you press anything.

Wasn't sure if it's a bug, or if you just re-open the app to do the next folder.

EDIT:

I'm having a lot of trouble with the 'SoulsFormats' project; the enums in the script BinaryReaderEx.cs are coming up with "Constraint cannot be special class 'Enum'" and the build fails. Is there some setup guide or similar for opening/building/importing this?
User avatar
dropoff
veteran
Posts: 140
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 34 times
Been thanked: 28 times

Re: demon's souls FLV file

Post by dropoff »

Bazza wrote:
dropoff wrote: You need to extract textures by yourself, it only does models. Also idk, never tried to press key while it works, it will say when conversion done.
After it's done I mean. Success or fail, once it's completed one folder, it closes as soon as you press anything.

Wasn't sure if it's a bug, or if you just re-open the app to do the next folder.

EDIT:

I'm having a lot of trouble with the 'SoulsFormats' project; the enums in the script BinaryReaderEx.cs are coming up with "Constraint cannot be special class 'Enum'" and the build fails. Is there some setup guide or similar for opening/building/importing this?
It only works with 1 folder, so subfolders doesnt work and yeah after its done you need to run it again for other folder. Also you can ask author of soulsformats (TKGP) about it in souls modding discord server: https://discord.gg/mT2JJjx
Bazza
n00b
Posts: 12
Joined: Thu Jan 31, 2019 6:15 am
Has thanked: 4 times
Been thanked: 2 times

Re: demon's souls FLV file

Post by Bazza »

Quick thanks here to the lads who've been helping both here and on the discord.

I've got the nexus in-engine, and have been rebuilding all the FX and lighting as I go along; candles, messages, bloodstains, etc....

May thine work help the world be mended :)
the real demons souls starts here small.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
TokiChan
mega-veteran
mega-veteran
Posts: 223
Joined: Wed May 18, 2016 7:38 pm
Location: Russia
Has thanked: 60 times
Been thanked: 24 times

Re: demon's souls FLV file

Post by TokiChan »

Bazza wrote: Mon Feb 25, 2019 7:59 am Quick thanks here to the lads who've been helping both here and on the discord.

I've got the nexus in-engine, and have been rebuilding all the FX and lighting as I go along; candles, messages, bloodstains, etc....

May thine work help the world be mended :)

the real demons souls starts here small.jpg
So cool!
Can u send me stages that you get? I no have luck with my comp for dems maps.
Without fx and lights - I'll use it in keyshot
http://tokami-fuko.deviantart.com/
Extracted, converted, rigged models :)
Skyrim, Witcher 3, Dark Souls, Demon's Souls, Doom 3, random dragons
User avatar
dropoff
veteran
Posts: 140
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 34 times
Been thanked: 28 times

Re: demon's souls FLV file

Post by dropoff »

TokiChan wrote: Fri Apr 05, 2019 10:34 am
Bazza wrote: Mon Feb 25, 2019 7:59 am Quick thanks here to the lads who've been helping both here and on the discord.

I've got the nexus in-engine, and have been rebuilding all the FX and lighting as I go along; candles, messages, bloodstains, etc....

May thine work help the world be mended :)

the real demons souls starts here small.jpg
So cool!
Can u send me stages that you get? I no have luck with my comp for dems maps.
Without fx and lights - I'll use it in keyshot
Just import map flvers
User avatar
TokiChan
mega-veteran
mega-veteran
Posts: 223
Joined: Wed May 18, 2016 7:38 pm
Location: Russia
Has thanked: 60 times
Been thanked: 24 times

Re: demon's souls FLV file

Post by TokiChan »

dropoff wrote: Fri Apr 05, 2019 5:26 pm
TokiChan wrote: Fri Apr 05, 2019 10:34 am
Bazza wrote: Mon Feb 25, 2019 7:59 am Quick thanks here to the lads who've been helping both here and on the discord.

I've got the nexus in-engine, and have been rebuilding all the FX and lighting as I go along; candles, messages, bloodstains, etc....

May thine work help the world be mended :)

the real demons souls starts here small.jpg
So cool!
Can u send me stages that you get? I no have luck with my comp for dems maps.
Without fx and lights - I'll use it in keyshot
Just import map flvers
All +100500 files with map fragments? And then put textures in all one by one? I'll dead.
http://tokami-fuko.deviantart.com/
Extracted, converted, rigged models :)
Skyrim, Witcher 3, Dark Souls, Demon's Souls, Doom 3, random dragons
User avatar
dropoff
veteran
Posts: 140
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 34 times
Been thanked: 28 times

Re: demon's souls FLV file

Post by dropoff »

TokiChan wrote: Mon Apr 08, 2019 7:38 am
dropoff wrote: Fri Apr 05, 2019 5:26 pm
TokiChan wrote: Fri Apr 05, 2019 10:34 am

So cool!
Can u send me stages that you get? I no have luck with my comp for dems maps.
Without fx and lights - I'll use it in keyshot
Just import map flvers
All +100500 files with map fragments? And then put textures in all one by one? I'll dead.
But like with tool you dont need to apply all by hands, like all materials applied, you just need to set path to textures in 3ds max after import, idk how to do it in blender though.
Portugalotaku
mega-veteran
mega-veteran
Posts: 164
Joined: Fri Oct 02, 2015 3:35 pm
Has thanked: 9 times
Been thanked: 4 times

Re: demon's souls FLV file

Post by Portugalotaku »

dropoff wrote: Mon Apr 08, 2019 5:28 pm
TokiChan wrote: Mon Apr 08, 2019 7:38 am
dropoff wrote: Fri Apr 05, 2019 5:26 pm
Just import map flvers
All +100500 files with map fragments? And then put textures in all one by one? I'll dead.
But like with tool you dont need to apply all by hands, like all materials applied, you just need to set path to textures in 3ds max after import, idk how to do it in blender though.
How exactly did you import the maps with correct coordinates by the way? your converter is awesome but way too much stuff comes out of place for some maps.
User avatar
dropoff
veteran
Posts: 140
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 34 times
Been thanked: 28 times

Re: demon's souls FLV file

Post by dropoff »

Portugalotaku wrote: Tue Jun 04, 2019 4:52 pm
dropoff wrote: Mon Apr 08, 2019 5:28 pm
TokiChan wrote: Mon Apr 08, 2019 7:38 am

All +100500 files with map fragments? And then put textures in all one by one? I'll dead.
But like with tool you dont need to apply all by hands, like all materials applied, you just need to set path to textures in 3ds max after import, idk how to do it in blender though.
How exactly did you import the maps with correct coordinates by the way? your converter is awesome but way too much stuff comes out of place for some maps.
I just got coordinates from msb with msb editor and put into text file, then wrote simple max script to place models on them.
Post Reply