April 18, 2024, 23:48
bigger smaller reset     1020px Wide width Full width Reset   * *

Gildor's Forums

  Homepage Facebook Read news on Twitter Youtube channel Github page
Welcome, Guest. Please login or register.
Did you miss your activation email?

« previous next »
Print
Author Topic: Unable to extract sound files from AA2  (Read 684 times)
baterija20
Newbie
*
Posts: 3


View Profile
« on: July 08, 2018, 21:47 »

I'm trying to extract sound files from this file: https://files.fm/f/cmjzkbt9. The command I'm using is:
Code:
./umodel -game=aa2 -export -sounds S_AAO_NPC.uax

This results in the following output:
Code:
Found 55 game files (3 skipped) at path "."
Loading package: S_AAO_NPC.uax Ver: 128/33 Names: 466 Exports: 458 Imports: 4 Game: 20000E
Loaded in 0.001 sec, 515 allocs, 0.00 MBytes serialized in 0 calls.
Loading Sound s_npc_civ_male_injury1 from package S_AAO_NPC.uax
******** Loading object Sound'S_AAO_NPC.s_npc_civ_male_injury1' ********
*** ERROR: Package "S_AAO_NPC.uax": wrong name index -7377
UnPackage::SerializeFName:pos=000064D0 <- USound::Serialize <- LoadObject:Sound'S_AAO_NPC.s_npc_civ_male_injury1', pos=64D0, ver=128/33, game=aa2 <- UObject::EndLoad <- Main:umodel_build=810

Listing the present files works fine, extracting them one by one results in the same error (wrong name index -7377).
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
« Reply #1 on: July 08, 2018, 23:02 »

Sound export is a secondary function of umodel. Sound compatibility is not guaranteed, and even not listed in compatibility table. In most cases sound export is supported only when it has no customization on the engine side.
Logged
baterija20
Newbie
*
Posts: 3


View Profile
« Reply #2 on: July 08, 2018, 23:10 »

so there is nothing I can do? I wanted to extract some of the sounds from the game so badly...
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
« Reply #3 on: July 08, 2018, 23:12 »

May be with some other tool ... Try UTPT, probably it supports AA2.
Logged
baterija20
Newbie
*
Posts: 3


View Profile
« Reply #4 on: July 08, 2018, 23:18 »

I've tried UTPT, it fails with invalid indices and the name table is all gibberish, where with umodel I can see the names correctly
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
« Reply #5 on: July 08, 2018, 23:34 »

UModel has a lot of code for AA2, but not for sound loading.
Logged
Print 
« previous next »
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS