PDA

View Full Version : Fastwatch script Q



BenLags
16-02-2004, 12:18 AM
@ Yak or anybody
Hi!, I patch Yak's fastwatch script (of course, after the shortkey_main script by Krisha "greetz"). Then reset all SFS, update FAID, then flash it to my 3310/15, set the clock & date settings. Here's what happened after keying " * + 7 ":
first line: time
second line: a square character :rolleyes:
third line: date
So, I tried to add the "count_ppm_strings" script and patch it but I got the same result after flashing. :-o
What seems to be the problem?

Secondly, after I've used the "shortkey_main" script for the fastinvert and I want to add the "fastwatch" script, do have to patch again the "shortkey_main" for the second time prior to the "fastwatch" script? :sad:

Thirdly, how about the "showroutineoutput" script? what is its usage? :rolleyes:

Sorry for this dumb questions I've search this problems but can't find solutions, anybody can help? :oops:

Thanks
BenLags

Zandis
16-02-2004, 02:54 PM
Before patching u must write correct address of language IDs

ejvital
20-02-2004, 04:14 PM
Before patching u must write correct address of language IDs

can u teach us step by step to patch fastwatch.....

tnx MORE POWER

skynet
20-02-2004, 11:14 PM
can u teach us step by step to patch fastwatch.....

tnx MORE POWER

easy one...

use PPM Manager to export Text Chunks from flash

then search for

"monday", "tuesday", ..etc

and take a note of the number at the beginning of the lines containing the weekdays

convert these numbers to HEX (using Windows Calculator e.g.)

search for "Time not set" also and convert the PPM id to HEX too

modify the script: set the new hex values you've just found out.

ejvital
21-02-2004, 10:09 AM
----------------------------------------------
processing:
'shortcut activated watch with date and weekday'
by '[Yak]'
----------------------------------------------


############# ### ### ## ## # #
##
## FAST WATCH
## Copyright (c) 2004 [Yak]
##
## This will patch a fast watch with date and weekday to your phone. After pressing * and
## the selected key current time, date and weekday is displayed on the phone's screen.
## It doesn't matter what you are doing, playing a game, writing a message - you can always
## display the watch. Simple and very functional!
##
## If the shortkey is already used it will be overwritten by this patch. To patch successfully
## you need to patch the shortkey_main.gsc (by krisha) patch first!
##
## IMPORTANT! Configure the script by editing it before patching!
##
## This script utilizes PPM strings adding patches by [Yak].
## Thanks to krisha for shortcut_main.gsc script.
##
############################# ### ### ## ## # #

## Locating needed functions...

itoa:
located at: 0x000D3844
----------------------------------

get_time:
located at: 0x000C6DA0
[searching back to entry point]
- func_start: 000C6D7C
- func_end: 000C6E14
----------------------------------

s_get_p3text_string:
located at: 0x000B758C
----------------------------------

strlen:
located at: 0x000EC5B8
----------------------------------
own_get_ram:
FATAL: not found - sorry
----------------------------------
function name own_get_ram not found in flash, will create it
found 0048 bytes for function own_get_ram at 0x0012B964
- bl: 0012B972 -> 000953D0: F7 69 FD 2D
- bl: 0012B97E -> 000EC514: F7 C0 FD C9
ERROR: own_get_ram data-offset #0 not defined yet
sorry, could not create it... ;( did u do already a SPC: with enough free bytes?
#####
##### ERROR processing
##### <EXT: own_get_ram = own_get_ram>
##### line 28
#####


what is the problem here.......

THE-MATRIX
22-02-2004, 01:36 AM
@ejvital
kinda wierd problem, try inserting this line :

....
LOC: s_get_p3text_string = s_get_p3text_string
LOC: strlen = strlen

SPC: freebla = 200

EXT: own_get_ram = own_get_ram
EXT: own_set_ram = own_set_ram

LOC: addr1 = clockfunc0
FLD: addr1 = addr1
......


if still doesn't work try adjusting the value to a larger one..