Page 2 of 19

Re: [WIP] Star Ocean Anamnesis Tools

Posted: Wed Aug 22, 2018 12:22 pm
by z22901206
Hi akderebur, can you take a look at the .SPK audio files?
After depressing them by your tool.
Most .SPK files which contains many aideos cannot be played while few others can, as these
just contains one audio.

Re: [WIP] Star Ocean Anamnesis Tools

Posted: Wed Aug 22, 2018 12:39 pm
by akderebur
A user commented on audio files over at zenhax : https://zenhax.com/viewtopic.php?p=37609#p37609 it might be useful.

If the files aren't decrypted properly because of the wrong key, I can't do much about it sadly. If the program can't guess the correct key, you have to manually find it.

Re: [WIP] Star Ocean Anamnesis Tools

Posted: Fri Aug 24, 2018 12:07 am
by akderebur
UPDATE
- Can load weapons
- Fixed wrong bone positions (monster weapons mostly) with few of the models. Everything should be fine now
- New uv type
- Attempt at better camera positioning, but still not that great
- Separate checkbox for loading Bullet Girls

At this point it seems to load most of the stuff I throw at it, so I will stop doing tests for the time being. Couple of characters were enough for me anyway :D If you encounter a problem with a specific file, pm me and I might take a look.

UPDATE 2

There are some meshes that use multiple uv channels. I have updated the tool to export the secondary uv channel too, for the meshes that have it. So if a mesh appears to have wrong uvs, try the second uv set.

I have attached a modified IQE script to load the secondary uv set. The updated tool is in the first post.

Re: [WIP] Star Ocean Anamnesis Tools

Posted: Fri Sep 07, 2018 2:06 pm
by tone
akderebur wrote:
einherjar007 wrote: cc0001_b02a.asf does incorrect the weight of eyes.
Incorrect or no weight? Both eye meshes seem to have no weight data, so they are exported as non-skinned.
einherjar007 wrote:cc0002_b01a.asf had incorrect UV coordinates of the eyes.
Eyes seem fine to me. Is it not like this with you?
Image

If you encounter another problem send me a pm with a sample file. I didn't get all the files from the game, so I might be missing some.
i think i did something wrong here, both of you can decrypt cc0001_b02a.asf and cc0002_bo1a.asf and load them in IQE exporter.
on my computer,soadec was not able to decrypt them . I managed to unpack them using the slz.bms, but I got model error when l loaded them in iqe exporter .

Another thing, i was able to get unpack and get the model of cp0518_b01a.asf, but when I used the texture tool, I only got .raw files

Re: [WIP] Star Ocean Anamnesis Tools

Posted: Fri Sep 07, 2018 4:08 pm
by akderebur
tone wrote: i think i did something wrong here, both of you can decrypt cc0001_b02a.asf and cc0002_bo1a.asf and load them in IQE exporter.
on my computer,soadec was not able to decrypt them.
You are dragging the folder containing the asf files, right? If you are dragging the asf files it won"t work.

Re: [WIP] Star Ocean Anamnesis Tools

Posted: Sat Sep 08, 2018 7:37 am
by tone
akderebur wrote: You are dragging the folder containing the asf files, right? If you are dragging the asf files it won"t work.
i did, i dragged the hi folder on to the decrypter, but cc0001_b02a and cc0002_b02b weren't unpacked

Re: Star Ocean Anamnesis Tools

Posted: Sat Sep 08, 2018 9:42 am
by akderebur
Can you pm me the those 2 asf files then? I only tried the files of the JP version, and they were fine for the most part. Are you getting the files from JP or Global?

Re: Star Ocean Anamnesis Tools

Posted: Sat Sep 08, 2018 8:17 pm
by dian333
when try to read .apk action but find some trouble...
is it a Bone_Matrix bug happen ?or build action in wrong way
main code

Code: Select all

                        Q_x = ba.readFloat()
                        Q_y = ba.readFloat()
                        Q_z = ba.readFloat()
                        Q_w = ba.readFloat()
                        Q_read = mathutils.Quaternion((Q_w,Q_x,Q_y,Q_z))
                        bpy.data.objects[BONE_hierarchy_name].pose.bones[bonename].rotation_quaternion = Q_read.inverted()
some simple pose works,like :
charater "ネル ダガー"(cp0305_b01a) Motion: viewer_Daggercp0305_b01a
home_t_stance (T-Pose)
but a lot of action is just look like the gameplay,inaccurate
here is a spin action
Image
====
edit:fix the W-xyz,Thank akderebur.
edit2:fix read location_XYZ move,:the reading way mark by "03 05 04",now it's active.and fix the Blender .iqe plugin(2012-12-2),sorry to author "Tor Andersson".directly,ban "has_v0" (about curmesh) in line633

Code: Select all

has_v0 = False#len(iqmodel.meshes[0].v0) > 0
now some .iqe model don't make bug when import into Blender,like cp0005_b01a(ベルダ,gunner),cp0108_b01a(フィア) ...etc
sadly,find more problems:1.Bone_Matrix bug,all Bead user character,like cp0110_b01a, the bone "R:at_W08Be" use 2 bone_matrix
reading Bone way marking "FF 07 02 02" ?(not sure) have some
A.location[0,-90.86,0] scale[1,1,1]
B.

Code: Select all

[0.93457,0,0,    0]
[0,0.93457,0,     -2.3]
[0,0,0.93457,        0]
when use animation,the bone use location[0,-90.86/0.93457,0] as origin_point,in another word=copy parent_bone "R:POS_Pad2" bone_matrix.check in action"viewer_Beadscp0110_b01a_unpack" (character:マーヴェル)and "viewer_BeadsFemale_unpack"
pic up later ==
cp005,bone of lash or bone of eye may lack of some animation
Image
cp0110,マーヴェル
NOT SSR female character who use bead(magic_ball) as weapon have a default action"viewer_BeadsFemale_unpack" .
if.not fix bone"R:at_W08Be"
Image
change it's bone_matrix = it's parent_bone's bone_matrix
Image
cp0110's action in view_room
Image
(have fix reading euler_rotation way marking"02 07 08", one of the skirt bone,"R:XD_SLska_01" use it )
=====
edit3:fix location_move marking"03 00 01", "03 00 02","03 00 03"
(mainly be used in bone[R:POS_ROOT] to control charater's X,Z. in bone[R:Hips] to control Y ,example:FemaleKnuckle_unpack xxx.aaf)
fix euler_rotation way marking"03 05 08"
and,In default, euler_rotation data translate to quternion "WXYZ". it's convenient for Blender NLA_editor .
now,majority RUSH action('s location_moving) should be worked,except for some action use 6 byte/Frame rotation data.

Re: Star Ocean Anamnesis Tools

Posted: Sat Sep 08, 2018 11:51 pm
by akderebur
Instead of inverting the whole Quaternion just invert the y and z components. Should be like this :

Code: Select all

 Q_x = ba.readFloat()
Q_y = -ba.readFloat()
Q_z = -ba.readFloat()
Q_w = ba.readFloat()
Q_read = mathutils.Quaternion((Q_w,Q_x,Q_y,Q_z))
                    
bpy.data.objects[BONE_hierarchy_name].pose.bones[bonename].rotation_quaternion = Q_read
Image

Re: Star Ocean Anamnesis Tools

Posted: Sun Sep 09, 2018 6:28 am
by tone
can anyone confirm whether star ocean jp still run on emulator? I manage to run it on nox, but then it closes itself. I sometimes managed pass main menu and get the game to download a little file before it closes. thanks

Re: Star Ocean Anamnesis Tools

Posted: Sun Sep 09, 2018 12:05 pm
by chrrox
you need to set the emulator's mode to phone.

Re: Star Ocean Anamnesis Tools

Posted: Mon Sep 10, 2018 10:59 am
by tone
chrrox wrote:you need to set the emulator's mode to phone.
thanks, it still closes, but at least it stays open long enough to download a few mb

Re: Star Ocean Anamnesis Tools

Posted: Mon Sep 10, 2018 11:22 am
by chrrox

Re: Star Ocean Anamnesis Tools

Posted: Tue Sep 11, 2018 12:23 pm
by tone

Re: Star Ocean Anamnesis Tools

Posted: Wed Sep 12, 2018 8:48 am
by Tosyk
is it possible to download assets only with NOX?