PSO Weapon and Armor Database (currently v2)

Sylverant is a homebrew open source server for Phantasy Star Online. Dreamcast users still play PSO online with this server even today! This is the official forum for both the online game server as well as the open source project itself. Feel free to post and get a gathering started online! We can also show you how to get connected!

Moderators: BlueCrab, Aleron Ives

Post Reply
User avatar
Neoblast
DC Developer
DC Developer
Posts: 312
Joined: Sat Dec 01, 2007 8:51 am
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by Neoblast » Sat Dec 06, 2014 11:07 am

Amazing app, kudos man :)
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Sat Dec 06, 2014 7:51 pm

Lee wrote:you don't, you use the id to call it from unitext_e.prs, my pmt program calls all strings from that file
That would make sense instead of packing every language into one file :P

I am curious as to what some of those unused things are in weapons and guards. Also curious where tp/hp drain is stored.
Note I switched from fuzziqer's compression code to bluecrabs
Spoiler!

Code: Select all

Unused number, item name, unsigned number value
2 Barrier 1536
2 Giga Shield 256
2 Soul Barrier 1792
2 Hard Shield 512
2 Brave Barrier 1792
2 Solid Shield 768
2 Flame Barrier 2560
2 Plasma Barrier 2048
2 Freeze Barrier 2304
2 Psychic Barrier 2816
2 General Shield 768
2 Protect Barrier 3072
2 Glorious Shield 1024
2 Imperial Barrier 3072
2 Guardian Shield 1024
2 Divinity Barrier 3072
2 Ultimate Shield 1280
2 Spiritual Shield 1280
2 Celestial Shield 1280
2 INVISIBLE GUARD 5376
2 SACRED GUARD 5120
2 S-PARTS ver1.16 3840
2 S-PARTS ver2.01 4096
2 LIGHT RELIEF 3584
2 SHIELD OF DELSABER 3328
2 FORCE WALL 4352
2 RANGER WALL 4352
2 HUNTER WALL 4352
2 ATTRIBUTE WALL 4352
2 SECRET GEAR 4864
2 COMBAT GEAR 4864
2 PROTO REGENE GEAR 4864
2 REGENERATE GEAR 4608
2 REGENE GEAR ADV 4608
2 FLOWEN'S SHIELD 5632
2 CUSTOM BARRIER ver.OO 5632
2 DB'S SHIELD 5632
2 RED RING 6656
2 TRIPOLIC SHIELD 5888
2 STANDSTILL SHIELD 5888
2 SAFETY HEART 6144
2 KASAMI BRACER 5888
2 GODS SHIELD SUZAKU 5888
2 GODS SHIELD GENBU 5888
2 GODS SHIELD BYAKKO 5888
2 GODS SHIELD SEIRYU 5888
2 HANTER'S SHELL 5888
2 RIKO'S GLASSES 6656
2 RIKO'S EARRING 6656
2 BLUE RING 6656
2 YELLOW RING 6656
2 SECURE FEET 6656
2 PURPLE RING 6656
2 GREEN RING 6656
2 BLACK RING 6656
2 WHITE RING 6656
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Sat Dec 06, 2014 9:24 pm

Neoblast wrote:Amazing app, kudos man :)
Are you referring to Lee's? Because yes it is Amazing :P

I am trying to convert the Delphi code Lee pasted into C :) so I can grab the weapon/item descriptions and little progress so far. I did however add armor and shield stat bonuses and fixed the weapons ones Thanks to Lee's program.
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Sun Dec 07, 2014 4:00 am

Well so far all I have managed to learn is that the weapon descriptions are from 0xABA8 to 0x1312C
Lee
DCEmu Freak
DCEmu Freak
Posts: 53
Joined: Thu Mar 06, 2014 10:28 am
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by Lee » Sun Dec 07, 2014 8:07 am

you shouldn't really be reading them as raw hex, i don't even know where they are as raw hex, i just load them all in to string lists, you realise the unitext once you decompress it is just a collection of pointers, pointing to the various groups of text.

Prob easier seeing it like this so you know what the code is kinda reading it as:

Image

And yes i could dump the descriptions as text files but where is the fun in that ;)

Í'm sure neoblast is not referring to my program, he doesn't like me very much.

You might be better off grabbing sodas c code from his unitext to text file conversion program, which is included with tethellas source code.
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Sun Dec 07, 2014 12:18 pm

Any chance can you post a link to your Unitext editor? The schthack forums aren't sending the activation email and I am sure my account has long since been pruned :P I cant even remember what it was to be honest. Are there 57 groups? if so I am making progress lol
User avatar
Aleron Ives
DCEmu Nutter
DCEmu Nutter
Posts: 824
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Has liked: 0
Been liked: 4 times
Contact:

Re: PSO Weapon and Armor Database (currently v2)

Post by Aleron Ives » Sun Dec 07, 2014 1:06 pm

@ AmonX

Remember that the unitxt also contains Word Select and menu text, not just item descriptions.

@ Lee

Did you ever add DC text support? I've still yet to see a tool that can edit the DC text files.
"Fear the HUnewearl."
Image
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Sun Dec 07, 2014 1:49 pm

@Ives
It contains ALL THE THINGS and yes I know :) Decompressed it and opened it up in winhex to get the hex values :p I posted above
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Sun Dec 07, 2014 4:10 pm

I noticed that in the pmt editor the stat bonuses sometimes list a second stat bonus but in v2 are they ever applied? I checked what ones I could and they don't seem to.
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Mon Dec 08, 2014 8:45 pm

Okay I did some testing and found that the second stat bonus is never used.... just to make sure I edited the pmt and gave some ridiculous second bonus stats like all stats + 999 and everything like that, I changed some of the first bonuses just to double check and yeah the second stat bonus is never used. I thought possibly they were kept hidden and just used in the calculations for a weird sega reason but nope
Lee
DCEmu Freak
DCEmu Freak
Posts: 53
Joined: Thu Mar 06, 2014 10:28 am
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by Lee » Tue Dec 09, 2014 10:27 am

They are on later versions of pso. And well when porting the ui functions, arrays etc i prob missed a few things.

I could have sworn schthacks old unitext editor which my code is based on, read console version files, i just didn't include the ability to in my program, prob wouldn't be too hard to implement though.
User avatar
Aleron Ives
DCEmu Nutter
DCEmu Nutter
Posts: 824
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Has liked: 0
Been liked: 4 times
Contact:

Re: PSO Weapon and Armor Database (currently v2)

Post by Aleron Ives » Tue Dec 09, 2014 1:12 pm

You did say that Schthack's old editor could handle Xbox text files, but IIRC DC files were slightly different, so it couldn't read them.
"Fear the HUnewearl."
Image
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Tue Dec 09, 2014 2:22 pm

Question is the bonus to hp limited to 25% of yourbase hp? At level 5 with 55 hp I only got 14 hp instead of 20 when I equipped a last survivor
User avatar
Aleron Ives
DCEmu Nutter
DCEmu Nutter
Posts: 824
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Has liked: 0
Been liked: 4 times
Contact:

Re: PSO Weapon and Armor Database (currently v2)

Post by Aleron Ives » Tue Dec 09, 2014 2:30 pm

When I equipped it at level 200 with 1874 HP, I got 0 extra. It's probably capped and scaled based on your level the way Burning and Tempest is.
"Fear the HUnewearl."
Image
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Fri Dec 12, 2014 7:00 pm

New version uploaded
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Fri Dec 12, 2014 8:58 pm

Yet another version up :P
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Sat Dec 13, 2014 1:52 pm

Anyone have any more suggestions before I start to do things properly and allow people to open up the itempmt itempt and itemrt as well as the unitxt files directly? Or is everyone happy just using Lee's program for that? I most likely am going to do it anyways as a learning experience and luckily I have things like BlueCrabs and Sodaboy's server as code references as well as Lee's Program as output references :) Unlike when they first started :P
Lee
DCEmu Freak
DCEmu Freak
Posts: 53
Joined: Thu Mar 06, 2014 10:28 am
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by Lee » Tue Dec 16, 2014 8:21 pm

so you honestly feel like there is any benefit to opening itempmt and itemrt when neither of the files really share any commonality and do distinctly independent things.

The only reason i open the itempmt and unitext together is because one has an influence on the other when editing.
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by AmonX » Tue Dec 16, 2014 10:20 pm

Well I need the itemrt for drop rates :P and only reason why I want others to be able to open there own itempmts is so that I can get it working for GC or BB or have people compare sega v2 to ives ep or what not
Lee
DCEmu Freak
DCEmu Freak
Posts: 53
Joined: Thu Mar 06, 2014 10:28 am
Has liked: 0
Been liked: 0

Re: PSO Weapon and Armor Database (currently v2)

Post by Lee » Thu Dec 18, 2014 6:12 am

but i already have a working pmt builder for both gc and bb lol. Well knock yourself out i guess.
Post Reply