Posted: 2nd May 2006 23:07
|
|
![]() Posts: 2,350 Joined: 19/9/2004 Awards: ![]() ![]() |
![]() I tried a little something today. I have an OpenGL-based emulator for PSX sitting on my PC. Most of the programming I do nowadays is OpenGL-related, for Endless Saga, so I thought I'd try a little something. In short, I wrote a wrapper for GL functions that would basically dump loaded textures and such on the disk. It worked wonders, and now I have the above. In fact, this will work with ANY PSX game ( that I have... ![]() So yeah. I thought I'd share that. I was quite surprised it actually worked. ![]() Edit: Hot damn, it even keeps the alpha channel... This post has been edited by Silverlance on 2nd May 2006 23:14 -------------------- "Judge not a man by his thoughts and words, but by the quality and quantity of liquor in his possession and the likelyhood of him sharing." |
Post #115267
|
Posted: 2nd May 2006 23:20
|
|
![]() Posts: 1,796 Joined: 15/11/2003 Awards: ![]() ![]() ![]() |
Nice, FFTactics did have the best sprites,
one question, are the sprites stored that way, or did you put random sprites together to show more sprites of more than one thing -------------------- "Have you ever seen a baby do that before?" |
Post #115269
|
Posted: 2nd May 2006 23:24
|
|
![]() Posts: 2,350 Joined: 19/9/2004 Awards: ![]() ![]() |
They're stored that way once loaded in memory. I'm just tricking my emulator into using my DLL instead of the real OpenGL DLL. So it tries to build a texture and upload it to the graphic card and my DLL goes, "Yo mate, 'oer here!"
The program looks about, shrugs, and dumps the texture into my DLL, confident the DLL will do its job and ship it over to the graphic card. "Sucker," sayeth the DLL. It dumps a copy of the texture to the disk then ships it off to the graphic card. A job well done. And that's what I get after the game is run. The downside is, each sprite being added to the texture means an upload, which means I get a huge amount of incomplete textures to sort through. -------------------- "Judge not a man by his thoughts and words, but by the quality and quantity of liquor in his possession and the likelyhood of him sharing." |
Post #115270
|
Posted: 3rd May 2006 01:07
|
|
![]() Posts: 564 Joined: 2/7/2004 Awards: ![]() ![]() ![]() ![]() |
Heh too bad you chose tactics since there's a way easier to do it since all the sprites for every character/monster/ect. are stored in seperated files in the same folder.
Nice bloodsucked monk you got there. ![]() Concerning your ripping, would you also be able to rip the spells also? I'd be really impressed by that! Oh, with a good scenario, I'd make some flash movies of FFT (scenes). Heh this is pretty confusing, there are some parts that I can't tell who it belongs to. -------------------- Sayonara |
Post #115275
|
Posted: 3rd May 2006 01:14
|
|
![]() Posts: 2,350 Joined: 19/9/2004 Awards: ![]() ![]() |
I could do it with any game. I might try with BoF III sometime this weekend or later this week if I want to take a break from doing other stuff.
![]() I could rip spells, yeah. Just gotta be able to actually play up to that point; using an intermediate DLL to hook OpenGL calls AND dumping stuff to the disk bogs the emulator down to the point of crawling at a few FPS. ![]() -------------------- "Judge not a man by his thoughts and words, but by the quality and quantity of liquor in his possession and the likelyhood of him sharing." |
Post #115276
|
Posted: 3rd May 2006 03:08
|
|
![]() Posts: 387 Joined: 23/6/2005 Awards: ![]() ![]() ![]() |
Im not sure how the emulator interfaces with your opengl hacked dll, but maybe you could include some sort of keyboard off-switch during times when you weren't interested in the textures or sprites. Not sure how much help to the fps that would give you too though.
-------------------- Oh sure, I don't have to get kicked in the junk to activate it, but I like it anyway. -- Thief commenting on the difference between Throw and Blue Magic. |
Post #115278
|
Posted: 3rd May 2006 03:40
|
|
![]() Posts: 2,350 Joined: 19/9/2004 Awards: ![]() ![]() |
I could try that; I could hook the keyboard and skip the dumping to disk bit when a certain key is held down...
Problem is, I don't know when things get loaded. So once I hit the spot where something I want to dump is, I have to deal with massive dumpage. ![]() I should be able to dump models too, like this. In fact, anything graphical. ![]() -------------------- "Judge not a man by his thoughts and words, but by the quality and quantity of liquor in his possession and the likelyhood of him sharing." |
Post #115279
|
Posted: 3rd May 2006 14:01
|
|
![]() Posts: 152 Joined: 27/1/2005 Awards: ![]() ![]() ![]() ![]() |
I think that is how most of our digital artists at Heroes of Ivalice got their base sprites for their customized artwork. Here's a few examples of what they did with it for the GMs to use as signatures showing our NPCs. The last two are examples of the formats that some of the players have started to use as their avatars. If you have any questions about the process of getting the sprites out, feel free to ask one of our artists. They're usually pretty friendly.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() This post has been edited by Kairo on 3rd May 2006 14:07 |
Post #115291
|
Posted: 3rd May 2006 21:31
|
|
![]() Posts: 2,350 Joined: 19/9/2004 Awards: ![]() ![]() |
Quote (Kairo @ 3rd May 2006 09:01) I think that is how most of our digital artists at Heroes of Ivalice got their base sprites for their customized artwork. You sure that's how they got them out and not simply through screencaps from an emulator? If so, kudos to them - takes a lot of knowhow (edit: and patience - it was largely a matter of trial and error... for me, at least) to write a DLL to hook calls like that. ![]() This post has been edited by Silverlance on 4th May 2006 00:16 -------------------- "Judge not a man by his thoughts and words, but by the quality and quantity of liquor in his possession and the likelyhood of him sharing." |
Post #115341
|
Posted: 4th May 2006 06:57
|
|
![]() Posts: 869 Joined: 28/9/2002 Awards: ![]() ![]() ![]() ![]() ![]() |
Quote (Silverlance @ 2nd May 2006 18:14) I could do it with any game. I might try with BoF III sometime this weekend or later this week if I want to take a break from doing other stuff. ![]() I could rip spells, yeah. Just gotta be able to actually play up to that point; using an intermediate DLL to hook OpenGL calls AND dumping stuff to the disk bogs the emulator down to the point of crawling at a few FPS. ![]() Most excellent. I was just about to ask you if you could do that with BoF III, then I saw the post. When I rip sprites I generally have to do it the old fashioned way. What a pain in the ass that is. -------------------- This one time I punched a bear in the forehead TO DEATH! I still have the scars on my chest. I am the manliest man that ever did man. League: Z3roHawk Steam: Zero_Hawk Wii U: Zero_Hawk FF14 - Goblin - Zero Hawk <Fiend> |
Post #115374
|
Posted: 4th May 2006 22:29
|
|
![]() Posts: 2,350 Joined: 19/9/2004 Awards: ![]() ![]() |
|
Post #115426
|