READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

demon's souls FLV file

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

Re: demon's souls FLV file

Post by shakotay2 » Sun Feb 10, 2019 1:10 pm

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.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
dropoff
veteran
Posts: 129
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 33 times
Been thanked: 19 times

Re: demon's souls FLV file

Post by dropoff » Sun Feb 10, 2019 3:47 pm

Cool, also btw, map models usually placed at right position after import, they misplaced only in tutorial level which is m08.

Portugalotaku
veteran
Posts: 138
Joined: Fri Oct 02, 2015 3:35 pm
Has thanked: 6 times
Been thanked: 4 times

Re: demon's souls FLV file

Post by Portugalotaku » Sun Feb 10, 2019 8:41 pm

All DeS models come out mirrored for me, I assume that is the problem you are having?

User avatar
dropoff
veteran
Posts: 129
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 33 times
Been thanked: 19 times

Re: demon's souls FLV file

Post by dropoff » Mon Feb 11, 2019 12:45 am

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 » Thu Feb 14, 2019 8:03 am

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: 129
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 33 times
Been thanked: 19 times

Re: demon's souls FLV file

Post by dropoff » Thu Feb 14, 2019 9:37 am

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 » Fri Feb 15, 2019 1:46 am

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: 129
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 33 times
Been thanked: 19 times

Re: demon's souls FLV file

Post by dropoff » Fri Feb 15, 2019 9:32 am

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 » 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
You do not have the required permissions to view the files attached to this post.

User avatar
TokiChan
veteran
Posts: 155
Joined: Wed May 18, 2016 7:38 pm
Location: Russia
Has thanked: 36 times
Been thanked: 16 times

Re: demon's souls FLV file

Post by TokiChan » 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
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: 129
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 33 times
Been thanked: 19 times

Re: demon's souls FLV file

Post by dropoff » 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

User avatar
TokiChan
veteran
Posts: 155
Joined: Wed May 18, 2016 7:38 pm
Location: Russia
Has thanked: 36 times
Been thanked: 16 times

Re: demon's souls FLV file

Post by TokiChan » 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
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: 129
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 33 times
Been thanked: 19 times

Re: demon's souls FLV file

Post by dropoff » 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
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
veteran
Posts: 138
Joined: Fri Oct 02, 2015 3:35 pm
Has thanked: 6 times
Been thanked: 4 times

Re: demon's souls FLV file

Post by Portugalotaku » 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
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: 129
Joined: Sun Dec 18, 2016 3:32 am
Has thanked: 33 times
Been thanked: 19 times

Re: demon's souls FLV file

Post by dropoff » Thu Jun 06, 2019 3:55 pm

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