abgx360 Post processing script

Come up with a useful post-processing script? Share it here!
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: abgx360 Post processing script

Post by BrandonG777 »

Yeah, that's the same problem we were running into on the Linux version. I tried all manner of running it through screen and other means and nothing worked until markus modified abgx360.c Basically the way it's that looking for a key press makes it hang if it's not running on an actual terminal. The ideal situation would be if someone could recode it to work a little differently that way you could keep the "press Q to cancel" functionality and still have it work as a post processing script. So the way it works with markus' modification is you can't just press Q to cancel you have to kill the process manually, which sucks but if it's automated it saves you time more times than not. I'm fairly certain you will be able to modify the OSX version. If I get some time I may do it and post an x86 binary. All my desktops are Macs, I just have a Linux server that handles sab.
demioa
Newbie
Newbie
Posts: 18
Joined: March 29th, 2009, 8:08 pm

Re: abgx360 Post processing script

Post by demioa »

Ok, I modified the abgx360.c and compiled it with XCode tools.  Started downloading and my ISP cut me off for bandwidth usage.  ::)

I will let you know if works at the start of next month.  ;)
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: abgx360 Post processing script

Post by BrandonG777 »

Man that sucks. Let me know how it goes and if you post a rapidshare link (or whatever) to your pre compiled binary I'll add it to the main post.
demioa
Newbie
Newbie
Posts: 18
Joined: March 29th, 2009, 8:08 pm

Re: abgx360 Post processing script

Post by demioa »

Ok, I tested this with a couple games.  It works with flag "-pchix -af3 --localonly --rgn 000000FF --splitvid --"

When I try --pch, the achievemnents,  it stalls at 8kb (or 16kb if using html).  No matter what the program is doing, the file can not get larger than 8kb.  What could be the cause for that?


here is the os x abgx360
http://rapidshare.com/files/216038202/abgx360.zip.html
demioa
Newbie
Newbie
Posts: 18
Joined: March 29th, 2009, 8:08 pm

Re: abgx360 Post processing script

Post by demioa »

Never mind the part about the achievements; I was impatient.  It works fine. :)
aspeer
Newbie
Newbie
Posts: 3
Joined: April 6th, 2009, 10:10 pm

Re: abgx360 Post processing script

Post by aspeer »

    'C:\Documents' is not recognized as an internal or external command,
operable program or batch file.

is the error I keep getting, I'm sure it has to do with the spaces in "documents and settings" but I am not very good at debugging the script. any help is appreciated.
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: abgx360 Post processing script

Post by BrandonG777 »

Yeah it's a windows issue. I don't run windows so it'd be a bit difficult for me to troubleshoot it.
demioa
Newbie
Newbie
Posts: 18
Joined: March 29th, 2009, 8:08 pm

Re: abgx360 Post processing script

Post by demioa »

Is there anyway to get Sabnzbd to output the resulting html/txt file from abgx360 on the web interface?

In other words clicking on "Show script output" would show the html/txt.

I am sure you can just code this script for abgx360 to output to a dir that Sabnzbd can read from.

Edit: Ok it is more of an issue with SABnzbd than this script.  SABnzbd's url path "/sabnzbd/scriptlog?name=abgx.html" only displays files as log.  I need to display as the file type that is being called.
Last edited by demioa on April 13th, 2009, 5:16 pm, edited 1 time in total.
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: abgx360 Post processing script

Post by BrandonG777 »

Umm... not sure but it's designed to do that already.  ???
demioa
Newbie
Newbie
Posts: 18
Joined: March 29th, 2009, 8:08 pm

Re: abgx360 Post processing script

Post by demioa »

I want this to appear as a normal html.
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: abgx360 Post processing script

Post by BrandonG777 »

Repipe the output to go straight to an HTML file, echo an HTML link and post the HTML file wherever it's needed.
demioa
Newbie
Newbie
Posts: 18
Joined: March 29th, 2009, 8:08 pm

Re: abgx360 Post processing script

Post by demioa »

Sorry, how would I do that?

I don't even know what to repipe.
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: abgx360 Post processing script

Post by BrandonG777 »

I'd just have it output plain text then.
aaearon
Release Testers
Release Testers
Posts: 10
Joined: September 9th, 2008, 8:32 pm

Re: abgx360 Post processing script

Post by aaearon »

Would someone post this again? The link is dead.
aaearon
Release Testers
Release Testers
Posts: 10
Joined: September 9th, 2008, 8:32 pm

Re: abgx360 Post processing script

Post by aaearon »

Heres mine:

Code: Select all

@ECHO off

abgx360 -xvch --ach --af3 --onlinefirst --gamecrc --match "*.iso, *.000, *.360, *.img, *.bin" --rec --rgn 000000FF --dir %1 > %1\abgx360.html
exit
A couple of months ago I was trying to figure out a way to put a suffix on the end of the directory name depending if verification passed/failed so I could see at first glance if it passed instead of having to open up the .html file but I can't do any sort of batch scripting  :P
Post Reply