• Hey everyone happy Christmas Eve we're aware of what's happened with the source code so to keep this simple absolutely don't post it on the site or use it to make mods with (it's not particularly preferable toward this end anyway) and tread lightly in general until we see how this settles, thanks to all and have a great holiday season -DT

Quick Modding/Hacking Answers Thread

Jan 9, 2014 at 4:30 AM
Been here way too long...
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Oct 7, 2013
Location: India
Posts: 529
I don't know about the second question, but as for the first question, offset 0x1DEA5 in Doukutsu.exe is what you're looking for. As a future note, 0x7F is the highest non-glitchy amount possible for such offsets.
 
Jan 9, 2014 at 4:53 AM
Senior Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: Aug 30, 2013
Location: ᕕ( ᐛ )ᕗ
Posts: 167
Age: 24
Um.
First off, I cant do anything with that in my assembly hacker (I'm not using the Doukutsu Assembler, fyi)
Second, I have a third question, how do I slow down the Polar Stars shots (example, like the level 1 Bubbline's shots)
 
Jan 9, 2014 at 9:55 AM
Been here way too long...
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Oct 7, 2013
Location: India
Posts: 529
You can do it through any Hex Editor. Keep in mind that '0x' usually refers to a Hex offset.
 
Jan 9, 2014 at 2:29 PM
Senior Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: Aug 30, 2013
Location: ᕕ( ᐛ )ᕗ
Posts: 167
Age: 24
I don't have a hex editor, either.
Besides, if the Machine Gun's values are stored in the way Randolf said, why would the Polar Star be any different?
 
Jan 9, 2014 at 3:18 PM
Been here way too long...
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Oct 7, 2013
Location: India
Posts: 529
It's good to have a Hex Editor handy, it's pretty useful.
As for what was discussed earlier, Machine Gun is a rapid-fire weapon, so everything gets all weird (including no. of shots allowed onscreen) for it compared to other weapons like Polar Star. And you might be able to do it with ASM, but I gave you a Hex offset, so it might be more convenient to just do it this way instead of searching for the right ASM offset to edit.
(P.S. For your second question, GIRakaCHEEZER or Mr.Randolf might be able to help you, because they've made mods with EXP crystals disabled.)
 
Jan 9, 2014 at 6:30 PM
Been here way too long...
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: probably somewhere else
Posts: 1104
Age: 27
Pronouns: none
I will peek at the code later and try to help.
You can actually change no. of shots in assembler, it should be about 41DEA5 (CMP E_X, 2).

As for the EXP, I only zeroed the values, okay maybe not but the hack is simple. I'll search later, when I return from training.

Let's go.

Polar Star Bullets:
Go to 41DEA3.
There is CMP EAX,1 there.
The number of shots allowed on-screen is that number + 1. To make it equal to that number, change JLE SHORT 41DEAD in the next line to JL SHORT. The number you compare the EAX with will be the exact number of shots allowed then.

As for the EXP...
Go to 471CB6 and put JMP 471CD3 there. The enemies no longer drop EXP, but still drop hearts and missiles.
Done.

BONUS: If you go to 471CB6 and put JMP 471C48 there, enemies always drop something (if the EXP isn't 0): a heart or a missile (if available).
 
Jan 10, 2014 at 8:02 PM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: New Westminster, BC
Posts: 1368
Age: 28
Pronouns: ㅤ
I'm messing around in the global scripts, but more specifically changing what events and commands run when you die. I've added some extra events (in the low 8000s range) and some normal TSC stuff to try to accomplish what I want the death script to do, but the game acted funny when I tried it out. Since I'm not 100% familiar with how the global scripts function, are there any quirks or restrictions that I need to take into consideration when modifying the global scripts?

EDIT: Nvm just figured out that you can't go to an event from one global script to another.
 
Jan 12, 2014 at 2:16 AM
The TideWalker
Modding Community Discord Founder
"That dog!"
Join Date: Apr 5, 2013
Location: In my mind and of my body.
Posts: 1642
Age: 27
What does...

MOV BYTE[LOCAL.1+3],AL
MOV DL,BYTE[LOCAL.1+3]
PUSH EDX ; /Arg1
CALL 004258B0 ; \Doukutsu.004258B0

mean?
 
Jan 12, 2014 at 2:39 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
It's calling a trigonometry function to find the sin of an angle
 
Jan 12, 2014 at 3:04 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
probably to do some math
 
Jan 12, 2014 at 3:18 AM
The TideWalker
Modding Community Discord Founder
"That dog!"
Join Date: Apr 5, 2013
Location: In my mind and of my body.
Posts: 1642
Age: 27
Noxid said:
It's calling a trigonometry function to find the sin of an angle
What is sine?

What is cos?

Is this related to getting projectiles to home in on the player?

Cause I'm about to go crazy over my calculations inside my code.
 
Jan 12, 2014 at 3:44 AM
The TideWalker
Modding Community Discord Founder
"That dog!"
Join Date: Apr 5, 2013
Location: In my mind and of my body.
Posts: 1642
Age: 27
GIRakaCHEEZER said:
http://en.wikipedia.org/wiki/Trigonometry
(Seriously, this is like middle/high school level Mathematics, you should know this)
No... I don't....this is completely foreign to me.

And I have no idea why....

These last two years I've been learning accounting.


Dunc2403 said:
Yeah man you really should know this, I'm learning it next year and you're two years older than me
Wait...

I thought you were 21!! (I'm dead serious)
 
Jan 12, 2014 at 3:52 AM
The TideWalker
Modding Community Discord Founder
"That dog!"
Join Date: Apr 5, 2013
Location: In my mind and of my body.
Posts: 1642
Age: 27
Dunc2403 said:
The hell gave you that idea
Your maturity level and ability to reason.

E: man, I really feel like an idiot now.

Unable to tell someones age or gender (twice even) and I don't know high school math.
 
Jan 12, 2014 at 1:21 PM
Been here way too long...
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Oct 7, 2013
Location: India
Posts: 529
Is there a way to add more songs to the executable and make sure they're compatible with TSC?
 
Jan 12, 2014 at 2:00 PM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: New Westminster, BC
Posts: 1368
Age: 28
Pronouns: ㅤ
Jan 12, 2014 at 5:03 PM
The TideWalker
Modding Community Discord Founder
"That dog!"
Join Date: Apr 5, 2013
Location: In my mind and of my body.
Posts: 1642
Age: 27
How do I use sine and cos to make an projectile home in on a destination? (the player)



5,000th reply
 
Back
Top