Sogna Digital Museum Forum
Sogna/VIPER Series => Research & Development => Topic started by: akkera102 on December 16, 2024, 02:47:01 pm
-
(I'm sorry I can't speak English, but I'm using Google Translate. Sorry if the sentences are strange.)
After about three months of development, I ported the Windows version of Viper GTS to GBA (GameBoy Advance). Game data is not included, and only the converter tool is distributed. A separate SGS.DAT file for GTS is required.
https://github.com/akkera102/gbadev-ja-test/tree/main/127_viper_gts_gba (https://github.com/akkera102/gbadev-ja-test/tree/main/127_viper_gts_gba)
The analysis data was based on the DecomposeSGS source code provided by Notequalsoft. Specifically, archive unpacking, image data, and audio data decoding. I was especially grateful for the command and parameter information for the script instructions. All the code is available on github. Please refer to it or play around with it if you like.
In terms of technology, the GBA is basically very slow. It can only have one screen buffer and cannot perform composition processing. GTS has 4 screen buffers, and for example, number 3 can display the window frame, number 0 can display a vertically long scrolling image, and numbers 1 and 2 can display images such as the mouth and arms. On the other hand, the GBA cannot do this, and as I said before, it only has one screen.
What I do is to use Python to composite all the images into a single image. Naturally, the capacity increases significantly, but that can't be helped. Basically, a single image is displayed at high speed, and then images of parts such as the mouth and arms are overwritten and displayed.
In the scene where Carrera* looks up at the appearance of the angel, composite and scrolling are performed, but since this is not possible, a single image is displayed as a simple scrolling image.
This project was only possible with the help of Notequalsoft and JG, the forum administrator. Thank you very much.
* EDIT: Changed "Carla" to "Carrera" to remove confusion between VIPER-GTS and VIPER-RSR.
-
:carreraface :carreraface :carreraface
That's amazing, great work!
-
For the GBA?! That's crazy :o
Impressive work either way.
-
I could go for more Viper on handheld systems.
-
RG35XXSP, RG34XX, Miyoo mini plus, Miyoo A30, etc.
It's a good handheld device to play while relaxing in bed. :)
I think it's also a good experience to play using an emulator on your smartphone.
If you want to modify the GBA console, it will cost about $100 for a TFT or IPS LCD screen and $100 for a dedicated cartridge (EverDrive X5, EZ-FLASH DE).
I recommend the funnyplaying homepage.
https://funnyplaying.com/products/ita-agb-tft-backlight-laminated-kit