Board index » Present Evidence » Games

Page 26 of 131[ 5218 posts ]
Go to page Previous  1 ... 23, 24, 25, 26, 27, 28, 29 ... 131  Next
 


Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Just got home. Will have lunch and then reply to all issues.

Note: if you see the window with Initializing... and the red fps means aige ran for you bot no script (if you see the log, no "game" function found). Next exe will out "AIGE: Initialized" instead of the Initializing... title.
If you get an error as you open means you're using the old exe.
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.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Don't mess.

Gender: Male

Rank: Desk Jockey

Joined: Fri May 09, 2008 12:08 am

Posts: 86

I just have a black box with "Initializing."
Image
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Edit the config.cfg and change the "Accelerated" to "Simple".
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.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Don't mess.

Gender: Male

Rank: Desk Jockey

Joined: Fri May 09, 2008 12:08 am

Posts: 86

Alright, it's got the fps. Still initializing, though :/
Image
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Yes - I was at school so I couldn't check the filenames. It is "startup.aigehlsl" not "startup.aighlsl". Sorry for the confusion.
Web developer by night, school student by day. That's how I roll.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

@Ollie

Now read the tutos and create some script.

@Serio

Mia was added to the Standard Character Set.
Vera was added to the Standard Character Set.
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.0 at 14/June/2008 2:23AM 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

Maelstrom wrote:
KSA, on the tutorial, when you're doing the examine area bit.. where is the correct place to examine? I've pretty much searched the whole bottom screen and I can't seem to advance it.


Any insight on this one KSA? Incase you missed it
Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

@Haibara~n

No Mac release because of 2 things: AIGE uses DirectX and I don't own a Mac to test.

@Maelstorm

The sofa if I recall well. (No, I didn't forget.)
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.0 at 14/June/2008 2:23AM 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 was thinking on making a configuration program to help generating and changing the config.cfg data.
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.0 at 14/June/2008 2:23AM 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 my code KSA.. clicking on the sofa doesn't work. I tried to work out where the box will sit using paintshop and the x,y co-ordinates match up to the sofa.. now i'm wondering if I typo'd here at all.. :X

Code:
#include(pwlib/pwlib.hlsl)

[game]
jumptoscript("setup");

[setup]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
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");
jumptoscript("scene1");

[scene1]
runscript("setlipsynctochar");
runscript("showpwchar");
runscript("pw_showmessagebox");
runscript("pw_enableemanormal");
runscript("pw_setnameboxtoema");
message("Oh, hello.");
message("My name is Ema Skye!");
runscript("pw_enabletrucynormal");
runscript("pw_setnameboxtotrucy");
message("Oh, hello. My name is Trucy.");
message("I'm a Magician.");
message("This photo proves it.");
runscript("pw_hidemessagebox");
runscript("pw_raisetakethat");
runscript("pw_showmessagebox");
setvar([evidencenumber],902);
runscript("addevidence");
setvar([pw_headeviaddmsg],"");
setvar([pw_taileviaddmsg]," was added\nto the Court Record.");
runscript("pw_startevidenceadd");
runscript("pw_enableemanormal");
runscript("pw_setnameboxtoema");
runscript("setlipsynctochar");
message("That's cool! But scientifically \nspeaking...");
message("Magic doesn't exist.");
runscript("pw_enabletrucynormal");
runscript("pw_setnameboxtotrucy");
message("Scientifically speaking...? \nHmmm...");
message("But does magic need to be \nproven?");
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("(I better not try to argue \nin this one.)");
runscript("setlipsynctochar");
runscript("pw_enableemanormal");
runscript("pw_setnameboxtoema");
message("What do you think, \nMr. Wright?");
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("Ah?");
message("Well... Ah...");
jumptoscript("presenttrucyevidence");

[presenttrucyevidence]
definevar([signal],"int");
runscript("pw_setnameboxtonoone");
messageauto("(Show what proves that trucy is \na magician!)");
runscript("pw_forcepresent");
waitsignal("advance",[signal]);
runscript("pw_hidemessagebox");
runscript("pw_raisetakethat");
wait(6);
if(<compare([currentitemcode],"equal",902)>,<jumptoscript("presenttrucyevidencecorrect")>,<jumptoscript("presenttrucyevidencewrong")>);

[presenttrucyevidencecorrect]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("What about this?");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
message("You may be right...");
message("But who gave you this?");
jumptoscript("presenttrucyprofile");

[presenttrucyevidencewrong]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("What about this?");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
message("What's this supposed to mean anyway?");
jumptoscript("scene1");

[presenttrucyprofile]
definevar([signal],"int");
runscript("pw_setnameboxtonoone");
runscript("setlipsynctonoone");
messageauto("(Show who gave you this \nphoto!)");
setvar([pwonetypepresent],2);
runscript("pw_forcepresent");
waitsignal("advance",[signal]);
runscript("pw_hidemessagebox");
runscript("pw_raisetakethat");
wait(6);
if(<compare([currentitemcode],"equal",801)>,<jumptoscript("presenttrucyprofilecorrect")>,<jumptoscript("presenttrucyprofilewrong")>);

[presenttrucyprofilecorrect]

runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("What about this?");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
message("Hmmm, that is interesting...");
jumptoscript("simpleexamine");

[presenttrucyprofilewrong]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("What about this?");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
message("I'm not sure about this, you \nknow...!");
jumptoscript("scene1");

[simpleexamine]
runscript("pw_showmessagebox");
setbuttonarea("pw_examinearea1",157,302,81,23);
setvar([pw_examinemaxplaces],1);
runscript("pw_showtouchanswer");
messageauto("So, what is wrong in this place?");
runscript("hidepwmenu");
runscript("pw_showspecialexamine");
runscript("pw_waitexaminetouch");
runscript("hidepwmenu");
runscript("pw_showadvarrowmenu");
runscript("pw_hidetouchanswer");
if(<compare([pw_examinearea],"equal",)>,<jumptoscript("simpleexaminecorrect")>,<jumptoscript("simpleexaminewrong")>);

[simpleexaminecorrect]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
runscript("setlipsynctonoone");
message("Here!");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
runscript("setlipsynctochar");
message("Hmm, yeah, it looks \ninteresting...!");
jumptoscript("scene1");

[simpleexaminewrong]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
runscript("setlipsynctonoone");
message("This is what proves... er...");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
runscript("setlipsynctochar");
message("I'm not sure about this, you \nknow...!");
jumptoscript("simpleexamine");

Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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 used this same value on the test script. (And when you clock on the sofa the examine button shows up.) I need to look if I didn't messed with something else. :lana:
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.0 at 14/June/2008 2:23AM 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, check the if examine line:

Code:
if(<compare([pw_examinearea],"equal",)>,<jumptoscript("simpleexaminecorrect")>,<jumptoscript("simpleexaminewrong")>);


IF is not comparing to anything.
Web developer by night, school student by day. That's how I roll.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Thanks for pointing out, lukegb.

I'm busy trying to find a solution for the texture issue. :maya:
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.0 at 14/June/2008 2:23AM 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

Ah, thanks lukegb, I figured it'd be something simple :D

KSA, is there anyway to stop that kind of.. "jarring" gap between the start and end of a looping mp3? I just made one for one of the songs (I intend on doing a pack if people want it) and it loops absolutely flawlessly in audacity and playing back in various media players, but there is a tiny little pause when it restarts on pwlib. Out of interest, does this only happen with mp3s or would it happen with wav/midi files also? Last question.. when I want to play a wav file, what is the command? [I.E, loadandplaymp3("n",0,"N/O");]
Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

I think that gap is an internal mp3 thing. Unless your player has some start/end silence removal, there's always a little gap. That's why i suggested using fmod.dll and ogg format for music at one time. That and you can set up loop points, so you could have an intro, then endless looping like in the real aa games.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Any idea about the possibility of fixing it in wav? Also, I guess OGG support wouldn't be too much work right? I'd assume it's just adding the function into the engine, so it can recognise ogg format music and then adding it in as a command, perhaps we'll see that in hayase 1.1, who knows (KSA).
Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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'll add a better repeat system to mp3.

You use the loadandplaybgm("wav/mid"); for mid and wav.

Playback is AIGE, not PWLib. Adding ogg will only come later since it isn't urgent as other issues.
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.0 at 14/June/2008 2:23AM 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'll try it quickly with wav.

Edit: .wav loops perfectly! I guess all my looping music will be in wav format for now then. Anyway, if anyone wants a copy of this pack, let me know and i'll release it when it's complete. Or, if you want to include it in the next release of PWLib, let me know (i'm not sure how the legalities of that fall however so, your decision).
Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Great. I'll improve the mp3 system as I can.

Oh, and Finally we hit 10.000+ views and 1000+ replies. Thanks for the support.

PWLib has been downloaded 253 times.

Ah, and I'm pretending to expand and release a Revision 1 of the PWLib In A Nutshell. Anyone wants to help?
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.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Don't mess.

Gender: Male

Rank: Desk Jockey

Joined: Fri May 09, 2008 12:08 am

Posts: 86

But I've already included some code :/
Code:
#include(pwlib/pwlib.hlsl)


[game]
runscript("pw_initpwlib");
changetitle("Turnabout Revenge");
runscript("pw_initpwbgs");
runscript("pw_createema");
jumptoscript("run");

[run]
runscript("showpwchar")
runscript("pw_showmessagebox");
runscript("pw_usepwbgcourthall");
runscript("pw_setnameboxtoema");
runscript("setlipsynctochar");
runscript("pw_enableemanormal);
runscript("pw_showadvarrowmenu");
message("Yes!");
message("My name is Ema Skye!");



KSA_Tech wrote:
Great. I'll improve the mp3 system as I can.

Oh, and Finally we hit 10.000+ views and 1000+ replies. Thanks for the support.

PWLib has been downloaded 253 times.

Grats on all three fronts :)

Quote:
Ah, and I'm pretending to expand and release a Revision 1 of the PWLib In A Nutshell. Anyone wants to help?

Would you like that I look through it for spelling and grammatical mistakes and send you a list via e-mail?
Edit: Er...pretending?
Image
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Ideas for tutorials too.

New pretended:

-> Making your Custom New Game Screen
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.0 at 14/June/2008 2:23AM 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

Uh.. KSA, "Pretending" and "Pretended" are words that mean you're faking doing something.. like, when you don't actually care about what someone is saying you "pretend" to be interested. Are you sure that's the word you want to use? XD
Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

@KSA_Tech: :payne: - umm... it's intended. :maya: Not pretended. They mean very different things.
Web developer by night, school student by day. That's how I roll.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Pleeaase don't hurt me.

Gender: Male

Rank: Decisive Witness

Joined: Thu Mar 27, 2008 4:16 pm

Posts: 225

Yeah. Like lukegb said,

intended: when you want to do something
pretended: when you're faking doing something (lol)
Image
Thanks Elriel for the sig!
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

A beta of my PWlib syntax checker (for now it only checks called/defined functions) is now at http://www.lukegrangerbrown.uni.cc/pwparse.php.

Multi-page scripts must all be entered into that one box. Upload funcs coming soon. It also checks to see if you have a [game] function defined. If you get any errors, please either PM me with the code you used, or contact me via Instant Messaging.
Web developer by night, school student by day. That's how I roll.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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 meant intended, sorry.
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.0 at 14/June/2008 2:23AM 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

hm.. while playing around with the music i've found that when converting from a looping wav (perfect, seamlessly looping) to an mp3 it adds a bit of silence at the start and the end of the file. This has happened when saving/converting to mp3 with WinLAME, Audacity and Adobe soundbooth. Anyone know how to stop this? I think it's the major problem with mp3 looping as when it's saved as a .wav that silence isn't present.
Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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 never used those programs or wanted to make a perfect loop, so I can't help in this one.
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.0 at 14/June/2008 2:23AM 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

Just fixed the "invalid texture in animation = crash" issue.
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.0 at 14/June/2008 2:23AM 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

Image

I went through the names, removed all the duplicates and reordered them alphabetically so that it'll be easier to find people. Did it now that there aren't really any names defined so that it'll be easier in the future to define more.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

New namebox list (Serio's) added to PWLib. I added the transparency too. Now need to "fix" the namebox selected for the currently done chars.
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.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Gender: None specified

Rank: Suspect

Joined: Fri May 30, 2008 2:14 pm

Posts: 13

I'm sorry to keep bothering you guys,but I need help :larry: I'm out of the initializing screen but it won't include PWLib. I added #include(pwlib/pwlib.hlsl), and I get this in my log.
Code:
<Script> Error: Cannot use #include inside of a function!
I'm really sorry :larry: :larry:
Avatar by Zinle
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Hm.. well, I thought I had fixed the looping problem. I managed to cut the silence at the start of the mp3 using some other software, however it still stops/starts again, probably something to do with pwlib itself there. At least now I have a formula for cutting exactly the right ammount off so, if KSA can fix the stop/start with mp3 repeat, it should work seamlessly. Until then, wav it is.

Tosswe44, your script should look like this at the top;

Code:
#include(pwlib/pwlib.hlsl)

[game]
jumptoscript("setup");

Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Gender: None specified

Rank: Suspect

Joined: Fri May 30, 2008 2:14 pm

Posts: 13

It looks like this,
Code:
#include(pwlib/pwlib.hlsl)

[game]
jumptoscript("setup");

[setup]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");

Avatar by Zinle
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

@Maelstorm

I'll redo the looping system for mp3 when i first fix the other issues.


@tosswe44
How is your startup.aigehls?

------------------
AHLSL Syntax:

Case 1: ok
#ihclude(thing.hlsl)

[func]

Case 2: fail (that error)

[func]
<some comands>

#include(thing.hlsl)
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.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Gender: None specified

Rank: Suspect

Joined: Fri May 30, 2008 2:14 pm

Posts: 13

I tried using the corrected script Lukegb corrected for me and it wouldn't include tutogame so I tried putting it all on the startup.aigehls so it looks like this
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/>.

//This file is the entrypoint file for any AIGE game: startup.aigehls
//First we include the game's starting script
//#include(script.hlsl)

//Just like most languages, an entrypoint function is defined. In AIGE HLSL this function is [main]
//You're not obligated to put the main function in this file, but it is recommended to do so.
[main]
//Render and Process System Events to protect not found scripts
render();
processsystemevents();
//We are jumping to the function game that must be present on the game's files. (using runscript here isn't recommended)
jumptoscript("game");
#include(pwlib/pwlib.hlsl)

[game]
jumptoscript("setup");

[setup]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
runscript("charcreation");
changetitle("PWLib Test");
jumptoscript("run");

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

Avatar by Zinle
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Wow.. that's really wrong. It even tells you on that document not to put commands in the startup folder.

Ok, first of all, where it says this;

Code:
//This file is the entrypoint file for any AIGE game: startup.aigehls
//First we include the game's starting script
//#include(script.hlsl)


1 line below there you need to put the #include(tutogame.hlsl) line.. so it'll look like this on the startup 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/>.

//This file is the entrypoint file for any AIGE game: startup.aigehls
//First we include the game's starting script
//#include(script.hlsl)

#include(tutogame.hlsl)

//Just like most languages, an entrypoint function is defined. In AIGE HLSL this function is [main]
//You're not obligated to put the main function in this file, but it is recommended to do so.
[main]
//Render and Process System Events to protect not found scripts
render();
processsystemevents();
//We are jumping to the function game that must be present on the game's files. (using runscript here isn't recommended)
jumptoscript("game");


Now, make a file called tutogame.hlsl. If you're using something like notepad, when you save the file make sure you select "all files" when selecting what type to save it as, and put .hlsl at the end of the filename, or it won't work.

That file should look like this;

Code:
#include(pwlib/pwlib.hlsl)

[game]
jumptoscript("setup");

[setup]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
runscript("charcreation");
changetitle("PWLib Test");
jumptoscript("run");

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





KSA, on an unrelated note.. can I set a wav file to play through once and then start another file? I'm trying to make the Courtroom prelude music from PW1 as authentic as possible.
Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Gender: None specified

Rank: Suspect

Joined: Fri May 30, 2008 2:14 pm

Posts: 13

Oh it finally loaded the tutogame and now it loaded PWLib, but I got this screen
http://i235.photobucket.com/albums/ee16 ... CF0280.jpg
Thanks for all the help! :will:
Edit: does this mean I did something wrong?
Code:
(0:16:19) <Texture Loader> Warning: Texture PW\character\Ema Young\Ema_CourtConfront01.png was created in pow2 mode due to force configuration!
(0:16:19) <Texture Loader> Texture requested from PW\character\Ema Young\Ema_CourtConfront01.png!

Avatar by Zinle
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Maelstrom wrote:
Hm.. well, I thought I had fixed the looping problem. I managed to cut the silence at the start of the mp3 using some other software, however it still stops/starts again, probably something to do with pwlib itself there. At least now I have a formula for cutting exactly the right ammount off so, if KSA can fix the stop/start with mp3 repeat, it should work seamlessly. Until then, wav it is.
I don't think that's going to work though. As far as i can remember every mp3 encoder added some stuff (id3 tags, other stuff) at the beginning and end of the file on saving which causes those short stops. I think it'd be much more efficient to work on ogg support instead of trying to fix a encoder/decoder that was broken for years. :P

And on that topic, if/once the whole ogg stuff is added, would it be possible to define the music in the loader? Somehing like:
Code:
loadmusic(ID,"path/file.ogg",Looptype,Startloop,Endloop);

Where ID = the id number of the music to play.
path obvious.
Looptype if = 0 plays once, = 1 repeats whole thing, = 2 repeats with the inclusion of loop points.
startloop = from where the music starts looping.
endloop = where it should end and return to startloop, both in samples.


Then:
Code:
startmusic(ID);
Where id refers to the id from loading.
pausemusic(ID);
Pauses the specified playing music, or if -1 pauses all, while using on a paused channel unpauses.
stopmusic(ID);
Stops the music from playing, same options as in pause.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Serio wrote:
... if/once the whole ogg stuff is added, would it be possible to define the music in the loader? Somehing like:
Code:
loadmusic(ID,"path/file.ogg",Looptype,Startloop,Endloop);

Where ID = the id number of the music to play.
path obvious.
Looptype if = 0 plays once, = 1 repeats whole thing, = 2 repeats with the inclusion of loop points.
startloop = from where the music starts looping.
endloop = where it should end and return to startloop, both in samples.


If we did have the start/end loop time selector wouldn't that theoretically be able to compensate for the mp3 pausing?
ImageImage
Page 26 of 131 [ 5218 posts ] 
Go to page Previous  1 ... 23, 24, 25, 26, 27, 28, 29 ... 131  Next
 
Display posts from previous:  Sort by  

 Board index » Present Evidence » Games

Who is online
Users browsing this forum: No registered users and 4 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