ROM Hack Boktai Solar Sensor Patch Kit

Prof. 9

Well-Known Member
OP
Member
Joined
Jun 17, 2008
Messages
324
Trophies
1
Location
The Netherlands
Website
twitter.com
XP
853
Country
Netherlands
So i was checking the source and found out how to change the buttons on the boktai 1 but on boktai 2 and 3 works wrong, the sun changes when i press left or right and stops changing when i hold A+R, so is reversed
this is what im using in boktai 2

ldr r0,=30044E0h
ldrh r2,[r0] // r2 = BUTTON_HELD
ldrh r0,[r0,2h] // r0 = BUTTON_DOWN
mov r3,080h
lsl r3,r3,1h
add r3,r3,1h
and r2,r3
cmp r2,r3 // if R+A held
ldrh r2,[r1,2h]
beq @@sunwrite

what i wrote wrong?
thanks
Change the last line to bne @@sunwrite, it should work then.
 

Prof. 9

Well-Known Member
OP
Member
Joined
Jun 17, 2008
Messages
324
Trophies
1
Location
The Netherlands
Website
twitter.com
XP
853
Country
Netherlands
To people having problems saving/loading, does the problem happen with a clean, unpatched ROM too? If so, there's not much I can do about.

To people asking will it work on X... why not try it out and let us know?
 

8BitWalugi

Taiyohhhhhh!
Member
Joined
Mar 22, 2008
Messages
3,458
Trophies
1
Location
Side 7
Website
www.twitter.com
XP
1,593
Country
Australia
To people having problems saving/loading, does the problem happen with a clean, unpatched ROM too? If so, there's not much I can do about.

To people asking will it work on X... why not try it out and let us know?

It wasn't saving on clean either, but don't worry I got a fix!
It was simple too, I feel stupid for not knowing it.

(Copied from my help thread)
1) SRAM Patch in gbata
2) English translation patch
3) Select button Solar Sensor patch (Prof. 9)
(note, steps 4+5 are optional)
4) Name entry patch
5) Menu graphics patch
6) Use the EZ4Client to copy it on, save type EEPROM, save size 128kbits

EDIT: I didn't do step 4+5, and it worked fine.
After a lot of experimenting, I couldn't get them working. Maybe try using a save created with VBA.
 

jramon

New Member
Newbie
Joined
Jul 26, 2012
Messages
4
Trophies
0
XP
1
Country
Mexico
I was playing boktai 1 patched an fond that the rising sun grenade fills the whole bar instead of only 4 squares and doesn't go down when in ends
later checked the other games and happens the same with the magic rising sun in 2 and the django transformation in 3
I used clean roms and the patches in the kit
anyway it doesn't matter much if does that.
 

NANASHI89

Well-Known Member
Member
Joined
May 3, 2012
Messages
2,473
Trophies
1
XP
5,358
Country
United States
I have tested a patched Boktai 2 on the VBA GX, it works, and there is an "option" in the middle of settings regarding time of day.

I call it "option" because you can't really change the time of day unless you change the time on your Wii.
 

mrgone

old man
Member
GBAtemp Patron
Joined
Nov 6, 2002
Messages
1,331
Trophies
3
Age
45
Location
close to the oktoberfest
XP
2,887
Country
Germany
i find the L+R combo impractical, as is press L, a grenade gets fired every time, but R only pans the viewable area around
but how do i make a patch or a patched rom file out of the .asm file?

should i have made a new thread?

/edit
thanx to kode9's sources & armips, my boktai now changes sunlight with R+UP/DOWN
if anyone cares "0C0h" must be replaced by "040h"
 

KaOSoFt

New Member
Newbie
Joined
Dec 8, 2004
Messages
1
Trophies
0
XP
178
Country
Colombia
i find the L+R combo impractical, as is press L, a grenade gets fired every time, but R only pans the viewable area around
but how do i make a patch or a patched rom file out of the .asm file?

should i have made a new thread?

/edit
thanx to kode9's sources & armips, my boktai now changes sunlight with R+UP/DOWN
if anyone cares "0C0h" must be replaced by "040h"
Hey there!

Could you explain how to figure out the control scheme? For instance, “040h” made it as R + LEFT/RIGHT, not R + UP/DOWN like you said.

Prof. 9, this patch is awesome! Thank you also for providing the source! :D
 

mrgone

old man
Member
GBAtemp Patron
Joined
Nov 6, 2002
Messages
1,331
Trophies
3
Age
45
Location
close to the oktoberfest
XP
2,887
Country
Germany
http://nocash.emubase.de/gbatek.htm#gbakeypadinput

the values C0h and 40h are not the final values used

for R+L: C0h = 192 = 3x 2^6
for R only: 40h = 64 = 2^6

but the values are then left shifted using "LSL r3,r3,2h", basically a multiply by 2, executed twice (2h!), so multiply by 4, then the values become
for R+L: C4h * 4 = 240h = 576 = 3x 2^8 = 2^8 + 2x 2^8 = 2^8 + 2^9
for R only: 40h * 4 = 100 = 256 = 2^8

2^8 is the value for R, as the bit position 8 is used for R
2^9 is the value for L, as the bit position 9 is used for L
 
  • Like
Reactions: cearp

bookdragon143

Member
Newcomer
Joined
Feb 11, 2013
Messages
5
Trophies
0
Age
32
XP
162
Country
United States
I recently jailbroke my ipod touch and I wanted to play boktai because everyone says its a great game and I also remember the crossover from megaman battle network 4.
I patched the rom and it works but I have to pause the game and use the key combo for the sun to come up and it only stays for a few seconds. I don't have enough sun to get past the first castle. Am I simply doing the key combo wrong?
Some clarification on what exactly you need to do (what buttons to hold and what to only press) would be great.

Also if someone is willing to show the code to change the boktai one patch so its R+A instead of L+R that would be awesome too.

Thanks Prof. 9 for all the hard work!
 

Prof. 9

Well-Known Member
OP
Member
Joined
Jun 17, 2008
Messages
324
Trophies
1
Location
The Netherlands
Website
twitter.com
XP
853
Country
Netherlands
Some things that could be going wrong:
- You didn't apply the correct patch (make sure the region is correct);
- The ROM was already solar sensor-patched (try the Clean+Patch patches, or find a clean, unpatched ROM);
- The emulator uses its own hacks to fake the sunlight level, which clashes with the hack (see if you can turn that off, or try a different emulator).
 

bookdragon143

Member
Newcomer
Joined
Feb 11, 2013
Messages
5
Trophies
0
Age
32
XP
162
Country
United States
I used the u patch so that isn't the problem (is the beta any better?).
And I used the clean+patch patch so that's done. I tried another emulator and I couldn't get it to work at all.
 

chetchaka

Member
Newcomer
Joined
Dec 28, 2012
Messages
8
Trophies
0
Age
30
XP
179
Country
United States
There's an error with the Filetrip downloader - I'll try again tomorrow as well, but as of today, the downloader that I downloaded goes anywhere from 50 - 70 percent completion (despite the desired file not even partially downloading), and then gives me an error after some idle time.

"Message from webpage

? There appears to be a network download problem. Try again?"

I know for a fact that I have a working internet connection, and FileTrip still works for me. Results are the same with firewall disabled and enabed. There is no antivirus.

I'm not sure if it can be solved but thank you for your time!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Is it a free to play bs, pay to get any good weapon/gear
  • K3Nv2 @ K3Nv2:
    Not free to play but $35
  • K3Nv2 @ K3Nv2:
    Inb4 kiiwii gives it a 0/10
  • BigOnYa @ BigOnYa:
    6/10 rating on steam
  • Psionic Roshambo @ Psionic Roshambo:
    I would like a Predator game "Kill Team" it takes place in the Jungle of the first movie, your team is sent to hunt the predator, using current tech drones and a trained team. Set traps use strategy to hunt and trap or kill the predator.
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
  • K3Nv2 @ K3Nv2:
    I would've said show me how it rides
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted one of those Smart Cars with a Hyabusa motor in it.
  • K3Nv2 @ K3Nv2:
    I'm getting sick and tired of cheap ass baking pans now
  • BigOnYa @ BigOnYa:
    I think it be cool to have one that would fit in my pickup truck bed, then I could put down ramps n drive it off.
    BigOnYa @ BigOnYa: I think it be cool to have one that would fit in my pickup truck bed, then I could put down...