Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*(sprite_save_strip(spr_test,"spr_test.png")
- surf=surface_create(32,32)
- surface_set_target(surf)
- draw_sprite(spr_test,0,0,0)
- surface_save(surf,"surf.png")
- surface_reset_target()
- ini_open("initest.ini")
- ini_write_string('aa','bb','cc')
- ini_close()
- //game_end()*/
- //show_debug_message("choose file to extract from")
- file_copy("empng.png","empnguse.png")
- //show_debug_message("choose where to put extracted fikes to")
- //pathto=get_save_filename('','choose directory to save to')
- /*if pathto!=''{
- //pathto=filename_path(pathto)
- file_copy("empng.png",string(pathto)+"empnguse.png")
- }*/
- folder=get_string('input file name','name')
- file=noone//file_bin_open("empnguse.png",2)
- pathex=get_open_filename('',"")
- fileex=noone
- if pathex!=''{
- fileex=file_bin_open(pathex,0)
- file_bin_seek(fileex,0)
- }
- //extractfrom=file_bin_open()
- ind=-1
- test=0
- fileind=0
- //png
- PNG=0
- IHDR=0
- IDATA=0
- IEND=0
- WARNING=0
- message=''
- lastblock='IEND'
- //png 2
- pngpos=-1
- iendpos=-1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement