Board index » Phoenix Wright » Prosecutor's Lobby » Gourdzilla's Lair (GK2)

Page 1 of 1[ 11 posts ]
 


Getting perfect rips, the serious wayTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

So you guys might have noticed that there are some rips of this game on the site now. While they are credited to me, I did not submit them and did in fact not compose the sheets. I did make an extraction tool. I don't like sheets, but I don't mind them being there.

However, I find it far better to have real access to the sprite data in the game. And unlike the last guy, I like to share my methods with the public. The game is reasonably nice in how it stores the assets. It uses some simple custom archive files that I managed to reverse engineer the format of. And in those there are stock file formats.

I wrote a tool to deal with these files in ActionScript 3. The source code is public in case anyone is curious on how it all works. It's mostly gui code and such, the real code lies in my support library.

Of curse, most people here doesn't know anything about programming. For those there is just the option of using the prebuilt version of the tool.

You will need a copy of the game ROM in order to use my tool. I am not distributing that. You have to obtain it yourself. If you don't know how I recommend asking your nearest friend who seems to have all the latest games on handlabeled discs before they are released in stores for assistance.
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

The protagonists of my fangame!

Gender: None specified

Location: Behind you...

Rank: Desk Jockey

Joined: Fri Jul 08, 2011 11:26 am

Posts: 55

Henke, you wouldn't know anything about the models in GK1 and Apollo Justice, would you?
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

The 3d models? I am afraid I do not. I don't know much about those games, if anything. The games are just using a few big files that contain everything.

Edit: I cracked the file format of the files in AJ. Most of the graphics is stored in some unknown (likely raw) formated files. But the 3d models are luckily stored in the Nintendo stock file formats. If you want to you can use the support library I linked to in the OP to fish them out of the game.
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

1000% Knight

Gender: Male

Rank: Moderators

Joined: Tue Jun 17, 2008 2:06 pm

Posts: 6932

So, uh, how exactly do you rip the graphics with this stuff? What do you do with the source code and support library?

...Or rather, since I'm one of those people that know nothing about programming, what do I do with the GKTool.air file?
Image
Credit to Evolina for the sig+avatar!
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

You need Adobe Flash if you want to compile the code. It should work with the open source flex compiler too, but my tools are not made using it.

As for the AIR file, install the AIR runtime in order to install and run it.
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

The protagonists of my fangame!

Gender: None specified

Location: Behind you...

Rank: Desk Jockey

Joined: Fri Jul 08, 2011 11:26 am

Posts: 55

I can't open the .fla files that make up the support library. Also, is there a manual or something for GKTool? I can't figure out the NCER editor.
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

The fla files is technically not part of the support library, they are various test files for it. The actual library code is in the Nitro package. The fla files are saved in the latest version of flash I used to edit them. For most of those that's cs 5.5. Your version of Flash may simply be too old. But most of them are little more than saying "use this class as the document class". It should be trivial to make equivalent files in any flash version from CS 4 and up. CS 3 won't work due to me using the Vector class, and the CS 3 compiler doesn't support that. And anything older than CS 3 doesn't even support ActionScript 3.

As for GKTool, there is no manual available. The editor is not completed (but it should be working). But what you want is to just extract the graphics. Just click that button and take a 10 minute break while everything is output as png files.
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

1000% Knight

Gender: Male

Rank: Moderators

Joined: Tue Jun 17, 2008 2:06 pm

Posts: 6932

W...WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOW

GKTool is amazing, henke! All of a sudden, all of the images from GK2 were on my computer! *_* They're really unorganized, but whatever.

Thanks SO much! ^_^ For making GKTool, and also for such a quick reply.
Image
Credit to Evolina for the sig+avatar!
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

They are exactly as organized as they where in the game. The first two folder levels corresponds to names in the real fs, while the numbers are indexes in the archives, subarchives and NCER files.

EDIT: I cracked one of the image formats used by AJ. It is just 16 bit width, 15 bit height, 1 bit unknown, XBGR 16 bpp palette and then tiled pixel data at either 4 bpp or 8 bpp. I wrote a reader for it.
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Re: Getting perfect rips, the serious wayTopic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Nov 25, 2015 11:29 pm

Posts: 17

Could you please make a tutorial on how to use the AIR GKTool for a noob?
Re: Getting perfect rips, the serious wayTopic%20Title
User avatar

Atuyhan Ihdamdhas

Gender: Male

Location: Tehm'pul Temple

Rank: Ace Attorney

Joined: Sat Jul 27, 2013 3:04 pm

Posts: 1496

Pol74698 wrote:
Could you please make a tutorial on how to use the AIR GKTool for a noob?

NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT! NECRO ALERT!
POHLKUNKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA!!!
Page 1 of 1 [ 11 posts ] 
 
Display posts from previous:  Sort by  

 Board index » Phoenix Wright » Prosecutor's Lobby » Gourdzilla's Lair (GK2)

Who is online
Users browsing this forum: No registered users and 2 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:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB

phpBB SEO