Homebrew [Release] JFBlood for 3DS

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,591
Country
Netherlands
v8Q7Xgl.png

Blood port for 3DS

Info


This is NBlood ported to JFBuild, ported to the Amiga, ported to the Vita, finally ported to the 3DS.

Credits to everyone involved.

Known issues:


- Slow on original (old)3DS.
- Demo's are not precached, they cause lag.
- And probably a lot more.

Installation instructions:


Download: https://github.com/MrHuu/jfblood-3ds/releases/latest

- Create a folder 'NBlood' on your SD: 'sdmc:/3ds/NBlood/'
- Copy these files from your copy of Blood:
BLOOD.INI
BLOOD.RFF
GUI.RFF
SOUNDS.RFF
SURFACE.DAT
TABLES.DAT
TILES000.ART, ..., TILES017.ART
VOXEL.DAT

BLOOD000.DEM, ..., BLOOD003.DEM (optional, not recommend on 3DS)

CP01.MAP, ..., CP09.MAP (optional, Cryptic Passage)
CPART07.AR_ (optional, Cryptic Passage)
CPART15.AR_ (optional, Cryptic Passage)
CPBB01.MAP, ..., CPBB04.MAP (optional, Cryptic Passage)
CPSL.MAP (optional, Cryptic Passage)
CRYPTIC.INI (optional, Cryptic Passage)
CRYPTIC.SMK (optional, Cryptic Passage)
CRYPTIC.WAV (optional, Cryptic Passage)

- Run with the Homebrew launcher
- Or install and run .cia


Screenshots


BIP5Qrb.png
8APfAQv.png



Build instructions:


make -f Makefile.ctr
or
make -f Makefile.ctr clean


Sources:

https://github.com/MrHuu/jfblood-3ds

https://github.com/nukeykt/NBlood


Credits:


nukeykt (https://github.com/nukeykt) - For 'NBlood'
Jonof (https://github.com/jonof) - For 'JFBuild' engine
BSzili (https://github.com/BSzili) - For porting 'NBlood' to the 'JFBuild' engine and Amiga
Rinnegatamante (https://github.com/rinnegatamante) - For porting 'JFBlood' to the Vita
Masterfeizz (https://github.com/masterfeizz) - For porting 'eDuke3D' to the 3DS

Everyone involved with development of libctru and other 3ds libraries.
 
Last edited by MrHuu,

CrashMidnick

Well-Known Member
Member
Joined
Jul 22, 2015
Messages
726
Trophies
0
Age
41
XP
2,836
Country
France
Thanks for this port @MrHuu !

You missed that file in the required files : TABLES.DAT

The port is working great, even on O3DS. However Analog axis are way to slow, even more on O3DS.
For those who want something more playable, replace my config file attached in the NBlood folder.
 

Attachments

  • nblood.zip
    1.8 KB · Views: 81

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,591
Country
Netherlands
Thanks for this port @MrHuu !

You missed that file in the required files : TABLES.DAT

The port is working great, even on O3DS. However Analog axis are way to slow, even more on O3DS.
For those who want something more playable, replace my config file attached in the NBlood folder.
Thanks, i've updated the op accordingly.
To be honest, i never checked the requirements. Just copied the entire game during developing.

You're also completely right about the default axis values being off, i just used the in-game options to set it to my liking.
Sane defaults will be included in the next update. Thanks for the workaround in the meantime.

There's are more stupid issues, but i just wanted to play the game. Issues can be solved later i guess.
 

CrashMidnick

Well-Known Member
Member
Joined
Jul 22, 2015
Messages
726
Trophies
0
Age
41
XP
2,836
Country
France
Thanks, i've updated the op accordingly.
To be honest, i never checked the requirements. Just copied the entire game during developing.

You're also completely right about the default axis values being off, i just used the in-game options to set it to my liking.
Sane defaults will be included in the next update. Thanks for the workaround in the meantime.

There's are more stupid issues, but i just wanted to play the game. Issues can be solved later i guess.

Thanks MrHuu,

Blood is a very good game, I began to play it few weeks ago on an Amiga and will be more than happy to finish it on a 3DS too :)

Keep up the good work !
 

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,591
Country
Netherlands
I've fixed some issues (yeah, about time) with the blood port.

Most graphical issues are fixed:
- menu background not clearing
- blood drips not widescreen
- scuba-gear and asbestos suit overlay tiles re-positioned for widescreen
- wide delirium effect fixed
- Cryptic Passage missing custom tiles fixed
- Cutscenes (smk) are fixed
- Mod loading support

The mod loading lets you choose which .ini to load on launch.

I've included an example configuration on how to set it up.
The example configuration supports Blood, Cryptic Passage and Death Wish.
You'll have to provide the datafiles yourself, and probably edit the .ini that comes with them.

For example, BLOOD.INI should look like this:

Code:
[Install]
; source path will be set by the installation process
SourceDir=.

[Episode1]
; location of movies was set at install
CutSceneA=./movie/cs1.smk
CutWavA=./movie/cs1822m.wav
CutSceneB=./movie/cs2.smk
CutWavB=./movie/cs2822m.wav
...

Extract all files from the attachment to: 'sdmc:/3ds/nblood'.

Maranax pallex!
 

Attachments

  • jfblood-3ds_v0.0.2-pre.7z
    686.8 KB · Views: 25

RoosterMange

Member
Newcomer
Joined
Jan 13, 2024
Messages
13
Trophies
0
Age
21
XP
104
Country
United States
I've fixed some issues (yeah, about time) with the blood port.

Most graphical issues are fixed:
- menu background not clearing
- blood drips not widescreen
- scuba-gear and asbestos suit overlay tiles re-positioned for widescreen
- wide delirium effect fixed
- Cryptic Passage missing custom tiles fixed
- Cutscenes (smk) are fixed
- Mod loading support

The mod loading lets you choose which .ini to load on launch.

I've included an example configuration on how to set it up.
The example configuration supports Blood, Cryptic Passage and Death Wish.
You'll have to provide the datafiles yourself, and probably edit the .ini that comes with them.

For example, BLOOD.INI should look like this:

Code:
[Install]
; source path will be set by the installation process
SourceDir=.

[Episode1]
; location of movies was set at install
CutSceneA=./movie/cs1.smk
CutWavA=./movie/cs1822m.wav
CutSceneB=./movie/cs2.smk
CutWavB=./movie/cs2822m.wav
...

Extract all files from the attachment to: 'sdmc:/3ds/nblood'.

Maranax pallex!
I installed the new .3dsx file and it crashed my system when I tried to run it. I tried it with the new .cia file and got the same result. I reverted back to the old .3dsx file and the game worked fine once again. It's a shame because I would've loved to be able to boot up cryptic.ini or dw.ini on start and have cutscenes. Is there a fix or workaround for this?
 

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,591
Country
Netherlands
I installed the new .3dsx file and it crashed my system when I tried to run it. I tried it with the new .cia file and got the same result. I reverted back to the old .3dsx file and the game worked fine once again. It's a shame because I would've loved to be able to boot up cryptic.ini or dw.ini on start and have cutscenes. Is there a fix or workaround for this?
Make sure the config file points to a valid png image. If you copy the include config and images to you nblood folder, it should work. Unless maybe if it's an old 3ds, i didn't test that.

If you remove the modlaunch.cfg file, blood will load normally.
 

RoosterMange

Member
Newcomer
Joined
Jan 13, 2024
Messages
13
Trophies
0
Age
21
XP
104
Country
United States
Make sure the config file points to a valid png image. If you copy the include config and images to you nblood folder, it should work. Unless maybe if it's an old 3ds, i didn't test that.

If you remove the modlaunch.cfg file, blood will load normally.
How can I make the config file point to the png? I'm not very familiar with coding but I can definitely edit the file if you give me an example. I copied all the included files and the new .3dsx file since I haven't had much luck with the .cia previously. When I went to the homebrew menu, NBlood no longer had an icon and it said it was from an unknown publisher. For reference I'm using a 2ds with a c-stick and circlepad, and the game has worked well for me with the old .3dsx file.

Edit: The included cfg file points to the png images that came with it.

Edit 2: It looks like the files became corrupted somehow when I was remotely transferring them, but I just deleted them and tried it again and now they're working perfectly. I'm not sure why they didn't transfer originally but I'm happy to say it works now. I haven't tested cutscenes yet but I'll try that when I get a chance
Post automatically merged:

The game boots up perfectly now and I can choose my .ini file as well as play cutscenes. The only issue I'm noticing is that background music won't play. I tested this on E1M7 Altar of Stone, which is supposed to play the main Blood theme but instead just has ambient sound. Do I need to put the music into the NBlood folder manually for it to work?
 
Last edited by RoosterMange,

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,591
Country
Netherlands
For music you'll need: 'blood02.ogg,.. ,blood09.ogg'.
Place them in: 'sdmc:/3ds/nblood/' or 'sdmc:/3ds/nblood/music/'

Also make sure 'CD Audio' is turned on in the game settings.

I don't have a savefile ready for E1M7, but om other maps it seem to work as intended.
For me, the .ogg track defined in 'blood.ini', starts playing on a new game or when loading a game.

However, i did not test this on a 2ds. It's probably a good idea to use low quality .ogg music.
 

RoosterMange

Member
Newcomer
Joined
Jan 13, 2024
Messages
13
Trophies
0
Age
21
XP
104
Country
United States
I upgraded my storage and now the music and cutscenes all work perfectly. The only thing missing is demo support but that's not a big deal. Overall an amazing port
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Lol rappers still promoting crypto