Tapper remake

Start a log and update it occasionally with your projects progress
jman
Rookie Programmer
Rookie Programmer
Posts: 110
Joined: August 13th, 2013, 7:58 am

Re: Tapper remake

Post by jman » January 12th, 2014, 12:26 am

Currently ripping sprites off MAME and creating sprite sheets... so boring...
Problem is that original sprites on arcade are sized for a 512x480 screen, while my clone currently is 320x240. I cannot resample sprites in GIMP nor at runtime (with GsSPRITE.scalex/scalex) because the result is awful.
Sprites will need to be re-done from scratch, I'm doing a useless work.
Attachments
barman.jpg
(47.06 KiB) Downloaded 21 times

User avatar
Shendo
C Programming Expert
C Programming Expert
Posts: 238
Joined: March 21st, 2012, 4:34 am
I am a: Programmer
Motto: Never settle
PlayStation Model: SCPH-9002
Location: Croatia, EU

Re: Tapper remake

Post by Shendo » January 12th, 2014, 8:45 am

PS1 supports 512x480 resolution, so you might go that way.
You need to disable double buffering and turn on interlaced mode (on GPU level).
My PS1 consoles: 2 x SCPH-1002, SCPH-5552, SCPH-7002, 4x SCPH-9002, 2 x SCPH-102.
Dev console: SCPH-9002, MM3 - 7 wire modchip, PAL color mod, CH340 serial cable addon.

jman
Rookie Programmer
Rookie Programmer
Posts: 110
Joined: August 13th, 2013, 7:58 am

Re: Tapper remake

Post by jman » January 13th, 2014, 6:26 am

Shendo wrote:PS1 supports 512x480 resolution, so you might go that way.
You need to disable double buffering and turn on interlaced mode (on GPU level).
Thanks Shendo.

In the meanwhile I've discovered that GsSPRITE resampling works indeed very well.
The problem was - guess what - in how the emulator renders the image! NO$PSX for some reason garbles the image quality, while on EPSXE looks pretty good.

Image
Attachments
ugh.JPG
(91.2 KiB) Downloaded 21 times

User avatar
Shendo
C Programming Expert
C Programming Expert
Posts: 238
Joined: March 21st, 2012, 4:34 am
I am a: Programmer
Motto: Never settle
PlayStation Model: SCPH-9002
Location: Croatia, EU

Re: Tapper remake

Post by Shendo » January 13th, 2014, 11:27 am

PS1 uses nearest neighbor for scaling and the result should be pretty close to what you got with no&psx.
ePSXe's GPU plugin probably uses some other method for scaling to make it look nice.

If you want, post the current build and I'll test it for you on hardware.
My PS1 consoles: 2 x SCPH-1002, SCPH-5552, SCPH-7002, 4x SCPH-9002, 2 x SCPH-102.
Dev console: SCPH-9002, MM3 - 7 wire modchip, PAL color mod, CH340 serial cable addon.

isufje
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 63
Joined: April 11th, 2012, 2:33 pm

Re: Tapper remake

Post by isufje » January 13th, 2014, 3:53 pm

Shendo's right. If u want to know how it looks like on real hardware, you either change your ePSXe's gpu plugin resolution to 320x240 or you continue to use no$psx.

Btw, this is somewhat related... Star Ocean 2 had in-game anti-aliasing for character sprites which made them very scalable friendly. If they didn't do that, their sprites would've looked like shit. I always wondered how they did that.

jman
Rookie Programmer
Rookie Programmer
Posts: 110
Joined: August 13th, 2013, 7:58 am

Re: Tapper remake

Post by jman » June 10th, 2014, 6:28 am

Here are some updates.

I've reworked a lot of things:
- fully converted the game in interlaced 512x480
- converted all the sprites in 8bit TIM
- added the logic to switch screens (intro, gameplay, high scores)
- implemented 90% of the gameplay

TODO:
- when the customer reaches the barman there's no animation, I still have to do it.
- Tip recovering on the table
- memory card management
- high scores
- testing on real hardware

Attached the latest build.
I think I'll stop when I'll be able to reproduce just the first level of the game: it would take too much non-sexy programming/graphics time to implement the others.
scr0.jpg
(80.7 KiB) Downloaded 21 times
scr1.jpg
(70.15 KiB) Downloaded 21 times
scr2.jpg
(71.28 KiB) Downloaded 21 times
Attachments
psxiso.zip
(76.76 KiB) Downloaded 316 times

jman
Rookie Programmer
Rookie Programmer
Posts: 110
Joined: August 13th, 2013, 7:58 am

Re: Tapper remake

Post by jman » May 31st, 2016, 8:22 am

The project is in hiatus due to other programming tasks.
In the meanwhile I've put all sources on GitHub, maybe my efforts will be of any help.

https://github.com/apiraino/psx_tapper

I also tried to write a tutorial to summarize the steps to get started, hoping to save some time to newcomers.

There may be inaccuracies because I might have forgot something. Please feel free to contribute with a pr.

User avatar
gwald
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 256
Joined: September 18th, 2013, 8:44 am
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

Re: Tapper remake

Post by gwald » May 31st, 2016, 10:14 am

Nice, thanks for sharing! :clap

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests