READ THE RULES: Click here

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

Star Ocean Anamnesis Tools

Post questions about game models here, or help out others!
z22901206
beginner
Posts: 37
Joined: Thu Dec 24, 2015 1:50 pm
Has thanked: 7 times
Been thanked: 3 times

Re: [WIP] Star Ocean Anamnesis Tools

Post by z22901206 » Wed Aug 22, 2018 12:22 pm

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.

akderebur
ultra-veteran
ultra-veteran
Posts: 398
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 50 times
Been thanked: 397 times

Re: [WIP] Star Ocean Anamnesis Tools

Post by akderebur » Wed Aug 22, 2018 12:39 pm

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.

akderebur
ultra-veteran
ultra-veteran
Posts: 398
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 50 times
Been thanked: 397 times

Re: [WIP] Star Ocean Anamnesis Tools

Post by akderebur » Fri Aug 24, 2018 12:07 am

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

tone
beginner
Posts: 35
Joined: Sun Jul 02, 2017 8:40 pm
Has thanked: 12 times

Re: [WIP] Star Ocean Anamnesis Tools

Post by tone » Fri Sep 07, 2018 2:06 pm

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

akderebur
ultra-veteran
ultra-veteran
Posts: 398
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 50 times
Been thanked: 397 times

Re: [WIP] Star Ocean Anamnesis Tools

Post by akderebur » Fri Sep 07, 2018 4:08 pm

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.

tone
beginner
Posts: 35
Joined: Sun Jul 02, 2017 8:40 pm
Has thanked: 12 times

Re: [WIP] Star Ocean Anamnesis Tools

Post by tone » Sat Sep 08, 2018 7:37 am

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

akderebur
ultra-veteran
ultra-veteran
Posts: 398
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 50 times
Been thanked: 397 times

Re: Star Ocean Anamnesis Tools

Post by akderebur » Sat Sep 08, 2018 9:42 am

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?

dian333
beginner
Posts: 36
Joined: Mon Sep 15, 2014 11:59 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Star Ocean Anamnesis Tools

Post by dian333 » Sat Sep 08, 2018 8:17 pm

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.
You do not have the required permissions to view the files attached to this post.
Last edited by dian333 on Tue Oct 30, 2018 7:55 pm, edited 6 times in total.

akderebur
ultra-veteran
ultra-veteran
Posts: 398
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 50 times
Been thanked: 397 times

Re: Star Ocean Anamnesis Tools

Post by akderebur » Sat Sep 08, 2018 11:51 pm

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

tone
beginner
Posts: 35
Joined: Sun Jul 02, 2017 8:40 pm
Has thanked: 12 times

Re: Star Ocean Anamnesis Tools

Post by tone » Sun Sep 09, 2018 6:28 am

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

User avatar
chrrox
Moderator
Posts: 2552
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1286 times

Re: Star Ocean Anamnesis Tools

Post by chrrox » Sun Sep 09, 2018 12:05 pm

you need to set the emulator's mode to phone.

tone
beginner
Posts: 35
Joined: Sun Jul 02, 2017 8:40 pm
Has thanked: 12 times

Re: Star Ocean Anamnesis Tools

Post by tone » Mon Sep 10, 2018 10:59 am

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



User avatar
Tosyk
double-veteran
double-veteran
Posts: 934
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 225 times
Been thanked: 111 times
Contact:

Re: Star Ocean Anamnesis Tools

Post by Tosyk » Wed Sep 12, 2018 8:48 am

is it possible to download assets only with NOX?
Thank you for all you do here
my blog | my forum

Post Reply