Board index » Present Evidence » Games

Page 31 of 131[ 5218 posts ]
Go to page Previous  1 ... 28, 29, 30, 31, 32, 33, 34 ... 131  Next
 


Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

A little info for those who develop character addons and such: you can use the auto folder to automatically include your addons, no need to edit PWLib files.

The auto folder in next pwlib (or possibly next aige exe) will load according to the extension of the file. .hlsl will load as script, jpg will be ignored. etc
This will allow to define special files like a "resource loader file".
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

Just got to do the initbg functions then i'll release these packs KSA. The pack includes all the backgrounds from PW1-3 and Apollo Justice. It doesn't include the little "sub" backgrounds however (for example, "TenderLenderNoMatchNoBadgeWithNote.png"). If you want the BGs to have evidence on them, you'll have to put them on yourself, that's not up to me afterall ^^

I left the command [pw_initpwbgs] as is KSA so it doesn't mess with the tutorials but all the other backgrounds will have their own seperate init command with the usage "[pw_initpwbg_filename]" (example: [pw_initpwbg_acrosroom])

Edit: Now finishing up the "pw_backgrounds.hlsl" file. The pack is going to come in at 123 backgrounds total (this number includes the 7 that come with PWLib by default). I'll be doing all the [pw_initpwbg_filename] bits now, which should only take a few minutes, then testing all of them (pow2 and nonpow2) in a test script to make sure there are no errors. If everything goes smoothly then I will be releasing the pack directly afterwards :minuki:
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

KSA, i'm having problems getting the new BGs to work in my test script. Do you think you can look over the code for me? If you want i'll post it up here, otherwise add me on MSN: Maelstrom.alpha@gmail.com
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

I'm at work right now, so I don't have niether PWLib or WINE here to run the script. But in about 1h i'll be out so I can check on it for you.
On Wednesdays i'll be at work with my notebook. so I can test any script issues in the free times.
I'll add you to msn as I get home.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

Ok, that sounds good, i'll wait until you get home. This one is driving me a bit crazy, can't seem to figure it out ><;
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

Is it a bg larger then the usual 256x192?
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

On the POW2 compatible images it's a 256x192 image that has a black bar added at the bottom to make it 256x256. I don't think it's this as the first few images work (the ones setup by default in the backgrounds file) and they're 256x256.. I think it's something to do with my code for intializing them, or using them.
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

But what is the issue exactly?

I recommend using transparent instead of black.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

Well, the first 7 BGs (from [pw_initpwbgs]) load just fine, then the rest of them don't show up at all. It just shows the last BG used in my test script until it loops back to the start again. Also, i'll change them to transparent now.
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

Let me see an example of your code.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

Here is the prosecutor file;
Code:
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.

//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.

//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.

//Phoenix Wright Library
//Background File
//Init your desired bg

[pw_initpwbgs]
loadtexture(-500,"PW\bg\courtroomHall.png");
loadtexture(-501,"PW\bg\witnessempty.png");
loadtexture(-502,"PW\bg\defenseempty.png");
loadtexture(-503,"PW\bg\prosecutorempty.png");
loadtexture(-504,"PW\bg\judgestand.png");
loadtexture(-505,"PW\bg\helperstand.png");
loadtexture(-506,"PW\bg\courtroomoverview.png");

//Following additions by Maelstrom
//Backgrounds from Phoenix Wright 1-3
//Initialize with the format;
//[pw_initpwbg_filename]

[pw_initpwbg_acrosroom]
loadtexture(-507,"PW\bg\acrosroom.png");
[pw_initpwbg_airport]
loadtexture(-508,"PW\bg\airport.png");
[pw_initpwbg_backyard]
loadtexture(-509,"PW\bg\backyard.png");
[pw_initpwbg_basementstorage-a]
loadtexture(-510,"PW\bg\basementstorage-a.png");
[pw_initpwbg_basementstorage-b]
loadtexture(-511,"PW\bg\basementstorage-b.png");
[pw_initpwbg_berryentrance]
loadtexture(-512,"PW\bg\berryentrance.png");
[pw_initpwbg_berryinside]
loadtexture(-513,"PW\bg\berryinside.png");
[pw_initpwbg_berryoffice]
loadtexture(-514,"PW\bg\berryoffice.png");
[pw_initpwbg_bluecorp]
loadtexture(-515,"PW\bg\bluecorp.png");
[pw_initpwbg_boatandnoodleshop]
loadtexture(-516,"PW\bg\boatandnoodleshop.png");
[pw_initpwbg_boatrentals]
loadtexture(-517,"PW\bg\boatrentals.png");
[pw_initpwbg_campingsite-a]
loadtexture(-518,"PW\bg\campingsite-a.png");
[pw_initpwbg_campingsite-b]
loadtexture(-519,"PW\bg\campingsite-b.png");
[pw_initpwbg_canteen]
loadtexture(-520,"PW\bg\canteen.png");
[pw_initpwbg_ceoffice]
loadtexture(-521,"PW\bg\ceoffice.png");
[pw_initpwbg_clowniesmanor]
loadtexture(-522,"PW\bg\clowniesmanor.png");
[pw_initpwbg_confederency]
loadtexture(-523,"PW\bg\confederency.png");
[pw_initpwbg_controlroom]
loadtexture(-524,"PW\bg\controlroom.png");
[pw_initpwbg_courtyardday]
loadtexture(-525,"PW\bg\courtyardday.png");
[pw_initpwbg_dangerroom]
loadtexture(-526,"PW\bg\dangerroom.png");
[pw_initpwbg_detentioncell]
loadtexture(-527,"PW\bg\detentioncell.png");
[pw_initpwbg_duskybridgenormal]
loadtexture(-528,"PW\bg\duskybridgenormal.png");
[pw_initpwbg_duskybridgeout]
loadtexture(-529,"PW\bg\duskybridgeout.png");
[pw_initpwbg_edgeworthsoffice]
loadtexture(-530,"PW\bg\edgeworthsoffice.png");
[pw_initpwbg_employee-a]
loadtexture(-531,"PW\bg\employee-a.png");
[pw_initpwbg_employee-b]
loadtexture(-532,"PW\bg\employee-b.png");
[pw_initpwbg_engardesroom]
loadtexture(-533,"PW\bg\engardesroom.png");
[pw_initpwbg_evidenceroom-a]
loadtexture(-534,"PW\bg\evidenceroom-a.png");
[pw_initpwbg_evidenceroom-b]
loadtexture(-535,"PW\bg\evidenceroom-b.png");
[pw_initpwbg_frontofpolice]
loadtexture(-536,"PW\bg\frontofpolice.png");
[pw_initpwbg_gantsroom-a]
loadtexture(-537,"PW\bg\gantsroom-a.png");
[pw_initpwbg_gantsroom-b]
loadtexture(-538,"PW\bg\gantsroom-b.png");
[pw_initpwbg_gatewaterhall]
loadtexture(-539,"PW\bg\gatewaterhall.png");
[pw_initpwbg_gatewaterroom]
loadtexture(-540,"PW\bg\gatewaterroom.png");
[pw_initpwbg_globalstudio-a]
loadtexture(-541,"PW\bg\globalstudio-a.png");
[pw_initpwbg_globalstudio-b]
loadtexture(-542,"PW\bg\globalstudio-b.png");
[pw_initpwbg_globalstudiocamera]
loadtexture(-543,"PW\bg\globalstudiocamera.png");
[pw_initpwbg_globalstudioentrance]
loadtexture(-544,"PW\bg\globalstudioentrance.png");
[pw_initpwbg_globalstudiovan]
loadtexture(-545,"PW\bg\globalstudiovan.png");
[pw_initpwbg_gourdlake]
loadtexture(-546,"PW\bg\gourdlake.png");
[pw_initpwbg_gourdlakestands]
loadtexture(-547,"PW\bg\gourdlakestands.png");
[pw_initpwbg_grossberg]
loadtexture(-548,"PW\bg\grossberg.png");
[pw_initpwbg_heavenlyhall]
loadtexture(-549,"PW\bg\heavenlyhall.png");
[pw_initpwbg_hotticlinic]
loadtexture(-550,"PW\bg\hotticlinic.png");
[pw_initpwbg_innergate-a]
loadtexture(-551,"PW\bg\innergate-a.png");
[pw_initpwbg_innergate-b]
loadtexture(-552,"PW\bg\innergate-b.png");
[pw_initpwbg_kitchen]
loadtexture(-553,"PW\bg\kitchen.png");
[pw_initpwbg_kurain]
loadtexture(-554,"PW\bg\kurain.png");
[pw_initpwbg_kuraingarden]
loadtexture(-555,"PW\bg\kuraingarden.png");
[pw_initpwbg_lordlytailor]
loadtexture(-556,"PW\bg\lordlytailor.png");
[pw_initpwbg_maingate]
loadtexture(-557,"PW\bg\maingate.png");
[pw_initpwbg_maintemplehall]
loadtexture(-558,"PW\bg\maintemplehall.png");
[pw_initpwbg_mattsroom]
loadtexture(-559,"PW\bg\mattsroom.png");
[pw_initpwbg_meditationroom]
loadtexture(-560,"PW\bg\meditationroom.png");
[pw_initpwbg_miaoffice]
loadtexture(-561,"PW\bg\miaoffice.png");
[pw_initpwbg_microsoft]
loadtexture(-562,"PW\bg\microsoft.png");
[pw_initpwbg_myhumblelair]
loadtexture(-563,"PW\bg\myhumblelair.png");
[pw_initpwbg_phoenixoffice]
loadtexture(-564,"PW\bg\phoenixoffice.png");
[pw_initpwbg_policehq]
loadtexture(-565,"PW\bg\policehq.png");
[pw_initpwbg_secretroom]
loadtexture(-566,"PW\bg\secretroom.png");
[pw_initpwbg_securitycamroom]
loadtexture(-567,"PW\bg\securitycamroom.png");
[pw_initpwbg_security-a]
loadtexture(-568,"PW\bg\security-a.png");
[pw_initpwbg_security-b]
loadtexture(-569,"PW\bg\security-b.png");
[pw_initpwbg_sideroom]
loadtexture(-570,"PW\bg\sideroom.png");
[pw_initpwbg_snoozecabin]
loadtexture(-571,"PW\bg\snoozecabin.png");
[pw_initpwbg_summoningchamber]
loadtexture(-572,"PW\bg\summoningchamber.png");
[pw_initpwbg_teddybearroad]
loadtexture(-573,"PW\bg\teddybearroad.png");
[pw_initpwbg_tenderlender]
loadtexture(-574,"PW\bg\tenderlender.png");
[pw_initpwbg_theevilmagistrateslair]
loadtexture(-575,"PW\bg\theevilmagistrateslair.png");
[pw_initpwbg_traininghall]
loadtexture(-576,"PW\bg\traininghall.png");
[pw_initpwbg_trainstation]
loadtexture(-577,"PW\bg\trainstation.png");
[pw_initpwbg_tresbien-a]
loadtexture(-578,"PW\bg\tresbien-a.png");
[pw_initpwbg_tresbien-b]
loadtexture(-579,"PW\bg\tresbien-b.png");
[pw_initpwbg_victimsroom-a]
loadtexture(-580,"PW\bg\victimsroom-a.png");
[pw_initpwbg_victimsroom-b]
loadtexture(-581,"PW\bg\victimsroom-b.png");
[pw_initpwbg_vitaminsquare]
loadtexture(-582,"PW\bg\vitaminsquare.png");
[pw_initpwbg_windingway]
loadtexture(-583,"PW\bg\windingway.png");
[pw_initpwbg_winecellar]
loadtexture(-584,"PW\bg\winecellar.png");
[pw_initpwbg_zvarri]
loadtexture(-585,"PW\bg\zvarri.png");

//Backgrounds from Apollo Justice
//Initialize with the format;
//[pw_initajbg_filename]

[pw_initajbg_gs4_backstage]
loadtexture(-586,"PW\bg\gs4_backstage.png");
[pw_initajbg_gs4_borscht]
loadtexture(-587,"PW\bg\gs4_borscht.png");
[pw_initajbg_gs4_cell]
loadtexture(-588,"PW\bg\gs4_cell.png");
[pw_initajbg_gs4_coliseum-a]
loadtexture(-589,"PW\bg\gs4_coliseum-a.png");
[pw_initajbg_gs4_coliseum-b]
loadtexture(-590,"PW\bg\gs4_coliseum-b.png");
[pw_initajbg_gs4_courtroomoverview]
loadtexture(-591,"PW\bg\gs4_courtroomoverview.png");
[pw_initajbg_gs4_defenseempty]
loadtexture(-592,"PW\bg\gs4_defenseempty.png");
[pw_initajbg_gs4_detentioncell]
loadtexture(-593,"PW\bg\gs4_detentioncell.png");
[pw_initajbg_gs4_drewstudio-a]
loadtexture(-594,"PW\bg\gs4_drewstudio-a.png");
[pw_initajbg_gs4_drewstudio-b]
loadtexture(-595,"PW\bg\gs4_drewstudio-b.png");
[pw_initajbg_gs4_eldoon]
loadtexture(-596,"PW\bg\gs4_eldoon.png");
[pw_initajbg_gs4_garage]
loadtexture(-597,"PW\bg\gs4_garage.png");
[pw_initajbg_gs4_greenroom]
loadtexture(-598,"PW\bg\gs4_greenroom.png");
[pw_initajbg_gs4_helperstand]
loadtexture(-599,"PW\bg\gs4_helperstand.png");
[pw_initajbg_gs4_hickfieldclinic]
loadtexture(-600,"PW\bg\gs4_hickfieldclinic.png");
[pw_initajbg_gs4_hickfieldroom]
loadtexture(-601,"PW\bg\gs4_hickfieldroom.png");
[pw_initajbg_gs4_judgestand]
loadtexture(-602,"PW\bg\gs4_judgestand.png");
[pw_initajbg_gs4_kitakihouse]
loadtexture(-603,"PW\bg\gs4_kitakihouse.png");
[pw_initajbg_gs4_klavieroffice]
loadtexture(-604,"PW\bg\gs4_klavieroffice.png");
[pw_initajbg_gs4_lamroir-a]
loadtexture(-605,"PW\bg\gs4_lamroir-a.png");
[pw_initajbg_gs4_lamroir-b]
loadtexture(-606,"PW\bg\gs4_lamroir-b.png");
[pw_initajbg_gs4_meraktisclinic]
loadtexture(-607,"PW\bg\gs4_meraktisclinic.png");
[pw_initajbg_gs4_meraktisfront]
loadtexture(-608,"PW\bg\gs4_meraktisfront.png");
[pw_initajbg_gs4_meraktisoffice]
loadtexture(-609,"PW\bg\gs4_meraktisoffice.png");
[pw_initajbg_gs4_parkscene]
loadtexture(-610,"PW\bg\gs4_parkscene.png");
[pw_initajbg_gs4_peoplepark]
loadtexture(-611,"PW\bg\gs4_peoplepark.png");
[pw_initajbg_gs4_prosecutorempty]
loadtexture(-612,"PW\bg\gs4_prosecutorempty.png");
[pw_initajbg_gs4_stage-a]
loadtexture(-613,"PW\bg\gs4_stage-a.png");
[pw_initajbg_gs4_stage-b]
loadtexture(-614,"PW\bg\gs4_stage-b.png");
[pw_initajbg_gs4_studioold-a]
loadtexture(-615,"PW\bg\gs4_studioold-a.png");
[pw_initajbg_gs4_studioold-b]
loadtexture(-616,"PW\bg\gs4_studioold-b.png");
[pw_initajbg_gs4_veradesk]
loadtexture(-617,"PW\bg\gs4_veradesk.png");
[pw_initajbg_gs4_veradeskold]
loadtexture(-618,"PW\bg\gs4_veradeskold.png");
[pw_initajbg_gs4_witnessempty]
loadtexture(-619,"PW\bg\gs4_witnessempty.png");
[pw_initajbg_gs4_wrightandco]
loadtexture(-620,"PW\bg\gs4_wrightandco.png");

definevarglobal([pw_currentbackground],"int");
setvar([pw_currentbackground],0);

//Use it!
[pw_usepwbgcourthall]
setbg(-500);
setvar([pw_currentbackground],-500);
setbgsizefromtexture();

[pw_usepwbgwitnessstand]
setbg(-501);
setvar([pw_currentbackground],-501);
setbgsizefromtexture();

[pw_usepwbgdefensestand]
setbg(-502);
setvar([pw_currentbackground],-502);
setbgsizefromtexture();

[pw_usepwbgprosecutorstand]
setbg(-503);
setvar([pw_currentbackground],-503);
setbgsizefromtexture();

[pw_usepwbgjudgestand]
setbg(-504);
setvar([pw_currentbackground],-504);
setbgsizefromtexture();

[pw_usepwbgcoconcilstand]
setbg(-505);
setvar([pw_currentbackground],-505);
setbgsizefromtexture();

[pw_usepwbgcourtroom]
setbg(-506);
setvar([pw_currentbackground],-506);
setbgsizefromtexture();

//Following additions by Maelstrom
//Functions for Phoenix Wright 1-3 BGs
//Function usage as follows;
//[pw_usepwbg_filename]

[pw_usepwbg_acrosroom]
setbg(-507);
setvar([pw_currentbackground],-507);
setbgsizefromtexture();

[pw_usepwbg_airport]
setbg(-508);
setvar([pw_currentbackground],-508);
setbgsizefromtexture();

[pw_usepwbg_backyard]
setbg(-509);
setvar([pw_currentbackground],-509);
setbgsizefromtexture();

[pw_usepwbg_basementstorage-a]
setbg(-510);
setvar([pw_currentbackground],-510);
setbgsizefromtexture();

[pw_usepwbg_basementstorage-b]
setbg(-511);
setvar([pw_currentbackground],-511);
setbgsizefromtexture();

[pw_usepwbg_berryentrance]
setbg(-512);
setvar([pw_currentbackground],-512);
setbgsizefromtexture();

[pw_usepwbg_berryinside]
setbg(-513);
setvar([pw_currentbackground],-513);
setbgsizefromtexture();

[pw_usepwbg_berryoffice]
setbg(-514);
setvar([pw_currentbackground],-514);
setbgsizefromtexture();

[pw_usepwbg_bluecorp]
setbg(-515);
setvar([pw_currentbackground],-515);
setbgsizefromtexture();

[pw_usepwbg_boatandnoodleshop]
setbg(-516);
setvar([pw_currentbackground],-516);
setbgsizefromtexture();

[pw_usepwbg_boatrentals]
setbg(-517);
setvar([pw_currentbackground],-517);
setbgsizefromtexture();

[pw_usepwbg_campingsite-a]
setbg(-518);
setvar([pw_currentbackground],-518);
setbgsizefromtexture();

[pw_usepwbg_campingsite-b]
setbg(-519);
setvar([pw_currentbackground],-519);
setbgsizefromtexture();

[pw_usepwbg_canteen]
setbg(-520);
setvar([pw_currentbackground],-520);
setbgsizefromtexture();

[pw_usepwbg_ceoffice]
setbg(-521);
setvar([pw_currentbackground],-521);
setbgsizefromtexture();

[pw_usepwbg_clowniesmanor]
setbg(-522);
setvar([pw_currentbackground],-522);
setbgsizefromtexture();

[pw_usepwbg_confederency]
setbg(-523);
setvar([pw_currentbackground],-523);
setbgsizefromtexture();

[pw_usepwbg_controlroom]
setbg(-524);
setvar([pw_currentbackground],-524);
setbgsizefromtexture();

[pw_usepwbg_courtyardday]
setbg(-525);
setvar([pw_currentbackground],-525);
setbgsizefromtexture();

[pw_usepwbg_dangerroom]
setbg(-526);
setvar([pw_currentbackground],-526);
setbgsizefromtexture();

[pw_usepwbg_detentioncell]
setbg(-527);
setvar([pw_currentbackground],-527);
setbgsizefromtexture();

[pw_usepwbg_duskybridgenormal]
setbg(-528);
setvar([pw_currentbackground],-528);
setbgsizefromtexture();

[pw_usepwbg_duskybridgeout]
setbg(-529);
setvar([pw_currentbackground],-529);
setbgsizefromtexture();

[pw_usepwbg_edgeworthsoffice]
setbg(-530);
setvar([pw_currentbackground],-530);
setbgsizefromtexture();

[pw_usepwbg_employee-a]
setbg(-531);
setvar([pw_currentbackground],-531);
setbgsizefromtexture();

[pw_usepwbg_employee-b]
setbg(-532);
setvar([pw_currentbackground],-532);
setbgsizefromtexture();

[pw_usepwbg_engardesroom]
setbg(-533);
setvar([pw_currentbackground],-533);
setbgsizefromtexture();

[pw_usepwbg_evidenceroom-a]
setbg(-534);
setvar([pw_currentbackground],-534);
setbgsizefromtexture();

[pw_usepwbg_evidenceroom-b]
setbg(-535);
setvar([pw_currentbackground],-535);
setbgsizefromtexture();

[pw_usepwbg_frontofpolice]
setbg(-536);
setvar([pw_currentbackground],-536);
setbgsizefromtexture();

[pw_usepwbg_gantsroom-a]
setbg(-537);
setvar([pw_currentbackground],-537);
setbgsizefromtexture();

[pw_usepwbg_gantsroom-b]
setbg(-538);
setvar([pw_currentbackground],-538);
setbgsizefromtexture();

[pw_usepwbg_gatewaterhall]
setbg(-539);
setvar([pw_currentbackground],-539);
setbgsizefromtexture();

[pw_usepwbg_gatewaterroom]
setbg(-540);
setvar([pw_currentbackground],-540);
setbgsizefromtexture();

[pw_usepwbg_globalstudio-a]
setbg(-541);
setvar([pw_currentbackground],-541);
setbgsizefromtexture();

[pw_usepwbg_globalstudio-b]
setbg(-542);
setvar([pw_currentbackground],-542);
setbgsizefromtexture();

[pw_usepwbg_globalstudiocamera]
setbg(-543);
setvar([pw_currentbackground],-543);
setbgsizefromtexture();

[pw_usepwbg_globalstudioentrance]
setbg(-544);
setvar([pw_currentbackground],-544);
setbgsizefromtexture();

[pw_usepwbg_globalstudiovan]
setbg(-545);
setvar([pw_currentbackground],-545);
setbgsizefromtexture();

[pw_usepwbg_gourdlake]
setbg(-546);
setvar([pw_currentbackground],-546);
setbgsizefromtexture();

[pw_usepwbg_gourdlakestands]
setbg(-547);
setvar([pw_currentbackground],-547);
setbgsizefromtexture();

[pw_usepwbg_grossberg]
setbg(-548);
setvar([pw_currentbackground],-548);
setbgsizefromtexture();

[pw_usepwbg_heavenlyhall]
setbg(-549);
setvar([pw_currentbackground],-549);
setbgsizefromtexture();

[pw_usepwbg_hotticlinic]
setbg(-550);
setvar([pw_currentbackground],-550);
setbgsizefromtexture();

[pw_usepwbg_innergate-a]
setbg(-551);
setvar([pw_currentbackground],-551);
setbgsizefromtexture();

[pw_usepwbg_innergate-b]
setbg(-552);
setvar([pw_currentbackground],-552);
setbgsizefromtexture();

[pw_usepwbg_kitchen]
setbg(-553);
setvar([pw_currentbackground],-553);
setbgsizefromtexture();

[pw_usepwbg_kurain]
setbg(-554);
setvar([pw_currentbackground],-554);
setbgsizefromtexture();

[pw_usepwbg_kuraingarden]
setbg(-555);
setvar([pw_currentbackground],-555);
setbgsizefromtexture();

[pw_usepwbg_lordlytailor]
setbg(-556);
setvar([pw_currentbackground],-556);
setbgsizefromtexture();

[pw_usepwbg_maingate]
setbg(-557);
setvar([pw_currentbackground],-557);
setbgsizefromtexture();

[pw_usepwbg_maintemplehall]
setbg(-558);
setvar([pw_currentbackground],-558);
setbgsizefromtexture();

[pw_usepwbg_mattsroom]
setbg(-559);
setvar([pw_currentbackground],-559);
setbgsizefromtexture();

[pw_usepwbg_meditationroom]
setbg(-560);
setvar([pw_currentbackground],-560);
setbgsizefromtexture();

[pw_usepwbg_miaoffice]
setbg(-561);
setvar([pw_currentbackground],-561);
setbgsizefromtexture();

[pw_usepwbg_microsoft]
setbg(-562);
setvar([pw_currentbackground],-562);
setbgsizefromtexture();

[pw_usepwbg_myhumblelair]
setbg(-563);
setvar([pw_currentbackground],-563);
setbgsizefromtexture();

[pw_usepwbg_phoenixoffice]
setbg(-564);
setvar([pw_currentbackground],-564);
setbgsizefromtexture();

[pw_usepwbg_policehq]
setbg(-565);
setvar([pw_currentbackground],-565);
setbgsizefromtexture();

[pw_usepwbg_secretroom]
setbg(-566);
setvar([pw_currentbackground],-566);
setbgsizefromtexture();

[pw_usepwbg_security-a]
setbg(-567);
setvar([pw_currentbackground],-567);
setbgsizefromtexture();

[pw_usepwbg_security-b]
setbg(-568);
setvar([pw_currentbackground],-568);
setbgsizefromtexture();

[pw_usepwbg_securitycamroom]
setbg(-569);
setvar([pw_currentbackground],-569);
setbgsizefromtexture();

[pw_usepwbg_sideroom]
setbg(-570);
setvar([pw_currentbackground],-570);
setbgsizefromtexture();

[pw_usepwbg_snoozecabin]
setbg(-571);
setvar([pw_currentbackground],-571);
setbgsizefromtexture();

[pw_usepwbg_summoningchamber]
setbg(-572);
setvar([pw_currentbackground],-572);
setbgsizefromtexture();

[pw_usepwbg_teddybearroad]
setbg(-573);
setvar([pw_currentbackground],-573);
setbgsizefromtexture();

[pw_usepwbg_tenderlender]
setbg(-574);
setvar([pw_currentbackground],-574);
setbgsizefromtexture();

[pw_usepwbg_theevilmagistrateslair]
setbg(-575);
setvar([pw_currentbackground],-575);
setbgsizefromtexture();

[pw_usepwbg_traininghall]
setbg(-576);
setvar([pw_currentbackground],-576);
setbgsizefromtexture();

[pw_usepwbg_trainstation]
setbg(-577);
setvar([pw_currentbackground],-577);
setbgsizefromtexture();

[pw_usepwbg_tresbien-a]
setbg(-578);
setvar([pw_currentbackground],-578);
setbgsizefromtexture();

[pw_usepwbg_tresbien-b]
setbg(-579);
setvar([pw_currentbackground],-579);
setbgsizefromtexture();

[pw_usepwbg_victimsroom-a]
setbg(-580);
setvar([pw_currentbackground],-580);
setbgsizefromtexture();

[pw_usepwbg_victimsroom-b]
setbg(-581);
setvar([pw_currentbackground],-581);
setbgsizefromtexture();

[pw_usepwbg_vitaminsquare]
setbg(-582);
setvar([pw_currentbackground],-582);
setbgsizefromtexture();

[pw_usepwbg_windingway]
setbg(-583);
setvar([pw_currentbackground],-583);
setbgsizefromtexture();

[pw_usepwbg_winecellar]
setbg(-584);
setvar([pw_currentbackground],-584);
setbgsizefromtexture();

//Following additions by Maelstrom
//Functions for Apollo Justice BGs
//Function usage as follows;
//[pw_useajbg_filename]

[pw_useajbg_zvarri]
setbg(-585);
setvar([pw_currentbackground],-585);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-586);
setvar([pw_currentbackground],-586);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-587);
setvar([pw_currentbackground],-587);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-588);
setvar([pw_currentbackground],-588);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-589);
setvar([pw_currentbackground],-589);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-590);
setvar([pw_currentbackground],-590);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-591);
setvar([pw_currentbackground],-591);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-592);
setvar([pw_currentbackground],-592);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-593);
setvar([pw_currentbackground],-593);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-594);
setvar([pw_currentbackground],-594);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-595);
setvar([pw_currentbackground],-595);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-596);
setvar([pw_currentbackground],-596);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-597);
setvar([pw_currentbackground],-597);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-598);
setvar([pw_currentbackground],-598);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-599);
setvar([pw_currentbackground],-599);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-600);
setvar([pw_currentbackground],-600);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-601);
setvar([pw_currentbackground],-601);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-602);
setvar([pw_currentbackground],-602);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-603);
setvar([pw_currentbackground],-603);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-604);
setvar([pw_currentbackground],-604);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-605);
setvar([pw_currentbackground],-605);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-606);
setvar([pw_currentbackground],-606);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-607);
setvar([pw_currentbackground],-607);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-608);
setvar([pw_currentbackground],-608);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-609);
setvar([pw_currentbackground],-609);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-610);
setvar([pw_currentbackground],-610);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-611);
setvar([pw_currentbackground],-611);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-612);
setvar([pw_currentbackground],-612);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-613);
setvar([pw_currentbackground],-613);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-614);
setvar([pw_currentbackground],-614);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-615);
setvar([pw_currentbackground],-615);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-616);
setvar([pw_currentbackground],-616);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-617);
setvar([pw_currentbackground],-617);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-618);
setvar([pw_currentbackground],-618);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-619);
setvar([pw_currentbackground],-619);
setbgsizefromtexture();

[pw_useajbg_zvarri]
setbg(-620);
setvar([pw_currentbackground],-620);
setbgsizefromtexture();


And here is my test script;
Code:
#include(pwlib/pwlib.hlsl)

[game]
jumptoscript("setup");

[setup]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
runscript("pw_initpwbg_acrosroom);
runscript("pw_initpwbg_airport);
runscript("pw_initpwbg_backyard);
runscript("pw_initpwbg_basementstorage-a);
runscript("pw_initpwbg_basementstorage-b);
runscript("pw_initpwbg_berryentrance);
runscript("pw_initpwbg_berryinside);
runscript("pw_initpwbg_berryoffice);
runscript("pw_initpwbg_bluecorp);
runscript("pw_initpwbg_boatandnoodleshop);
runscript("pw_initpwbg_boatrentals);
runscript("pw_initpwbg_campingsite-a);
runscript("pw_initpwbg_campingsite-b);
runscript("pw_initpwbg_canteen);
runscript("pw_initpwbg_ceoffice);
runscript("pw_initpwbg_clowniesmanor);
runscript("pw_initpwbg_confederency);
runscript("pw_initpwbg_controlroom);
runscript("pw_initpwbg_courtyardday);
runscript("pw_initpwbg_dangerroom);
runscript("pw_initpwbg_detentioncell);
runscript("pw_initpwbg_duskybridgenormal);
runscript("pw_initpwbg_duskybridgeout);
runscript("pw_initpwbg_edgeworthsoffice);
runscript("pw_initpwbg_employee-a);
runscript("pw_initpwbg_employee-b);
runscript("pw_initpwbg_engardesroom);
runscript("pw_initpwbg_evidenceroom-a);
runscript("pw_initpwbg_evidenceroom-b);
runscript("pw_initpwbg_frontofpolice);
runscript("pw_initpwbg_gantsroom-a);
runscript("pw_initpwbg_gantsroom-b);
runscript("pw_initpwbg_gatewaterhall);
runscript("pw_initpwbg_gatewaterroom);
runscript("pw_initpwbg_globalstudio-a);
runscript("pw_initpwbg_globalstudio-b);
runscript("pw_initpwbg_globalstudiocamera);
runscript("pw_initpwbg_globalstudioentrance);
runscript("pw_initpwbg_globalstudiovan);
runscript("pw_initpwbg_gourdlake);
runscript("pw_initpwbg_gourdlakestands);
runscript("pw_initpwbg_grossberg);
runscript("pw_initpwbg_heavenlyhall);
runscript("pw_initpwbg_hotticlinic);
runscript("pw_initpwbg_innergate-a);
runscript("pw_initpwbg_innergate-b);
runscript("pw_initpwbg_kitchen);
runscript("pw_initpwbg_kurain);
runscript("pw_initpwbg_kuraingarden);
runscript("pw_initpwbg_lordlytailor);
runscript("pw_initpwbg_maingate);
runscript("pw_initpwbg_maintemplehall);
runscript("pw_initpwbg_mattsroom);
runscript("pw_initpwbg_meditationroom);
runscript("pw_initpwbg_miaoffice);
runscript("pw_initpwbg_microsoft);
runscript("pw_initpwbg_myhumblelair);
runscript("pw_initpwbg_phoenixoffice);
runscript("pw_initpwbg_policehq);
runscript("pw_initpwbg_secretroom);
runscript("pw_initpwbg_securitycamroom);
runscript("pw_initpwbg_security-a);
runscript("pw_initpwbg_security-b);
runscript("pw_initpwbg_sideroom);
runscript("pw_initpwbg_snoozecabin);
runscript("pw_initpwbg_summoningchamber);
runscript("pw_initpwbg_teddybearroad);
runscript("pw_initpwbg_tenderlender);
runscript("pw_initpwbg_theevilmagistrateslair);
runscript("pw_initpwbg_traininghall);
runscript("pw_initpwbg_trainstation);
runscript("pw_initpwbg_tresbien-a);
runscript("pw_initpwbg_tresbien-b);
runscript("pw_initpwbg_victimsroom-a);
runscript("pw_initpwbg_victimsroom-b);
runscript("pw_initpwbg_vitaminsquare);
runscript("pw_initpwbg_windingway);
runscript("pw_initpwbg_winecellar);
runscript("pw_initpwbg_zvarri);
runscript("charcreation");
runscript("load");
runscript("evidenceprofilecreation");
changetitle("PWLib Tutorial Game");
jumptoscript("run");

[charcreation]
runscript("pw_createema");
runscript("pw_createtrucy");

[load]
loadtexture(80900,"PW/evidence/gun.png");
loadtexture(80901,"PW/evidence/lawyer badge.png");
loadtexture(80902,"PW/evidence/photo.png");
loadtexture(90900,"PW/profile/ema.png");
loadtexture(90901,"PW/profile/minuki.png");
loadtexture(70000,"PW/ElisePhoto.png");
loadtexture(70010,"cust/main.png");

[evidenceprofilecreation]
setvar([evidencenumber],900);
setvar([evidencegfs],80901);
setvar([evidencegfl],80901);
setvar([evidencesup],0);
setvar([evidencename],"Attorney's Badge");
setvar([evidencesdesc],"Type: Other\n One of my possessions.");
setvar([evidenceldesc],"It's my all important badge.\nIt shows that i'm a defense attorney.");
runscript("createevidence");
setvar([evidencenumber],901);
setvar([evidencegfs],80900);
setvar([evidencegfl],80900);
setvar([evidencesup],0);
setvar([evidencename],"Gun");
setvar([evidencesdesc],"Type: Weapons\n Submitted as evidence\nby Prosecutor Von Karma.");
setvar([evidenceldesc],"The murder weapon.\nIt was shot once.");
runscript("createevidence");
setvar([evidencenumber],902);
setvar([evidencegfs],80902);
setvar([evidencegfl],80902);
setvar([evidencesup],1);
setvar([evidencename],"Trucy GS4 Promo");
setvar([evidencesdesc],"Type: Photo\nReceived from Trucy Wright.");
setvar([evidenceldesc],"A promotional photo of\nGyakuten Saiban 4..");
runscript("createevidence");
setvar([evidencestex],70000);
runscript("setevidencepagesimple");

setvar([profilenumber],800);
setvar([profilegfs],90900);
setvar([profilegfl],90900);
setvar([profilename],"Ema Skye");
setvar([profilesdesc],"Age: 19\nGender: Female.");
setvar([profileldesc],"An energetic girl that wants to be a \nforensic detective.");
runscript("createprofile");
setvar([profilenumber],801);
setvar([profilegfs],90901);
setvar([profilegfl],90901);
setvar([profilename],"Trucy Wright");
setvar([profilesdesc],"Age: 15\nGender: Female.");
setvar([profileldesc],"A cheerful magician girl.");
runscript("createprofile");

[run]
setbg(70010);
runscript("pw_showmain");
waitresponse();
runscript("pw_hidemain");
jumptoscript("casestart");

[casestart]
setvar([evidencenumber],900);
runscript("addevidence");
setvar([evidencenumber],901);
runscript("addevidence");
setvar([profilenumber],800);
runscript("addprofile");
setvar([profilenumber],801);
runscript("addprofile");
jumptoscript("enterscene1");

[enterscene1]
runscript("pw_usepwbgcourthall");
runscript("pw_showadvarrowmenu");
loadandplaybgm("music/PWAA/PWAA - 14 - Maya Fey - Turnabout Sisters' Theme 2001.wav");
// Change this line for testing purposes! Default is: jumptoscript("scene1");
jumptoscript("scene1");

[scene1]
runscript("setlipsynctochar");
runscript("showpwchar");
runscript("pw_showmessagebox");
runscript("pw_enableemanormal");
runscript("pw_setnameboxtoema");
message("Lets begin!");
runscript("pw_usepwbgwitnessstand");
message("Testing Witness Stand..");
runscript("pw_usepwbgdefensestand");
message("Testing Defense Stand..");
runscript("pw_usepwbgjudgestand");
message("Testing Judge Stand..");
runscript("pw_usepwbgprosecutorstand");
message("Testing Prosecutor Stand..");
runscript("pw_usepwbgcoconcilstand");
message("Testing Co-Council Stand..");
runscript("pw_usepwbgcourtroom");
message("Testing Courtroom..");
runscript("pw_usepwbg_acrosroom);
message("Testing Acro's Room..");
runscript("pw_usepwbg_airport);
message("Testing Airport..");
runscript("pw_usepwbg_backyard);
message("Testing Backyard..");
runscript("pw_usepwbg_basementstorage-a);
message("Testing Basement Storage A..");
runscript("pw_usepwbg_basementstorage-b);
message("Testing Basement Storage B..");
runscript("pw_usepwbg_berryentrance);
message("Testing Berry Entrance..");
runscript("pw_usepwbg_berryinside);
message("Testing Berry Inside..");
runscript("pw_usepwbg_berryoffice);
message("Testing Berry Office..");
runscript("pw_usepwbg_bluecorp);
message("Testing Bluecorp..");
runscript("pw_usepwbg_boatandnoodleshop);
message("Testing Boat and Noodle Shop..");
runscript("pw_usepwbg_boatrentals);
message("Testing Boat Rentals..");
runscript("pw_usepwbg_campingsite-a);
message("Testing Camping Site A..");
runscript("pw_usepwbg_campingsite-b);
message("Testing Camping Site B..");
runscript("pw_usepwbg_canteen);
message("Testing Canteen..");
runscript("pw_usepwbg_ceoffice);
message("Testing CEOffice..");
runscript("pw_usepwbg_clowniesmanor);
message("Testing Clownies' Manor..");
runscript("pw_usepwbg_confederency);
message("Testing Confederency..");
runscript("pw_usepwbg_controlroom);
message("Testing Control Room..");
runscript("pw_usepwbg_courtyardday);
message("Testing Court Yard Day..");
runscript("pw_usepwbg_dangerroom);
message("Testing Danger Room.. ");
runscript("pw_usepwbg_detentioncell);
message("Testing Detention Cell..");
runscript("pw_usepwbg_duskybridgenormal);
message("Testing Dusky Bridge..");
runscript("pw_usepwbg_duskybridgeout);
message("Testing Dusky Bridge Broken..");
runscript("pw_usepwbg_edgeworthsoffice);
message("Testing Edgey's Office..");
runscript("pw_usepwbg_employee-a);
message("Testing Employee A..");
runscript("pw_usepwbg_employee-b);
message("Testing Employee B..");
runscript("pw_usepwbg_engardesroom);
message("Testing Engarde's Room..");
runscript("pw_usepwbg_evidenceroom-a);
message("Testing Evidence Room A..");
runscript("pw_usepwbg_evidenceroom-b);
message("Testing Evidence Room B..");
runscript("pw_usepwbg_frontofpolice);
message("Testing Front of Police..");
runscript("pw_usepwbg_gantsroom-a);
message("Testing Gant's Room A..");
runscript("pw_usepwbg_gantsroom-b);
message("Testing Gant's Room B..");
runscript("pw_usepwbg_gatewaterhall);
message("Testing Gatewater Hall..");
runscript("pw_usepwbg_gatewaterroom);
message("Testing Gatewater Room..");
runscript("pw_usepwbg_globalstudio-a);
message("Testing Global Studio A..");
runscript("pw_usepwbg_globalstudio-b);
message("Testing Global Studio B..");
runscript("pw_usepwbg_globalstudiocamera);
message("Testing Global Studio Camera..");
runscript("pw_usepwbg_globalstudioentrance);
message("Testing Global Studio Entrance..");
runscript("pw_usepwbg_globalstudiovan);
message("Testing Global Studio Van..");
runscript("pw_usepwbg_gourdlake);
message("Testing Gourd Lake..");
runscript("pw_usepwbg_gourdlakestands);
message("Testing Gourd Lake Stands..");
runscript("pw_usepwbg_grossberg);
message("Testing Grossberg's Office..");
runscript("pw_usepwbg_heavenlyhall);
message("Testing Heavenly Hall..");
runscript("pw_usepwbg_hotticlinic);
message("Testing Hotti Clinic..");
runscript("pw_usepwbg_innergate-a);
message("Testing Innergate A..");
runscript("pw_usepwbg_innergate-b);
message("Testing Innergate B..");
runscript("pw_usepwbg_kitchen);
message("Testing Kitchen..");
runscript("pw_usepwbg_kurain);
message("Testing Kurain..");
runscript("pw_usepwbg_kuraingarden);
message("Testing Kurain Gardgen..");
runscript("pw_usepwbg_lordlytailor);
message("Testing Lordly Tailor..");
runscript("pw_usepwbg_maingate);
message("Testing Maingate..");
runscript("pw_usepwbg_maintemplehall);
message("Testing Main Temple Hall..");
runscript("pw_usepwbg_mattsroom);
message("Testing Matt's Room..");
runscript("pw_usepwbg_meditationroom);
message("Testing Meditation Room..");
runscript("pw_usepwbg_miaoffice);
message("Testing Mia's Office..");
runscript("pw_usepwbg_microsoft);
message("Testing Microsoft..");
runscript("pw_usepwbg_myhumblelair);
message("Testing Humble Lair..");
runscript("pw_usepwbg_phoenixoffice);
message("Testing Phoenix's Office..");
runscript("pw_usepwbg_policehq);
message("Testing Police HQ..");
runscript("pw_usepwbg_secretroom);
message("Testing Secret Room..");
runscript("pw_usepwbg_securitycamroom);
message("Testing Security Cam Room..");
runscript("pw_usepwbg_security-a);
message("Testing Security A..");
runscript("pw_usepwbg_security-b);
message("Testing Security B..");
runscript("pw_usepwbg_sideroom);
message("Testing Sideroom..");
runscript("pw_usepwbg_snoozecabin);
message("Testing Snooze Cabin..");
runscript("pw_usepwbg_summoningchamber);
message("Testing Summoning Chamber..");
runscript("pw_usepwbg_teddybearroad);
message("Testing Teddy Bear Road..");
runscript("pw_usepwbg_tenderlender);
message("Testing Tender Lender..");
runscript("pw_usepwbg_theevilmagistrateslair);
message("Testing Evil's Mag. Lair..");
runscript("pw_usepwbg_traininghall);
message("Testing Training Hall..");
runscript("pw_usepwbg_trainstation);
message("Testing Train Station..");
runscript("pw_usepwbg_tresbien-a);
message("Testing Tres Bien A..");
runscript("pw_usepwbg_tresbien-b);
message("Testing Tres Bien B..");
runscript("pw_usepwbg_victimsroom-a);
message("Testing Victim's Room A..");
runscript("pw_usepwbg_victimsroom-b);
message("Testing Victim's Room B..");
runscript("pw_usepwbg_vitaminsquare);
message("Testing Vitamin Square..");
runscript("pw_usepwbg_windingway);
message("Testing Winding Way..");
runscript("pw_usepwbg_winecellar);
message("Testing Winecellar..");
runscript("pw_usepwbg_zvarri);
message("Testing Z.V.A.R.R.I..");

Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

:minuki: You missed the closing " on the runscripts...
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

.... :sadshoe:

Thanks KSA, can't believe I made such a simple mistake.
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

Luke: Layton's #1 Apprentice

Gender: Male

Location: United Kingdom

Rank: Bug Sweeper

Joined: Fri May 30, 2008 4:19 pm

Posts: 365

PWLib: Over 1210 posts & 11986 views
CM3 (well, it is unreleased...): 217 posts & 5649 views
CM2.1: 330 posts & 13425 views
CM (something): 675 posts & 26909 views

added cm2.1 unofficial beta stats
added MB PRESENTS: PW: CM stats

NOTE: This was at the last check and time of posting. This is not intended to annoy/anger anybody. Really. It's just a stat counter! Also: PWLib + CM3 are in active (well, PWLib is anyway) development. CM2.1 and CM (something) are now things of the past.
Web developer by night, school student by day. That's how I roll.


Last edited by lukegb on Tue Jul 01, 2008 7:27 pm, edited 2 times in total.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

Next AIGE exe will include a feature to "stop on error", mainly for debugging.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

Edit: Nevermind.. I didn't initialize any of them..

After all these stupid errors i've made a debugger would be so handy :headbang:
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

It will take a bit since the current model only logs errors.

Little by little, PWLib is turning into the standard for casemakers (if it isn't already). and so it must have all features to help developers easily create their projects.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

I agree. PWLib has more power than any other casemaker. Once all the small bugs are ironed out and the new functions get added in it will pretty much be the only option (in my opinion, of course). Also, watch this space, i'm now packaging and uploading the background packs. It comes in at a whopping 122 backgrounds total.
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

And to mention that AIGE is Alpha in RTB (Road to Beta). Beta requirment is the save/load subsystem of AIGE.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

Luke: Layton's #1 Apprentice

Gender: Male

Location: United Kingdom

Rank: Bug Sweeper

Joined: Fri May 30, 2008 4:19 pm

Posts: 365

@Maelstrom: Can I include your background pack in my installer (or at least until it becomes standard with PWLib)

@KSA: PWLib/PWlib? Or do you not mind? (Posted this here for the benefit of everybody else)
Web developer by night, school student by day. That's how I roll.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

The Rocking Attorney

Gender: Male

Rank: Medium-in-training

Joined: Fri Apr 11, 2008 11:49 pm

Posts: 375

My pc got rebooted, I made a backup of aige, but the config doesn't work, so I'll have to download again, sorry if i missed XD
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

PWLIB BACKGROUND PACK RELEASE VERSION 1!


POW2 Version: Click Here!
Grab this version if you experience the blurred/stretched background bug. Otherwise get the pack below!

NON_POW2 Version: Click Here!
This pack is for those of you who DON'T have the problem with the blurred images.

The pack comes in at 122 images total. Every image has it's own initialization command. To initialize the background you type "runscript("pw_initpwbg_FILENAME");".. for example "runscript("pw_initpwbg_gs4_judgestand");".

The same logic applies with using the backgrounds, you have to type "runscript("pw_usepwbg_FILENAME");". Read the "pw_backgrounds.hlsl" file if you're unsure.


Next up for me will be the music pack.. I hope to get this done in the next week so, watch this space :minuki:

@Lukegb: sure you can use both of the packs, i'm glad to help any way I can :]
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

you are already guilty.

Gender: None specified

Rank: Decisive Witness

Joined: Thu Apr 17, 2008 9:30 am

Posts: 151

Is stopping on error really that good of an idea? Wouldn't it be better if instead it displayed a message box describing what's the problem and on which line in which file once it encounters it, and then skipping it?

Having a program close on you because a " is missing and then go search for it sounds kinda annoying.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

It will be a command you can enable or disable like logging is.

I had the idea to make a strictness property that could be: IgnoreErrors, AllowErrorsResume and DisallowErrorsResume.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

Until he can implement that idea stopping on error would be handy just so you can pinpoint problems.
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

That idea can be implemented easily. The issue is that it isn't fast to do.

I think i'll add a new config property named ErrorHandling with values: Ignore, Log, Notify, Halt (or something similar)
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

TIME FOR SCIENTIFIC... illustration?

Gender: None specified

Rank: Desk Jockey

Joined: Tue Jul 01, 2008 8:49 pm

Posts: 85

Hello everyone, I've been lurking this topic following PWLib's development for a while, but finally I can contribute a bit. :3 I noticed that Psyche-locks weren't completely.... complete, since there was a lack of chains... so I made some. :keiko:

... Or at least, I'm in the process of making some. :yogi: Man oh man, there are a ton of those things! And actually, there are twice as many as it seems, since all the unlocking animations are different from the locking ones. And also, I actually making them, so these aren't just rips or anything... I'm just watching the patterns and then piecing these guys together in paint. :payne:

Here are some prototype animation tests for a 2-lock: front chains, back chains, and both with Ema as a placeholder. (Note: yeah, there are errors in all three of those. I've already fixed them on the sheets.)

I've completed the locking sequences for almost all of the different Psyche-locks (excluding Pearl's 5-lock, which I haven't even begun--does Pearl have any other different locks, aside from the 5-?). The point is, I don't know how to animate them in PWLib. Or rather, I can't animate them in PWLib. I'm one of the unfortunate people whose screen shows up like this:

Image

(Does anyone know how to fix this yet? I'm dying over here...!) So obviously, I can't exactly test if they work properly, since I can't see them. e_e; Therrrrrefore... what format/size &c. should I save each sheet in so that someone could easily animate them? Currently they're all in this kind of format: 2-lock sheet.

Aaand... I think that's it. What do you guys think? They... they look ok, right? :accordion-head:
Image

Hershel Layton: Ace Professor currently in Pre-Production!
Also, I make sprites.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

Now with Glasses!

Gender: Male

Rank: Desk Jockey

Joined: Thu Oct 11, 2007 4:10 am

Posts: 135

Unfortunately, I'm getting the same problem.
Can I see your code? Perhaps that may be what is causing this error.
Also, what video card do you have?
Back, check out LOZ AA.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

Nice work jeti, they look really well done! I'd love to use them in my case when they're complete. If you need anyone to test them in the engine, I can do it for you if you want.
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

TIME FOR SCIENTIFIC... illustration?

Gender: None specified

Rank: Desk Jockey

Joined: Tue Jul 01, 2008 8:49 pm

Posts: 85

Klavice Gavin wrote:
Unfortunately, I'm getting the same problem.
Can I see your code? Perhaps that may be what is causing this error.
Also, what video card do you have?


The code is pretty much direct from the manual, no problems there. As for my video card, uhhhhhh....

Intel (R) 82915G/GV/910GL Express Chipset
Driver version 6.14.0010.4543

... Is that it? Or something else?

Maelstrom wrote:
Nice work jeti, they look really well done! I'd love to use them in my case when they're complete. If you need anyone to test them in the engine, I can do it for you if you want.


Thank you! When you say you can test them, does that mean I could send you the sheets I have insofar? :yuusaku:

(Gee whiz, normally I hate smilies, but a lot of these are oddly irresistable...)
Image

Hershel Layton: Ace Professor currently in Pre-Production!
Also, I make sprites.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

Now with Glasses!

Gender: Male

Rank: Desk Jockey

Joined: Thu Oct 11, 2007 4:10 am

Posts: 135

It seems to be faulty mostly on Intel Motherboards.
I'm guessing KSA hasn't got it working with an Intel yet I'm afraid, so we'll have to wait until he can.
Back, check out LOZ AA.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

Sure jeti, you can send me the sheets you have so far and i'll try test them. I've not tried adding my own animations to the game yet so i'll need to figure that out first (can't be too hard with the tutorial) but i've got most of this week off so, feel free to send them my way ^^
Image
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

I may or may not be here.

Gender: Male

Location: Drinking a mug of hot chocolate

Rank: Ace Attorney

Joined: Thu Nov 29, 2007 11:58 pm

Posts: 4916

Klavice Gavin wrote:
It seems to be faulty mostly on Intel Motherboards.
I'm guessing KSA hasn't got it working with an Intel yet I'm afraid, so we'll have to wait until he can.

We have been trying to work on that on my laptop. No success yet. =\
I have a Mobile Intel(R) 915GM/GMS,910GML Express Chipset
Driver version 6.14.10.4609

Oh! I may not be able to test anything this weekend KSA.
ImageImage
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

Luke: Layton's #1 Apprentice

Gender: Male

Location: United Kingdom

Rank: Bug Sweeper

Joined: Fri May 30, 2008 4:19 pm

Posts: 365

We still have no idea what's causing the graphics problem... Is it video memory, DX support (which entails MANY MANY things)?

Hmm...

@Donald Serrot: Your card supports the DX 9 Shader Model 2.0, so it's probably not DX support...
Web developer by night, school student by day. That's how I roll.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

The very first exe of AIGE that came around would fail in card with low memory because of the way the textures were loaded.
In a bit of explanation:

In the original method, the textures were loaded and placed in the video memory. Too many textures = full video memory = textures failing to load. (using D3DPOOL_DEFAULT in DirectX)
In the current method, the textures are put in video memory if needed. It CAN fail if you use a LOT of textures in the same scene for cards with limited video memory. A good example of this is Quake 4 in Ultra requiring a 512MB vcard. (using D3DPOOL_MANAGED).

A card that not worked with original, but worked with current is Ge-Force 4 MX 4000 (64mb). Most possibly, other video cards with 64MB or so worked too.

The latest exe (not the one with PWLib 1.0a) uses only MANAGED resources (aside from textures, the vertexbuffer - the object rectangle points - used to use DEFAULT). The exe with PWLib 1.0a uses DEFAULT vertexbuffers and MANAGED textures.

Some video cards seem silly with some properties I use (not supported possibly). I will have to research on that. ANY help is welcome.

As I recall, AIGE can't init DirectX in Hardware Mode, only in Software Mode in Donald's vcard.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

Background non-pow2 pack added to pwlib.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

you are already guilty.

Gender: None specified

Rank: Decisive Witness

Joined: Thu Apr 17, 2008 9:30 am

Posts: 151

Wouldn't the pow2 pack be a better choice, seeing as the non-pow2 pack will still appear broken for some people while the pow2 compatible one will not affect those without that problem, but also fix it for those with it?

Btw. press still cancels the talking during cross examination for me.

Last edited by Serio on Wed Jul 02, 2008 5:06 pm, edited 2 times in total.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

Hmmm, i'm sure i did it on 1.0a. Press is protected as I remember.

I was testing the non-pow2 textures in pwlib and in my notebook and I decided to include the pow2 versions.

Aso there is a bug with the shaking: it dosn't work. I just fixed in the exe i'm working in now.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

Gender: Female

Location: Finland

Rank: Suspect

Joined: Wed Jul 02, 2008 3:20 pm

Posts: 4

Hi everyone!
First I want to thank you for making this awesome casemaker!

I also want to report a problem I currently have. I'm almost 100% sure it's because of my video card. It's Intel 82845G/GL/GE/PE/GV Graphics controller. Driver version is 6.14.10.4342. I Just updated it, but it didn't solve my problems with graphics. This is how it looks for me
Spoiler:
Image

Sometimes it also looks like this
Spoiler:
Image

If this really is because of my video card, then I guess it can't be helped. At least I'm seeing the text now. In the 1.0 version I didn't. I've also tried to change things around in config but it doesn't help. Does anyone have any other ideas?

I haven't seen anyone else reporting to have something like this so I just thought maybe this could help developing PWLib.
Re: PWLib Casemaker (Released 1.0a at 29/06/2008 8:26PM GMT-3)Topic%20Title
User avatar

Now with Glasses!

Gender: Male

Rank: Desk Jockey

Joined: Thu Oct 11, 2007 4:10 am

Posts: 135

Well, it took some figuring out but I've figured it out.
The problem is that DirectX refuses to load on a Radeon video card thus the whole "closing" or failure to load graphics in some cases.
From what I see, if the application fails to load DirectX it results in the odd "closing" bug I've had with _S, or it may show odd looking graphics.
So, unless I can get my card to load DirectX (which is the problem, or the .dll) the bug will persist.
By the way, KSA, how did Donald get into Software mode on his PC? That may fix my problem or at least get DirectX to load.
Back, check out LOZ AA.
Page 31 of 131 [ 5218 posts ] 
Go to page Previous  1 ... 28, 29, 30, 31, 32, 33, 34 ... 131  Next
 
Display posts from previous:  Sort by  

 Board index » Present Evidence » Games

Who is online
Users browsing this forum: No registered users and 8 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cron
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB

phpBB SEO