![]() |
Isexec (ISdone)
How to use this?
I want to use oggdec.exe to decode *.wav file.. example: Code:
if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\Arc.exe'), ExpandConstant('x -o+ "{src}\001.arc" "{app}\"'), ExpandConstant('{tmp}'), '...',false) then break; |
include the program along with setup then extract it to tmp
if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\oggdec.exe'), ExpandConstant('Parameter'), ExpandConstant('{tmp}'), '...',false) then break; |
can you give me some example of the parameter
|
hmm,:confused:, I don't even know oggdec.exe
|
oggdec.exe code part is included inside ISDone iss project and i think it starts decoding ogg files automatically once they are found in the game files, i had to remove the whole code related to it from the project once because i didn't want to encode or decode any ogg files.
The game was SWFU2 |
Look for this section in your script & insert the OGG Decode subsection as indicated ( section between dashes ( ----- ) ).
Code:
ISDoneError:=true; |
1 Attachment(s)
I've encoded some wave files to ogg and i was trying the decode function but i got this error, any one knows why?
|
maybe oggdec.exe wasn't found in temp folder or parameter is incorrect.
|
i think there is no other parameter to decode ogg to wav, it's only -w
i'm trying to reduce the size of the L4D2 sound folder size, it's about 3.5 gigz of wav files. with ogg i think it will be reduced to 500 megz couldn't find anything on google :/ |
hmm, Interesting, 3.5Gb - 500Mb, I guess I will start investigating. :D
|
I use this parameter but my problem is the .ogg files is not deleted after decoded..
Code:
if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\oggdec.exe'), ExpandConstant('"{app}\data\sounds\*.ogg"'), ExpandConstant('{tmp}'), '...',false) then break;sorry my bad english |
It's not working for me, can you give me your sample project or at least the whole code related to ogg decoding?
|
Add this to script..
Code:
[Files] |
How did you set the progress percentage value? after decoding starts the progress bar percentage becomes like 531561%
|
Test Run, records.inf
|
What you mean? explain further please.
|
Change like this..
example: Code:
if ISDoneInit(ExpandConstant('{src}\records.inf'), $F777, Comps1,Comps2,Comps3, MainForm.Handle, {#NeedMem}, @ProgressCallback) then beginCode:
#define records |
The records.inf is already there and the percentage of the arc file extraction is fine, the problem is when the ogg decoding starts.
Did you set a percentage value for your isexec ogg decoding line? |
no.. set to zero
|
1 Attachment(s)
Got this error:
|
| All times are GMT -7. The time now is 00:36. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com