[PS1] Apocalypse

PC/console/emulator/mobile cheats/mods discussion. No online games requests.
Forum rules
Trainers are usually made for a specific game version and will stop working if the game is updated.
Demo
Posts: 494
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

[PS1] Apocalypse

Postby Demo » Mon Aug 06, 2012 2:03 am

not a modding thread, maybe useful info though.

Apocalypse game was developed by Neversoft before THPS1 and the engine used there can be considered as a parent of THPS1 engine. Most common THPS1 beta uses same file formats as this game does.

Gameplay: http://youtu.be/LP8MQ1lK3DM

Tool to pack and unpack WAD container:
http://thmods.com/forum/viewtopic.php?f=5&t=247

some info on wikipedia:
http://en.wikipedia.org/wiki/Apocalypse ... eo_game%29

Download rip (10mb): http://www.mediafire.com/?kswfpbfbh196niw
Download full (215mb): http://coolrom.com/roms/psx/38605/Apocalypse.php
Last edited by Demo on Mon Oct 08, 2012 12:14 am, edited 2 times in total.
quazz
Posts: 185
Joined: Sat May 01, 2010 5:57 pm
Contact:

Re: [PS1] Apocalypse

Postby quazz » Mon Aug 06, 2012 7:33 am

Cool, so now we can put apocalypse levels in THPS2PC? lulz!
Demo
Posts: 494
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [PS1] Apocalypse

Postby Demo » Mon Aug 06, 2012 11:34 am

unfortunately, not directly and we can't use thps1 beta maps as well.
LedIris
Posts: 137
Joined: Sun May 09, 2010 4:28 pm
Contact:

Re: [PS1] Apocalypse

Postby LedIris » Wed Aug 08, 2012 8:52 pm

Has anyone tried to encode that .BMR format that is used for images in Apocalypse and early THPS1 Betas?

Image
Demo
Posts: 494
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [PS1] Apocalypse

Postby Demo » Wed Aug 08, 2012 10:16 pm

i dont think so. try 16-bit 5-6-5 if there is such mode.
5thhorseman
Posts: 2
Joined: Thu Aug 09, 2012 1:01 am
Contact:

Re: [PS1] Apocalypse

Postby 5thhorseman » Thu Aug 09, 2012 4:10 am

It's 5.5.5.1.0 RGBAX, stored in little endian byte order and with red and blue channels swapped when compared to standard high color modes.

I'm attaching a viewer/exporter application along with source code for it.

LedIris believes that the program doesn't work correctly; according to him the converted BMRs contain vertical and horizontal lines that don't match the expected result. Here's the log where he explains it in more detail:

[2012-08-08 19:59:05][2012-08-09 00:36:52] <LedIris> It's a bit off.
[2012-08-09 00:37:06] <TheFifthHorseman> Okay, what's wrong?
[2012-08-09 00:38:38] <TheFifthHorseman> LedIris?
[2012-08-09 00:39:25] <LedIris> hold on.
[2012-08-09 00:42:59] <LedIris> http://i.minus.com/iy2pNryXdSXFr.png
[2012-08-09 00:44:24] <LedIris> It's moving some lines.
[2012-08-09 00:46:37] <LedIris> It's a bit off.
[2012-08-09 00:46:45] <LedIris> TheFifthHorseman
[2012-08-09 00:47:03] <LedIris> Great work though!
[2012-08-09 00:47:16] <TheFifthHorseman> o.o Isn't doing that on my system. :/
[2012-08-09 00:48:59] <LedIris> I think there needs to be a pixel offset too.
[2012-08-09 00:49:15] <LedIris> pixel offset var.
[2012-08-09 00:49:33] <TheFifthHorseman> Aha, finally got the colors right.
[2012-08-09 00:49:48] <LedIris> I know there is one vertical lines.
[2012-08-09 00:49:56] <LedIris> You got the colors down.
[2012-08-09 00:50:32] <LedIris> Post it on here: index.php
[2012-08-09 00:50:45] <TheFifthHorseman> They were slightly off in the low three bytes.
[2012-08-09 00:50:52] * TheFifthHorseman sputters
[2012-08-09 00:50:54] <TheFifthHorseman> BITS.
[2012-08-09 00:51:38] <TheFifthHorseman> That vertical line is part of the image, far as I can tell.
[2012-08-09 00:51:53] <CeriCat> Fifth it happens, especially if you don't have a lot to experiment with to show the issue, sure you did a great job overall given you only did it quick I imagine.
[2012-08-09 00:53:05] <TheFifthHorseman> LedIris: Let's see a screenshot of that image from the game :p
[2012-08-09 00:53:22] <TheFifthHorseman> The one of the title screen you gave me earlier had a similar line.
[2012-08-09 00:53:42] <LedIris> I think it was a emu error.
[2012-08-09 00:53:45] <TheFifthHorseman> And the entire image is literally assembled pixel-by-pixel, going in rows. :p

[2012-08-09 01:09:10] <LedIris> I also found an image that already has a bmp counterpart.
[2012-08-09 01:09:18] <LedIris> Ill upload both of them.
[2012-08-09 01:09:51] <LedIris> TheFifthHorseman: http://minus.com/lb0yBtvR7qAF0v
[2012-08-09 01:12:41] <LedIris> You can use it as an refrence file.
[2012-08-09 01:18:22] <LedIris> TheFifthHorseman: Also: The bottom line is misscolored.
[2012-08-09 01:23:57] <TheFifthHorseman> LedIris: I have used the title screen image you gave me as reference. Converting title_h.bmr and then overlaying the result of the conversion over your screenshot in the Grain Extract mode gives a uniform #7f7f7f grey over the entire image (meaning they are identical).
[2012-08-09 01:26:12] <TheFifthHorseman> Whereas this one has been clearly taken from another source. It's offset 2 px to the right compared to the contents of the BMR and there is a number of color differences. I'm guessing it comes from a different version of the game.
[2012-08-09 01:31:20] <LedIris> It comes from a Beta of the PC version of THPS2.
[2012-08-09 01:31:49] <LedIris> They put both a bmr and a bmp of the same image.
[2012-08-09 01:33:06] <TheFifthHorseman> Ah, I was comparing it with coming.bmr
[2012-08-09 01:35:24] <LedIris> TheFifthHorseman: are you using the images i sent?
[2012-08-09 01:35:42] <TheFifthHorseman> Checking with coming2.bmr turns out to give the same result.
[2012-08-09 01:40:14] <LedIris> Did you compair it with the included bmp?
[2012-08-09 01:40:31] <TheFifthHorseman> Yes. The BMP is offset and has the same color differences.
[2012-08-09 01:40:33] <TheFifthHorseman> Understand this: The tool is just that. It loads the supplied file into an array of bytes, then going by every two bytes, it turns them into 16-bit integers, finally turning each integer individually into a pixel value; .
[2012-08-09 01:41:16] <LedIris> Did you look at the bottom line?
[2012-08-09 01:41:25] <LedIris> *row
[2012-08-09 01:42:22] <TheFifthHorseman> The problem is you are automatically assuming those files contain the same image.
[2012-08-09 01:42:48] <LedIris> You should talk to Demo on index.php
[2012-08-09 01:43:00] <TheFifthHorseman> Look.
[2012-08-09 01:43:05] <TheFifthHorseman> Take this: http://minus.com/miWZjclTh/
[2012-08-09 01:43:12] <TheFifthHorseman> Open Form1.cs
[2012-08-09 01:43:37] <TheFifthHorseman> And take a look at the functions in it.
[2012-08-09 01:43:46] <TheFifthHorseman> If you insist there must be a bug, you will find it.
[2012-08-09 01:44:37] <LedIris> He might help with it.
[2012-08-09 01:44:40] <TheFifthHorseman> Because I don't see anywhere where a bug with this sort of widespread pattern effect could be located in.
[2012-08-09 01:44:58] <LedIris> viewtopic.php?f=14&t=1088
[2012-08-09 01:46:11] <TheFifthHorseman> Facepalm.
[2012-08-09 01:46:14] <LedIris> He makes utilities for this stuff all of the time.
[2012-08-09 01:47:08] <TheFifthHorseman> Did you pay attention to anything I said?
[2012-08-09 01:48:31] <LedIris> I do not know how to code.


And yes, I'm still convinced this is not a bug in my code. I've went through it several times, checking and rewriting everything over and over.
Attachments
BMReader.rar
(11.24 KiB) Downloaded 632 times
Demo
Posts: 494
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [PS1] Apocalypse

Postby Demo » Thu Aug 09, 2012 12:04 pm

what bug are you talking about? i opened few apocalypse images and the one lediris sent you, they worked fine.
5thhorseman
Posts: 2
Joined: Thu Aug 09, 2012 1:01 am
Contact:

Re: [PS1] Apocalypse

Postby 5thhorseman » Thu Aug 09, 2012 7:23 pm

:wat: Beats me too. Either the issues are inherent in the input data or it's a case of reality not matching expectations.
WhoElseButMe
Posts: 419
Joined: Tue Aug 04, 2009 12:50 am
Location: FL - USA
Contact:

Re: [PS1] Apocalypse

Postby WhoElseButMe » Thu Aug 09, 2012 9:35 pm

Or it's an issue that only appears with his current configuration.
Not all bugs can be reproduced on all machines.
Image
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
LedIris
Posts: 137
Joined: Sun May 09, 2010 4:28 pm
Contact:

Re: [PS1] Apocalypse

Postby LedIris » Sun Aug 19, 2012 12:46 am

The one of the problems here is that the two vertical lines of pixels on the right should be on the left side and should one horizontal row up.

Normal BMReader output (notice the lines on the right)(I also noticed when Demo extracted this it had the same problem):
Image
Edited (lines on the right moved to the left and moved up a row):
Image
It's not just this image, this pretty much happens with every image I loaded up.

IDK about exactly what causes the problem with the bottom row though.

Edit: Apparently the image loads ingame like it appears how BMReader renders it, I guess I made a mistake on my part, sorry about that.
Demo
Posts: 494
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [PS1] Apocalypse

Postby Demo » Sun Aug 19, 2012 2:08 am

LedIris wrote:Edit: Apparently the image loads ingame like it appears how BMReader renders it, I guess I made a mistake on my part, sorry about that.

that's why i wondered what's the problem, because it looks exactly same with extra line on the right in emulator. you can notice it at apocalypse loading screen.

Return to “Single player games modding”

Who is online

Users browsing this forum: No registered users and 14 guests